Add support to readelf for detecting and reporting Solaris specific section types...
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8c4c4aeb
SM
12016-04-13 Simon Marchi <simon.marchi@ericsson.com>
2
3 * boards/gdbserver-base.exp (${board}_download): Copy source file to
4 standard output directory.
5
45e3745e
AT
62016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7
8 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9
e26b7e41
MM
102016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11
12 * gdb.btrace/instruction_history.c (loop): Add declaration.
13
8ce09462
AT
142016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15
16 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
17
2e88a1ea
SM
182016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
19
20 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
21 parentheses to print.
22 (continue_handler): Likewise.
23
f48e22e3
SM
242016-04-08 Simon Marchi <simon.marchi@ericsson.com>
25
26 * gdb.server/solib-list.exp: Remove is_remote check.
27 Pass shlib= to gdb_compile. Don't link shared library with
28 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
29 Run binary filename through "readlink -f" on the target.
30
096be756
PA
312016-04-08 Pedro Alves <palves@redhat.com>
32
33 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
34 interpreter filename as argument to gdbserver_spawn.
35 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
36 Return empty if $last_loaded_file does not exist.
37
06500533
JK
382016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
39
40 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
41 * gdb.base/jit-main.c: Use exit after usage.
42
2d35e871
JK
432016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
44
45 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
46 GDBHISTSIZE prior to the tests.
47 * gdb.base/gdbinit-history.exp: Likewise.
48
492016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
50
51 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
52 instead of build_executable. Use gdb_load_shlibs.
53
c8064e7e
YQ
542016-04-07 Yao Qi <yao.qi@linaro.org>
55
56 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
57 Execute "si" command.
58
bde47561
YQ
592016-04-07 Yao Qi <yao.qi@linaro.org>
60
61 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
62 number instead of the comments on some line.
63
b16f8a3b
DB
642016-04-06 Don Breazeal <donb@codesourcery.com>
65
66 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
67 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
68
c2f901df
SM
692016-04-06 Simon Marchi <simon.marchi@ericsson.com>
70
71 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
72 standard_output_file. Remove unused binfile variable.
73
ac17fda0
CU
742016-04-05 Catalin Udma <catalin.udma@freescale.com>
75
76 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
77 * gdb.python/py-mi-objfile.exp: Match "list main" output
78 in console format.
79
03a8c4df
SM
802016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
81
82 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
83 absolute.
84
6e774b13
SM
852016-04-05 Simon Marchi <simon.marchi@ericsson.com>
86
87 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
88 absolute.
89 * gdb.trace/ftrace.exp: Likewise.
90 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
91 targets as well.
92 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
93 (gdb_load_shlibs): Copy libraries to test directory when testing
94 natively. Only set solib-search-path if testing remotely.
95 * lib/mi-support.exp (mi_load_shlibs): Likewise.
96
7817ea46
SM
972016-04-05 Simon Marchi <simon.marchi@ericsson.com>
98
99 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
100 gdb_download. Use it even if the target is not remote.
101 * gdb.base/jit.exp (compile_jit_test): Likewise.
102 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
103 output directory if the destination board is local, otherwise use
104 the standard remote_download from DejaGnu.
105 (gdb_download): Remove.
106 (gdb_load_shlibs): Use gdb_remote_download instead of
107 gdb_download.
108 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
109 Use gdb_remote_download instead of gdb_download. Use it even if
110 the target is not remote.
111 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
112 instead of gdb_download.
113
7beb7f68
SM
1142016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
115
116 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
117 (test_insert_delete_modify): Call mi_load_shlibs before trying to
118 run.
119
cc63428a
AV
1202016-04-01 Artemiy Volkov <artemiyv@acm.org>
121
122 PR gdb/19820
123 * gdb.base/printcmds.exp: Add artificial arrays tests.
124
64cdf930
PA
1252016-03-31 Pedro Alves <palves@redhat.com>
126
127 PR gdb/19858
128 * gdb.base/jit-main.c: Include unistd.h.
129 (ATTACH): Define to 0 if not already defined.
130 (wait_for_gdb, mypid): New globals.
131 (WAIT_FOR_GDB): New macro.
132 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
133 some breakpoint locations.
134 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
135 New procedures.
136 (one_jit_test): Add REATTACH parameter, and handle it. Use
137 continue_to_test_location.
138 (top level): Test attach, and adjusts calls to one_jit_test.
139
40dea8cb
PA
1402016-03-31 Pedro Alves <palves@redhat.com>
141
142 PR gdb/19858
143 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
144 BINSUFFIX parameter, and handle it.
145 (top level): Adjust calls compile_jit_test.
146
e7ea3ec7
CU
1472016-03-31 Catalin Udma <catalin.udma@freescale.com>
148
149 PR python/19743
150 * gdb.python/py-mi-events-gdb.py: New file.
151 * gdb.python/py-mi-events.c: New file.
152 * gdb.python/py-mi-events.exp: New file.
153
e6359af3
YQ
1542016-03-30 Yao Qi <yao.qi@linaro.org>
155
156 * gdb.reverse/until-precsave.exp: Match function name only.
157 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
158 Move malloc to a condition block.
159 * gdb.reverse/until-reverse.exp: Match function name only.
160
a4105d04
MK
1612016-03-29 Marcin Koƛcielnicki <koriakin@0x04.net>
162
163 * gdb.trace/ftrace.exp: Set arg0exp for s390.
164 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
165 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
166 variable for GPR 0 instead of assuming it is register 0.
167 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
168 * lib/trace-support.exp: Add s390 registers.
169
bfa6adb9
YQ
1702016-03-29 Yao Qi <yao.qi@linaro.org>
171
172 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
173
1e6697ea
YQ
1742016-03-24 Yao Qi <yao.qi@linaro.org>
175
176 * gdb.reverse/break-reverse.exp: Add quotation mark in the
177 test message.
178
64bcd522
AA
1792016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
180
181 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
182 maintaining separate logic for constructing the output path.
183
7868401b
DB
1842016-03-16 Don Breazeal <donb@codesourcery.com>
185
186 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
187 Retry fork and waitpid on interrupted system call errors.
188 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
189 Use with_timeout_factor to increase timeout by factor of 10.
190
1cafadb4
DB
1912016-03-15 Don Breazeal <donb@codesourcery.com>
192
193 * gdb.cp/scope-err.cc: New test program.
194 * gdb.cp/scope-err.exp: New test script.
195 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
196 lines and "set breakpoint here" comment.
197 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
198 Fixed some whitespace and format issues.
199 * gdb.mi/mi-linespec-err-cp.cc: New test program.
200 * gdb.mi/mi-linespec-err-cp.exp: New test script.
201
81516450
DE
2022016-03-15 Doug Evans <dje@google.com>
203
204 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
205 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
206 All callers updated. Add tests for enums, mixed flags register.
207
aa52b601
DE
2082016-03-15 Doug Evans <dje@google.com>
209
210 * gdb.base/skip.c (main): Call test_skip_file_and_function.
211 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
212
fa4ff313
SM
2132016-03-14 Simon Marchi <simon.marchi@ericsson.com>
214
215 * gdb.base/default.exp: Add $_as_string to the list of expected
216 convenience functions.
217
f2403c39
AB
2182016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
219
220 * gdb.base/maint.exp: New tests for 'maint info line-table'.
221
f2f3ccb9
SM
2222016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
223
224 * gdb.python/py-as-string.exp: New file.
225 * gdb.python/py-as-string.c: New file.
226
00dbd492
PA
2272016-03-09 Pedro Alves <palves@redhat.com>
228
229 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
230 signal" -> "Thread NN received signal" output change.
231 * gdb.threads/ia64-sigill.exp: Likewise.
232 * gdb.threads/linux-dp.exp: Likewise.
233 * gdb.threads/manythreads.exp: Likewise.
234 * gdb.threads/pending-step.exp: Likewise.
235 * gdb.threads/print-threads.exp: Likewise.
236 * gdb.threads/sigstep-threads.exp: Likewise.
237 * gdb.threads/staticthreads.exp: Likewise.
238 * gdb.threads/tls.exp: Likewise.
239
1e6697ea
YQ
2402016-03-09 Pedro Alves <palves@redhat.com>
241
242 * gdb.base/command-line-input.exp: New file.
243
b04fd3be
MK
2442016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
245
246 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
247 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
248 * gdb.trace/pending.exp: Accept leading dot before function name.
249 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
250 * lib/trace-support.exp: Set registers for ppc.
251
98fa59e9
MK
2522016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
253
254 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
255 use it for disassembly; accept .main in addition to main in backtrace.
256
f77198c8
MK
2572016-03-09 Wei-cheng Wang <cole945@gmail.com>
258 Marcin Koƛcielnicki <koriakin@0x04.net>
259
260 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
261 (gdb_recursion_test_ptr): New global variable.
262 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
263 gdb_recursion_test.
264 (gdb_c_test): Ditto.
265
ba84e0da
MK
2662016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
267
268 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
269 ordering.
270
4366d36e
MK
2712016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
272
273 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
274 (bar): Add bar_start_lbl label.
275 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
276 of foo/bar for emitting DWARF and tracing.
277
5eb264df
SDJ
2782016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
279
280 * analyze-racy-logs.py: Set executable bit.
281
fb6a751f
SDJ
2822016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
283
284 * Makefile.in (DEFAULT_RACY_ITER): New variable.
285 (CHECK_TARGET_TMP): Likewise.
286 (check-single-racy): New rule.
287 (check-parallel-racy): Likewise.
288 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
289 (do-check-parallel-racy): New rule.
290 (check-racy/%.exp): Likewise.
291 * README (Racy testcases): New section.
292 * analyze-racy-logs.py: New file.
293
bdf7e230
DE
2942016-03-03 Doug Evans <dje@google.com>
295
296 * gdb.base/skip.exp: Use with_test_prefix.
297
4719d415
YQ
2982016-03-03 Yao Qi <yao.qi@linaro.org>
299
300 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
301 Invoke step_over_syscall "clone" and break_cond_on_syscall
302 "clone".
303 * gdb.base/step-over-clone.c: New file.
304
ea507862
YQ
3052016-03-03 Yao Qi <yao.qi@linaro.org>
306
307 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
308 code format.
309
8fc8cbda
YQ
3102016-03-03 Yao Qi <yao.qi@linaro.org>
311
312 * gdb.base/disp-step-fork.c: Rename to ...
313 * gdb.base/step-over-fork.c: ... it. New file.
314 * gdb.base/disp-step-vfork.c: Rename to ...
315 * gdb.base/step-over-vfork.c: ... it. New file.
316 * gdb.base/disp-step-syscall.exp: Rename to ...
317 * gdb.base/step-over-syscall.exp: ... it. New file.
318 (disp_step_cross_syscall): Rename to ...
319 (step_over_syscall): ... it.
320
92fa70b0
YQ
3212016-03-03 Yao Qi <yao.qi@linaro.org>
322
323 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
324 If target supports condition evaluation on target, invoke
325 break_cond_on_syscall for fork and vfork.
326
e197ad3c
YQ
3272016-03-03 Yao Qi <yao.qi@linaro.org>
328
329 * gdb.base/disp-step-syscall.exp: Don't invoke
330 support_displaced_stepping.
331 (disp_step_cross_syscall): Test with displaced stepping off and
332 on if supported.
333
0b47da9f
YQ
3342016-03-03 Yao Qi <yao.qi@linaro.org>
335
336 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
337 proc.
338 (setup): New proc.
339 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
340 and setup.
341
065ab6dc
BH
3422016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
343
344 * gdb.fortran/vla-history.exp: Remove breakpoint.
345
07e448ad 3462016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
347
348 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
349
9ac2d526 3502016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
351
352 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
353
17807369
BH
3542016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
355
356 * gdb.mi/vla.f90: Nullify pointer after declaration.
357
86e501af
PA
3582016-03-01 Pedro Alves <palves@redhat.com>
359
360 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
361
1e903e32
PA
3622016-03-01 Pedro Alves <palves@redhat.com>
363
364 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
365 before anything else.
366 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
367 _GNU_SOURCE here.
368 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
369 before anything else.
370 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
371
6ccb54e2
PA
3722016-03-01 Pedro Alves <palves@redhat.com>
373
374 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
375
30ca9da1
YQ
3762016-03-01 Yao Qi <yao.qi@linaro.org>
377
378 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
379 prepare_for_testing.
380
dc856b38
YQ
3812016-03-01 Yao Qi <yao.qi@linaro.org>
382
383 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
384
4a932159
AA
3852016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
386
387 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
388 manually constructing the output path.
389
f2489477
AA
3902016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
391
392 * gdb.arch/s390-stackless.S: New.
393 * gdb.arch/s390-stackless.exp: New.
394
38899f16
IB
3952016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
396
397 * gdb.dlang/circular.c: New file.
398 * gdb.dlang/circular.exp: New file.
399
9fde51ed
YQ
4002016-02-26 Yao Qi <yao.qi@linaro.org>
401
402 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
403 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
404 (testcases): Update.
405
ce90fefe
YQ
4062016-02-26 Yao Qi <yao.qi@linaro.org>
407
408 * gdb.reverse/aarch64.c: Rename to ...
409 * gdb.reverse/insn-reverse.c: ... it.
410 * gdb.reverse/aarch64.exp: Rename to ...
411 * gdb.reverse/insn-reverse.exp: ... it.
412
3263bceb
YQ
4132016-02-26 Yao Qi <yao.qi@linaro.org>
414
415 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
416 (testcase_ftype): New.
417 (testcases): New array.
418 (n_testcases): New.
419 (main): Call each element in testcases.
420 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
421 (read_testcase): New.
422 Do the tests in a loop.
423
6cb59ff1
YQ
4242016-02-25 Yao Qi <yao.qi@linaro.org>
425
426 * gdb.base/branches.c: Remove.
427
ae91f625
MK
4282016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
429
430 PR gdb/13808
431 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
432
678b48b7
MK
4332016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
434
435 * gdb.trace/ftrace.exp: Remove unnecessary target check.
436
7337a6f2
MK
4372016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
438
439 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
440 change x86_64 call_insn to 'callq'.
441
861ca91f
AT
4422016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
443
444 * gdb.trace/tfile-avx.c: Move to...
445 * gdb.trace/tracefile-pseudo-reg.c: Here.
446 * gdb.trace/tfile-avx.exp: Move to...
447 * gdb.trace/tracefile-pseudo-reg.exp: Here.
448
bf74e428
GB
4492016-02-24 Gary Benson <gbenson@redhat.com>
450
451 * gdb.base/attach-pie-noexec.exp: Do not expect an error
452 message on attach.
453
cce0e923
DE
4542016-02-23 Doug Evans <dje@google.com>
455
456 * gdb.base/skip.c (test_skip): New function.
457 (end_test_skip_file_and_function): New function.
458 (test_skip_file_and_function): New function.
459 * gdb.base/skip1.c (test_skip): New function.
460 (skip1_test_skip_file_and_function): New function.
461 * gdb.base/skip.exp: Add tests for new skip options.
462 * gdb.base/skip-solib.exp: Update expected output.
463 * gdb.perf/skip-command.cc: New file.
464 * gdb.perf/skip-command.exp: New file.
465 * gdb.perf/skip-command.py: New file.
466
4000e47e
MK
4672016-02-22 Marcin Koƛcielnicki <koriakin@0x04.net>
468
469 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
470 info registers pattern.
471
24f75ead
IB
4722016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
473
474 * lib/future.exp: Add D support.
475 (gdb_find_gdc): New proc.
476 (gdb_default_target_compile): Add D support.
477
fbb7bcbe
WW
4782016-02-18 Wei-cheng Wang <cole945@gmail.com>
479
480 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
481 user+system time.
482 (trace_speed_test): Determine the iteration count for a time
483 between 15..30 seconds.
484
012b3a21
WT
4852016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
486
487 * gdb.arch/i386-mpx-sigsegv.c: New file.
488 * gdb.arch/i386-mpx-sigsegv.exp: New file.
489 * gdb.arch/i386-mpx-simple_segv.c: New file.
490 * gdb.arch/i386-mpx-simple_segv.exp: New file.
491
2d5189bd
YQ
4922016-02-18 Yao Qi <yao.qi@linaro.org>
493
494 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
495 Don't call setup_kfail.
496
40fb20d0
YQ
4972016-02-18 Yao Qi <yao.qi@linaro.org>
498
499 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
500 Set "set breakpoint condition-evaluation" per $cond_bp_target.
501
21b1f8d2
DE
5022016-02-16 Doug Evans <dje@google.com>
503
504 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
505 * gdb.base/skip1.c: Ditto.
506 * gdb.base/skip.exp: Whitespace cleanup.
507
4041ed77
DB
5082016-02-16 Don Breazeal <donb@codesourcery.com>
509
510 PR remote/19496
511 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
512 Remove kfail for PR remote/19496.
513
c4ef31bf
SM
5142016-02-16 Simon Marchi <simon.marchi@ericsson.com>
515
516 * lib/gdb.exp (standard_temp_file): Return a path specific to
517 the runtest invocation.
518
266b65b3
SM
5192016-02-16 Simon Marchi <simon.marchi@ericsson.com>
520
521 * gdb.trace/save-trace.exp: Change relative path to be in the
522 standard output directory.
523
a7a0a6a9
JK
5242016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
525
526 * gdb.arch/i386-prologue.c: Add missing prototypes.
527
c99dbb42
JK
5282016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
529
530 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
531 * gdb.arch/i386-prologue.exp: Likewise.
532 * gdb.arch/i386-size.exp: Likewise.
533
aa480355
SM
5342016-02-15 Simon Marchi <simon.marchi@ericsson.com>
535
536 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
537 define object file path.
538 * gdb.btrace/gcore.exp: Use standard_output_file to define core
539 file path.
540 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
541 standard_output_file to define binfile.
542
ba881f50
JK
5432016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
544
545 Fix compatibility with recent gfortran-5.3.1.
546 * gdb.fortran/vla-history.exp (print vla1 allocated)
547 (print vla2 allocated, print $2, print $3): Remove
548 (print $4): Rename to ...
549 (print $2): ... here.
550 (print $9): Rename to ...
551 (print $5): ... here.
552 (print $10): Rename to ...
553 (print $6): ... here.
554 * gdb.fortran/vla.f90: Add pvla initialization.
555
e9fb005c
JK
5562016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
557
558 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
559 New test.
560 * gdb.fortran/vla-value-sub.exp: Likewise.
561
e44e00ff
MK
5622016-02-12 Marcin Koƛcielnicki <koriakin@0x04.net>
563
564 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
565
97e94151
SM
5662016-02-12 Simon Marchi <simon.marchi@ericsson.com>
567
568 * i386-biarch-core.exp: Define corefile using
569 standard_output_file.
570
01113bc1
YQ
5712016-02-12 Yao Qi <yao.qi@linaro.org>
572
573 * gdb.arch/arm-single-step-kernel-helper.c: New.
574 * gdb.arch/arm-single-step-kernel-helper.exp: New.
575
33b4777c
MM
5762016-02-12 Markus Metzger <markus.t.metzger@intel.com>
577
578 * gdb.btrace/tailcall-only.exp: New.
579 * gdb.btrace/tailcall-only.c: New.
580 * gdb.btrace/x86_64-tailcall-only.S: New.
581 * gdb.btrace/i686-tailcall-only.S: New.
582
acc23c11
PA
5832016-02-11 Pedro Alves <palves@redhat.com>
584
585 * README (Parallel testing): Add missing double quotes.
586
e352bf0a
PA
5872016-02-11 Pedro Alves <palves@redhat.com>
588
589 * README (Parallel testing): New section.
590 (GDB_PARALLEL): Rewrite.
591 (FORCE_PARALLEL): Document.
592
9f5fed78
MK
5932016-02-11 Marcin Koƛcielnicki <koriakin@0x04.net>
594
595 * gdb.trace/tfile-avx.c: New test.
596 * gdb.trace/tfile-avx.exp: New test.
597
9ef9e6a6
KS
5982016-02-09 Keith Seitz <keiths@redhat.com>
599
600 PR breakpoints/19546
601 * gdb.base/infcall-exec.c: New file.
602 * gdb.base/infcall-exec2.c: New file.
603 * gdb.base/infcall-exec.exp: New file.
604
a96e36da
KS
6052016-02-09 Keith Seitz <keiths@redhat.com>
606
607 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
608 (toplevel): Call test_bkpt_address.
609
9f61929f
KS
6102016-02-09 Keith Seitz <keiths@redhat.com>
611
612 PR python/19506
613 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
614 (toplevel): Call test_bkpt_address.
615
1e94266c
SM
6162016-02-09 Simon Marchi <simon.marchi@ericsson.com>
617
618 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
619 to AC_OUTPUT.
620 * configure: Regenerate.
621
2a7f3dff
PA
6222016-02-09 Pedro Alves <palves@redhat.com>
623
624 PR breakpoints/19548
625 * gdb.base/execl-update-breakpoints.c (some_function): New
626 function.
627 (main): Call it.
628 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
629 Tighten expected GDB output.
630
2151ccc5
SM
6312016-02-08 Simon Marchi <simon.marchi@ericsson.com>
632
633 * Makefile.in (ALL_SUBDIRS): Remove.
634 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
635 (distclean maintainer-clean realclean): Likewise.
636 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
637 * configure: Regenerate.
638 * gdb.ada/Makefile.in: Delete.
639 * gdb.arch/Makefile.in: Likewise.
640 * gdb.asm/Makefile.in: Likewise.
641 * gdb.base/Makefile.in: Likewise.
642 * gdb.btrace/Makefile.in: Likewise.
643 * gdb.cell/Makefile.in: Likewise.
644 * gdb.compile/Makefile.in: Likewise.
645 * gdb.cp/Makefile.in: Likewise.
646 * gdb.disasm/Makefile.in: Likewise.
647 * gdb.dlang/Makefile.in: Likewise.
648 * gdb.dwarf2/Makefile.in: Likewise.
649 * gdb.fortran/Makefile.in: Likewise.
650 * gdb.gdb/Makefile.in: Likewise.
651 * gdb.go/Makefile.in: Likewise.
652 * gdb.guile/Makefile.in: Likewise.
653 * gdb.java/Makefile.in: Likewise.
654 * gdb.linespec/Makefile.in: Likewise.
655 * gdb.mi/Makefile.in: Likewise.
656 * gdb.modula2/Makefile.in: Likewise.
657 * gdb.multi/Makefile.in: Likewise.
658 * gdb.objc/Makefile.in: Likewise.
659 * gdb.opencl/Makefile.in: Likewise.
660 * gdb.opt/Makefile.in: Likewise.
661 * gdb.pascal/Makefile.in: Likewise.
662 * gdb.perf/Makefile.in: Likewise.
663 * gdb.python/Makefile.in: Likewise.
664 * gdb.reverse/Makefile.in: Likewise.
665 * gdb.server/Makefile.in: Likewise.
666 * gdb.stabs/Makefile.in: Likewise.
667 * gdb.threads/Makefile.in: Likewise.
668 * gdb.trace/Makefile.in: Likewise.
669 * gdb.xml/Makefile.in: Likewise.
670 * lib/gdb.exp (make_gdb_parallel_path): Add check for
671 GDB_PARALLEL.
672 (standard_output_file): Remove check for GDB_PARALLEL, always
673 return path in outputs/$subdir/$testname.
674
437277d4
SM
6752016-02-08 Simon Marchi <simon.marchi@ericsson.com>
676
677 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
678 (site.exp): Assign abs_srcdir to tcl's srcdir.
679
31d913c7
YQ
6802016-02-04 Yao Qi <yao.qi@linaro.org>
681
682 * gdb.base/foll-exec-mode.c: Include limits.h.
683 (main): Add parameters argc and argv. Get directory from
684 argv[0].
685 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
686 compilation.
687 * gdb.base/foll-exec.c: Include limits.h.
688 (main): Add parameters argc and argv.
689 Get directory from argv[0].
690 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
691 Adjust tests on the number of lines as source code changed.
692 * gdb.base/foll-vfork-exit.c: Include limits.h.
693 (main): Add one line of statement before vfork.
694 * gdb.base/foll-vfork.c: Include limits.h and string.h.
695 (main): Add parameters argc and argv. Get directory from
696 argv[0].
697 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
698 (setup_gdb): Set tbreak to skip some source lines.
699 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
700 (main): Add parameters argc and argv. Get directory from
701 argv[0].
702 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
703 compilation.
704 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
705 (main): Add parameters argc and argv. Get directory from
706 argv[0].
707 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
708 compilation.
709
9482b9fb
DE
7102016-02-01 Doug Evans <dje@google.com>
711
712 * gdb.base/skip.exp: Clean up multiple references to same test name.
713
6b2e4f10
PA
7142016-02-01 Pedro Alves <palves@redhat.com>
715
ccb6afd6 716 PR remote/19496
6b2e4f10
PA
717 * gdb.threads/forking-threads-plus-breakpoint.exp
718 (displaced_stepping_supported): New global.
719 (probe_displaced_stepping_support): New procedure.
720 (do_test): Add 'displaced' parameter, and use it.
721 (top level): Check for displaced stepping support. Add displaced
722 stepping on/off testing axis.
723
37a8db1a
AB
7242016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
725
726 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
727 pointer. Don't perform further tests on the unassociated pointer
728 if the first test fails.
729
5fdf6324
AB
7302016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
731
732 * gdb.base/max-value-size.c: New file.
733 * gdb.base/max-value-size.exp: New file.
734 * gdb.base/huge.exp: Disable max-value-size for this test.
735
935c6144
IB
7362016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
737
738 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
739
7fe8399d
YQ
7402016-01-28 Yao Qi <yao.qi@linaro.org>
741
742 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
743
a2077e25
PA
7442016-01-25 Pedro Alves <palves@redhat.com>
745
746 PR threads/19461
747 * gdb.base/fork-running-state.c: New file.
748 * gdb.base/fork-running-state.exp: New file.
749
1d2736d4
PA
7502016-01-25 Pedro Alves <palves@redhat.com>
751
752 PR gdb/19494
753 * gdb.base/catch-fork-kill.c: New file.
754 * gdb.base/catch-fork-kill.exp: New file.
755
f1da4b11
PA
7562016-01-25 Pedro Alves <palves@redhat.com>
757
758 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
759 Delete, moved to lib/gdb.exp.
760 * gdb.threads/forking-threads-plus-breakpoint.exp
761 (foreach_with_prefix): Likewise.
762 * gdb.threads/process-dies-while-handling-bp.exp
763 (foreach_with_prefix): Likewise.
764 * lib/gdb.exp (foreach_with_prefix): New procedure.
765
45f38546
MK
7662016-01-25 Marcin Koƛcielnicki <koriakin@0x04.net>
767
768 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
769 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
770
dc29a1ce
MK
7712016-01-23 Marcin Koƛcielnicki <koriakin@0x04.net>
772
773 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
774 endian targets.
775
092127d7
JK
7762016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
777 Pedro Alves <palves@redhat.com>
778
779 Fix testsuite compatibility with Guile.
780 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
781 number.
782
31d765d3
JK
7832016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
784
785 Fix testsuite compatibility with Guile.
786 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
787 (thread 1): New test for backtrace through signal handler.
788
1ac78c04
YQ
7892016-01-22 Yao Qi <yao.qi@linaro.org>
790
791 PR testsuite/19491
792 * gdb.base/multi-forks.c: Include
793 ../lib/unbuffer_output.c
794 (main): Call gdb_unbuffer_output.
795
4f5946a8
DE
7962016-01-21 Doug Evans <dje@google.com>
797
798 * lib/ada.exp (gdb_compile_ada): Fix typo.
799
305e13e6
JB
8002016-01-21 Joel Brobecker <brobecker@adacore.com>
801
802 * gdb.base/break-fun-addr.exp: New file.
803 * gdb.base/break-fun-addr1.c: New file.
804 * gdb.base/break-fun-addr2.c: New file.
805
5f5dfff6
SM
8062016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
807
808 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
809 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
810 enum flag values.
811
fd356fa2
AA
8122016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
813
814 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
815 when GDB can not set the vector return value. Add more comments
816 for clarification.
817
9df22175
AT
8182016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
819
820 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
821 command.
822
41d1845e
SM
8232016-01-19 Simon Marchi <simon.marchi@ericsson.com>
824
825 * Makefile.in (DO_RUNTEST): Add --status and update usages.
826
01ac6840
SM
8272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
828
829 * Makefile.in (check-single): Pass --status to runtest.
830 (check/%.exp): Likewise.
831
8322016-01-19 Simon Marchi <simon.marchi@ericsson.com>
833
834 * Makefile.in (check-parallel): Propagate return code from make
835 do-check-parallel.
836
bd0a71fa
MK
8372016-01-19 Marcin Koƛcielnicki <koriakin@0x04.net>
838
839 * gdb.trace/ftrace.exp: Fix expected message on continue.
840 * gdb.trace/pending.exp: Fix expected message on continue.
841 * gdb.trace/trace-break.exp: Fix expected message on continue.
842
8bcbad33
SM
8432016-01-18 Simon Marchi <simon.marchi@ericsson.com>
844
845 * lib/gdb.exp (gdb_test): Remove unused global references.
846
f303dbd6
PA
8472016-01-18 Pedro Alves <palves@redhat.com>
848
849 * gdb.base/async-shell.exp: Adjust expected output.
850 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
851 * gdb.base/siginfo-thread.exp: Adjust expected output.
852 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
853 * gdb.java/jnpe.exp: Adjust expected output.
854 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
855 * gdb.threads/continue-pending-status.exp: Adjust expected output.
856 * gdb.threads/leader-exit.exp: Adjust expected output.
857 * gdb.threads/manythreads.exp: Adjust expected output.
858 * gdb.threads/pthreads.exp: Adjust expected output.
859 * gdb.threads/schedlock.exp: Adjust expected output.
860 * gdb.threads/siginfo-threads.exp: Adjust expected output.
861 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
862 expected output.
863 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
864 output.
865 * gdb.threads/sigthread.exp: Adjust expected output.
866 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
867
b2789696
YQ
8682016-01-18 Yao Qi <yao.qi@linaro.org>
869
870 * gdb.guile/scm-section-script.c: Replace @progbits with
871 %progbits.
872 * gdb.python/py-section-script.c: Likewise.
873
71ef29a8
PA
8742016-01-15 Pedro Alves <palves@redhat.com>
875
876 * gdb.multi/tids.exp: Test star wildcard ranges.
877
3f5b7598
PA
8782016-01-15 Pedro Alves <palves@redhat.com>
879
880 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
881 command from "thread apply" invocation.
882 (thr_apply_info_thr_invalid): Default the expected output to the
883 input tid list.
884 (top level): Add tests that use convenience variables. Add tests
885 for "thread apply" with a valid TID list, but missing the command.
886
663f6d42
PA
8872016-01-13 Pedro Alves <palves@redhat.com>
888
889 * gdb.base/default.exp: Expect $_gthread as well.
890 * gdb.multi/tids.exp: Test $_gthread.
891 * gdb.threads/thread-specific.exp: Test $_gthread.
892
c84f6bbf
PA
8932016-01-13 Pedro Alves <palves@redhat.com>
894
895 * gdb.multi/tids.exp: Test "info threads -gid".
896
22a02324
PA
8972016-01-13 Pedro Alves <palves@redhat.com>
898
899 * gdb.multi/tids.exp: Test InferiorThread.global_num and
900 Breakpoint.thread.
901 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
902
5d5658a1
PA
9032016-01-07 Pedro Alves <palves@redhat.com>
904
905 * gdb.base/break.exp: Adjust to output changes.
906 * gdb.base/hbreak2.exp: Likewise.
907 * gdb.base/sepdebug.exp: Likewise.
908 * gdb.base/watch_thread_num.exp: Likewise.
909 * gdb.linespec/keywords.exp: Likewise.
910 * gdb.multi/info-threads.exp: Likewise.
911 * gdb.threads/thread-find.exp: Likewise.
912 * gdb.multi/tids.c: New file.
913 * gdb.multi/tids.exp: New file.
914
84654457
PA
9152016-01-13 Pedro Alves <palves@redhat.com>
916
917 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
918
e3940304
PA
9192016-01-13 Pedro Alves <palves@redhat.com>
920
921 * gdb.base/default.exp: Expect $_inferior as well.
922 * gdb.multi/base.exp: Test $_inferior.
923
a911d87a
PA
9242016-01-13 Pedro Alves <palves@redhat.com>
925
926 PR breakpoints/19388
927 * gdb.base/catch-signal-siginfo-cond.c: New file.
928 * gdb.base/catch-signal-siginfo-cond.exp: New file.
929
82075af2
JS
9302016-01-12 Josh Stone <jistone@redhat.com>
931 Philippe Waroquiers <philippe.waroquiers@skynet.be>
932
933 * gdb.base/catch-syscall.c (do_execve): New variable.
934 (main): Conditionally trigger an execve.
935 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
936 (test_catch_syscall_execve): New, check entry/return across execve.
937 (do_syscall_tests): Call test_catch_syscall_execve.
938
e46eeedd
PA
9392016-01-12 Pedro Alves <palves@redhat.com>
940
941 * gdb.base/random-signal.exp (do_test): New procedure, with body
942 of testcase moved in.
943
01d8c27e
JK
9442016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
945 Pedro Alves <palves@redhat.com>
946
947 * gdb.base/funcargs.exp (finish from indirectly called function):
948 Reintroduce the case for 'First'.
949
9a706302
JK
9502016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
951 Pedro Alves <palves@redhat.com>
952
953 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
954 (tcatch_vfork_then_child_follow_exec)
955 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
956 identification.
957
c0ecb95f
JK
9582016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
959
960 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
961 and repeats to unlimited.
962 * gdb.python/py-value.exp: Likewise.
963 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
964 and repeats to unlimited.
965
6cfc1fcb
JK
9662016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
967
968 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
969 and reordering the functions.
970 * gdb.multi/hangout.c: Likewise.
971 * gdb.multi/hello.c: Likewise.
972
582a1b00
SM
9732016-01-08 Simon Marchi <simon.marchi@ericsson.com>
974
975 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
976 absolute.
977 (SingleStatisticTestResult.report): Use dict.keys instead of
978 dict.iterkeys.
979
79bc59cb
PA
9802016-01-06 Pedro Alves <palves@redhat.com>
981
982 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
983
43368e1d
MM
9842016-01-04 Markus Metzger <markus.t.metzger@intel.com>
985
986 * gdb.btrace/dlopen.exp: New.
987 * gdb.btrace/dlopen.c: New.
988 * gdb.btrace/dlopen-dso.c: New.
989
79fad5b8
SL
9902015-12-25 Sandra Loosemore <sandra@codesourcery.com>
991
992 * lib/gdb.exp (gdb_test): Update comments to clarify that the
993 PATTERN argument is optional.
994
ab8314b3
JB
9952015-12-24 Joel Brobecker <brobecker@adacore.com>
996
997 * lib/ada.exp (target_compile_ada_from_dir): New function.
998 (gdb_compile_ada): Reimplement avoiding the use of project files.
999 * gdb.ada/gnat_ada.gpr: Delete.
1000 * gdb.ada/cond_lang.exp: Adjust test to make path before
1001 filename optional.
1002 * gdb.ada/small_reg_param.exp: Likewise.
1003
fe33faff
SM
10042015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1005
1006 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1007
6d265cb4
TP
10082015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1009
1010 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1011 case.
1012
10125099
SM
10132015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1014
1015 * gdb.base/break.exp: Remove dead code.
1016 * gdb.base/sepdebug.exp: Likewise.
1017
3ca22649
SM
10182015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1019
1020 * gdb.asm/asm-source.exp: Remove HP-UX references.
1021 * gdb.base/annota1.exp: Likewise.
1022 * gdb.base/annota3.exp: Likewise.
1023 * gdb.base/attach.exp: Likewise.
1024 * gdb.base/bigcore.exp: Likewise.
1025 * gdb.base/break.exp: Likewise.
1026 * gdb.base/call-ar-st.exp: Likewise.
1027 * gdb.base/callfuncs.exp: Likewise.
1028 * gdb.base/catch-fork-static.exp: Likewise.
1029 * gdb.base/display.exp: Likewise.
1030 * gdb.base/foll-exec-mode.exp: Likewise.
1031 * gdb.base/foll-exec.exp: Likewise.
1032 * gdb.base/foll-fork.exp: Likewise.
1033 * gdb.base/foll-vfork.exp: Likewise.
1034 * gdb.base/funcargs.exp: Likewise.
1035 * gdb.base/hbreak2.exp: Likewise.
1036 * gdb.base/inferior-died.exp: Likewise.
1037 * gdb.base/interrupt.exp: Likewise.
1038 * gdb.base/multi-forks.exp: Likewise.
1039 * gdb.base/nodebug.exp: Likewise.
1040 * gdb.base/sepdebug.exp: Likewise.
1041 * gdb.base/solib1.c: Likewise.
1042 * gdb.base/step-test.exp: Likewise.
1043 * gdb.mi/non-stop.c: Likewise.
1044 * gdb.mi/pthreads.c: Likewise.
1045 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1046 * gdb.threads/pthreads.c: Likewise.
1047 * gdb.threads/staticthreads.exp: Likewise.
1048 * lib/future.exp: Likewise.
1049 * lib/gdb.exp: Likewise.
1050 * gdb.base/so-indr-cl.c: Remove.
1051 * gdb.base/so-indr-cl.exp: Likewise.
1052 * gdb.base/solib.c: Likewise.
1053 * gdb.base/solib.exp: Likewise.
1054 * gdb.base/solib2.c: Likewise.
1055
b6304613
SM
10562015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1057
1058 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1059 * gdb.base/call-ar-st.exp: Likewise.
1060 * gdb.base/callfuncs.exp: Likewise.
1061 * gdb.base/condbreak.exp: Likewise.
1062 * gdb.base/constvars.exp: Likewise.
1063 * gdb.base/hbreak2.exp: Likewise.
1064 * gdb.base/langs.exp: Likewise.
1065 * gdb.base/list.exp: Likewise.
1066 * gdb.base/long_long.exp: Likewise.
1067 * gdb.base/ptype.exp: Likewise.
1068 * gdb.base/scope.exp: Likewise.
1069 * gdb.base/signals.exp: Likewise.
1070 * gdb.base/so-impl-ld.exp: Likewise.
1071 * gdb.base/varargs.exp: Likewise.
1072 * gdb.base/volatile.exp: Likewise.
1073 * gdb.base/whatis.exp: Likewise.
1074 * gdb.cp/cplusfuncs.exp: Likewise.
1075 * gdb.cp/inherit.exp: Likewise.
1076 * gdb.cp/local.exp: Likewise.
1077 * gdb.cp/member-ptr.exp: Likewise.
1078 * gdb.cp/method.exp: Likewise.
1079 * gdb.cp/overload.exp: Likewise.
1080 * gdb.cp/templates.exp: Likewise.
1081 * gdb.stabs/weird.exp: Likewise.
1082 * lib/compiler.c: Likewise.
1083 * lib/compiler.cc: Likewise.
1084 * lib/cp-support.exp: Likewise.
1085 * lib/gdb.exp: Likewise.
1086
bf401b07
SM
10872015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1088
1089 * configure.ac: Remove HP-UX case.
1090 * configure: Regenerate.
1091
aff9c0f8
SM
10922015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1093
1094 * lib/gdb.exp (gdb_compile): Add function doc.
1095
a6904d5a
PA
10962015-12-17 Pedro Alves <palves@redhat.com>
1097
1098 PR threads/19354
1099 * gdb.multi/info-threads.exp: New file.
1100
a22279dd
YQ
11012015-12-15 Yao Qi <yao.qi@linaro.org>
1102
1103 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1104 is aarch64*-*-*.
1105
0588c796
SL
11062015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1107
1108 * gdb.base/history-duplicates.exp: Skip if no readline support.
1109
5d978e17
SL
11102015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1111
1112 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1113
7e763b86
SL
11142015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1115
1116 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1117
87a3a92c
SL
11182015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1119
1120 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1121 ctrl-C if nointerrupts target property is set.
1122 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1123 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1124 * gdb.base/paginate-bg-execution.exp: Likewise.
1125 * gdb.base/paginate-execution-startup.exp: Likewise.
1126 * gdb.base/random-signal.exp: Likewise.
1127 * gdb.base/range-stepping.exp: Likewise.
1128 * gdb.cp/annota2.exp: Likewise.
1129 * gdb.cp/annota3.exp: Likewise.
1130 * gdb.gdb/selftest.exp: Likewise.
1131 * gdb.threads/continue-pending-status.exp: Likewise.
1132 * gdb.threads/leader-exit.exp: Likewise.
1133 * gdb.threads/manythreads.exp: Likewise.
1134 * gdb.threads/pthreads.exp: Likewise.
1135 * gdb.threads/schedlock.exp: Likewise.
1136 * gdb.threads/sigthread.exp: Likewise.
1137
a8f077dc
DB
11382015-12-11 Don Breazeal <donb@codesourcery.com>
1139
1140 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1141 remote.
1142 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1143 * gdb.base/foll-exec.exp (main): Enable for target remote.
1144 * gdb.base/foll-fork.exp (main): Likewise.
1145 * gdb.base/foll-vfork.exp (main): Likewise.
1146 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1147 (proc continue_to_exit_bp_loc): Use clean_restart.
1148 * gdb.base/pie-execl.exp (main): Disable for target remote.
1149 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1150 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1151 * gdb.threads/execl.exp (main): Likewise.
1152 * gdb.threads/fork-child-threads.exp (main): Likewise.
1153 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1154 remote.
1155 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1156 remote.
1157 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1158 pid.tid style ptids, instead of just tid.
1159 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1160 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1161 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1162 ptids, instead of just tid.
1163
3b2464a8
AB
11642015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1165
1166 * gdb.base/list.exp (test_list_forward): Add end of file error
1167 test.
1168 (test_repeat_list_command): Add end of file error test.
1169 (test_list_backwards): Add beginning of file error test.
1170
a0def019
AB
11712015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1172
1173 * gdb.base/list.exp (test_list_invalid_args): New function,
1174 defined, and called.
1175
5c000dff
AB
11762015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1177
1178 * gdb.base/list.exp (test_list): Make test names unique.
1179
f1637ebe
YQ
11802015-12-11 Yao Qi <yao.qi@linaro.org>
1181
1182 * gdb.base/coremaker2.c: Remove.
1183
36d6fc0a
PA
11842015-12-10 Pedro Alves <palves@redhat.com>
1185
1186 * gdb.multi/base.exp: Remove stale "spaces" references.
1187
762f7747
PA
11882015-12-10 Pedro Alves <palves@redhat.com>
1189
1190 * gdb.multi/base.exp: Don't use nowarnings.
1191 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1192 * gdb.multi/hangout.c: Include stdio.h.
1193 * gdb.multi/hello.c: Include stdlib.h.
1194 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1195 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1196 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1197
28d2bfb9
AB
11982015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1199
1200 * gdb.dwarf2/dw2-ranges-base.c: New file.
1201 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1202 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1203 support additional line table, and debug ranges generation.
1204 (Dwarf::ranges): New function, generate .debug_ranges.
1205 (Dwarf::lines): Support generating simple line table programs.
1206 (Dwarf::assemble): Initialise new namespace variables.
1207
5fc2beac
KB
12082015-12-09 Kevin Buettner <kevinb@redhat.com>
1209
1210 * gdb.base/async.exp (proc test_background): Add case for
1211 asynchronous execution not supported.
1212
1c35a88f
LM
12132015-12-09 Luis Machado <lgustavo@codesourcery.com>
1214
1215 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1216 format and change test names to make them unique.
1217
b593e3d9
RK
12182015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1219 Pedro Alves <pedro@redhat.com>
1220
1221 PR gdb/18702
1222 Add checking of floatformats setup on x86_64 hosts.
1223 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1224 (smallval, bigval): New labels/constants.
1225 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1226 float" after loading bigval and smallval.
1227
d72413e6
PMR
12282015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1229
1230 * gdb.ada/fun_overload_menu.exp: New testcase.
1231 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1232
ece66d65
JS
12332015-12-04 Josh Stone <jistone@redhat.com>
1234
1235 * gdb.base/catch-fork-static.exp: New.
1236
41d0efca
YQ
12372015-12-03 Yao Qi <yao.qi@linaro.org>
1238
1239 * gdb.base/sizeof.c: Don't include stdio.h and
1240 ../lib/unbuffer_output.c.
1241 (main): New variable 'size' and 'value'. Remove printf and
1242 gdb_unbuffer_output. Assign return value to size and value.
1243 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1244 at the beginning.
1245 (check_sizeof): Check the result by printing variable 'size'.
1246 (check_valueof): Check the result by printing variable 'value'.
1247
99fd02d9
YQ
12482015-12-01 Yao Qi <yao.qi@linaro.org>
1249
1250 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1251 for aarch64*-*-linux* target.
1252
f2faf941
PA
12532015-11-30 Pedro Alves <palves@redhat.com>
1254
1255 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1256
04bf20c5
PA
12572015-11-30 Pedro Alves <palves@redhat.com>
1258
1259 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1260 Handle non-stop mode vCont replies.
1261
09df4675
PA
12622015-11-30 Pedro Alves <palves@redhat.com>
1263
1264 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1265 prepare_for_testing. Start gdb with "set non-stop on" appended to
1266 GDBFLAGS. Lax expected stop output.
1267
58b584af
YQ
12682015-11-27 Yao Qi <yao.qi@linaro.org>
1269
1270 * gdb.arch/arm-neon.exp: New.
1271 * gdb.arch/arm-neon.c: New.
1272
dfcb77a8
YQ
12732015-11-27 Yao Qi <yao.qi@linaro.org>
1274
1275 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1276
88e8ec1b
YQ
12772015-11-27 Yao Qi <yao.qi@linaro.org>
1278
1279 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1280 frames-invalid annotation.
1281
bfde72c2
YQ
12822015-11-27 Yao Qi <yao.qi@linaro.org>
1283
1284 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1285
f6512a69
SM
12862015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1287
1288 * gdb.threads/names.exp: New file.
1289 * gdb.threads/names.c: New file.
1290 * README: Mention gdb,no_thread_names.
1291
46a3515b
MM
12922015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1293
1294 PR 19297
1295 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1296 support" error.
1297
62147a22
PA
12982015-11-24 Pedro Alves <palves@redhat.com>
1299
1300 PR 17539
1301 * gdb.base/display.exp: Expect displays to be sorted in ascending
1302 order. Use multi_line.
1303 * gdb.base/solib-display.exp: Likewise.
1304
2f341b6e
PA
13052015-11-24 Pedro Alves <palves@redhat.com>
1306
1307 PR 17539
1308 * gdb.base/display.exp: Expect displays to be sorted in ascending
1309 order. Use multi_line.
1310 * gdb.base/solib-display.exp: Likewise.
1311
7e0aa6aa
PA
13122015-11-24 Pedro Alves <palves@redhat.com>
1313
1314 PR 17539
1315 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1316 threads in ascending order.
1317 * gdb.base/foll-fork.exp: Likewise.
1318 * gdb.base/foll-vfork.exp: Likewise.
1319 * gdb.base/multi-forks.exp: Likewise.
1320 * gdb.mi/mi-nonstop.exp: Likewise.
1321 * gdb.mi/mi-nsintrall.exp: Likewise.
1322 * gdb.multi/base.exp: Likewise.
1323 * gdb.multi/multi-arch.exp: Likewise.
1324 * gdb.python/py-inferior.exp: Likewise.
1325 * gdb.threads/break-while-running.exp: Likewise.
1326 * gdb.threads/execl.exp: Likewise.
1327 * gdb.threads/gcore-thread.exp: Likewise.
1328 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1329 * gdb.threads/kill.exp: Likewise.
1330 * gdb.threads/linux-dp.exp: Likewise.
1331 * gdb.threads/multiple-step-overs.exp: Likewise.
1332 * gdb.threads/next-bp-other-thread.exp: Likewise.
1333 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1334 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1335 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1336 * gdb.threads/thread-find.exp: Likewise.
1337 * gdb.threads/tls.exp: Likewise.
1338 * lib/mi-support.exp (mi_reverse_list): Delete.
1339 (mi_check_thread_states): No longer reverse list.
1340
2cc57ad8
PA
13412015-11-24 Pedro Alves <palves@redhat.com>
1342
1343 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1344 use lowercase.
1345
c93e8391
SM
13462015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1347
1348 * gdb.trace/actions.c: Include trace-common.h.
1349 (main): Add a location for a fast tracepoint.
1350 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1351 the normal tracepoints.
1352 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1353
045ccf91
SM
13542015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1355
1356 * save-trace.exp: Factor out code to these...
1357 (gdb_save_tracepoints): New.
1358 (gdb_load_tracepoints): New.
1359 (do_save_load_test): New.
1360
5506f9f6
KB
13612015-11-23 Kevin Buettner <kevinb@redhat.com>
1362
1363 * gdb.base/asmlabel.exp: New test.
1364 * gdb.base/asmlabel.c: New test case.
1365
16c3b12f
JB
13662015-11-23 Joel Brobecker <brobecker@adacore.com>
1367
1368 * gdb.base/wrong_frame_bt_full-main.c: New file.
1369 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1370 * gdb.base/wrong_frame_bt_full.exp: New file.
1371
155bfbd3
JB
13722015-11-23 Joel Brobecker <brobecker@adacore.com>
1373
1374 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1375
bb097445
JM
13762015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1377
206853a0 1378 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1379 pstate register when comparing registers values in
1380 sparc64-*-linux-gnu targets to avoid spurious differences.
1381
9c88ed8f
JM
13822015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1383
206853a0 1384 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1385
96161e25
SL
13862015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1387
1388 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1389 as type argument to gdb_compile.
1390 * gdb.base/nested-subp2.exp: Likewise.
1391 * gdb.base/nested-subp3.exp: Likewise.
1392
340c2830
DV
13932015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1394
1395 * lib/dwarf.exp (_note): Fix left shift of negative value.
1396 * gdb.trace/trace-condition.exp: Likewise.
1397
c1862d0f
YQ
13982015-11-13 Yao Qi <yao.qi@linaro.org>
1399
1400 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1401 comments about d10v.
1402 (test_scalar_returns): Likewise.
1403 * gdb.base/d10v.ld: Remove.
1404 * gdb.base/overlays.exp: Remove the target triplet checking for
1405 d10v-*-*.
1406 * gdb.base/structs.exp (test_struct_returns): Remove the
1407 comments about d10v.
1408 (test_struct_calls): Likewise.
1409
77ae9c19
YQ
14102015-11-13 Yao Qi <yao.qi@linaro.org>
1411
1412 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1413 * gdb.base/gnu_vector.c: Don't include stdio.h.
1414 (main): Don't print res and call add_some_intvecs.
1415
430e004e
MK
14162015-11-11 Marcin Koƛcielnicki <koriakin@0x04.net>
1417
1418 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1419 macro.
1420 (func5): Removed.
1421 (func4): Use FAST_TRACEPOINT_LABEL.
1422 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1423 macro.
1424 (func): Removed.
1425 (thread_function): Use FAST_TRACEPOINT_LABEL.
1426 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1427 (func): Remove.
1428 (marker): Use FAST_TRACEPOINT_LABEL.
1429 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1430 (pendfunc1): Remove.
1431 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1432 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1433 (foo): Remove.
1434 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1435 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1436 macro.
1437 (func): Remove.
1438 (marker): Use FAST_TRACEPOINT_LABEL.
1439 * gdb.trace/trace-common.h: New header.
1440 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1441 macro.
1442 (func): Remove.
1443 (marker): Use FAST_TRACEPOINT_LABEL.
1444 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1445 (func): Remove.
1446 (thread_function): Use FAST_TRACEPOINT_LABEL.
1447
6e7675a7
MK
14482015-11-10 Marcin Koƛcielnicki <koriakin@0x04.net>
1449
1450 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1451 in front.
1452 * gdb.trace/change-loc.exp: Use global pcreg definition.
1453 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1454 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1455 in front.
1456 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1457 * gdb.trace/pending.exp: Likewise.
1458 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1459 * gdb.trace/trace-break.exp: Likewise.
1460 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1461 in front.
1462 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1463 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1464 in front.
1465 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1466
dddc0e16
JB
14672015-11-09 Joel Brobecker <brobecker@adacore.com>
1468
1469 * gdb.ada/fin_fun_out: New testcase.
1470
c6f0b406
KB
14712015-11-07 Kevin Buettner <kevinb@redhat.com>
1472
1473 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1474 value associated with DW_AT_byte_size.
1475 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1476 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1477 DW_AT_upper_bound.
1478
f01dcfd9
KB
14792015-11-07 Kevin Buettner <kevinb@redhat.com>
1480
1481 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1482 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1483 version.
1484 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1485 gdb.dwarf2/dw2-canonicalize-type.exp,
1486 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1487 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1488 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1489 provided by gdb_target_symbol_prefix_flags_asm.
1490 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1491 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1492 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1493 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1494 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1495 macros where needed). Use this macro for symbols which require
1496 the prefix provided by SYMBOL_PREFIX.
1497
2223449a
KB
14982015-11-05 Kevin Buettner <kevinb@redhat.com>
1499
1500 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1501 New procs.
1502 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1503 representing expressions, of more than one list element.
1504 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1505 to prepend linker symbol prefix to f.
1506 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1507 table_1 and table_2.
1508 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1509 Likewise, for f and g.
1510 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1511 for ptr.
1512 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1513 for main.
1514 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1515 table_1_ptr and table_2_ptr.
1516
6f2f1a3a
JK
15172015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1518 Joel Brobecker <brobecker@adacore.com>
1519
1520 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1521
566c56c9
MK
15222015-11-04 Marcin Koƛcielnicki <koriakin@0x04.net>
1523
1524 * gdb.reverse/s390-mvcle.c: New test.
1525 * gdb.reverse/s390-mvcle.exp: New file.
1526 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1527
d5f0636b
MK
15282015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
1529
1530 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1531
7ad8b86c
MK
15322015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
1533
1534 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1535 reaching marker2.
1536 * gdb.reverse/getresuid-reverse.exp: Likewise.
1537 * gdb.reverse/pipe-reverse.exp: Likewise.
1538 * gdb.reverse/readv-reverse.exp: Likewise.
1539 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1540 * gdb.reverse/time-reverse.exp: Likewise.
1541 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1542
4081c0f1
YQ
15432015-10-30 Yao Qi <yao.qi@linaro.org>
1544
1545 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1546 (empty_cycle): Remove.
1547 (main): Don't call empty_cycle. Don't use watch_count_done.
1548 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1549 empty_cycle. Rewrite the code counting HW watchpoints.
1550
452b4ba5
MK
15512015-10-30 Marcin Koƛcielnicki <koriakin@0x04.net>
1552
1553 * gdb.reverse/fstatat-reverse.c: New test.
1554 * gdb.reverse/fstatat-reverse.exp: New file.
1555 * gdb.reverse/getresuid-reverse.c: New test.
1556 * gdb.reverse/getresuid-reverse.exp: New file.
1557 * gdb.reverse/pipe-reverse.c: New test.
1558 * gdb.reverse/pipe-reverse.exp: New file.
1559 * gdb.reverse/readv-reverse.c: New test.
1560 * gdb.reverse/readv-reverse.exp: New file.
1561 * gdb.reverse/recvmsg-reverse.c: New test.
1562 * gdb.reverse/recvmsg-reverse.exp: New file.
1563 * gdb.reverse/time-reverse.c: New test.
1564 * gdb.reverse/time-reverse.exp: New file.
1565 * gdb.reverse/waitpid-reverse.c: New test.
1566 * gdb.reverse/waitpid-reverse.exp: New file.
1567
5e2e7507
JK
15682015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1569
1570 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1571
0fde2c53
DE
15722015-10-26 Doug Evans <dje@google.com>
1573
1574 PR symtab/17391
1575 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1576 * gdb.dwarf2/bad-regnum.c: New file.
1577 * gdb.dwarf2/bad-regnum.exp: New file.
1578
1a70ae97
DE
15792015-10-26 Doug Evans <dje@google.com>
1580
1581 PR python/18938
1582 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1583 file.
1584
27dc26ab
JK
15852015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1586
1587 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1588 for a change by "Mention language in compile error message".
1589
bed91f4d
SM
15902015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1591
1592 PR python/18073
1593 * gdb.python/py-type.c (C::a_method): New.
1594 (C::a_const_method): New.
1595 (C::a_static_method): New.
1596 (a_function): New.
1597 * gdb.python/py-type.exp (test_fields): Test getting fields
1598 from function and method.
1599
3f2f83dd
KB
16002015-10-21 Keven Boell <keven.boell@intel.com>
1601
1602 * gdb.fortran/vla-alloc-assoc.exp: New file.
1603 * gdb.fortran/vla-datatypes.exp: New file.
1604 * gdb.fortran/vla-datatypes.f90: New file.
1605 * gdb.fortran/vla-history.exp: New file.
1606 * gdb.fortran/vla-ptype-sub.exp: New file.
1607 * gdb.fortran/vla-ptype.exp: New file.
1608 * gdb.fortran/vla-sizeof.exp: New file.
1609 * gdb.fortran/vla-sub.f90: New file.
1610 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1611 * gdb.fortran/vla-value-sub-finish.exp: New file.
1612 * gdb.fortran/vla-value-sub.exp: New file.
1613 * gdb.fortran/vla-value.exp: New file.
1614 * gdb.fortran/vla-ptr-info.exp: New file.
1615 * gdb.mi/mi-vla-fortran.exp: New file.
1616 * gdb.mi/vla.f90: New file.
1617
27145d50
SL
16182015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1619
1620 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1621 of hardwired timeout value.
1622
5f3ff4f8
JK
16232015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1624 Pedro Alves <palves@redhat.com>
1625
1626 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1627 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1628
bfd09d20
JS
16292015-10-19 Josh Stone <jistone@redhat.com>
1630
1631 * gdb.base/catch-syscall.c: Include <sched.h>.
1632 (unknown_syscall): New variable.
1633 (main): Trigger a vfork and an unknown syscall.
1634 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1635 (unknown_syscall_number): Likewise.
1636 (check_call_to_syscall): Accept an optional syscall pattern.
1637 (check_return_from_syscall): Likewise.
1638 (check_continue): Likewise.
1639 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1640 (test_catch_syscall_skipping_return): New test toggling off 'catch
1641 syscall' to step over the syscall return, then toggling back on.
1642 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1643 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1644 (do_syscall_tests): Call test_catch_syscall_without_args and
1645 test_catch_syscall_mid_vfork.
1646 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1647 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1648
b32b93c6
AS
16492015-10-19 Andrew Stubbs <ams@codesourcery.com>
1650
1651 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1652 print g_vE): Add new pass patterns.
1653 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1654 print various symbol names for vptr fields.
1655
9d622bda
AB
16562015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1657
1658 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1659 results.
1660
0fd8ac1c
YQ
16612015-10-12 Yao Qi <yao.qi@linaro.org>
1662
1663 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1664
34240514
YQ
16652015-10-12 Yao Qi <yao.qi@linaro.org>
1666
1667 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1668 is aarch64*-*-linux*.
1669
8240f442
YQ
16702015-10-12 Yao Qi <yao.qi@linaro.org>
1671
1672 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1673 (can_relocate_bcond_true): ... it.
1674 (can_relocate_bcond_false): New function.
1675 (foo): Likewise.
1676 (can_relocate_bl): Likewise.
1677 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1678 can_relocate_bl.
1679
2520f728
PMR
16802015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1681
1682 * gdb.base/nested-addr.c: New file.
1683 * gdb.base/nested-addr.exp: New testcase.
1684
abcef95a
MM
16852015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1686
1687 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1688 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1689 its output. Ignore the output of "record goto begin" and instead
1690 check that GDB is replaying.
1691
145e3ddb
PA
16922015-10-09 Pedro Alves <palves@redhat.com>
1693
1694 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1695 (top level): Use it in the run with no args test.
1696
d5d8c4e1
IB
16972015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1698
1699 * gdb.dlang/properties.exp: New file.
1700
06e635ef
SL
17012015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1702
1703 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1704 whether or not address 0x1000 is mapped on the target.
1705
e019fd1d
SM
17062015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1707
1708 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1709 build.
1710
77ba2a67
MM
17112015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1712
1713 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1714 instruction-history test.
1715
c60eb31f
DE
17162015-09-28 Doug Evans <dje@google.com>
1717
1718 * gdb.base/gcore.c (array_func): Add reference to static_array.
1719
9a3c8263
SM
17202015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1721
1722 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1723 source line.
1724
9720e656
SL
17252015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1726
1727 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1728 short or char as base type.
1729
938d3bf2
SL
17302015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1731
1732 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1733 to allow any size enum.
1734
e6c2c623
PMR
17352015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1736
1737 * gdb.ada/array_ptr_renaming.exp: New testcase.
1738 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1739 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1740
06da0f77
PL
17412015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1742
1743 * gdb.trace/ftrace-lock.c: New file.
1744 * gdb.trace/ftrace-lock.exp: New file.
1745
4f51c22a
PL
17462015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1747
1748 * gdb.arch/insn-reloc.c: New file.
1749 * gdb.arch/ftrace-insn-reloc.exp: New file.
1750
7041adf4
PL
17512015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1752
1753 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1754 instruction.
1755 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1756 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1757 * gdb.trace/range-stepping.c: Likewise.
1758 * gdb.trace/trace-break.c: Likewise.
1759 * gdb.trace/trace-mt.c (thread_function): Likewise.
1760 * gdb.trace/ftrace.c (marker): Likewise.
1761 * gdb.trace/trace-condition.c (marker): Likewise.
1762 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1763 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1764 is_aarch64_target.
1765
015d2e7e
DE
17662015-09-18 Doug Evans <xdje42@gmail.com>
1767
1768 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1769 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1770
26b188a2
SL
17712015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1772
1773 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1774 the breakpoint.
1775
79dc332b
SL
17762015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1777
1778 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1779 the pending breakpoint. Remove timeout override for "Run till
1780 MI pending breakpoint on pendfunc3 on thread 2" test.
1781
f57929f2
SL
17822015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1783
1784 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1785 filename pattern.
1786
3f469b17
SL
17872015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1788
1789 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1790 in breakpoint filename pattern.
1791
515b89b3
SL
17922015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1793
7800dbe4
SL
1794 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1795
17962015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1797
515b89b3
SL
1798 * gdb.linespec/explicit.exp: Check for readline support for
1799 tab-completion tests. Fix obvious typo.
1800
d2939ba2
MM
18012015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1802
1803 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1804 and replay.
1805
cbb55fa7
MM
18062015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1807
1808 * gdb.btrace/non-stop.c: New.
1809 * gdb.btrace/non-stop.exp: New.
1810
43691ca1
PL
18112015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1812 Yao Qi <yao.qi@linaro.org>
1813
1814 * gdb.trace/trace-condition.c: New file.
1815 * gdb.trace/trace-condition.exp: New file.
1816
d78908cf
WW
18172015-09-16 Wei-cheng Wang <cole945@gmail.com>
1818
1819 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1820 for testing bytecode compilation.
1821
1ed415e2
PA
18222015-09-16 Pedro Alves <palves@redhat.com>
1823 Sandra Loosemore <sandra@codesourcery.com>
1824
1825 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1826 (SECONDS): Redefine.
1827 (main): Call pthread_kill and alarm early.
1828 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1829 support.
1830 (test): If the target can't hardware step and doesn't support
1831 displaced stepping, increase the timeout.
1832
d136eff5
PA
18332015-09-16 Pedro Alves <palves@redhat.com>
1834
1835 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1836 (enable_debug): New procedures.
1837 (test): Use them. Bail out if waiting for threads fails.
1838 (top level): Bail out if a test fails.
1839
991f019c
YQ
18402015-09-16 Yao Qi <yao.qi@linaro.org>
1841
1842 * gdb.asm/asm-source.exp: Set asm-arch for
1843 aarch64*-*-* target.
1844 * gdb.asm/aarch64.inc: New file.
1845
bfca584f
PMR
18462015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1847
1848 * gdb.ada/array_of_variable_length.exp: New testcase.
1849 * gdb.ada/array_of_variable_length/foo.adb: New file.
1850 * gdb.ada/array_of_variable_length/pck.adb: New file.
1851 * gdb.ada/array_of_variable_length/pck.ads: New file.
1852
b326e587
DE
18532015-09-15 Doug Evans <dje@google.com>
1854
1855 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1856 of function static local variable.
1857
5382cfab
PW
18582015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1859
1860 * gdb.threads/tls-so_extern.exp: New test file.
1861 * gdb.threads/tls-so_extern.c: New test file.
1862 * gdb.threads/tls-so_extern_main.c: New test file.
1863
141c5cc4
JK
18642015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1865
1866 * gdb.opt/solib-intra-step-lib.c: New file.
1867 * gdb.opt/solib-intra-step-main.c: New file.
1868 * gdb.opt/solib-intra-step.exp: New file.
1869
d15dcecd
PA
18702015-09-15 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1873 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1874
4c2f2a79
PA
18752015-09-14 Pedro Alves <palves@redhat.com>
1876
1877 * gdb.base/hook-stop-continue.c: Delete.
1878 * gdb.base/hook-stop-continue.exp: Delete.
1879 * gdb.base/hook-stop-frame.c: Delete.
1880 * gdb.base/hook-stop-frame.exp: Delete.
1881 * gdb.base/hook-stop.c: New file.
1882 * gdb.base/hook-stop.exp: New file.
1883
919e6dbe
PMR
18842015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1885
1886 * gdb.ada/access_to_packed_array.exp: New testcase.
1887 * gdb.ada/access_to_packed_array/foo.adb: New file.
1888 * gdb.ada/access_to_packed_array/pack.adb: New file.
1889 * gdb.ada/access_to_packed_array/pack.ads: New file.
1890
157280a4
MM
18912015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1892
1893 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1894 buffer size test.
1895
2fd33e94
DB
18962015-09-11 Don Breazeal <donb@codesourcery.com>
1897
1898 * gdb.base/foll-exec.c: Add copyright header. Fix
1899 formatting issues.
1900 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1901 (do_exec_tests): Use clean_restart in place of zap_session,
1902 and for test initialization. Fix formatting issues. Use
1903 fail in place of perror.
1904 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1905 an expect statement to match an expression with output from
1906 the program under debug.
1907 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1908 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1909 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1910 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1911 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1912
e70b6e8e
DE
19132015-09-09 Doug Evans <dje@google.com>
1914
1915 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1916
7a551a51
DE
19172015-09-09 Doug Evans <dje@google.com>
1918
1919 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1920
4c666f84
DE
19212015-09-09 Doug Evans <dje@google.com>
1922
1923 * gdb.base/savedregs.exp: Fix typo.
1924
243a9253
PA
19252015-09-09 Pedro Alves <palves@redhat.com>
1926
1927 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1928
c0fa8fbd
SL
19292015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1930
1931 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1932 command actually switches threads. Give up on remaining
1933 tests if target fails to stop at breakpoint.
1934
cd7c1778
PMR
19352015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1936
1937 * gdb.ada/funcall_char.exp: New testcase.
1938 * gdb.ada/funcall_char/foo.adb: New file.
1939
dc5c8746
PMR
19402015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1941
1942 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1943 expected outputs. Add two testcases for completing ambiguous
1944 functions.
1945 * gdb.ada/complete/aux_pck.adb: New file.
1946 * gdb.ada/complete/aux_pck.ads: New file.
1947 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1948 Ambiguous_Func functions.
1949 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1950 * gdb.ada/complete/pck.adb: Likewise.
1951
4e83a1e7
UW
19522015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1953
1954 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1955 failures to run the test program under GDB.
1956
8ce74153
LM
19572015-08-26 Luis Machado <lgustavo@codesourcery.com>
1958
1959 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1960 to C.
1961
e9756d52
PP
19622015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1963
1964 * gdb.base/run-after-attach.exp: New test file.
1965 * gdb.base/run-after-attach.c: New test file.
1966
8d37573b
DB
19672015-08-26 Don Breazeal <donb@codesourcery.com>
1968
1969 * gdb.base/foll-exec-2.c: New test program.
1970 * gdb.base/foll-exec-2.exp: New test.
1971
63e43d3a
PMR
19722015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1973
1974 * gdb.base/nested-subp1.exp: New file.
1975 * gdb.base/nested-subp1.c: New file.
1976 * gdb.base/nested-subp2.exp: New file.
1977 * gdb.base/nested-subp2.c: New file.
1978 * gdb.base/nested-subp3.exp: New file.
1979 * gdb.base/nested-subp3.c: New file.
1980
3d40fbb5
PA
19812015-08-24 Pedro Alves <palves@redhat.com>
1982
1983 * gdb.server/connect-without-multi-process.c: New file.
1984 * gdb.server/connect-without-multi-process.exp: New file.
1985
4422ac93
LM
19862015-08-24 Luis Machado <lgustavo@codesourcery.com>
1987
1988 * gdb.opt/inline-markers.c: Make z int.
1989
91dddb86
LM
19902015-08-24 Luis Machado <lgustavo@codesourcery.com>
1991
1992 * gdb.opt/inline-markers.c: Make z volatile.
1993
a48847ee
LM
19942015-08-24 Luis Machado <lgustavo@codesourcery.com>
1995
1996 * gdb.opt/inline-bt.c: New volatile global z.
1997 * gdb.opt/inline-cmds.c: Likewise.
1998 * gdb.opt/inline-locals.c: Likewise.
1999 * gdb.opt/inline-markers.c: New extern global z.
2000 (marker): Use z.
2001 (inline_fn): Likewise.
2002
0ebbc52b
PA
20032015-08-24 Pedro Alves <palves@redhat.com>
2004
2005 * config/m32r-stub.exp: Remove file.
2006 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2007 * gdb.base/call-rt-st.exp: Likewise.
2008 * gdb.base/call-strs.exp: Likewise.
2009 * gdb.base/default.exp: Remove references to h8300-*-hms and
2010 *-*-udi*.
2011 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2012
77c365df
AA
20132015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2014
2015 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2016 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2017 and "return" use KFAIL when GDB can not read/write the vector
2018 return value.
2019
4313b8c0
GB
20202015-08-21 Gary Benson <gbenson@redhat.com>
2021
2022 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2023
0e433b32
PA
20242015-08-20 Pedro Alves <palves@redhat.com>
2025
2026 * gdb.server/solib-list.exp: No longer expect an interior stop in
2027 non-stop mode.
2028
221e1a37
PA
20292015-08-20 Pedro Alves <palves@redhat.com>
2030
2031 * gdb.server/connect-stopped-target.c: New file.
2032 * gdb.server/connect-stopped-target.exp: New file.
2033
40e3ad0e
PA
20342015-08-20 Pedro Alves <palves@redhat.com>
2035
2036 * gdb.dwarf2/comp-unit-lang.exp: New file.
2037 * gdb.dwarf2/comp-unit-lang.c: New file.
2038
af39b327
PMR
20392015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2040
2041 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2042 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2043
7d45c7c3 20442015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2045
7d45c7c3
KB
2046 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2047 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2048
4d6cceb4
DE
20492015-08-18 Doug Evans <dje@google.com>
2050 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2051
2052 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2053 skip_python_tests. New arg prompt_regexp.
2054 (skip_python_tests): New function.
2055 * lib/mi-support.exp (mi_skip_python_tests): New function.
2056 * gdb.python/py-mi-objfile-gdb.py: New file.
2057 * gdb.python/py-mi-objfile.c: New file.
2058 * gdb.python/py-mi-objfile.exp: New file.
2059
ad89c2aa
KS
20602015-08-17 Keith Seitz <keiths@redhat.com>
2061
2062 * gdb.linespec/explicit.exp: Move strace test from here ...
2063 * gdb.trace/strace.exp: ... to here.
2064
e3ae3c43
PP
20652015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2066
2067 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2068 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2069
604b2636
DE
20702015-08-14 Doug Evans <xdje42@gmail.com>
2071
2072 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2073 inferior before selecting a new file.
2074
6ff0ba5f
DE
20752015-08-14 Doug Evans <xdje42@gmail.com>
2076
2077 * gdb.mi/mi-disassemble.exp: Update.
2078 * gdb.base/disasm-optim.S: New file.
2079 * gdb.base/disasm-optim.c: New file.
2080 * gdb.base/disasm-optim.h: New file.
2081 * gdb.base/disasm-optim.exp: New file.
2082
9ca98f92
KS
20832015-08-14 Keith Seitz <keiths@redhat.com>
2084
2085 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2086 "evaluated-by".
2087
52bbc560
JB
20882015-08-13 Joel Brobecker <brobecker@adacore.com>
2089
2090 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2091
5d8c3ed3
PMR
20922015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2093
2094 * gdb.ada/fun_renaming.exp: New testcase.
2095 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2096 * gdb.ada/fun_renaming/pack.adb: New file.
2097 * gdb.ada/fun_renaming/pack.ads: New file.
2098
ea8812bc
KS
20992015-08-12 Keith Seitz <keiths@redhat.com>
2100
2101 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2102 gdb_get_line_number.
2103
4dafcdeb
JB
21042015-08-12 Joel Brobecker <brobecker@adacore.com>
2105
2106 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2107 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2108 gdb.base/dso2dso.exp: New files.
2109
5ba32597
SDJ
21102015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2111 Pedro Alves <palves@redhat.com>
2112 Keith Seitz <keiths@redhat.com>
2113
2114 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2115 GDBFLAGS.
2116
b6dafabf
PP
21172015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2118
2119 * gdb.base/gdbhistsize-history.exp
2120 (test_histsize_history_setting): Use save_vars.
2121 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2122 Use save_vars.
2123 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2124 * gdb.base/readline.exp: Use save_vars.
2125
abe8e607
PP
21262015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2127
2128 * lib/gdb.exp (save_vars): New proc.
2129
629500fa
KS
21302015-08-11 Keith Seitz <keiths@redhat.com>
2131
2132 * gdb.base/help.exp: Update help_breakpoint_text.
2133
eb8c4e2e
KS
21342015-08-11 Keith Seitz <keiths@redhat.com>
2135
2136 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2137 (at toplevel): Call test_explicit_breakpoints.
2138 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2139 breakpoints.
2140 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2141 breakpoint conditions, "-cond".
2142
87f0e720
KS
21432015-08-11 Keith Seitz <keiths@redhat.com>
2144
2145 * gdb.linespec/3explicit.c: New file.
2146 * gdb.linespec/cpexplicit.cc: New file.
2147 * gdb.linespec/cpexplicit.exp: New file.
2148 * gdb.linespec/explicit.c: New file.
2149 * gdb.linespec/explicit.exp: New file.
2150 * gdb.linespec/explicit2.c: New file.
2151 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2152 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2153 before using in the matching pattern.
2154 Clarify that `prefix' is a regular expression.
2155
f00aae0f
KS
21562015-08-11 Keith Seitz <keiths@redhat.com>
2157
2158 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2159 test.
2160 Add tests for missing ",FMT" and ",".
2161
e27852be
DE
21622015-08-10 Doug Evans <dje@google.com>
2163 Keith Seitz <keiths@redhat.com>
2164
2165 PR gdb/17960
2166 * gdb.base/completion.exp: Add location completer tests.
2167
7f03bd92
PA
21682015-08-07 Pedro Alves <palves@redhat.com>
2169
2170 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2171 tests here.
2172 (top level): Run do_test with and without displaced stepping.
2173
3fc8eb30
PA
21742015-08-07 Pedro Alves <palves@redhat.com>
2175
2176 * gdb.base/valgrind-disp-step.c: New file.
2177 * gdb.base/valgrind-disp-step.exp: New file.
2178
d4569d7b
PA
21792015-08-07 Pedro Alves <palves@redhat.com>
2180
2181 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2182 Delete function.
2183 (main): Add alarm. Run an infinite loop instead of calling
2184 wait_threads.
2185 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2186 comment.
2187 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2188 Delete function.
2189 (main): Add alarm. Run an infinite loop instead of calling
2190 wait_threads.
2191 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2192 comment.
2193
e1316e60
PA
21942015-08-07 Pedro Alves <palves@redhat.com>
2195
2196 * gdb.base/checkpoint-ns.exp: New file.
2197 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2198 standard_testfile.
2199
da8c46d2
MM
22002015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2201
2202 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2203 * gdb.btrace/instruction_history.exp: Update.
2204 * gdb.btrace/tsx.exp: New.
2205 * gdb.btrace/tsx.c: New.
2206
de1c2c52
PA
22072015-08-06 Pedro Alves <palves@redhat.com>
2208
2209 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2210 increase timeout.
2211 * gdb.reverse/until-precsave.exp: Bump timeouts.
2212
782e0bf4
PA
22132015-08-06 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2216
83e97ed0
PA
22172015-08-06 Pedro Alves <palves@redhat.com>
2218
2219 PR gdb/18749
2220 * gdb.threads/process-dies-while-handling-bp.c: New file.
2221 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2222
863d01bd
PA
22232015-08-06 Pedro Alves <palves@redhat.com>
2224
2225 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2226 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2227
0a39bb32
PA
22282015-08-05 Pedro Alves <palves@redhat.com>
2229
2230 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2231 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2232
ee2d2b10
SL
22332015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2234
2235 * gdb.base/bp-permanent.exp: Report test as unsupported if
2236 the target cannot stop at the permanent breakpoint.
2237
4e1bdb00
DE
22382015-08-03 Doug Evans <dje@google.com>
2239
2240 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2241 10000.
2242
3d338901
DE
22432015-08-03 Doug Evans <dje@google.com>
2244
2245 * Makefile.in (workers/%.worker, build-perf): New rule.
2246 (GDB_PERFTEST_MODE): New variable.
2247 (check-perf): Use it.
2248 (clean): Clean up gdb.perf parallel build subdirs.
2249 * lib/build-piece.exp: New file.
2250 * lib/gdb.exp (make_gdb_parallel_path): New function
2251 (standard_output_file, standard_temp_file): Call it.
2252 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2253 of $GDB_PARALLEL.
2254 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2255
af061d3e
DE
22562015-08-03 Doug Evans <dje@google.com>
2257
8e1afc81 2258 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2259 (LOG_FILE_NAME): New global.
2260 (TextReporter.__init__): Initialize self.txt_sum.
2261 (TextReporter.report): Add support for multiple data-points.
2262 Move report to perftest.sum, put raw data in perftest.log.
2263 (TextReporter.start): Open sum and log files.
2264 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2265 * gdb.perf/lib/perftest/testresult.py
2266 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2267
2c8c5d37
PA
22682015-07-31 Pedro Alves <palves@redhat.com>
2269
2270 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2271 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2272 kill_wait_spawned_process instead of explicit "kill -9".
2273 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2274 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2275 kill_wait_spawned_process.
2276 * gdb.base/attach-twice.exp: Likewise.
2277 * gdb.base/attach.exp: Likewise.
2278 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2279 gdb_test_multiple.
2280 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2281 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2282 kill_wait_spawned_process.
2283 * gdb.base/valgrind-infcall.exp: Likewise.
2284 * gdb.multi/multi-attach.exp: Likewise.
2285 * gdb.python/py-prompt.exp: Likewise.
2286 * gdb.python/py-sync-interp.exp: Likewise.
2287 * gdb.server/ext-attach.exp: Likewise.
2288 * gdb.threads/attach-into-signal.exp (corefunc): Use
2289 spawn_wait_for_attach, spawn_id_get_pid and
2290 kill_wait_spawned_process.
2291 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2292 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2293 spawn_id_get_pid and kill_wait_spawned_process.
2294 * gdb.threads/attach-stopped.exp (corefunc): Use
2295 spawn_wait_for_attach, spawn_id_get_pid and
2296 kill_wait_spawned_process.
2297 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2298 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2299 kill_wait_spawned_process instead of explicit "kill -9".
2300 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2301 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2302 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2303 processes. Don't map cygwin/windows pids here. Now returns a
2304 spawn id list.
2305
032a0fca
SL
23062015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2307
2308 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2309 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2310 correct patch.
2311
61a934ca
SL
23122015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2313
2314 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2315
4bc4d428
SL
23162015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2317
2318 Reapply:
2319 2014-05-21 Mark Wielaard <mjw@redhat.com>
2320
2321 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2322
998d452a
PA
23232015-07-30 Pedro Alves <palves@redhat.com>
2324
2325 * linux-low.c (handle_extended_wait): Set the child's last
2326 reported status to TARGET_WAITKIND_STOPPED.
2327
69dde7dc
PA
23282015-07-30 Pedro Alves <palves@redhat.com>
2329
2330 PR threads/18600
2331 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2332 only shows inferior 1.
2333
4dd63d48
PA
23342015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2335 Pedro Alves <palves@redhat.com>
2336
2337 PR threads/18600
2338 * gdb.threads/fork-plus-threads.c: New file.
2339 * gdb.threads/fork-plus-threads.exp: New file.
2340
d618e4c5
PP
23412015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2342
2343 * gdb.base/batch-preserve-term-settings.exp
2344 (test_terminal_settings_preserved_after_cli_exit): Use
2345 send_quit_command.
2346
1eef6428
PA
23472015-07-29 Pedro Alves <palves@redhat.com>
2348 Don Breazeal <donb@codesourcery.com>
2349
2350 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2351 output from both inferior_spawn_id and gdb_spawn_id.
2352
7da5b897
SDJ
23532015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2354
2355 * gdb.threads/attach-into-signal.exp (corefunc): Use
2356 with_test_prefix on nested loops, uniquefying the test messages.
2357
dac804df
SDJ
23582015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2359
2360 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2361 commit.
2362
06265e53
PP
23632015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2364
2365 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2366 New proc.
2367 (test_terminal_settings_preserved_after_sigterm): New test.
2368
18206ca3
PP
23692015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2370
2371 * gdb.base/batch-preserve-term-settings.exp
2372 (test_terminal_settings_preserved_after_cli_exit): New test.
2373
90074d11
PP
23742015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2375
2376 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2377 manipulation of saved_gdbflags.
2378 (test_terminal_settings_preserved): Remove global declaration of
2379 the unused variable pagination_prompt. Remove manipulation of
2380 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2381 GDBFLAGS.
2382
eb1a7902
PA
23832015-07-29 Pedro Alves <palves@redhat.com>
2384
2385 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2386
8b75dd3b
PA
23872015-07-29 Pedro Alves <palves@redhat.com>
2388
2389 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2390 at the top.
2391
dedad4e3
PA
23922015-07-29 Pedro Alves <palves@redhat.com>
2393
2394 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2395 (main): Call gdb_unbuffer_output.
2396 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2397 (main): Call gdb_unbuffer_output.
2398 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2399 (main): Call gdb_unbuffer_output.
2400 * gdb.base/call-strs.exp: Adjust to step over the
2401 gdb_unbuffer_output call.
2402 * gdb.base/catch-gdb-caused-signals.c: Include
2403 "../lib/unbuffer_output.c".
2404 (main): Call gdb_unbuffer_output.
2405 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2406 (main): Call gdb_unbuffer_output.
2407 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2408 (main): Call gdb_unbuffer_output.
2409 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2410 (main): Call gdb_unbuffer_output.
2411 * gdb.base/shlib-call.exp: Adjust to step over the
2412 gdb_unbuffer_output call.
2413 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2414 (main): Call gdb_unbuffer_output.
2415 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2416 (main): Call gdb_unbuffer_output.
2417 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2418 (main): Rename to ...
2419 (test): ... this.
2420 (main): Reimplement.
2421 * gdb.base/varargs.exp: Run to test instead of to main.
2422 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2423 (main): Call gdb_unbuffer_output.
2424
58789a91
PA
24252015-07-29 Pedro Alves <palves@redhat.com>
2426
2427 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2428 factore out from mi_continue_dprintf. For call-style dprintfs,
2429 expect dprintf output out of $inferior_spawn_id.
2430 (mi_continue_dprintf): Use mi_expect_dprintf.
2431 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2432 (main): Call gdb_unbuffer_output.
2433
e8376742
PA
24342015-07-29 Pedro Alves <palves@redhat.com>
2435
2436 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2437 (default_mi_gdb_start): Set inferior_spawn_id instead of
2438 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2439 gdb_spawn_id.
2440 (mi_gdb_test): Always expect inferior output from both
2441 $inferior_spawn_id and $gdb_spawn_id.
2442
08280010
PA
24432015-07-29 Pedro Alves <palves@redhat.com>
2444
2445 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2446 send_inferior and $inferior_spawn_id.
2447
4d30e432
PA
24482015-07-29 Pedro Alves <palves@redhat.com>
2449
2450 * gdb.gdb/complaints.exp (test_initial_complaints)
2451 (test_serial_complaints, test_short_complaints): Use
2452 gdb_test_stdio.
2453 (test_empty_complaint): Handle $inferior_spawn_id !=
2454 $gdb_spawn_id.
2455
0d30a335
PA
24562015-07-29 Pedro Alves <palves@redhat.com>
2457
2458 * gdb.base/varargs.exp: Use gdb_test_stdio.
2459
39413b29
PA
24602015-07-29 Pedro Alves <palves@redhat.com>
2461
2462 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2463
7cb000a9
PA
24642015-07-29 Pedro Alves <palves@redhat.com>
2465
2466 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2467
d7b8ac82
PA
24682015-07-29 Pedro Alves <palves@redhat.com>
2469
2470 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2471 parameter into two new parameters, "inf_result" and "gdb_result".
2472 Expect inferior output and gdb output from $inferior_spawn_id and
2473 $gdb_spawn_id, respectively. Adjust all callers.
2474
789c3a0c
PA
24752015-07-29 Pedro Alves <palves@redhat.com>
2476
2477 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2478 of gdb_test_sequence.
2479
77e760c3
PA
24802015-07-29 Pedro Alves <palves@redhat.com>
2481
2482 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2483 (saw_spurious_output): Expect inferior output from
2484 $inferior_spawn_id. Use gdb_test_stdio.
2485
8396d2cd
PA
24862015-07-29 Pedro Alves <palves@redhat.com>
2487
2488 * gdb.base/dprintf.exp: Use standard_testfile. Change
2489 prepare_for_testing call.
2490 (srcfile): Don't set.
2491 (restart): New procedure.
2492 (test_dprintf): New procecure, use to continue over dprintfs.
2493 (test_call, test_agent): New procedures, tests moved here.
2494 Restart gdb and recreate dprintfs. Adjust expected output.
2495
2051d61f
PA
24962015-07-29 Pedro Alves <palves@redhat.com>
2497
2498 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2499
452397af
PA
25002015-07-29 Pedro Alves <palves@redhat.com>
2501
2502 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2503
8aed9555
PA
25042015-07-29 Pedro Alves <palves@redhat.com>
2505
2506 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2507 gdb_test_stdio.
2508
188a61b4
PA
25092015-07-29 Pedro Alves <palves@redhat.com>
2510
2511 * lib/gdb.exp (gdb_test_stdio): New procedure.
2512
12264a45
PA
25132015-07-29 Pedro Alves <palves@redhat.com>
2514
2515 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2516
23ffc893
PA
25172015-07-29 Pedro Alves <palves@redhat.com>
2518
2519 * gdb.base/call-signal-resume.exp: Remove check for
2520 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2521 * gdb.base/unwindonsignal.exp: Likewise.
2522 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2523 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2524
65566918
PA
25252015-07-29 Pedro Alves <palves@redhat.com>
2526
2527 * gdb.base/siginfo-addr.c (pass): New function.
2528 (handler): Call it iff si_addr is correct.
2529 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2530 Set a breakpoint at "pass" and continue to it.
2531
d60a9221
SDJ
25322015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2533
2534 * gdb.python/py-objfile.exp: Make some tests have unique names.
2535 * gdb.python/py-pp-registration.exp: Likewise.
2536
bde40b8f
PA
25372015-07-28 Pedro Alves <palves@redhat.com>
2538
2539 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2540
13e1dec8
SM
25412015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2542
2543 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2544
da33c9a7
SM
25452015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2546
2547 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2548
077836f7
PP
25492015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2550
2551 * gdb.base/gdb-sigterm-2.exp: New test.
2552
b8cc7b2e
DE
25532015-07-25 Doug Evans <xdje42@gmail.com>
2554
2555 Revert:
2556 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2557 (workers/%.worker, build-perf): New rule.
2558 (GDB_PERFTEST_MODE): New variable.
2559 (check-perf): Use it.
2560 (clean): Clean up gdb.perf parallel build subdirs.
2561 * lib/build-piece.exp: New file.
2562 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2563 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2564 name.
2565 (standard_temp_file): Ditto.
2566 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2567 of $GDB_PARALLEL.
2568
c8bd4544
DE
25692015-07-24 Doug Evans <dje@google.com>
2570
2571 * gdb.perf/lib/perftest/utils.py: New file.
2572 * gdb.perf/gm-hello.cc: New file.
2573 * gdb.perf/gm-pervasive-typedef.cc: New file.
2574 * gdb.perf/gm-pervasive-typedef.h: New file.
2575 * gdb.perf/gm-std.cc: New file.
2576 * gdb.perf/gm-std.h: New file.
2577 * gdb.perf/gm-use-cerr.cc: New file.
2578 * gdb.perf/gm-utils.h: New file.
2579 * gdb.perf/gmonster-null-lookup.py: New file.
2580 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2581 * gdb.perf/gmonster-print-cerr.py: New file.
2582 * gdb.perf/gmonster-ptype-string.py: New file.
2583 * gdb.perf/gmonster-runto-main.py: New file.
2584 * gdb.perf/gmonster-select-file.py: New file.
2585 * gdb.perf/gmonster1-null-lookup.exp: New file.
2586 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2587 * gdb.perf/gmonster1-print-cerr.exp: New file.
2588 * gdb.perf/gmonster1-ptype-string.exp: New file.
2589 * gdb.perf/gmonster1-runto-main.exp: New file.
2590 * gdb.perf/gmonster1-select-file.exp: New file.
2591 * gdb.perf/gmonster1.cc: New file.
2592 * gdb.perf/gmonster1.exp: New file.
2593 * gdb.perf/gmonster2-null-lookup.exp: New file.
2594 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2595 * gdb.perf/gmonster2-print-cerr.exp: New file.
2596 * gdb.perf/gmonster2-ptype-string.exp: New file.
2597 * gdb.perf/gmonster2-runto-main.exp: New file.
2598 * gdb.perf/gmonster2-select-file.exp: New file.
2599 * gdb.perf/gmonster2.cc: New file.
2600 * gdb.perf/gmonster2.exp: New file.
2601
6eab34f3
DE
26022015-07-24 Doug Evans <dje@google.com>
2603
2604 * gdb.perf/README: New file.
2605 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2606 * lib/gen-perf-test.exp: New file.
2607
63738bfd
DE
26082015-07-24 Doug Evans <dje@google.com>
2609
2610 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2611 (PerfTest::startup): New function.
2612 (PerfTest::run): Return result of calling body.
2613 (PerfTest::assemble): Rewrite.
2614 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2615 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2616 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2617 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2618 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2619
7b606f95
DE
26202015-07-24 Doug Evans <dje@google.com>
2621
2622 * lib/gdb.exp (clean_restart): Make executable optional.
2623
a97b16b8
DE
26242015-07-24 Doug Evans <dje@google.com>
2625
2626 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2627 compiler_info references.
2628 * gdb.cp/temargs.exp: Ditto.
2629 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2630 (get_compiler_info): Early exit if already computed. Set compiler_info
2631 to "unknown" if there was a problem.
2632 (test_compiler_info): Add function comment. Call get_compiler_info.
2633
35baa57f
DE
26342015-07-24 Doug Evans <dje@google.com>
2635
2636 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2637 (workers/%.worker, build-perf): New rule.
2638 (GDB_PERFTEST_MODE): New variable.
2639 (check-perf): Use it.
2640 (clean): Clean up gdb.perf parallel build subdirs.
2641 * lib/build-piece.exp: New file.
2642 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2643 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2644 name.
2645 (standard_temp_file): Ditto.
2646 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2647 of $GDB_PARALLEL.
2648
6ebea266
DE
26492015-07-24 Doug Evans <dje@google.com>
2650
2651 * lib/future.exp (gdb_default_target_compile): New option
2652 "early_flags".
2653 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2654 --as-needed.
2655
1e76a7e9
SDJ
26562015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2657
2658 * gdb.base/catch-syscall.exp: Call gdb_exit before
2659 gdb_skip_xml_test.
2660
5068630a
PA
26612015-07-24 Pedro Alves <palves@redhat.com>
2662
2663 * gdb.python/py-events.exp: Accept output between the stop event
2664 and the prompt.
2665 * gdb.python/py-evsignal.exp: Likewise.
2666 * gdb.python/py-evthreads.exp: Likewise.
2667
77598427
PA
26682015-07-24 Pedro Alves <palves@redhat.com>
2669
2670 PR gdb/18717
2671 * gdb.threads/non-ldr-exit.c: New file.
2672 * gdb.threads/non-ldr-exit.exp: New file.
2673
11e6c98f
YQ
26742015-07-24 Yao Qi <yao.qi@linaro.org>
2675
2676 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2677 restarting process.
2678
51aee833
YQ
26792015-07-24 Yao Qi <yao.qi@linaro.org>
2680
2681 * gdb.server/ext-restart.exp: New file.
2682
8cfe207c
YQ
26832015-07-24 Yao Qi <yao.qi@linaro.org>
2684
2685 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2686 argument options.
2687 * gdb.server/ext-wrapper.exp: New file.
2688
cc12ce38
DE
26892015-07-23 Doug Evans <dje@google.com>
2690
2691 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2692 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2693
d0d84780
PMR
26942015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2695
2696 * gdb.ada/var_arr_typedef.exp: New testcase.
2697 * gdb.ada/var_arr_typedef/pack.adb: New file.
2698 * gdb.ada/var_arr_typedef/pack.ads: New file.
2699 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2700
8b558f79
JB
27012015-07-20 Joel Brobecker <brobecker@adacore.com>
2702
2703 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2704
775a3298
JK
27052015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2706
2707 * gdb.arch/i386-biarch-core.exp: Replace istarget
2708 by "complete set gnutarget". Remove expectation for the "core-file"
2709 command.
2710
db1ff28b
JK
27112015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2712
2713 Revert the previous commit:
2714 Tests for validate symbol file using build-id.
2715
0a94970d
JK
27162015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2717
2718 Tests for validate symbol file using build-id.
2719 * gdb.base/solib-mismatch-lib.c: New file.
2720 * gdb.base/solib-mismatch-libmod.c: New file.
2721 * gdb.base/solib-mismatch.c: New file.
2722 * gdb.base/solib-mismatch.exp: New file.
2723
03346981
SL
27242015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2725
2726 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2727 nios2-*-linux*.
2728 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2729 * gdb.base/siginfo.exp: Likewise.
2730 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2731
42422cc7
PL
27322015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2733
2734 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2735 Move it to ...
2736 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2737 ... here.
2738 * gdb.trace/range-stepping.exp: Check that the target supports
2739 range stepping.
2740
cfa68bae
JK
27412015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2742
2743 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2744
8ffdba26
PA
27452015-07-14 Pedro Alves <palves@redhat.com>
2746
2747 * gdb.base/killed-outside.exp: New file.
2748 * gdb.base/killed-outside.c: New file.
2749
218a5a11
JK
27502015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2751
2752 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2753 (n at main): New.
2754 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2755
e03ed3c6
AA
27562015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2757
2758 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2759 infcall tests instead of setting up for KFAIL.
2760
485668e5
MM
27612015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2762
2763 * gdb.btrace/record_goto-step.exp: New.
2764
08464196
JK
27652015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2766
2767 PR compile/18484
2768 * gdb.compile/compile.c (struct struct_type): Add volatile to
2769 selffield's type.
2770 * gdb.compile/compile.exp
2771 (compile code struct_object.selffield = &struct_object): Skip further
2772 struct_object tests if this one xfails.
2773
bcf5c1d9
RC
27742015-07-08 Robert O'Callahan <robert@ocallahan.org>
2775
2776 PR exp/18617
2777 * gdb.trace/ax.exp: Add test.
2778
4931af25
YQ
27792015-07-07 Yao Qi <yao.qi@linaro.org>
2780
2781 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2782 instead of istarget "aarch64*-*-*".
2783 * gdb.arch/aarch64-fp.exp: Likewise.
2784 * gdb.base/float.exp: Likewise.
2785 * gdb.reverse/aarch64.exp: Likewise.
2786 * lib/gdb.exp (is_aarch64_target): New proc.
2787
9fcf688e
YQ
27882015-07-07 Yao Qi <yao.qi@linaro.org>
2789
2790 * lib/gdb.exp (is_aarch32_target): New proc.
2791 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2792 instead of "istarget "arm*-*-*"".
2793 * gdb.arch/arm-disp-step.exp: Likewise.
2794 * gdb.arch/thumb-bx-pc.exp: Likewise.
2795 * gdb.arch/thumb-prologue.exp: Likewise.
2796 * gdb.arch/thumb-singlestep.exp: Likewise.
2797 * gdb.base/disp-step-syscall.exp: Likewise.
2798 * gdb.base/float.exp: Likewise.
2799
fbd8d50d
YQ
28002015-07-07 Yao Qi <yao.qi@linaro.org>
2801
2802 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2803 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2804
71be1fdc
YQ
28052015-07-07 Yao Qi <yao.qi@linaro.org>
2806
2807 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2808 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2809 if it exists.
2810 * gdb.multi/multi-arch.exp: Likewise.
2811
3e221d36
SM
28122015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2813
2814 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2815 print.
2816
d441430b
YQ
28172015-07-07 Yao Qi <yao.qi@linaro.org>
2818
2819 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2820
06f810bd
MG
28212015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2822
2823 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2824 '[' and ']' characters.
2825
5e61e7c0
IB
28262015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2827
2828 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2829
28bf096c
PA
28302015-06-29 Pedro Alves <palves@redhat.com>
2831
2832 PR threads/18127
2833 * gdb.threads/hand-call-new-thread.c: New file.
2834 * gdb.threads/hand-call-new-thread.c: New file.
2835
ee93cd5e
KS
28362015-06-26 Keith Seitz <keiths@redhat.com>
2837 Doug Evans <dje@google.com>
2838
2839 PR 16253
2840 * gdb.cp/var-tag-2.cc: New file.
2841 * gdb.cp/var-tag-3.cc: New file.
2842 * gdb.cp/var-tag-4.cc: New file.
2843 * gdb.cp/var-tag.cc: New file.
2844 * gdb.cp/var-tag.exp: New file.
2845
fc637f04
PP
28462015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2847
2848 * gdb.base/history-duplicates.exp: New test.
2849
2e52ae68
PP
28502015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2851
2852 * gdb.base/completion.exp: Test the completion of the "focus"
2853 command.
2854
6e22494e
JK
28552015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2856
2857 * gdb.arch/amd64-prologue-skip.S: New file.
2858 * gdb.arch/amd64-prologue-skip.exp: New file.
2859
bf7b9cd9
SM
28602015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2861
2862 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2863 is_address_zero_readable check.
2864
201e8dfd
PB
28652015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2866
2867 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2868 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2869
5cd867b4
YQ
28702015-06-24 Yao Qi <yao.qi@linaro.org>
2871
2872 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2873 linux targets.
2874
4d7be007
YQ
28752015-06-24 Yao Qi <yao.qi@linaro.org>
2876
2877 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2878 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2879 * gdb.base/siginfo-thread.exp: Likewise.
2880
07fcd301
YQ
28812015-06-22 Yao Qi <yao.qi@linaro.org>
2882
2883 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2884
52042a00
YQ
28852015-06-22 Yao Qi <yao.qi@linaro.org>
2886
2887 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2888 aarch64*-*-*.
2889 (skip_hw_watchpoint_tests): Likewise.
2890
74bd41ce
PP
28912015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2892
2893 * gdb.base/gdbinit-history.exp: Test the interaction between
2894 setting GDBHISTSIZE and setting the history size via .gdbinit.
2895
bc460514
PP
28962015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2897
2898 PR gdb/16999
2899 * gdb.base/gdbhistsize-history.exp: New test.
2900
b58c513b
PP
29012015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2902
2903 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2904 with GDBHISTSIZE.
2905 * gdb.base/readline.exp: Likewise.
2906
92046791
YQ
29072015-06-17 Yao Qi <yao.qi@linaro.org>
2908
2909 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2910 line.
2911
2093d2d3
PP
29122015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2913
2914 * gdb.base/gdbinit-history.exp: Add test case to check that
2915 an unlimited history file does not get truncated on exit.
2916
e6c693af
AA
29172015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2918
2919 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2920 (VECTOR): New macro. Use it...
2921 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2922 ...for these typedefs.
2923 (int8, char1, int1, double1): New typedefs.
2924 (struct just_int2, struct two_int2): New structures.
2925 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2926 (add_structvecs, add_singlevecs): New functions.
2927 (main): Call add_some_intvecs twice.
2928 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2929 the compile and exit upon failure. Try compiling for the "native"
2930 architecture. Test inferior function calls with vector arguments
2931 and vector return value handling with "finish" and "return".
2932
c74f7d1c
JT
29332015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2934
2935 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2936 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2937 PE file.
2938 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2939
98aa42ee
AT
29402015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2941
2942 PR breakpoints/16465
2943 * gdb.mi/mi-dprintf-pending.c: New file.
2944 * gdb.mi/mi-dprintf-pending.exp: New test.
2945 * gdb.mi/mi-dprintf-pendshr.c: New file.
2946
7d73c23c 29472015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2948 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2949
2950 * gdb.arch/i386-mpx-map.c: New file.
2951 * gdb.arch/i386-mpx-map.exp: New File.
2952
29532015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2954
2955 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2956 * gdb.arch/i386-mpx.exp: Indentation fixed.
2957
29582015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2959
2960 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2961 function and improved indentation.
2962 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2963 gdb_test_multiple. Added additional tests to skip the test.
2964
29652015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2966
2967 * gdb.arch/i386-avx512.c: Change path in include file.
2968 * gdb.arch/i386-avx512.exp: Change include dir path
2969 compilation flag.
2970 * gdb.arch/i386-mpx.c: Change path in include file.
2971 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2972 flag.
2973
d5eba19a
JK
29742015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2975
2976 * gdb.compile/compile-print.exp (compile print *vararray@3)
2977 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2978
7f361056
JK
29792015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2980
2981 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2982 (do not keep jit in memory): ... this.
2983 (expect 5): Change it to ...
2984 (expect no 5): ... this.
2985
3b462ec2
SM
29862015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2987
2988 PR gdb/15564
2989 * gdb.mi/mi-detach.exp: New file.
2990
e0619de6
JK
29912015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2992
2993 PR symtab/18392
2994 * gdb.arch/amd64-tailcall-self.S: New file.
2995 * gdb.arch/amd64-tailcall-self.c: New file.
2996 * gdb.arch/amd64-tailcall-self.exp: New file.
2997
e970cb34
DB
29982015-05-28 Don Breazeal <donb@codesourcery.com>
2999
3000 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3001 tests for remote targets by checking is_target_gdbserver.
3002
b2e2f908
DE
30032015-05-27 Doug Evans <dje@google.com>
3004
3005 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3006 * gdb.dwarf2/opaque-type-lookup.c: New file.
3007 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3008
82c7be31
DE
30092015-05-26 Doug Evans <dje@google.com>
3010
3011 * gdb.cp/iostream.cc: New file.
3012 * gdb.cp/iostream.exp: New file.
3013
b4f54984
DE
30142015-05-26 Doug Evans <dje@google.com>
3015
3016 * gdb.dwarf2/dw2-op-call.exp: Update.
3017 * gdb.dwarf2/dw4-sig-types.exp: Update.
3018 * gdb.dwarf2/implptr.exp: Update.
3019 * gdb.mi/mi-cmd-param-changed.exp: Update.
3020
4ea6efe9
DE
30212015-05-26 Doug Evans <dje@google.com>
3022
3023 * gdb.python/py-lazy-string.c: New file.
3024 * gdb.python/py-lazy-string.exp: New file.
3025 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3026 (main): Update. Add estring3.
3027 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3028 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3029
f6bb7db3
YQ
30302015-05-26 Omair Javaid <omair.javaid@linaro.org>
3031 Yao Qi <yao.qi@linaro.org>
3032
3033 * gdb.reverse/aarch64.c: New.
3034 * gdb.reverse/aarch64.exp: New.
3035
a81bfbd0
OJ
30362015-05-26 Omair Javaid <omair.javaid@linaro.org>
3037
3038 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3039 (supports_reverse): Likewise.
3040
158bf1b4
PP
30412015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3042
3043 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3044 Use with_test_prefix.
3045
a0145030
AB
30462015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3047
3048 * gdb.base/completion.exp: Add test for completion of layout
3049 names.
3050
ebe3b578
AB
30512015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3052
3053 * lib/gdb.exp (skip_tui_tests): New proc.
3054 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3055
84204ed7
PA
30562015-05-19 Pedro Alves <palves@redhat.com>
3057
3058 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3059 Save the whole env array instead of just HOME. Unset HISTSIZE in
3060 the environment while testing. Restore whole environment
3061 afterwards.
3062
37442ce1
DE
30632015-05-16 Doug Evans <xdje42@gmail.com>
3064
3065 * gdb.guile/scm-ports.c: New file.
3066 * gdb.guile/scm-ports.exp: Add memory port tests.
3067
36de76f9
JK
30682015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3069
3070 * gdb.compile/compile-print.c: New file.
3071 * gdb.compile/compile-print.exp: New file.
3072
3a9558c4
JK
30732015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3074
3075 * gdb.compile/compile-ops.exp: Cast param to void.
3076 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3077 (compile code struct_object.selffield = &struct_object): Add xfail.
3078
aa715135
JG
30792015-05-15 Joel Brobecker <brobecker@adacore.com>
3080
3081 * gdb.ada/arr_enum_with_gap: New testcase.
3082
931e5bc3
JG
30832015-05-15 Joel Brobecker <brobecker@adacore.com>
3084
3085 * gdb.ada/byte_packed_arr: New testcase.
3086
9cd4d857
JB
30872015-05-15 Joel Brobecker <brobecker@adacore.com>
3088
3089 * gdb.ada/pckd_neg: New testcase.
3090
ebfd00d2
PP
30912015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3092
3093 PR gdb/17820
3094 * gdb.base/gdbinit-history.exp: New test.
3095 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3096 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3097
4c082a81
SC
30982015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3099
3100 * gdb.python/py-xmethods.cc: Enhance test case.
3101 * gdb.python/py-xmethods.exp: New tests.
3102 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3103 function.
3104 (B_indexoper): Likewise.
3105 (global_dm_list) : Add new xmethod worker functions.
3106
f7797074
SDJ
31072015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3108
3109 * gdb.base/coredump-filter.exp: Correctly unset
3110 "coredump_var_addr" array.
3111
a4674e4e
PA
31122015-05-08 Pedro Alves <palves@redhat.com>
3113
3114 * gdb.server/non-existing-program.exp: Unset spawn_id.
3115
df2eb078
SC
31162015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3117
3118 PR python/18291
3119 * gdb.python/py-xmethods.exp: Add tests.
3120
422349a3
YQ
31212015-05-08 Yao Qi <yao.qi@linaro.org>
3122
3123 PR gdb/18208
3124 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3125 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3126 function set_coredump_filter, and remove remote_exec call.
3127 Remove argument ipid. Callers update.
3128 (top level): Don't get inferior's PID.
3129
63fc80ce
AA
31302015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3131
3132 * gdb.base/watch_thread_num.exp: Skip test on targets without
3133 access watchpoints.
3134
80ad801e
PA
31352015-05-06 Pedro Alves <palves@redhat.com>
3136
3137 PR server/18081
3138 * gdb.server/non-existing-program.exp: New file.
3139
0fa7fe50
JB
31402015-05-05 Joel Brobecker <brobecker@adacore.com>
3141
3142 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3143
3ea89b92
PMR
31442015-05-05 Joel Brobecker <brobecker@adacore.com>
3145
3146 * gdb.ada/out_of_line_in_inlined: New testcase.
3147
87b8eff0
JB
31482015-05-05 Joel Brobecker <brobecker@adacore.com>
3149
3150 * gdb.ada/var_rec_arr: New testcase.
3151
5fccc635
YQ
31522015-04-30 Yao Qi <yao.qi@linaro.org>
3153
3154 * gdb.base/break-idempotent.exp: If
3155 skip_hw_watchpoint_multi_tests returns true, skip the tests
3156 on "rwatch" and "awatch".
3157
42d38f42
YQ
31582015-04-30 Yao Qi <yao.qi@linaro.org>
3159
3160 * gdb.base/relativedebug.exp: Invoke gdb command
3161 "info sharedlibrary", and if libc.so doesn't have debug info,
3162 skip the test.
3163
2ce1cdbf
DE
31642015-04-29 Doug Evans <dje@google.com>
3165
3166 * gdb.python/py-xmethods.exp: Add ptype tests.
3167 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3168 get_result_type method.
3169
f24a38c5
LM
31702015-04-29 Luis Machado <lgustavo@codesourcery.com>
3171
3172 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3173 the target does not support hardware watchpoints.
3174
ecbf2b3c
LM
31752015-04-29 Luis Machado <lgustavo@codesourcery.com>
3176
3177 * gdb.base/break-always.exp: Abort testing if writing to memory
3178 causes an error.
3179
34f5f757
DE
31802015-04-28 Doug Evans <dje@google.com>
3181
3182 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3183 * gdb.python/py-pp-registration.exp: ... here. New file.
3184 * gdb.python/py-pp-registration.c: New file.
3185 * gdb.python/py-pp-registration.py: New file.
3186
69b4374a
DE
31872015-04-28 Doug Evans <dje@google.com>
3188
3189 * gdb.python/py-bad-printers.c: New file.
3190 * gdb.python/py-bad-printers.py: New file.
3191 * gdb.python/py-bad-printers.exp: New file.
3192
59fb7612
SS
31932015-04-28 Sasha Smundak <asmundak@google.com>
3194
3195 * gdb.python/py-type.exp: New test.
3196
2631b16a
AW
31972015-04-28 Andy Wingo <wingo@igalia.com>
3198
3199 * gdb.python/py-parameter.exp:
3200 * gdb.guile/scm-parameter.exp: Escape the path that we are
3201 matching against, as it might contain characters that are special
3202 to regular expressions.
3203
460efde1
JB
32042015-04-27 Joel Brobecker <brobecker@adacore.com>
3205
3206 * gdb.ada/rec_comp: New testcase.
3207
2d369d8e
SDJ
32082015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3209
3210 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3211 before using it.
3212
cf75d6c3
AB
32132015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3214
3215 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3216 new tests for verilog output.
3217
8dbe7ca5
YQ
32182015-04-24 Yao Qi <yao.qi@linaro.org>
3219
3220 * boards/remote-gdbserver-on-localhost.exp: New file.
3221
4ef9fb2f
PA
32222015-04-23 Pedro Alves <palves@redhat.com>
3223
3224 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3225 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3226 "end of file", remove $inferior_spawn_id from the indirect list.
3227
0a803169
PA
32282015-04-23 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3231
749ef8f8
PA
32322015-04-23 Pedro Alves <palves@redhat.com>
3233
3234 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3235 on $any_spawn_id instead of only on $gdb_spawn_id.
3236
8aae4344
PM
32372015-04-21 Pierre Muller <muller@sourceware.org>
3238
3239 PR pascal/17815
3240 * lib/pascal.exp (gpc_compile): Add new option "class".
3241 (fpc_compile): Likewise.
3242 * gdb.pascal/case-insensitive-symbols.pas: New file.
3243 * gdb.pascal/case-insensitive-symbols.exp: New file.
3244
1586c8fb
GB
32452015-04-20 Gary Benson <gbenson@redhat.com>
3246
3247 * gdb.base/attach.exp: Fix three extended remote failures.
3248
1b6e6f5c
GB
32492015-04-17 Gary Benson <gbenson@redhat.com>
3250
3251 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3252 the main executable over the remote protocol.
3253
e797481d
PA
32542015-04-16 Pedro Alves <palves@redhat.com>
3255
3256 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3257 a new gdbserver if gdbserver_reconnect_p is set.
3258
1ca99c42
PA
32592015-04-16 Pedro Alves <palves@redhat.com>
3260
3261 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3262 is set, don't exit gdbserver.
3263
af9fd6f8
AA
32642015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3265
3266 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3267 appropriate .insn, such that an older assembler can be used.
3268 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3269 the z/Architecture instruction set on 31-bit targets as well.
3270
04ff1e61
AA
32712015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3272
3273 * gdb.go/handcall.exp: Remove all logic related to the first
3274 breakpoint and rely on go_runto_main instead.
3275 * gdb.go/strings.exp: Likewise.
3276 * gdb.go/unsafe.exp: Likewise.
3277 * gdb.go/hello.exp: Likewise. Also rename the remaining
3278 breakpoint marker to "breakpoint 1".
3279 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3280 * gdb.go/strings.go: Likewise.
3281 * gdb.go/unsafe.go: Likewise.
3282 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3283 "set breakpoint 2 here" and rename the remaining breakpoint marker
3284 to "breakpoint 1".
3285
40d2f8d6
SM
32862015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3287
3288 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3289 if itertools.imap is not present.
3290 * gdb.python/py-objfile.exp: Add parentheses.
3291 * gdb.python/py-type.exp: Same.
3292 * gdb.python/py-unwind-maint.py: Same.
3293
8cbc97c6
YQ
32942015-04-15 Yao Qi <yao.qi@linaro.org>
3295
3296 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3297 of ":$ptr_size" and set its form explicitly.
3298
45fd756c
YQ
32992015-04-15 Pedro Alves <palves@redhat.com>
3300 Yao Qi <yao.qi@linaro.org>
3301
3302 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3303 timeout by factor of 4.
3304 (test_regular_watch): Likewise.
3305 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3306 * gdb.reverse/sigall-reverse.exp: Likewise.
3307 * gdb.reverse/until-precsave.exp: Likewise.
3308 * lib/gdb.exp (with_timeout_factor): New proc.
3309 (gdb_expect): Move some code to ...
3310 (get_largest_timeout): ... here. New procedure.
3311
9e811bc3
LM
33122015-04-14 Luis Machado <lgustavo@codesourcery.com>
3313
3314 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3315
0ff6fcb2
LM
33162015-04-13 Luis Machado <lgustavo@codesourcery.com>
3317
3318 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3319 to write to the .text section.
3320
7578d5f7
LM
33212015-04-13 Luis Machado <lgustavo@codesourcery.com>
3322
3323 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3324 Handle the case of targets that do not provide PID information.
3325
2efe15c4
YQ
33262015-04-13 Yao Qi <yao.qi@linaro.org>
3327
3328 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3329 and use expect instead of gdb_expect.
3330
8cd8f2f8
SDJ
33312015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3332
3333 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3334 "coredump_var_addr" to avoid naming conflict with other testcases.
3335
9ee41772
PA
33362015-04-10 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3339 gdb_test_sequence and gdb_assert.
3340
07473109
PA
33412015-04-10 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3344 test messages that don't include the breakpoint address.
3345
de3db44c
YQ
33462015-04-10 Yao Qi <yao.qi@linaro.org>
3347
3348 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3349 false for some offset and width combinations which aren't
3350 supported by linux kernel.
3351
c79d856c
PA
33522015-04-10 Pedro Alves <palves@redhat.com>
3353
3354 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3355 procedure, factored out from ...
3356 (top level): ... here. Add "set displaced-stepping" testing axis.
3357 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3358 parameter "displaced". Use it.
3359 (top level): Use foreach and add "set displaced-stepping" testing
3360 axis.
3361
ebc90b50
PA
33622015-04-10 Pedro Alves <palves@redhat.com>
3363
3364 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3365 Remove comment.
3366 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3367 both the address of the instruction that triggers the watchpoint
3368 and the address of the instruction immediately after, and use
3369 those addresses for the test. Fix comment.
3370
8f572e5c
PA
33712015-04-10 Pedro Alves <palves@redhat.com>
3372
3373 * gdb.base/sigstep.exp (breakpoint_to_handler)
3374 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3375 Test "backtrace" in handler.
3376 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3377 (top level): Add new "displaced" test axis to
3378 breakpoint_to_handler, breakpoint_to_handler_entry and
3379 breakpoint_over_handler.
3380
8d707a12
PA
33812015-04-10 Pedro Alves <palves@redhat.com>
3382
3383 PR gdb/18216
3384 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3385
ef713951
YQ
33862015-04-10 Yao Qi <yao.qi@linaro.org>
3387
3388 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3389 (test_add_rn_pc): New function.
3390 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3391 (top level): Invoke test_add_rn_pc.
3392
906d60cf
PA
33932015-04-10 Pedro Alves <palves@redhat.com>
3394
3395 PR gdb/13858
3396 * gdb.base/step-over-no-symbols.exp: New file.
3397
f2983cc3
AW
33982015-04-09 Andy Wingo <wingo@igalia.com>
3399
3400 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3401 after the Python tests.
3402
6d62641c
SDJ
34032015-04-08 Keith Seitz <keiths@redhat.com>
3404
3405 PR python/16699
3406 * gdb.python/py-completion.exp: New tests for completion.
3407 * gdb.python/py-completion.py (CompleteLimit1): New class.
3408 (CompleteLimit2): Likewise.
3409 (CompleteLimit3): Likewise.
3410 (CompleteLimit4): Likewise.
3411 (CompleteLimit5): Likewise.
3412 (CompleteLimit6): Likewise.
3413 (CompleteLimit7): Likewise.
3414
f3770638
PA
34152015-04-08 Pedro Alves <palves@redhat.com>
3416
3417 PR gdb/18214
3418 PR gdb/18216
3419 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3420 function.
3421 (main): Install it as SIGUSR1 handler.
3422 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3423 parameter. Always use "setup" as prefix. Toggle "set
3424 displaced-stepping" off/on depending on global. Don't switch to
3425 thread 1 here.
3426 (top level): Add displaced stepping "off/on" test axis. Update
3427 "setup" calls. Wrap each subtest with with_test_prefix. Test
3428 continuing with a queued signal in each thread.
3429
4496bed7
PA
34302015-04-08 Pedro Alves <palves@redhat.com>
3431
3432 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3433 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3434 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3435 Return early if running to main fails.
3436 * gdb.trace/while-stepping.exp: Likewise.
3437
b97fde92
PA
34382015-04-07 Pedro Alves <palves@redhat.com>
3439
3440 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3441 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3442 interact with inferior program.
3443
f71c18e7
PA
34442015-04-07 Pedro Alves <palves@redhat.com>
3445
3446 * lib/gdb.exp (inferior_spawn_id): New global.
3447 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3448 spawn id after processing the user code.
3449 (default_gdb_start): Set inferior_spawn_id.
3450 (send_inferior): New procedure.
3451 * lib/gdbserver-support.exp (gdbserver_start): Set
3452 inferior_spawn_id.
3453 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3454
6423214f
PA
34552015-04-07 Pedro Alves <palves@redhat.com>
3456
3457 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3458 * lib/gdbserver-support.exp (gdbserver_start): Make
3459 $server_spawn_id global.
3460 (gdbserver_start): Don't wait for gdbserver's spawn id with
3461 expect_background.
3462 (close_gdbserver): New procedure.
3463 (gdb_exit): Rename the default version and reimplement.
3464
71c0ee8c
PA
34652015-04-07 Pedro Alves <palves@redhat.com>
3466
72f4393d 3467 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3468 append the substituted item, not the original item.
3469
203bc29b
PA
34702015-04-07 Pedro Alves <palves@redhat.com>
3471
3472 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3473 gdb_expect.
3474
508a3ddf
PA
34752015-04-07 Pedro Alves <palves@redhat.com>
3476
3477 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3478 output appearing once only.
3479
9f6dbe2b
PA
34802015-04-07 Pedro Alves <palves@redhat.com>
3481
3482 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3483 that doesn't expect anything. Return early if running to main
3484 fails.
3485
337532fa
YQ
34862015-04-07 Yao Qi <yao.qi@linaro.org>
3487
3488 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3489 (child_function): Call alarm.
3490 (main): Move call to alarm into the loop.
3491 * gdb.threads/non-stop-fair-events.exp: Build program with
3492 -DTIMEOUT=$timeout.
3493
01b622d4
DE
34942015-04-06 Doug Evans <xdje42@gmail.com>
3495
3496 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3497 Fix dest parameter to board_info.
3498 (fpc_compile): Ditto.
3499 (gdb_compile_pascal): Rename dest arg to destfile.
3500
961f4160
PMR
35012015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3502
3503 * gdb.ada/funcall_ref.exp: New file.
3504 * gdb.ada/funcall_ref/foo.adb: New file.
3505
cafda597
YQ
35062015-04-02 Yao Qi <yao.qi@linaro.org>
3507
3508 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3509 is remote.
3510
fed040c6
GB
35112015-04-02 Gary Benson <gbenson@redhat.com>
3512
3513 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3514
d11916aa
SS
35152015-04-01 Sasha Smundak <asmundak@google.com>
3516
3517 * gdb.python/py-unwind-maint.c: New file.
3518 * gdb.python/py-unwind-maint.exp: New test.
3519 * gdb.python/py-unwind-maint.py: New file.
3520 * gdb.python/py-unwind.c: New file.
3521 * gdb.python/py-unwind.exp: New test.
3522 * gdb.python/py-unwind.py: New test.
3523
a1471180
PA
35242015-04-01 Pedro Alves <palves@redhat.com>
3525
3526 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3527 to fail instead of non-existent $test.
3528
0bbeccb1
PA
35292015-04-01 Pedro Alves <palves@redhat.com>
3530
3531 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3532 GDBFLAGS if not empty.
3533
3c724c8c
PMR
35342015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3535
3536 * gdb.ada/complete.exp: Remove "multi_line".
3537 * gdb.ada/info_exc.exp: Remove "multi_line".
3538 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3539 * gdb.ada/ptype_field.exp: Remove "multi_line".
3540 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3541 * gdb.ada/tagged.exp: Remove "multi_line".
3542 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3543 [multi_line ...]
3544 * gdb.btrace/delta.exp: Likewise.
3545 * gdb.btrace/exception.exp: Likewise.
3546 * gdb.btrace/function_call_history.exp: Likewise.
3547 * gdb.btrace/instruction_history.exp: Likewise.
3548 * gdb.btrace/nohist.exp: Likewise.
3549 * gdb.btrace/record_goto.exp: Likewise.
3550 * gdb.btrace/segv.exp: Likewise.
3551 * gdb.btrace/stepi.exp: Likewise.
3552 * gdb.btrace/tailcall.exp: Likewise.
3553 * gdb.btrace/unknown_functions.exp: Likewise.
3554 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3555 * lib/gdb.exp: Add the "multi_line" helper.
3556
4eec2deb
PA
35572015-04-01 Pedro Alves <palves@redhat.com>
3558
3559 * gdb.threads/tid-reuse.c: New file.
3560 * gdb.threads/tid-reuse.exp: New file.
3561
df8411da
SDJ
35622015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3563
3564 PR corefiles/16092
3565 * gdb.base/coredump-filter.c: New file.
3566 * gdb.base/coredump-filter.exp: Likewise.
3567
6ef37366
PM
35682015-03-27 Petr Machata <pmachata@redhat.com>
3569
3570 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3571 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3572 (Dwarf::assemble): Initialize them.
3573 (Dwarf::lines): New function.
3574
7ec911b0
JT
35752015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3576
3577 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3578 SYMBOL_PREFIX for x86_64-*-cygwin.
3579
ff908ebf
AW
35802015-03-26 Andy Wingo <wingo@igalia.com>
3581
3582 PR symtab/18148
3583 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3584 const_value but not a location.
3585 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3586 location defined in non-main CUs are visible.
3587
6d5f0679
YQ
35882015-03-26 Yao Qi <yao.qi@linaro.org>
3589
3590 PR testsuite/18139
3591 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3592 Add a line number entry for the same line.
3593 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3594 Add a line number entry for the same line.
3595
2898689b
YQ
35962015-03-26 Yao Qi <yao.qi@linaro.org>
3597
3598 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3599 .int 0.
3600 (func): Likewise. Add .Lfunc_1 label.
3601 Use .Lfunc_1 label.
3602 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3603 .int 0.
3604 (func): Likewise.
3605 Use .Lfunc_1 label.
3606
85180498
YQ
36072015-03-26 Yao Qi <yao.qi@linaro.org>
3608
3609 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3610 Call gdb_compile instead to compile each .s files without debug
3611 information.
3612
8aa08a8d
YQ
36132015-03-26 Yao Qi <yao.qi@linaro.org>
3614
3615 * gdb.base/savedregs.exp (process_saved_regs): Make
3616 "Saved registers:" optional in the pattern.
3617
66849923
MM
36182015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3619
3620 * gdb.btrace/next.exp: Merged into step.exp.
3621 * gdb.btrace/finish.exp: Merged into step.exp.
3622 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3623 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3624 "record goto" and checking the exact replay position.
3625 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3626 check for "Recording format" in "info record" output.
3627 * gdb.btrace/record_goto.exp: Choose test file based on target.
3628 * gdb.btrace/x86-record_goto.S: Renamed into ...
3629 * gdb.btrace/x86_64-record_goto.S: ... this.
3630 * gdb.btrace/i686-record_goto.S: New.
3631 * gdb.btrace/x86-tailcall.S: Renamed into ...
3632 * gdb.btrace/x86_64-tailcall.S: ... this.
3633 * gdb.btrace/i686-tailcall.S: New.
3634 * gdb.btrace/x86-tailcall.c: Renamed into ...
3635 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3636 separate statements. Update test.
3637 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3638 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3639 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3640 * gdb.btrace/tailcall.exp: Choose test file based on target.
3641 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3642
11cc1b74
MM
36432015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3644
3645 * gdb.btrace/exception.exp: Increase BTS buffer size.
3646
a25d8bf9
PA
36472015-03-24 Pedro Alves <palves@redhat.com>
3648
3649 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3650
856e7dd6
PA
36512015-03-24 Pedro Alves <palves@redhat.com>
3652
3653 * gdb.threads/schedlock.exp (test_step): No longer expect that
3654 "set scheduler-locking step" with "next" over a function call runs
3655 threads unlocked.
3656
ad235a41
AT
36572015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3658
3659 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3660
15630549
AT
36612015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3662
3663 PR breakpoints/16466
3664 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3665 * gdb.mi/mi-pending.c (thread_func): New function.
3666 (int main): Add threading support required.
3667 * gdb.mi/mi-pending.exp: Add tests for this issue.
3668 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3669 (pendfunc2): Remove stdio dependency.
3670 * gdb.mi/mi-pendshr2.c: New file.
3671
693dca06
KS
36722015-03-23 Keith Seitz <keiths@redhat.com>
3673
3674 * gdb.linespec/keywords.c: New file.
3675 * gdb.linespec/keywords.exp: New file.
3676
7e993ebf
KS
36772015-03-23 Keith Seitz <keiths@redhat.com>
3678
3679 PR gdb/18021
3680 * gdb.dwarf2/staticvirtual.exp: New test.
3681
bc23328c
JK
36822015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3683
3684 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3685 * README: Remove HP-UX and gdb.hp.
3686 (configuration):
3687 * configure: Regenerate.
3688 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3689 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3690 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3691 gdb.hp/gdb.defects/Makefile.
3692 * gdb.hp/Makefile.in: File deleted.
3693 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3694 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3695 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3696 * gdb.hp/gdb.aCC/run.c: File deleted.
3697 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3698 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3699 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3700 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3701 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3702 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3703 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3704 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3705 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3706 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3707 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3708 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3709 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3710 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3711 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3712 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3713 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3714 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3715 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3716 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3717 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3718 * gdb.hp/gdb.compat/average.c: File deleted.
3719 * gdb.hp/gdb.compat/sum.c: File deleted.
3720 * gdb.hp/gdb.compat/xdb.c: File deleted.
3721 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3722 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3723 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3724 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3725 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3726 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3727 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3728 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3729 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3730 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3731 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3732 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3733 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3734 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3735 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3736 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3737 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3738 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3739 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3740 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3741 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3742 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3743 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3744 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3745 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3746 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3747 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3748 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3749 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3750 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3751 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3752 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3753 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3754 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3755 * gdb.hp/tools/odump: File deleted.
3756
8bf3b159
PA
37572015-03-19 Pedro Alves <palves@redhat.com>
3758
3759 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3760 (saw_thread_3): New globals.
3761 (top level): Increment them when an event for the corresponding
3762 thread is seen.
3763 (no thread starvation): New test.
3764
eb54c8bf
PA
37652015-03-19 Pedro Alves <palves@redhat.com>
3766
3767 * gdb.threads/continue-pending-status.c: New file.
3768 * gdb.threads/continue-pending-status.exp: New file.
3769
32d2e5d6
PA
37702015-03-18 Pedro Alves <palves@redhat.com>
3771
3772 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3773 Use gdb_is_target_remote instead of is_remote. Use
3774 gdb_test_multiple instead of gdb_expect. Exit early if
3775 gdb_test_multiple hits its internal matches. Tighten stepi tests
3776 expected output. Fail on exit with any signal, instead of just
3777 SIGILL.
3778
f68f11b7
YQ
37792015-03-18 Yao Qi <yao.qi@linaro.org>
3780
3781 PR tdep/18107
3782 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3783 variable.
3784 * gdb.base/catch-syscall.exp: Don't skip it on
3785 aarch64*-*-linux* target. Remove elements in all_syscalls.
3786 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3787 target.
3788 (setup_all_syscalls): New proc.
3789
ca5fd19b
YQ
37902015-03-16 Yao Qi <yao.qi@linaro.org>
3791
3792 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3793 (top level): Skip tests if valid_addr_p returns false for
3794 $cmd1 or $cmd2.
3795
85642ba0
AW
37962015-03-11 Andy Wingo <wingo@igalia.com>
3797
3798 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3799
e03f9645
YQ
38002015-03-11 Yao Qi <yao.qi@linaro.org>
3801
3802 * gdb.base/catch-syscall.exp: Fix typo in comments.
3803
5d0962b2
YQ
38042015-03-11 Yao Qi <yao.qi@linaro.org>
3805
3806 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3807
b2df3cef
PA
38082015-03-09 Pedro Alves <palves@redhat.com>
3809
3810 * dg-extract-results.py: Delete.
3811
ef878e53
PA
38122015-03-09 Pedro Alves <palves@redhat.com>
3813
3814 Merge dg-extract-results.sh from GCC upstream (r218843).
3815
3816 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3817 * dg-extract-results.sh: Use --text with grep to avoid issues with
3818 binary files. Fall back to cat -v, if that doesn't work.
3819
9494d219
PA
38202015-03-05 Pedro Alves <palves@redhat.com>
3821
3822 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3823
a8d9763a
SM
38242015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3825
3826 * lib/mi-support.exp (mi_expect_interrupt): Accept
3827 alternative event for when in all-stop mode.
3828
be9957b8
PA
38292015-03-04 Pedro Alves <palves@redhat.com>
3830
3831 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3832
d57be0f4 38332015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3834
3835 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3836
c214c7cf
AA
38372015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3838
3839 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3840 regexps for GDB's current line display, accept a hex address
3841 preceding the line number.
3842
6d74a497
AA
38432015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3844
3845 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3846 the 'arch1' variable for "s390*-linux*" targets.
3847
511aee7c
PA
38482015-03-04 Pedro Alves <palves@redhat.com>
3849
3850 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3851 (main): Pass missing retval argument to pthread_join call.
3852
95e50b27
PA
38532015-03-02 Pedro Alves <palves@redhat.com>
3854
3855 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3856 (top level): Call do_test with non-stop as well.
3857
28054d69
PA
38582015-03-02 Pedro Alves <palves@redhat.com>
3859
3860 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3861 -1.
3862
4fa5d7b4
AA
38632015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3864
3865 * gdb.arch/s390-vregs.exp: New test.
3866 * gdb.arch/s390-vregs.S: New file.
3867
97c18565
PA
38682015-02-27 Pedro Alves <palves@redhat.com>
3869
3870 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3871 call to catch_command_errors.
3872 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3873 catch_command_errors.
3874
a37bfa30
PA
38752015-02-27 Pedro Alves <palves@redhat.com>
3876
3877 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3878 "true" for boolean result.
3879 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3880 prototype of main.
3881
6f98576f
PA
38822015-02-27 Pedro Alves <palves@redhat.com>
3883
3884 * lib/unbuffer_output.c: New file.
3885 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3886 (main): Call gdb_unbuffer_output.
3887
eba5ab56
YQ
38882015-02-27 Yao Qi <yao.qi@linaro.org>
3889
3890 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3891 target.
3892
0def5aaa
DE
38932015-02-26 Doug Evans <dje@google.com>
3894
3895 * gdb.cp/class2.cc (Dbase, D): New classes.
3896 (main): New local delta.
3897 * gdb.cp/class2.exp: Test printing delta.
3898 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3899 (dynbar): New global.
3900 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3901
081a1c2c
JK
39022015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3903
3904 * gdb.compile/compile-ifunc.c: New file.
3905 * gdb.compile/compile-ifunc.exp: New file.
3906
2f41223f
AT
39072015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3908
3909 * gdb.base/structs.exp: Check for correct struct on finish.
3910
03eddd80
YQ
39112015-02-26 Yao Qi <yao.qi@linaro.org>
3912
3913 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3914 is zero.
3915
80c57053
JK
39162015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3917
3918 * gdb.arch/cordic.ko.bz2: New file.
3919 * gdb.arch/cordic.ko.debug.bz2: New file.
3920 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3921
21613c12
YQ
39222015-02-25 Yao Qi <yao.qi@linaro.org>
3923
3924 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3925 aarch64*-*-* target.
3926
d8b901ed
PA
39272015-02-23 Pedro Alves <palves@redhat.com>
3928
3929 * lib/gdb.exp (delete_breakpoints): Rewrite using
3930 gdb_test_multiple.
3931
e5b85ead
PA
39322015-02-23 Pedro Alves <palves@redhat.com>
3933
3934 * gdb.base/info-os.c: Include stdlib.h.
3935
85c3a371
DE
39362015-02-22 Doug Evans <xdje42@gmail.com>
3937
3938 PR symtab/17855
3939 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3940 is read after symbols have been re-read.
3941 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3942 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3943
96553a0c
DE
39442015-02-21 Doug Evans <dje@google.com>
3945
3946 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3947
97a0c697
JK
39482015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3949
3950 PR corefiles/17808
3951 * gdb.arch/i386-biarch-core.core.bz2: New file.
3952 * gdb.arch/i386-biarch-core.exp: New file.
3953
a47cd6e9
PA
39542015-02-21 Pedro Alves <palves@redhat.com>
3955
3956 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3957 runto_main fails.
3958
c5facdc4
PA
39592015-02-20 Pedro Alves <palves@redhat.com>
3960
3961 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3962 info probes.
3963
2db9a427
PA
39642015-02-20 Pedro Alves <palves@redhat.com>
3965
3966 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3967
60fb7e9e
PA
39682015-02-20 Pedro Alves <palves@redhat.com>
3969
3970 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3971 clean_restart before gdb_target_supports_trace.
3972
5c5019c2
PA
39732015-02-20 Pedro Alves <palves@redhat.com>
3974
3975 PR threads/18006
3976 * gdb.threads/clone-thread_db.c: New file.
3977 * gdb.threads/clone-thread_db.exp: New file.
3978
c9587f88
AT
39792015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3980
3981 PR breakpoints/16812
3982 * gdb.base/catch-gdb-caused-signals.c: New file.
3983 * gdb.base/catch-gdb-caused-signals.exp: New file.
3984
f6a88844
JM
39852015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3986
3987 * configure: Regenerated.
3988 * configure.ac: Use GDB_AC_TRANSFORM.
3989 * aclocal.m4: sinclude ../transform.m4.
3990
497c491b
JM
39912015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3992
3993 * lib/dtrace.exp: New file.
3994 * gdb.base/dtrace-probe.exp: Likewise.
3995 * gdb.base/dtrace-probe.d: Likewise.
3996 * gdb.base/dtrace-probe.c: Likewise.
3997 * lib/pdtrace.in: Likewise.
3998 * configure.ac: Output variables with the transformed names of
3999 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4000 * configure: Regenerated.
4001
03e98035
JM
40022015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4003
4004 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4005 expected message when trying to access $_probe_* convenience
4006 variables while not on a probe.
4007
63cc30e9
JK
40082015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4009
4010 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4011
0703599a
PA
40122015-02-11 Pedro Alves <pedro@codesourcery.com>
4013
4014 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4015 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4016
7e60a48e
DE
40172015-02-10 Doug Evans <xdje42@gmail.com>
4018
4019 * lib/gdb.exp (gdb_load): Always return a result.
4020
01b088bc
PA
40212015-02-10 Pedro Alves <palves@redhat.com>
4022
4023 * gdb.threads/signal-sigtrap.c: New file.
4024 * gdb.threads/signal-sigtrap.exp: New file.
4025
b05ec7a5
AT
40262015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4027
4028 * gdb.trace/no-attach-trace.c: New file.
4029 * gdb.trace/no-attach-trace.exp: New file.
4030
a2c2acaf
MW
40312015-02-09 Mark Wielaard <mjw@redhat.com>
4032
4033 * gdb.dwarf2/atomic.c: New file.
4034 * gdb.dwarf2/atomic-type.exp: Likewise.
4035
31fd9caa
MM
40362015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4037
4038 * gdb.btrace/buffer-size.exp: Update "info record" output.
4039 * gdb.btrace/delta.exp: Update "info record" output.
4040 * gdb.btrace/enable.exp: Update "info record" output.
4041 * gdb.btrace/finish.exp: Update "info record" output.
4042 * gdb.btrace/instruction_history.exp: Update "info record" output.
4043 * gdb.btrace/next.exp: Update "info record" output.
4044 * gdb.btrace/nexti.exp: Update "info record" output.
4045 * gdb.btrace/step.exp: Update "info record" output.
4046 * gdb.btrace/stepi.exp: Update "info record" output.
4047 * gdb.btrace/nohist.exp: Update "info record" output.
4048
d33501a5
MM
40492015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4050
4051 * gdb.btrace/buffer-size: New.
4052
f4abbc16
MM
40532015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4054
4055 * gdb.btrace/delta.exp: Update "info record" output.
4056 * gdb.btrace/enable.exp: Update "info record" output.
4057 * gdb.btrace/finish.exp: Update "info record" output.
4058 * gdb.btrace/instruction_history.exp: Update "info record" output.
4059 * gdb.btrace/next.exp: Update "info record" output.
4060 * gdb.btrace/nexti.exp: Update "info record" output.
4061 * gdb.btrace/step.exp: Update "info record" output.
4062 * gdb.btrace/stepi.exp: Update "info record" output.
4063 * gdb.btrace/nohist.exp: Update "info record" output.
4064
b9d61307
SM
40652015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4066
4067 PR gdb/15678
4068 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4069
e584fdbc
PA
40702015-02-06 Pedro Alves <palves@redhat.com>
4071
4072 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4073 macro.
4074 (seconds_left, again): New globals.
4075 (main): Wait seconds_left in a 1-second sleep loop instead of
4076 sleeping 180 seconds. If 'again' is set, reset the seconds
4077 counter.
4078 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4079 'again' in the inferior before detaching. Print the seconds left.
4080 (options): New global.
4081 (top level): Build program with -DTIMEOUT=$timeout.
4082
77f41761
PA
40832015-02-06 Pedro Alves <palves@redhat.com>
4084
4085 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4086 determine how many seconds to pass to 'alarm'.
4087 * gdb.base/gdb-sigterm.exp (top level): Build program with
4088 -DTIMEOUT=$timeout.
4089 (do_test): Return success/failure indication. Add more verbose
4090 logging. Don't fail if 200 single steps are seen. Instead, fail
4091 when the test times out.
4092 (passes): New global.
4093 (top level): Break the testing loop if testing fails on any
4094 iteration. Use gdb_assert.
4095
b9394193
DB
40962015-02-04 Don Breazeal <donb@codesourcery.com>
4097
4098 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4099 and initialize them.
4100 (ipc_cleanup): New function.
4101 (main): Don't declare shmid, semid, and msqid. Add a call to
4102 atexit so that we call ipc_cleanup on exit.
4103
42d9e528
PA
41042015-02-04 Pedro Alves <palves@redhat.com>
4105
4106 * boards/native-extended-gdbserver.exp: Remove any target variant
4107 specifications from the board name before clearing the isremote
4108 flag from board_info.
4109
ae6ae975
DE
41102015-01-31 Doug Evans <xdje42@gmail.com>
4111
4112 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4113
cfb069a8
GB
41142015-01-31 Gary Benson <gbenson@redhat.com>
4115
4116 * gdb.base/completion.exp: Disable completion limiting for
4117 existing tests. Add new tests to check completion limiting.
4118 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4119
5dd31d79
DE
41202015-01-31 Doug Evans <xdje42@gmail.com>
4121
4122 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4123
9f050062
DE
41242015-01-31 Doug Evans <xdje42@gmail.com>
4125
4126 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4127 entries. Duplicate file section script entries.
4128 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4129 inlined entries. Add test for safe-path rejection.
4130 * gdb.python/py-section-script.c: Add duplicate inlined section script
4131 entries. Duplicate file section script entries.
4132 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4133 inlined entries. Add test for safe-path rejection.
4134
df25ebbd
JB
41352015-01-29 Joel Brobecker <brobecker@adacore.com>
4136
4137 * gdb.ada/disc_arr_bound: New testcase.
4138
4a0ca9ec
JB
41392015-01-29 Joel Brobecker <brobecker@adacore.com>
4140
4141 * gdb.ada/mi_var_array: New testcase.
4142
3a8b707a
DE
41432015-01-27 Doug Evans <dje@google.com>
4144
4145 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4146 Add test for objfile.filename, objfile.username after objfile
4147 has been unloaded.
4148
f8313f6e
JB
41492015-01-26 Joel Brobecker <brobecker@adacore.com>
4150
4151 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4152 the second test to print the name attribute of value
4153 returned by the call to gdb.lookup_type, and adjust
4154 the expected output accordingly.
4155
37bc665e
MW
41562015-01-25 Mark Wielaard <mjw@redhat.com>
4157
4158 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4159 * gdb.base/disp-step-fork.c: Include unistd.h.
4160 * gdb.base/siginfo-obj.c: Include stdio.h.
4161 * gdb.base/siginfo-thread.c: Likewise.
4162 * gdb.mi/non-stop.c: Include unistd.h.
4163 * gdb.mi/nsthrexec.c: Include stdio.h.
4164 * gdb.mi/pthreads.c: Include unistd.h.
4165 * gdb.modula2/unbounded1.c (main): Declare returns int.
4166 * gdb.reverse/consecutive-reverse.c: Likewise.
4167 * gdb.threads/create-fail.c: Include unistd.h.
4168 * gdb.threads/killed.c: Likewise.
4169 * gdb.threads/linux-dp.c: Likewise.
4170 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4171 * gdb.threads/non-ldr-exc-2.c: Likewise.
4172 * gdb.threads/non-ldr-exc-3.c: Likewise.
4173 * gdb.threads/non-ldr-exc-4.c: Likewise.
4174 * gdb.threads/pthreads.c: Include unistd.h.
4175 (main): Declare returns int.
4176 * gdb.threads/tls-main.c (foo): New declaration.
4177 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4178
f7e5394d
SM
41792015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4180
4181 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4182 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4183
743649fd
MW
41842015-01-15 Mark Wielaard <mjw@redhat.com>
4185
4186 * gdb.base/noreturn-return.c: New file.
4187 * gdb.base/noreturn-return.exp: New file.
4188 * gdb.base/noreturn-finish.c: New file.
4189 * gdb.base/noreturn-finish.exp: New file.
4190
198297aa
PA
41912015-01-23 Pedro Alves <palves@redhat.com>
4192
4193 * gdb.threads/continue-pending-after-query.c: New file.
4194 * gdb.threads/continue-pending-after-query.exp: New file.
4195
717cf30c
AG
41962015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4197 Simon Marchi <simon.marchi@ericsson.com>
4198
4199 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4200 * gdb.base/valgrind-db-attach.exp: Same.
4201 * gdb.base/valgrind-infcall.exp: Same.
4202 * lib/mi-support.exp (default_mi_gdb_start): Same.
4203 * lib/prompt.exp (default_prompt_gdb_start): Same.
4204 * lib/gdb.exp (default_gdb_spawn): Same.
4205 (gdb_interact): New.
4206
4207
4b62a76e
JK
42082015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4209
4210 * gdb.compile/compile.exp (pointer to jit function): New test.
4211
b4cdae6f
WW
42122015-01-17 Wei-cheng Wang <cole945@gmail.com>
4213
4214 * lib/gdb.exp (supports_process_record): Return true for
4215 powerpc*-*-linux*.
4216 (supports_reverse): Likewise.
4217
d221e7ef
DB
42182015-01-15 Don Breazeal <donb@codesourcery.com>
4219
4220 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4221 instead of checking whether the target board is remote and
4222 use spawn_wait_for_attach instead of exec/sleep.
4223 * gdb.base/attach-twice.exp: Likewise.
4224
bafffb51
JB
42252015-01-15 Joel Brobecker <brobecker@adacore.com>
4226
4227 * gdb.ada/var_arr_attrs: New testcase.
4228
5589af0e
PA
42292015-01-14 Pedro Alves <palves@redhat.com>
4230 Joel Brobecker <brobecker@adacore.com>
4231
4232 PR gdb/17525
4233 * gdb.base/bp-cmds-execution-x-script.c: New file.
4234 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4235 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4236
6c400b59
PA
42372015-01-14 Pedro Alves <palves@redhat.com>
4238
4239 PR cli/17828
4240 * gdb.base/batch-preserve-term-settings.c: New file.
4241 * gdb.base/batch-preserve-term-settings.exp: New file.
4242
e02c96a7
DE
42432015-01-13 Doug Evans <dje@google.com>
4244
4245 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4246 binary.
4247
576fd14c
JB
42482015-01-13 Joel Brobecker <brobecker@adacore.com>
4249
4250 * Makefile.in (clean mostlyclean): Do not delete *.py.
4251
04dccad0
JB
42522015-01-13 Joel Brobecker <brobecker@adacore.com>
4253
4254 * gdb.python/py-lookup-type.exp: New file.
4255
3d230f71
PA
42562015-01-12 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4259 restore GDBFLAGS before returning.
4260
7e67715d
JK
42612015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4262
4263 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4264 is_amd64_regs_target and is_x86_like_target.
4265
f2e0d4b4
DE
42662015-01-11 Doug Evans <xdje42@gmail.com>
4267
4268 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4269 is given without an explicit form.
4270 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4271 attributes.
4272 * gdb.dwarf/corrupt.exp: Ditto.
4273 * gdb.dwarf2/enum-type.exp: Ditto.
4274 * gdb.trace/entry-values.exp: Ditto.
4275 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4276
439250fb
DE
42772015-01-11 Doug Evans <xdje42@gmail.com>
4278
4279 PR gdb/15830
4280 * gdb.base/maint.exp: Remove references to "maint demangle".
4281 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4282 Add tests for explicitly specifying language to demangle.
4283 * gdb.dlang/demangle.exp: Ditto.
4284
ede9f622
PA
42852015-01-09 Pedro Alves <palves@redhat.com>
4286
4287 * gdb.threads/non-stop-fair-events.c: New file.
4288 * gdb.threads/non-stop-fair-events.exp: New file.
4289
a7b796db
PA
42902015-01-09 Pedro Alves <palves@redhat.com>
4291
4292 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4293 the global scope. Set a breakpoint after all threads are started
4294 rather than stepping over two source lines. Expect the prompt.
4295 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4296 global.
4297 (NUM): Now 15.
4298 (main): Use threads_started_barrier to wait for all threads to
4299 start. Main thread no longer calls thread_function. Exit after
4300 180 seconds.
4301 (loop): New function.
4302 (thread_function): Wait on threads_started_barrier barrier. Call
4303 'loop' at each iteration.
4304 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4305 threads have started, instead of hardcoding number of "next"
4306 steps. Use an access watchpoint instead of a write watchpoint.
4307
9665ffdd
PA
43082015-01-09 Pedro Alves <palves@redhat.com>
4309
4310 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4311 (thread_func): Wait on barrier.
4312 (main): Wait for all threads to start before stopping GDB.
4313 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4314 global.
4315 (thread1_func, thread2_func): Wait on barrier.
4316 (main): Wait for all threads to start before stopping GDB.
4317 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4318 New global.
4319 (thread1_func, thread2_func): Wait on barrier.
4320 (main): Wait for all threads to start before stopping GDB.
4321
c945a99f
PA
43222015-01-09 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.threads/attach-many-short-lived-threads.c: New file.
4325 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4326
c1a747c1
PA
43272014-01-09 Pedro Alves <palves@redhat.com>
4328
4329 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4330 instead of to thread 2.
4331 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4332 Add barrier around each pthread_create call instead of around all
4333 calls.
4334 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4335 Set a break on thread_function and have the child threads hit it
4336 one at at a time.
4337
60b3033e
PA
43382015-01-09 Pedro Alves <palves@redhat.com>
4339
4340 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4341 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4342 false.
4343 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4344 checking whether the target board is remote.
4345 * gdb.multi/multi-attach.exp: Likewise.
4346 * gdb.python/py-sync-interp.exp: Likewise.
4347 * gdb.server/ext-attach.exp: Likewise.
4348 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4349 tests that need to attach, instead of checking whether the target
4350 board is remote at the top of the file.
4351
acc018ac
YQ
43522015-01-08 Yao Qi <yao@codesourcery.com>
4353
4354 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4355
50a18af8
JK
43562015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4357
4358 Fix testcase compilation.
4359 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4360
8503d6e1
JB
43612015-01-06 Joel Brobecker <brobecker@adacore.com>
4362
4363 * gdb.python/py-type.exp: Add a couple test about empty
4364 array creation, and negative-length array creation.
4365
cc73dbcc
DE
43662015-01-02 Doug Evans <xdje42@gmail.com>
4367
4368 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4369
0300bbc7
DE
43702015-01-02 Doug Evans <dje@google.com>
4371
4372 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4373
9d85a0ec
YQ
43742014-12-29 Yao Qi <yao@codesourcery.com>
4375
4376 * gdb.trace/entry-values.exp: Update comments. Rename variable
4377 bar_call_foo to returned_from_foo.
4378
87186c6a
MMN
43792014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4380
4381 PR gdb/17394
4382 * gdb.linespec/break-asm-file.c: New file.
4383 * gdb.linespec/break-asm-file.exp: New file.
4384 * gdb.linespec/break-asm-file0.s: New file.
4385 * gdb.linespec/break-asm-file1.s: New file.
4386
1bab7383
YQ
43872014-12-18 Nigel Stephens <nigel@mips.com>
4388 Maciej W. Rozycki <macro@codesourcery.com>
4389
4390 * gdb.base/float.exp: Handle the new output from "info float" on
4391 MIPS targets.
4392
1bc1068a
JK
43932014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4394
4395 Fix MinGW compilation.
4396 * gdb.compile/compile-ops.exp: Update untested message if
4397 !skip_compile_feature_tests.
4398 * gdb.compile/compile-setjmp.exp: Likewise.
4399 * gdb.compile/compile-tls.exp: Likewise.
4400 * gdb.compile/compile.exp: Likewise.
4401 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4402 supported on this host".
4403
b6615d10
DE
44042014-12-16 Doug Evans <xdje42@gmail.com>
4405
4406 * boards/stabs.exp: New file.
4407
25dda427
AA
44082014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4409
4410 * gdb.base/completion.exp: Adjust to format changes of "maint
4411 print user-registers".
4412
bf330350
CU
44132014-12-16 Catalin Udma <catalin.udma@freescale.com>
4414
4415 PR server/17457
4416 * gdb.arch/aarch64-fp.c: New file.
4417 * gdb.arch/aarch64-fp.exp: New file.
4418
395cf596
SDJ
44192014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4420
4421 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4422 r210637, r210913, r211666, r215400, r215817).
4423
4424 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4425 * dg-extract-results.py: New file.
4426 * dg-extract-results.sh: Use it if the environment seems
4427 suitable.
4428
4429 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4430
4431 * dg-extract-results.py (parse_run): Handle warnings that
4432 are printed before a test harness is run.
4433
4434 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4435
4436 * dg-extract-results.py (Named): Remove __cmp__ method.
4437 (output_variation): Use a key to sort variation.harnesses.
4438
4439 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4440
4441 * dg-extract-results.py: For Python 3, force sys.stdout to
4442 handle surrogate escape sequences.
4443 (safe_open): New function.
4444 (output_segment, main): Use it.
4445
4446 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4447
4448 * dg-extract-results.py (Prog.result_re): Include options
4449 in test name.
4450
4451 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4452
4453 * dg-extract-results.py (output_variation): Always sort if
4454 do_sum.
4455
e882ef3c
SM
44562014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4457
4458 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4459 as long as we get pagination notifications.
4460
4992aa20
JM
44612014-12-15 Jason Merrill <jason@redhat.com>
4462
4463 * Makefile.in (check-gdb.%): Restore.
4464 * README: Mention it.
4465
c1b5a1a6
JB
44662014-12-13 Joel Brobecker <brobecker@adacore.com>
4467
4468 * gdb.ada/str_uninit: New testcase.
4469
5537b577
JK
44702014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4471
4472 PR symtab/17642
4473 * gdb.base/vla-stub-define.c: New file.
4474 * gdb.base/vla-stub.c: New file.
4475 * gdb.base/vla-stub.exp: New file.
4476
bb2ec1b3
TT
44772014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4478 Jan Kratochvil <jan.kratochvil@redhat.com>
4479 Tom Tromey <tromey@redhat.com>
4480
4481 * configure.ac: Add gdb.compile/.
4482 * configure: Regenerate.
4483 * gdb.compile/Makefile.in: New file.
4484 * gdb.compile/compile-ops.exp: New file.
4485 * gdb.compile/compile-ops.c: New file.
4486 * gdb.compile/compile-tls.c: New file.
4487 * gdb.compile/compile-tls.exp: New file.
4488 * gdb.compile/compile-constvar.S: New file.
4489 * gdb.compile/compile-constvar.c: New file.
4490 * gdb.compile/compile-mod.c: New file.
4491 * gdb.compile/compile-nodebug.c: New file.
4492 * gdb.compile/compile-setjmp-mod.c: New file.
4493 * gdb.compile/compile-setjmp.c: New file.
4494 * gdb.compile/compile-setjmp.exp: New file.
4495 * gdb.compile/compile-shlib.c: New file.
4496 * gdb.compile/compile.c: New file.
4497 * gdb.compile/compile.exp: New file.
4498 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4499
4ff709eb
TT
45002014-12-12 Tom Tromey <tromey@redhat.com>
4501
4502 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4503 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4504
6dddd6a5
DE
45052014-12-12 Doug Evans <dje@google.com>
4506
4507 * lib/gdb-python.exp (get_python_valueof): New function.
4508 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4509
71c24708
AA
45102014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4511
4512 * gdb.base/completion.exp: Add test for completion of "info
4513 registers ".
4514
3e29f34a
MR
45152014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4516
4517 * gdb.base/func-ptrs.c: New file.
4518 * gdb.base/func-ptrs.exp: New file.
4519
fc126975
SM
45202014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4521
4522 PR breakpoints/17012
4523 * gdb.base/dprintf-detach.c: New file.
4524 * gdb.base/dprintf-detach.exp: New file.
4525
0a46d518
SM
45262014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4527
4528 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4529 * lib/gdb.exp (target_is_gdbserver): New procedure.
4530
a0be3e44
DE
45312014-12-08 Doug Evans <dje@google.com>
4532
4533 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4534
df1b803a
YQ
45352014-12-05 Yao Qi <yao@codesourcery.com>
4536
4537 * gdb.guile/scm-error.exp: Remove the third argument to
4538 gdb_remote_download.
4539 * gdb.guile/scm-frame-args.exp: Likewise.
4540 * gdb.guile/scm-section-script.exp: Likewise.
4541
ddb9f679
YQ
45422014-12-05 Yao Qi <yao@codesourcery.com>
4543
4544 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4545
86e4ed39
DE
45462014-12-04 Doug Evans <dje@google.com>
4547
4548 * gdb.python/py-objfile.exp: Add tests for
4549 objfile.add_separate_debug_file.
4550
7c50a931
DE
45512014-12-04 Doug Evans <dje@google.com>
4552
4553 * lib/gdb.exp (get_build_id): New function.
4554 (build_id_debug_filename_get): Rewrite to use it.
4555 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4556
621661e3
MR
45572014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4558
4559 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4560 `method(long)', not just 0x0.
4561 * gdb.cp/nsalias.exp: Align code labels to 4.
4562 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4563 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4564 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4565 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4566 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4567 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4568
29f0c3b7
DE
45692014-12-02 Doug Evans <dje@google.com>
4570
e1e061e7 4571 PR symtab/17602
29f0c3b7 4572 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4573 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4574 * gdb.cp/anon-ns.exp: Update.
4575
162078c8
NB
45762014-12-02 Nick Bull <nicholaspbull@gmail.com>
4577
4578 * gdb.python/py-events.py (inferior_call_handler): New.
4579 (register_changed_handler, memory_changed_handler): New.
4580 (test_events.invoke): Register new handlers.
4581 * gdb.python/py-events.exp: Add tests for inferior call,
4582 memory_changed and register_changed events.
4583
fdb09caf
AA
45842014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4585
4586 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4587 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4588 if the linker doesn't understand this.
4589
55cfb2c4
SM
45902014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4591
4592 * gdb.python/python.exp: Change expected reply to help().
4593
9e8cd6df
YQ
45942014-12-01 Yao Qi <yao@codesourcery.com>
4595
4596 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4597 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4598 * configure: Re-generated.
4599
6c659fc2
SC
46002014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4601
4602 * gdb.cp/chained-calls.cc: New file.
4603 * gdb.cp/chained-calls.exp: New file.
4604 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4605
d7fc3181
SM
46062014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4607
4608 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4609 * gdb.dwarf2/symtab-producer.exp: Same.
4610 * gdb.gdb/python-interrupts.exp: Same.
4611 * gdb.gdb/python-selftest.exp: Same.
4612 * gdb.python/py-linetable.exp: Same.
4613 * gdb.python/py-type.exp: Same.
4614 * gdb.python/py-value-cc.exp: Same.
4615 * gdb.python/py-value.exp: Same.
4616
10e79639
YQ
46172014-11-28 Yao Qi <yao@codesourcery.com>
4618
4619 * gdb.base/break-probes.exp: Match library name prefixed with
4620 sysroot.
4621
f28a0564
SM
46222014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4623
4624 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4625 test expected output. Add parentheses for the call to print.
4626 Remove L suffix from integers.
4627
3fe1ce1d
DE
46282014-11-26 Doug Evans <dje@google.com>
4629
4630 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4631
84429e27
YQ
46322014-11-22 Yao Qi <yao@codesourcery.com>
4633
4634 * gdb.trace/entry-values.c: Remove asms.
4635 (foo): Add foo_label.
4636 (bar): Add bar_label.
4637 * gdb.trace/entry-values.exp: Remove code computing foo's
4638 length and bar's length.
4639 (Dwarf::assemble): Invoke function_range for bar and use
4640 MACRO_AT_func for foo.
4641
26741859
YQ
46422014-11-22 Yao Qi <yao@codesourcery.com>
4643
4644 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4645 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4646 Use .Lgcc43_procstart instead of gcc43.
4647
45e44d27
JB
46482014-11-21 Joel Brobecker <brobecker@adacore.com>
4649
4650 * gdb.ada/n_arr_bound: New testcase.
4651
458c8db8
SDJ
46522014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4653
4654 PR breakpoints/10737
4655 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4656 test_catch_syscall_multi_arch.
4657 (test_catch_syscall_multi_arch): New function.
4658
43f3e411
DE
46592014-11-20 Doug Evans <xdje42@gmail.com>
4660
4661 * gdb.base/maint.exp: Update expected output.
4662
0d7b2549
AA
46632014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4664
4665 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4666 4-byte instruction on S390.
4667
8908fca5
JB
46682014-11-19 Joel Brobecker <brobecker@adacore.com>
4669
4670 * gdb.ada/arr_arr: New testcase.
4671
4a46959e
JB
46722014-11-19 Joel Brobecker <brobecker@adacore.com>
4673
4674 * gdb.ada/pkd_arr_elem: New Testcase.
4675
470e2f4e
LM
46762014-11-18 Luis Machado <lgustavo@codesourcery.com>
4677
4678 * gdb.reverse/break-precsave: Expect completion message for
4679 core file reads.
4680 * gdb.reverse/consecutive-precsave.exp: Likewise.
4681 * gdb.reverse/finish-precsave.exp: Likewise.
4682 * gdb.reverse/i386-precsave.exp: Likewise.
4683 * gdb.reverse/machinestate-precsave.exp: Likewise.
4684 * gdb.reverse/sigall-precsave.exp: Likewise.
4685 * gdb.reverse/solib-precsave.exp: Likewise.
4686 * gdb.reverse/step-precsave.exp: Likewise.
4687 * gdb.reverse/until-precsave.exp: Likewise.
4688 * gdb.reverse/watch-precsave.exp: Likewise.
4689
a267f3ad
AA
46902014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4691
4692 * gdb.base/bp-permanent.c: Include unistd.h.
4693 * gdb.python/py-framefilter-mi.c (main): Add return type.
4694 * gdb.python/py-framefilter.c (main): Likewise.
4695 * gdb.trace/actions-changed.c (main): Likewise.
4696
12084a9a
AA
46972014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4698
4699 * gdb.mi/until.c: Add eye-catchers.
4700 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4701 line numbers.
4702
dc7e1a77
AA
47032014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4704
4705 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4706 function header variants in break1.c.
4707 * gdb.base/ena-dis-br.exp: Likewise.
4708 * gdb.base/hbreak2.exp: Likewise.
4709 * gdb.reverse/until-precsave.exp: Drop references to removed
4710 non-prototype function header variants in ur1.c.
4711 * gdb.reverse/until-reverse.exp: Likewise.
4712
41c77605
PM
47132014-11-17 Petr Machata <pmachata@redhat.com>
4714
4715 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4716 ${_cu_offset_size} bytes abbrev offset.
4717
34248c3a
DE
47182014-11-15 Doug Evans <xdje42@gmail.com>
4719
4720 PR symtab/17559
4721 * gdb.base/line-symtabs.exp: New file.
4722 * gdb.base/line-symtabs.c: New file.
4723 * gdb.base/line-symtabs.h: New file.
4724
646da059
YQ
47252014-11-14 Yao Qi <yao@codesourcery.com>
4726
4727 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4728 (func): Add label func_label.
4729 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4730 Replace low_pc and high_pc with MACRO_AT_range.
4731 Replace name, low_pc and high_pc with MACRO_AT_func.
4732
9301ebe6
YQ
47332014-11-14 Yao Qi <yao@codesourcery.com>
4734
4735 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4736 Replace name, low_pc and high_pc with MACRO_AT_func.
4737
f166b542
YQ
47382014-11-14 Yao Qi <yao@codesourcery.com>
4739
4740 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4741 produce debug information.
4742 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4743
0f6e71e3
YQ
47442014-11-14 Yao Qi <yao@codesourcery.com>
4745
4746 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4747 object and get function length.
4748 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4749 with MACRO_AT_func.
4750 (top-level): Replace gdb_compile and clean_restart with
4751 prepare_for_testing.
4752 * gdb.dwarf2/main.c (main): Add label main_label.
4753
876c4df9
YQ
47542014-11-14 Yao Qi <yao@codesourcery.com>
4755
4756 * lib/dwarf.exp (function_range): New procedure.
4757 (Dwarf::_handle_macro_at_func): New procedure.
4758 (Dwarf::_handle_macro_at_range): New procedure.
4759 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4760
02ad9cf1
YQ
47612014-11-14 Yao Qi <yao@codesourcery.com>
4762
4763 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4764 (_handle_attribute): New procedure.
4765
a59add0c
AA
47662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4767
4768 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4769 * gdb.base/call-sc.c (zed): Likewise.
4770 * gdb.base/checkpoint.c (main): Likewise.
4771 * gdb.base/dump.c (main): Likewise.
4772 * gdb.base/gcore.c (main): Likewise.
4773 * gdb.base/huge.c (main): Likewise.
4774 * gdb.base/multi-forks.c (main): Likewise.
4775 * gdb.base/pr10179-a.c (main): Likewise.
4776 * gdb.base/savedregs.c (main): Likewise.
4777 * gdb.base/sigaltstack.c (main): Likewise.
4778 * gdb.base/siginfo.c (main): Likewise.
4779 * gdb.base/structs.c (zed): Likewise.
4780 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4781 * gdb.mi/mi-syn-frame.c (main): Likewise.
4782 * gdb.mi/until.c (foo, main): Likewise.
4783 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4784 * gdb.base/solib-weak.c (foo): Declare.
4785 * gdb.base/attach-twice.c: Include stdio.h.
4786 * gdb.base/weaklib1.c: Likewise.
4787 * gdb.base/weaklib2.c: Likewise.
4788 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4789 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4790 unistd.h.
4791 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4792 * gdb.mi/mi-exit-code.c: Likewise.
4793 * gdb.base/break-interp-lib.c: Include string.h.
4794 * gdb.base/coremaker.c: Likewise.
4795 * gdb.base/testenv.c: Likewise.
4796 * gdb.python/py-finish-breakpoint.c: Likewise.
4797 * gdb.base/inferior-died.c: Include sys/wait.h.
4798 * gdb.base/fileio.c: Include time.h.
4799 * gdb.base/async-shell.c: Include unistd.h.
4800 * gdb.base/dprintf-non-stop.c: Likewise.
4801 * gdb.base/info-os.c: Likewise.
4802 * gdb.mi/mi-console.c: Likewise.
4803 * gdb.mi/watch-nonstop.c: Likewise.
4804 * gdb.python/py-events.c: Likewise.
4805 * gdb.base/async.c (baz): Move up before its invocation.
4806 * gdb.base/code_elim2.c (my_global_func): Likewise.
4807 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4808 * gdb.base/advance.c (func2): Likewise.
4809
3b5d5997
AA
48102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4811
4812 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4813 variant.
4814 * gdb.base/annota3.c: Likewise.
4815 * gdb.base/async.c: Likewise.
4816 * gdb.base/average.c: Likewise.
4817 * gdb.base/call-ar-st.c: Likewise.
4818 * gdb.base/call-rt-st.c: Likewise.
4819 * gdb.base/call-sc.c: Likewise.
4820 * gdb.base/call-strs.c: Likewise.
4821 * gdb.base/ending-run.c: Likewise.
4822 * gdb.base/execd-prog.c: Likewise.
4823 * gdb.base/exprs.c: Likewise.
4824 * gdb.base/foll-exec.c: Likewise.
4825 * gdb.base/foll-fork.c: Likewise.
4826 * gdb.base/foll-vfork.c: Likewise.
4827 * gdb.base/funcargs.c: Likewise.
4828 * gdb.base/gcore.c: Likewise.
4829 * gdb.base/jump.c: Likewise.
4830 * gdb.base/langs0.c: Likewise.
4831 * gdb.base/langs1.c: Likewise.
4832 * gdb.base/langs2.c: Likewise.
4833 * gdb.base/mips_pro.c: Likewise.
4834 * gdb.base/nodebug.c: Likewise.
4835 * gdb.base/opaque0.c: Likewise.
4836 * gdb.base/opaque1.c: Likewise.
4837 * gdb.base/recurse.c: Likewise.
4838 * gdb.base/run.c: Likewise.
4839 * gdb.base/scope0.c: Likewise.
4840 * gdb.base/scope1.c: Likewise.
4841 * gdb.base/setshow.c: Likewise.
4842 * gdb.base/setvar.c: Likewise.
4843 * gdb.base/shmain.c: Likewise.
4844 * gdb.base/shr1.c: Likewise.
4845 * gdb.base/shr2.c: Likewise.
4846 * gdb.base/sigall.c: Likewise.
4847 * gdb.base/signals.c: Likewise.
4848 * gdb.base/so-indr-cl.c: Likewise.
4849 * gdb.base/solib2.c: Likewise.
4850 * gdb.base/structs.c: Likewise.
4851 * gdb.base/sum.c: Likewise.
4852 * gdb.base/vforked-prog.c: Likewise.
4853 * gdb.base/watchpoint.c: Likewise.
4854 * gdb.reverse/shr2.c: Likewise.
4855 * gdb.reverse/until-reverse.c: Likewise.
4856 * gdb.reverse/ur1.c: Likewise.
4857 * gdb.reverse/watch-reverse.c: Likewise.
4858
066a77c5
AA
48592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4860
4861 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4862 variant.
4863 * gdb.base/sepdebug.exp: Drop references to removed code.
4864
4f204ea5
AA
48652014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4866
4867 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4868 variant. Preserve original line numbering.
4869 * gdb.base/list1.c: Likewise.
4870
3b377a3a
AA
48712014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4872
4873 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4874 variant.
4875 * gdb.base/break1.c: Likewise.
4876 * gdb.base/break.exp: Drop references to removed code.
4877
e444df73
AA
48782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4879
4880 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4881 variant.
4882
8008f2a7
AA
48832014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4884
4885 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4886
a5a06887
AA
48872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4888
4889 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4890 logic into perform_all_tests() and invoke it with and without
4891 function header prototypes.
4892 (do_function_calls): Remove conditional XFAIL for PR 5318.
4893 (rerun_and_prepare): Remove duplicate code.
4894 (perform_all_tests): New. Main logic moved here.
4895
44dba9b9
AA
48962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4897
4898 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4899 code guarded by #ifdef NO_PROTOTYPES.
4900 (t_double_many_args): Likewise.
4901 (DEF_FUNC_MANY_ARGS_1): Likewise.
4902 (DEF_FUNC_VALUES_1): Likewise.
4903 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4904 guarded by #ifdef PROTOTYPES.
4905
d1fbcd56
AA
49062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4907
4908 * gdb.mi/mi-console.c: Add eye-catcher.
4909 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4910 instead of literal line number.
4911
b0e59b8f
AA
49122014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4913
4914 * gdb.base/shr2.c: Add eye-catcher.
4915 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4916 line number.
4917
78f98cca
AA
49182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4919
4920 * gdb.base/jump.c: Add eye-catchers.
4921 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4922 numbers.
4923
58fa2af0
AA
49242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4925
4926 * gdb.base/execd-prog.c: Add eye-catchers.
4927 * gdb.base/foll-exec.c: Likewise.
4928 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4929 line numbers.
4930
04e5059b
AA
49312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4932
4933 * gdb.base/ending-run.c: Add eye-catchers.
4934 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4935 literal line numbers.
4936
dbfdb174
AA
49372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4938
4939 * gdb.base/call-rt-st.c: Add eye-catchers.
4940 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4941 literal line numbers.
4942
888a2ade
AA
49432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4944
4945 * gdb.base/call-ar-st.c: Add eye-catchers.
4946 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4947 literal line numbers.
4948
6acc2dde
AA
49492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4950
4951 * gdb.base/average.c: Add eye-catchers.
4952 * gdb.base/sum.c: Likewise.
4953 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4954 regexps dynamically.
4955
9ecfcd1d
AA
49562014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4957
4958 * gdb.base/solib1.c: Add eye-catchers.
4959 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4960 literal line numbers.
4961
78708b7c
PA
49622014-11-12 Pedro Alves <palves@redhat.com>
4963
4964 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4965 leader has exited.
4966
af48d08f
PA
49672014-11-12 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.arch/i386-bp_permanent.c: New file.
4970 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4971 (srcfile): Set to i386-bp_permanent.c.
4972 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4973 that stepi does not execute the 'leave' instruction, instead of
4974 testing it does execute.
4975 * gdb.base/bp-permanent.c: New file.
4976 * gdb.base/bp-permanent.exp: New file.
4977
af3768e9
DE
49782014-11-10 Doug Evans <xdje42@gmail.com>
4979
4980 PR symtab/17564
4981 * gdb.base/symtab-search-order.exp: New file.
4982 * gdb.base/symtab-search-order.c: New file.
4983 * gdb.base/symtab-search-order-1.c: New file.
4984 * gdb.base/symtab-search-order-shlib-1.c: New file.
4985
9de00a4a
PA
49862014-11-07 Pedro Alves <palves@redhat.com>
4987
4988 PR gdb/17511
4989 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4990 i?86-*-linux*.
4991
e0f52461
SC
49922014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4993
4994 PR c++/17494
4995 * gdb.cp/pr17494.cc: New file.
4996 * gdb.cp/pr17494.exp: New file.
4997
6ce8c980
YQ
49982014-11-02 Yao Qi <yao@codesourcery.com>
4999
5000 * gdb.python/python.exp: Get working directory and match the
5001 output of "set extended-prompt \\w " with it.
5002
02be9a71
DE
50032014-10-30 Doug Evans <dje@google.com>
5004
5005 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5006 in objfiles.
5007 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5008 in progspaces.
5009
3bdff46b
LM
50102014-10-30 Janis Johnson <janisjo@codesourcery.com>
5011
5012 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5013 * gdb.base/realname-expand.exp: Likewise.
5014 * gdb.linespec/macro-relative.exp: Likewise.
5015
ab917dfb
PA
50162014-10-29 Pedro Alves <palves@redhat.com>
5017
5018 PR gdb/17408
5019 * gdb.threads/schedlock.c (some_function): New function.
5020 (call_function): New global.
5021 (MAYBE_CALL_SOME_FUNCTION): New macro.
5022 (thread_function): Call it.
5023 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5024 and use it instead of a global counter. Adjust all callers.
5025 (get_current_thread): Use "find current thread" for test message
5026 here rather than having all callers pass down the same string.
5027 (goto_loop): New procedure, factored out from ...
5028 (my_continue): ... this.
5029 (step_ten_loops): Change parameter from test message to command to
5030 use. Adjust.
5031 (list_count): Delete global.
5032 (check_result): New procedure, factored out from duplicate top
5033 level code.
5034 (continue tests): Wrap in with_test_prefix.
5035 (test_step): New procedure, factored out from duplicate top level
5036 code.
5037 (top level): Test "step" in combination with all scheduler-locking
5038 modes. Test "next" in combination with all scheduler-locking
5039 modes, and in combination with stepping over a function call or
5040 not.
5041 * gdb.threads/next-bp-other-thread.c: New file.
5042 * gdb.threads/next-bp-other-thread.exp: New file.
5043
d3d4baed
PA
50442014-10-29 Pedro Alves <palves@redhat.com>
5045
5046 PR python/17372
5047 * gdb.python/python.exp: Test a multi-line command that spawns
5048 interactive Python.
5049 * gdb.base/multi-line-starts-subshell.exp: New file.
5050
563e8d85
YQ
50512014-10-29 Yao Qi <yao@codesourcery.com>
5052
5053 * gdb.base/fileio.exp: Make directories on host.
5054
0ea4d52e
YQ
50552014-10-29 Yao Qi <yao@codesourcery.com>
5056
5057 * gdb.base/fileio.c (test_write): Close the file.
5058
7f5ef605
PA
50592014-10-28 Pedro Alves <palves@redhat.com>
5060
5061 PR gdb/12623
5062 * gdb.base/sigstep.c (no_handler): New global.
5063 (main): If 'no_handler is true, set the signal handlers to
5064 SIG_IGN.
5065 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5066 with_sw_watch and no_handler parameters. Handle them.
5067 (top level) <stepping over handler when stopped at a breakpoint
5068 test>: Add a test axis for testing with a software watchpoint, and
5069 another for testing with the signal handler set to SIG_IGN.
5070 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5071 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5072
abbdbd03
PA
50732014-10-28 Pedro Alves <palves@redhat.com>
5074
5075 PR gdb/17511
5076 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5077 * gdb.base/sigstep.exp (other_handler_location): New global.
5078 (advance): Support stepping into the signal handler, and running
5079 commands while in the handler.
5080 (in_handler_map): New global.
5081 (top level): In the advance test, add combinations for getting
5082 into the handler with stepping commands, and for running commands
5083 in the handler. Add comment descripting the advancei tests.
5084
1df4399f
PA
50852014-10-28 Pedro Alves <palves@redhat.com>
5086
5087 * gdb.base/sigstep.exp: Use build_executable instead of
5088 prepare_for_testing.
5089 (top level): Move code that starts GDB, runs to main and creates a
5090 display to ...
5091 (restart): ... this new procedure.
5092 (top level): Move backtrace from signal handler test to ...
5093 (validate_backtrace): ... this new procedure.
5094 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5095 with_test_prefix. Always restart GDB.
5096 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5097 with_test_prefix. Always restart GDB. No need to delete
5098 breakpoints after the test.
5099 (test_skip_handler): Remove prefix parameter.
5100 (skip_over_handler, breakpoint_to_handler)
5101 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5102 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5103 restart GDB. No need to delete breakpoints after the test.
5104 (top level): Use foreach to call the test procedures with
5105 different commands.
5106
a5b6e449
PA
51072014-10-28 Pedro Alves <palves@redhat.com>
5108
5109 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5110 instead of GNATS numbers.
5111 * gdb.base/sigbpt.exp: Likewise.
5112 * gdb.base/siginfo.exp: Likewise.
5113 * gdb.base/sigstep.exp: Likewise.
5114
e5f8a7cc
PA
51152014-10-27 Pedro Alves <palves@redhat.com>
5116
5117 * gdb.base/sigstep.c (dummy): New global.
5118 (main): Issue a couple writes to the new global.
5119 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5120 procedures.
5121 (skip_over_handler): Use test_skip_handler.
5122 (top level): Call skip_over_handler for stepi and nexti too.
5123 (breakpoint_over_handler): Use test_skip_handler.
5124 (top level): Call breakpoint_over_handler for stepi and nexti too.
5125
763905a3
YQ
51262014-10-27 Yao Qi <yao@codesourcery.com>
5127
5128 * gdb.trace/tfile.c (adjust_function_address)
5129 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5130 function descriptor.
5131
6f259a23
DB
51322014-10-24 Don Breazeal <donb@codesourcery.com>
5133
5134 * gdb.base/foll-fork.exp (test_follow_fork,
5135 catch_fork_child_follow): Check for updated fork messages emitted
5136 from infrun.c.
5137 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5138 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5139 vfork_and_exec_child_follow_through_step): Check for updated vfork
5140 messages emitted from infrun.c.
5141
09dd9a69
PA
51422014-10-24 Pedro Alves <palves@redhat.com>
5143
5144 * gdb.base/corefile.exp: Remove references to ultrix.
5145 * gdb.base/interrupt.exp: Likewise.
5146 * gdb.base/whatis.exp: Likewise.
5147 * gdb.gdb/selftest.exp: Likewise.
5148 * gdb.threads/manythreads.exp: Likewise.
5149 * gdb.threads/print-threads.exp: Likewise.
5150 * gdb.threads/pthreads.exp:: Likewise.
5151 * gdb.threads/schedlock.exp: Likewise.
5152
3433cfa5
SC
51532014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5154
5155 * gdb.cp/non-trivial-retval.cc: Add a test case.
5156 * gdb.cp/non-trivial-retval.exp: Add a test.
5157
092f880b
YQ
51582014-10-20 Yao Qi <yao@codesourcery.com>
5159
5160 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5161 * gdb.python/py-objfile-script-gdb.py: New file.
5162 * gdb.python/py-objfile-script.exp: Update reference to
5163 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5164 of remote_download. Remove the dest file.
5165
acbdb7f3
YQ
51662014-10-20 Yao Qi <yao@codesourcery.com>
5167
5168 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5169 * gdb.base/step-line.exp: Likewise.
5170 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5171 * gdb.dwarf2/dw2-basic.exp: Likewise.
5172 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5173 * gdb.dwarf2/dw2-filename.exp: Likewise.
5174 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5175 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5176 * gdb.dwarf2/dw2-producer.exp: Likewise.
5177 * gdb.dwarf2/mac-fileno.exp: Likewise.
5178 * gdb.python/py-frame-args.exp: Likewise.
5179 * gdb.python/py-framefilter.exp: Likewise.
5180 * gdb.python/py-mi.exp: Likewise.
5181 * gdb.python/py-objfile-script.exp: Likewise
5182 * gdb.python/py-pp-integral.exp: Likewise.
5183 * gdb.python/py-pp-re-notag.exp: Likewise.
5184 * gdb.python/py-prettyprint.exp: Likewise.
5185 * gdb.python/py-section-script.exp: Likewise.
5186 * gdb.python/py-typeprint.exp: Likewise.
5187 * gdb.python/py-xmethods.exp: Likewise.
5188 * gdb.stabs/weird.exp: Likewise.
5189 * gdb.xml/tdesc-regs.exp: Likewise.
5190
bd286a29
KCY
51912014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5192
5193 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5194 (out_cu): Use addr_len for the size of addresses.
5195 (out_line): Likewise. Size DW_LNE_set_address instruction
5196 according to addr_len.
5197 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5198 (FUNC): Add START_INSNS to definition.
5199
673dc4a0
YQ
52002014-10-18 Yao Qi <yao@codesourcery.com>
5201
5202 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5203 gdb_has_argv0 return true.
5204 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5205 check [target_info exists noargs], check [gdb_has_argv0]
5206 instead.
5207 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5208 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5209 procedures.
5210
4ffbba72
DE
52112014-10-17 Doug Evans <dje@google.com>
5212
5213 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5214 event.
5215 * gdb.python/py-events.py: Add clear_objfiles event.
5216
d096d8c1
DE
52172014-10-17 Doug Evans <dje@google.com>
5218
5219 * gdb.python/py-objfile.exp: Test progspace attribute.
5220
a80db015
LM
52212014-10-17 Luis Machado <lgustavo@codesourcery.com>
5222
5223 * gdb.guile/scm-breakpoint.exp: Do not assume any
5224 directory separators when matching source file paths.
5225 * gdb.python/py-breakpoint.exp: Likewise.
5226 * gdb.reverse/break-precsave.exp: Likewise.
5227 * gdb.reverse/break-reverse.exp: Likewise.
5228 * gdb.reverse/consecutive-precsave.exp: Likewise.
5229 * gdb.reverse/finish-precsave.exp: Likewise.
5230 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5231 * gdb.reverse/finish-reverse.exp: Likewise.
5232 * gdb.reverse/i386-precsave.exp: Likewise.
5233 * gdb.reverse/i387-env-reverse.exp: Likewise.
5234 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5235 * gdb.reverse/machinestate-precsave.exp: Likewise.
5236 * gdb.reverse/machinestate.exp: Likewise.
5237 * gdb.reverse/sigall-precsave.exp: Likewise.
5238 * gdb.reverse/solib-precsave.exp: Likewise.
5239 * gdb.reverse/step-precsave.exp: Likewise.
5240 * gdb.reverse/until-precsave.exp: Likewise.
5241 * gdb.reverse/watch-precsave.exp: Likewise.
5242 * gdb.reverse/watch-reverse.exp: Likewise.
5243
b22089ab
YQ
52442014-10-17 Yao Qi <yao@codesourcery.com>
5245
5246 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5247 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5248
6c4486e6
PA
52492014-10-17 Pedro Alves <palves@redhat.com>
5250
5251 PR gdb/17471
5252 * gdb.base/bg-execution-repeat.c: New file.
5253 * gdb.base/bg-execution-repeat.exp: New file.
5254
0ff33695
PA
52552014-10-17 Pedro Alves <palves@redhat.com>
5256
5257 PR gdb/17300
5258 * gdb.base/continue-all-already-running.c: New file.
5259 * gdb.base/continue-all-already-running.exp: New file.
5260
6fdebc3d
PA
52612014-10-17 Pedro Alves <palves@redhat.com>
5262
5263 PR gdb/17472
5264 * gdb.base/annota-input-while-running.c: New file.
5265 * gdb.base/annota-input-while-running.exp: New file.
5266
32a8097b
PA
52672014-10-17 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.base/callfuncs.exp: emove references to osf.
5270 * gdb.base/sigall.exp: Likewise.
5271 * gdb.gdb/selftest.exp: Likewise.
5272 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5273 * gdb.mi/non-stop.c: Likewise.
5274 * gdb.mi/pthreads.c: Likewise.
5275 * gdb.reverse/sigall-precsave.exp: Likewise.
5276 * gdb.reverse/sigall-reverse.exp: Likewise.
5277 * gdb.threads/pthreads.c: Likewise.
5278 * gdb.threads/pthreads.exp: Likewise.
5279
7a3517ff
YQ
52802014-10-17 Yao Qi <yao@codesourcery.com>
5281
5282 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5283 check 'target_info exists noargs'.
5284 (test_command_prompt_position): Likewise.
5285 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5286 Remove "set args".
5287 (progvar_simple_while_test): Likewise.
5288 (progvar_complex_if_while_test): Likewise.
5289 (if_while_breakpoint_command_test): Likewise.
5290 (infrun_breakpoint_command_test): Likewise.
5291 (breakpoint_command_test): Likewise.
5292 (watchpoint_command_test): Likewise.
5293 (bp_deleted_in_command_test): Likewise.
5294 (temporary_breakpoint_commands): Likewise.
5295
bb99c472
YQ
52962014-10-16 Yao Qi <yao@codesourcery.com>
5297
5298 * gdb.base/remotetimeout.exp: Remove noargs checking.
5299
7c16b83e
PA
53002014-10-15 Pedro Alves <palves@redhat.com>
5301
5302 PR breakpoints/9649
5303 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5304 * gdb.base/breakpoint-in-ro-region.exp
5305 (probe_target_hardware_step): New procedure.
5306 (top level): Probe hardware stepping and hardware breakpoint
5307 support. Test stepping through a read-only region, with both
5308 "breakpoint auto-hw" on and off and both "always-inserted" on and
5309 off.
5310
35a49624
IB
53112014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5312
5313 * gdb.dlang/demangle.exp: Update for demangling changes.
5314
2d1c107c
SC
53152014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5316
5317 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5318 * gdb.cp/non-trivial-retval.exp: Add new tests.
5319
778811d5
SC
53202014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5321
5322 PR c++/13403
5323 PR c++/15154
5324 * gdb.cp/non-trivial-retval.cc: New file.
5325 * gdb.cp/non-trivial-retval.exp: New file.
5326
10c5f0a8
YQ
53272014-10-15 Yao Qi <yao@codesourcery.com>
5328
5329 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5330 remote host.
5331
65d7b369
YQ
53322014-10-15 Yao Qi <yao@codesourcery.com>
5333
5334 * gdb.python/py-symbol.exp: Match file base name if host is
5335 remote, otherwise match file name with dir name.
5336 * gdb.python/py-symtab.exp: Likewise.
5337 * gdb.python/python.exp: Likewise.
5338
46dc1394
YQ
53392014-10-15 Yao Qi <yao@codesourcery.com>
5340
5341 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5342 pattern.
5343 * gdb.python/py-symtab.exp: Likewise.
5344 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5345 locationn.
5346
c40cc657
JB
53472014-10-14 Joel Brobecker <brobecker@adacore.com>
5348
5349 * gdb.ada/addr_arith: New testcase.
5350
2abf49e1
MR
53512014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5352
5353 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5354 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5355 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5356 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5357
f7088df3
SDJ
53582014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5359
5360 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5361 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5362 * gdb.arch/stap-eval-lang-ada.exp: New file.
5363
4dc06805
YQ
53642014-10-14 Yao Qi <yao@codesourcery.com>
5365
5366 * gdb.mi/mi-var-child.c (nothing1): New function.
5367 (nothing2): New function.
5368 (do_children_tests): Set function pointers by nothing1 and
5369 nothing2.
5370 * gdb.mi/mi-var-child.exp: Step over new added statements.
5371 Update test to match the new output.
5372 * gdb.mi/var-cmd.c (nothing1): New function.
5373 (nothing2): New function.
5374 (do_children_tests): Set function pointers by nothing1 and
5375 nothing2.
5376 * gdb.mi/mi-var-display.exp: Update test to match output.
5377 Step to the line specified by $line_dct_nothing.
5378 Increase the number of lines to step.
5379
46a93de2
YQ
53802014-10-14 Yao Qi <yao@codesourcery.com>
5381
5382 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5383 tests.
5384 * gdb.mi/mi2-var-child.exp: Likewise.
5385
14ea52ee
DE
53862014-10-13 Doug Evans <dje@google.com>
5387
5388 * gdb.python/py-objfile.exp: Change name of file name test.
5389
e5c6e92b
DE
53902014-10-13 Doug Evans <dje@google.com>
5391
5392 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5393 from the start of the CU.
5394
c780cc2f
JK
53952014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5396 Yao Qi <yao@codesourcery.com>
5397
5398 Fix "save breakpoints" for "catch" command.
5399 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5400 Remove -nonewline. Match also the added "main" line.
5401
99894e11
JK
54022014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5403
5404 Fix "save breakpoints" for "disable $bpnum" command.
5405 * gdb.base/save-bp.c (main): Add label.
5406 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5407
6e1ac5a3
JK
54082014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5409
5410 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5411
754dd2b0
YQ
54122014-10-11 Yao Qi <yao@codesourcery.com>
5413
5414 * gdb.server/server-kill.exp: Execute command
5415 "set remote trace-status-packet on" before "tstatus".
5416
f90183d7
YQ
54172014-10-11 Yao Qi <yao@codesourcery.com>
5418
5419 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5420 (main): Call getppid.
5421 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5422 and continue to it. Read variable "server_pid".
5423
bf40a607
YQ
54242014-10-11 Yao Qi <yao@codesourcery.com>
5425
5426 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5427
052ca370
YQ
54282014-10-11 Yao Qi <yao@codesourcery.com>
5429
5430 * gdb.threads/thread-find.exp: Don't execute command
5431 "info threads".
5432 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5433 * gdb.threads/linux-dp.exp: Don't check the condition
5434 $threads_created equals to zero.
5435
3831839c
PA
54362014-10-10 Pedro Alves <palves@redhat.com>
5437
5438 * gdb.base/bigcore.exp: Remove references to IRIX.
5439 * gdb.base/funcargs.exp: Likewise.
5440 * gdb.base/interrupt.exp: Likewise.
5441 * gdb.base/mips_pro.exp: Likewise.
5442 * gdb.base/nodebug.exp: Likewise.
5443 * gdb.base/setvar.exp: Likewise.
5444 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5445
8b9a549d
PA
54462014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5447 Pedro Alves <palves@redhat.com>
5448
5449 PR symtab/14466
5450 * gdb.base/vdso-warning.c: New file.
5451 * gdb.base/vdso-warning.exp: New file.
5452
d48ba5e8
DE
54532014-10-02 Doug Evans <dje@google.com>
5454
5455 * gdb.base/structs.c (main): Don't run forever.
5456
2278c276
PA
54572014-10-02 Pedro Alves <palves@redhat.com>
5458
5459 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5460 (top level) <stop threads 1, stop threads 2>: Use it.
5461
b57bacec
PA
54622014-10-02 Pedro Alves <palves@redhat.com>
5463
5464 * gdb.threads/break-while-running.exp (test): Add new
5465 'update_thread_list' argument. Skip "info threads" if false.
5466 (top level): Add new 'update_thread_list' axis.
5467
13fd3ff3
PA
54682014-10-02 Pedro Alves <palves@redhat.com>
5469
5470 PR breakpoints/17431
5471 * gdb.base/execl-update-breakpoints.c: New file.
5472 * gdb.base/execl-update-breakpoints.exp: New file.
5473
0fec99e8
PA
54742014-10-01 Pedro Alves <palves@redhat.com>
5475
5476 * gdb.base/breakpoint-in-ro-region.c: New file.
5477 * gdb.base/breakpoint-in-ro-region.exp: New file.
5478
2ddf4301
SM
54792014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5480
5481 * gdb.mi/mi-exit-code.exp: New file.
5482 * gdb.mi/mi-exit-code.c: New file.
5483
6a5f3f43
YQ
54842014-09-30 Yao Qi <yao@codesourcery.com>
5485
5486 * lib/prelink-support.exp (build_executable_own_libs): Error if
5487 the target isn't native.
5488
345bcc73
YQ
54892014-09-30 Yao Qi <yao@codesourcery.com>
5490
5491 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5492 false.
5493
a25a5a45
PA
54942014-09-22 Pedro Alves <palves@redhat.com>
5495
5496 * gdb.threads/break-while-running.exp: New file.
5497 * gdb.threads/break-while-running.c: New file.
5498
00ba3162
YQ
54992014-09-19 Yao Qi <yao@codesourcery.com>
5500
5501 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5502 Invoke test. Restart GDB with --readnow and invoke test again.
5503
c3b7b696
YQ
55042014-09-19 Yao Qi <yao@codesourcery.com>
5505
5506 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5507 proc set_breakpoint_on_gcd_function. Invoke
5508 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5509 invoke set_breakpoint_on_gcd_function again.
5510
2b4fd423
DE
55112014-09-18 Doug Evans <dje@google.com>
5512
5513 * gdb.dwarf2/symtab-producer.exp: New file.
5514
a5947601
SDJ
55152014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5516
5517 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5518 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5519 * gdb.base/global-var-nested-by-dso.c: Likewise.
5520 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5521
91c19059
SDJ
55222014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5523 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.base/watch-bitfields.exp: Pass string other than test file
5526 name to prepare_for_testing.
5527 (watch): New procedure.
5528 (expect_watchpoint): Use with_test_prefix.
5529 (top level): Factor out tests to ...
5530 (test_watch_location, test_regular_watch): ... these new
5531 procedures, and use with_test_prefix and gdb_continue_to_end.
5532
bb9d5f81
PP
55332014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5534
5535 PR breakpoints/12526
5536 * gdb.base/watch-bitfields.exp: New file.
5537 * gdb.base/watch-bitfields.c: New file.
5538
635856f5
PA
55392014-09-16 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5542 software and hardware addresses, not software address against
5543 itself.
5544
7280ceea
PA
55452014-09-16 Pedro Alves <palves@redhat.com>
5546
5547 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5548 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5549
428b16bd
PA
55502014-09-16 Pedro Alves <palves@redhat.com>
5551
5552 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5553 files.
5554 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5555 "*-*-vxworks*" throughout.
5556 * gdb.base/break.exp: Likewise.
5557 * gdb.base/default.exp: Likewise.
5558 * gdb.base/scope.exp: Likewise.
5559 * gdb.base/sepdebug.exp: Likewise.
5560 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5561 throughout.
5562 * gdb.base/run.c: Likewise.
5563 * gdb.base/sepdebug.c: Likewise.
5564 * gdb.hp/gdb.aCC/run.c: Likewise.
5565 * gdb.reverse/until-reverse.c: Likewise.
5566 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5567
666d413c
YQ
55682014-09-16 Yao Qi <yao@codesourcery.com>
5569
5570 * boards/local-remote-host-native.exp: New file.
5571
57cbd724
DE
55722014-09-14 Doug Evans <xdje42@gmail.com>
5573
5574 * gdb.threads/queue-signal.c (thread_count): New variable.
5575 (thread_count_mutex, thread_count_condvar): New variables.
5576 (incr_thread_count, wait_all_threads_running): New functions.
5577 (main): Wait for all threads to be in their thread functions.
5578
81219e53
DE
55792014-09-13 Doug Evans <xdje42@gmail.com>
5580
5581 * gdb.threads/queue-signal.c: New file.
5582 * gdb.threads/queue-signal.exp: New file.
5583
3714cea7
DE
55842014-09-13 Doug Evans <xdje42@gmail.com>
5585
5586 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5587 be consistent with what default_gdb_init uses.
5588 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5589 the plain text of the prompt. Add some logging printfs.
5590 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5591
fa43b1d7
PA
55922014-09-12 Pedro Alves <palves@redhat.com>
5593
5594 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5595 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5596 * gdb.arch/i386-size-overlap.exp: Likewise.
5597 * gdb.arch/i386-size.exp: Likewise.
5598 * gdb.arch/i386-unwind.exp: Likewise.
5599 * gdb.base/a2-run.exp: Likewise.
5600 * gdb.base/break.exp: Likewise.
5601 * gdb.base/charset.exp: Likewise.
5602 * gdb.base/chng-syms.exp: Likewise.
5603 * gdb.base/commands.exp: Likewise.
5604 * gdb.base/dbx.exp: Likewise.
5605 * gdb.base/find.exp: Likewise.
5606 * gdb.base/funcargs.exp: Likewise.
5607 * gdb.base/jit-simple.exp: Likewise.
5608 * gdb.base/reread.exp: Likewise.
5609 * gdb.base/sepdebug.exp: Likewise.
5610 * gdb.base/step-bt.exp: Likewise.
5611 * gdb.cp/mb-inline.exp: Likewise.
5612 * gdb.cp/mb-templates.exp: Likewise.
5613 * gdb.objc/basicclass.exp: Likewise.
5614 * gdb.threads/killed.exp: Likewise.
5615
9d9bf2df
EBM
56162014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5617
5618 PR tdep/17379
5619 * gdb.arch/powerpc-stackless.S: New file.
5620 * gdb.arch/powerpc-stackless.exp: New file.
5621
1cf2f1b0
JK
56222014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5623
5624 * gdb.base/attach.c: Include unistd.h.
5625 (main): Call alarm. Add label postloop.
5626 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5627 gdb_breakpoint, gdb_continue_to_breakpoint.
5628 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5629
98880d46
PA
56302014-09-11 Pedro Alves <palves@redhat.com>
5631
5632 PR gdb/17347
5633 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5634 * gdb.base/attach.exp (test_command_line_attach_run): New
5635 procedure.
5636 (top level): Call it.
5637
4c92ff2c
PA
56382014-09-11 Pedro Alves <palves@redhat.com>
5639
5640 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5641 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5642 (do_command_attach_tests): Use spawn_wait_for_attach.
5643 * gdb.base/solib-overlap.exp: Likewise.
5644 * gdb.multi/multi-attach.exp: Likewise.
5645 * gdb.python/py-prompt.exp: Likewise.
5646 * gdb.python/py-sync-interp.exp: Likewise.
5647 * gdb.server/ext-attach.exp: Likewise.
5648
3adc1a7d
GKB
56492014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5650
5651 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5652 command in testcase. Simplify testcase.
5653
96334934
JB
56542014-09-10 Joel Brobecker <brobecker@adacore.com>
5655
5656 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5657
eb479039
JB
56582014-09-10 Joel Brobecker <brobecker@adacore.com>
5659
5660 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5661
deede10c
JB
56622014-09-10 Joel Brobecker <brobecker@adacore.com>
5663
5664 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5665
7828a5f5
JB
56662014-09-10 Joel Brobecker <brobecker@adacore.com>
5667
5668 * gdb.dwarf2/dynarr-ptr.c: New file.
5669 * gdb.dwarf2/dynarr-ptr.exp: New file.
5670
33aeebcf
MR
56712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5672
5673 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5674 of 30 rather than hardcoding 120 for a slow test case. Take the
5675 `gdb,timeout' target setting into account for this calculation.
5676 Don't extend the timeout for the test cases that don't need it.
5677
7b415901
MR
56782014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5679
5680 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5681 a factor of 2 for a slow test case. Take the `gdb,timeout'
5682 target setting into account for this calculation.
5683 * gdb.reverse/until-precsave.exp: Increase the timeout by
5684 a factor of 15 and 3 respectively rather than adding 120
5685 for a pair of slow test cases. Take the `gdb,timeout'
5686 target setting into account for this calculation.
5687
4a40f85a
MR
56882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5689
5690 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5691 timeout, don't pass one down to gdb_expect.
5692 (gdb_expect): Rework timeout selection.
5693
09635af7
MR
56942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5695
5696 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5697 exception on timeout.
5698 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5699 (gdbserver_start_extended): Catch any `gdbserver_start' error
5700 exceptions.
5701 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5702 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5703 `gdbserver_gdb_load' error exceptions.
5704
2bdd10b7
MR
57052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5706
5707 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5708 120 on waiting for the TCP socket to open.
5709
316935f0
DE
57102014-09-09 Doug Evans <xdje42@gmail.com>
5711
5712 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5713 _caller_matches, _any_caller_is, _any_caller_matches.
5714
83740597
DE
57152014-09-09 Doug Evans <xdje42@gmail.com>
5716
5717 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5718
4c122fc3
YQ
57192014-09-09 Yao Qi <yao@codesourcery.com>
5720
5721 * gdb.mi/mi-var-display.exp: Set print symbol off.
5722
a9f116cb
GKB
57232014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5724
5725 PR gdb/17035
5726 * gdb.base/commands.exp: Add tests to verify user-defined
5727 commands with empty bodies.
5728 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5729 python commands in `show user command`.
5730 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5731 scheme commands in `show user command`.
5732
c75bd3a2
JK
57332014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5734
5735 PR python/17355
5736 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5737 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5738 * gdb.python/py-framefilter-invalidarg.exp: New file.
5739 * gdb.python/py-framefilter-invalidarg.py: New file.
5740
faa42425
DE
57412014-09-06 Doug Evans <xdje42@gmail.com>
5742
5743 PR 15276
5744 * gdb.python/py-caller-is.c: New file.
5745 * gdb.python/py-caller-is.exp: New file.
5746
474ca4f6
SDJ
57472014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5748
5749 PR gdb/17235
5750 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5751 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5752
eb0b0463
SDJ
57532014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5754
5755 PR fortran/17237
5756 * gdb.fortran/print-formatted.exp: New file.
5757 * gdb.fortran/print-formatted.f90: Likewise.
5758
5f3b99cf
SS
57592014-09-03 Sasha Smundak <asmundak@google.com>
5760
5761 * gdb.python/py-frame.exp: Test Frame.read_register.
5762
7d793aa9
SDJ
57632014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5764
5765 PR python/16699
5766 * gdb.python/py-completion.exp: New file.
5767 * gdb.python/py-completion.py: Likewise.
5768
fb0576e9
DE
57692014-08-28 Doug Evans <dje@google.com>
5770
5771 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5772 eax,etc. are live with values set by gdb and thus the compiler can't
5773 use them.
5774 * gdb.arch/i386-pseudo.c (main): Ditto.
5775
ee92b0dd
DE
57762014-08-27 Doug Evans <dje@google.com>
5777
5778 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5779
6649db35
DE
57802014-08-25 Doug Evans <dje@google.com>
5781
5782 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5783 (main): Ditto.
5784
564b7600
DE
57852014-08-25 Doug Evans <dje@google.com>
5786
5787 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5788
3881fb67
YQ
57892014-08-24 Yao Qi <yao@codesourcery.com>
5790
5791 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5792 symbol off.
5793 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5794
a05a36a5
DE
57952014-08-22 Doug Evans <dje@google.com>
5796
5797 PR 17276
5798 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5799 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5800 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5801
7c343b48
YQ
58022014-08-22 Yao Qi <yao@codesourcery.com>
5803
5804 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5805 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5806 * gdb.python/python.exp: Likewise. Use .py file on the host
5807 instead of the build.
5808
22fd09ae
JK
58092014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5810
5811 * gdb.threads/gcore-stale-thread.c: New file.
5812 * gdb.threads/gcore-stale-thread.exp: New file.
5813
a8454a7c
PA
58142014-08-21 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5817 * gdb.base/gcore-relro-pie.exp: Likewise.
5818 * gdb.base/gcore-relro.exp: Likewise.
5819 * gdb.base/gcore.exp: Likewise.
5820 * gdb.base/print-symbol-loading.exp: Likewise.
5821 * gdb.threads/gcore-thread.exp: Likewise.
5822 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5823
2a31c623
PA
58242014-08-20 Pedro Alves <palves@redhat.com>
5825 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5828 configure.
5829 (EXPECT): Handle READ1 being set.
5830 (all): Depend on EXTRA_RULES.
5831 (check-read1, expect-read1, read1.so, read1): New rules.
5832 * README (Testsuite Parameters): Document the READ1 make variable.
5833 (Race detection): New section.
5834 * configure: Regenerate.
5835 * configure.ac: If build==host==target, and running under a
5836 GNU/glibc system, add read1 to the extra Makefile rules.
5837 (EXTRA_RULES): AC_SUBST it.
5838 * lib/read1.c: New file.
5839
d36430db
JB
58402014-08-20 Joel Brobecker <brobecker@adacore.com>
5841
5842 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5843 the handling of variables declared as a typedef to an array
5844 which a DW_AT_data_location attribute.
5845
9a0dc9e3
PA
58462014-08-19 Andrew Burgess <aburgess@broadcom.com>
5847 Pedro Alves <palves@redhat.com>
5848
5849 PR symtab/14604
5850 PR symtab/14605
5851 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5852 gdb_test.
5853
0718a8da
PA
58542014-08-19 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5857
13b448cd
YQ
58582014-08-19 Yao Qi <yao@codesourcery.com>
5859
5860 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5861 right line.
5862
1cbf5077
DB
58632014-08-18 David Blaikie <dblaikie@gmail.com>
5864
5865 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5866
bf0fae19
JB
58672014-08-18 Joel Brobecker <brobecker@adacore.com>
5868
5869 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5870 attribute in array range.
5871
3c8c5dcc
JB
58722014-08-18 Joel Brobecker <brobecker@adacore.com>
5873
5874 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5875
e66d4446
SC
58762014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5877
5878 PR c++/17132
5879 * gdb.cp/pr17132.cc: New file.
5880 * gdb.cp/pr17132.exp: New file.
5881
940df408
SC
58822014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5883
5884 * gdb.python/py-xmethods.py (A_getarrayind)
5885 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5886 Use 'print' with function call syntax.
5887 (E_method_matcher.match): Fix tab vs space indentation mixup.
5888
ebcc6c3a
YQ
58892014-08-15 Yao Qi <yao@codesourcery.com>
5890
5891 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5892 false.
5893
775e0f04
YQ
58942014-08-15 Yao Qi <yao@codesourcery.com>
5895
5896 * gdb.cp/casts.exp: Set print symbol off.
5897 * gdb.cp/class2.exp: Likewise.
5898 * gdb.cp/overload.exp: Likewise.
5899 * gdb.cp/templates.exp: Likewise.
5900
d769e349
DE
59012014-08-11 Doug Evans <dje@google.com>
5902
5903 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5904 (test_load_shlib): Update.
5905
20c6f1e1
YQ
59062014-08-09 Yao Qi <yao@codesourcery.com>
5907
5908 * gdb.base/display.exp: Invoke is_address_zero_readable.
5909 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5910 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5911 * gdb.base/hbreak-unmapped.exp: Return if
5912 is_address_zero_readable returns true.
5913 * gdb.base/signest.exp: Likewise.
5914 * gdb.base/signull.exp: Likewise.
5915 * gdb.base/sigbpt.exp: Likewise.
5916 * gdb.guile/scm-disasm.exp: Do the test if
5917 is_address_zero_readable returns false.
5918 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5919 * gdb.python/py-arch.exp: Likewise.
5920 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5921 * lib/gdb.exp (is_address_zero_readable): New proc.
5922
5792e8e3
YQ
59232014-08-09 Yao Qi <yao@codesourcery.com>
5924
5925 PR testsuite/13443
5926 * gdb.mi/mi-var-display.exp: Make test messages unique.
5927
3cecbbbe
TT
59282014-08-04 Tom Tromey <tromey@redhat.com>
5929
5930 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5931 target 0".
5932
00b51ff5
TT
59332014-08-04 Tom Tromey <tromey@redhat.com>
5934
5935 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5936 "target_resume".
5937
6908c509
JB
59382014-08-01 Joel Brobecker <brobecker@adacore.com>
5939
5940 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5941 inner_vla_struct_object_size.
5942 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5943 as xfail.
5944
cc6563d2
PA
59452014-07-30 Pedro Alves <palves@redhat.com>
5946
5947 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5948 comment.
5949
7e09a223
YQ
59502014-07-29 Yao Qi <yao@codesourcery.com>
5951
5952 PR gdb/17206
5953 * gdb.base/until-nodebug.exp: New.
5954
7ebdbe92
DE
59552014-07-28 Doug Evans <xdje42@gmail.com>
5956
5957 PR guile/17203
5958 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5959 previously existing parameter, and previously ambiguously spelled
5960 parameter.
5961
fdb1adc6
WN
59622014-07-28 Will Newton <will.newton@linaro.org>
5963
5964 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5965
186fcde0
DE
59662014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
5967 Doug Evans <xdje42@gmail.com>
5968
5969 PR guile/17146
5970 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5971
70509625
PA
59722014-07-25 Pedro Alves <palves@redhat.com>
5973
5974 * gdb.threads/signal-command-handle-nopass.c: New file.
5975 * gdb.threads/signal-command-handle-nopass.exp: New file.
5976 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5977 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5978 * gdb.threads/signal-delivered-right-thread.c: New file.
5979 * gdb.threads/signal-delivered-right-thread.exp: New file.
5980
c3f814a1
PA
59812014-07-25 Pedro Alves <palves@redhat.com>
5982
5983 * gdb.base/double-prompt-target-event-error.exp
5984 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5985 match.
5986 (cancel_pagination_in_target_event): Rework double prompt
5987 detection.
5988 * gdb.base/paginate-after-ctrl-c-running.exp
5989 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5990 <return>' match.
5991 * gdb.base/paginate-bg-execution.exp
5992 (test_bg_execution_pagination_return)
5993 (test_bg_execution_pagination_cancel): Remove '-notransfer
5994 <return>' matches.
5995 * gdb.base/paginate-execution-startup.exp
5996 (test_fg_execution_pagination_return)
5997 (test_fg_execution_pagination_cancel): Remove '-notransfer
5998 <return>' matches.
5999 * gdb.base/paginate-inferior-exit.exp
6000 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6001 match.
6002 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6003 * lib/gdb.exp (pagination_prompt): Run text through
6004 string_to_regexp.
6005 (gdb_test_multiple): Match $pagination_prompt instead of
6006 "<return>".
6007 (string_to_regexp): Move to lib/gdb-utils.exp.
6008
e214cf6c
JK
60092014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6010
6011 * gdb.arch/amd64-entry-value-paramref.S: New file.
6012 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6013 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6014 * gdb.arch/amd64-optimout-repeat.S: New file.
6015 * gdb.arch/amd64-optimout-repeat.c: New file.
6016 * gdb.arch/amd64-optimout-repeat.exp: New file.
6017
17d0c5c8
JK
60182014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6019
6020 PR gdb/17170
6021 * gdb.base/statistics.exp: New file.
6022
b8b8facf
DE
60232014-07-17 Doug Evans <dje@google.com>
6024
74b49205 6025 PR gdb/17170
b8b8facf
DE
6026 * gdb.base/maint.exp: Update testing of per-command stats.
6027
1b5d0ab3
PA
60282014-07-16 Pedro Alves <palves@redhat.com>
6029
6030 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6031 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6032 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6033 (tfile_write_buf): New functions.
6034 (add_memory_block): Rewrite using the above.
6035 (adjust_function_address): New function.
6036 (FUNCTION_ADDRESS): New macro.
6037 (write_basic_trace_file): Remove short_x local, and use
6038 tfile_write_16. Change type of func_addr local to unsigned long
6039 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6040 here. Cast argument of add_memory_block to char pointer.
6041 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6042 (main): Remove parameters.
6043 * gdb.trace/tfile.exp: Remove nowarnings.
6044
4d974e88
SM
60452014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6046
6047 * gdb.base/debug-expr.exp: Test string evaluation with
6048 "debug expression" on.
6049
41e99568
PA
60502014-07-15 Pedro Alves <palves@redhat.com>
6051
6052 * gdb.base/reread.exp: Use clean_restart.
6053
487d9753
PL
60542014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6055
6056 * gdb.arch/avr-flash-qualifer.c: New.
6057 * gdb.arch/avr-flash-qualifer.exp: New.
6058
cc1c52ad
PA
60592014-07-14 Pedro Alves <palves@redhat.com>
6060
6061 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6062 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6063
1e973570
PA
60642014-07-14 Pedro Alves <palves@redhat.com>
6065
6066 * gdb.base/double-prompt-target-event-error.c: New file.
6067 * gdb.base/double-prompt-target-event-error.exp: New file.
6068
93d6eb10
PA
60692014-07-14 Pedro Alves <palves@redhat.com>
6070
6071 PR gdb/17072
6072 * gdb.base/paginate-inferior-exit.c: New file.
6073 * gdb.base/paginate-inferior-exit.exp: New file.
6074
0017922d
PA
60752014-07-14 Pedro Alves <palves@redhat.com>
6076
6077 PR gdb/17072
6078 * gdb.base/paginate-bg-execution.c: New file.
6079 * gdb.base/paginate-bg-execution.exp: New file.
6080
94696ad3
PA
60812014-07-14 Pedro Alves <palves@redhat.com>
6082
6083 PR gdb/17072
6084 * gdb.base/paginate-execution-startup.c: New file.
6085 * gdb.base/paginate-execution-startup.exp: New file.
6086 * lib/gdb.exp (pagination_prompt): New global.
6087 (default_gdb_spawn): New procedure, factored out from
6088 default_gdb_spawn.
6089 (default_gdb_start): Adjust to call default_gdb_spawn.
6090 (gdb_spawn): New procedure.
6091
bd293940
PA
60922014-07-14 Pedro Alves <palves@redhat.com>
6093
6094 * lib/gdb.exp (gdb_assert): New procedure.
6095 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6096
c933f875
PA
60972014-07-14 Pedro Alves <palves@redhat.com>
6098
6099 * gdb.base/execution-termios.c: New file.
6100 * gdb.base/execution-termios.exp: New file.
6101
d98b7a16
TT
61022014-07-14 Tom Tromey <tromey@redhat.com>
6103
6104 * gdb.cp/vla-cxx.cc: New file.
6105 * gdb.cp/vla-cxx.exp: New file.
6106
548740d6
TT
61072014-07-14 Tom Tromey <tromey@redhat.com>
6108
6109 * gdb.reverse/rerun-prec.c: New file.
6110 * gdb.reverse/rerun-prec.exp: New file.
6111
a25eb028
MR
61122014-07-12 Maciej W. Rozycki <macro@mips.com>
6113 Maciej W. Rozycki <macro@codesourcery.com>
6114
6115 * lib/gdb-utils.exp: New file.
6116 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6117 inline `gdb_init_command' processing.
6118 (gdb_start_cmd): Likewise.
6119 * lib/mi-support.exp (mi_run_cmd): Likewise.
6120 * README: Document `gdb_init_command' and `gdb_init_commands'.
6121
218c2655
JK
61222014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6123
6124 Fix false FAIL running under a very long directory name.
6125 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6126 and "set print elements 10000". Twice.
6127
5401fde3
YQ
61282014-07-11 Yao Qi <yao@codesourcery.com>
6129
6130 * gdb.base/exprs.exp: "set print symbol off".
6131
e76126e8
PA
61322014-07-11 Pedro Alves <palves@redhat.com>
6133
6134 * gdb.threads/kill.c: New file.
6135 * gdb.threads/kill.exp: New file.
6136
2d6f0de6
YQ
61372014-07-10 Yao Qi <yao@codesourcery.com>
6138
6139 * gdb.trace/tfile.c (write_basic_trace_file)
6140 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6141 address written to trace file.
6142
7180e04a
PA
61432014-07-09 Pedro Alves <palves@redhat.com>
6144
6145 * gdb.base/attach-wait-input.exp: New file.
6146 * gdb.base/attach-wait-input.c: New file.
6147
9a9a7608
AB
61482014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6149
6150 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6151 setting up test structures.
6152 (main): Call new test function.
6153 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6154 test function, continue into test function and walk test
6155 structures.
6156
161ac41e
YQ
61572014-07-02 Yao Qi <yao@codesourcery.com>
6158
6159 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6160 'bar_start' at the beginning of functions 'foo' and 'bar'
6161 respectively.
6162 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6163 instead of 'foo' and 'bar'.
6164
1f267ae3
MM
61652014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6166
6167 * gdb.btrace/segv.exp: New.
6168 * gdb.btrace/segv.c: New.
6169
2b239efb
LM
61702014-07-02 Luis Machado <lgustavo@codesourcery.com>
6171
6172 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6173 instruction.
6174
cf363f18
MW
61752014-06-30 Mark Wielaard <mjw@redhat.com>
6176
6177 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6178 vulture, vilify, villar): New volatile array constants.
6179 (vindictive, vegetation): New const volatile array constants.
6180 * gdb.base/volatile.exp: Test volatile and const volatile array
6181 types.
6182
aebf9d24
AA
61832014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6184
6185 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6186 target lacks support for awatch, rwatch, or hbreak.
6187
b67a2c6f
YQ
61882014-06-27 Yao Qi <yao@codesourcery.com>
6189
6190 * gdb.multi/dummy-frame-restore.exp: New.
6191 * gdb.multi/dummy-frame-restore.c: New.
6192
aef92902
MM
61932014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6194
6195 * gdb.btrace/gcore.exp: New.
6196
8e9db26e
PA
61972014-06-23 Pedro Alves <palves@redhat.com>
6198
6199 * gdb.base/watchpoint-reuse-slot.c: New file.
6200 * gdb.base/watchpoint-reuse-slot.exp: New file.
6201
70afc5b7
SC
62022014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6203
6204 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6205 progspace's filename in 'info', 'enable' and 'disable' command
6206 tests.
6207
b972bd9c
JK
62082014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6209
6210 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6211 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6212 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6213
125f8a3d
GB
62142014-06-20 Gary Benson <gbenson@redhat.com>
6215
6216 * gdb.arch/i386-avx.exp: Fix include file location.
6217 * gdb.arch/i386-sse.exp: Likewise.
6218
3ed9baed
IB
62192014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6220
6221 * gdb.dlang/expression.exp: New file.
6222
034f788c
PA
62232014-06-19 Pedro Alves <palves@redhat.com>
6224
6225 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6226 out from ...
6227 (top level): ... here. Iterate running tests under different
6228 scheduler-locking settings.
6229
45371d0c
LM
62302014-06-18 Luis Machado <lgustavo@codesourcery.com>
6231
6232 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6233 to DW_FORM_addr and use non-zero addresses.
6234
5d376983
SC
62352014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6236
6237 PR gdb/17017
6238 * gdb.python/py-xmethods.cc: Add global function call counters and
6239 increment them in their respective functions. Remove "cout"
6240 statements.
6241 * gdb.python/py-xmethods.exp: Make tests check the global function
6242 call counters instead of depending on inferior IO.
6243
a1aa2221
LM
62442014-06-18 Don Breazeal <donb@codesourcery.com>
6245
6246 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6247 Deleted procedure.
6248 (explicit_fork_parent_follow): Deleted procedure.
6249 (explicit_fork_child_follow): Deleted procedure.
6250 (test_follow_fork): New procedure.
6251 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6252 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6253 procedure calls.
6254
0fc05997
YQ
62552014-06-17 Yao Qi <yao@codesourcery.com>
6256
6257 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6258 CP1252.
6259
70795c52
LM
62602014-06-17 Luis Machado <lgustavo@codesourcery.com>
6261
6262 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6263 Initialize ptr and S explicitly.
6264 (skip_type_update_when_not_use_rtti_test): Likewise.
6265
6be47f0c
KS
62662014-06-16 Keith Seitz <keiths@redhat.com>
6267
6268 PR mi/15863
6269 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6270 the inferior is started.
6271
d03de421
PA
62722014-06-16 Pedro Alves <palves@redhat.com>
6273
6274 * gdb.base/break-main-file-remove-fail.c: New file.
6275 * gdb.base/break-main-file-remove-fail.exp: New file.
6276 * gdb.base/break-unload-file.exp: Use build_executable instead of
6277 prepare_for_testing.
6278 (test_break): New parameter "initial_load". Handle it.
6279 (top level): Add initial_load cmdline/file axis.
6280
f9579b99
TT
62812014-06-12 Tom Tromey <tromey@redhat.com>
6282
6283 * gdb.base/completion.exp: Don't use directory name in test.
6284
3657956b
GB
62852014-06-09 Gary Benson <gbenson@redhat.com>
6286
6287 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6288 separate the always-available ANSI-standard signals from the
6289 signals that require checking.
6290 (main): Likewise.
6291 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6292 Likewise.
6293 (main): Likewise.
6294
4186eb54
KS
62952014-06-07 Keith Seitz <keiths@redhat.com>
6296
6297 Revert:
6298 PR c++/16253
6299 * gdb.cp/var-tag.cc: New file.
6300 * gdb.cp/var-tag.exp: New file.
6301 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6302 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6303 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6304 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6305
25326a28 63062014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6307
6308 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6309
829155c9
PA
63102014-06-06 Pedro Alves <palves@redhat.com>
6311
6312 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6313 in target debug output instead of looking at RSP packets,
6314 disabling the test on any target that uses hardware stepping.
6315 Update comments.
6316
61c8d22e
PA
63172014-06-06 Pedro Alves <palves@redhat.com>
6318
6319 * gdb.base/break-unload-file.exp: Fix typo.
6320
d9a47287
YQ
63212014-06-06 Yao Qi <yao@codesourcery.com>
6322
6323 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6324 from "jit_function" to "^jit_function".
6325
e5e01dbf
YQ
63262014-06-06 Yao Qi <yao@codesourcery.com>
6327
6328 * gdb.base/async.c (foo): Add one statement.
6329 * gdb.base/async.exp: Get the next instruction address and
6330 match the output of "nexti" by instruction address. Match
6331 the hex address in the output of "finish".
6332
73ba372c
GB
63332014-06-06 Gary Benson <gbenson@redhat.com>
6334
6335 * gdb.base/call-signals.c: Remove preprocessor conditionals
6336 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6337 SIGSEGV and SIGTERM.
6338 * gdb.base/sigall.c: Likewise.
6339 * gdb.base/unwindonsignal.c: Likewise.
6340 * gdb.reverse/sigall-reverse.c: Likewise.
6341
831517df
YQ
63422014-06-06 Yao Qi <yao@codesourcery.com>
6343
6344 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6345 readable, skip the test.
6346
b8b91e98
YQ
63472014-06-06 Yao Qi <yao@codesourcery.com>
6348
6349 * gdb.threads/staticthreads.c (thread_function): Move the line
6350 setting breakpoint on forward.
6351 * gdb.threads/staticthreads.exp: Update comments.
6352
fb934770
LC
63532014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
6354
6355 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6356 "history-append! type error".
6357
6ef284bd
SM
63582014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6359
6360 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6361 erroneous dprintf expected input.
6362
a872e241
DE
63632014-06-04 Doug Evans <xdje42@gmail.com>
6364
6365 * gdb.guile/scm-generics.exp: Delete.
6366
16f691fb
DE
63672014-06-04 Doug Evans <xdje42@gmail.com>
6368
6369 * gdb.guile/scm-breakpoint.exp: Update.
6370 Add tests for breakpoint registration.
6371
012370f6
TT
63722014-06-04 Tom Tromey <tromey@redhat.com>
6373
6374 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6375 VLA-in-union.
6376 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6377 inner_vla_struct, vla_union types. Initialize objects of those
6378 types and compute their sizes.
6379
9f5a4cef
HZ
63802014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6381 Hui Zhu <hui@codesourcery.com>
6382
6383 * gdb.base/fileio.exp: Add test for shell not available as well as
6384 available.
6385 * gdb.base/fileio.c (test_system): Check for shell twice.
6386
90a45c4d
YQ
63872014-06-04 Yao Qi <yao@codesourcery.com>
6388
6389 * gdb.base/auto-connect-native-target.exp: Remove redundant
6390 space from the regexp pattern.
6391
70017e41
YQ
63922014-06-04 Yao Qi <yao@codesourcery.com>
6393
6394 * gdb.base/default.exp: Replace "child" with "native" in
6395 regexp pattern.
6396
883964a7
SC
63972014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6398
6399 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6400 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6401 * gdb.python/py-xmethods.py: Python script supporting the
6402 new testcase and tests.
6403
ef370185
JB
64042014-06-03 Joel Brobecker <brobecker@adacore.com>
6405 Pedro Alves <palves@redhat.com>
6406
6407 PR breakpoints/17000
6408 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6409 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6410
1e2ccb61
BM
64112014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6412
6413 * gdb.base/subst.exp: Add tests to verify partial path matching
6414 output.
6415
c6ec5ab2
PA
64162014-06-03 Pedro Alves <palves@redhat.com>
6417
6418 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6419 target that doesn't use software single-stepping.
6420
835c559f
PA
64212014-06-03 Pedro Alves <palves@redhat.com>
6422
6423 PR breakpoints/17000
6424 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6425 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6426
06eb1586
DE
64272014-06-02 Doug Evans <xdje42@gmail.com>
6428
6429 * gdb.guile/scm-parameter.exp: New file.
6430
e698b8c4
DE
64312014-06-02 Doug Evans <xdje42@gmail.com>
6432
6433 * gdb.guile/scm-cmd.c: New file.
6434 * gdb.guile/scm-cmd.exp: New file.
6435
ded03782
DE
64362014-06-02 Doug Evans <xdje42@gmail.com>
6437
6438 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6439 pretty-printer lookup.
6440 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6441 (make-pp_s-printer): Call it.
6442 (make-pretty-printer-from-dict): New function.
6443 (lookup-pretty-printer-maker-from-dict): New function.
6444 (*pretty-printer*): Simplify.
6445 (make-objfile-pp_s-printer): New function.
6446 (install-objfile-pretty-printers!): New function.
6447 (make-progspace-pp_s-printer): New function.
6448 (install-progspace-pretty-printers!): New function.
6449 * gdb.guile/scm-progspace.c: New file.
6450 * gdb.guile/scm-progspace.exp: New file.
6451
41fac0cf
PA
64522014-06-02 Pedro Alves <palves@redhat.com>
6453
6454 * gdb.base/dprintf-bp-same-addr.c: New file.
6455 * gdb.base/dprintf-bp-same-addr.exp: New file.
6456
96ae5695
EBM
64572014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6458
6459 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6460 * gdb.arch/powerpc-power.s: Likewise.
6461
da02b3a8
JB
64622014-06-02 Joel Brobecker <brobecker@adacore.com>
6463
6464 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6465
c72b2e7b
YQ
64662014-06-01 Yao Qi <yao@codesourcery.com>
6467
6468 * gdb.base/watchpoint.exp (test_watch_location): Check null
6469 pointer can be dereferenced. If not, do the test, otherwise
6470 skip it.
6471
53e8a631
AB
64722014-05-30 Andrew Burgess <aburgess@broadcom.com>
6473
6474 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6475 results.
6476 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6477
938f0e2f
AB
64782014-05-30 Andrew Burgess <aburgess@broadcom.com>
6479
6480 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6481 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6482 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6483 * gdb.arch/amd64-invalid-stack-top.c: New file.
6484 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6485
9ba6657a
PA
64862014-05-30 Pedro Alves <palves@redhat.com>
6487
6488 PR breakpoints/17000
6489 * gdb.base/sss-bp-on-user-bp.c: New file.
6490 * gdb.base/sss-bp-on-user-bp.exp: New file.
6491
522c09bf
DB
64922014-05-30 David Blaikie <dblaikie@gmail.com>
6493
6494 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6495 gnu_inline semantics via attribute.
6496 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6497 source explicitly specifies the required semantics.
6498
bf4ef81e
MR
64992014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6500
6501 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6502
329ea579
PA
65032014-05-29 Pedro Alves <palves@redhat.com>
6504 Tom Tromey <tromey@redhat.com>
6505
6506 * gdb.base/async-shell.exp: Don't enable target-async.
6507 * gdb.base/async.exp
6508 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6509 parameter. Adjust.
6510 (top level): Don't test with "target-async".
6511 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6512 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6513 * gdb.base/inferior-died.exp: Don't enable target-async.
6514 * gdb.base/interrupt-noterm.exp: Likewise.
6515 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6516 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6517 * gdb.mi/mi-nonstop.exp: Likewise.
6518 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6519 * gdb.mi/mi-nsintrall.exp: Likewise.
6520 * gdb.mi/mi-nsmoribund.exp: Likewise.
6521 * gdb.mi/mi-nsthrexec.exp: Likewise.
6522 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6523 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6524 * gdb.python/py-evsignal.exp: Don't enable target-async.
6525 * gdb.python/py-evthreads.exp: Likewise.
6526 * gdb.python/py-prompt.exp: Likewise.
6527 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6528 * gdb.server/solib-list.exp: Don't enable target-async.
6529 * gdb.threads/thread-specific-bp.exp: Likewise.
6530 * lib/mi-support.exp: Adjust to use mi-async.
6531
fd664c91
PA
65322014-05-29 Pedro Alves <palves@redhat.com>
6533
6534 PR gdb/13860
6535 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6536 reason, even in sync mode.
6537
251bde03
PA
65382014-05-29 Pedro Alves <palves@redhat.com>
6539 Hui Zhu <hui@codesourcery.com>
6540
6541 PR PR15693
6542 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6543 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6544 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6545 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6546
7f3c0343
JB
65472014-05-28 Joel Brobecker <brobecker@adacore.com>
6548
6549 * config/monitor.exp (gdb_target_monitor): Replace use of
6550 "set remotebaud" by "set serial baud".
6551
b2715b27
AW
65522014-05-26 Andy Wingo <wingo@igalia.com>
6553
6554 * gdb.guile/scm-breakpoint.exp:
6555 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6556 properties instead of gdb-object-properties.
6557
498a4489
YQ
65582014-05-26 Yao Qi <yao@codesourcery.com>
6559
6560 * gdb.server/no-thread-db.exp: Specify source file name
6561 explicitly when setting a breakpoint.
6562
589fdceb
MM
65632014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6564
6565 * gdb.btrace/vdso.c: New.
6566 * gdb.btrace/vdso.exp: New.
6567
e9089e05
MM
65682014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6569
6570 * gdb.base/gcore.exp (capture_command_output): Move ...
6571 * lib/gdb.exp (capture_command_output): ... here.
6572
67b5c0c1
MM
65732014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6574
6575 * gdb.btrace/data.exp: Test memory access during btrace replay.
6576
a2199296
SM
65772014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6578
6579 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6580
17b2616c
PA
65812014-05-21 Pedro Alves <palves@redhat.com>
6582
6583 PR gdb/13860
6584 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6585 (top level): Test that output related to execution commands is
6586 sent to the console with CLI commands, but not with MI commands.
6587 Test that breakpoint events are always mirrored to the console.
6588 Also expect the new source line to be output after a "next" in
6589 async mode too. Make it a pass/fail test.
6590 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6591 output.
6592 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6593
5166082f
PA
65942014-05-21 Pedro Alves <palves@redhat.com>
6595
6596 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6597 Use them to test variations of "list" after reaching a breakpoint.
6598 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6599 Test "list" with listsize 10 after reaching a breakpoint.
6600 * gdb.python/python.exp (decode_line current location line
6601 number): Adjust expected line number.
6602
2f25d70f
SM
66032014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6604
6605 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6606 behavior for $args, pass it directly to "run".
6607
ff604a67
MR
66082014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6609
6610 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6611 30000 to 65536.
6612
6a3cb8e8
PA
66132014-05-21 Pedro Alves <palves@redhat.com>
6614
6615 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6616 auto-connect-native-target off".
6617 * gdb.base/auto-connect-native-target.c: New file.
6618 * gdb.base/auto-connect-native-target.exp: New file.
6619
4ebfc96e
PA
66202014-05-21 Pedro Alves <palves@redhat.com>
6621
6622 * gdb.base/default.exp: Test "target native" instead of "target
6623 child".
6624
36d46afb
MW
66252014-05-21 Mark Wielaard <mjw@redhat.com>
6626
6627 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6628
5876f503
JK
66292014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6630
6631 Fix TLS access for -static -pthread.
6632 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6633 <HAVE_TLS> (thread_function, main): Initialize it.
6634 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6635 Add clean_restart.
6636 <$have_tls != "">: Check TLSVAR.
6637
0256a6ac
PA
66382014-05-21 Pedro Alves <palves@redhat.com>
6639
6640 * gdb.base/dcache-line-read-error.c: New.
6641 * gdb.base/dcache-line-read-error.exp: New.
6642
936d2992
PA
66432014-05-20 Pedro Alves <palves@redhat.com>
6644
6645 * gdb.base/compare-sections.c: New file.
6646 * gdb.base/compare-sections.exp: New file.
6647
802e8e6d
PA
66482014-05-20 Pedro Alves <palves@redhat.com>
6649
6650 * gdb.base/break-idempotent.c: New file.
6651 * gdb.base/break-idempotent.exp: New file.
6652
e59fa00f
MM
66532014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6654
6655 * gdb.btrace/nohist.exp: New.
6656
8b696e31
YQ
66572014-05-20 Yao Qi <yao@codesourcery.com>
6658
6659 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6660 gdb.reverse directory and gdb_reverse_timeout exists in board
6661 setting.
6662 * README: Document gdb_reverse_timeout.
6663
73c9764f
YQ
66642014-05-20 Yao Qi <yao@codesourcery.com>
6665
6666 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6667 'test_file_name'. Treat args as a string instead of a list.
6668 (gdb_init): Rename argument 'args' by 'test_file_name'.
6669
f1f4348a
JK
66702014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6671
6672 * gdb.arch/powerpc-power.exp: New file.
6673 * gdb.arch/powerpc-power.s: New file.
6674
0dbe70ce
DE
66752014-05-16 Doug Evans <dje@google.com>
6676
6677 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6678 * gdb.base/completion.exp: Check that all expected files exist
6679 before doing file completion.
0dbe70ce 6680
8d551b02
DE
66812014-05-16 Doug Evans <dje@google.com>
6682
6683 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6684 Update.
6685 (do_syscall_tests_without_xml): Update.
6686
73eb7709
PA
66872014-05-16 Pedro Alves <palves@redhat.com>
6688
6689 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6690 instead of "unknown output after running".
6691
3fae92fc
YQ
66922014-05-16 Yao Qi <yao@codesourcery.com>
6693
6694 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6695 file1.txt from host at the end.
6696 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6697
c2b2ccc5
DE
66982014-05-15 Doug Evans <dje@google.com>
6699
6700 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6701 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6702 loading file. Add test for TU lookup.
6703
8c217a4b
SM
67042014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6705
6706 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6707 calling "-exec-arguments" or "set args" before running the
6708 inferior.
6709
3deb39c6
SM
67102014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6711
6712 * lib/mi-support.exp (mi_expect_stop): Expect message for
6713 inferiors that exit with non-zero exit code.
6714
71a79f8c
YQ
67152014-05-14 Yao Qi <yao@codesourcery.com>
6716
6717 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6718 match absolute path on remote host.
6719 (test_file_list_exec_source_files): Remove "/" from the
6720 pattern.
6721
f23fcd46
YQ
67222014-05-14 Yao Qi <yao@codesourcery.com>
6723
6724 * boards/local-remote-host-notty.exp (${board}_file): New
6725 proc.
6726
9404b58f
KM
67272014-05-07 Kyle McMartin <kyle@redhat.com>
6728
6729 Pushed by Joel Brobecker <brobecker@adacore.com>.
6730 * gdb.arch/aarch64-atomic-inst.c: New file.
6731 * gdb.arch/aarch64-atomic-inst.exp: New file.
6732
5e45f04c
YQ
67332014-05-07 Yao Qi <yao@codesourcery.com>
6734
6735 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6736 in current context" too.
6737
c888a17d
KS
67382014-05-05 Keith Seitz <keiths@redhat.com>
6739
6740 * gdb.linespec/ls-dollar.exp: Add test for linespec
6741 file:convenience_variable.
6742
290a839c
YQ
67432014-05-05 Yao Qi <yao@codesourcery.com>
6744
6745 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6746 traceframes into tfile and ctf trace files. Read data from
6747 trace file and test collected data.
6748 (gdb_collect_locals_test): Likewise.
6749 (gdb_unavailable_registers_test): Likewise.
6750 (gdb_unavailable_floats): Likewise.
6751 (gdb_collect_globals_test): Likewise.
6752 (top-level): Append "ctf" to trace_file_targets if GDB
6753 supports.
6754
b5262cd0
YQ
67552014-05-05 Yao Qi <yao@codesourcery.com>
6756
6757 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6758 code to ...
6759 (gdb_collect_args_test_1): ... it. New proc.
6760 (gdb_collect_locals_test): Move some code to ...
6761 (gdb_collect_locals_test_1): ... it. New proc.
6762 (gdb_unavailable_registers_test): Move some code to ...
6763 (gdb_unavailable_registers_test_1): ... it. New proc.
6764 (gdb_unavailable_floats): Move some code to ...
6765 (gdb_unavailable_floats_1): ... it. New proc.
6766
30a1e6cc
SDJ
67672014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6768
6769 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6770 probes to test for bitness recognition.
6771 * gdb.arch/amd64-stap-optional-prefix.exp
6772 (test_probe_value_without_reg): New procedure.
6773 Add code to test for different kinds of bitness.
6774
f33da99a
SDJ
67752014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6776
6777 PR breakpoints/16889
6778 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6779 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6780
5b80f00d
PA
67812014-05-01 Pedro Alves <palves@redhat.com>
6782
6783 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6784 gdb_file_cmd if no file is specified.
6785 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6786 last_loaded_file to set the remote exec-file.
6787
f8c2a73c
PA
67882014-05-01 Pedro Alves <palves@redhat.com>
6789
6790 * boards/local-remote-host.exp: New file.
6791
be6e8ac7
PA
67922014-05-01 Pedro Alves <palves@redhat.com>
6793
6794 * boards/local-remote-host.exp: Rename to ...
6795 * boards/local-remote-host-notty.exp: ... this.
6796
cac0dc8f
JB
67972014-04-28 Joel Brobecker <brobecker@adacore.com>
6798
6799 * gdb.ada/dyn_arrayidx: New testcase.
6800
9730e6cc
YQ
68012014-04-26 Yao Qi <yao@codesourcery.com>
6802
6803 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6804 and compute the length of function main. Save it in
6805 $main_length.
6806 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6807 (top-level): Use gdb_compile to compile objects into
6808 executable and restart GDB. Remove invocation to
6809 prepare_for_testing.
6810
7ae1a6a6
PA
68112014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6812 Pedro Alves <palves@redhat.com>
6813
6814 PR server/16255
6815 * gdb.multi/multi-attach.c: New file.
6816 * gdb.multi/multi-attach.exp: New file.
6817
4082afcc
PA
68182014-04-25 Pedro Alves <palves@redhat.com>
6819
6820 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6821 user.
6822 (top level): Test that "set remote conditional-breakpoints-packet
6823 off" works as intended.
6824 * gdb.base/dprintf.exp: Test that "set remote
6825 breakpoint-commands-packet off" works as intended.
6826 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6827 New function.
6828 (top level): Call it.
6829 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6830 remote fast-tracepoints-packet off" works as intended.
6831 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6832 * lib/gdb.exp (gdb_is_target_remote): ... here.
6833
2abc3f8d
DB
68342014-04-24 David Blaikie <dblaikie@gmail.com>
6835
6836 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6837 ensure clang would not discard them.
6838 * gdb.base/gdbvars.c: Ditto.
6839 * gdb.base/memattr.c: Ditto.
6840 * gdb.base/whatis.c: Ditto.
6841 * gdb.python/py-prettyprint.c: Ditto.
6842 * gdb.trace/actions.c: Ditto.
6843 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6844 ensure clang would not discard it.
6845
bfd39632
DB
68462014-04-24 David Blaikie <dblaikie@gmail.com>
6847
6848 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6849 clang to emit the full definition of type required by the test
6850 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6851
22842ff6
DB
68522014-04-24 David Blaikie <dblaikie@gmail.com>
6853
6854 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6855 coax Clang into emitting the definition of the type.
6856 * gdb.cp/pr10728-x.h (y): Ditto.
6857 * gdb.cp/pr10728-y.cc (y): Ditto.
6858
c2e827ad
DB
68592014-04-24 David Blaikie <dblaikie@gmail.com>
6860
6861 * gdb.base/label.exp: XFAIL label related tests under Clang.
6862 * gdb.cp/cplabel.exp: Ditto.
6863 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6864 under Clang those using labels.
6865
4c2d33e7
YQ
68662014-04-25 Yao Qi <yao@codesourcery.com>
6867
6868 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6869 double_label.
6870 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6871 partial_label and double_label.
6872
56083b99
DB
68732014-04-24 David Blaikie <dblaikie@gmail.com>
6874
6875 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6876
25d4e99d
DB
68772014-04-24 David Blaikie <dblaikie@gmail.com>
6878
6879 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6880 of the function to work across GCC and Clang.
6881 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6882 pointer types (const void ** const V void **).
6883
01f9f808
MS
68842014-04-24 Michael Sturm <michael.sturm@mintel.com>
6885 Walfred Tedeschi <walfred.tedeschi@intel.com>
6886
6887 * Makefile.in (EXECUTABLES): Added i386-avx512.
6888 * gdb.arch/i386-avx512.c: New file.
6889 * gdb.arch/i386-avx512.exp: Likewise.
6890
4b48d439
KS
68912014-04-23 Keith Seitz <keiths@redhat.com>
6892
6893 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6894 (mi_make_breakpoint_table): New procedure.
6895 (mi_create_breakpoint): Use mi_make_breakpoint
6896 and return the result.
6897 (mi_make_breakpoint): New procedure.
6898 (mi_build_kv_pairs): New procedure.
6899
6900 * gdb.mi/mi-break.exp: Remove unused globals,
6901 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6902 All callers updated.
6903 * gdb.mi/mi-dprintf.exp: Use variable to track command
6904 number.
6905 Update all callers of mi_create_breakpoint and use
6906 mi_make_breakpoint_table.
6907 Remove any unused global variables.
6908 * gdb.mi/mi-nonstop.exp: Likewise.
6909 * gdb.mi/mi-nsintrall.exp: Likewise.
6910 * gdb.mi/mi-nsmoribund.exp: Likewise.
6911 * gdb.mi/mi-nsthrexec.exp: Likewise.
6912 * gdb.mi/mi-reverse.exp: Likewise.
6913 * gdb.mi/mi-simplerun.exp: Likewise.
6914 * gdb.mi/mi-stepn.exp: Likewise.
6915 * gdb.mi/mi-syn-frame.exp: Likewise.
6916 * gdb.mi/mi-until.exp: Likewise.
6917 * gdb.mi/mi-var-cp.exp: Likewise.
6918 * gdb.mi/mi-var-display.exp: Likewise.
6919 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6920 * gdb.mi/mi2-var-child.exp: Likewise.
6921 * gdb.mi/mi-vla-c99.exp: Likewise.
6922 * lib/mi-support.exp: Likewise.
6923
6924 From Ian Lance Taylor <iant@cygnus.com>:
6925 * lib/gdb.exp (parse_args): New procedure.
6926
08351840
PA
69272014-04-23 Pedro Alves <palves@redhat.com>
6928
6929 * gdb.base/break-unload-file.c: New file.
6930 * gdb.base/break-unload-file.exp: New file.
6931 * gdb.base/sym-file-lib.c (baz): New function.
6932 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6933 field.
6934 (load): Store the segment's mapped size.
6935 (unload): New function.
6936 (unload_shlib): New function.
6937 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6938 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6939 set a breakpoint at baz, and call it.
6940 * gdb.base/sym-file.exp: New tests for stale breakpoint
6941 instructions.
6942
076855f9
PA
69432014-04-23 Pedro Alves <palves@redhat.com>
6944
6945 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6946 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6947 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6948 * gdb.base/hbreak-unmapped.c: New file.
6949 * gdb.base/hbreak-unmapped.exp: New file.
6950 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6951 * lib/gdb.exp (gdb_is_target_remote): ... here.
6952
483805cf
PA
69532014-04-22 Pedro Alves <palves@redhat.com>
6954
6955 * gdb.base/consecutive-step-over.c: New file.
6956 * gdb.base/consecutive-step-over.exp: New file.
6957
06d97543
PA
69582014-04-22 Pedro Alves <palves@redhat.com>
6959
6960 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6961 instead of send_gdb/gdb_expect.
6962
b4429ea2
YQ
69632014-04-22 Yao Qi <yao@codesourcery.com>
6964
6965 * lib/trace-support.exp (generate_tracefile): New procedure.
6966 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6967 return 0.
6968 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6969 if generate_tracefile returns 1.
6970
51d48146
PA
69712014-04-18 Tom Tromey <palves@redhat.com>
6972 Pedro alves <tromey@redhat.com>
6973
6974 PR backtrace/15558
6975 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6976 with a backtrace limit.
6977 * gdb.python/py-frame-inline.exp: Test running to an inline
6978 function with a backtrace limit, and printing the newest frame.
6979 * gdb.python/py-frame-inline.c (main): Call f.
6980
bd1dce5f
MS
69812014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6982
6983 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6984
40d1a503
MS
69852014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6986
6987 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6988 Drop prefix from unsupported source file path.
6989
389b98f7
YQ
69902014-04-17 Yao Qi <yao@codesourcery.com>
6991
6992 * lib/gdb.exp (with_target_charset): New proc.
6993 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6994 with_target_charset.
6995 (test_print_strings): Likewise.
6996 (test_repeat_bytes): Likewise.
6997 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6998 for some tests.
6999
22869d73
KS
70002014-04-16 Keith Seitz <keiths@redhat.com>
7001
7002 PR gdb/15827
7003 * gdb.dwarf2/corrupt.c: New file.
7004 * gdb.dwarf2/corrupt.exp: New file.
7005
c4f87ca6
KS
70062014-04-16 Keith Seitz <keiths@redhat.com>
7007
7008 PR c++/16597
7009 * gdb.cp/namelessclass.cc: New file.
7010 * gdb.cp/namelessclass.exp: New file.
7011 * gdb.cp/namelessclass.S: New file.
7012
ab19de87
DE
70132014-04-16 Doug Evans <dje@google.com>
7014
7015 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7016 Add comment.
7017 (gdbserver_default_get_comm_port): New function.
7018 (gdbserver_start): Check if board file provided
7019 "gdbserver,get_comm_port" and use it if so.
7020 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7021 (gdb,socketport): Set to "stdio".
7022 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7023 (stdio_gdbserver_template): Delete.
7024 (${board}_get_remote_address): Update.
7025 (${board}_build_remote_cmd): Delete.
7026 (${board}_get_comm_port): New function.
7027 (${board}_spawn): Update.
7028 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7029 Delete.
7030 (${board}_get_remote_address): Update.
7031 (${board}_get_comm_port): New function.
7032
fc98a809
AB
70332014-04-16 Andrew Burgess <aburgess@broadcom.com>
7034
7035 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7036 appearing in any order.
7037
87fd9e6e
DE
70382014-04-15 Doug Evans <dje@google.com>
7039
7040 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7041 uninitialized value of "description".
7042
099fc3ea
KS
70432014-04-15 Keith Seitz <keiths@redhat.com>
7044
7045 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7046 Remove unused globals.
7047 (test_running_the_program): Likewise.
7048 (test_controlled_execution): Likewise.
7049 (test_controlling_breakpoints): Likewise.
7050 (test_program_termination): Likewise.
7051
5da151d4
KS
70522014-04-15 Keith Seitz <keiths@redhat.com>
7053
7054 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7055 unused globals.
7056 (test_rbreak_creation_and_listing): Likewise.
7057 (test_ignore_count): Likewise.
7058 (test_error): Likewise.
7059
35e5d2f0
PA
70602014-04-15 Pedro Alves <palves@redhat.com>
7061
7062 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7063 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7064 sym-file-loader.c.
7065 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7066 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7067 to sym-file-loader.c.
7068 (struct library): Forward declare.
7069 (load_shlib, lookup_function): Change prototypes.
7070 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7071 (translate_offset): Remove declarations.
7072 (get_text_addr): New declaration.
7073 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7074 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7075 sym-file-loader.h.
7076 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7077 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7078 here from sym-file-loader.h.
7079 (struct library): New structure.
7080 (load_shlib, lookup_function): Change prototypes and adjust to
7081 work with a struct library.
7082 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7083 (translate_offset): Make static.
7084 (get_text_addr): New function.
7085 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7086
eb4c1710
PA
70872014-04-15 Pedro Alves <palves@redhat.com>
7088
7089 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7090
2d1baf52
PA
70912014-04-15 Pedro Alves <palves@redhat.com>
7092
7093 * gdb.base/sym-file-loader.c: Include <limits.h>.
7094 (SELF_LINK): New define.
7095 (get_origin): New function.
7096 (load_shlib): Use it.
7097 * gdb.base/sym-file.exp: Don't early return if the target is
7098 remote. Use runto_main, and issue fail is that fails. Use
7099 gdb_load_shlibs.
7100 (shlib_name): Delete.
7101 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7102
7dd6df01
PA
71032014-04-15 Pedro Alves <palves@redhat.com>
7104
7105 * gdb.base/sym-file.exp: Remove regex characters from test
7106 message. Don't refer to breakpoint numbers in test messages.
7107
b50c8614
KS
71082014-04-14 Keith Seitz <keiths@redhat.com>
7109
7110 PR c++/16253
7111 * gdb.cp/var-tag.cc: New file.
7112 * gdb.cp/var-tag.exp: New file.
7113 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7114 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7115 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7116 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7117
3d567982
TT
71182014-04-14 Tom Tromey <tromey@redhat.com>
7119
7120 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7121 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7122 type.
7123 * gdb.cp/enum-class.exp: New file.
7124 * gdb.cp/enum-class.cc: New file.
7125
0626fc76
TT
71262014-04-14 Tom Tromey <tromey@redhat.com>
7127
7128 * gdb.dwarf2/enum-type.exp: New file.
7129
dca325b3
SA
71302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7131
7132 * gdb.mi/mi-vla-c99.exp: New file.
7133 * gdb.mi/vla.c: New file.
7134
5854b38a
SA
71352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7136
7137 * gdb.base/vla-datatypes.c: New file.
7138 * gdb.base/vla-datatypes.exp: New file.
7139
463bb957
SA
71402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7141
7142 * gdb.base/vla-ptr.c: New file.
7143 * gdb.base/vla-ptr.exp: New file.
7144
3dd170be
SA
71452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7146
7147 * gdb.dwarf2/count.exp: New file.
7148
5ecaaa66
SA
71492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7150
7151 * gdb.base/vla-sideeffect.c: New file.
7152 * gdb.base/vla-sideeffect.exp: New file.
7153
41f1ada5
DB
71542014-04-14 David Blaikie <dblaikie@gmail.com>
7155
7156 * gdb.mi/non-stop.c: Add return value for non-void function return
7157 statement.
7158 * gdb.threads/staticthreads.c: Ditto.
7159
0be03e84
DE
71602014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7161 Doug Evans <xdje42@gmail.com>
7162
7163 * gdb.guile/scm-value.c: Improve test case.
7164 * gdb.guile/scm-value.exp: Add new test.
7165
f180a1fb
DB
71662014-04-11 David Blaikie <dblaikie@gmail.com>
7167
7168 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7169 override Clang's default.
7170
6b662e19
JB
71712014-04-11 Joel Brobecker <brobecker@adacore.com>
7172
7173 Revert the following changes (regressions):
7174
7175 * gdb.base/vla-sideeffect.c: New file.
7176 * gdb.base/vla-sideeffect.exp: New file.
7177
7178 * gdb.dwarf2/count.exp: New file.
7179
7180 * gdb.base/vla-multi.c: New file.
7181 * gdb.base/vla-multi.exp: New file.
7182
7183 * gdb.base/vla-ptr.c: New file.
7184 * gdb.base/vla-ptr.exp: New file.
7185
7186 * gdb.base/vla-datatypes.c: New file.
7187 * gdb.base/vla-datatypes.exp: New file.
7188
7189 * gdb.mi/mi-vla-c99.exp: New file.
7190 * gdb.mi/vla.c: New file.
7191
245a5f0b
KS
71922014-04-11 Keith Seitz <keiths@redhat.com>
7193
7194 PR c++/16675
7195 * gdb.cp/cpsizeof.exp: New file.
7196 * gdb.cp/cpsizeof.cc: New file.
7197
58a84dcf
SA
71982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7199
191a8a90
JB
7200 * gdb.mi/mi-vla-c99.exp: New file.
7201 * gdb.mi/vla.c: New file.
58a84dcf 7202
c8655f75
SA
72032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7204
7205 * gdb.base/vla-datatypes.c: New file.
7206 * gdb.base/vla-datatypes.exp: New file.
7207
024e13b4
SA
72082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7209
7210 * gdb.base/vla-ptr.c: New file.
7211 * gdb.base/vla-ptr.exp: New file.
7212
1a237e0e
SA
72132014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7214
7215 * gdb.base/vla-multi.c: New file.
7216 * gdb.base/vla-multi.exp: New file.
7217
504f3432
SA
72182014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7219
7220 * gdb.dwarf2/count.exp: New file.
7221
3bce8237
SA
72222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7223
191a8a90
JB
7224 * gdb.base/vla-sideeffect.c: New file.
7225 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7226
322f9c21
YQ
72272014-04-11 Yao Qi <yao@codesourcery.com>
7228
7229 * gdb.base/completion.exp: Check file exists before running tests
7230 on file completion.
7231
d708bcd1
PA
72322014-04-10 Pedro Alves <palves@redhat.com>
7233
7234 * gdb.base/cond-eval-mode.c: New file.
7235 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7236 prepare_for_testing to build the new file. Check result of
7237 runto_main.
7238 (test_break, test_watch): New procedures.
7239 (top level): Use them.
7240
ae1d2761
PM
72412014-04-08 Pierre Muller <muller@sourceware.org>
7242
7243 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7244 Ctrl-V use for mingw hosts.
7245
7af389b8
SC
72462014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7247
7248 * gdb.python/py-value.c: Improve test case.
7249 * gdb.python/py-value.exp: Add new test.
7250
5e703181
DE
72512014-04-07 David Blaikie <dblaikie@gmail.com>
7252
7253 * lib/compiler.c: Identify the clang compiler.
7254 * lib/compiler.cc: Ditto.
7255
9810b410
YQ
72562014-04-03 Yao Qi <yao@codesourcery.com>
7257
7258 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7259
98d1b8dc
AB
72602014-04-01 Anton Blanchard <anton@samba.org>
7261
7262 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7263 messages unique.
7264
3114cea1
AB
72652014-04-01 Anton Blanchard <anton@samba.org>
7266
7267 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7268 prepare_for_testing.
7269
62f7182c
AB
72702014-04-01 Anton Blanchard <anton@samba.org>
7271
7272 * gdb.arch/ppc64-atomic-inst.c: Remove.
7273 * gdb.arch/ppc64-atomic-inst.S: New file.
7274 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7275
770e7fc7
DE
72762014-03-31 Doug Evans <dje@google.com>
7277
7278 * gdb.base/print-symbol-loading-lib.c: New file.
7279 * gdb.base/print-symbol-loading-main.c: New file.
7280 * gdb.base/print-symbol-loading.exp: New file.
7281
46e2bafa
YQ
72822014-03-31 Yao Qi <yao@codesourcery.com>
7283
7284 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7285
8776cfe9
JB
72862014-03-28 Joel Brobecker <brobecker@adacore.com>
7287
7288 * gdb.ada/mi_dyn_arr: New testcase.
7289
5d1ef361
DE
72902014-03-27 Doug Evans <dje@google.com>
7291
7292 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7293
b5bee914
YQ
72942014-03-27 Yao Qi <yao@codesourcery.com>
7295
7296 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7297 if target is nios2-*-*.
7298
0d4d0e77
YQ
72992014-03-26 Yao Qi <yao@codesourcery.com>
7300
7301 * lib/gdb.exp (readline_is_used): New proc.
7302 * gdb.base/completion.exp: Move tests on command complete up.
7303 Skip the rest of tests if readline is not used.
7304 * gdb.ada/complete.exp: Skp the test if readline is not
7305 used.
7306 * gdb.base/filesym.exp: Likewise.
7307 * gdb.base/macscp.exp: Likewise.
7308 * gdb.base/readline-ask.exp: Likewise.
7309 * gdb.base/readline.exp: Likewise.
7310 * gdb.python/py-cmd.exp: Likewise.
7311 * gdb.trace/tfile.exp: Likewise.
7312
29361eee
YQ
73132014-03-26 Yao Qi <yao@codesourcery.com>
7314
7315 * gdb.base/macscp.exp: Fix code format issues.
7316
bc9a5525
UW
73172014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7318
7319 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7320 * gdb.asm/powerpc64le.inc: New file.
7321
d3839ede
PA
73222014-03-25 Pedro Alves <palves@redhat.com>
7323 Doug Evans <dje@google.com>
7324
7325 * gdb.base/source-execution.c: New file.
7326 * gdb.base/source-execution.exp: New file.
7327 * gdb.base/source-execution.gdb: New file.
7328
01672a57
DE
73292014-03-24 Doug Evans <dje@google.com>
7330
7331 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7332 using fission.
7333
88bbeca9
HZ
73342014-03-24 Hui Zhu <hui@codesourcery.com>
7335 Pedro Alves <palves@redhat.com>
7336
7337 PR breakpoints/16101
7338 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7339 test pass/fail messages. Detect missing support for dprintf when
7340 breakpoints are actually inserted.
7341 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7342 breakpoints are actually inserted.
7343 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7344 fails.
7345
d2348791
JK
73462014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7347
7348 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7349
feef67ab
DE
73502014-03-22 Doug Evans <xdje42@gmail.com>
7351
7352 * gdb.python/python.exp (python not supported): Verify multi-line
7353 python command issues an error.
25d743f9 7354 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7355 guile command issues an error.
feef67ab 7356
ecebef6a
MR
73572014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7358
7359 * gdb.threads/thread-specific.exp: Handle the lack of usable
7360 $this_breakpoint and $this_thread.
7361
ccdd1909
HZ
73622014-03-21 Hui Zhu <hui@codesourcery.com>
7363
7364 * gdb.base/attach.exp (do_command_attach_tests): New.
7365
beb460e8
PA
73662014-03-20 Tom Tromey <tromey@redhat.com>
7367 Pedro Alves <palves@redhat.com>
7368
7369 PR cli/15718
7370 * gdb.base/condbreak-call-false.c: New file.
7371 * gdb.base/condbreak-call-false.exp: New file.
7372
40acf43a
PA
73732014-03-20 Pedro Alves <palves@redhat.com>
7374
7375 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7376 Delete.
7377 (block_signals, unblock_signals): Delete.
7378 (child_function_2, main): Remove references to deleted variable
7379 and functions.
7380
9f5e1e02
PA
73812014-03-20 Pedro Alves <palves@redhat.com>
7382
7383 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7384 Use pthread_kill to signal thread 2.
7385 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7386 Adjust to make the test send itself a signal rather than using the
7387 host's "kill" command.
7388
99619bea
PA
73892014-03-20 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.threads/multiple-step-overs.c: New file.
7392 * gdb.threads/multiple-step-overs.exp: New file.
7393 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7394 Adjust expected infrun debug output.
7395
2adfaa28
PA
73962014-03-20 Pedro Alves <palves@redhat.com>
7397
7398 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7399 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7400
31e77af2
PA
74012014-03-20 Pedro Alves <palves@redhat.com>
7402
7403 PR breakpoints/7143
7404 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7405 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7406 of gdb_test_multiple.
7407 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7408 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7409
b9f437de
PA
74102014-03-20 Pedro Alves <palves@redhat.com>
7411
7412 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7413 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7414
05adc73e
PA
74152014-03-19 Pedro Alves <palves@redhat.com>
7416
7417 * gdb.base/async.exp: Remove early return.
7418
6048b950
PA
74192014-03-19 Pedro Alves <palves@redhat.com>
7420
7421 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7422
8bcfb00a
PA
74232014-03-19 Pedro Alves <palves@redhat.com>
7424
7425 * gdb.base/async.exp (test_background): Expect \r\n after
7426 "completed." in the fail pattern.
7427
884e37dc
PA
74282014-03-19 Pedro Alves <palves@redhat.com>
7429
7430 * gdb.base/async.exp (test_background): New procedure.
7431 Use it for all background execution command tests.
7432
148e57e2
PA
74332014-03-19 Pedro Alves <palves@redhat.com>
7434
7435 * gdb.base/async.exp: Use prepare_for_testing.
7436
f48088c7
PA
74372014-03-19 Pedro Alves <palves@redhat.com>
7438
7439 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7440 the same line.
7441
e2f6c966
PA
74422014-03-19 Pedro Alves <palves@redhat.com>
7443
7444 * gdb.base/async.c (main): Add "jump here" and "until here" line
7445 marker comments.
7446 * gdb.base/async.exp (jump_here): New global.
7447 (jump& test): Use it.
7448 (until_here): New global.
7449 (until& test): Use it.
7450
c30568d4
PA
74512014-03-19 Pedro Alves <palves@redhat.com>
7452
7453 * gdb.base/async.exp: Don't frob gdb_protocol.
7454
0172b6a7
DE
74552014-03-18 Doug Evans <xdje42@gmail.com>
7456
7457 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7458 Fix spelling of exec-done-display.
7459
06c868a8
JK
74602014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7461
7462 PR gdb/15358
7463 * gdb.base/gdb-sigterm.c: New file.
7464 * gdb.base/gdb-sigterm.exp: New file.
7465
0c7e1a46
PA
74662014-03-18 Pedro Alves <palves@redhat.com>
7467
7468 PR gdb/13860
7469 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7470 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7471 solib-event.
7472
f7c77d93
JB
74732014-03-17 Joel Brobecker <brobecker@adacore.com>
7474
7475 * gdb.ada/pckd_arr_ren: New testcase.
7476
5a1e8c7a
DE
74772014-03-13 Doug Evans <xdje42@gmail.com>
7478
7479 PR guile/16612
7480 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7481 collect after discarding symbols.
7482
350e1a76
DE
74832014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
7484 Doug Evans <xdje42@gmail.com>
7485
7486 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7487 to history survives a gc.
7488
a69900ae
PA
74892014-03-13 Pedro Alves <palves@redhat.com>
7490
7491 * gdb.base/default.exp: Don't test "target procfs".
7492
5db9f0bd
PA
74932014-03-13 Pedro Alves <palves@redhat.com>
7494
7495 * gdb.base/default.exp: Update "target child" and "target procfs"
7496 tests to not expect "Unix".
7497
b3ccfe11
TT
74982014-03-12 Tom Tromey <tromey@redhat.com>
7499
7500 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7501 New procs. Add target-async tests.
7502 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7503 Add target-async tests.
7504
646f4417
AA
75052014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7506
7507 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7508 'func_start' and 'func_end' for the beginning and end of the
7509 function code, respectively.
7510 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7511 'func_end' instead of 'func' and 'main'.
7512
288c211f
AA
75132014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7514
7515 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7516 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7517 generate the debug info assembler source.
7518
e0c0f156
AA
75192014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7520
7521 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7522 * gdb.dwarf2/arr-subrange.exp: Likewise.
7523 * gdb.dwarf2/dwz.exp: Likewise.
7524 * gdb.dwarf2/method-ptr.exp: Likewise.
7525 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7526 * gdb.dwarf2/subrange.exp: Likewise.
7527 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7528 * gdb.dwarf2/implptrpiece.exp: Likewise.
7529 * gdb.dwarf2/nostaticblock.exp: Likewise.
7530
0e5c4555
AA
75312014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7532
7533 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7534 directory to absolute path name arguments.
7535
5ec18f2b
JG
75362014-03-10 Joel Brobecker <brobecker@adacore.com>
7537
7538 * gdb.ada/tagged_access: New testcase.
7539
847fc4f2
MM
75402014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7541
7542 * gdb.btrace/data.exp: Update expected output.
7543
cc3da688
YQ
75442014-03-06 Yao Qi <yao@codesourcery.com>
7545
7546 * gdb.trace/pr16508.exp: New file.
7547
0f26cec1
PA
75482014-03-05 Pedro Alves <palves@redhat.com>
7549
7550 PR gdb/16575
7551 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7552 procedure.
7553 (top level): Adjust to use it. Add tests that exercise breakpoint
7554 interaction with the code-cache.
7555
7a5a839f
LC
75562014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
7557
7558 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7559 test for 'history-append!'.
7560
31aa7e4e
JB
75612014-02-26 Joel Brobecker <brobecker@adacore.com>
7562
7563 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7564 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7565 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7566 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7567 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7568 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7569
1b588015
JB
75702014-02-26 Joel Brobecker <brobecker@adacore.com>
7571
7572 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7573 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7574 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7575
55426c9d
JB
75762014-02-26 Joel Brobecker <brobecker@adacore.com>
7577
7578 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7579
dc53a7ad
JB
75802014-02-26 Joel Brobecker <brobecker@adacore.com>
7581
7582 * gdb.dwarf2/arr-stride.c: New file.
7583 * gdb.dwarf2/arr-stride.exp: New file.
7584
12ab52e9
PA
75852014-02-26 Pedro Alves <palves@redhat.com>
7586
7587 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7588 that won't ever trigger. Make sure that GDB reports the correct
7589 breakpoint that caused the stop.
7590
849c862e
JK
75912014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7592
7593 PR gdb/16626
7594 * gdb.base/auto-load-script: New file.
7595 * gdb.base/auto-load.c: New file.
7596 * gdb.base/auto-load.exp: New file.
7597
71b7d793
JK
7598 PR gdb/16626
7599 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7600
e2f0d509
JK
76012014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7602
7603 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7604 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7605
50cc37c8
DE
76062014-02-24 Doug Evans <dje@google.com>
7607
7608 * lib/gdb.exp (run_on_host): Log error output if program fails.
7609
ea4758f2
PA
76102014-02-21 Pedro Alves <palves@redhat.com>
7611
7612 * gdb.threads/step-after-sr-lock.c: Rename to ...
7613 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7614 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7615 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7616 ... this.
7617
d7b30f67
SDJ
76182014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7619
7620 PR tdep/16397
7621 * gdb.arch/amd64-stap-special-operands.exp: New file.
7622 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7623 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7624 * gdb.arch/amd64-stap-triplet.S: Likewise.
7625 * gdb.arch/amd64-stap-triplet.c: Likewise.
7626
83deb43f
JB
76272014-02-20 Joel Brobecker <brobecker@adacore.com>
7628
7629 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7630 in .section pseudo-op.
7631
adde2bff
DE
76322014-02-20 lin zuojian <manjian2006@gmail.com>
7633 Joel Brobecker <brobecker@adacore.com>
7634 Doug Evans <xdje42@gmail.com>
7635
7636 PR symtab/16581
7637 * gdb.dwarf2/dw2-icycle.S: New file.
7638 * gdb.dwarf2/dw2-icycle.c: New file.
7639 * gdb.dwarf2/dw2-icycle.exp: New file.
7640
f7bd0f78
SC
76412014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7642
7643 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7644 operations on gdb.Value objects.
7645 * gdb.python/py-value-cc.exp: Add new test to test operations on
7646 gdb.Value objects.
7647
c17ef0d5
DE
76482014-02-18 Doug Evans <dje@google.com>
7649
7650 * Makefile.in (TESTS): New variable.
7651 (expanded_tests, expanded_tests_or_none): New variables
7652 (check-single): Pass $(expanded_tests_or_none) to runtest.
7653 (check-parallel): Only run tests in $(TESTS) if non-empty.
7654 (check/no-matching-tests-found): New rule.
7655 * README: Document TESTS makefile variable.
7656
5dd3176f
DE
76572014-02-18 Doug Evans <dje@google.com>
7658
7659 * Makefile.in (check-parallel): rm -rf outputs temp.
7660
0b10be4f
JK
76612014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7662
7663 Fix "ERROR: no fileid for" in the testsuite.
7664 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7665
85f224e7
DE
76662014-02-12 Doug Evans <dje@google.com>
7667
7668 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7669 (MISCELLANEOUS): New variable.
7670 (clean): rm -rf $(MISCELLANEOUS).
7671 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7672 dwp live in the same directory as symlinks, with each symlink pointed
7673 to a differently named file in a different directory.
7674
149b30ff
DE
76752014-02-11 Doug Evans <dje@google.com>
7676
7677 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7678 of Tcl file commands.
7679
1dfdac32
MK
76802014-02-10 Mark Kettenis <kettenis@gnu.org>
7681
7682 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7683 "kill -SIGUSR1 -1".
7684
aa4fb036
JB
76852014-02-10 Joel Brobecker <brobecker@adacore.com>
7686
7687 * gdb.ada/tick_length_array_enum_idx: New testcase.
7688
ed3ef339
DE
76892014-02-10 Doug Evans <xdje42@gmail.com>
7690
7691 * configure.ac (AC_OUTPUT): Add gdb.guile.
7692 * configure: Regenerate.
7693 * lib/gdb-guile.exp: New file.
7694 * lib/gdb.exp (get_target_charset): New function.
7695 * gdb.base/help.exp: Update expected output from "apropos apropos".
7696 * gdb.guile/Makefile.in: New file.
7697 * gdb.guile/guile.exp: New file.
7698 * gdb.guile/scm-arch.c: New file.
7699 * gdb.guile/scm-arch.exp: New file.
7700 * gdb.guile/scm-block.c: New file.
7701 * gdb.guile/scm-block.exp: New file.
7702 * gdb.guile/scm-breakpoint.c: New file.
7703 * gdb.guile/scm-breakpoint.exp: New file.
7704 * gdb.guile/scm-disasm.c: New file.
7705 * gdb.guile/scm-disasm.exp: New file.
7706 * gdb.guile/scm-equal.c: New file.
7707 * gdb.guile/scm-equal.exp: New file.
7708 * gdb.guile/scm-error.exp: New file.
7709 * gdb.guile/scm-error.scm: New file.
7710 * gdb.guile/scm-frame-args.c: New file.
7711 * gdb.guile/scm-frame-args.exp: New file.
7712 * gdb.guile/scm-frame-args.scm: New file.
7713 * gdb.guile/scm-frame-inline.c: New file.
7714 * gdb.guile/scm-frame-inline.exp: New file.
7715 * gdb.guile/scm-frame.c: New file.
7716 * gdb.guile/scm-frame.exp: New file.
7717 * gdb.guile/scm-generics.exp: New file.
7718 * gdb.guile/scm-gsmob.exp: New file.
7719 * gdb.guile/scm-iterator.c: New file.
7720 * gdb.guile/scm-iterator.exp: New file.
7721 * gdb.guile/scm-math.c: New file.
7722 * gdb.guile/scm-math.exp: New file.
7723 * gdb.guile/scm-objfile-script-gdb.in: New file.
7724 * gdb.guile/scm-objfile-script.c: New file.
7725 * gdb.guile/scm-objfile-script.exp: New file.
7726 * gdb.guile/scm-objfile.c: New file.
7727 * gdb.guile/scm-objfile.exp: New file.
7728 * gdb.guile/scm-ports.exp: New file.
7729 * gdb.guile/scm-pretty-print.c: New file.
7730 * gdb.guile/scm-pretty-print.exp: New file.
7731 * gdb.guile/scm-pretty-print.scm: New file.
7732 * gdb.guile/scm-section-script.c: New file.
7733 * gdb.guile/scm-section-script.exp: New file.
7734 * gdb.guile/scm-section-script.scm: New file.
7735 * gdb.guile/scm-symbol.c: New file.
7736 * gdb.guile/scm-symbol.exp: New file.
7737 * gdb.guile/scm-symtab-2.c: New file.
7738 * gdb.guile/scm-symtab.c: New file.
7739 * gdb.guile/scm-symtab.exp: New file.
7740 * gdb.guile/scm-type.c: New file.
7741 * gdb.guile/scm-type.exp: New file.
7742 * gdb.guile/scm-value-cc.cc: New file.
7743 * gdb.guile/scm-value-cc.exp: New file.
7744 * gdb.guile/scm-value.c: New file.
7745 * gdb.guile/scm-value.exp: New file.
7746 * gdb.guile/source2.scm: New file.
7747 * gdb.guile/types-module.cc: New file.
7748 * gdb.guile/types-module.exp: New file.
7749
7026a7c1
YQ
77502014-02-10 Yao Qi <yao@codesourcery.com>
7751
7752 PR testsuite/16543
7753 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7754 * configure: Regenerated.
7755 * Makefile.in: New file.
7756
6c466447
AS
77572014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7758
7759 * gdb.python/py-framefilter.exp: Fix typo.
7760
6e854735
YQ
77612014-02-08 Yao Qi <yao@codesourcery.com>
7762
7763 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7764 that no =breakpoint-modified is emitted when breakpoints are
7765 modified through MI commands.
7766
d137e6dc
PA
77672014-02-07 Pedro Alves <pedro@codesourcery.com>
7768 Pedro Alves <palves@redhat.com>
7769
7770 * gdb.threads/step-after-sr-lock.c: New file.
7771 * gdb.threads/step-after-sr-lock.exp: New file.
7772
b5ee5a50
PA
77732014-02-07 Pedro Alves <palves@redhat.com>
7774
7775 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7776
3c77faf3
JK
77772014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7778
7779 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7780 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7781
6dddc817
DE
77822014-02-06 Doug Evans <xdje42@gmail.com>
7783
7784 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7785 output.
7786
7787 * gdb.gdb/python-interrupts.exp: New file.
7788
de7b2893
YQ
77892014-02-05 Yao Qi <yao@codesourcery.com>
7790
7791 * gdb.trace/report.exp (use_collected_data): Test the output
7792 of "info threads" and "info inferiors".
7793
66d032ac
YQ
77942014-02-05 Yao Qi <yao@codesourcery.com>
7795
7796 Revert this patch:
7797
7798 2013-05-24 Yao Qi <yao@codesourcery.com>
7799
7800 * gdb.trace/tfile.exp: Test inferior and thread.
7801
591a12a1
UW
78022014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7803
7804 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7805 on a function.
7806 * gdb.base/step-bt.c: Call hello via function pointer to make
7807 sure its first instruction is executed on powerpc64le-linux.
7808
0ff3e01f
UW
78092014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7810
7811 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7812
084ee545
UW
78132014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7814
7815 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7816 of the test patterns for use on little-endian systems.
7817
6ed14ff3
UW
78182014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7819
7820 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7821 (decimal_vector): Fix for little-endian.
7822
401e27fd
JM
78232014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7824
7825 * gdb.arch/sparc-sysstep.exp: New file.
7826 * gdb.arch/sparc-sysstep.c: Likewise.
7827
7828 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7829
8b924729
EBM
78302014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7831
7832 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7833
fb151210
JB
78342014-01-23 Tom Tromey <tromey@redhat.com>
7835
7836 * gdb.ada/array_char_idx: New testcase.
7837
0740f8d8
TT
78382014-01-23 Tom Tromey <tromey@redhat.com>
7839
7840 PR python/16487:
7841 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7842 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7843 classes.
7844
21909fa1
TT
78452014-01-23 Tom Tromey <tromey@redhat.com>
7846
7847 PR python/16491:
7848 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7849 string from an inferior frame.
7850 * gdb.python/py-framefilter-mi.exp: Update.
7851
87ce2a04
DE
78522014-01-22 Doug Evans <dje@google.com>
7853
7854 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7855
237b092b
AA
78562014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7857
7858 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7859
d674a709
AA
78602014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7861
7862 * gdb.trace/entry-values.exp: Remove excess space character from
7863 regex patterns. Handle s390 call instruction.
7864
20fa3390
AA
78652014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7866
7867 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7868 define "*_start" label. Make "name" static.
7869 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7870 ${name} by references to ${name}_start.
7871
78466714
AA
78722014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7873
7874 * gdb.base/info-macros.exp: Remove "debug" from the compile
7875 options.
7876
ec9f644a
IB
78772014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7878
7879 * gdb.dlang/demangle.exp: New file.
7880
94b1b47e
IB
78812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7882
7883 * gdb.dlang/primitive-types.exp: New file.
7884
7f420862
IB
78852014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7886
7887 * configure.ac: Create gdb.dlang/Makefile.
7888 * configure: Regenerate.
7889 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7890 * gdb.dlang/Makefile.in: New file.
7891 * lib/d-support.exp: New file.
7892 * lib/gdb.exp (skip_d_tests): New proc.
7893
52834460
MM
78942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7895
7896 * gdb.btrace/delta.exp: Check reverse stepi.
7897 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7898 * gdb.btrace/finish.exp: New.
7899 * gdb.btrace/next.exp: New.
7900 * gdb.btrace/nexti.exp: New.
7901 * gdb.btrace/record_goto.c: Add comments.
7902 * gdb.btrace/step.exp: New.
7903 * gdb.btrace/stepi.exp: New.
7904 * gdb.btrace/multi-thread-step.c: New.
7905 * gdb.btrace/multi-thread-step.exp: New.
7906 * gdb.btrace/rn-dl-bind.c: New.
7907 * gdb.btrace/rn-dl-bind.exp: New.
7908 * gdb.btrace/data.c: New.
7909 * gdb.btrace/data.exp: New.
7910 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7911
6e07b1d2
MM
79122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7913
7914 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7915 * gdb.btrace/exception.exp: Update.
7916 * gdb.btrace/instruction_history.exp: Update.
7917 * gdb.btrace/record_goto.exp: Update.
7918 * gdb.btrace/tailcall.exp: Update.
7919 * gdb.btrace/unknown_functions.exp: Update.
7920 * gdb.btrace/delta.exp: New.
7921
0b722aec
MM
79222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7923
7924 * gdb.btrace/record_goto.exp: Add backtrace test.
7925 * gdb.btrace/tailcall.exp: Add backtrace test.
7926
066ce621
MM
79272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7928
7929 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7930 * gdb.btrace/record_goto.c: New.
7931 * gdb.btrace/record_goto.exp: New.
7932 * gdb.btrace/x86-record_goto.S: New.
7933
0688d04e
MM
79342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7935
7936 * gdb.btrace/function_call_history.exp: Update tests.
7937 * gdb.btrace/instruction_history.exp: Update tests.
7938
8710b709
MM
79392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7940
7941 * gdb.btrace/function_call_history.exp: Fix expected field
7942 order for "record function-call-history".
7943 Add new tests for "record function-call-history /c".
7944 * gdb.btrace/exception.cc: New.
7945 * gdb.btrace/exception.exp: New.
7946 * gdb.btrace/tailcall.exp: New.
7947 * gdb.btrace/x86-tailcall.S: New.
7948 * gdb.btrace/x86-tailcall.c: New.
7949 * gdb.btrace/unknown_functions.c: New.
7950 * gdb.btrace/unknown_functions.exp: New.
7951 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7952
5de9129b
MM
79532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7954
7955 * gdb.btrace/instruction_history.exp: Update.
7956 * gdb.btrace/function_call_history.exp: Update.
7957
23a7fe75
MM
79582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7959
7960 * gdb.btrace/function_call_history.exp: Fix expected function
7961 trace.
7962 * gdb.btrace/instruction_history.exp: Initialize traced.
7963 Remove traced_functions.
7964
724c7dd8
MM
79652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7966
7967 * gdb.btrace/function_call_history.exp: Update
7968 * gdb.btrace/instruction_history.exp: Update.
7969
6d78d93b
MM
79702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7971
7972 * gdb.btrace/enable.exp: Update expected text.
7973
93a360cc
OJ
79742014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7975
7976 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7977 bytes.
7978
3772b53f
MR
79792014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7980
7981 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7982
596662fa
OJ
79832014-01-15 Omair Javaid <omair.javaid@linaro.org>
7984
7985 * lib/gdb.exp (supports_process_record): Return true for
7986 arm*-linux*. (supports_reverse): Likewise.
7987
b5b08fb4
SC
79882014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7989
7990 PR python/15464
7991 PR python/16113
7992 * gdb.python/py-type.c: Enhance test case.
7993 * gdb.python/py-value-cc.cc: Likewise
7994 * gdb.python/py-type.exp: Add new tests.
7995 * gdb.python/py-value-cc.exp: Likewise
7996
52d7fb13
AA
79972014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7998 Pedro Alves <palves@redhat.com>
7999
8000 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8001 Make "name" extern.
8002 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8003 references to ${name}_start by references to ${name}.
8004
a2cd8cfe
JB
80052014-01-10 Joel Brobecker <brobecker@adacore.com>
8006
8007 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8008
4e23fced
JB
80092014-01-10 Joel Brobecker <brobecker@adacore.com>
8010
8011 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8012
c6a9e42c
PA
80132014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8014 Pedro Alves <palves@redhat.com>
8015
8016 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8017 mi_gdb_target_load.
c6a9e42c 8018
b7ea362b
PA
80192014-01-08 Pedro Alves <palves@redhat.com>
8020
8021 * gdb.threads/reconnect-signal.c: New file.
8022 * gdb.threads/reconnect-signal.exp: New file.
8023
5e3f4fab
EBM
80242014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8025
8026 * gdb.base/source-dir.exp: New file.
8027
79301218
JB
80282014-01-07 Joel Brobecker <brobecker@adacore.com>
8029
8030 * gdb.ada/mi_interface: New testcase.
8031
8e355c5d
JB
80322014-01-07 Joel Brobecker <brobecker@adacore.com>
8033
8034 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8035 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8036 gdb.ada/pp-rec-component/pck.ads: New files.
8037
c0d48811
JB
80382014-01-07 Joel Brobecker <brobecker@adacore.com>
8039
8040 * gdb.python/py-pp-integral.c: New file.
8041 * gdb.python/py-pp-integral.py: New file.
8042 * gdb.python/py-pp-integral.exp: New file.
8043
17b609c3 8044For older changes see ChangeLog-1993-2013.
c906108c 8045\f
8d8cb839
EZ
8046;; Local Variables:
8047;; mode: change-log
8048;; left-margin: 8
8049;; fill-column: 74
8050;; version-control: never
8051;; End:
902f2ccb 8052
618f726f 8053 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8054 Copying and distribution of this file, with or without modification,
8055 are permitted provided the copyright notice and this notice are preserved.
This page took 2.795051 seconds and 4 git commands to generate.