]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
fortran: Testsuite, fix different type naming across compilers.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0c13f7e5
BH
12016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
2
3 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
4 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10 * lib/fortran.exp (fortran_int4): New procedure.
11 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12 (fortran_logical4): Likewise.
13
9b9b09e9
BH
142016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15
16 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
17
a14d1f4d
BH
182016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
19
20 * lib/compiler.c: Add Intel specific preprocessor macros.
21 * lib/compiler.cc: Likewise.
22
7d49b1d0
LM
232016-04-13 Luis Machado <lgustavo@codesourcery.com>
24
25 * gdb.server/connect-with-no-symbol-file.c: New file.
26 * gdb.server/connect-with-no-symbol-file.exp: New file.
27
8392fa22
SM
282016-04-13 Simon Marchi <simon.marchi@ericsson.com>
29
30 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
31
8c4c4aeb
SM
322016-04-13 Simon Marchi <simon.marchi@ericsson.com>
33
34 * boards/gdbserver-base.exp (${board}_download): Copy source file to
35 standard output directory.
36
45e3745e
AT
372016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
38
39 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
40
e26b7e41
MM
412016-04-13 Markus Metzger <markus.t.metzger@intel.com>
42
43 * gdb.btrace/instruction_history.c (loop): Add declaration.
44
8ce09462
AT
452016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
46
47 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
48
2e88a1ea
SM
492016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
50
51 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
52 parentheses to print.
53 (continue_handler): Likewise.
54
f48e22e3
SM
552016-04-08 Simon Marchi <simon.marchi@ericsson.com>
56
57 * gdb.server/solib-list.exp: Remove is_remote check.
58 Pass shlib= to gdb_compile. Don't link shared library with
59 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
60 Run binary filename through "readlink -f" on the target.
61
096be756
PA
622016-04-08 Pedro Alves <palves@redhat.com>
63
64 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
65 interpreter filename as argument to gdbserver_spawn.
66 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
67 Return empty if $last_loaded_file does not exist.
68
06500533
JK
692016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
70
71 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
72 * gdb.base/jit-main.c: Use exit after usage.
73
2d35e871
JK
742016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
75
76 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
77 GDBHISTSIZE prior to the tests.
78 * gdb.base/gdbinit-history.exp: Likewise.
79
802016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
81
82 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
83 instead of build_executable. Use gdb_load_shlibs.
84
c8064e7e
YQ
852016-04-07 Yao Qi <yao.qi@linaro.org>
86
87 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
88 Execute "si" command.
89
bde47561
YQ
902016-04-07 Yao Qi <yao.qi@linaro.org>
91
92 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
93 number instead of the comments on some line.
94
b16f8a3b
DB
952016-04-06 Don Breazeal <donb@codesourcery.com>
96
97 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
98 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
99
c2f901df
SM
1002016-04-06 Simon Marchi <simon.marchi@ericsson.com>
101
102 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
103 standard_output_file. Remove unused binfile variable.
104
ac17fda0
CU
1052016-04-05 Catalin Udma <catalin.udma@freescale.com>
106
107 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
108 * gdb.python/py-mi-objfile.exp: Match "list main" output
109 in console format.
110
03a8c4df
SM
1112016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
112
113 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
114 absolute.
115
6e774b13
SM
1162016-04-05 Simon Marchi <simon.marchi@ericsson.com>
117
118 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
119 absolute.
120 * gdb.trace/ftrace.exp: Likewise.
121 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
122 targets as well.
123 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
124 (gdb_load_shlibs): Copy libraries to test directory when testing
125 natively. Only set solib-search-path if testing remotely.
126 * lib/mi-support.exp (mi_load_shlibs): Likewise.
127
7817ea46
SM
1282016-04-05 Simon Marchi <simon.marchi@ericsson.com>
129
130 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
131 gdb_download. Use it even if the target is not remote.
132 * gdb.base/jit.exp (compile_jit_test): Likewise.
133 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
134 output directory if the destination board is local, otherwise use
135 the standard remote_download from DejaGnu.
136 (gdb_download): Remove.
137 (gdb_load_shlibs): Use gdb_remote_download instead of
138 gdb_download.
139 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
140 Use gdb_remote_download instead of gdb_download. Use it even if
141 the target is not remote.
142 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
143 instead of gdb_download.
144
7beb7f68
SM
1452016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
146
147 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
148 (test_insert_delete_modify): Call mi_load_shlibs before trying to
149 run.
150
cc63428a
AV
1512016-04-01 Artemiy Volkov <artemiyv@acm.org>
152
153 PR gdb/19820
154 * gdb.base/printcmds.exp: Add artificial arrays tests.
155
64cdf930
PA
1562016-03-31 Pedro Alves <palves@redhat.com>
157
158 PR gdb/19858
159 * gdb.base/jit-main.c: Include unistd.h.
160 (ATTACH): Define to 0 if not already defined.
161 (wait_for_gdb, mypid): New globals.
162 (WAIT_FOR_GDB): New macro.
163 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
164 some breakpoint locations.
165 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
166 New procedures.
167 (one_jit_test): Add REATTACH parameter, and handle it. Use
168 continue_to_test_location.
169 (top level): Test attach, and adjusts calls to one_jit_test.
170
40dea8cb
PA
1712016-03-31 Pedro Alves <palves@redhat.com>
172
173 PR gdb/19858
174 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
175 BINSUFFIX parameter, and handle it.
176 (top level): Adjust calls compile_jit_test.
177
e7ea3ec7
CU
1782016-03-31 Catalin Udma <catalin.udma@freescale.com>
179
180 PR python/19743
181 * gdb.python/py-mi-events-gdb.py: New file.
182 * gdb.python/py-mi-events.c: New file.
183 * gdb.python/py-mi-events.exp: New file.
184
e6359af3
YQ
1852016-03-30 Yao Qi <yao.qi@linaro.org>
186
187 * gdb.reverse/until-precsave.exp: Match function name only.
188 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
189 Move malloc to a condition block.
190 * gdb.reverse/until-reverse.exp: Match function name only.
191
a4105d04
MK
1922016-03-29 Marcin Koƛcielnicki <koriakin@0x04.net>
193
194 * gdb.trace/ftrace.exp: Set arg0exp for s390.
195 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
196 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
197 variable for GPR 0 instead of assuming it is register 0.
198 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
199 * lib/trace-support.exp: Add s390 registers.
200
bfa6adb9
YQ
2012016-03-29 Yao Qi <yao.qi@linaro.org>
202
203 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
204
1e6697ea
YQ
2052016-03-24 Yao Qi <yao.qi@linaro.org>
206
207 * gdb.reverse/break-reverse.exp: Add quotation mark in the
208 test message.
209
64bcd522
AA
2102016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
211
212 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
213 maintaining separate logic for constructing the output path.
214
7868401b
DB
2152016-03-16 Don Breazeal <donb@codesourcery.com>
216
217 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
218 Retry fork and waitpid on interrupted system call errors.
219 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
220 Use with_timeout_factor to increase timeout by factor of 10.
221
1cafadb4
DB
2222016-03-15 Don Breazeal <donb@codesourcery.com>
223
224 * gdb.cp/scope-err.cc: New test program.
225 * gdb.cp/scope-err.exp: New test script.
226 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
227 lines and "set breakpoint here" comment.
228 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
229 Fixed some whitespace and format issues.
230 * gdb.mi/mi-linespec-err-cp.cc: New test program.
231 * gdb.mi/mi-linespec-err-cp.exp: New test script.
232
81516450
DE
2332016-03-15 Doug Evans <dje@google.com>
234
235 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
236 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
237 All callers updated. Add tests for enums, mixed flags register.
238
aa52b601
DE
2392016-03-15 Doug Evans <dje@google.com>
240
241 * gdb.base/skip.c (main): Call test_skip_file_and_function.
242 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
243
fa4ff313
SM
2442016-03-14 Simon Marchi <simon.marchi@ericsson.com>
245
246 * gdb.base/default.exp: Add $_as_string to the list of expected
247 convenience functions.
248
f2403c39
AB
2492016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
250
251 * gdb.base/maint.exp: New tests for 'maint info line-table'.
252
f2f3ccb9
SM
2532016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
254
255 * gdb.python/py-as-string.exp: New file.
256 * gdb.python/py-as-string.c: New file.
257
00dbd492
PA
2582016-03-09 Pedro Alves <palves@redhat.com>
259
260 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
261 signal" -> "Thread NN received signal" output change.
262 * gdb.threads/ia64-sigill.exp: Likewise.
263 * gdb.threads/linux-dp.exp: Likewise.
264 * gdb.threads/manythreads.exp: Likewise.
265 * gdb.threads/pending-step.exp: Likewise.
266 * gdb.threads/print-threads.exp: Likewise.
267 * gdb.threads/sigstep-threads.exp: Likewise.
268 * gdb.threads/staticthreads.exp: Likewise.
269 * gdb.threads/tls.exp: Likewise.
270
1e6697ea
YQ
2712016-03-09 Pedro Alves <palves@redhat.com>
272
273 * gdb.base/command-line-input.exp: New file.
274
b04fd3be
MK
2752016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
276
277 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
278 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
279 * gdb.trace/pending.exp: Accept leading dot before function name.
280 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
281 * lib/trace-support.exp: Set registers for ppc.
282
98fa59e9
MK
2832016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
284
285 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
286 use it for disassembly; accept .main in addition to main in backtrace.
287
f77198c8
MK
2882016-03-09 Wei-cheng Wang <cole945@gmail.com>
289 Marcin Koƛcielnicki <koriakin@0x04.net>
290
291 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
292 (gdb_recursion_test_ptr): New global variable.
293 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
294 gdb_recursion_test.
295 (gdb_c_test): Ditto.
296
ba84e0da
MK
2972016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
298
299 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
300 ordering.
301
4366d36e
MK
3022016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
303
304 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
305 (bar): Add bar_start_lbl label.
306 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
307 of foo/bar for emitting DWARF and tracing.
308
5eb264df
SDJ
3092016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
310
311 * analyze-racy-logs.py: Set executable bit.
312
fb6a751f
SDJ
3132016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
314
315 * Makefile.in (DEFAULT_RACY_ITER): New variable.
316 (CHECK_TARGET_TMP): Likewise.
317 (check-single-racy): New rule.
318 (check-parallel-racy): Likewise.
319 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
320 (do-check-parallel-racy): New rule.
321 (check-racy/%.exp): Likewise.
322 * README (Racy testcases): New section.
323 * analyze-racy-logs.py: New file.
324
bdf7e230
DE
3252016-03-03 Doug Evans <dje@google.com>
326
327 * gdb.base/skip.exp: Use with_test_prefix.
328
4719d415
YQ
3292016-03-03 Yao Qi <yao.qi@linaro.org>
330
331 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
332 Invoke step_over_syscall "clone" and break_cond_on_syscall
333 "clone".
334 * gdb.base/step-over-clone.c: New file.
335
ea507862
YQ
3362016-03-03 Yao Qi <yao.qi@linaro.org>
337
338 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
339 code format.
340
8fc8cbda
YQ
3412016-03-03 Yao Qi <yao.qi@linaro.org>
342
343 * gdb.base/disp-step-fork.c: Rename to ...
344 * gdb.base/step-over-fork.c: ... it. New file.
345 * gdb.base/disp-step-vfork.c: Rename to ...
346 * gdb.base/step-over-vfork.c: ... it. New file.
347 * gdb.base/disp-step-syscall.exp: Rename to ...
348 * gdb.base/step-over-syscall.exp: ... it. New file.
349 (disp_step_cross_syscall): Rename to ...
350 (step_over_syscall): ... it.
351
92fa70b0
YQ
3522016-03-03 Yao Qi <yao.qi@linaro.org>
353
354 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
355 If target supports condition evaluation on target, invoke
356 break_cond_on_syscall for fork and vfork.
357
e197ad3c
YQ
3582016-03-03 Yao Qi <yao.qi@linaro.org>
359
360 * gdb.base/disp-step-syscall.exp: Don't invoke
361 support_displaced_stepping.
362 (disp_step_cross_syscall): Test with displaced stepping off and
363 on if supported.
364
0b47da9f
YQ
3652016-03-03 Yao Qi <yao.qi@linaro.org>
366
367 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
368 proc.
369 (setup): New proc.
370 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
371 and setup.
372
065ab6dc
BH
3732016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
374
375 * gdb.fortran/vla-history.exp: Remove breakpoint.
376
07e448ad 3772016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
378
379 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
380
9ac2d526 3812016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
382
383 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
384
17807369
BH
3852016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
386
387 * gdb.mi/vla.f90: Nullify pointer after declaration.
388
86e501af
PA
3892016-03-01 Pedro Alves <palves@redhat.com>
390
391 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
392
1e903e32
PA
3932016-03-01 Pedro Alves <palves@redhat.com>
394
395 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
396 before anything else.
397 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
398 _GNU_SOURCE here.
399 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
400 before anything else.
401 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
402
6ccb54e2
PA
4032016-03-01 Pedro Alves <palves@redhat.com>
404
405 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
406
30ca9da1
YQ
4072016-03-01 Yao Qi <yao.qi@linaro.org>
408
409 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
410 prepare_for_testing.
411
dc856b38
YQ
4122016-03-01 Yao Qi <yao.qi@linaro.org>
413
414 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
415
4a932159
AA
4162016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
417
418 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
419 manually constructing the output path.
420
f2489477
AA
4212016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
422
423 * gdb.arch/s390-stackless.S: New.
424 * gdb.arch/s390-stackless.exp: New.
425
38899f16
IB
4262016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
427
428 * gdb.dlang/circular.c: New file.
429 * gdb.dlang/circular.exp: New file.
430
9fde51ed
YQ
4312016-02-26 Yao Qi <yao.qi@linaro.org>
432
433 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
434 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
435 (testcases): Update.
436
ce90fefe
YQ
4372016-02-26 Yao Qi <yao.qi@linaro.org>
438
439 * gdb.reverse/aarch64.c: Rename to ...
440 * gdb.reverse/insn-reverse.c: ... it.
441 * gdb.reverse/aarch64.exp: Rename to ...
442 * gdb.reverse/insn-reverse.exp: ... it.
443
3263bceb
YQ
4442016-02-26 Yao Qi <yao.qi@linaro.org>
445
446 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
447 (testcase_ftype): New.
448 (testcases): New array.
449 (n_testcases): New.
450 (main): Call each element in testcases.
451 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
452 (read_testcase): New.
453 Do the tests in a loop.
454
6cb59ff1
YQ
4552016-02-25 Yao Qi <yao.qi@linaro.org>
456
457 * gdb.base/branches.c: Remove.
458
ae91f625
MK
4592016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
460
461 PR gdb/13808
462 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
463
678b48b7
MK
4642016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
465
466 * gdb.trace/ftrace.exp: Remove unnecessary target check.
467
7337a6f2
MK
4682016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
469
470 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
471 change x86_64 call_insn to 'callq'.
472
861ca91f
AT
4732016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
474
475 * gdb.trace/tfile-avx.c: Move to...
476 * gdb.trace/tracefile-pseudo-reg.c: Here.
477 * gdb.trace/tfile-avx.exp: Move to...
478 * gdb.trace/tracefile-pseudo-reg.exp: Here.
479
bf74e428
GB
4802016-02-24 Gary Benson <gbenson@redhat.com>
481
482 * gdb.base/attach-pie-noexec.exp: Do not expect an error
483 message on attach.
484
cce0e923
DE
4852016-02-23 Doug Evans <dje@google.com>
486
487 * gdb.base/skip.c (test_skip): New function.
488 (end_test_skip_file_and_function): New function.
489 (test_skip_file_and_function): New function.
490 * gdb.base/skip1.c (test_skip): New function.
491 (skip1_test_skip_file_and_function): New function.
492 * gdb.base/skip.exp: Add tests for new skip options.
493 * gdb.base/skip-solib.exp: Update expected output.
494 * gdb.perf/skip-command.cc: New file.
495 * gdb.perf/skip-command.exp: New file.
496 * gdb.perf/skip-command.py: New file.
497
4000e47e
MK
4982016-02-22 Marcin Koƛcielnicki <koriakin@0x04.net>
499
500 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
501 info registers pattern.
502
24f75ead
IB
5032016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
504
505 * lib/future.exp: Add D support.
506 (gdb_find_gdc): New proc.
507 (gdb_default_target_compile): Add D support.
508
fbb7bcbe
WW
5092016-02-18 Wei-cheng Wang <cole945@gmail.com>
510
511 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
512 user+system time.
513 (trace_speed_test): Determine the iteration count for a time
514 between 15..30 seconds.
515
012b3a21
WT
5162016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
517
518 * gdb.arch/i386-mpx-sigsegv.c: New file.
519 * gdb.arch/i386-mpx-sigsegv.exp: New file.
520 * gdb.arch/i386-mpx-simple_segv.c: New file.
521 * gdb.arch/i386-mpx-simple_segv.exp: New file.
522
2d5189bd
YQ
5232016-02-18 Yao Qi <yao.qi@linaro.org>
524
525 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
526 Don't call setup_kfail.
527
40fb20d0
YQ
5282016-02-18 Yao Qi <yao.qi@linaro.org>
529
530 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
531 Set "set breakpoint condition-evaluation" per $cond_bp_target.
532
21b1f8d2
DE
5332016-02-16 Doug Evans <dje@google.com>
534
535 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
536 * gdb.base/skip1.c: Ditto.
537 * gdb.base/skip.exp: Whitespace cleanup.
538
4041ed77
DB
5392016-02-16 Don Breazeal <donb@codesourcery.com>
540
541 PR remote/19496
542 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
543 Remove kfail for PR remote/19496.
544
c4ef31bf
SM
5452016-02-16 Simon Marchi <simon.marchi@ericsson.com>
546
547 * lib/gdb.exp (standard_temp_file): Return a path specific to
548 the runtest invocation.
549
266b65b3
SM
5502016-02-16 Simon Marchi <simon.marchi@ericsson.com>
551
552 * gdb.trace/save-trace.exp: Change relative path to be in the
553 standard output directory.
554
a7a0a6a9
JK
5552016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
556
557 * gdb.arch/i386-prologue.c: Add missing prototypes.
558
c99dbb42
JK
5592016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
560
561 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
562 * gdb.arch/i386-prologue.exp: Likewise.
563 * gdb.arch/i386-size.exp: Likewise.
564
aa480355
SM
5652016-02-15 Simon Marchi <simon.marchi@ericsson.com>
566
567 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
568 define object file path.
569 * gdb.btrace/gcore.exp: Use standard_output_file to define core
570 file path.
571 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
572 standard_output_file to define binfile.
573
ba881f50
JK
5742016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
575
576 Fix compatibility with recent gfortran-5.3.1.
577 * gdb.fortran/vla-history.exp (print vla1 allocated)
578 (print vla2 allocated, print $2, print $3): Remove
579 (print $4): Rename to ...
580 (print $2): ... here.
581 (print $9): Rename to ...
582 (print $5): ... here.
583 (print $10): Rename to ...
584 (print $6): ... here.
585 * gdb.fortran/vla.f90: Add pvla initialization.
586
e9fb005c
JK
5872016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
588
589 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
590 New test.
591 * gdb.fortran/vla-value-sub.exp: Likewise.
592
e44e00ff
MK
5932016-02-12 Marcin Koƛcielnicki <koriakin@0x04.net>
594
595 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
596
97e94151
SM
5972016-02-12 Simon Marchi <simon.marchi@ericsson.com>
598
599 * i386-biarch-core.exp: Define corefile using
600 standard_output_file.
601
01113bc1
YQ
6022016-02-12 Yao Qi <yao.qi@linaro.org>
603
604 * gdb.arch/arm-single-step-kernel-helper.c: New.
605 * gdb.arch/arm-single-step-kernel-helper.exp: New.
606
33b4777c
MM
6072016-02-12 Markus Metzger <markus.t.metzger@intel.com>
608
609 * gdb.btrace/tailcall-only.exp: New.
610 * gdb.btrace/tailcall-only.c: New.
611 * gdb.btrace/x86_64-tailcall-only.S: New.
612 * gdb.btrace/i686-tailcall-only.S: New.
613
acc23c11
PA
6142016-02-11 Pedro Alves <palves@redhat.com>
615
616 * README (Parallel testing): Add missing double quotes.
617
e352bf0a
PA
6182016-02-11 Pedro Alves <palves@redhat.com>
619
620 * README (Parallel testing): New section.
621 (GDB_PARALLEL): Rewrite.
622 (FORCE_PARALLEL): Document.
623
9f5fed78
MK
6242016-02-11 Marcin Koƛcielnicki <koriakin@0x04.net>
625
626 * gdb.trace/tfile-avx.c: New test.
627 * gdb.trace/tfile-avx.exp: New test.
628
9ef9e6a6
KS
6292016-02-09 Keith Seitz <keiths@redhat.com>
630
631 PR breakpoints/19546
632 * gdb.base/infcall-exec.c: New file.
633 * gdb.base/infcall-exec2.c: New file.
634 * gdb.base/infcall-exec.exp: New file.
635
a96e36da
KS
6362016-02-09 Keith Seitz <keiths@redhat.com>
637
638 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
639 (toplevel): Call test_bkpt_address.
640
9f61929f
KS
6412016-02-09 Keith Seitz <keiths@redhat.com>
642
643 PR python/19506
644 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
645 (toplevel): Call test_bkpt_address.
646
1e94266c
SM
6472016-02-09 Simon Marchi <simon.marchi@ericsson.com>
648
649 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
650 to AC_OUTPUT.
651 * configure: Regenerate.
652
2a7f3dff
PA
6532016-02-09 Pedro Alves <palves@redhat.com>
654
655 PR breakpoints/19548
656 * gdb.base/execl-update-breakpoints.c (some_function): New
657 function.
658 (main): Call it.
659 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
660 Tighten expected GDB output.
661
2151ccc5
SM
6622016-02-08 Simon Marchi <simon.marchi@ericsson.com>
663
664 * Makefile.in (ALL_SUBDIRS): Remove.
665 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
666 (distclean maintainer-clean realclean): Likewise.
667 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
668 * configure: Regenerate.
669 * gdb.ada/Makefile.in: Delete.
670 * gdb.arch/Makefile.in: Likewise.
671 * gdb.asm/Makefile.in: Likewise.
672 * gdb.base/Makefile.in: Likewise.
673 * gdb.btrace/Makefile.in: Likewise.
674 * gdb.cell/Makefile.in: Likewise.
675 * gdb.compile/Makefile.in: Likewise.
676 * gdb.cp/Makefile.in: Likewise.
677 * gdb.disasm/Makefile.in: Likewise.
678 * gdb.dlang/Makefile.in: Likewise.
679 * gdb.dwarf2/Makefile.in: Likewise.
680 * gdb.fortran/Makefile.in: Likewise.
681 * gdb.gdb/Makefile.in: Likewise.
682 * gdb.go/Makefile.in: Likewise.
683 * gdb.guile/Makefile.in: Likewise.
684 * gdb.java/Makefile.in: Likewise.
685 * gdb.linespec/Makefile.in: Likewise.
686 * gdb.mi/Makefile.in: Likewise.
687 * gdb.modula2/Makefile.in: Likewise.
688 * gdb.multi/Makefile.in: Likewise.
689 * gdb.objc/Makefile.in: Likewise.
690 * gdb.opencl/Makefile.in: Likewise.
691 * gdb.opt/Makefile.in: Likewise.
692 * gdb.pascal/Makefile.in: Likewise.
693 * gdb.perf/Makefile.in: Likewise.
694 * gdb.python/Makefile.in: Likewise.
695 * gdb.reverse/Makefile.in: Likewise.
696 * gdb.server/Makefile.in: Likewise.
697 * gdb.stabs/Makefile.in: Likewise.
698 * gdb.threads/Makefile.in: Likewise.
699 * gdb.trace/Makefile.in: Likewise.
700 * gdb.xml/Makefile.in: Likewise.
701 * lib/gdb.exp (make_gdb_parallel_path): Add check for
702 GDB_PARALLEL.
703 (standard_output_file): Remove check for GDB_PARALLEL, always
704 return path in outputs/$subdir/$testname.
705
437277d4
SM
7062016-02-08 Simon Marchi <simon.marchi@ericsson.com>
707
708 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
709 (site.exp): Assign abs_srcdir to tcl's srcdir.
710
31d913c7
YQ
7112016-02-04 Yao Qi <yao.qi@linaro.org>
712
713 * gdb.base/foll-exec-mode.c: Include limits.h.
714 (main): Add parameters argc and argv. Get directory from
715 argv[0].
716 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
717 compilation.
718 * gdb.base/foll-exec.c: Include limits.h.
719 (main): Add parameters argc and argv.
720 Get directory from argv[0].
721 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
722 Adjust tests on the number of lines as source code changed.
723 * gdb.base/foll-vfork-exit.c: Include limits.h.
724 (main): Add one line of statement before vfork.
725 * gdb.base/foll-vfork.c: Include limits.h and string.h.
726 (main): Add parameters argc and argv. Get directory from
727 argv[0].
728 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
729 (setup_gdb): Set tbreak to skip some source lines.
730 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
731 (main): Add parameters argc and argv. Get directory from
732 argv[0].
733 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
734 compilation.
735 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
736 (main): Add parameters argc and argv. Get directory from
737 argv[0].
738 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
739 compilation.
740
9482b9fb
DE
7412016-02-01 Doug Evans <dje@google.com>
742
743 * gdb.base/skip.exp: Clean up multiple references to same test name.
744
6b2e4f10
PA
7452016-02-01 Pedro Alves <palves@redhat.com>
746
ccb6afd6 747 PR remote/19496
6b2e4f10
PA
748 * gdb.threads/forking-threads-plus-breakpoint.exp
749 (displaced_stepping_supported): New global.
750 (probe_displaced_stepping_support): New procedure.
751 (do_test): Add 'displaced' parameter, and use it.
752 (top level): Check for displaced stepping support. Add displaced
753 stepping on/off testing axis.
754
37a8db1a
AB
7552016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
756
757 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
758 pointer. Don't perform further tests on the unassociated pointer
759 if the first test fails.
760
5fdf6324
AB
7612016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
762
763 * gdb.base/max-value-size.c: New file.
764 * gdb.base/max-value-size.exp: New file.
765 * gdb.base/huge.exp: Disable max-value-size for this test.
766
935c6144
IB
7672016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
768
769 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
770
7fe8399d
YQ
7712016-01-28 Yao Qi <yao.qi@linaro.org>
772
773 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
774
a2077e25
PA
7752016-01-25 Pedro Alves <palves@redhat.com>
776
777 PR threads/19461
778 * gdb.base/fork-running-state.c: New file.
779 * gdb.base/fork-running-state.exp: New file.
780
1d2736d4
PA
7812016-01-25 Pedro Alves <palves@redhat.com>
782
783 PR gdb/19494
784 * gdb.base/catch-fork-kill.c: New file.
785 * gdb.base/catch-fork-kill.exp: New file.
786
f1da4b11
PA
7872016-01-25 Pedro Alves <palves@redhat.com>
788
789 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
790 Delete, moved to lib/gdb.exp.
791 * gdb.threads/forking-threads-plus-breakpoint.exp
792 (foreach_with_prefix): Likewise.
793 * gdb.threads/process-dies-while-handling-bp.exp
794 (foreach_with_prefix): Likewise.
795 * lib/gdb.exp (foreach_with_prefix): New procedure.
796
45f38546
MK
7972016-01-25 Marcin Koƛcielnicki <koriakin@0x04.net>
798
799 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
800 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
801
dc29a1ce
MK
8022016-01-23 Marcin Koƛcielnicki <koriakin@0x04.net>
803
804 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
805 endian targets.
806
092127d7
JK
8072016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
808 Pedro Alves <palves@redhat.com>
809
810 Fix testsuite compatibility with Guile.
811 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
812 number.
813
31d765d3
JK
8142016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
815
816 Fix testsuite compatibility with Guile.
817 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
818 (thread 1): New test for backtrace through signal handler.
819
1ac78c04
YQ
8202016-01-22 Yao Qi <yao.qi@linaro.org>
821
822 PR testsuite/19491
823 * gdb.base/multi-forks.c: Include
824 ../lib/unbuffer_output.c
825 (main): Call gdb_unbuffer_output.
826
4f5946a8
DE
8272016-01-21 Doug Evans <dje@google.com>
828
829 * lib/ada.exp (gdb_compile_ada): Fix typo.
830
305e13e6
JB
8312016-01-21 Joel Brobecker <brobecker@adacore.com>
832
833 * gdb.base/break-fun-addr.exp: New file.
834 * gdb.base/break-fun-addr1.c: New file.
835 * gdb.base/break-fun-addr2.c: New file.
836
5f5dfff6
SM
8372016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
838
839 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
840 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
841 enum flag values.
842
fd356fa2
AA
8432016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
844
845 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
846 when GDB can not set the vector return value. Add more comments
847 for clarification.
848
9df22175
AT
8492016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
850
851 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
852 command.
853
41d1845e
SM
8542016-01-19 Simon Marchi <simon.marchi@ericsson.com>
855
856 * Makefile.in (DO_RUNTEST): Add --status and update usages.
857
01ac6840
SM
8582016-01-19 Simon Marchi <simon.marchi@ericsson.com>
859
860 * Makefile.in (check-single): Pass --status to runtest.
861 (check/%.exp): Likewise.
862
8632016-01-19 Simon Marchi <simon.marchi@ericsson.com>
864
865 * Makefile.in (check-parallel): Propagate return code from make
866 do-check-parallel.
867
bd0a71fa
MK
8682016-01-19 Marcin Koƛcielnicki <koriakin@0x04.net>
869
870 * gdb.trace/ftrace.exp: Fix expected message on continue.
871 * gdb.trace/pending.exp: Fix expected message on continue.
872 * gdb.trace/trace-break.exp: Fix expected message on continue.
873
8bcbad33
SM
8742016-01-18 Simon Marchi <simon.marchi@ericsson.com>
875
876 * lib/gdb.exp (gdb_test): Remove unused global references.
877
f303dbd6
PA
8782016-01-18 Pedro Alves <palves@redhat.com>
879
880 * gdb.base/async-shell.exp: Adjust expected output.
881 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
882 * gdb.base/siginfo-thread.exp: Adjust expected output.
883 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
884 * gdb.java/jnpe.exp: Adjust expected output.
885 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
886 * gdb.threads/continue-pending-status.exp: Adjust expected output.
887 * gdb.threads/leader-exit.exp: Adjust expected output.
888 * gdb.threads/manythreads.exp: Adjust expected output.
889 * gdb.threads/pthreads.exp: Adjust expected output.
890 * gdb.threads/schedlock.exp: Adjust expected output.
891 * gdb.threads/siginfo-threads.exp: Adjust expected output.
892 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
893 expected output.
894 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
895 output.
896 * gdb.threads/sigthread.exp: Adjust expected output.
897 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
898
b2789696
YQ
8992016-01-18 Yao Qi <yao.qi@linaro.org>
900
901 * gdb.guile/scm-section-script.c: Replace @progbits with
902 %progbits.
903 * gdb.python/py-section-script.c: Likewise.
904
71ef29a8
PA
9052016-01-15 Pedro Alves <palves@redhat.com>
906
907 * gdb.multi/tids.exp: Test star wildcard ranges.
908
3f5b7598
PA
9092016-01-15 Pedro Alves <palves@redhat.com>
910
911 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
912 command from "thread apply" invocation.
913 (thr_apply_info_thr_invalid): Default the expected output to the
914 input tid list.
915 (top level): Add tests that use convenience variables. Add tests
916 for "thread apply" with a valid TID list, but missing the command.
917
663f6d42
PA
9182016-01-13 Pedro Alves <palves@redhat.com>
919
920 * gdb.base/default.exp: Expect $_gthread as well.
921 * gdb.multi/tids.exp: Test $_gthread.
922 * gdb.threads/thread-specific.exp: Test $_gthread.
923
c84f6bbf
PA
9242016-01-13 Pedro Alves <palves@redhat.com>
925
926 * gdb.multi/tids.exp: Test "info threads -gid".
927
22a02324
PA
9282016-01-13 Pedro Alves <palves@redhat.com>
929
930 * gdb.multi/tids.exp: Test InferiorThread.global_num and
931 Breakpoint.thread.
932 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
933
5d5658a1
PA
9342016-01-07 Pedro Alves <palves@redhat.com>
935
936 * gdb.base/break.exp: Adjust to output changes.
937 * gdb.base/hbreak2.exp: Likewise.
938 * gdb.base/sepdebug.exp: Likewise.
939 * gdb.base/watch_thread_num.exp: Likewise.
940 * gdb.linespec/keywords.exp: Likewise.
941 * gdb.multi/info-threads.exp: Likewise.
942 * gdb.threads/thread-find.exp: Likewise.
943 * gdb.multi/tids.c: New file.
944 * gdb.multi/tids.exp: New file.
945
84654457
PA
9462016-01-13 Pedro Alves <palves@redhat.com>
947
948 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
949
e3940304
PA
9502016-01-13 Pedro Alves <palves@redhat.com>
951
952 * gdb.base/default.exp: Expect $_inferior as well.
953 * gdb.multi/base.exp: Test $_inferior.
954
a911d87a
PA
9552016-01-13 Pedro Alves <palves@redhat.com>
956
957 PR breakpoints/19388
958 * gdb.base/catch-signal-siginfo-cond.c: New file.
959 * gdb.base/catch-signal-siginfo-cond.exp: New file.
960
82075af2
JS
9612016-01-12 Josh Stone <jistone@redhat.com>
962 Philippe Waroquiers <philippe.waroquiers@skynet.be>
963
964 * gdb.base/catch-syscall.c (do_execve): New variable.
965 (main): Conditionally trigger an execve.
966 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
967 (test_catch_syscall_execve): New, check entry/return across execve.
968 (do_syscall_tests): Call test_catch_syscall_execve.
969
e46eeedd
PA
9702016-01-12 Pedro Alves <palves@redhat.com>
971
972 * gdb.base/random-signal.exp (do_test): New procedure, with body
973 of testcase moved in.
974
01d8c27e
JK
9752016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
976 Pedro Alves <palves@redhat.com>
977
978 * gdb.base/funcargs.exp (finish from indirectly called function):
979 Reintroduce the case for 'First'.
980
9a706302
JK
9812016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
982 Pedro Alves <palves@redhat.com>
983
984 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
985 (tcatch_vfork_then_child_follow_exec)
986 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
987 identification.
988
c0ecb95f
JK
9892016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
990
991 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
992 and repeats to unlimited.
993 * gdb.python/py-value.exp: Likewise.
994 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
995 and repeats to unlimited.
996
6cfc1fcb
JK
9972016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
998
999 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1000 and reordering the functions.
1001 * gdb.multi/hangout.c: Likewise.
1002 * gdb.multi/hello.c: Likewise.
1003
582a1b00
SM
10042016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1005
1006 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1007 absolute.
1008 (SingleStatisticTestResult.report): Use dict.keys instead of
1009 dict.iterkeys.
1010
79bc59cb
PA
10112016-01-06 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1014
43368e1d
MM
10152016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1016
1017 * gdb.btrace/dlopen.exp: New.
1018 * gdb.btrace/dlopen.c: New.
1019 * gdb.btrace/dlopen-dso.c: New.
1020
79fad5b8
SL
10212015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1022
1023 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1024 PATTERN argument is optional.
1025
ab8314b3
JB
10262015-12-24 Joel Brobecker <brobecker@adacore.com>
1027
1028 * lib/ada.exp (target_compile_ada_from_dir): New function.
1029 (gdb_compile_ada): Reimplement avoiding the use of project files.
1030 * gdb.ada/gnat_ada.gpr: Delete.
1031 * gdb.ada/cond_lang.exp: Adjust test to make path before
1032 filename optional.
1033 * gdb.ada/small_reg_param.exp: Likewise.
1034
fe33faff
SM
10352015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1036
1037 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1038
6d265cb4
TP
10392015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1040
1041 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1042 case.
1043
10125099
SM
10442015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1045
1046 * gdb.base/break.exp: Remove dead code.
1047 * gdb.base/sepdebug.exp: Likewise.
1048
3ca22649
SM
10492015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1050
1051 * gdb.asm/asm-source.exp: Remove HP-UX references.
1052 * gdb.base/annota1.exp: Likewise.
1053 * gdb.base/annota3.exp: Likewise.
1054 * gdb.base/attach.exp: Likewise.
1055 * gdb.base/bigcore.exp: Likewise.
1056 * gdb.base/break.exp: Likewise.
1057 * gdb.base/call-ar-st.exp: Likewise.
1058 * gdb.base/callfuncs.exp: Likewise.
1059 * gdb.base/catch-fork-static.exp: Likewise.
1060 * gdb.base/display.exp: Likewise.
1061 * gdb.base/foll-exec-mode.exp: Likewise.
1062 * gdb.base/foll-exec.exp: Likewise.
1063 * gdb.base/foll-fork.exp: Likewise.
1064 * gdb.base/foll-vfork.exp: Likewise.
1065 * gdb.base/funcargs.exp: Likewise.
1066 * gdb.base/hbreak2.exp: Likewise.
1067 * gdb.base/inferior-died.exp: Likewise.
1068 * gdb.base/interrupt.exp: Likewise.
1069 * gdb.base/multi-forks.exp: Likewise.
1070 * gdb.base/nodebug.exp: Likewise.
1071 * gdb.base/sepdebug.exp: Likewise.
1072 * gdb.base/solib1.c: Likewise.
1073 * gdb.base/step-test.exp: Likewise.
1074 * gdb.mi/non-stop.c: Likewise.
1075 * gdb.mi/pthreads.c: Likewise.
1076 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1077 * gdb.threads/pthreads.c: Likewise.
1078 * gdb.threads/staticthreads.exp: Likewise.
1079 * lib/future.exp: Likewise.
1080 * lib/gdb.exp: Likewise.
1081 * gdb.base/so-indr-cl.c: Remove.
1082 * gdb.base/so-indr-cl.exp: Likewise.
1083 * gdb.base/solib.c: Likewise.
1084 * gdb.base/solib.exp: Likewise.
1085 * gdb.base/solib2.c: Likewise.
1086
b6304613
SM
10872015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1088
1089 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1090 * gdb.base/call-ar-st.exp: Likewise.
1091 * gdb.base/callfuncs.exp: Likewise.
1092 * gdb.base/condbreak.exp: Likewise.
1093 * gdb.base/constvars.exp: Likewise.
1094 * gdb.base/hbreak2.exp: Likewise.
1095 * gdb.base/langs.exp: Likewise.
1096 * gdb.base/list.exp: Likewise.
1097 * gdb.base/long_long.exp: Likewise.
1098 * gdb.base/ptype.exp: Likewise.
1099 * gdb.base/scope.exp: Likewise.
1100 * gdb.base/signals.exp: Likewise.
1101 * gdb.base/so-impl-ld.exp: Likewise.
1102 * gdb.base/varargs.exp: Likewise.
1103 * gdb.base/volatile.exp: Likewise.
1104 * gdb.base/whatis.exp: Likewise.
1105 * gdb.cp/cplusfuncs.exp: Likewise.
1106 * gdb.cp/inherit.exp: Likewise.
1107 * gdb.cp/local.exp: Likewise.
1108 * gdb.cp/member-ptr.exp: Likewise.
1109 * gdb.cp/method.exp: Likewise.
1110 * gdb.cp/overload.exp: Likewise.
1111 * gdb.cp/templates.exp: Likewise.
1112 * gdb.stabs/weird.exp: Likewise.
1113 * lib/compiler.c: Likewise.
1114 * lib/compiler.cc: Likewise.
1115 * lib/cp-support.exp: Likewise.
1116 * lib/gdb.exp: Likewise.
1117
bf401b07
SM
11182015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1119
1120 * configure.ac: Remove HP-UX case.
1121 * configure: Regenerate.
1122
aff9c0f8
SM
11232015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1124
1125 * lib/gdb.exp (gdb_compile): Add function doc.
1126
a6904d5a
PA
11272015-12-17 Pedro Alves <palves@redhat.com>
1128
1129 PR threads/19354
1130 * gdb.multi/info-threads.exp: New file.
1131
a22279dd
YQ
11322015-12-15 Yao Qi <yao.qi@linaro.org>
1133
1134 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1135 is aarch64*-*-*.
1136
0588c796
SL
11372015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1138
1139 * gdb.base/history-duplicates.exp: Skip if no readline support.
1140
5d978e17
SL
11412015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1142
1143 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1144
7e763b86
SL
11452015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1146
1147 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1148
87a3a92c
SL
11492015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1150
1151 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1152 ctrl-C if nointerrupts target property is set.
1153 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1154 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1155 * gdb.base/paginate-bg-execution.exp: Likewise.
1156 * gdb.base/paginate-execution-startup.exp: Likewise.
1157 * gdb.base/random-signal.exp: Likewise.
1158 * gdb.base/range-stepping.exp: Likewise.
1159 * gdb.cp/annota2.exp: Likewise.
1160 * gdb.cp/annota3.exp: Likewise.
1161 * gdb.gdb/selftest.exp: Likewise.
1162 * gdb.threads/continue-pending-status.exp: Likewise.
1163 * gdb.threads/leader-exit.exp: Likewise.
1164 * gdb.threads/manythreads.exp: Likewise.
1165 * gdb.threads/pthreads.exp: Likewise.
1166 * gdb.threads/schedlock.exp: Likewise.
1167 * gdb.threads/sigthread.exp: Likewise.
1168
a8f077dc
DB
11692015-12-11 Don Breazeal <donb@codesourcery.com>
1170
1171 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1172 remote.
1173 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1174 * gdb.base/foll-exec.exp (main): Enable for target remote.
1175 * gdb.base/foll-fork.exp (main): Likewise.
1176 * gdb.base/foll-vfork.exp (main): Likewise.
1177 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1178 (proc continue_to_exit_bp_loc): Use clean_restart.
1179 * gdb.base/pie-execl.exp (main): Disable for target remote.
1180 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1181 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1182 * gdb.threads/execl.exp (main): Likewise.
1183 * gdb.threads/fork-child-threads.exp (main): Likewise.
1184 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1185 remote.
1186 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1187 remote.
1188 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1189 pid.tid style ptids, instead of just tid.
1190 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1191 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1192 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1193 ptids, instead of just tid.
1194
3b2464a8
AB
11952015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1196
1197 * gdb.base/list.exp (test_list_forward): Add end of file error
1198 test.
1199 (test_repeat_list_command): Add end of file error test.
1200 (test_list_backwards): Add beginning of file error test.
1201
a0def019
AB
12022015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1203
1204 * gdb.base/list.exp (test_list_invalid_args): New function,
1205 defined, and called.
1206
5c000dff
AB
12072015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1208
1209 * gdb.base/list.exp (test_list): Make test names unique.
1210
f1637ebe
YQ
12112015-12-11 Yao Qi <yao.qi@linaro.org>
1212
1213 * gdb.base/coremaker2.c: Remove.
1214
36d6fc0a
PA
12152015-12-10 Pedro Alves <palves@redhat.com>
1216
1217 * gdb.multi/base.exp: Remove stale "spaces" references.
1218
762f7747
PA
12192015-12-10 Pedro Alves <palves@redhat.com>
1220
1221 * gdb.multi/base.exp: Don't use nowarnings.
1222 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1223 * gdb.multi/hangout.c: Include stdio.h.
1224 * gdb.multi/hello.c: Include stdlib.h.
1225 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1226 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1227 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1228
28d2bfb9
AB
12292015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1230
1231 * gdb.dwarf2/dw2-ranges-base.c: New file.
1232 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1233 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1234 support additional line table, and debug ranges generation.
1235 (Dwarf::ranges): New function, generate .debug_ranges.
1236 (Dwarf::lines): Support generating simple line table programs.
1237 (Dwarf::assemble): Initialise new namespace variables.
1238
5fc2beac
KB
12392015-12-09 Kevin Buettner <kevinb@redhat.com>
1240
1241 * gdb.base/async.exp (proc test_background): Add case for
1242 asynchronous execution not supported.
1243
1c35a88f
LM
12442015-12-09 Luis Machado <lgustavo@codesourcery.com>
1245
1246 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1247 format and change test names to make them unique.
1248
b593e3d9
RK
12492015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1250 Pedro Alves <pedro@redhat.com>
1251
1252 PR gdb/18702
1253 Add checking of floatformats setup on x86_64 hosts.
1254 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1255 (smallval, bigval): New labels/constants.
1256 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1257 float" after loading bigval and smallval.
1258
d72413e6
PMR
12592015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1260
1261 * gdb.ada/fun_overload_menu.exp: New testcase.
1262 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1263
ece66d65
JS
12642015-12-04 Josh Stone <jistone@redhat.com>
1265
1266 * gdb.base/catch-fork-static.exp: New.
1267
41d0efca
YQ
12682015-12-03 Yao Qi <yao.qi@linaro.org>
1269
1270 * gdb.base/sizeof.c: Don't include stdio.h and
1271 ../lib/unbuffer_output.c.
1272 (main): New variable 'size' and 'value'. Remove printf and
1273 gdb_unbuffer_output. Assign return value to size and value.
1274 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1275 at the beginning.
1276 (check_sizeof): Check the result by printing variable 'size'.
1277 (check_valueof): Check the result by printing variable 'value'.
1278
99fd02d9
YQ
12792015-12-01 Yao Qi <yao.qi@linaro.org>
1280
1281 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1282 for aarch64*-*-linux* target.
1283
f2faf941
PA
12842015-11-30 Pedro Alves <palves@redhat.com>
1285
1286 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1287
04bf20c5
PA
12882015-11-30 Pedro Alves <palves@redhat.com>
1289
1290 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1291 Handle non-stop mode vCont replies.
1292
09df4675
PA
12932015-11-30 Pedro Alves <palves@redhat.com>
1294
1295 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1296 prepare_for_testing. Start gdb with "set non-stop on" appended to
1297 GDBFLAGS. Lax expected stop output.
1298
58b584af
YQ
12992015-11-27 Yao Qi <yao.qi@linaro.org>
1300
1301 * gdb.arch/arm-neon.exp: New.
1302 * gdb.arch/arm-neon.c: New.
1303
dfcb77a8
YQ
13042015-11-27 Yao Qi <yao.qi@linaro.org>
1305
1306 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1307
88e8ec1b
YQ
13082015-11-27 Yao Qi <yao.qi@linaro.org>
1309
1310 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1311 frames-invalid annotation.
1312
bfde72c2
YQ
13132015-11-27 Yao Qi <yao.qi@linaro.org>
1314
1315 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1316
f6512a69
SM
13172015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1318
1319 * gdb.threads/names.exp: New file.
1320 * gdb.threads/names.c: New file.
1321 * README: Mention gdb,no_thread_names.
1322
46a3515b
MM
13232015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1324
1325 PR 19297
1326 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1327 support" error.
1328
62147a22
PA
13292015-11-24 Pedro Alves <palves@redhat.com>
1330
1331 PR 17539
1332 * gdb.base/display.exp: Expect displays to be sorted in ascending
1333 order. Use multi_line.
1334 * gdb.base/solib-display.exp: Likewise.
1335
2f341b6e
PA
13362015-11-24 Pedro Alves <palves@redhat.com>
1337
1338 PR 17539
1339 * gdb.base/display.exp: Expect displays to be sorted in ascending
1340 order. Use multi_line.
1341 * gdb.base/solib-display.exp: Likewise.
1342
7e0aa6aa
PA
13432015-11-24 Pedro Alves <palves@redhat.com>
1344
1345 PR 17539
1346 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1347 threads in ascending order.
1348 * gdb.base/foll-fork.exp: Likewise.
1349 * gdb.base/foll-vfork.exp: Likewise.
1350 * gdb.base/multi-forks.exp: Likewise.
1351 * gdb.mi/mi-nonstop.exp: Likewise.
1352 * gdb.mi/mi-nsintrall.exp: Likewise.
1353 * gdb.multi/base.exp: Likewise.
1354 * gdb.multi/multi-arch.exp: Likewise.
1355 * gdb.python/py-inferior.exp: Likewise.
1356 * gdb.threads/break-while-running.exp: Likewise.
1357 * gdb.threads/execl.exp: Likewise.
1358 * gdb.threads/gcore-thread.exp: Likewise.
1359 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1360 * gdb.threads/kill.exp: Likewise.
1361 * gdb.threads/linux-dp.exp: Likewise.
1362 * gdb.threads/multiple-step-overs.exp: Likewise.
1363 * gdb.threads/next-bp-other-thread.exp: Likewise.
1364 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1365 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1366 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1367 * gdb.threads/thread-find.exp: Likewise.
1368 * gdb.threads/tls.exp: Likewise.
1369 * lib/mi-support.exp (mi_reverse_list): Delete.
1370 (mi_check_thread_states): No longer reverse list.
1371
2cc57ad8
PA
13722015-11-24 Pedro Alves <palves@redhat.com>
1373
1374 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1375 use lowercase.
1376
c93e8391
SM
13772015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1378
1379 * gdb.trace/actions.c: Include trace-common.h.
1380 (main): Add a location for a fast tracepoint.
1381 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1382 the normal tracepoints.
1383 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1384
045ccf91
SM
13852015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1386
1387 * save-trace.exp: Factor out code to these...
1388 (gdb_save_tracepoints): New.
1389 (gdb_load_tracepoints): New.
1390 (do_save_load_test): New.
1391
5506f9f6
KB
13922015-11-23 Kevin Buettner <kevinb@redhat.com>
1393
1394 * gdb.base/asmlabel.exp: New test.
1395 * gdb.base/asmlabel.c: New test case.
1396
16c3b12f
JB
13972015-11-23 Joel Brobecker <brobecker@adacore.com>
1398
1399 * gdb.base/wrong_frame_bt_full-main.c: New file.
1400 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1401 * gdb.base/wrong_frame_bt_full.exp: New file.
1402
155bfbd3
JB
14032015-11-23 Joel Brobecker <brobecker@adacore.com>
1404
1405 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1406
bb097445
JM
14072015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1408
206853a0 1409 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1410 pstate register when comparing registers values in
1411 sparc64-*-linux-gnu targets to avoid spurious differences.
1412
9c88ed8f
JM
14132015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1414
206853a0 1415 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1416
96161e25
SL
14172015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1418
1419 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1420 as type argument to gdb_compile.
1421 * gdb.base/nested-subp2.exp: Likewise.
1422 * gdb.base/nested-subp3.exp: Likewise.
1423
340c2830
DV
14242015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1425
1426 * lib/dwarf.exp (_note): Fix left shift of negative value.
1427 * gdb.trace/trace-condition.exp: Likewise.
1428
c1862d0f
YQ
14292015-11-13 Yao Qi <yao.qi@linaro.org>
1430
1431 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1432 comments about d10v.
1433 (test_scalar_returns): Likewise.
1434 * gdb.base/d10v.ld: Remove.
1435 * gdb.base/overlays.exp: Remove the target triplet checking for
1436 d10v-*-*.
1437 * gdb.base/structs.exp (test_struct_returns): Remove the
1438 comments about d10v.
1439 (test_struct_calls): Likewise.
1440
77ae9c19
YQ
14412015-11-13 Yao Qi <yao.qi@linaro.org>
1442
1443 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1444 * gdb.base/gnu_vector.c: Don't include stdio.h.
1445 (main): Don't print res and call add_some_intvecs.
1446
430e004e
MK
14472015-11-11 Marcin Koƛcielnicki <koriakin@0x04.net>
1448
1449 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1450 macro.
1451 (func5): Removed.
1452 (func4): Use FAST_TRACEPOINT_LABEL.
1453 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1454 macro.
1455 (func): Removed.
1456 (thread_function): Use FAST_TRACEPOINT_LABEL.
1457 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1458 (func): Remove.
1459 (marker): Use FAST_TRACEPOINT_LABEL.
1460 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1461 (pendfunc1): Remove.
1462 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1463 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1464 (foo): Remove.
1465 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1466 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1467 macro.
1468 (func): Remove.
1469 (marker): Use FAST_TRACEPOINT_LABEL.
1470 * gdb.trace/trace-common.h: New header.
1471 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1472 macro.
1473 (func): Remove.
1474 (marker): Use FAST_TRACEPOINT_LABEL.
1475 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1476 (func): Remove.
1477 (thread_function): Use FAST_TRACEPOINT_LABEL.
1478
6e7675a7
MK
14792015-11-10 Marcin Koƛcielnicki <koriakin@0x04.net>
1480
1481 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1482 in front.
1483 * gdb.trace/change-loc.exp: Use global pcreg definition.
1484 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1485 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1486 in front.
1487 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1488 * gdb.trace/pending.exp: Likewise.
1489 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1490 * gdb.trace/trace-break.exp: Likewise.
1491 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1492 in front.
1493 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1494 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1495 in front.
1496 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1497
dddc0e16
JB
14982015-11-09 Joel Brobecker <brobecker@adacore.com>
1499
1500 * gdb.ada/fin_fun_out: New testcase.
1501
c6f0b406
KB
15022015-11-07 Kevin Buettner <kevinb@redhat.com>
1503
1504 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1505 value associated with DW_AT_byte_size.
1506 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1507 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1508 DW_AT_upper_bound.
1509
f01dcfd9
KB
15102015-11-07 Kevin Buettner <kevinb@redhat.com>
1511
1512 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1513 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1514 version.
1515 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1516 gdb.dwarf2/dw2-canonicalize-type.exp,
1517 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1518 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1519 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1520 provided by gdb_target_symbol_prefix_flags_asm.
1521 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1522 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1523 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1524 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1525 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1526 macros where needed). Use this macro for symbols which require
1527 the prefix provided by SYMBOL_PREFIX.
1528
2223449a
KB
15292015-11-05 Kevin Buettner <kevinb@redhat.com>
1530
1531 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1532 New procs.
1533 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1534 representing expressions, of more than one list element.
1535 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1536 to prepend linker symbol prefix to f.
1537 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1538 table_1 and table_2.
1539 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1540 Likewise, for f and g.
1541 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1542 for ptr.
1543 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1544 for main.
1545 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1546 table_1_ptr and table_2_ptr.
1547
6f2f1a3a
JK
15482015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1549 Joel Brobecker <brobecker@adacore.com>
1550
1551 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1552
566c56c9
MK
15532015-11-04 Marcin Koƛcielnicki <koriakin@0x04.net>
1554
1555 * gdb.reverse/s390-mvcle.c: New test.
1556 * gdb.reverse/s390-mvcle.exp: New file.
1557 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1558
d5f0636b
MK
15592015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
1560
1561 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1562
7ad8b86c
MK
15632015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
1564
1565 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1566 reaching marker2.
1567 * gdb.reverse/getresuid-reverse.exp: Likewise.
1568 * gdb.reverse/pipe-reverse.exp: Likewise.
1569 * gdb.reverse/readv-reverse.exp: Likewise.
1570 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1571 * gdb.reverse/time-reverse.exp: Likewise.
1572 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1573
4081c0f1
YQ
15742015-10-30 Yao Qi <yao.qi@linaro.org>
1575
1576 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1577 (empty_cycle): Remove.
1578 (main): Don't call empty_cycle. Don't use watch_count_done.
1579 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1580 empty_cycle. Rewrite the code counting HW watchpoints.
1581
452b4ba5
MK
15822015-10-30 Marcin Koƛcielnicki <koriakin@0x04.net>
1583
1584 * gdb.reverse/fstatat-reverse.c: New test.
1585 * gdb.reverse/fstatat-reverse.exp: New file.
1586 * gdb.reverse/getresuid-reverse.c: New test.
1587 * gdb.reverse/getresuid-reverse.exp: New file.
1588 * gdb.reverse/pipe-reverse.c: New test.
1589 * gdb.reverse/pipe-reverse.exp: New file.
1590 * gdb.reverse/readv-reverse.c: New test.
1591 * gdb.reverse/readv-reverse.exp: New file.
1592 * gdb.reverse/recvmsg-reverse.c: New test.
1593 * gdb.reverse/recvmsg-reverse.exp: New file.
1594 * gdb.reverse/time-reverse.c: New test.
1595 * gdb.reverse/time-reverse.exp: New file.
1596 * gdb.reverse/waitpid-reverse.c: New test.
1597 * gdb.reverse/waitpid-reverse.exp: New file.
1598
5e2e7507
JK
15992015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1600
1601 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1602
0fde2c53
DE
16032015-10-26 Doug Evans <dje@google.com>
1604
1605 PR symtab/17391
1606 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1607 * gdb.dwarf2/bad-regnum.c: New file.
1608 * gdb.dwarf2/bad-regnum.exp: New file.
1609
1a70ae97
DE
16102015-10-26 Doug Evans <dje@google.com>
1611
1612 PR python/18938
1613 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1614 file.
1615
27dc26ab
JK
16162015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1617
1618 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1619 for a change by "Mention language in compile error message".
1620
bed91f4d
SM
16212015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1622
1623 PR python/18073
1624 * gdb.python/py-type.c (C::a_method): New.
1625 (C::a_const_method): New.
1626 (C::a_static_method): New.
1627 (a_function): New.
1628 * gdb.python/py-type.exp (test_fields): Test getting fields
1629 from function and method.
1630
3f2f83dd
KB
16312015-10-21 Keven Boell <keven.boell@intel.com>
1632
1633 * gdb.fortran/vla-alloc-assoc.exp: New file.
1634 * gdb.fortran/vla-datatypes.exp: New file.
1635 * gdb.fortran/vla-datatypes.f90: New file.
1636 * gdb.fortran/vla-history.exp: New file.
1637 * gdb.fortran/vla-ptype-sub.exp: New file.
1638 * gdb.fortran/vla-ptype.exp: New file.
1639 * gdb.fortran/vla-sizeof.exp: New file.
1640 * gdb.fortran/vla-sub.f90: New file.
1641 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1642 * gdb.fortran/vla-value-sub-finish.exp: New file.
1643 * gdb.fortran/vla-value-sub.exp: New file.
1644 * gdb.fortran/vla-value.exp: New file.
1645 * gdb.fortran/vla-ptr-info.exp: New file.
1646 * gdb.mi/mi-vla-fortran.exp: New file.
1647 * gdb.mi/vla.f90: New file.
1648
27145d50
SL
16492015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1650
1651 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1652 of hardwired timeout value.
1653
5f3ff4f8
JK
16542015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1655 Pedro Alves <palves@redhat.com>
1656
1657 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1658 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1659
bfd09d20
JS
16602015-10-19 Josh Stone <jistone@redhat.com>
1661
1662 * gdb.base/catch-syscall.c: Include <sched.h>.
1663 (unknown_syscall): New variable.
1664 (main): Trigger a vfork and an unknown syscall.
1665 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1666 (unknown_syscall_number): Likewise.
1667 (check_call_to_syscall): Accept an optional syscall pattern.
1668 (check_return_from_syscall): Likewise.
1669 (check_continue): Likewise.
1670 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1671 (test_catch_syscall_skipping_return): New test toggling off 'catch
1672 syscall' to step over the syscall return, then toggling back on.
1673 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1674 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1675 (do_syscall_tests): Call test_catch_syscall_without_args and
1676 test_catch_syscall_mid_vfork.
1677 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1678 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1679
b32b93c6
AS
16802015-10-19 Andrew Stubbs <ams@codesourcery.com>
1681
1682 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1683 print g_vE): Add new pass patterns.
1684 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1685 print various symbol names for vptr fields.
1686
9d622bda
AB
16872015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1688
1689 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1690 results.
1691
0fd8ac1c
YQ
16922015-10-12 Yao Qi <yao.qi@linaro.org>
1693
1694 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1695
34240514
YQ
16962015-10-12 Yao Qi <yao.qi@linaro.org>
1697
1698 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1699 is aarch64*-*-linux*.
1700
8240f442
YQ
17012015-10-12 Yao Qi <yao.qi@linaro.org>
1702
1703 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1704 (can_relocate_bcond_true): ... it.
1705 (can_relocate_bcond_false): New function.
1706 (foo): Likewise.
1707 (can_relocate_bl): Likewise.
1708 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1709 can_relocate_bl.
1710
2520f728
PMR
17112015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1712
1713 * gdb.base/nested-addr.c: New file.
1714 * gdb.base/nested-addr.exp: New testcase.
1715
abcef95a
MM
17162015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1717
1718 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1719 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1720 its output. Ignore the output of "record goto begin" and instead
1721 check that GDB is replaying.
1722
145e3ddb
PA
17232015-10-09 Pedro Alves <palves@redhat.com>
1724
1725 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1726 (top level): Use it in the run with no args test.
1727
d5d8c4e1
IB
17282015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1729
1730 * gdb.dlang/properties.exp: New file.
1731
06e635ef
SL
17322015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1733
1734 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1735 whether or not address 0x1000 is mapped on the target.
1736
e019fd1d
SM
17372015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1738
1739 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1740 build.
1741
77ba2a67
MM
17422015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1743
1744 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1745 instruction-history test.
1746
c60eb31f
DE
17472015-09-28 Doug Evans <dje@google.com>
1748
1749 * gdb.base/gcore.c (array_func): Add reference to static_array.
1750
9a3c8263
SM
17512015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1752
1753 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1754 source line.
1755
9720e656
SL
17562015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1757
1758 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1759 short or char as base type.
1760
938d3bf2
SL
17612015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1762
1763 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1764 to allow any size enum.
1765
e6c2c623
PMR
17662015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1767
1768 * gdb.ada/array_ptr_renaming.exp: New testcase.
1769 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1770 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1771
06da0f77
PL
17722015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1773
1774 * gdb.trace/ftrace-lock.c: New file.
1775 * gdb.trace/ftrace-lock.exp: New file.
1776
4f51c22a
PL
17772015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1778
1779 * gdb.arch/insn-reloc.c: New file.
1780 * gdb.arch/ftrace-insn-reloc.exp: New file.
1781
7041adf4
PL
17822015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1783
1784 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1785 instruction.
1786 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1787 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1788 * gdb.trace/range-stepping.c: Likewise.
1789 * gdb.trace/trace-break.c: Likewise.
1790 * gdb.trace/trace-mt.c (thread_function): Likewise.
1791 * gdb.trace/ftrace.c (marker): Likewise.
1792 * gdb.trace/trace-condition.c (marker): Likewise.
1793 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1794 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1795 is_aarch64_target.
1796
015d2e7e
DE
17972015-09-18 Doug Evans <xdje42@gmail.com>
1798
1799 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1800 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1801
26b188a2
SL
18022015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1803
1804 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1805 the breakpoint.
1806
79dc332b
SL
18072015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1808
1809 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1810 the pending breakpoint. Remove timeout override for "Run till
1811 MI pending breakpoint on pendfunc3 on thread 2" test.
1812
f57929f2
SL
18132015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1814
1815 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1816 filename pattern.
1817
3f469b17
SL
18182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1819
1820 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1821 in breakpoint filename pattern.
1822
515b89b3
SL
18232015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1824
7800dbe4
SL
1825 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1826
18272015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1828
515b89b3
SL
1829 * gdb.linespec/explicit.exp: Check for readline support for
1830 tab-completion tests. Fix obvious typo.
1831
d2939ba2
MM
18322015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1833
1834 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1835 and replay.
1836
cbb55fa7
MM
18372015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1838
1839 * gdb.btrace/non-stop.c: New.
1840 * gdb.btrace/non-stop.exp: New.
1841
43691ca1
PL
18422015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1843 Yao Qi <yao.qi@linaro.org>
1844
1845 * gdb.trace/trace-condition.c: New file.
1846 * gdb.trace/trace-condition.exp: New file.
1847
d78908cf
WW
18482015-09-16 Wei-cheng Wang <cole945@gmail.com>
1849
1850 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1851 for testing bytecode compilation.
1852
1ed415e2
PA
18532015-09-16 Pedro Alves <palves@redhat.com>
1854 Sandra Loosemore <sandra@codesourcery.com>
1855
1856 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1857 (SECONDS): Redefine.
1858 (main): Call pthread_kill and alarm early.
1859 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1860 support.
1861 (test): If the target can't hardware step and doesn't support
1862 displaced stepping, increase the timeout.
1863
d136eff5
PA
18642015-09-16 Pedro Alves <palves@redhat.com>
1865
1866 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1867 (enable_debug): New procedures.
1868 (test): Use them. Bail out if waiting for threads fails.
1869 (top level): Bail out if a test fails.
1870
991f019c
YQ
18712015-09-16 Yao Qi <yao.qi@linaro.org>
1872
1873 * gdb.asm/asm-source.exp: Set asm-arch for
1874 aarch64*-*-* target.
1875 * gdb.asm/aarch64.inc: New file.
1876
bfca584f
PMR
18772015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1878
1879 * gdb.ada/array_of_variable_length.exp: New testcase.
1880 * gdb.ada/array_of_variable_length/foo.adb: New file.
1881 * gdb.ada/array_of_variable_length/pck.adb: New file.
1882 * gdb.ada/array_of_variable_length/pck.ads: New file.
1883
b326e587
DE
18842015-09-15 Doug Evans <dje@google.com>
1885
1886 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1887 of function static local variable.
1888
5382cfab
PW
18892015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1890
1891 * gdb.threads/tls-so_extern.exp: New test file.
1892 * gdb.threads/tls-so_extern.c: New test file.
1893 * gdb.threads/tls-so_extern_main.c: New test file.
1894
141c5cc4
JK
18952015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1896
1897 * gdb.opt/solib-intra-step-lib.c: New file.
1898 * gdb.opt/solib-intra-step-main.c: New file.
1899 * gdb.opt/solib-intra-step.exp: New file.
1900
d15dcecd
PA
19012015-09-15 Pedro Alves <palves@redhat.com>
1902
1903 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1904 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1905
4c2f2a79
PA
19062015-09-14 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.base/hook-stop-continue.c: Delete.
1909 * gdb.base/hook-stop-continue.exp: Delete.
1910 * gdb.base/hook-stop-frame.c: Delete.
1911 * gdb.base/hook-stop-frame.exp: Delete.
1912 * gdb.base/hook-stop.c: New file.
1913 * gdb.base/hook-stop.exp: New file.
1914
919e6dbe
PMR
19152015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1916
1917 * gdb.ada/access_to_packed_array.exp: New testcase.
1918 * gdb.ada/access_to_packed_array/foo.adb: New file.
1919 * gdb.ada/access_to_packed_array/pack.adb: New file.
1920 * gdb.ada/access_to_packed_array/pack.ads: New file.
1921
157280a4
MM
19222015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1923
1924 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1925 buffer size test.
1926
2fd33e94
DB
19272015-09-11 Don Breazeal <donb@codesourcery.com>
1928
1929 * gdb.base/foll-exec.c: Add copyright header. Fix
1930 formatting issues.
1931 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1932 (do_exec_tests): Use clean_restart in place of zap_session,
1933 and for test initialization. Fix formatting issues. Use
1934 fail in place of perror.
1935 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1936 an expect statement to match an expression with output from
1937 the program under debug.
1938 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1939 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1940 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1941 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1942 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1943
e70b6e8e
DE
19442015-09-09 Doug Evans <dje@google.com>
1945
1946 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1947
7a551a51
DE
19482015-09-09 Doug Evans <dje@google.com>
1949
1950 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1951
4c666f84
DE
19522015-09-09 Doug Evans <dje@google.com>
1953
1954 * gdb.base/savedregs.exp: Fix typo.
1955
243a9253
PA
19562015-09-09 Pedro Alves <palves@redhat.com>
1957
1958 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1959
c0fa8fbd
SL
19602015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1961
1962 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1963 command actually switches threads. Give up on remaining
1964 tests if target fails to stop at breakpoint.
1965
cd7c1778
PMR
19662015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1967
1968 * gdb.ada/funcall_char.exp: New testcase.
1969 * gdb.ada/funcall_char/foo.adb: New file.
1970
dc5c8746
PMR
19712015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1972
1973 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1974 expected outputs. Add two testcases for completing ambiguous
1975 functions.
1976 * gdb.ada/complete/aux_pck.adb: New file.
1977 * gdb.ada/complete/aux_pck.ads: New file.
1978 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1979 Ambiguous_Func functions.
1980 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1981 * gdb.ada/complete/pck.adb: Likewise.
1982
4e83a1e7
UW
19832015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1984
1985 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1986 failures to run the test program under GDB.
1987
8ce74153
LM
19882015-08-26 Luis Machado <lgustavo@codesourcery.com>
1989
1990 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1991 to C.
1992
e9756d52
PP
19932015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1994
1995 * gdb.base/run-after-attach.exp: New test file.
1996 * gdb.base/run-after-attach.c: New test file.
1997
8d37573b
DB
19982015-08-26 Don Breazeal <donb@codesourcery.com>
1999
2000 * gdb.base/foll-exec-2.c: New test program.
2001 * gdb.base/foll-exec-2.exp: New test.
2002
63e43d3a
PMR
20032015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2004
2005 * gdb.base/nested-subp1.exp: New file.
2006 * gdb.base/nested-subp1.c: New file.
2007 * gdb.base/nested-subp2.exp: New file.
2008 * gdb.base/nested-subp2.c: New file.
2009 * gdb.base/nested-subp3.exp: New file.
2010 * gdb.base/nested-subp3.c: New file.
2011
3d40fbb5
PA
20122015-08-24 Pedro Alves <palves@redhat.com>
2013
2014 * gdb.server/connect-without-multi-process.c: New file.
2015 * gdb.server/connect-without-multi-process.exp: New file.
2016
4422ac93
LM
20172015-08-24 Luis Machado <lgustavo@codesourcery.com>
2018
2019 * gdb.opt/inline-markers.c: Make z int.
2020
91dddb86
LM
20212015-08-24 Luis Machado <lgustavo@codesourcery.com>
2022
2023 * gdb.opt/inline-markers.c: Make z volatile.
2024
a48847ee
LM
20252015-08-24 Luis Machado <lgustavo@codesourcery.com>
2026
2027 * gdb.opt/inline-bt.c: New volatile global z.
2028 * gdb.opt/inline-cmds.c: Likewise.
2029 * gdb.opt/inline-locals.c: Likewise.
2030 * gdb.opt/inline-markers.c: New extern global z.
2031 (marker): Use z.
2032 (inline_fn): Likewise.
2033
0ebbc52b
PA
20342015-08-24 Pedro Alves <palves@redhat.com>
2035
2036 * config/m32r-stub.exp: Remove file.
2037 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2038 * gdb.base/call-rt-st.exp: Likewise.
2039 * gdb.base/call-strs.exp: Likewise.
2040 * gdb.base/default.exp: Remove references to h8300-*-hms and
2041 *-*-udi*.
2042 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2043
77c365df
AA
20442015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2045
2046 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2047 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2048 and "return" use KFAIL when GDB can not read/write the vector
2049 return value.
2050
4313b8c0
GB
20512015-08-21 Gary Benson <gbenson@redhat.com>
2052
2053 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2054
0e433b32
PA
20552015-08-20 Pedro Alves <palves@redhat.com>
2056
2057 * gdb.server/solib-list.exp: No longer expect an interior stop in
2058 non-stop mode.
2059
221e1a37
PA
20602015-08-20 Pedro Alves <palves@redhat.com>
2061
2062 * gdb.server/connect-stopped-target.c: New file.
2063 * gdb.server/connect-stopped-target.exp: New file.
2064
40e3ad0e
PA
20652015-08-20 Pedro Alves <palves@redhat.com>
2066
2067 * gdb.dwarf2/comp-unit-lang.exp: New file.
2068 * gdb.dwarf2/comp-unit-lang.c: New file.
2069
af39b327
PMR
20702015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2071
2072 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2073 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2074
7d45c7c3 20752015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2076
7d45c7c3
KB
2077 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2078 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2079
4d6cceb4
DE
20802015-08-18 Doug Evans <dje@google.com>
2081 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2082
2083 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2084 skip_python_tests. New arg prompt_regexp.
2085 (skip_python_tests): New function.
2086 * lib/mi-support.exp (mi_skip_python_tests): New function.
2087 * gdb.python/py-mi-objfile-gdb.py: New file.
2088 * gdb.python/py-mi-objfile.c: New file.
2089 * gdb.python/py-mi-objfile.exp: New file.
2090
ad89c2aa
KS
20912015-08-17 Keith Seitz <keiths@redhat.com>
2092
2093 * gdb.linespec/explicit.exp: Move strace test from here ...
2094 * gdb.trace/strace.exp: ... to here.
2095
e3ae3c43
PP
20962015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2097
2098 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2099 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2100
604b2636
DE
21012015-08-14 Doug Evans <xdje42@gmail.com>
2102
2103 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2104 inferior before selecting a new file.
2105
6ff0ba5f
DE
21062015-08-14 Doug Evans <xdje42@gmail.com>
2107
2108 * gdb.mi/mi-disassemble.exp: Update.
2109 * gdb.base/disasm-optim.S: New file.
2110 * gdb.base/disasm-optim.c: New file.
2111 * gdb.base/disasm-optim.h: New file.
2112 * gdb.base/disasm-optim.exp: New file.
2113
9ca98f92
KS
21142015-08-14 Keith Seitz <keiths@redhat.com>
2115
2116 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2117 "evaluated-by".
2118
52bbc560
JB
21192015-08-13 Joel Brobecker <brobecker@adacore.com>
2120
2121 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2122
5d8c3ed3
PMR
21232015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2124
2125 * gdb.ada/fun_renaming.exp: New testcase.
2126 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2127 * gdb.ada/fun_renaming/pack.adb: New file.
2128 * gdb.ada/fun_renaming/pack.ads: New file.
2129
ea8812bc
KS
21302015-08-12 Keith Seitz <keiths@redhat.com>
2131
2132 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2133 gdb_get_line_number.
2134
4dafcdeb
JB
21352015-08-12 Joel Brobecker <brobecker@adacore.com>
2136
2137 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2138 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2139 gdb.base/dso2dso.exp: New files.
2140
5ba32597
SDJ
21412015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2142 Pedro Alves <palves@redhat.com>
2143 Keith Seitz <keiths@redhat.com>
2144
2145 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2146 GDBFLAGS.
2147
b6dafabf
PP
21482015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2149
2150 * gdb.base/gdbhistsize-history.exp
2151 (test_histsize_history_setting): Use save_vars.
2152 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2153 Use save_vars.
2154 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2155 * gdb.base/readline.exp: Use save_vars.
2156
abe8e607
PP
21572015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2158
2159 * lib/gdb.exp (save_vars): New proc.
2160
629500fa
KS
21612015-08-11 Keith Seitz <keiths@redhat.com>
2162
2163 * gdb.base/help.exp: Update help_breakpoint_text.
2164
eb8c4e2e
KS
21652015-08-11 Keith Seitz <keiths@redhat.com>
2166
2167 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2168 (at toplevel): Call test_explicit_breakpoints.
2169 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2170 breakpoints.
2171 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2172 breakpoint conditions, "-cond".
2173
87f0e720
KS
21742015-08-11 Keith Seitz <keiths@redhat.com>
2175
2176 * gdb.linespec/3explicit.c: New file.
2177 * gdb.linespec/cpexplicit.cc: New file.
2178 * gdb.linespec/cpexplicit.exp: New file.
2179 * gdb.linespec/explicit.c: New file.
2180 * gdb.linespec/explicit.exp: New file.
2181 * gdb.linespec/explicit2.c: New file.
2182 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2183 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2184 before using in the matching pattern.
2185 Clarify that `prefix' is a regular expression.
2186
f00aae0f
KS
21872015-08-11 Keith Seitz <keiths@redhat.com>
2188
2189 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2190 test.
2191 Add tests for missing ",FMT" and ",".
2192
e27852be
DE
21932015-08-10 Doug Evans <dje@google.com>
2194 Keith Seitz <keiths@redhat.com>
2195
2196 PR gdb/17960
2197 * gdb.base/completion.exp: Add location completer tests.
2198
7f03bd92
PA
21992015-08-07 Pedro Alves <palves@redhat.com>
2200
2201 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2202 tests here.
2203 (top level): Run do_test with and without displaced stepping.
2204
3fc8eb30
PA
22052015-08-07 Pedro Alves <palves@redhat.com>
2206
2207 * gdb.base/valgrind-disp-step.c: New file.
2208 * gdb.base/valgrind-disp-step.exp: New file.
2209
d4569d7b
PA
22102015-08-07 Pedro Alves <palves@redhat.com>
2211
2212 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2213 Delete function.
2214 (main): Add alarm. Run an infinite loop instead of calling
2215 wait_threads.
2216 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2217 comment.
2218 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2219 Delete function.
2220 (main): Add alarm. Run an infinite loop instead of calling
2221 wait_threads.
2222 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2223 comment.
2224
e1316e60
PA
22252015-08-07 Pedro Alves <palves@redhat.com>
2226
2227 * gdb.base/checkpoint-ns.exp: New file.
2228 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2229 standard_testfile.
2230
da8c46d2
MM
22312015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2232
2233 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2234 * gdb.btrace/instruction_history.exp: Update.
2235 * gdb.btrace/tsx.exp: New.
2236 * gdb.btrace/tsx.c: New.
2237
de1c2c52
PA
22382015-08-06 Pedro Alves <palves@redhat.com>
2239
2240 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2241 increase timeout.
2242 * gdb.reverse/until-precsave.exp: Bump timeouts.
2243
782e0bf4
PA
22442015-08-06 Pedro Alves <palves@redhat.com>
2245
2246 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2247
83e97ed0
PA
22482015-08-06 Pedro Alves <palves@redhat.com>
2249
2250 PR gdb/18749
2251 * gdb.threads/process-dies-while-handling-bp.c: New file.
2252 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2253
863d01bd
PA
22542015-08-06 Pedro Alves <palves@redhat.com>
2255
2256 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2257 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2258
0a39bb32
PA
22592015-08-05 Pedro Alves <palves@redhat.com>
2260
2261 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2262 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2263
ee2d2b10
SL
22642015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2265
2266 * gdb.base/bp-permanent.exp: Report test as unsupported if
2267 the target cannot stop at the permanent breakpoint.
2268
4e1bdb00
DE
22692015-08-03 Doug Evans <dje@google.com>
2270
2271 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2272 10000.
2273
3d338901
DE
22742015-08-03 Doug Evans <dje@google.com>
2275
2276 * Makefile.in (workers/%.worker, build-perf): New rule.
2277 (GDB_PERFTEST_MODE): New variable.
2278 (check-perf): Use it.
2279 (clean): Clean up gdb.perf parallel build subdirs.
2280 * lib/build-piece.exp: New file.
2281 * lib/gdb.exp (make_gdb_parallel_path): New function
2282 (standard_output_file, standard_temp_file): Call it.
2283 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2284 of $GDB_PARALLEL.
2285 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2286
af061d3e
DE
22872015-08-03 Doug Evans <dje@google.com>
2288
8e1afc81 2289 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2290 (LOG_FILE_NAME): New global.
2291 (TextReporter.__init__): Initialize self.txt_sum.
2292 (TextReporter.report): Add support for multiple data-points.
2293 Move report to perftest.sum, put raw data in perftest.log.
2294 (TextReporter.start): Open sum and log files.
2295 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2296 * gdb.perf/lib/perftest/testresult.py
2297 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2298
2c8c5d37
PA
22992015-07-31 Pedro Alves <palves@redhat.com>
2300
2301 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2302 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2303 kill_wait_spawned_process instead of explicit "kill -9".
2304 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2305 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2306 kill_wait_spawned_process.
2307 * gdb.base/attach-twice.exp: Likewise.
2308 * gdb.base/attach.exp: Likewise.
2309 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2310 gdb_test_multiple.
2311 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2312 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2313 kill_wait_spawned_process.
2314 * gdb.base/valgrind-infcall.exp: Likewise.
2315 * gdb.multi/multi-attach.exp: Likewise.
2316 * gdb.python/py-prompt.exp: Likewise.
2317 * gdb.python/py-sync-interp.exp: Likewise.
2318 * gdb.server/ext-attach.exp: Likewise.
2319 * gdb.threads/attach-into-signal.exp (corefunc): Use
2320 spawn_wait_for_attach, spawn_id_get_pid and
2321 kill_wait_spawned_process.
2322 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2323 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2324 spawn_id_get_pid and kill_wait_spawned_process.
2325 * gdb.threads/attach-stopped.exp (corefunc): Use
2326 spawn_wait_for_attach, spawn_id_get_pid and
2327 kill_wait_spawned_process.
2328 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2329 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2330 kill_wait_spawned_process instead of explicit "kill -9".
2331 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2332 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2333 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2334 processes. Don't map cygwin/windows pids here. Now returns a
2335 spawn id list.
2336
032a0fca
SL
23372015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2338
2339 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2340 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2341 correct patch.
2342
61a934ca
SL
23432015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2344
2345 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2346
4bc4d428
SL
23472015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2348
2349 Reapply:
2350 2014-05-21 Mark Wielaard <mjw@redhat.com>
2351
2352 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2353
998d452a
PA
23542015-07-30 Pedro Alves <palves@redhat.com>
2355
2356 * linux-low.c (handle_extended_wait): Set the child's last
2357 reported status to TARGET_WAITKIND_STOPPED.
2358
69dde7dc
PA
23592015-07-30 Pedro Alves <palves@redhat.com>
2360
2361 PR threads/18600
2362 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2363 only shows inferior 1.
2364
4dd63d48
PA
23652015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2366 Pedro Alves <palves@redhat.com>
2367
2368 PR threads/18600
2369 * gdb.threads/fork-plus-threads.c: New file.
2370 * gdb.threads/fork-plus-threads.exp: New file.
2371
d618e4c5
PP
23722015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2373
2374 * gdb.base/batch-preserve-term-settings.exp
2375 (test_terminal_settings_preserved_after_cli_exit): Use
2376 send_quit_command.
2377
1eef6428
PA
23782015-07-29 Pedro Alves <palves@redhat.com>
2379 Don Breazeal <donb@codesourcery.com>
2380
2381 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2382 output from both inferior_spawn_id and gdb_spawn_id.
2383
7da5b897
SDJ
23842015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2385
2386 * gdb.threads/attach-into-signal.exp (corefunc): Use
2387 with_test_prefix on nested loops, uniquefying the test messages.
2388
dac804df
SDJ
23892015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2390
2391 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2392 commit.
2393
06265e53
PP
23942015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2395
2396 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2397 New proc.
2398 (test_terminal_settings_preserved_after_sigterm): New test.
2399
18206ca3
PP
24002015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2401
2402 * gdb.base/batch-preserve-term-settings.exp
2403 (test_terminal_settings_preserved_after_cli_exit): New test.
2404
90074d11
PP
24052015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2406
2407 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2408 manipulation of saved_gdbflags.
2409 (test_terminal_settings_preserved): Remove global declaration of
2410 the unused variable pagination_prompt. Remove manipulation of
2411 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2412 GDBFLAGS.
2413
eb1a7902
PA
24142015-07-29 Pedro Alves <palves@redhat.com>
2415
2416 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2417
8b75dd3b
PA
24182015-07-29 Pedro Alves <palves@redhat.com>
2419
2420 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2421 at the top.
2422
dedad4e3
PA
24232015-07-29 Pedro Alves <palves@redhat.com>
2424
2425 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2426 (main): Call gdb_unbuffer_output.
2427 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2428 (main): Call gdb_unbuffer_output.
2429 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2430 (main): Call gdb_unbuffer_output.
2431 * gdb.base/call-strs.exp: Adjust to step over the
2432 gdb_unbuffer_output call.
2433 * gdb.base/catch-gdb-caused-signals.c: Include
2434 "../lib/unbuffer_output.c".
2435 (main): Call gdb_unbuffer_output.
2436 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2437 (main): Call gdb_unbuffer_output.
2438 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2439 (main): Call gdb_unbuffer_output.
2440 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2441 (main): Call gdb_unbuffer_output.
2442 * gdb.base/shlib-call.exp: Adjust to step over the
2443 gdb_unbuffer_output call.
2444 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2445 (main): Call gdb_unbuffer_output.
2446 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2447 (main): Call gdb_unbuffer_output.
2448 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2449 (main): Rename to ...
2450 (test): ... this.
2451 (main): Reimplement.
2452 * gdb.base/varargs.exp: Run to test instead of to main.
2453 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2454 (main): Call gdb_unbuffer_output.
2455
58789a91
PA
24562015-07-29 Pedro Alves <palves@redhat.com>
2457
2458 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2459 factore out from mi_continue_dprintf. For call-style dprintfs,
2460 expect dprintf output out of $inferior_spawn_id.
2461 (mi_continue_dprintf): Use mi_expect_dprintf.
2462 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2463 (main): Call gdb_unbuffer_output.
2464
e8376742
PA
24652015-07-29 Pedro Alves <palves@redhat.com>
2466
2467 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2468 (default_mi_gdb_start): Set inferior_spawn_id instead of
2469 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2470 gdb_spawn_id.
2471 (mi_gdb_test): Always expect inferior output from both
2472 $inferior_spawn_id and $gdb_spawn_id.
2473
08280010
PA
24742015-07-29 Pedro Alves <palves@redhat.com>
2475
2476 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2477 send_inferior and $inferior_spawn_id.
2478
4d30e432
PA
24792015-07-29 Pedro Alves <palves@redhat.com>
2480
2481 * gdb.gdb/complaints.exp (test_initial_complaints)
2482 (test_serial_complaints, test_short_complaints): Use
2483 gdb_test_stdio.
2484 (test_empty_complaint): Handle $inferior_spawn_id !=
2485 $gdb_spawn_id.
2486
0d30a335
PA
24872015-07-29 Pedro Alves <palves@redhat.com>
2488
2489 * gdb.base/varargs.exp: Use gdb_test_stdio.
2490
39413b29
PA
24912015-07-29 Pedro Alves <palves@redhat.com>
2492
2493 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2494
7cb000a9
PA
24952015-07-29 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2498
d7b8ac82
PA
24992015-07-29 Pedro Alves <palves@redhat.com>
2500
2501 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2502 parameter into two new parameters, "inf_result" and "gdb_result".
2503 Expect inferior output and gdb output from $inferior_spawn_id and
2504 $gdb_spawn_id, respectively. Adjust all callers.
2505
789c3a0c
PA
25062015-07-29 Pedro Alves <palves@redhat.com>
2507
2508 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2509 of gdb_test_sequence.
2510
77e760c3
PA
25112015-07-29 Pedro Alves <palves@redhat.com>
2512
2513 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2514 (saw_spurious_output): Expect inferior output from
2515 $inferior_spawn_id. Use gdb_test_stdio.
2516
8396d2cd
PA
25172015-07-29 Pedro Alves <palves@redhat.com>
2518
2519 * gdb.base/dprintf.exp: Use standard_testfile. Change
2520 prepare_for_testing call.
2521 (srcfile): Don't set.
2522 (restart): New procedure.
2523 (test_dprintf): New procecure, use to continue over dprintfs.
2524 (test_call, test_agent): New procedures, tests moved here.
2525 Restart gdb and recreate dprintfs. Adjust expected output.
2526
2051d61f
PA
25272015-07-29 Pedro Alves <palves@redhat.com>
2528
2529 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2530
452397af
PA
25312015-07-29 Pedro Alves <palves@redhat.com>
2532
2533 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2534
8aed9555
PA
25352015-07-29 Pedro Alves <palves@redhat.com>
2536
2537 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2538 gdb_test_stdio.
2539
188a61b4
PA
25402015-07-29 Pedro Alves <palves@redhat.com>
2541
2542 * lib/gdb.exp (gdb_test_stdio): New procedure.
2543
12264a45
PA
25442015-07-29 Pedro Alves <palves@redhat.com>
2545
2546 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2547
23ffc893
PA
25482015-07-29 Pedro Alves <palves@redhat.com>
2549
2550 * gdb.base/call-signal-resume.exp: Remove check for
2551 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2552 * gdb.base/unwindonsignal.exp: Likewise.
2553 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2554 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2555
65566918
PA
25562015-07-29 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.base/siginfo-addr.c (pass): New function.
2559 (handler): Call it iff si_addr is correct.
2560 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2561 Set a breakpoint at "pass" and continue to it.
2562
d60a9221
SDJ
25632015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2564
2565 * gdb.python/py-objfile.exp: Make some tests have unique names.
2566 * gdb.python/py-pp-registration.exp: Likewise.
2567
bde40b8f
PA
25682015-07-28 Pedro Alves <palves@redhat.com>
2569
2570 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2571
13e1dec8
SM
25722015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2573
2574 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2575
da33c9a7
SM
25762015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2577
2578 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2579
077836f7
PP
25802015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2581
2582 * gdb.base/gdb-sigterm-2.exp: New test.
2583
b8cc7b2e
DE
25842015-07-25 Doug Evans <xdje42@gmail.com>
2585
2586 Revert:
2587 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2588 (workers/%.worker, build-perf): New rule.
2589 (GDB_PERFTEST_MODE): New variable.
2590 (check-perf): Use it.
2591 (clean): Clean up gdb.perf parallel build subdirs.
2592 * lib/build-piece.exp: New file.
2593 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2594 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2595 name.
2596 (standard_temp_file): Ditto.
2597 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2598 of $GDB_PARALLEL.
2599
c8bd4544
DE
26002015-07-24 Doug Evans <dje@google.com>
2601
2602 * gdb.perf/lib/perftest/utils.py: New file.
2603 * gdb.perf/gm-hello.cc: New file.
2604 * gdb.perf/gm-pervasive-typedef.cc: New file.
2605 * gdb.perf/gm-pervasive-typedef.h: New file.
2606 * gdb.perf/gm-std.cc: New file.
2607 * gdb.perf/gm-std.h: New file.
2608 * gdb.perf/gm-use-cerr.cc: New file.
2609 * gdb.perf/gm-utils.h: New file.
2610 * gdb.perf/gmonster-null-lookup.py: New file.
2611 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2612 * gdb.perf/gmonster-print-cerr.py: New file.
2613 * gdb.perf/gmonster-ptype-string.py: New file.
2614 * gdb.perf/gmonster-runto-main.py: New file.
2615 * gdb.perf/gmonster-select-file.py: New file.
2616 * gdb.perf/gmonster1-null-lookup.exp: New file.
2617 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2618 * gdb.perf/gmonster1-print-cerr.exp: New file.
2619 * gdb.perf/gmonster1-ptype-string.exp: New file.
2620 * gdb.perf/gmonster1-runto-main.exp: New file.
2621 * gdb.perf/gmonster1-select-file.exp: New file.
2622 * gdb.perf/gmonster1.cc: New file.
2623 * gdb.perf/gmonster1.exp: New file.
2624 * gdb.perf/gmonster2-null-lookup.exp: New file.
2625 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2626 * gdb.perf/gmonster2-print-cerr.exp: New file.
2627 * gdb.perf/gmonster2-ptype-string.exp: New file.
2628 * gdb.perf/gmonster2-runto-main.exp: New file.
2629 * gdb.perf/gmonster2-select-file.exp: New file.
2630 * gdb.perf/gmonster2.cc: New file.
2631 * gdb.perf/gmonster2.exp: New file.
2632
6eab34f3
DE
26332015-07-24 Doug Evans <dje@google.com>
2634
2635 * gdb.perf/README: New file.
2636 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2637 * lib/gen-perf-test.exp: New file.
2638
63738bfd
DE
26392015-07-24 Doug Evans <dje@google.com>
2640
2641 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2642 (PerfTest::startup): New function.
2643 (PerfTest::run): Return result of calling body.
2644 (PerfTest::assemble): Rewrite.
2645 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2646 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2647 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2648 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2649 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2650
7b606f95
DE
26512015-07-24 Doug Evans <dje@google.com>
2652
2653 * lib/gdb.exp (clean_restart): Make executable optional.
2654
a97b16b8
DE
26552015-07-24 Doug Evans <dje@google.com>
2656
2657 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2658 compiler_info references.
2659 * gdb.cp/temargs.exp: Ditto.
2660 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2661 (get_compiler_info): Early exit if already computed. Set compiler_info
2662 to "unknown" if there was a problem.
2663 (test_compiler_info): Add function comment. Call get_compiler_info.
2664
35baa57f
DE
26652015-07-24 Doug Evans <dje@google.com>
2666
2667 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2668 (workers/%.worker, build-perf): New rule.
2669 (GDB_PERFTEST_MODE): New variable.
2670 (check-perf): Use it.
2671 (clean): Clean up gdb.perf parallel build subdirs.
2672 * lib/build-piece.exp: New file.
2673 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2674 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2675 name.
2676 (standard_temp_file): Ditto.
2677 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2678 of $GDB_PARALLEL.
2679
6ebea266
DE
26802015-07-24 Doug Evans <dje@google.com>
2681
2682 * lib/future.exp (gdb_default_target_compile): New option
2683 "early_flags".
2684 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2685 --as-needed.
2686
1e76a7e9
SDJ
26872015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2688
2689 * gdb.base/catch-syscall.exp: Call gdb_exit before
2690 gdb_skip_xml_test.
2691
5068630a
PA
26922015-07-24 Pedro Alves <palves@redhat.com>
2693
2694 * gdb.python/py-events.exp: Accept output between the stop event
2695 and the prompt.
2696 * gdb.python/py-evsignal.exp: Likewise.
2697 * gdb.python/py-evthreads.exp: Likewise.
2698
77598427
PA
26992015-07-24 Pedro Alves <palves@redhat.com>
2700
2701 PR gdb/18717
2702 * gdb.threads/non-ldr-exit.c: New file.
2703 * gdb.threads/non-ldr-exit.exp: New file.
2704
11e6c98f
YQ
27052015-07-24 Yao Qi <yao.qi@linaro.org>
2706
2707 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2708 restarting process.
2709
51aee833
YQ
27102015-07-24 Yao Qi <yao.qi@linaro.org>
2711
2712 * gdb.server/ext-restart.exp: New file.
2713
8cfe207c
YQ
27142015-07-24 Yao Qi <yao.qi@linaro.org>
2715
2716 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2717 argument options.
2718 * gdb.server/ext-wrapper.exp: New file.
2719
cc12ce38
DE
27202015-07-23 Doug Evans <dje@google.com>
2721
2722 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2723 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2724
d0d84780
PMR
27252015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2726
2727 * gdb.ada/var_arr_typedef.exp: New testcase.
2728 * gdb.ada/var_arr_typedef/pack.adb: New file.
2729 * gdb.ada/var_arr_typedef/pack.ads: New file.
2730 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2731
8b558f79
JB
27322015-07-20 Joel Brobecker <brobecker@adacore.com>
2733
2734 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2735
775a3298
JK
27362015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2737
2738 * gdb.arch/i386-biarch-core.exp: Replace istarget
2739 by "complete set gnutarget". Remove expectation for the "core-file"
2740 command.
2741
db1ff28b
JK
27422015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2743
2744 Revert the previous commit:
2745 Tests for validate symbol file using build-id.
2746
0a94970d
JK
27472015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2748
2749 Tests for validate symbol file using build-id.
2750 * gdb.base/solib-mismatch-lib.c: New file.
2751 * gdb.base/solib-mismatch-libmod.c: New file.
2752 * gdb.base/solib-mismatch.c: New file.
2753 * gdb.base/solib-mismatch.exp: New file.
2754
03346981
SL
27552015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2756
2757 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2758 nios2-*-linux*.
2759 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2760 * gdb.base/siginfo.exp: Likewise.
2761 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2762
42422cc7
PL
27632015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2764
2765 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2766 Move it to ...
2767 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2768 ... here.
2769 * gdb.trace/range-stepping.exp: Check that the target supports
2770 range stepping.
2771
cfa68bae
JK
27722015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2773
2774 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2775
8ffdba26
PA
27762015-07-14 Pedro Alves <palves@redhat.com>
2777
2778 * gdb.base/killed-outside.exp: New file.
2779 * gdb.base/killed-outside.c: New file.
2780
218a5a11
JK
27812015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2782
2783 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2784 (n at main): New.
2785 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2786
e03ed3c6
AA
27872015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2788
2789 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2790 infcall tests instead of setting up for KFAIL.
2791
485668e5
MM
27922015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2793
2794 * gdb.btrace/record_goto-step.exp: New.
2795
08464196
JK
27962015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2797
2798 PR compile/18484
2799 * gdb.compile/compile.c (struct struct_type): Add volatile to
2800 selffield's type.
2801 * gdb.compile/compile.exp
2802 (compile code struct_object.selffield = &struct_object): Skip further
2803 struct_object tests if this one xfails.
2804
bcf5c1d9
RC
28052015-07-08 Robert O'Callahan <robert@ocallahan.org>
2806
2807 PR exp/18617
2808 * gdb.trace/ax.exp: Add test.
2809
4931af25
YQ
28102015-07-07 Yao Qi <yao.qi@linaro.org>
2811
2812 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2813 instead of istarget "aarch64*-*-*".
2814 * gdb.arch/aarch64-fp.exp: Likewise.
2815 * gdb.base/float.exp: Likewise.
2816 * gdb.reverse/aarch64.exp: Likewise.
2817 * lib/gdb.exp (is_aarch64_target): New proc.
2818
9fcf688e
YQ
28192015-07-07 Yao Qi <yao.qi@linaro.org>
2820
2821 * lib/gdb.exp (is_aarch32_target): New proc.
2822 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2823 instead of "istarget "arm*-*-*"".
2824 * gdb.arch/arm-disp-step.exp: Likewise.
2825 * gdb.arch/thumb-bx-pc.exp: Likewise.
2826 * gdb.arch/thumb-prologue.exp: Likewise.
2827 * gdb.arch/thumb-singlestep.exp: Likewise.
2828 * gdb.base/disp-step-syscall.exp: Likewise.
2829 * gdb.base/float.exp: Likewise.
2830
fbd8d50d
YQ
28312015-07-07 Yao Qi <yao.qi@linaro.org>
2832
2833 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2834 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2835
71be1fdc
YQ
28362015-07-07 Yao Qi <yao.qi@linaro.org>
2837
2838 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2839 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2840 if it exists.
2841 * gdb.multi/multi-arch.exp: Likewise.
2842
3e221d36
SM
28432015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2844
2845 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2846 print.
2847
d441430b
YQ
28482015-07-07 Yao Qi <yao.qi@linaro.org>
2849
2850 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2851
06f810bd
MG
28522015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2853
2854 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2855 '[' and ']' characters.
2856
5e61e7c0
IB
28572015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2858
2859 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2860
28bf096c
PA
28612015-06-29 Pedro Alves <palves@redhat.com>
2862
2863 PR threads/18127
2864 * gdb.threads/hand-call-new-thread.c: New file.
2865 * gdb.threads/hand-call-new-thread.c: New file.
2866
ee93cd5e
KS
28672015-06-26 Keith Seitz <keiths@redhat.com>
2868 Doug Evans <dje@google.com>
2869
2870 PR 16253
2871 * gdb.cp/var-tag-2.cc: New file.
2872 * gdb.cp/var-tag-3.cc: New file.
2873 * gdb.cp/var-tag-4.cc: New file.
2874 * gdb.cp/var-tag.cc: New file.
2875 * gdb.cp/var-tag.exp: New file.
2876
fc637f04
PP
28772015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2878
2879 * gdb.base/history-duplicates.exp: New test.
2880
2e52ae68
PP
28812015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2882
2883 * gdb.base/completion.exp: Test the completion of the "focus"
2884 command.
2885
6e22494e
JK
28862015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2887
2888 * gdb.arch/amd64-prologue-skip.S: New file.
2889 * gdb.arch/amd64-prologue-skip.exp: New file.
2890
bf7b9cd9
SM
28912015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2892
2893 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2894 is_address_zero_readable check.
2895
201e8dfd
PB
28962015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2897
2898 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2899 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2900
5cd867b4
YQ
29012015-06-24 Yao Qi <yao.qi@linaro.org>
2902
2903 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2904 linux targets.
2905
4d7be007
YQ
29062015-06-24 Yao Qi <yao.qi@linaro.org>
2907
2908 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2909 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2910 * gdb.base/siginfo-thread.exp: Likewise.
2911
07fcd301
YQ
29122015-06-22 Yao Qi <yao.qi@linaro.org>
2913
2914 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2915
52042a00
YQ
29162015-06-22 Yao Qi <yao.qi@linaro.org>
2917
2918 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2919 aarch64*-*-*.
2920 (skip_hw_watchpoint_tests): Likewise.
2921
74bd41ce
PP
29222015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2923
2924 * gdb.base/gdbinit-history.exp: Test the interaction between
2925 setting GDBHISTSIZE and setting the history size via .gdbinit.
2926
bc460514
PP
29272015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2928
2929 PR gdb/16999
2930 * gdb.base/gdbhistsize-history.exp: New test.
2931
b58c513b
PP
29322015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2933
2934 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2935 with GDBHISTSIZE.
2936 * gdb.base/readline.exp: Likewise.
2937
92046791
YQ
29382015-06-17 Yao Qi <yao.qi@linaro.org>
2939
2940 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2941 line.
2942
2093d2d3
PP
29432015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2944
2945 * gdb.base/gdbinit-history.exp: Add test case to check that
2946 an unlimited history file does not get truncated on exit.
2947
e6c693af
AA
29482015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2949
2950 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2951 (VECTOR): New macro. Use it...
2952 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2953 ...for these typedefs.
2954 (int8, char1, int1, double1): New typedefs.
2955 (struct just_int2, struct two_int2): New structures.
2956 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2957 (add_structvecs, add_singlevecs): New functions.
2958 (main): Call add_some_intvecs twice.
2959 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2960 the compile and exit upon failure. Try compiling for the "native"
2961 architecture. Test inferior function calls with vector arguments
2962 and vector return value handling with "finish" and "return".
2963
c74f7d1c
JT
29642015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2965
2966 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2967 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2968 PE file.
2969 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2970
98aa42ee
AT
29712015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2972
2973 PR breakpoints/16465
2974 * gdb.mi/mi-dprintf-pending.c: New file.
2975 * gdb.mi/mi-dprintf-pending.exp: New test.
2976 * gdb.mi/mi-dprintf-pendshr.c: New file.
2977
7d73c23c 29782015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2979 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2980
2981 * gdb.arch/i386-mpx-map.c: New file.
2982 * gdb.arch/i386-mpx-map.exp: New File.
2983
29842015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2985
2986 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2987 * gdb.arch/i386-mpx.exp: Indentation fixed.
2988
29892015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2990
2991 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2992 function and improved indentation.
2993 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2994 gdb_test_multiple. Added additional tests to skip the test.
2995
29962015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2997
2998 * gdb.arch/i386-avx512.c: Change path in include file.
2999 * gdb.arch/i386-avx512.exp: Change include dir path
3000 compilation flag.
3001 * gdb.arch/i386-mpx.c: Change path in include file.
3002 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3003 flag.
3004
d5eba19a
JK
30052015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3006
3007 * gdb.compile/compile-print.exp (compile print *vararray@3)
3008 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3009
7f361056
JK
30102015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3011
3012 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3013 (do not keep jit in memory): ... this.
3014 (expect 5): Change it to ...
3015 (expect no 5): ... this.
3016
3b462ec2
SM
30172015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3018
3019 PR gdb/15564
3020 * gdb.mi/mi-detach.exp: New file.
3021
e0619de6
JK
30222015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3023
3024 PR symtab/18392
3025 * gdb.arch/amd64-tailcall-self.S: New file.
3026 * gdb.arch/amd64-tailcall-self.c: New file.
3027 * gdb.arch/amd64-tailcall-self.exp: New file.
3028
e970cb34
DB
30292015-05-28 Don Breazeal <donb@codesourcery.com>
3030
3031 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3032 tests for remote targets by checking is_target_gdbserver.
3033
b2e2f908
DE
30342015-05-27 Doug Evans <dje@google.com>
3035
3036 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3037 * gdb.dwarf2/opaque-type-lookup.c: New file.
3038 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3039
82c7be31
DE
30402015-05-26 Doug Evans <dje@google.com>
3041
3042 * gdb.cp/iostream.cc: New file.
3043 * gdb.cp/iostream.exp: New file.
3044
b4f54984
DE
30452015-05-26 Doug Evans <dje@google.com>
3046
3047 * gdb.dwarf2/dw2-op-call.exp: Update.
3048 * gdb.dwarf2/dw4-sig-types.exp: Update.
3049 * gdb.dwarf2/implptr.exp: Update.
3050 * gdb.mi/mi-cmd-param-changed.exp: Update.
3051
4ea6efe9
DE
30522015-05-26 Doug Evans <dje@google.com>
3053
3054 * gdb.python/py-lazy-string.c: New file.
3055 * gdb.python/py-lazy-string.exp: New file.
3056 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3057 (main): Update. Add estring3.
3058 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3059 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3060
f6bb7db3
YQ
30612015-05-26 Omair Javaid <omair.javaid@linaro.org>
3062 Yao Qi <yao.qi@linaro.org>
3063
3064 * gdb.reverse/aarch64.c: New.
3065 * gdb.reverse/aarch64.exp: New.
3066
a81bfbd0
OJ
30672015-05-26 Omair Javaid <omair.javaid@linaro.org>
3068
3069 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3070 (supports_reverse): Likewise.
3071
158bf1b4
PP
30722015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3073
3074 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3075 Use with_test_prefix.
3076
a0145030
AB
30772015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3078
3079 * gdb.base/completion.exp: Add test for completion of layout
3080 names.
3081
ebe3b578
AB
30822015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3083
3084 * lib/gdb.exp (skip_tui_tests): New proc.
3085 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3086
84204ed7
PA
30872015-05-19 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3090 Save the whole env array instead of just HOME. Unset HISTSIZE in
3091 the environment while testing. Restore whole environment
3092 afterwards.
3093
37442ce1
DE
30942015-05-16 Doug Evans <xdje42@gmail.com>
3095
3096 * gdb.guile/scm-ports.c: New file.
3097 * gdb.guile/scm-ports.exp: Add memory port tests.
3098
36de76f9
JK
30992015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3100
3101 * gdb.compile/compile-print.c: New file.
3102 * gdb.compile/compile-print.exp: New file.
3103
3a9558c4
JK
31042015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3105
3106 * gdb.compile/compile-ops.exp: Cast param to void.
3107 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3108 (compile code struct_object.selffield = &struct_object): Add xfail.
3109
aa715135
JG
31102015-05-15 Joel Brobecker <brobecker@adacore.com>
3111
3112 * gdb.ada/arr_enum_with_gap: New testcase.
3113
931e5bc3
JG
31142015-05-15 Joel Brobecker <brobecker@adacore.com>
3115
3116 * gdb.ada/byte_packed_arr: New testcase.
3117
9cd4d857
JB
31182015-05-15 Joel Brobecker <brobecker@adacore.com>
3119
3120 * gdb.ada/pckd_neg: New testcase.
3121
ebfd00d2
PP
31222015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3123
3124 PR gdb/17820
3125 * gdb.base/gdbinit-history.exp: New test.
3126 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3127 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3128
4c082a81
SC
31292015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3130
3131 * gdb.python/py-xmethods.cc: Enhance test case.
3132 * gdb.python/py-xmethods.exp: New tests.
3133 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3134 function.
3135 (B_indexoper): Likewise.
3136 (global_dm_list) : Add new xmethod worker functions.
3137
f7797074
SDJ
31382015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3139
3140 * gdb.base/coredump-filter.exp: Correctly unset
3141 "coredump_var_addr" array.
3142
a4674e4e
PA
31432015-05-08 Pedro Alves <palves@redhat.com>
3144
3145 * gdb.server/non-existing-program.exp: Unset spawn_id.
3146
df2eb078
SC
31472015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3148
3149 PR python/18291
3150 * gdb.python/py-xmethods.exp: Add tests.
3151
422349a3
YQ
31522015-05-08 Yao Qi <yao.qi@linaro.org>
3153
3154 PR gdb/18208
3155 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3156 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3157 function set_coredump_filter, and remove remote_exec call.
3158 Remove argument ipid. Callers update.
3159 (top level): Don't get inferior's PID.
3160
63fc80ce
AA
31612015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3162
3163 * gdb.base/watch_thread_num.exp: Skip test on targets without
3164 access watchpoints.
3165
80ad801e
PA
31662015-05-06 Pedro Alves <palves@redhat.com>
3167
3168 PR server/18081
3169 * gdb.server/non-existing-program.exp: New file.
3170
0fa7fe50
JB
31712015-05-05 Joel Brobecker <brobecker@adacore.com>
3172
3173 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3174
3ea89b92
PMR
31752015-05-05 Joel Brobecker <brobecker@adacore.com>
3176
3177 * gdb.ada/out_of_line_in_inlined: New testcase.
3178
87b8eff0
JB
31792015-05-05 Joel Brobecker <brobecker@adacore.com>
3180
3181 * gdb.ada/var_rec_arr: New testcase.
3182
5fccc635
YQ
31832015-04-30 Yao Qi <yao.qi@linaro.org>
3184
3185 * gdb.base/break-idempotent.exp: If
3186 skip_hw_watchpoint_multi_tests returns true, skip the tests
3187 on "rwatch" and "awatch".
3188
42d38f42
YQ
31892015-04-30 Yao Qi <yao.qi@linaro.org>
3190
3191 * gdb.base/relativedebug.exp: Invoke gdb command
3192 "info sharedlibrary", and if libc.so doesn't have debug info,
3193 skip the test.
3194
2ce1cdbf
DE
31952015-04-29 Doug Evans <dje@google.com>
3196
3197 * gdb.python/py-xmethods.exp: Add ptype tests.
3198 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3199 get_result_type method.
3200
f24a38c5
LM
32012015-04-29 Luis Machado <lgustavo@codesourcery.com>
3202
3203 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3204 the target does not support hardware watchpoints.
3205
ecbf2b3c
LM
32062015-04-29 Luis Machado <lgustavo@codesourcery.com>
3207
3208 * gdb.base/break-always.exp: Abort testing if writing to memory
3209 causes an error.
3210
34f5f757
DE
32112015-04-28 Doug Evans <dje@google.com>
3212
3213 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3214 * gdb.python/py-pp-registration.exp: ... here. New file.
3215 * gdb.python/py-pp-registration.c: New file.
3216 * gdb.python/py-pp-registration.py: New file.
3217
69b4374a
DE
32182015-04-28 Doug Evans <dje@google.com>
3219
3220 * gdb.python/py-bad-printers.c: New file.
3221 * gdb.python/py-bad-printers.py: New file.
3222 * gdb.python/py-bad-printers.exp: New file.
3223
59fb7612
SS
32242015-04-28 Sasha Smundak <asmundak@google.com>
3225
3226 * gdb.python/py-type.exp: New test.
3227
2631b16a
AW
32282015-04-28 Andy Wingo <wingo@igalia.com>
3229
3230 * gdb.python/py-parameter.exp:
3231 * gdb.guile/scm-parameter.exp: Escape the path that we are
3232 matching against, as it might contain characters that are special
3233 to regular expressions.
3234
460efde1
JB
32352015-04-27 Joel Brobecker <brobecker@adacore.com>
3236
3237 * gdb.ada/rec_comp: New testcase.
3238
2d369d8e
SDJ
32392015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3240
3241 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3242 before using it.
3243
cf75d6c3
AB
32442015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3245
3246 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3247 new tests for verilog output.
3248
8dbe7ca5
YQ
32492015-04-24 Yao Qi <yao.qi@linaro.org>
3250
3251 * boards/remote-gdbserver-on-localhost.exp: New file.
3252
4ef9fb2f
PA
32532015-04-23 Pedro Alves <palves@redhat.com>
3254
3255 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3256 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3257 "end of file", remove $inferior_spawn_id from the indirect list.
3258
0a803169
PA
32592015-04-23 Pedro Alves <palves@redhat.com>
3260
3261 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3262
749ef8f8
PA
32632015-04-23 Pedro Alves <palves@redhat.com>
3264
3265 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3266 on $any_spawn_id instead of only on $gdb_spawn_id.
3267
8aae4344
PM
32682015-04-21 Pierre Muller <muller@sourceware.org>
3269
3270 PR pascal/17815
3271 * lib/pascal.exp (gpc_compile): Add new option "class".
3272 (fpc_compile): Likewise.
3273 * gdb.pascal/case-insensitive-symbols.pas: New file.
3274 * gdb.pascal/case-insensitive-symbols.exp: New file.
3275
1586c8fb
GB
32762015-04-20 Gary Benson <gbenson@redhat.com>
3277
3278 * gdb.base/attach.exp: Fix three extended remote failures.
3279
1b6e6f5c
GB
32802015-04-17 Gary Benson <gbenson@redhat.com>
3281
3282 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3283 the main executable over the remote protocol.
3284
e797481d
PA
32852015-04-16 Pedro Alves <palves@redhat.com>
3286
3287 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3288 a new gdbserver if gdbserver_reconnect_p is set.
3289
1ca99c42
PA
32902015-04-16 Pedro Alves <palves@redhat.com>
3291
3292 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3293 is set, don't exit gdbserver.
3294
af9fd6f8
AA
32952015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3296
3297 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3298 appropriate .insn, such that an older assembler can be used.
3299 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3300 the z/Architecture instruction set on 31-bit targets as well.
3301
04ff1e61
AA
33022015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3303
3304 * gdb.go/handcall.exp: Remove all logic related to the first
3305 breakpoint and rely on go_runto_main instead.
3306 * gdb.go/strings.exp: Likewise.
3307 * gdb.go/unsafe.exp: Likewise.
3308 * gdb.go/hello.exp: Likewise. Also rename the remaining
3309 breakpoint marker to "breakpoint 1".
3310 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3311 * gdb.go/strings.go: Likewise.
3312 * gdb.go/unsafe.go: Likewise.
3313 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3314 "set breakpoint 2 here" and rename the remaining breakpoint marker
3315 to "breakpoint 1".
3316
40d2f8d6
SM
33172015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3318
3319 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3320 if itertools.imap is not present.
3321 * gdb.python/py-objfile.exp: Add parentheses.
3322 * gdb.python/py-type.exp: Same.
3323 * gdb.python/py-unwind-maint.py: Same.
3324
8cbc97c6
YQ
33252015-04-15 Yao Qi <yao.qi@linaro.org>
3326
3327 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3328 of ":$ptr_size" and set its form explicitly.
3329
45fd756c
YQ
33302015-04-15 Pedro Alves <palves@redhat.com>
3331 Yao Qi <yao.qi@linaro.org>
3332
3333 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3334 timeout by factor of 4.
3335 (test_regular_watch): Likewise.
3336 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3337 * gdb.reverse/sigall-reverse.exp: Likewise.
3338 * gdb.reverse/until-precsave.exp: Likewise.
3339 * lib/gdb.exp (with_timeout_factor): New proc.
3340 (gdb_expect): Move some code to ...
3341 (get_largest_timeout): ... here. New procedure.
3342
9e811bc3
LM
33432015-04-14 Luis Machado <lgustavo@codesourcery.com>
3344
3345 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3346
0ff6fcb2
LM
33472015-04-13 Luis Machado <lgustavo@codesourcery.com>
3348
3349 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3350 to write to the .text section.
3351
7578d5f7
LM
33522015-04-13 Luis Machado <lgustavo@codesourcery.com>
3353
3354 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3355 Handle the case of targets that do not provide PID information.
3356
2efe15c4
YQ
33572015-04-13 Yao Qi <yao.qi@linaro.org>
3358
3359 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3360 and use expect instead of gdb_expect.
3361
8cd8f2f8
SDJ
33622015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3363
3364 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3365 "coredump_var_addr" to avoid naming conflict with other testcases.
3366
9ee41772
PA
33672015-04-10 Pedro Alves <palves@redhat.com>
3368
3369 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3370 gdb_test_sequence and gdb_assert.
3371
07473109
PA
33722015-04-10 Pedro Alves <palves@redhat.com>
3373
3374 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3375 test messages that don't include the breakpoint address.
3376
de3db44c
YQ
33772015-04-10 Yao Qi <yao.qi@linaro.org>
3378
3379 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3380 false for some offset and width combinations which aren't
3381 supported by linux kernel.
3382
c79d856c
PA
33832015-04-10 Pedro Alves <palves@redhat.com>
3384
3385 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3386 procedure, factored out from ...
3387 (top level): ... here. Add "set displaced-stepping" testing axis.
3388 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3389 parameter "displaced". Use it.
3390 (top level): Use foreach and add "set displaced-stepping" testing
3391 axis.
3392
ebc90b50
PA
33932015-04-10 Pedro Alves <palves@redhat.com>
3394
3395 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3396 Remove comment.
3397 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3398 both the address of the instruction that triggers the watchpoint
3399 and the address of the instruction immediately after, and use
3400 those addresses for the test. Fix comment.
3401
8f572e5c
PA
34022015-04-10 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.base/sigstep.exp (breakpoint_to_handler)
3405 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3406 Test "backtrace" in handler.
3407 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3408 (top level): Add new "displaced" test axis to
3409 breakpoint_to_handler, breakpoint_to_handler_entry and
3410 breakpoint_over_handler.
3411
8d707a12
PA
34122015-04-10 Pedro Alves <palves@redhat.com>
3413
3414 PR gdb/18216
3415 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3416
ef713951
YQ
34172015-04-10 Yao Qi <yao.qi@linaro.org>
3418
3419 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3420 (test_add_rn_pc): New function.
3421 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3422 (top level): Invoke test_add_rn_pc.
3423
906d60cf
PA
34242015-04-10 Pedro Alves <palves@redhat.com>
3425
3426 PR gdb/13858
3427 * gdb.base/step-over-no-symbols.exp: New file.
3428
f2983cc3
AW
34292015-04-09 Andy Wingo <wingo@igalia.com>
3430
3431 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3432 after the Python tests.
3433
6d62641c
SDJ
34342015-04-08 Keith Seitz <keiths@redhat.com>
3435
3436 PR python/16699
3437 * gdb.python/py-completion.exp: New tests for completion.
3438 * gdb.python/py-completion.py (CompleteLimit1): New class.
3439 (CompleteLimit2): Likewise.
3440 (CompleteLimit3): Likewise.
3441 (CompleteLimit4): Likewise.
3442 (CompleteLimit5): Likewise.
3443 (CompleteLimit6): Likewise.
3444 (CompleteLimit7): Likewise.
3445
f3770638
PA
34462015-04-08 Pedro Alves <palves@redhat.com>
3447
3448 PR gdb/18214
3449 PR gdb/18216
3450 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3451 function.
3452 (main): Install it as SIGUSR1 handler.
3453 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3454 parameter. Always use "setup" as prefix. Toggle "set
3455 displaced-stepping" off/on depending on global. Don't switch to
3456 thread 1 here.
3457 (top level): Add displaced stepping "off/on" test axis. Update
3458 "setup" calls. Wrap each subtest with with_test_prefix. Test
3459 continuing with a queued signal in each thread.
3460
4496bed7
PA
34612015-04-08 Pedro Alves <palves@redhat.com>
3462
3463 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3464 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3465 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3466 Return early if running to main fails.
3467 * gdb.trace/while-stepping.exp: Likewise.
3468
b97fde92
PA
34692015-04-07 Pedro Alves <palves@redhat.com>
3470
3471 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3472 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3473 interact with inferior program.
3474
f71c18e7
PA
34752015-04-07 Pedro Alves <palves@redhat.com>
3476
3477 * lib/gdb.exp (inferior_spawn_id): New global.
3478 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3479 spawn id after processing the user code.
3480 (default_gdb_start): Set inferior_spawn_id.
3481 (send_inferior): New procedure.
3482 * lib/gdbserver-support.exp (gdbserver_start): Set
3483 inferior_spawn_id.
3484 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3485
6423214f
PA
34862015-04-07 Pedro Alves <palves@redhat.com>
3487
3488 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3489 * lib/gdbserver-support.exp (gdbserver_start): Make
3490 $server_spawn_id global.
3491 (gdbserver_start): Don't wait for gdbserver's spawn id with
3492 expect_background.
3493 (close_gdbserver): New procedure.
3494 (gdb_exit): Rename the default version and reimplement.
3495
71c0ee8c
PA
34962015-04-07 Pedro Alves <palves@redhat.com>
3497
72f4393d 3498 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3499 append the substituted item, not the original item.
3500
203bc29b
PA
35012015-04-07 Pedro Alves <palves@redhat.com>
3502
3503 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3504 gdb_expect.
3505
508a3ddf
PA
35062015-04-07 Pedro Alves <palves@redhat.com>
3507
3508 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3509 output appearing once only.
3510
9f6dbe2b
PA
35112015-04-07 Pedro Alves <palves@redhat.com>
3512
3513 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3514 that doesn't expect anything. Return early if running to main
3515 fails.
3516
337532fa
YQ
35172015-04-07 Yao Qi <yao.qi@linaro.org>
3518
3519 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3520 (child_function): Call alarm.
3521 (main): Move call to alarm into the loop.
3522 * gdb.threads/non-stop-fair-events.exp: Build program with
3523 -DTIMEOUT=$timeout.
3524
01b622d4
DE
35252015-04-06 Doug Evans <xdje42@gmail.com>
3526
3527 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3528 Fix dest parameter to board_info.
3529 (fpc_compile): Ditto.
3530 (gdb_compile_pascal): Rename dest arg to destfile.
3531
961f4160
PMR
35322015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3533
3534 * gdb.ada/funcall_ref.exp: New file.
3535 * gdb.ada/funcall_ref/foo.adb: New file.
3536
cafda597
YQ
35372015-04-02 Yao Qi <yao.qi@linaro.org>
3538
3539 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3540 is remote.
3541
fed040c6
GB
35422015-04-02 Gary Benson <gbenson@redhat.com>
3543
3544 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3545
d11916aa
SS
35462015-04-01 Sasha Smundak <asmundak@google.com>
3547
3548 * gdb.python/py-unwind-maint.c: New file.
3549 * gdb.python/py-unwind-maint.exp: New test.
3550 * gdb.python/py-unwind-maint.py: New file.
3551 * gdb.python/py-unwind.c: New file.
3552 * gdb.python/py-unwind.exp: New test.
3553 * gdb.python/py-unwind.py: New test.
3554
a1471180
PA
35552015-04-01 Pedro Alves <palves@redhat.com>
3556
3557 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3558 to fail instead of non-existent $test.
3559
0bbeccb1
PA
35602015-04-01 Pedro Alves <palves@redhat.com>
3561
3562 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3563 GDBFLAGS if not empty.
3564
3c724c8c
PMR
35652015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3566
3567 * gdb.ada/complete.exp: Remove "multi_line".
3568 * gdb.ada/info_exc.exp: Remove "multi_line".
3569 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3570 * gdb.ada/ptype_field.exp: Remove "multi_line".
3571 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3572 * gdb.ada/tagged.exp: Remove "multi_line".
3573 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3574 [multi_line ...]
3575 * gdb.btrace/delta.exp: Likewise.
3576 * gdb.btrace/exception.exp: Likewise.
3577 * gdb.btrace/function_call_history.exp: Likewise.
3578 * gdb.btrace/instruction_history.exp: Likewise.
3579 * gdb.btrace/nohist.exp: Likewise.
3580 * gdb.btrace/record_goto.exp: Likewise.
3581 * gdb.btrace/segv.exp: Likewise.
3582 * gdb.btrace/stepi.exp: Likewise.
3583 * gdb.btrace/tailcall.exp: Likewise.
3584 * gdb.btrace/unknown_functions.exp: Likewise.
3585 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3586 * lib/gdb.exp: Add the "multi_line" helper.
3587
4eec2deb
PA
35882015-04-01 Pedro Alves <palves@redhat.com>
3589
3590 * gdb.threads/tid-reuse.c: New file.
3591 * gdb.threads/tid-reuse.exp: New file.
3592
df8411da
SDJ
35932015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3594
3595 PR corefiles/16092
3596 * gdb.base/coredump-filter.c: New file.
3597 * gdb.base/coredump-filter.exp: Likewise.
3598
6ef37366
PM
35992015-03-27 Petr Machata <pmachata@redhat.com>
3600
3601 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3602 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3603 (Dwarf::assemble): Initialize them.
3604 (Dwarf::lines): New function.
3605
7ec911b0
JT
36062015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3607
3608 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3609 SYMBOL_PREFIX for x86_64-*-cygwin.
3610
ff908ebf
AW
36112015-03-26 Andy Wingo <wingo@igalia.com>
3612
3613 PR symtab/18148
3614 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3615 const_value but not a location.
3616 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3617 location defined in non-main CUs are visible.
3618
6d5f0679
YQ
36192015-03-26 Yao Qi <yao.qi@linaro.org>
3620
3621 PR testsuite/18139
3622 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3623 Add a line number entry for the same line.
3624 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3625 Add a line number entry for the same line.
3626
2898689b
YQ
36272015-03-26 Yao Qi <yao.qi@linaro.org>
3628
3629 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3630 .int 0.
3631 (func): Likewise. Add .Lfunc_1 label.
3632 Use .Lfunc_1 label.
3633 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3634 .int 0.
3635 (func): Likewise.
3636 Use .Lfunc_1 label.
3637
85180498
YQ
36382015-03-26 Yao Qi <yao.qi@linaro.org>
3639
3640 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3641 Call gdb_compile instead to compile each .s files without debug
3642 information.
3643
8aa08a8d
YQ
36442015-03-26 Yao Qi <yao.qi@linaro.org>
3645
3646 * gdb.base/savedregs.exp (process_saved_regs): Make
3647 "Saved registers:" optional in the pattern.
3648
66849923
MM
36492015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3650
3651 * gdb.btrace/next.exp: Merged into step.exp.
3652 * gdb.btrace/finish.exp: Merged into step.exp.
3653 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3654 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3655 "record goto" and checking the exact replay position.
3656 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3657 check for "Recording format" in "info record" output.
3658 * gdb.btrace/record_goto.exp: Choose test file based on target.
3659 * gdb.btrace/x86-record_goto.S: Renamed into ...
3660 * gdb.btrace/x86_64-record_goto.S: ... this.
3661 * gdb.btrace/i686-record_goto.S: New.
3662 * gdb.btrace/x86-tailcall.S: Renamed into ...
3663 * gdb.btrace/x86_64-tailcall.S: ... this.
3664 * gdb.btrace/i686-tailcall.S: New.
3665 * gdb.btrace/x86-tailcall.c: Renamed into ...
3666 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3667 separate statements. Update test.
3668 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3669 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3670 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3671 * gdb.btrace/tailcall.exp: Choose test file based on target.
3672 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3673
11cc1b74
MM
36742015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3675
3676 * gdb.btrace/exception.exp: Increase BTS buffer size.
3677
a25d8bf9
PA
36782015-03-24 Pedro Alves <palves@redhat.com>
3679
3680 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3681
856e7dd6
PA
36822015-03-24 Pedro Alves <palves@redhat.com>
3683
3684 * gdb.threads/schedlock.exp (test_step): No longer expect that
3685 "set scheduler-locking step" with "next" over a function call runs
3686 threads unlocked.
3687
ad235a41
AT
36882015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3689
3690 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3691
15630549
AT
36922015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3693
3694 PR breakpoints/16466
3695 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3696 * gdb.mi/mi-pending.c (thread_func): New function.
3697 (int main): Add threading support required.
3698 * gdb.mi/mi-pending.exp: Add tests for this issue.
3699 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3700 (pendfunc2): Remove stdio dependency.
3701 * gdb.mi/mi-pendshr2.c: New file.
3702
693dca06
KS
37032015-03-23 Keith Seitz <keiths@redhat.com>
3704
3705 * gdb.linespec/keywords.c: New file.
3706 * gdb.linespec/keywords.exp: New file.
3707
7e993ebf
KS
37082015-03-23 Keith Seitz <keiths@redhat.com>
3709
3710 PR gdb/18021
3711 * gdb.dwarf2/staticvirtual.exp: New test.
3712
bc23328c
JK
37132015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3714
3715 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3716 * README: Remove HP-UX and gdb.hp.
3717 (configuration):
3718 * configure: Regenerate.
3719 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3720 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3721 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3722 gdb.hp/gdb.defects/Makefile.
3723 * gdb.hp/Makefile.in: File deleted.
3724 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3725 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3726 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3727 * gdb.hp/gdb.aCC/run.c: File deleted.
3728 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3729 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3730 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3731 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3732 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3733 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3734 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3735 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3736 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3737 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3738 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3739 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3740 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3741 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3742 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3743 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3744 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3745 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3746 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3747 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3748 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3749 * gdb.hp/gdb.compat/average.c: File deleted.
3750 * gdb.hp/gdb.compat/sum.c: File deleted.
3751 * gdb.hp/gdb.compat/xdb.c: File deleted.
3752 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3753 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3754 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3755 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3756 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3757 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3758 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3759 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3760 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3761 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3762 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3763 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3764 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3765 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3766 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3767 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3768 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3769 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3770 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3771 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3772 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3773 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3774 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3775 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3776 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3777 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3778 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3779 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3780 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3781 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3782 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3783 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3784 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3785 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3786 * gdb.hp/tools/odump: File deleted.
3787
8bf3b159
PA
37882015-03-19 Pedro Alves <palves@redhat.com>
3789
3790 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3791 (saw_thread_3): New globals.
3792 (top level): Increment them when an event for the corresponding
3793 thread is seen.
3794 (no thread starvation): New test.
3795
eb54c8bf
PA
37962015-03-19 Pedro Alves <palves@redhat.com>
3797
3798 * gdb.threads/continue-pending-status.c: New file.
3799 * gdb.threads/continue-pending-status.exp: New file.
3800
32d2e5d6
PA
38012015-03-18 Pedro Alves <palves@redhat.com>
3802
3803 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3804 Use gdb_is_target_remote instead of is_remote. Use
3805 gdb_test_multiple instead of gdb_expect. Exit early if
3806 gdb_test_multiple hits its internal matches. Tighten stepi tests
3807 expected output. Fail on exit with any signal, instead of just
3808 SIGILL.
3809
f68f11b7
YQ
38102015-03-18 Yao Qi <yao.qi@linaro.org>
3811
3812 PR tdep/18107
3813 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3814 variable.
3815 * gdb.base/catch-syscall.exp: Don't skip it on
3816 aarch64*-*-linux* target. Remove elements in all_syscalls.
3817 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3818 target.
3819 (setup_all_syscalls): New proc.
3820
ca5fd19b
YQ
38212015-03-16 Yao Qi <yao.qi@linaro.org>
3822
3823 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3824 (top level): Skip tests if valid_addr_p returns false for
3825 $cmd1 or $cmd2.
3826
85642ba0
AW
38272015-03-11 Andy Wingo <wingo@igalia.com>
3828
3829 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3830
e03f9645
YQ
38312015-03-11 Yao Qi <yao.qi@linaro.org>
3832
3833 * gdb.base/catch-syscall.exp: Fix typo in comments.
3834
5d0962b2
YQ
38352015-03-11 Yao Qi <yao.qi@linaro.org>
3836
3837 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3838
b2df3cef
PA
38392015-03-09 Pedro Alves <palves@redhat.com>
3840
3841 * dg-extract-results.py: Delete.
3842
ef878e53
PA
38432015-03-09 Pedro Alves <palves@redhat.com>
3844
3845 Merge dg-extract-results.sh from GCC upstream (r218843).
3846
3847 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3848 * dg-extract-results.sh: Use --text with grep to avoid issues with
3849 binary files. Fall back to cat -v, if that doesn't work.
3850
9494d219
PA
38512015-03-05 Pedro Alves <palves@redhat.com>
3852
3853 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3854
a8d9763a
SM
38552015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3856
3857 * lib/mi-support.exp (mi_expect_interrupt): Accept
3858 alternative event for when in all-stop mode.
3859
be9957b8
PA
38602015-03-04 Pedro Alves <palves@redhat.com>
3861
3862 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3863
d57be0f4 38642015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3865
3866 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3867
c214c7cf
AA
38682015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3869
3870 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3871 regexps for GDB's current line display, accept a hex address
3872 preceding the line number.
3873
6d74a497
AA
38742015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3875
3876 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3877 the 'arch1' variable for "s390*-linux*" targets.
3878
511aee7c
PA
38792015-03-04 Pedro Alves <palves@redhat.com>
3880
3881 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3882 (main): Pass missing retval argument to pthread_join call.
3883
95e50b27
PA
38842015-03-02 Pedro Alves <palves@redhat.com>
3885
3886 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3887 (top level): Call do_test with non-stop as well.
3888
28054d69
PA
38892015-03-02 Pedro Alves <palves@redhat.com>
3890
3891 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3892 -1.
3893
4fa5d7b4
AA
38942015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3895
3896 * gdb.arch/s390-vregs.exp: New test.
3897 * gdb.arch/s390-vregs.S: New file.
3898
97c18565
PA
38992015-02-27 Pedro Alves <palves@redhat.com>
3900
3901 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3902 call to catch_command_errors.
3903 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3904 catch_command_errors.
3905
a37bfa30
PA
39062015-02-27 Pedro Alves <palves@redhat.com>
3907
3908 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3909 "true" for boolean result.
3910 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3911 prototype of main.
3912
6f98576f
PA
39132015-02-27 Pedro Alves <palves@redhat.com>
3914
3915 * lib/unbuffer_output.c: New file.
3916 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3917 (main): Call gdb_unbuffer_output.
3918
eba5ab56
YQ
39192015-02-27 Yao Qi <yao.qi@linaro.org>
3920
3921 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3922 target.
3923
0def5aaa
DE
39242015-02-26 Doug Evans <dje@google.com>
3925
3926 * gdb.cp/class2.cc (Dbase, D): New classes.
3927 (main): New local delta.
3928 * gdb.cp/class2.exp: Test printing delta.
3929 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3930 (dynbar): New global.
3931 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3932
081a1c2c
JK
39332015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3934
3935 * gdb.compile/compile-ifunc.c: New file.
3936 * gdb.compile/compile-ifunc.exp: New file.
3937
2f41223f
AT
39382015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3939
3940 * gdb.base/structs.exp: Check for correct struct on finish.
3941
03eddd80
YQ
39422015-02-26 Yao Qi <yao.qi@linaro.org>
3943
3944 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3945 is zero.
3946
80c57053
JK
39472015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3948
3949 * gdb.arch/cordic.ko.bz2: New file.
3950 * gdb.arch/cordic.ko.debug.bz2: New file.
3951 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3952
21613c12
YQ
39532015-02-25 Yao Qi <yao.qi@linaro.org>
3954
3955 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3956 aarch64*-*-* target.
3957
d8b901ed
PA
39582015-02-23 Pedro Alves <palves@redhat.com>
3959
3960 * lib/gdb.exp (delete_breakpoints): Rewrite using
3961 gdb_test_multiple.
3962
e5b85ead
PA
39632015-02-23 Pedro Alves <palves@redhat.com>
3964
3965 * gdb.base/info-os.c: Include stdlib.h.
3966
85c3a371
DE
39672015-02-22 Doug Evans <xdje42@gmail.com>
3968
3969 PR symtab/17855
3970 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3971 is read after symbols have been re-read.
3972 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3973 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3974
96553a0c
DE
39752015-02-21 Doug Evans <dje@google.com>
3976
3977 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3978
97a0c697
JK
39792015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3980
3981 PR corefiles/17808
3982 * gdb.arch/i386-biarch-core.core.bz2: New file.
3983 * gdb.arch/i386-biarch-core.exp: New file.
3984
a47cd6e9
PA
39852015-02-21 Pedro Alves <palves@redhat.com>
3986
3987 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3988 runto_main fails.
3989
c5facdc4
PA
39902015-02-20 Pedro Alves <palves@redhat.com>
3991
3992 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3993 info probes.
3994
2db9a427
PA
39952015-02-20 Pedro Alves <palves@redhat.com>
3996
3997 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3998
60fb7e9e
PA
39992015-02-20 Pedro Alves <palves@redhat.com>
4000
4001 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4002 clean_restart before gdb_target_supports_trace.
4003
5c5019c2
PA
40042015-02-20 Pedro Alves <palves@redhat.com>
4005
4006 PR threads/18006
4007 * gdb.threads/clone-thread_db.c: New file.
4008 * gdb.threads/clone-thread_db.exp: New file.
4009
c9587f88
AT
40102015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4011
4012 PR breakpoints/16812
4013 * gdb.base/catch-gdb-caused-signals.c: New file.
4014 * gdb.base/catch-gdb-caused-signals.exp: New file.
4015
f6a88844
JM
40162015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4017
4018 * configure: Regenerated.
4019 * configure.ac: Use GDB_AC_TRANSFORM.
4020 * aclocal.m4: sinclude ../transform.m4.
4021
497c491b
JM
40222015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4023
4024 * lib/dtrace.exp: New file.
4025 * gdb.base/dtrace-probe.exp: Likewise.
4026 * gdb.base/dtrace-probe.d: Likewise.
4027 * gdb.base/dtrace-probe.c: Likewise.
4028 * lib/pdtrace.in: Likewise.
4029 * configure.ac: Output variables with the transformed names of
4030 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4031 * configure: Regenerated.
4032
03e98035
JM
40332015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4034
4035 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4036 expected message when trying to access $_probe_* convenience
4037 variables while not on a probe.
4038
63cc30e9
JK
40392015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4040
4041 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4042
0703599a
PA
40432015-02-11 Pedro Alves <pedro@codesourcery.com>
4044
4045 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4046 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4047
7e60a48e
DE
40482015-02-10 Doug Evans <xdje42@gmail.com>
4049
4050 * lib/gdb.exp (gdb_load): Always return a result.
4051
01b088bc
PA
40522015-02-10 Pedro Alves <palves@redhat.com>
4053
4054 * gdb.threads/signal-sigtrap.c: New file.
4055 * gdb.threads/signal-sigtrap.exp: New file.
4056
b05ec7a5
AT
40572015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4058
4059 * gdb.trace/no-attach-trace.c: New file.
4060 * gdb.trace/no-attach-trace.exp: New file.
4061
a2c2acaf
MW
40622015-02-09 Mark Wielaard <mjw@redhat.com>
4063
4064 * gdb.dwarf2/atomic.c: New file.
4065 * gdb.dwarf2/atomic-type.exp: Likewise.
4066
31fd9caa
MM
40672015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4068
4069 * gdb.btrace/buffer-size.exp: Update "info record" output.
4070 * gdb.btrace/delta.exp: Update "info record" output.
4071 * gdb.btrace/enable.exp: Update "info record" output.
4072 * gdb.btrace/finish.exp: Update "info record" output.
4073 * gdb.btrace/instruction_history.exp: Update "info record" output.
4074 * gdb.btrace/next.exp: Update "info record" output.
4075 * gdb.btrace/nexti.exp: Update "info record" output.
4076 * gdb.btrace/step.exp: Update "info record" output.
4077 * gdb.btrace/stepi.exp: Update "info record" output.
4078 * gdb.btrace/nohist.exp: Update "info record" output.
4079
d33501a5
MM
40802015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4081
4082 * gdb.btrace/buffer-size: New.
4083
f4abbc16
MM
40842015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4085
4086 * gdb.btrace/delta.exp: Update "info record" output.
4087 * gdb.btrace/enable.exp: Update "info record" output.
4088 * gdb.btrace/finish.exp: Update "info record" output.
4089 * gdb.btrace/instruction_history.exp: Update "info record" output.
4090 * gdb.btrace/next.exp: Update "info record" output.
4091 * gdb.btrace/nexti.exp: Update "info record" output.
4092 * gdb.btrace/step.exp: Update "info record" output.
4093 * gdb.btrace/stepi.exp: Update "info record" output.
4094 * gdb.btrace/nohist.exp: Update "info record" output.
4095
b9d61307
SM
40962015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4097
4098 PR gdb/15678
4099 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4100
e584fdbc
PA
41012015-02-06 Pedro Alves <palves@redhat.com>
4102
4103 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4104 macro.
4105 (seconds_left, again): New globals.
4106 (main): Wait seconds_left in a 1-second sleep loop instead of
4107 sleeping 180 seconds. If 'again' is set, reset the seconds
4108 counter.
4109 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4110 'again' in the inferior before detaching. Print the seconds left.
4111 (options): New global.
4112 (top level): Build program with -DTIMEOUT=$timeout.
4113
77f41761
PA
41142015-02-06 Pedro Alves <palves@redhat.com>
4115
4116 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4117 determine how many seconds to pass to 'alarm'.
4118 * gdb.base/gdb-sigterm.exp (top level): Build program with
4119 -DTIMEOUT=$timeout.
4120 (do_test): Return success/failure indication. Add more verbose
4121 logging. Don't fail if 200 single steps are seen. Instead, fail
4122 when the test times out.
4123 (passes): New global.
4124 (top level): Break the testing loop if testing fails on any
4125 iteration. Use gdb_assert.
4126
b9394193
DB
41272015-02-04 Don Breazeal <donb@codesourcery.com>
4128
4129 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4130 and initialize them.
4131 (ipc_cleanup): New function.
4132 (main): Don't declare shmid, semid, and msqid. Add a call to
4133 atexit so that we call ipc_cleanup on exit.
4134
42d9e528
PA
41352015-02-04 Pedro Alves <palves@redhat.com>
4136
4137 * boards/native-extended-gdbserver.exp: Remove any target variant
4138 specifications from the board name before clearing the isremote
4139 flag from board_info.
4140
ae6ae975
DE
41412015-01-31 Doug Evans <xdje42@gmail.com>
4142
4143 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4144
cfb069a8
GB
41452015-01-31 Gary Benson <gbenson@redhat.com>
4146
4147 * gdb.base/completion.exp: Disable completion limiting for
4148 existing tests. Add new tests to check completion limiting.
4149 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4150
5dd31d79
DE
41512015-01-31 Doug Evans <xdje42@gmail.com>
4152
4153 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4154
9f050062
DE
41552015-01-31 Doug Evans <xdje42@gmail.com>
4156
4157 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4158 entries. Duplicate file section script entries.
4159 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4160 inlined entries. Add test for safe-path rejection.
4161 * gdb.python/py-section-script.c: Add duplicate inlined section script
4162 entries. Duplicate file section script entries.
4163 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4164 inlined entries. Add test for safe-path rejection.
4165
df25ebbd
JB
41662015-01-29 Joel Brobecker <brobecker@adacore.com>
4167
4168 * gdb.ada/disc_arr_bound: New testcase.
4169
4a0ca9ec
JB
41702015-01-29 Joel Brobecker <brobecker@adacore.com>
4171
4172 * gdb.ada/mi_var_array: New testcase.
4173
3a8b707a
DE
41742015-01-27 Doug Evans <dje@google.com>
4175
4176 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4177 Add test for objfile.filename, objfile.username after objfile
4178 has been unloaded.
4179
f8313f6e
JB
41802015-01-26 Joel Brobecker <brobecker@adacore.com>
4181
4182 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4183 the second test to print the name attribute of value
4184 returned by the call to gdb.lookup_type, and adjust
4185 the expected output accordingly.
4186
37bc665e
MW
41872015-01-25 Mark Wielaard <mjw@redhat.com>
4188
4189 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4190 * gdb.base/disp-step-fork.c: Include unistd.h.
4191 * gdb.base/siginfo-obj.c: Include stdio.h.
4192 * gdb.base/siginfo-thread.c: Likewise.
4193 * gdb.mi/non-stop.c: Include unistd.h.
4194 * gdb.mi/nsthrexec.c: Include stdio.h.
4195 * gdb.mi/pthreads.c: Include unistd.h.
4196 * gdb.modula2/unbounded1.c (main): Declare returns int.
4197 * gdb.reverse/consecutive-reverse.c: Likewise.
4198 * gdb.threads/create-fail.c: Include unistd.h.
4199 * gdb.threads/killed.c: Likewise.
4200 * gdb.threads/linux-dp.c: Likewise.
4201 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4202 * gdb.threads/non-ldr-exc-2.c: Likewise.
4203 * gdb.threads/non-ldr-exc-3.c: Likewise.
4204 * gdb.threads/non-ldr-exc-4.c: Likewise.
4205 * gdb.threads/pthreads.c: Include unistd.h.
4206 (main): Declare returns int.
4207 * gdb.threads/tls-main.c (foo): New declaration.
4208 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4209
f7e5394d
SM
42102015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4211
4212 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4213 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4214
743649fd
MW
42152015-01-15 Mark Wielaard <mjw@redhat.com>
4216
4217 * gdb.base/noreturn-return.c: New file.
4218 * gdb.base/noreturn-return.exp: New file.
4219 * gdb.base/noreturn-finish.c: New file.
4220 * gdb.base/noreturn-finish.exp: New file.
4221
198297aa
PA
42222015-01-23 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.threads/continue-pending-after-query.c: New file.
4225 * gdb.threads/continue-pending-after-query.exp: New file.
4226
717cf30c
AG
42272015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4228 Simon Marchi <simon.marchi@ericsson.com>
4229
4230 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4231 * gdb.base/valgrind-db-attach.exp: Same.
4232 * gdb.base/valgrind-infcall.exp: Same.
4233 * lib/mi-support.exp (default_mi_gdb_start): Same.
4234 * lib/prompt.exp (default_prompt_gdb_start): Same.
4235 * lib/gdb.exp (default_gdb_spawn): Same.
4236 (gdb_interact): New.
4237
4238
4b62a76e
JK
42392015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4240
4241 * gdb.compile/compile.exp (pointer to jit function): New test.
4242
b4cdae6f
WW
42432015-01-17 Wei-cheng Wang <cole945@gmail.com>
4244
4245 * lib/gdb.exp (supports_process_record): Return true for
4246 powerpc*-*-linux*.
4247 (supports_reverse): Likewise.
4248
d221e7ef
DB
42492015-01-15 Don Breazeal <donb@codesourcery.com>
4250
4251 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4252 instead of checking whether the target board is remote and
4253 use spawn_wait_for_attach instead of exec/sleep.
4254 * gdb.base/attach-twice.exp: Likewise.
4255
bafffb51
JB
42562015-01-15 Joel Brobecker <brobecker@adacore.com>
4257
4258 * gdb.ada/var_arr_attrs: New testcase.
4259
5589af0e
PA
42602015-01-14 Pedro Alves <palves@redhat.com>
4261 Joel Brobecker <brobecker@adacore.com>
4262
4263 PR gdb/17525
4264 * gdb.base/bp-cmds-execution-x-script.c: New file.
4265 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4266 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4267
6c400b59
PA
42682015-01-14 Pedro Alves <palves@redhat.com>
4269
4270 PR cli/17828
4271 * gdb.base/batch-preserve-term-settings.c: New file.
4272 * gdb.base/batch-preserve-term-settings.exp: New file.
4273
e02c96a7
DE
42742015-01-13 Doug Evans <dje@google.com>
4275
4276 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4277 binary.
4278
576fd14c
JB
42792015-01-13 Joel Brobecker <brobecker@adacore.com>
4280
4281 * Makefile.in (clean mostlyclean): Do not delete *.py.
4282
04dccad0
JB
42832015-01-13 Joel Brobecker <brobecker@adacore.com>
4284
4285 * gdb.python/py-lookup-type.exp: New file.
4286
3d230f71
PA
42872015-01-12 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4290 restore GDBFLAGS before returning.
4291
7e67715d
JK
42922015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4293
4294 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4295 is_amd64_regs_target and is_x86_like_target.
4296
f2e0d4b4
DE
42972015-01-11 Doug Evans <xdje42@gmail.com>
4298
4299 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4300 is given without an explicit form.
4301 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4302 attributes.
4303 * gdb.dwarf/corrupt.exp: Ditto.
4304 * gdb.dwarf2/enum-type.exp: Ditto.
4305 * gdb.trace/entry-values.exp: Ditto.
4306 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4307
439250fb
DE
43082015-01-11 Doug Evans <xdje42@gmail.com>
4309
4310 PR gdb/15830
4311 * gdb.base/maint.exp: Remove references to "maint demangle".
4312 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4313 Add tests for explicitly specifying language to demangle.
4314 * gdb.dlang/demangle.exp: Ditto.
4315
ede9f622
PA
43162015-01-09 Pedro Alves <palves@redhat.com>
4317
4318 * gdb.threads/non-stop-fair-events.c: New file.
4319 * gdb.threads/non-stop-fair-events.exp: New file.
4320
a7b796db
PA
43212015-01-09 Pedro Alves <palves@redhat.com>
4322
4323 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4324 the global scope. Set a breakpoint after all threads are started
4325 rather than stepping over two source lines. Expect the prompt.
4326 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4327 global.
4328 (NUM): Now 15.
4329 (main): Use threads_started_barrier to wait for all threads to
4330 start. Main thread no longer calls thread_function. Exit after
4331 180 seconds.
4332 (loop): New function.
4333 (thread_function): Wait on threads_started_barrier barrier. Call
4334 'loop' at each iteration.
4335 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4336 threads have started, instead of hardcoding number of "next"
4337 steps. Use an access watchpoint instead of a write watchpoint.
4338
9665ffdd
PA
43392015-01-09 Pedro Alves <palves@redhat.com>
4340
4341 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4342 (thread_func): Wait on barrier.
4343 (main): Wait for all threads to start before stopping GDB.
4344 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4345 global.
4346 (thread1_func, thread2_func): Wait on barrier.
4347 (main): Wait for all threads to start before stopping GDB.
4348 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4349 New global.
4350 (thread1_func, thread2_func): Wait on barrier.
4351 (main): Wait for all threads to start before stopping GDB.
4352
c945a99f
PA
43532015-01-09 Pedro Alves <palves@redhat.com>
4354
4355 * gdb.threads/attach-many-short-lived-threads.c: New file.
4356 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4357
c1a747c1
PA
43582014-01-09 Pedro Alves <palves@redhat.com>
4359
4360 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4361 instead of to thread 2.
4362 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4363 Add barrier around each pthread_create call instead of around all
4364 calls.
4365 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4366 Set a break on thread_function and have the child threads hit it
4367 one at at a time.
4368
60b3033e
PA
43692015-01-09 Pedro Alves <palves@redhat.com>
4370
4371 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4372 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4373 false.
4374 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4375 checking whether the target board is remote.
4376 * gdb.multi/multi-attach.exp: Likewise.
4377 * gdb.python/py-sync-interp.exp: Likewise.
4378 * gdb.server/ext-attach.exp: Likewise.
4379 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4380 tests that need to attach, instead of checking whether the target
4381 board is remote at the top of the file.
4382
acc018ac
YQ
43832015-01-08 Yao Qi <yao@codesourcery.com>
4384
4385 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4386
50a18af8
JK
43872015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4388
4389 Fix testcase compilation.
4390 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4391
8503d6e1
JB
43922015-01-06 Joel Brobecker <brobecker@adacore.com>
4393
4394 * gdb.python/py-type.exp: Add a couple test about empty
4395 array creation, and negative-length array creation.
4396
cc73dbcc
DE
43972015-01-02 Doug Evans <xdje42@gmail.com>
4398
4399 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4400
0300bbc7
DE
44012015-01-02 Doug Evans <dje@google.com>
4402
4403 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4404
9d85a0ec
YQ
44052014-12-29 Yao Qi <yao@codesourcery.com>
4406
4407 * gdb.trace/entry-values.exp: Update comments. Rename variable
4408 bar_call_foo to returned_from_foo.
4409
87186c6a
MMN
44102014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4411
4412 PR gdb/17394
4413 * gdb.linespec/break-asm-file.c: New file.
4414 * gdb.linespec/break-asm-file.exp: New file.
4415 * gdb.linespec/break-asm-file0.s: New file.
4416 * gdb.linespec/break-asm-file1.s: New file.
4417
1bab7383
YQ
44182014-12-18 Nigel Stephens <nigel@mips.com>
4419 Maciej W. Rozycki <macro@codesourcery.com>
4420
4421 * gdb.base/float.exp: Handle the new output from "info float" on
4422 MIPS targets.
4423
1bc1068a
JK
44242014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4425
4426 Fix MinGW compilation.
4427 * gdb.compile/compile-ops.exp: Update untested message if
4428 !skip_compile_feature_tests.
4429 * gdb.compile/compile-setjmp.exp: Likewise.
4430 * gdb.compile/compile-tls.exp: Likewise.
4431 * gdb.compile/compile.exp: Likewise.
4432 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4433 supported on this host".
4434
b6615d10
DE
44352014-12-16 Doug Evans <xdje42@gmail.com>
4436
4437 * boards/stabs.exp: New file.
4438
25dda427
AA
44392014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4440
4441 * gdb.base/completion.exp: Adjust to format changes of "maint
4442 print user-registers".
4443
bf330350
CU
44442014-12-16 Catalin Udma <catalin.udma@freescale.com>
4445
4446 PR server/17457
4447 * gdb.arch/aarch64-fp.c: New file.
4448 * gdb.arch/aarch64-fp.exp: New file.
4449
395cf596
SDJ
44502014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4451
4452 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4453 r210637, r210913, r211666, r215400, r215817).
4454
4455 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4456 * dg-extract-results.py: New file.
4457 * dg-extract-results.sh: Use it if the environment seems
4458 suitable.
4459
4460 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4461
4462 * dg-extract-results.py (parse_run): Handle warnings that
4463 are printed before a test harness is run.
4464
4465 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4466
4467 * dg-extract-results.py (Named): Remove __cmp__ method.
4468 (output_variation): Use a key to sort variation.harnesses.
4469
4470 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4471
4472 * dg-extract-results.py: For Python 3, force sys.stdout to
4473 handle surrogate escape sequences.
4474 (safe_open): New function.
4475 (output_segment, main): Use it.
4476
4477 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4478
4479 * dg-extract-results.py (Prog.result_re): Include options
4480 in test name.
4481
4482 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4483
4484 * dg-extract-results.py (output_variation): Always sort if
4485 do_sum.
4486
e882ef3c
SM
44872014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4488
4489 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4490 as long as we get pagination notifications.
4491
4992aa20
JM
44922014-12-15 Jason Merrill <jason@redhat.com>
4493
4494 * Makefile.in (check-gdb.%): Restore.
4495 * README: Mention it.
4496
c1b5a1a6
JB
44972014-12-13 Joel Brobecker <brobecker@adacore.com>
4498
4499 * gdb.ada/str_uninit: New testcase.
4500
5537b577
JK
45012014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4502
4503 PR symtab/17642
4504 * gdb.base/vla-stub-define.c: New file.
4505 * gdb.base/vla-stub.c: New file.
4506 * gdb.base/vla-stub.exp: New file.
4507
bb2ec1b3
TT
45082014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4509 Jan Kratochvil <jan.kratochvil@redhat.com>
4510 Tom Tromey <tromey@redhat.com>
4511
4512 * configure.ac: Add gdb.compile/.
4513 * configure: Regenerate.
4514 * gdb.compile/Makefile.in: New file.
4515 * gdb.compile/compile-ops.exp: New file.
4516 * gdb.compile/compile-ops.c: New file.
4517 * gdb.compile/compile-tls.c: New file.
4518 * gdb.compile/compile-tls.exp: New file.
4519 * gdb.compile/compile-constvar.S: New file.
4520 * gdb.compile/compile-constvar.c: New file.
4521 * gdb.compile/compile-mod.c: New file.
4522 * gdb.compile/compile-nodebug.c: New file.
4523 * gdb.compile/compile-setjmp-mod.c: New file.
4524 * gdb.compile/compile-setjmp.c: New file.
4525 * gdb.compile/compile-setjmp.exp: New file.
4526 * gdb.compile/compile-shlib.c: New file.
4527 * gdb.compile/compile.c: New file.
4528 * gdb.compile/compile.exp: New file.
4529 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4530
4ff709eb
TT
45312014-12-12 Tom Tromey <tromey@redhat.com>
4532
4533 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4534 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4535
6dddd6a5
DE
45362014-12-12 Doug Evans <dje@google.com>
4537
4538 * lib/gdb-python.exp (get_python_valueof): New function.
4539 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4540
71c24708
AA
45412014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4542
4543 * gdb.base/completion.exp: Add test for completion of "info
4544 registers ".
4545
3e29f34a
MR
45462014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4547
4548 * gdb.base/func-ptrs.c: New file.
4549 * gdb.base/func-ptrs.exp: New file.
4550
fc126975
SM
45512014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4552
4553 PR breakpoints/17012
4554 * gdb.base/dprintf-detach.c: New file.
4555 * gdb.base/dprintf-detach.exp: New file.
4556
0a46d518
SM
45572014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4558
4559 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4560 * lib/gdb.exp (target_is_gdbserver): New procedure.
4561
a0be3e44
DE
45622014-12-08 Doug Evans <dje@google.com>
4563
4564 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4565
df1b803a
YQ
45662014-12-05 Yao Qi <yao@codesourcery.com>
4567
4568 * gdb.guile/scm-error.exp: Remove the third argument to
4569 gdb_remote_download.
4570 * gdb.guile/scm-frame-args.exp: Likewise.
4571 * gdb.guile/scm-section-script.exp: Likewise.
4572
ddb9f679
YQ
45732014-12-05 Yao Qi <yao@codesourcery.com>
4574
4575 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4576
86e4ed39
DE
45772014-12-04 Doug Evans <dje@google.com>
4578
4579 * gdb.python/py-objfile.exp: Add tests for
4580 objfile.add_separate_debug_file.
4581
7c50a931
DE
45822014-12-04 Doug Evans <dje@google.com>
4583
4584 * lib/gdb.exp (get_build_id): New function.
4585 (build_id_debug_filename_get): Rewrite to use it.
4586 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4587
621661e3
MR
45882014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4589
4590 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4591 `method(long)', not just 0x0.
4592 * gdb.cp/nsalias.exp: Align code labels to 4.
4593 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4594 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4595 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4596 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4597 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4598 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4599
29f0c3b7
DE
46002014-12-02 Doug Evans <dje@google.com>
4601
e1e061e7 4602 PR symtab/17602
29f0c3b7 4603 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4604 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4605 * gdb.cp/anon-ns.exp: Update.
4606
162078c8
NB
46072014-12-02 Nick Bull <nicholaspbull@gmail.com>
4608
4609 * gdb.python/py-events.py (inferior_call_handler): New.
4610 (register_changed_handler, memory_changed_handler): New.
4611 (test_events.invoke): Register new handlers.
4612 * gdb.python/py-events.exp: Add tests for inferior call,
4613 memory_changed and register_changed events.
4614
fdb09caf
AA
46152014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4616
4617 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4618 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4619 if the linker doesn't understand this.
4620
55cfb2c4
SM
46212014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4622
4623 * gdb.python/python.exp: Change expected reply to help().
4624
9e8cd6df
YQ
46252014-12-01 Yao Qi <yao@codesourcery.com>
4626
4627 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4628 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4629 * configure: Re-generated.
4630
6c659fc2
SC
46312014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4632
4633 * gdb.cp/chained-calls.cc: New file.
4634 * gdb.cp/chained-calls.exp: New file.
4635 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4636
d7fc3181
SM
46372014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4638
4639 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4640 * gdb.dwarf2/symtab-producer.exp: Same.
4641 * gdb.gdb/python-interrupts.exp: Same.
4642 * gdb.gdb/python-selftest.exp: Same.
4643 * gdb.python/py-linetable.exp: Same.
4644 * gdb.python/py-type.exp: Same.
4645 * gdb.python/py-value-cc.exp: Same.
4646 * gdb.python/py-value.exp: Same.
4647
10e79639
YQ
46482014-11-28 Yao Qi <yao@codesourcery.com>
4649
4650 * gdb.base/break-probes.exp: Match library name prefixed with
4651 sysroot.
4652
f28a0564
SM
46532014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4654
4655 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4656 test expected output. Add parentheses for the call to print.
4657 Remove L suffix from integers.
4658
3fe1ce1d
DE
46592014-11-26 Doug Evans <dje@google.com>
4660
4661 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4662
84429e27
YQ
46632014-11-22 Yao Qi <yao@codesourcery.com>
4664
4665 * gdb.trace/entry-values.c: Remove asms.
4666 (foo): Add foo_label.
4667 (bar): Add bar_label.
4668 * gdb.trace/entry-values.exp: Remove code computing foo's
4669 length and bar's length.
4670 (Dwarf::assemble): Invoke function_range for bar and use
4671 MACRO_AT_func for foo.
4672
26741859
YQ
46732014-11-22 Yao Qi <yao@codesourcery.com>
4674
4675 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4676 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4677 Use .Lgcc43_procstart instead of gcc43.
4678
45e44d27
JB
46792014-11-21 Joel Brobecker <brobecker@adacore.com>
4680
4681 * gdb.ada/n_arr_bound: New testcase.
4682
458c8db8
SDJ
46832014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4684
4685 PR breakpoints/10737
4686 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4687 test_catch_syscall_multi_arch.
4688 (test_catch_syscall_multi_arch): New function.
4689
43f3e411
DE
46902014-11-20 Doug Evans <xdje42@gmail.com>
4691
4692 * gdb.base/maint.exp: Update expected output.
4693
0d7b2549
AA
46942014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4695
4696 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4697 4-byte instruction on S390.
4698
8908fca5
JB
46992014-11-19 Joel Brobecker <brobecker@adacore.com>
4700
4701 * gdb.ada/arr_arr: New testcase.
4702
4a46959e
JB
47032014-11-19 Joel Brobecker <brobecker@adacore.com>
4704
4705 * gdb.ada/pkd_arr_elem: New Testcase.
4706
470e2f4e
LM
47072014-11-18 Luis Machado <lgustavo@codesourcery.com>
4708
4709 * gdb.reverse/break-precsave: Expect completion message for
4710 core file reads.
4711 * gdb.reverse/consecutive-precsave.exp: Likewise.
4712 * gdb.reverse/finish-precsave.exp: Likewise.
4713 * gdb.reverse/i386-precsave.exp: Likewise.
4714 * gdb.reverse/machinestate-precsave.exp: Likewise.
4715 * gdb.reverse/sigall-precsave.exp: Likewise.
4716 * gdb.reverse/solib-precsave.exp: Likewise.
4717 * gdb.reverse/step-precsave.exp: Likewise.
4718 * gdb.reverse/until-precsave.exp: Likewise.
4719 * gdb.reverse/watch-precsave.exp: Likewise.
4720
a267f3ad
AA
47212014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4722
4723 * gdb.base/bp-permanent.c: Include unistd.h.
4724 * gdb.python/py-framefilter-mi.c (main): Add return type.
4725 * gdb.python/py-framefilter.c (main): Likewise.
4726 * gdb.trace/actions-changed.c (main): Likewise.
4727
12084a9a
AA
47282014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4729
4730 * gdb.mi/until.c: Add eye-catchers.
4731 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4732 line numbers.
4733
dc7e1a77
AA
47342014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4735
4736 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4737 function header variants in break1.c.
4738 * gdb.base/ena-dis-br.exp: Likewise.
4739 * gdb.base/hbreak2.exp: Likewise.
4740 * gdb.reverse/until-precsave.exp: Drop references to removed
4741 non-prototype function header variants in ur1.c.
4742 * gdb.reverse/until-reverse.exp: Likewise.
4743
41c77605
PM
47442014-11-17 Petr Machata <pmachata@redhat.com>
4745
4746 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4747 ${_cu_offset_size} bytes abbrev offset.
4748
34248c3a
DE
47492014-11-15 Doug Evans <xdje42@gmail.com>
4750
4751 PR symtab/17559
4752 * gdb.base/line-symtabs.exp: New file.
4753 * gdb.base/line-symtabs.c: New file.
4754 * gdb.base/line-symtabs.h: New file.
4755
646da059
YQ
47562014-11-14 Yao Qi <yao@codesourcery.com>
4757
4758 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4759 (func): Add label func_label.
4760 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4761 Replace low_pc and high_pc with MACRO_AT_range.
4762 Replace name, low_pc and high_pc with MACRO_AT_func.
4763
9301ebe6
YQ
47642014-11-14 Yao Qi <yao@codesourcery.com>
4765
4766 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4767 Replace name, low_pc and high_pc with MACRO_AT_func.
4768
f166b542
YQ
47692014-11-14 Yao Qi <yao@codesourcery.com>
4770
4771 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4772 produce debug information.
4773 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4774
0f6e71e3
YQ
47752014-11-14 Yao Qi <yao@codesourcery.com>
4776
4777 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4778 object and get function length.
4779 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4780 with MACRO_AT_func.
4781 (top-level): Replace gdb_compile and clean_restart with
4782 prepare_for_testing.
4783 * gdb.dwarf2/main.c (main): Add label main_label.
4784
876c4df9
YQ
47852014-11-14 Yao Qi <yao@codesourcery.com>
4786
4787 * lib/dwarf.exp (function_range): New procedure.
4788 (Dwarf::_handle_macro_at_func): New procedure.
4789 (Dwarf::_handle_macro_at_range): New procedure.
4790 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4791
02ad9cf1
YQ
47922014-11-14 Yao Qi <yao@codesourcery.com>
4793
4794 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4795 (_handle_attribute): New procedure.
4796
a59add0c
AA
47972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4798
4799 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4800 * gdb.base/call-sc.c (zed): Likewise.
4801 * gdb.base/checkpoint.c (main): Likewise.
4802 * gdb.base/dump.c (main): Likewise.
4803 * gdb.base/gcore.c (main): Likewise.
4804 * gdb.base/huge.c (main): Likewise.
4805 * gdb.base/multi-forks.c (main): Likewise.
4806 * gdb.base/pr10179-a.c (main): Likewise.
4807 * gdb.base/savedregs.c (main): Likewise.
4808 * gdb.base/sigaltstack.c (main): Likewise.
4809 * gdb.base/siginfo.c (main): Likewise.
4810 * gdb.base/structs.c (zed): Likewise.
4811 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4812 * gdb.mi/mi-syn-frame.c (main): Likewise.
4813 * gdb.mi/until.c (foo, main): Likewise.
4814 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4815 * gdb.base/solib-weak.c (foo): Declare.
4816 * gdb.base/attach-twice.c: Include stdio.h.
4817 * gdb.base/weaklib1.c: Likewise.
4818 * gdb.base/weaklib2.c: Likewise.
4819 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4820 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4821 unistd.h.
4822 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4823 * gdb.mi/mi-exit-code.c: Likewise.
4824 * gdb.base/break-interp-lib.c: Include string.h.
4825 * gdb.base/coremaker.c: Likewise.
4826 * gdb.base/testenv.c: Likewise.
4827 * gdb.python/py-finish-breakpoint.c: Likewise.
4828 * gdb.base/inferior-died.c: Include sys/wait.h.
4829 * gdb.base/fileio.c: Include time.h.
4830 * gdb.base/async-shell.c: Include unistd.h.
4831 * gdb.base/dprintf-non-stop.c: Likewise.
4832 * gdb.base/info-os.c: Likewise.
4833 * gdb.mi/mi-console.c: Likewise.
4834 * gdb.mi/watch-nonstop.c: Likewise.
4835 * gdb.python/py-events.c: Likewise.
4836 * gdb.base/async.c (baz): Move up before its invocation.
4837 * gdb.base/code_elim2.c (my_global_func): Likewise.
4838 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4839 * gdb.base/advance.c (func2): Likewise.
4840
3b5d5997
AA
48412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4842
4843 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4844 variant.
4845 * gdb.base/annota3.c: Likewise.
4846 * gdb.base/async.c: Likewise.
4847 * gdb.base/average.c: Likewise.
4848 * gdb.base/call-ar-st.c: Likewise.
4849 * gdb.base/call-rt-st.c: Likewise.
4850 * gdb.base/call-sc.c: Likewise.
4851 * gdb.base/call-strs.c: Likewise.
4852 * gdb.base/ending-run.c: Likewise.
4853 * gdb.base/execd-prog.c: Likewise.
4854 * gdb.base/exprs.c: Likewise.
4855 * gdb.base/foll-exec.c: Likewise.
4856 * gdb.base/foll-fork.c: Likewise.
4857 * gdb.base/foll-vfork.c: Likewise.
4858 * gdb.base/funcargs.c: Likewise.
4859 * gdb.base/gcore.c: Likewise.
4860 * gdb.base/jump.c: Likewise.
4861 * gdb.base/langs0.c: Likewise.
4862 * gdb.base/langs1.c: Likewise.
4863 * gdb.base/langs2.c: Likewise.
4864 * gdb.base/mips_pro.c: Likewise.
4865 * gdb.base/nodebug.c: Likewise.
4866 * gdb.base/opaque0.c: Likewise.
4867 * gdb.base/opaque1.c: Likewise.
4868 * gdb.base/recurse.c: Likewise.
4869 * gdb.base/run.c: Likewise.
4870 * gdb.base/scope0.c: Likewise.
4871 * gdb.base/scope1.c: Likewise.
4872 * gdb.base/setshow.c: Likewise.
4873 * gdb.base/setvar.c: Likewise.
4874 * gdb.base/shmain.c: Likewise.
4875 * gdb.base/shr1.c: Likewise.
4876 * gdb.base/shr2.c: Likewise.
4877 * gdb.base/sigall.c: Likewise.
4878 * gdb.base/signals.c: Likewise.
4879 * gdb.base/so-indr-cl.c: Likewise.
4880 * gdb.base/solib2.c: Likewise.
4881 * gdb.base/structs.c: Likewise.
4882 * gdb.base/sum.c: Likewise.
4883 * gdb.base/vforked-prog.c: Likewise.
4884 * gdb.base/watchpoint.c: Likewise.
4885 * gdb.reverse/shr2.c: Likewise.
4886 * gdb.reverse/until-reverse.c: Likewise.
4887 * gdb.reverse/ur1.c: Likewise.
4888 * gdb.reverse/watch-reverse.c: Likewise.
4889
066a77c5
AA
48902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4891
4892 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4893 variant.
4894 * gdb.base/sepdebug.exp: Drop references to removed code.
4895
4f204ea5
AA
48962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4897
4898 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4899 variant. Preserve original line numbering.
4900 * gdb.base/list1.c: Likewise.
4901
3b377a3a
AA
49022014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4903
4904 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4905 variant.
4906 * gdb.base/break1.c: Likewise.
4907 * gdb.base/break.exp: Drop references to removed code.
4908
e444df73
AA
49092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4910
4911 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4912 variant.
4913
8008f2a7
AA
49142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4915
4916 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4917
a5a06887
AA
49182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4919
4920 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4921 logic into perform_all_tests() and invoke it with and without
4922 function header prototypes.
4923 (do_function_calls): Remove conditional XFAIL for PR 5318.
4924 (rerun_and_prepare): Remove duplicate code.
4925 (perform_all_tests): New. Main logic moved here.
4926
44dba9b9
AA
49272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4928
4929 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4930 code guarded by #ifdef NO_PROTOTYPES.
4931 (t_double_many_args): Likewise.
4932 (DEF_FUNC_MANY_ARGS_1): Likewise.
4933 (DEF_FUNC_VALUES_1): Likewise.
4934 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4935 guarded by #ifdef PROTOTYPES.
4936
d1fbcd56
AA
49372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4938
4939 * gdb.mi/mi-console.c: Add eye-catcher.
4940 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4941 instead of literal line number.
4942
b0e59b8f
AA
49432014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4944
4945 * gdb.base/shr2.c: Add eye-catcher.
4946 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4947 line number.
4948
78f98cca
AA
49492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4950
4951 * gdb.base/jump.c: Add eye-catchers.
4952 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4953 numbers.
4954
58fa2af0
AA
49552014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4956
4957 * gdb.base/execd-prog.c: Add eye-catchers.
4958 * gdb.base/foll-exec.c: Likewise.
4959 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4960 line numbers.
4961
04e5059b
AA
49622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4963
4964 * gdb.base/ending-run.c: Add eye-catchers.
4965 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4966 literal line numbers.
4967
dbfdb174
AA
49682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4969
4970 * gdb.base/call-rt-st.c: Add eye-catchers.
4971 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4972 literal line numbers.
4973
888a2ade
AA
49742014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4975
4976 * gdb.base/call-ar-st.c: Add eye-catchers.
4977 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4978 literal line numbers.
4979
6acc2dde
AA
49802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4981
4982 * gdb.base/average.c: Add eye-catchers.
4983 * gdb.base/sum.c: Likewise.
4984 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4985 regexps dynamically.
4986
9ecfcd1d
AA
49872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4988
4989 * gdb.base/solib1.c: Add eye-catchers.
4990 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4991 literal line numbers.
4992
78708b7c
PA
49932014-11-12 Pedro Alves <palves@redhat.com>
4994
4995 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4996 leader has exited.
4997
af48d08f
PA
49982014-11-12 Pedro Alves <palves@redhat.com>
4999
5000 * gdb.arch/i386-bp_permanent.c: New file.
5001 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5002 (srcfile): Set to i386-bp_permanent.c.
5003 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5004 that stepi does not execute the 'leave' instruction, instead of
5005 testing it does execute.
5006 * gdb.base/bp-permanent.c: New file.
5007 * gdb.base/bp-permanent.exp: New file.
5008
af3768e9
DE
50092014-11-10 Doug Evans <xdje42@gmail.com>
5010
5011 PR symtab/17564
5012 * gdb.base/symtab-search-order.exp: New file.
5013 * gdb.base/symtab-search-order.c: New file.
5014 * gdb.base/symtab-search-order-1.c: New file.
5015 * gdb.base/symtab-search-order-shlib-1.c: New file.
5016
9de00a4a
PA
50172014-11-07 Pedro Alves <palves@redhat.com>
5018
5019 PR gdb/17511
5020 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5021 i?86-*-linux*.
5022
e0f52461
SC
50232014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5024
5025 PR c++/17494
5026 * gdb.cp/pr17494.cc: New file.
5027 * gdb.cp/pr17494.exp: New file.
5028
6ce8c980
YQ
50292014-11-02 Yao Qi <yao@codesourcery.com>
5030
5031 * gdb.python/python.exp: Get working directory and match the
5032 output of "set extended-prompt \\w " with it.
5033
02be9a71
DE
50342014-10-30 Doug Evans <dje@google.com>
5035
5036 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5037 in objfiles.
5038 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5039 in progspaces.
5040
3bdff46b
LM
50412014-10-30 Janis Johnson <janisjo@codesourcery.com>
5042
5043 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5044 * gdb.base/realname-expand.exp: Likewise.
5045 * gdb.linespec/macro-relative.exp: Likewise.
5046
ab917dfb
PA
50472014-10-29 Pedro Alves <palves@redhat.com>
5048
5049 PR gdb/17408
5050 * gdb.threads/schedlock.c (some_function): New function.
5051 (call_function): New global.
5052 (MAYBE_CALL_SOME_FUNCTION): New macro.
5053 (thread_function): Call it.
5054 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5055 and use it instead of a global counter. Adjust all callers.
5056 (get_current_thread): Use "find current thread" for test message
5057 here rather than having all callers pass down the same string.
5058 (goto_loop): New procedure, factored out from ...
5059 (my_continue): ... this.
5060 (step_ten_loops): Change parameter from test message to command to
5061 use. Adjust.
5062 (list_count): Delete global.
5063 (check_result): New procedure, factored out from duplicate top
5064 level code.
5065 (continue tests): Wrap in with_test_prefix.
5066 (test_step): New procedure, factored out from duplicate top level
5067 code.
5068 (top level): Test "step" in combination with all scheduler-locking
5069 modes. Test "next" in combination with all scheduler-locking
5070 modes, and in combination with stepping over a function call or
5071 not.
5072 * gdb.threads/next-bp-other-thread.c: New file.
5073 * gdb.threads/next-bp-other-thread.exp: New file.
5074
d3d4baed
PA
50752014-10-29 Pedro Alves <palves@redhat.com>
5076
5077 PR python/17372
5078 * gdb.python/python.exp: Test a multi-line command that spawns
5079 interactive Python.
5080 * gdb.base/multi-line-starts-subshell.exp: New file.
5081
563e8d85
YQ
50822014-10-29 Yao Qi <yao@codesourcery.com>
5083
5084 * gdb.base/fileio.exp: Make directories on host.
5085
0ea4d52e
YQ
50862014-10-29 Yao Qi <yao@codesourcery.com>
5087
5088 * gdb.base/fileio.c (test_write): Close the file.
5089
7f5ef605
PA
50902014-10-28 Pedro Alves <palves@redhat.com>
5091
5092 PR gdb/12623
5093 * gdb.base/sigstep.c (no_handler): New global.
5094 (main): If 'no_handler is true, set the signal handlers to
5095 SIG_IGN.
5096 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5097 with_sw_watch and no_handler parameters. Handle them.
5098 (top level) <stepping over handler when stopped at a breakpoint
5099 test>: Add a test axis for testing with a software watchpoint, and
5100 another for testing with the signal handler set to SIG_IGN.
5101 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5102 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5103
abbdbd03
PA
51042014-10-28 Pedro Alves <palves@redhat.com>
5105
5106 PR gdb/17511
5107 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5108 * gdb.base/sigstep.exp (other_handler_location): New global.
5109 (advance): Support stepping into the signal handler, and running
5110 commands while in the handler.
5111 (in_handler_map): New global.
5112 (top level): In the advance test, add combinations for getting
5113 into the handler with stepping commands, and for running commands
5114 in the handler. Add comment descripting the advancei tests.
5115
1df4399f
PA
51162014-10-28 Pedro Alves <palves@redhat.com>
5117
5118 * gdb.base/sigstep.exp: Use build_executable instead of
5119 prepare_for_testing.
5120 (top level): Move code that starts GDB, runs to main and creates a
5121 display to ...
5122 (restart): ... this new procedure.
5123 (top level): Move backtrace from signal handler test to ...
5124 (validate_backtrace): ... this new procedure.
5125 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5126 with_test_prefix. Always restart GDB.
5127 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5128 with_test_prefix. Always restart GDB. No need to delete
5129 breakpoints after the test.
5130 (test_skip_handler): Remove prefix parameter.
5131 (skip_over_handler, breakpoint_to_handler)
5132 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5133 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5134 restart GDB. No need to delete breakpoints after the test.
5135 (top level): Use foreach to call the test procedures with
5136 different commands.
5137
a5b6e449
PA
51382014-10-28 Pedro Alves <palves@redhat.com>
5139
5140 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5141 instead of GNATS numbers.
5142 * gdb.base/sigbpt.exp: Likewise.
5143 * gdb.base/siginfo.exp: Likewise.
5144 * gdb.base/sigstep.exp: Likewise.
5145
e5f8a7cc
PA
51462014-10-27 Pedro Alves <palves@redhat.com>
5147
5148 * gdb.base/sigstep.c (dummy): New global.
5149 (main): Issue a couple writes to the new global.
5150 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5151 procedures.
5152 (skip_over_handler): Use test_skip_handler.
5153 (top level): Call skip_over_handler for stepi and nexti too.
5154 (breakpoint_over_handler): Use test_skip_handler.
5155 (top level): Call breakpoint_over_handler for stepi and nexti too.
5156
763905a3
YQ
51572014-10-27 Yao Qi <yao@codesourcery.com>
5158
5159 * gdb.trace/tfile.c (adjust_function_address)
5160 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5161 function descriptor.
5162
6f259a23
DB
51632014-10-24 Don Breazeal <donb@codesourcery.com>
5164
5165 * gdb.base/foll-fork.exp (test_follow_fork,
5166 catch_fork_child_follow): Check for updated fork messages emitted
5167 from infrun.c.
5168 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5169 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5170 vfork_and_exec_child_follow_through_step): Check for updated vfork
5171 messages emitted from infrun.c.
5172
09dd9a69
PA
51732014-10-24 Pedro Alves <palves@redhat.com>
5174
5175 * gdb.base/corefile.exp: Remove references to ultrix.
5176 * gdb.base/interrupt.exp: Likewise.
5177 * gdb.base/whatis.exp: Likewise.
5178 * gdb.gdb/selftest.exp: Likewise.
5179 * gdb.threads/manythreads.exp: Likewise.
5180 * gdb.threads/print-threads.exp: Likewise.
5181 * gdb.threads/pthreads.exp:: Likewise.
5182 * gdb.threads/schedlock.exp: Likewise.
5183
3433cfa5
SC
51842014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5185
5186 * gdb.cp/non-trivial-retval.cc: Add a test case.
5187 * gdb.cp/non-trivial-retval.exp: Add a test.
5188
092f880b
YQ
51892014-10-20 Yao Qi <yao@codesourcery.com>
5190
5191 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5192 * gdb.python/py-objfile-script-gdb.py: New file.
5193 * gdb.python/py-objfile-script.exp: Update reference to
5194 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5195 of remote_download. Remove the dest file.
5196
acbdb7f3
YQ
51972014-10-20 Yao Qi <yao@codesourcery.com>
5198
5199 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5200 * gdb.base/step-line.exp: Likewise.
5201 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5202 * gdb.dwarf2/dw2-basic.exp: Likewise.
5203 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5204 * gdb.dwarf2/dw2-filename.exp: Likewise.
5205 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5206 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5207 * gdb.dwarf2/dw2-producer.exp: Likewise.
5208 * gdb.dwarf2/mac-fileno.exp: Likewise.
5209 * gdb.python/py-frame-args.exp: Likewise.
5210 * gdb.python/py-framefilter.exp: Likewise.
5211 * gdb.python/py-mi.exp: Likewise.
5212 * gdb.python/py-objfile-script.exp: Likewise
5213 * gdb.python/py-pp-integral.exp: Likewise.
5214 * gdb.python/py-pp-re-notag.exp: Likewise.
5215 * gdb.python/py-prettyprint.exp: Likewise.
5216 * gdb.python/py-section-script.exp: Likewise.
5217 * gdb.python/py-typeprint.exp: Likewise.
5218 * gdb.python/py-xmethods.exp: Likewise.
5219 * gdb.stabs/weird.exp: Likewise.
5220 * gdb.xml/tdesc-regs.exp: Likewise.
5221
bd286a29
KCY
52222014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5223
5224 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5225 (out_cu): Use addr_len for the size of addresses.
5226 (out_line): Likewise. Size DW_LNE_set_address instruction
5227 according to addr_len.
5228 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5229 (FUNC): Add START_INSNS to definition.
5230
673dc4a0
YQ
52312014-10-18 Yao Qi <yao@codesourcery.com>
5232
5233 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5234 gdb_has_argv0 return true.
5235 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5236 check [target_info exists noargs], check [gdb_has_argv0]
5237 instead.
5238 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5239 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5240 procedures.
5241
4ffbba72
DE
52422014-10-17 Doug Evans <dje@google.com>
5243
5244 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5245 event.
5246 * gdb.python/py-events.py: Add clear_objfiles event.
5247
d096d8c1
DE
52482014-10-17 Doug Evans <dje@google.com>
5249
5250 * gdb.python/py-objfile.exp: Test progspace attribute.
5251
a80db015
LM
52522014-10-17 Luis Machado <lgustavo@codesourcery.com>
5253
5254 * gdb.guile/scm-breakpoint.exp: Do not assume any
5255 directory separators when matching source file paths.
5256 * gdb.python/py-breakpoint.exp: Likewise.
5257 * gdb.reverse/break-precsave.exp: Likewise.
5258 * gdb.reverse/break-reverse.exp: Likewise.
5259 * gdb.reverse/consecutive-precsave.exp: Likewise.
5260 * gdb.reverse/finish-precsave.exp: Likewise.
5261 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5262 * gdb.reverse/finish-reverse.exp: Likewise.
5263 * gdb.reverse/i386-precsave.exp: Likewise.
5264 * gdb.reverse/i387-env-reverse.exp: Likewise.
5265 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5266 * gdb.reverse/machinestate-precsave.exp: Likewise.
5267 * gdb.reverse/machinestate.exp: Likewise.
5268 * gdb.reverse/sigall-precsave.exp: Likewise.
5269 * gdb.reverse/solib-precsave.exp: Likewise.
5270 * gdb.reverse/step-precsave.exp: Likewise.
5271 * gdb.reverse/until-precsave.exp: Likewise.
5272 * gdb.reverse/watch-precsave.exp: Likewise.
5273 * gdb.reverse/watch-reverse.exp: Likewise.
5274
b22089ab
YQ
52752014-10-17 Yao Qi <yao@codesourcery.com>
5276
5277 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5278 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5279
6c4486e6
PA
52802014-10-17 Pedro Alves <palves@redhat.com>
5281
5282 PR gdb/17471
5283 * gdb.base/bg-execution-repeat.c: New file.
5284 * gdb.base/bg-execution-repeat.exp: New file.
5285
0ff33695
PA
52862014-10-17 Pedro Alves <palves@redhat.com>
5287
5288 PR gdb/17300
5289 * gdb.base/continue-all-already-running.c: New file.
5290 * gdb.base/continue-all-already-running.exp: New file.
5291
6fdebc3d
PA
52922014-10-17 Pedro Alves <palves@redhat.com>
5293
5294 PR gdb/17472
5295 * gdb.base/annota-input-while-running.c: New file.
5296 * gdb.base/annota-input-while-running.exp: New file.
5297
32a8097b
PA
52982014-10-17 Pedro Alves <palves@redhat.com>
5299
5300 * gdb.base/callfuncs.exp: emove references to osf.
5301 * gdb.base/sigall.exp: Likewise.
5302 * gdb.gdb/selftest.exp: Likewise.
5303 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5304 * gdb.mi/non-stop.c: Likewise.
5305 * gdb.mi/pthreads.c: Likewise.
5306 * gdb.reverse/sigall-precsave.exp: Likewise.
5307 * gdb.reverse/sigall-reverse.exp: Likewise.
5308 * gdb.threads/pthreads.c: Likewise.
5309 * gdb.threads/pthreads.exp: Likewise.
5310
7a3517ff
YQ
53112014-10-17 Yao Qi <yao@codesourcery.com>
5312
5313 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5314 check 'target_info exists noargs'.
5315 (test_command_prompt_position): Likewise.
5316 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5317 Remove "set args".
5318 (progvar_simple_while_test): Likewise.
5319 (progvar_complex_if_while_test): Likewise.
5320 (if_while_breakpoint_command_test): Likewise.
5321 (infrun_breakpoint_command_test): Likewise.
5322 (breakpoint_command_test): Likewise.
5323 (watchpoint_command_test): Likewise.
5324 (bp_deleted_in_command_test): Likewise.
5325 (temporary_breakpoint_commands): Likewise.
5326
bb99c472
YQ
53272014-10-16 Yao Qi <yao@codesourcery.com>
5328
5329 * gdb.base/remotetimeout.exp: Remove noargs checking.
5330
7c16b83e
PA
53312014-10-15 Pedro Alves <palves@redhat.com>
5332
5333 PR breakpoints/9649
5334 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5335 * gdb.base/breakpoint-in-ro-region.exp
5336 (probe_target_hardware_step): New procedure.
5337 (top level): Probe hardware stepping and hardware breakpoint
5338 support. Test stepping through a read-only region, with both
5339 "breakpoint auto-hw" on and off and both "always-inserted" on and
5340 off.
5341
35a49624
IB
53422014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5343
5344 * gdb.dlang/demangle.exp: Update for demangling changes.
5345
2d1c107c
SC
53462014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5347
5348 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5349 * gdb.cp/non-trivial-retval.exp: Add new tests.
5350
778811d5
SC
53512014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5352
5353 PR c++/13403
5354 PR c++/15154
5355 * gdb.cp/non-trivial-retval.cc: New file.
5356 * gdb.cp/non-trivial-retval.exp: New file.
5357
10c5f0a8
YQ
53582014-10-15 Yao Qi <yao@codesourcery.com>
5359
5360 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5361 remote host.
5362
65d7b369
YQ
53632014-10-15 Yao Qi <yao@codesourcery.com>
5364
5365 * gdb.python/py-symbol.exp: Match file base name if host is
5366 remote, otherwise match file name with dir name.
5367 * gdb.python/py-symtab.exp: Likewise.
5368 * gdb.python/python.exp: Likewise.
5369
46dc1394
YQ
53702014-10-15 Yao Qi <yao@codesourcery.com>
5371
5372 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5373 pattern.
5374 * gdb.python/py-symtab.exp: Likewise.
5375 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5376 locationn.
5377
c40cc657
JB
53782014-10-14 Joel Brobecker <brobecker@adacore.com>
5379
5380 * gdb.ada/addr_arith: New testcase.
5381
2abf49e1
MR
53822014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5383
5384 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5385 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5386 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5387 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5388
f7088df3
SDJ
53892014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5390
5391 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5392 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5393 * gdb.arch/stap-eval-lang-ada.exp: New file.
5394
4dc06805
YQ
53952014-10-14 Yao Qi <yao@codesourcery.com>
5396
5397 * gdb.mi/mi-var-child.c (nothing1): New function.
5398 (nothing2): New function.
5399 (do_children_tests): Set function pointers by nothing1 and
5400 nothing2.
5401 * gdb.mi/mi-var-child.exp: Step over new added statements.
5402 Update test to match the new output.
5403 * gdb.mi/var-cmd.c (nothing1): New function.
5404 (nothing2): New function.
5405 (do_children_tests): Set function pointers by nothing1 and
5406 nothing2.
5407 * gdb.mi/mi-var-display.exp: Update test to match output.
5408 Step to the line specified by $line_dct_nothing.
5409 Increase the number of lines to step.
5410
46a93de2
YQ
54112014-10-14 Yao Qi <yao@codesourcery.com>
5412
5413 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5414 tests.
5415 * gdb.mi/mi2-var-child.exp: Likewise.
5416
14ea52ee
DE
54172014-10-13 Doug Evans <dje@google.com>
5418
5419 * gdb.python/py-objfile.exp: Change name of file name test.
5420
e5c6e92b
DE
54212014-10-13 Doug Evans <dje@google.com>
5422
5423 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5424 from the start of the CU.
5425
c780cc2f
JK
54262014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5427 Yao Qi <yao@codesourcery.com>
5428
5429 Fix "save breakpoints" for "catch" command.
5430 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5431 Remove -nonewline. Match also the added "main" line.
5432
99894e11
JK
54332014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5434
5435 Fix "save breakpoints" for "disable $bpnum" command.
5436 * gdb.base/save-bp.c (main): Add label.
5437 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5438
6e1ac5a3
JK
54392014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5440
5441 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5442
754dd2b0
YQ
54432014-10-11 Yao Qi <yao@codesourcery.com>
5444
5445 * gdb.server/server-kill.exp: Execute command
5446 "set remote trace-status-packet on" before "tstatus".
5447
f90183d7
YQ
54482014-10-11 Yao Qi <yao@codesourcery.com>
5449
5450 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5451 (main): Call getppid.
5452 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5453 and continue to it. Read variable "server_pid".
5454
bf40a607
YQ
54552014-10-11 Yao Qi <yao@codesourcery.com>
5456
5457 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5458
052ca370
YQ
54592014-10-11 Yao Qi <yao@codesourcery.com>
5460
5461 * gdb.threads/thread-find.exp: Don't execute command
5462 "info threads".
5463 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5464 * gdb.threads/linux-dp.exp: Don't check the condition
5465 $threads_created equals to zero.
5466
3831839c
PA
54672014-10-10 Pedro Alves <palves@redhat.com>
5468
5469 * gdb.base/bigcore.exp: Remove references to IRIX.
5470 * gdb.base/funcargs.exp: Likewise.
5471 * gdb.base/interrupt.exp: Likewise.
5472 * gdb.base/mips_pro.exp: Likewise.
5473 * gdb.base/nodebug.exp: Likewise.
5474 * gdb.base/setvar.exp: Likewise.
5475 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5476
8b9a549d
PA
54772014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5478 Pedro Alves <palves@redhat.com>
5479
5480 PR symtab/14466
5481 * gdb.base/vdso-warning.c: New file.
5482 * gdb.base/vdso-warning.exp: New file.
5483
d48ba5e8
DE
54842014-10-02 Doug Evans <dje@google.com>
5485
5486 * gdb.base/structs.c (main): Don't run forever.
5487
2278c276
PA
54882014-10-02 Pedro Alves <palves@redhat.com>
5489
5490 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5491 (top level) <stop threads 1, stop threads 2>: Use it.
5492
b57bacec
PA
54932014-10-02 Pedro Alves <palves@redhat.com>
5494
5495 * gdb.threads/break-while-running.exp (test): Add new
5496 'update_thread_list' argument. Skip "info threads" if false.
5497 (top level): Add new 'update_thread_list' axis.
5498
13fd3ff3
PA
54992014-10-02 Pedro Alves <palves@redhat.com>
5500
5501 PR breakpoints/17431
5502 * gdb.base/execl-update-breakpoints.c: New file.
5503 * gdb.base/execl-update-breakpoints.exp: New file.
5504
0fec99e8
PA
55052014-10-01 Pedro Alves <palves@redhat.com>
5506
5507 * gdb.base/breakpoint-in-ro-region.c: New file.
5508 * gdb.base/breakpoint-in-ro-region.exp: New file.
5509
2ddf4301
SM
55102014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5511
5512 * gdb.mi/mi-exit-code.exp: New file.
5513 * gdb.mi/mi-exit-code.c: New file.
5514
6a5f3f43
YQ
55152014-09-30 Yao Qi <yao@codesourcery.com>
5516
5517 * lib/prelink-support.exp (build_executable_own_libs): Error if
5518 the target isn't native.
5519
345bcc73
YQ
55202014-09-30 Yao Qi <yao@codesourcery.com>
5521
5522 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5523 false.
5524
a25a5a45
PA
55252014-09-22 Pedro Alves <palves@redhat.com>
5526
5527 * gdb.threads/break-while-running.exp: New file.
5528 * gdb.threads/break-while-running.c: New file.
5529
00ba3162
YQ
55302014-09-19 Yao Qi <yao@codesourcery.com>
5531
5532 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5533 Invoke test. Restart GDB with --readnow and invoke test again.
5534
c3b7b696
YQ
55352014-09-19 Yao Qi <yao@codesourcery.com>
5536
5537 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5538 proc set_breakpoint_on_gcd_function. Invoke
5539 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5540 invoke set_breakpoint_on_gcd_function again.
5541
2b4fd423
DE
55422014-09-18 Doug Evans <dje@google.com>
5543
5544 * gdb.dwarf2/symtab-producer.exp: New file.
5545
a5947601
SDJ
55462014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5547
5548 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5549 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5550 * gdb.base/global-var-nested-by-dso.c: Likewise.
5551 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5552
91c19059
SDJ
55532014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5554 Pedro Alves <palves@redhat.com>
5555
5556 * gdb.base/watch-bitfields.exp: Pass string other than test file
5557 name to prepare_for_testing.
5558 (watch): New procedure.
5559 (expect_watchpoint): Use with_test_prefix.
5560 (top level): Factor out tests to ...
5561 (test_watch_location, test_regular_watch): ... these new
5562 procedures, and use with_test_prefix and gdb_continue_to_end.
5563
bb9d5f81
PP
55642014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5565
5566 PR breakpoints/12526
5567 * gdb.base/watch-bitfields.exp: New file.
5568 * gdb.base/watch-bitfields.c: New file.
5569
635856f5
PA
55702014-09-16 Pedro Alves <palves@redhat.com>
5571
5572 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5573 software and hardware addresses, not software address against
5574 itself.
5575
7280ceea
PA
55762014-09-16 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5579 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5580
428b16bd
PA
55812014-09-16 Pedro Alves <palves@redhat.com>
5582
5583 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5584 files.
5585 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5586 "*-*-vxworks*" throughout.
5587 * gdb.base/break.exp: Likewise.
5588 * gdb.base/default.exp: Likewise.
5589 * gdb.base/scope.exp: Likewise.
5590 * gdb.base/sepdebug.exp: Likewise.
5591 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5592 throughout.
5593 * gdb.base/run.c: Likewise.
5594 * gdb.base/sepdebug.c: Likewise.
5595 * gdb.hp/gdb.aCC/run.c: Likewise.
5596 * gdb.reverse/until-reverse.c: Likewise.
5597 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5598
666d413c
YQ
55992014-09-16 Yao Qi <yao@codesourcery.com>
5600
5601 * boards/local-remote-host-native.exp: New file.
5602
57cbd724
DE
56032014-09-14 Doug Evans <xdje42@gmail.com>
5604
5605 * gdb.threads/queue-signal.c (thread_count): New variable.
5606 (thread_count_mutex, thread_count_condvar): New variables.
5607 (incr_thread_count, wait_all_threads_running): New functions.
5608 (main): Wait for all threads to be in their thread functions.
5609
81219e53
DE
56102014-09-13 Doug Evans <xdje42@gmail.com>
5611
5612 * gdb.threads/queue-signal.c: New file.
5613 * gdb.threads/queue-signal.exp: New file.
5614
3714cea7
DE
56152014-09-13 Doug Evans <xdje42@gmail.com>
5616
5617 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5618 be consistent with what default_gdb_init uses.
5619 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5620 the plain text of the prompt. Add some logging printfs.
5621 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5622
fa43b1d7
PA
56232014-09-12 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5626 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5627 * gdb.arch/i386-size-overlap.exp: Likewise.
5628 * gdb.arch/i386-size.exp: Likewise.
5629 * gdb.arch/i386-unwind.exp: Likewise.
5630 * gdb.base/a2-run.exp: Likewise.
5631 * gdb.base/break.exp: Likewise.
5632 * gdb.base/charset.exp: Likewise.
5633 * gdb.base/chng-syms.exp: Likewise.
5634 * gdb.base/commands.exp: Likewise.
5635 * gdb.base/dbx.exp: Likewise.
5636 * gdb.base/find.exp: Likewise.
5637 * gdb.base/funcargs.exp: Likewise.
5638 * gdb.base/jit-simple.exp: Likewise.
5639 * gdb.base/reread.exp: Likewise.
5640 * gdb.base/sepdebug.exp: Likewise.
5641 * gdb.base/step-bt.exp: Likewise.
5642 * gdb.cp/mb-inline.exp: Likewise.
5643 * gdb.cp/mb-templates.exp: Likewise.
5644 * gdb.objc/basicclass.exp: Likewise.
5645 * gdb.threads/killed.exp: Likewise.
5646
9d9bf2df
EBM
56472014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5648
5649 PR tdep/17379
5650 * gdb.arch/powerpc-stackless.S: New file.
5651 * gdb.arch/powerpc-stackless.exp: New file.
5652
1cf2f1b0
JK
56532014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5654
5655 * gdb.base/attach.c: Include unistd.h.
5656 (main): Call alarm. Add label postloop.
5657 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5658 gdb_breakpoint, gdb_continue_to_breakpoint.
5659 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5660
98880d46
PA
56612014-09-11 Pedro Alves <palves@redhat.com>
5662
5663 PR gdb/17347
5664 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5665 * gdb.base/attach.exp (test_command_line_attach_run): New
5666 procedure.
5667 (top level): Call it.
5668
4c92ff2c
PA
56692014-09-11 Pedro Alves <palves@redhat.com>
5670
5671 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5672 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5673 (do_command_attach_tests): Use spawn_wait_for_attach.
5674 * gdb.base/solib-overlap.exp: Likewise.
5675 * gdb.multi/multi-attach.exp: Likewise.
5676 * gdb.python/py-prompt.exp: Likewise.
5677 * gdb.python/py-sync-interp.exp: Likewise.
5678 * gdb.server/ext-attach.exp: Likewise.
5679
3adc1a7d
GKB
56802014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5681
5682 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5683 command in testcase. Simplify testcase.
5684
96334934
JB
56852014-09-10 Joel Brobecker <brobecker@adacore.com>
5686
5687 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5688
eb479039
JB
56892014-09-10 Joel Brobecker <brobecker@adacore.com>
5690
5691 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5692
deede10c
JB
56932014-09-10 Joel Brobecker <brobecker@adacore.com>
5694
5695 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5696
7828a5f5
JB
56972014-09-10 Joel Brobecker <brobecker@adacore.com>
5698
5699 * gdb.dwarf2/dynarr-ptr.c: New file.
5700 * gdb.dwarf2/dynarr-ptr.exp: New file.
5701
33aeebcf
MR
57022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5703
5704 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5705 of 30 rather than hardcoding 120 for a slow test case. Take the
5706 `gdb,timeout' target setting into account for this calculation.
5707 Don't extend the timeout for the test cases that don't need it.
5708
7b415901
MR
57092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5710
5711 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5712 a factor of 2 for a slow test case. Take the `gdb,timeout'
5713 target setting into account for this calculation.
5714 * gdb.reverse/until-precsave.exp: Increase the timeout by
5715 a factor of 15 and 3 respectively rather than adding 120
5716 for a pair of slow test cases. Take the `gdb,timeout'
5717 target setting into account for this calculation.
5718
4a40f85a
MR
57192014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5720
5721 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5722 timeout, don't pass one down to gdb_expect.
5723 (gdb_expect): Rework timeout selection.
5724
09635af7
MR
57252014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5726
5727 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5728 exception on timeout.
5729 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5730 (gdbserver_start_extended): Catch any `gdbserver_start' error
5731 exceptions.
5732 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5733 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5734 `gdbserver_gdb_load' error exceptions.
5735
2bdd10b7
MR
57362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5737
5738 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5739 120 on waiting for the TCP socket to open.
5740
316935f0
DE
57412014-09-09 Doug Evans <xdje42@gmail.com>
5742
5743 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5744 _caller_matches, _any_caller_is, _any_caller_matches.
5745
83740597
DE
57462014-09-09 Doug Evans <xdje42@gmail.com>
5747
5748 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5749
4c122fc3
YQ
57502014-09-09 Yao Qi <yao@codesourcery.com>
5751
5752 * gdb.mi/mi-var-display.exp: Set print symbol off.
5753
a9f116cb
GKB
57542014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5755
5756 PR gdb/17035
5757 * gdb.base/commands.exp: Add tests to verify user-defined
5758 commands with empty bodies.
5759 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5760 python commands in `show user command`.
5761 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5762 scheme commands in `show user command`.
5763
c75bd3a2
JK
57642014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5765
5766 PR python/17355
5767 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5768 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5769 * gdb.python/py-framefilter-invalidarg.exp: New file.
5770 * gdb.python/py-framefilter-invalidarg.py: New file.
5771
faa42425
DE
57722014-09-06 Doug Evans <xdje42@gmail.com>
5773
5774 PR 15276
5775 * gdb.python/py-caller-is.c: New file.
5776 * gdb.python/py-caller-is.exp: New file.
5777
474ca4f6
SDJ
57782014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5779
5780 PR gdb/17235
5781 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5782 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5783
eb0b0463
SDJ
57842014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5785
5786 PR fortran/17237
5787 * gdb.fortran/print-formatted.exp: New file.
5788 * gdb.fortran/print-formatted.f90: Likewise.
5789
5f3b99cf
SS
57902014-09-03 Sasha Smundak <asmundak@google.com>
5791
5792 * gdb.python/py-frame.exp: Test Frame.read_register.
5793
7d793aa9
SDJ
57942014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5795
5796 PR python/16699
5797 * gdb.python/py-completion.exp: New file.
5798 * gdb.python/py-completion.py: Likewise.
5799
fb0576e9
DE
58002014-08-28 Doug Evans <dje@google.com>
5801
5802 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5803 eax,etc. are live with values set by gdb and thus the compiler can't
5804 use them.
5805 * gdb.arch/i386-pseudo.c (main): Ditto.
5806
ee92b0dd
DE
58072014-08-27 Doug Evans <dje@google.com>
5808
5809 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5810
6649db35
DE
58112014-08-25 Doug Evans <dje@google.com>
5812
5813 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5814 (main): Ditto.
5815
564b7600
DE
58162014-08-25 Doug Evans <dje@google.com>
5817
5818 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5819
3881fb67
YQ
58202014-08-24 Yao Qi <yao@codesourcery.com>
5821
5822 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5823 symbol off.
5824 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5825
a05a36a5
DE
58262014-08-22 Doug Evans <dje@google.com>
5827
5828 PR 17276
5829 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5830 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5831 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5832
7c343b48
YQ
58332014-08-22 Yao Qi <yao@codesourcery.com>
5834
5835 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5836 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5837 * gdb.python/python.exp: Likewise. Use .py file on the host
5838 instead of the build.
5839
22fd09ae
JK
58402014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5841
5842 * gdb.threads/gcore-stale-thread.c: New file.
5843 * gdb.threads/gcore-stale-thread.exp: New file.
5844
a8454a7c
PA
58452014-08-21 Pedro Alves <palves@redhat.com>
5846
5847 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5848 * gdb.base/gcore-relro-pie.exp: Likewise.
5849 * gdb.base/gcore-relro.exp: Likewise.
5850 * gdb.base/gcore.exp: Likewise.
5851 * gdb.base/print-symbol-loading.exp: Likewise.
5852 * gdb.threads/gcore-thread.exp: Likewise.
5853 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5854
2a31c623
PA
58552014-08-20 Pedro Alves <palves@redhat.com>
5856 Jan Kratochvil <jan.kratochvil@redhat.com>
5857
5858 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5859 configure.
5860 (EXPECT): Handle READ1 being set.
5861 (all): Depend on EXTRA_RULES.
5862 (check-read1, expect-read1, read1.so, read1): New rules.
5863 * README (Testsuite Parameters): Document the READ1 make variable.
5864 (Race detection): New section.
5865 * configure: Regenerate.
5866 * configure.ac: If build==host==target, and running under a
5867 GNU/glibc system, add read1 to the extra Makefile rules.
5868 (EXTRA_RULES): AC_SUBST it.
5869 * lib/read1.c: New file.
5870
d36430db
JB
58712014-08-20 Joel Brobecker <brobecker@adacore.com>
5872
5873 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5874 the handling of variables declared as a typedef to an array
5875 which a DW_AT_data_location attribute.
5876
9a0dc9e3
PA
58772014-08-19 Andrew Burgess <aburgess@broadcom.com>
5878 Pedro Alves <palves@redhat.com>
5879
5880 PR symtab/14604
5881 PR symtab/14605
5882 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5883 gdb_test.
5884
0718a8da
PA
58852014-08-19 Pedro Alves <palves@redhat.com>
5886
5887 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5888
13b448cd
YQ
58892014-08-19 Yao Qi <yao@codesourcery.com>
5890
5891 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5892 right line.
5893
1cbf5077
DB
58942014-08-18 David Blaikie <dblaikie@gmail.com>
5895
5896 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5897
bf0fae19
JB
58982014-08-18 Joel Brobecker <brobecker@adacore.com>
5899
5900 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5901 attribute in array range.
5902
3c8c5dcc
JB
59032014-08-18 Joel Brobecker <brobecker@adacore.com>
5904
5905 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5906
e66d4446
SC
59072014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5908
5909 PR c++/17132
5910 * gdb.cp/pr17132.cc: New file.
5911 * gdb.cp/pr17132.exp: New file.
5912
940df408
SC
59132014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5914
5915 * gdb.python/py-xmethods.py (A_getarrayind)
5916 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5917 Use 'print' with function call syntax.
5918 (E_method_matcher.match): Fix tab vs space indentation mixup.
5919
ebcc6c3a
YQ
59202014-08-15 Yao Qi <yao@codesourcery.com>
5921
5922 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5923 false.
5924
775e0f04
YQ
59252014-08-15 Yao Qi <yao@codesourcery.com>
5926
5927 * gdb.cp/casts.exp: Set print symbol off.
5928 * gdb.cp/class2.exp: Likewise.
5929 * gdb.cp/overload.exp: Likewise.
5930 * gdb.cp/templates.exp: Likewise.
5931
d769e349
DE
59322014-08-11 Doug Evans <dje@google.com>
5933
5934 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5935 (test_load_shlib): Update.
5936
20c6f1e1
YQ
59372014-08-09 Yao Qi <yao@codesourcery.com>
5938
5939 * gdb.base/display.exp: Invoke is_address_zero_readable.
5940 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5941 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5942 * gdb.base/hbreak-unmapped.exp: Return if
5943 is_address_zero_readable returns true.
5944 * gdb.base/signest.exp: Likewise.
5945 * gdb.base/signull.exp: Likewise.
5946 * gdb.base/sigbpt.exp: Likewise.
5947 * gdb.guile/scm-disasm.exp: Do the test if
5948 is_address_zero_readable returns false.
5949 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5950 * gdb.python/py-arch.exp: Likewise.
5951 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5952 * lib/gdb.exp (is_address_zero_readable): New proc.
5953
5792e8e3
YQ
59542014-08-09 Yao Qi <yao@codesourcery.com>
5955
5956 PR testsuite/13443
5957 * gdb.mi/mi-var-display.exp: Make test messages unique.
5958
3cecbbbe
TT
59592014-08-04 Tom Tromey <tromey@redhat.com>
5960
5961 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5962 target 0".
5963
00b51ff5
TT
59642014-08-04 Tom Tromey <tromey@redhat.com>
5965
5966 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5967 "target_resume".
5968
6908c509
JB
59692014-08-01 Joel Brobecker <brobecker@adacore.com>
5970
5971 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5972 inner_vla_struct_object_size.
5973 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5974 as xfail.
5975
cc6563d2
PA
59762014-07-30 Pedro Alves <palves@redhat.com>
5977
5978 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5979 comment.
5980
7e09a223
YQ
59812014-07-29 Yao Qi <yao@codesourcery.com>
5982
5983 PR gdb/17206
5984 * gdb.base/until-nodebug.exp: New.
5985
7ebdbe92
DE
59862014-07-28 Doug Evans <xdje42@gmail.com>
5987
5988 PR guile/17203
5989 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5990 previously existing parameter, and previously ambiguously spelled
5991 parameter.
5992
fdb1adc6
WN
59932014-07-28 Will Newton <will.newton@linaro.org>
5994
5995 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5996
186fcde0
DE
59972014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
5998 Doug Evans <xdje42@gmail.com>
5999
6000 PR guile/17146
6001 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6002
70509625
PA
60032014-07-25 Pedro Alves <palves@redhat.com>
6004
6005 * gdb.threads/signal-command-handle-nopass.c: New file.
6006 * gdb.threads/signal-command-handle-nopass.exp: New file.
6007 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6008 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6009 * gdb.threads/signal-delivered-right-thread.c: New file.
6010 * gdb.threads/signal-delivered-right-thread.exp: New file.
6011
c3f814a1
PA
60122014-07-25 Pedro Alves <palves@redhat.com>
6013
6014 * gdb.base/double-prompt-target-event-error.exp
6015 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6016 match.
6017 (cancel_pagination_in_target_event): Rework double prompt
6018 detection.
6019 * gdb.base/paginate-after-ctrl-c-running.exp
6020 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6021 <return>' match.
6022 * gdb.base/paginate-bg-execution.exp
6023 (test_bg_execution_pagination_return)
6024 (test_bg_execution_pagination_cancel): Remove '-notransfer
6025 <return>' matches.
6026 * gdb.base/paginate-execution-startup.exp
6027 (test_fg_execution_pagination_return)
6028 (test_fg_execution_pagination_cancel): Remove '-notransfer
6029 <return>' matches.
6030 * gdb.base/paginate-inferior-exit.exp
6031 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6032 match.
6033 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6034 * lib/gdb.exp (pagination_prompt): Run text through
6035 string_to_regexp.
6036 (gdb_test_multiple): Match $pagination_prompt instead of
6037 "<return>".
6038 (string_to_regexp): Move to lib/gdb-utils.exp.
6039
e214cf6c
JK
60402014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6041
6042 * gdb.arch/amd64-entry-value-paramref.S: New file.
6043 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6044 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6045 * gdb.arch/amd64-optimout-repeat.S: New file.
6046 * gdb.arch/amd64-optimout-repeat.c: New file.
6047 * gdb.arch/amd64-optimout-repeat.exp: New file.
6048
17d0c5c8
JK
60492014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6050
6051 PR gdb/17170
6052 * gdb.base/statistics.exp: New file.
6053
b8b8facf
DE
60542014-07-17 Doug Evans <dje@google.com>
6055
74b49205 6056 PR gdb/17170
b8b8facf
DE
6057 * gdb.base/maint.exp: Update testing of per-command stats.
6058
1b5d0ab3
PA
60592014-07-16 Pedro Alves <palves@redhat.com>
6060
6061 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6062 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6063 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6064 (tfile_write_buf): New functions.
6065 (add_memory_block): Rewrite using the above.
6066 (adjust_function_address): New function.
6067 (FUNCTION_ADDRESS): New macro.
6068 (write_basic_trace_file): Remove short_x local, and use
6069 tfile_write_16. Change type of func_addr local to unsigned long
6070 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6071 here. Cast argument of add_memory_block to char pointer.
6072 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6073 (main): Remove parameters.
6074 * gdb.trace/tfile.exp: Remove nowarnings.
6075
4d974e88
SM
60762014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6077
6078 * gdb.base/debug-expr.exp: Test string evaluation with
6079 "debug expression" on.
6080
41e99568
PA
60812014-07-15 Pedro Alves <palves@redhat.com>
6082
6083 * gdb.base/reread.exp: Use clean_restart.
6084
487d9753
PL
60852014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6086
6087 * gdb.arch/avr-flash-qualifer.c: New.
6088 * gdb.arch/avr-flash-qualifer.exp: New.
6089
cc1c52ad
PA
60902014-07-14 Pedro Alves <palves@redhat.com>
6091
6092 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6093 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6094
1e973570
PA
60952014-07-14 Pedro Alves <palves@redhat.com>
6096
6097 * gdb.base/double-prompt-target-event-error.c: New file.
6098 * gdb.base/double-prompt-target-event-error.exp: New file.
6099
93d6eb10
PA
61002014-07-14 Pedro Alves <palves@redhat.com>
6101
6102 PR gdb/17072
6103 * gdb.base/paginate-inferior-exit.c: New file.
6104 * gdb.base/paginate-inferior-exit.exp: New file.
6105
0017922d
PA
61062014-07-14 Pedro Alves <palves@redhat.com>
6107
6108 PR gdb/17072
6109 * gdb.base/paginate-bg-execution.c: New file.
6110 * gdb.base/paginate-bg-execution.exp: New file.
6111
94696ad3
PA
61122014-07-14 Pedro Alves <palves@redhat.com>
6113
6114 PR gdb/17072
6115 * gdb.base/paginate-execution-startup.c: New file.
6116 * gdb.base/paginate-execution-startup.exp: New file.
6117 * lib/gdb.exp (pagination_prompt): New global.
6118 (default_gdb_spawn): New procedure, factored out from
6119 default_gdb_spawn.
6120 (default_gdb_start): Adjust to call default_gdb_spawn.
6121 (gdb_spawn): New procedure.
6122
bd293940
PA
61232014-07-14 Pedro Alves <palves@redhat.com>
6124
6125 * lib/gdb.exp (gdb_assert): New procedure.
6126 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6127
c933f875
PA
61282014-07-14 Pedro Alves <palves@redhat.com>
6129
6130 * gdb.base/execution-termios.c: New file.
6131 * gdb.base/execution-termios.exp: New file.
6132
d98b7a16
TT
61332014-07-14 Tom Tromey <tromey@redhat.com>
6134
6135 * gdb.cp/vla-cxx.cc: New file.
6136 * gdb.cp/vla-cxx.exp: New file.
6137
548740d6
TT
61382014-07-14 Tom Tromey <tromey@redhat.com>
6139
6140 * gdb.reverse/rerun-prec.c: New file.
6141 * gdb.reverse/rerun-prec.exp: New file.
6142
a25eb028
MR
61432014-07-12 Maciej W. Rozycki <macro@mips.com>
6144 Maciej W. Rozycki <macro@codesourcery.com>
6145
6146 * lib/gdb-utils.exp: New file.
6147 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6148 inline `gdb_init_command' processing.
6149 (gdb_start_cmd): Likewise.
6150 * lib/mi-support.exp (mi_run_cmd): Likewise.
6151 * README: Document `gdb_init_command' and `gdb_init_commands'.
6152
218c2655
JK
61532014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6154
6155 Fix false FAIL running under a very long directory name.
6156 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6157 and "set print elements 10000". Twice.
6158
5401fde3
YQ
61592014-07-11 Yao Qi <yao@codesourcery.com>
6160
6161 * gdb.base/exprs.exp: "set print symbol off".
6162
e76126e8
PA
61632014-07-11 Pedro Alves <palves@redhat.com>
6164
6165 * gdb.threads/kill.c: New file.
6166 * gdb.threads/kill.exp: New file.
6167
2d6f0de6
YQ
61682014-07-10 Yao Qi <yao@codesourcery.com>
6169
6170 * gdb.trace/tfile.c (write_basic_trace_file)
6171 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6172 address written to trace file.
6173
7180e04a
PA
61742014-07-09 Pedro Alves <palves@redhat.com>
6175
6176 * gdb.base/attach-wait-input.exp: New file.
6177 * gdb.base/attach-wait-input.c: New file.
6178
9a9a7608
AB
61792014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6180
6181 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6182 setting up test structures.
6183 (main): Call new test function.
6184 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6185 test function, continue into test function and walk test
6186 structures.
6187
161ac41e
YQ
61882014-07-02 Yao Qi <yao@codesourcery.com>
6189
6190 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6191 'bar_start' at the beginning of functions 'foo' and 'bar'
6192 respectively.
6193 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6194 instead of 'foo' and 'bar'.
6195
1f267ae3
MM
61962014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6197
6198 * gdb.btrace/segv.exp: New.
6199 * gdb.btrace/segv.c: New.
6200
2b239efb
LM
62012014-07-02 Luis Machado <lgustavo@codesourcery.com>
6202
6203 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6204 instruction.
6205
cf363f18
MW
62062014-06-30 Mark Wielaard <mjw@redhat.com>
6207
6208 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6209 vulture, vilify, villar): New volatile array constants.
6210 (vindictive, vegetation): New const volatile array constants.
6211 * gdb.base/volatile.exp: Test volatile and const volatile array
6212 types.
6213
aebf9d24
AA
62142014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6215
6216 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6217 target lacks support for awatch, rwatch, or hbreak.
6218
b67a2c6f
YQ
62192014-06-27 Yao Qi <yao@codesourcery.com>
6220
6221 * gdb.multi/dummy-frame-restore.exp: New.
6222 * gdb.multi/dummy-frame-restore.c: New.
6223
aef92902
MM
62242014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6225
6226 * gdb.btrace/gcore.exp: New.
6227
8e9db26e
PA
62282014-06-23 Pedro Alves <palves@redhat.com>
6229
6230 * gdb.base/watchpoint-reuse-slot.c: New file.
6231 * gdb.base/watchpoint-reuse-slot.exp: New file.
6232
70afc5b7
SC
62332014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6234
6235 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6236 progspace's filename in 'info', 'enable' and 'disable' command
6237 tests.
6238
b972bd9c
JK
62392014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6240
6241 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6242 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6243 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6244
125f8a3d
GB
62452014-06-20 Gary Benson <gbenson@redhat.com>
6246
6247 * gdb.arch/i386-avx.exp: Fix include file location.
6248 * gdb.arch/i386-sse.exp: Likewise.
6249
3ed9baed
IB
62502014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6251
6252 * gdb.dlang/expression.exp: New file.
6253
034f788c
PA
62542014-06-19 Pedro Alves <palves@redhat.com>
6255
6256 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6257 out from ...
6258 (top level): ... here. Iterate running tests under different
6259 scheduler-locking settings.
6260
45371d0c
LM
62612014-06-18 Luis Machado <lgustavo@codesourcery.com>
6262
6263 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6264 to DW_FORM_addr and use non-zero addresses.
6265
5d376983
SC
62662014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6267
6268 PR gdb/17017
6269 * gdb.python/py-xmethods.cc: Add global function call counters and
6270 increment them in their respective functions. Remove "cout"
6271 statements.
6272 * gdb.python/py-xmethods.exp: Make tests check the global function
6273 call counters instead of depending on inferior IO.
6274
a1aa2221
LM
62752014-06-18 Don Breazeal <donb@codesourcery.com>
6276
6277 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6278 Deleted procedure.
6279 (explicit_fork_parent_follow): Deleted procedure.
6280 (explicit_fork_child_follow): Deleted procedure.
6281 (test_follow_fork): New procedure.
6282 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6283 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6284 procedure calls.
6285
0fc05997
YQ
62862014-06-17 Yao Qi <yao@codesourcery.com>
6287
6288 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6289 CP1252.
6290
70795c52
LM
62912014-06-17 Luis Machado <lgustavo@codesourcery.com>
6292
6293 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6294 Initialize ptr and S explicitly.
6295 (skip_type_update_when_not_use_rtti_test): Likewise.
6296
6be47f0c
KS
62972014-06-16 Keith Seitz <keiths@redhat.com>
6298
6299 PR mi/15863
6300 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6301 the inferior is started.
6302
d03de421
PA
63032014-06-16 Pedro Alves <palves@redhat.com>
6304
6305 * gdb.base/break-main-file-remove-fail.c: New file.
6306 * gdb.base/break-main-file-remove-fail.exp: New file.
6307 * gdb.base/break-unload-file.exp: Use build_executable instead of
6308 prepare_for_testing.
6309 (test_break): New parameter "initial_load". Handle it.
6310 (top level): Add initial_load cmdline/file axis.
6311
f9579b99
TT
63122014-06-12 Tom Tromey <tromey@redhat.com>
6313
6314 * gdb.base/completion.exp: Don't use directory name in test.
6315
3657956b
GB
63162014-06-09 Gary Benson <gbenson@redhat.com>
6317
6318 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6319 separate the always-available ANSI-standard signals from the
6320 signals that require checking.
6321 (main): Likewise.
6322 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6323 Likewise.
6324 (main): Likewise.
6325
4186eb54
KS
63262014-06-07 Keith Seitz <keiths@redhat.com>
6327
6328 Revert:
6329 PR c++/16253
6330 * gdb.cp/var-tag.cc: New file.
6331 * gdb.cp/var-tag.exp: New file.
6332 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6333 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6334 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6335 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6336
25326a28 63372014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6338
6339 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6340
829155c9
PA
63412014-06-06 Pedro Alves <palves@redhat.com>
6342
6343 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6344 in target debug output instead of looking at RSP packets,
6345 disabling the test on any target that uses hardware stepping.
6346 Update comments.
6347
61c8d22e
PA
63482014-06-06 Pedro Alves <palves@redhat.com>
6349
6350 * gdb.base/break-unload-file.exp: Fix typo.
6351
d9a47287
YQ
63522014-06-06 Yao Qi <yao@codesourcery.com>
6353
6354 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6355 from "jit_function" to "^jit_function".
6356
e5e01dbf
YQ
63572014-06-06 Yao Qi <yao@codesourcery.com>
6358
6359 * gdb.base/async.c (foo): Add one statement.
6360 * gdb.base/async.exp: Get the next instruction address and
6361 match the output of "nexti" by instruction address. Match
6362 the hex address in the output of "finish".
6363
73ba372c
GB
63642014-06-06 Gary Benson <gbenson@redhat.com>
6365
6366 * gdb.base/call-signals.c: Remove preprocessor conditionals
6367 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6368 SIGSEGV and SIGTERM.
6369 * gdb.base/sigall.c: Likewise.
6370 * gdb.base/unwindonsignal.c: Likewise.
6371 * gdb.reverse/sigall-reverse.c: Likewise.
6372
831517df
YQ
63732014-06-06 Yao Qi <yao@codesourcery.com>
6374
6375 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6376 readable, skip the test.
6377
b8b91e98
YQ
63782014-06-06 Yao Qi <yao@codesourcery.com>
6379
6380 * gdb.threads/staticthreads.c (thread_function): Move the line
6381 setting breakpoint on forward.
6382 * gdb.threads/staticthreads.exp: Update comments.
6383
fb934770
LC
63842014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
6385
6386 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6387 "history-append! type error".
6388
6ef284bd
SM
63892014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6390
6391 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6392 erroneous dprintf expected input.
6393
a872e241
DE
63942014-06-04 Doug Evans <xdje42@gmail.com>
6395
6396 * gdb.guile/scm-generics.exp: Delete.
6397
16f691fb
DE
63982014-06-04 Doug Evans <xdje42@gmail.com>
6399
6400 * gdb.guile/scm-breakpoint.exp: Update.
6401 Add tests for breakpoint registration.
6402
012370f6
TT
64032014-06-04 Tom Tromey <tromey@redhat.com>
6404
6405 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6406 VLA-in-union.
6407 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6408 inner_vla_struct, vla_union types. Initialize objects of those
6409 types and compute their sizes.
6410
9f5a4cef
HZ
64112014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6412 Hui Zhu <hui@codesourcery.com>
6413
6414 * gdb.base/fileio.exp: Add test for shell not available as well as
6415 available.
6416 * gdb.base/fileio.c (test_system): Check for shell twice.
6417
90a45c4d
YQ
64182014-06-04 Yao Qi <yao@codesourcery.com>
6419
6420 * gdb.base/auto-connect-native-target.exp: Remove redundant
6421 space from the regexp pattern.
6422
70017e41
YQ
64232014-06-04 Yao Qi <yao@codesourcery.com>
6424
6425 * gdb.base/default.exp: Replace "child" with "native" in
6426 regexp pattern.
6427
883964a7
SC
64282014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6429
6430 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6431 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6432 * gdb.python/py-xmethods.py: Python script supporting the
6433 new testcase and tests.
6434
ef370185
JB
64352014-06-03 Joel Brobecker <brobecker@adacore.com>
6436 Pedro Alves <palves@redhat.com>
6437
6438 PR breakpoints/17000
6439 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6440 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6441
1e2ccb61
BM
64422014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6443
6444 * gdb.base/subst.exp: Add tests to verify partial path matching
6445 output.
6446
c6ec5ab2
PA
64472014-06-03 Pedro Alves <palves@redhat.com>
6448
6449 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6450 target that doesn't use software single-stepping.
6451
835c559f
PA
64522014-06-03 Pedro Alves <palves@redhat.com>
6453
6454 PR breakpoints/17000
6455 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6456 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6457
06eb1586
DE
64582014-06-02 Doug Evans <xdje42@gmail.com>
6459
6460 * gdb.guile/scm-parameter.exp: New file.
6461
e698b8c4
DE
64622014-06-02 Doug Evans <xdje42@gmail.com>
6463
6464 * gdb.guile/scm-cmd.c: New file.
6465 * gdb.guile/scm-cmd.exp: New file.
6466
ded03782
DE
64672014-06-02 Doug Evans <xdje42@gmail.com>
6468
6469 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6470 pretty-printer lookup.
6471 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6472 (make-pp_s-printer): Call it.
6473 (make-pretty-printer-from-dict): New function.
6474 (lookup-pretty-printer-maker-from-dict): New function.
6475 (*pretty-printer*): Simplify.
6476 (make-objfile-pp_s-printer): New function.
6477 (install-objfile-pretty-printers!): New function.
6478 (make-progspace-pp_s-printer): New function.
6479 (install-progspace-pretty-printers!): New function.
6480 * gdb.guile/scm-progspace.c: New file.
6481 * gdb.guile/scm-progspace.exp: New file.
6482
41fac0cf
PA
64832014-06-02 Pedro Alves <palves@redhat.com>
6484
6485 * gdb.base/dprintf-bp-same-addr.c: New file.
6486 * gdb.base/dprintf-bp-same-addr.exp: New file.
6487
96ae5695
EBM
64882014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6489
6490 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6491 * gdb.arch/powerpc-power.s: Likewise.
6492
da02b3a8
JB
64932014-06-02 Joel Brobecker <brobecker@adacore.com>
6494
6495 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6496
c72b2e7b
YQ
64972014-06-01 Yao Qi <yao@codesourcery.com>
6498
6499 * gdb.base/watchpoint.exp (test_watch_location): Check null
6500 pointer can be dereferenced. If not, do the test, otherwise
6501 skip it.
6502
53e8a631
AB
65032014-05-30 Andrew Burgess <aburgess@broadcom.com>
6504
6505 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6506 results.
6507 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6508
938f0e2f
AB
65092014-05-30 Andrew Burgess <aburgess@broadcom.com>
6510
6511 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6512 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6513 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6514 * gdb.arch/amd64-invalid-stack-top.c: New file.
6515 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6516
9ba6657a
PA
65172014-05-30 Pedro Alves <palves@redhat.com>
6518
6519 PR breakpoints/17000
6520 * gdb.base/sss-bp-on-user-bp.c: New file.
6521 * gdb.base/sss-bp-on-user-bp.exp: New file.
6522
522c09bf
DB
65232014-05-30 David Blaikie <dblaikie@gmail.com>
6524
6525 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6526 gnu_inline semantics via attribute.
6527 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6528 source explicitly specifies the required semantics.
6529
bf4ef81e
MR
65302014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6531
6532 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6533
329ea579
PA
65342014-05-29 Pedro Alves <palves@redhat.com>
6535 Tom Tromey <tromey@redhat.com>
6536
6537 * gdb.base/async-shell.exp: Don't enable target-async.
6538 * gdb.base/async.exp
6539 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6540 parameter. Adjust.
6541 (top level): Don't test with "target-async".
6542 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6543 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6544 * gdb.base/inferior-died.exp: Don't enable target-async.
6545 * gdb.base/interrupt-noterm.exp: Likewise.
6546 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6547 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6548 * gdb.mi/mi-nonstop.exp: Likewise.
6549 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6550 * gdb.mi/mi-nsintrall.exp: Likewise.
6551 * gdb.mi/mi-nsmoribund.exp: Likewise.
6552 * gdb.mi/mi-nsthrexec.exp: Likewise.
6553 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6554 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6555 * gdb.python/py-evsignal.exp: Don't enable target-async.
6556 * gdb.python/py-evthreads.exp: Likewise.
6557 * gdb.python/py-prompt.exp: Likewise.
6558 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6559 * gdb.server/solib-list.exp: Don't enable target-async.
6560 * gdb.threads/thread-specific-bp.exp: Likewise.
6561 * lib/mi-support.exp: Adjust to use mi-async.
6562
fd664c91
PA
65632014-05-29 Pedro Alves <palves@redhat.com>
6564
6565 PR gdb/13860
6566 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6567 reason, even in sync mode.
6568
251bde03
PA
65692014-05-29 Pedro Alves <palves@redhat.com>
6570 Hui Zhu <hui@codesourcery.com>
6571
6572 PR PR15693
6573 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6574 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6575 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6576 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6577
7f3c0343
JB
65782014-05-28 Joel Brobecker <brobecker@adacore.com>
6579
6580 * config/monitor.exp (gdb_target_monitor): Replace use of
6581 "set remotebaud" by "set serial baud".
6582
b2715b27
AW
65832014-05-26 Andy Wingo <wingo@igalia.com>
6584
6585 * gdb.guile/scm-breakpoint.exp:
6586 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6587 properties instead of gdb-object-properties.
6588
498a4489
YQ
65892014-05-26 Yao Qi <yao@codesourcery.com>
6590
6591 * gdb.server/no-thread-db.exp: Specify source file name
6592 explicitly when setting a breakpoint.
6593
589fdceb
MM
65942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6595
6596 * gdb.btrace/vdso.c: New.
6597 * gdb.btrace/vdso.exp: New.
6598
e9089e05
MM
65992014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6600
6601 * gdb.base/gcore.exp (capture_command_output): Move ...
6602 * lib/gdb.exp (capture_command_output): ... here.
6603
67b5c0c1
MM
66042014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6605
6606 * gdb.btrace/data.exp: Test memory access during btrace replay.
6607
a2199296
SM
66082014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6609
6610 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6611
17b2616c
PA
66122014-05-21 Pedro Alves <palves@redhat.com>
6613
6614 PR gdb/13860
6615 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6616 (top level): Test that output related to execution commands is
6617 sent to the console with CLI commands, but not with MI commands.
6618 Test that breakpoint events are always mirrored to the console.
6619 Also expect the new source line to be output after a "next" in
6620 async mode too. Make it a pass/fail test.
6621 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6622 output.
6623 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6624
5166082f
PA
66252014-05-21 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6628 Use them to test variations of "list" after reaching a breakpoint.
6629 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6630 Test "list" with listsize 10 after reaching a breakpoint.
6631 * gdb.python/python.exp (decode_line current location line
6632 number): Adjust expected line number.
6633
2f25d70f
SM
66342014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6635
6636 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6637 behavior for $args, pass it directly to "run".
6638
ff604a67
MR
66392014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6640
6641 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6642 30000 to 65536.
6643
6a3cb8e8
PA
66442014-05-21 Pedro Alves <palves@redhat.com>
6645
6646 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6647 auto-connect-native-target off".
6648 * gdb.base/auto-connect-native-target.c: New file.
6649 * gdb.base/auto-connect-native-target.exp: New file.
6650
4ebfc96e
PA
66512014-05-21 Pedro Alves <palves@redhat.com>
6652
6653 * gdb.base/default.exp: Test "target native" instead of "target
6654 child".
6655
36d46afb
MW
66562014-05-21 Mark Wielaard <mjw@redhat.com>
6657
6658 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6659
5876f503
JK
66602014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6661
6662 Fix TLS access for -static -pthread.
6663 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6664 <HAVE_TLS> (thread_function, main): Initialize it.
6665 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6666 Add clean_restart.
6667 <$have_tls != "">: Check TLSVAR.
6668
0256a6ac
PA
66692014-05-21 Pedro Alves <palves@redhat.com>
6670
6671 * gdb.base/dcache-line-read-error.c: New.
6672 * gdb.base/dcache-line-read-error.exp: New.
6673
936d2992
PA
66742014-05-20 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.base/compare-sections.c: New file.
6677 * gdb.base/compare-sections.exp: New file.
6678
802e8e6d
PA
66792014-05-20 Pedro Alves <palves@redhat.com>
6680
6681 * gdb.base/break-idempotent.c: New file.
6682 * gdb.base/break-idempotent.exp: New file.
6683
e59fa00f
MM
66842014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6685
6686 * gdb.btrace/nohist.exp: New.
6687
8b696e31
YQ
66882014-05-20 Yao Qi <yao@codesourcery.com>
6689
6690 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6691 gdb.reverse directory and gdb_reverse_timeout exists in board
6692 setting.
6693 * README: Document gdb_reverse_timeout.
6694
73c9764f
YQ
66952014-05-20 Yao Qi <yao@codesourcery.com>
6696
6697 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6698 'test_file_name'. Treat args as a string instead of a list.
6699 (gdb_init): Rename argument 'args' by 'test_file_name'.
6700
f1f4348a
JK
67012014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6702
6703 * gdb.arch/powerpc-power.exp: New file.
6704 * gdb.arch/powerpc-power.s: New file.
6705
0dbe70ce
DE
67062014-05-16 Doug Evans <dje@google.com>
6707
6708 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6709 * gdb.base/completion.exp: Check that all expected files exist
6710 before doing file completion.
0dbe70ce 6711
8d551b02
DE
67122014-05-16 Doug Evans <dje@google.com>
6713
6714 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6715 Update.
6716 (do_syscall_tests_without_xml): Update.
6717
73eb7709
PA
67182014-05-16 Pedro Alves <palves@redhat.com>
6719
6720 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6721 instead of "unknown output after running".
6722
3fae92fc
YQ
67232014-05-16 Yao Qi <yao@codesourcery.com>
6724
6725 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6726 file1.txt from host at the end.
6727 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6728
c2b2ccc5
DE
67292014-05-15 Doug Evans <dje@google.com>
6730
6731 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6732 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6733 loading file. Add test for TU lookup.
6734
8c217a4b
SM
67352014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6736
6737 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6738 calling "-exec-arguments" or "set args" before running the
6739 inferior.
6740
3deb39c6
SM
67412014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6742
6743 * lib/mi-support.exp (mi_expect_stop): Expect message for
6744 inferiors that exit with non-zero exit code.
6745
71a79f8c
YQ
67462014-05-14 Yao Qi <yao@codesourcery.com>
6747
6748 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6749 match absolute path on remote host.
6750 (test_file_list_exec_source_files): Remove "/" from the
6751 pattern.
6752
f23fcd46
YQ
67532014-05-14 Yao Qi <yao@codesourcery.com>
6754
6755 * boards/local-remote-host-notty.exp (${board}_file): New
6756 proc.
6757
9404b58f
KM
67582014-05-07 Kyle McMartin <kyle@redhat.com>
6759
6760 Pushed by Joel Brobecker <brobecker@adacore.com>.
6761 * gdb.arch/aarch64-atomic-inst.c: New file.
6762 * gdb.arch/aarch64-atomic-inst.exp: New file.
6763
5e45f04c
YQ
67642014-05-07 Yao Qi <yao@codesourcery.com>
6765
6766 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6767 in current context" too.
6768
c888a17d
KS
67692014-05-05 Keith Seitz <keiths@redhat.com>
6770
6771 * gdb.linespec/ls-dollar.exp: Add test for linespec
6772 file:convenience_variable.
6773
290a839c
YQ
67742014-05-05 Yao Qi <yao@codesourcery.com>
6775
6776 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6777 traceframes into tfile and ctf trace files. Read data from
6778 trace file and test collected data.
6779 (gdb_collect_locals_test): Likewise.
6780 (gdb_unavailable_registers_test): Likewise.
6781 (gdb_unavailable_floats): Likewise.
6782 (gdb_collect_globals_test): Likewise.
6783 (top-level): Append "ctf" to trace_file_targets if GDB
6784 supports.
6785
b5262cd0
YQ
67862014-05-05 Yao Qi <yao@codesourcery.com>
6787
6788 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6789 code to ...
6790 (gdb_collect_args_test_1): ... it. New proc.
6791 (gdb_collect_locals_test): Move some code to ...
6792 (gdb_collect_locals_test_1): ... it. New proc.
6793 (gdb_unavailable_registers_test): Move some code to ...
6794 (gdb_unavailable_registers_test_1): ... it. New proc.
6795 (gdb_unavailable_floats): Move some code to ...
6796 (gdb_unavailable_floats_1): ... it. New proc.
6797
30a1e6cc
SDJ
67982014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6799
6800 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6801 probes to test for bitness recognition.
6802 * gdb.arch/amd64-stap-optional-prefix.exp
6803 (test_probe_value_without_reg): New procedure.
6804 Add code to test for different kinds of bitness.
6805
f33da99a
SDJ
68062014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6807
6808 PR breakpoints/16889
6809 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6810 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6811
5b80f00d
PA
68122014-05-01 Pedro Alves <palves@redhat.com>
6813
6814 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6815 gdb_file_cmd if no file is specified.
6816 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6817 last_loaded_file to set the remote exec-file.
6818
f8c2a73c
PA
68192014-05-01 Pedro Alves <palves@redhat.com>
6820
6821 * boards/local-remote-host.exp: New file.
6822
be6e8ac7
PA
68232014-05-01 Pedro Alves <palves@redhat.com>
6824
6825 * boards/local-remote-host.exp: Rename to ...
6826 * boards/local-remote-host-notty.exp: ... this.
6827
cac0dc8f
JB
68282014-04-28 Joel Brobecker <brobecker@adacore.com>
6829
6830 * gdb.ada/dyn_arrayidx: New testcase.
6831
9730e6cc
YQ
68322014-04-26 Yao Qi <yao@codesourcery.com>
6833
6834 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6835 and compute the length of function main. Save it in
6836 $main_length.
6837 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6838 (top-level): Use gdb_compile to compile objects into
6839 executable and restart GDB. Remove invocation to
6840 prepare_for_testing.
6841
7ae1a6a6
PA
68422014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6843 Pedro Alves <palves@redhat.com>
6844
6845 PR server/16255
6846 * gdb.multi/multi-attach.c: New file.
6847 * gdb.multi/multi-attach.exp: New file.
6848
4082afcc
PA
68492014-04-25 Pedro Alves <palves@redhat.com>
6850
6851 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6852 user.
6853 (top level): Test that "set remote conditional-breakpoints-packet
6854 off" works as intended.
6855 * gdb.base/dprintf.exp: Test that "set remote
6856 breakpoint-commands-packet off" works as intended.
6857 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6858 New function.
6859 (top level): Call it.
6860 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6861 remote fast-tracepoints-packet off" works as intended.
6862 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6863 * lib/gdb.exp (gdb_is_target_remote): ... here.
6864
2abc3f8d
DB
68652014-04-24 David Blaikie <dblaikie@gmail.com>
6866
6867 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6868 ensure clang would not discard them.
6869 * gdb.base/gdbvars.c: Ditto.
6870 * gdb.base/memattr.c: Ditto.
6871 * gdb.base/whatis.c: Ditto.
6872 * gdb.python/py-prettyprint.c: Ditto.
6873 * gdb.trace/actions.c: Ditto.
6874 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6875 ensure clang would not discard it.
6876
bfd39632
DB
68772014-04-24 David Blaikie <dblaikie@gmail.com>
6878
6879 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6880 clang to emit the full definition of type required by the test
6881 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6882
22842ff6
DB
68832014-04-24 David Blaikie <dblaikie@gmail.com>
6884
6885 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6886 coax Clang into emitting the definition of the type.
6887 * gdb.cp/pr10728-x.h (y): Ditto.
6888 * gdb.cp/pr10728-y.cc (y): Ditto.
6889
c2e827ad
DB
68902014-04-24 David Blaikie <dblaikie@gmail.com>
6891
6892 * gdb.base/label.exp: XFAIL label related tests under Clang.
6893 * gdb.cp/cplabel.exp: Ditto.
6894 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6895 under Clang those using labels.
6896
4c2d33e7
YQ
68972014-04-25 Yao Qi <yao@codesourcery.com>
6898
6899 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6900 double_label.
6901 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6902 partial_label and double_label.
6903
56083b99
DB
69042014-04-24 David Blaikie <dblaikie@gmail.com>
6905
6906 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6907
25d4e99d
DB
69082014-04-24 David Blaikie <dblaikie@gmail.com>
6909
6910 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6911 of the function to work across GCC and Clang.
6912 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6913 pointer types (const void ** const V void **).
6914
01f9f808
MS
69152014-04-24 Michael Sturm <michael.sturm@mintel.com>
6916 Walfred Tedeschi <walfred.tedeschi@intel.com>
6917
6918 * Makefile.in (EXECUTABLES): Added i386-avx512.
6919 * gdb.arch/i386-avx512.c: New file.
6920 * gdb.arch/i386-avx512.exp: Likewise.
6921
4b48d439
KS
69222014-04-23 Keith Seitz <keiths@redhat.com>
6923
6924 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6925 (mi_make_breakpoint_table): New procedure.
6926 (mi_create_breakpoint): Use mi_make_breakpoint
6927 and return the result.
6928 (mi_make_breakpoint): New procedure.
6929 (mi_build_kv_pairs): New procedure.
6930
6931 * gdb.mi/mi-break.exp: Remove unused globals,
6932 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6933 All callers updated.
6934 * gdb.mi/mi-dprintf.exp: Use variable to track command
6935 number.
6936 Update all callers of mi_create_breakpoint and use
6937 mi_make_breakpoint_table.
6938 Remove any unused global variables.
6939 * gdb.mi/mi-nonstop.exp: Likewise.
6940 * gdb.mi/mi-nsintrall.exp: Likewise.
6941 * gdb.mi/mi-nsmoribund.exp: Likewise.
6942 * gdb.mi/mi-nsthrexec.exp: Likewise.
6943 * gdb.mi/mi-reverse.exp: Likewise.
6944 * gdb.mi/mi-simplerun.exp: Likewise.
6945 * gdb.mi/mi-stepn.exp: Likewise.
6946 * gdb.mi/mi-syn-frame.exp: Likewise.
6947 * gdb.mi/mi-until.exp: Likewise.
6948 * gdb.mi/mi-var-cp.exp: Likewise.
6949 * gdb.mi/mi-var-display.exp: Likewise.
6950 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6951 * gdb.mi/mi2-var-child.exp: Likewise.
6952 * gdb.mi/mi-vla-c99.exp: Likewise.
6953 * lib/mi-support.exp: Likewise.
6954
6955 From Ian Lance Taylor <iant@cygnus.com>:
6956 * lib/gdb.exp (parse_args): New procedure.
6957
08351840
PA
69582014-04-23 Pedro Alves <palves@redhat.com>
6959
6960 * gdb.base/break-unload-file.c: New file.
6961 * gdb.base/break-unload-file.exp: New file.
6962 * gdb.base/sym-file-lib.c (baz): New function.
6963 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6964 field.
6965 (load): Store the segment's mapped size.
6966 (unload): New function.
6967 (unload_shlib): New function.
6968 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6969 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6970 set a breakpoint at baz, and call it.
6971 * gdb.base/sym-file.exp: New tests for stale breakpoint
6972 instructions.
6973
076855f9
PA
69742014-04-23 Pedro Alves <palves@redhat.com>
6975
6976 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6977 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6978 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6979 * gdb.base/hbreak-unmapped.c: New file.
6980 * gdb.base/hbreak-unmapped.exp: New file.
6981 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6982 * lib/gdb.exp (gdb_is_target_remote): ... here.
6983
483805cf
PA
69842014-04-22 Pedro Alves <palves@redhat.com>
6985
6986 * gdb.base/consecutive-step-over.c: New file.
6987 * gdb.base/consecutive-step-over.exp: New file.
6988
06d97543
PA
69892014-04-22 Pedro Alves <palves@redhat.com>
6990
6991 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6992 instead of send_gdb/gdb_expect.
6993
b4429ea2
YQ
69942014-04-22 Yao Qi <yao@codesourcery.com>
6995
6996 * lib/trace-support.exp (generate_tracefile): New procedure.
6997 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6998 return 0.
6999 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7000 if generate_tracefile returns 1.
7001
51d48146
PA
70022014-04-18 Tom Tromey <palves@redhat.com>
7003 Pedro alves <tromey@redhat.com>
7004
7005 PR backtrace/15558
7006 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7007 with a backtrace limit.
7008 * gdb.python/py-frame-inline.exp: Test running to an inline
7009 function with a backtrace limit, and printing the newest frame.
7010 * gdb.python/py-frame-inline.c (main): Call f.
7011
bd1dce5f
MS
70122014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7013
7014 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7015
40d1a503
MS
70162014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7017
7018 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7019 Drop prefix from unsupported source file path.
7020
389b98f7
YQ
70212014-04-17 Yao Qi <yao@codesourcery.com>
7022
7023 * lib/gdb.exp (with_target_charset): New proc.
7024 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7025 with_target_charset.
7026 (test_print_strings): Likewise.
7027 (test_repeat_bytes): Likewise.
7028 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7029 for some tests.
7030
22869d73
KS
70312014-04-16 Keith Seitz <keiths@redhat.com>
7032
7033 PR gdb/15827
7034 * gdb.dwarf2/corrupt.c: New file.
7035 * gdb.dwarf2/corrupt.exp: New file.
7036
c4f87ca6
KS
70372014-04-16 Keith Seitz <keiths@redhat.com>
7038
7039 PR c++/16597
7040 * gdb.cp/namelessclass.cc: New file.
7041 * gdb.cp/namelessclass.exp: New file.
7042 * gdb.cp/namelessclass.S: New file.
7043
ab19de87
DE
70442014-04-16 Doug Evans <dje@google.com>
7045
7046 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7047 Add comment.
7048 (gdbserver_default_get_comm_port): New function.
7049 (gdbserver_start): Check if board file provided
7050 "gdbserver,get_comm_port" and use it if so.
7051 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7052 (gdb,socketport): Set to "stdio".
7053 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7054 (stdio_gdbserver_template): Delete.
7055 (${board}_get_remote_address): Update.
7056 (${board}_build_remote_cmd): Delete.
7057 (${board}_get_comm_port): New function.
7058 (${board}_spawn): Update.
7059 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7060 Delete.
7061 (${board}_get_remote_address): Update.
7062 (${board}_get_comm_port): New function.
7063
fc98a809
AB
70642014-04-16 Andrew Burgess <aburgess@broadcom.com>
7065
7066 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7067 appearing in any order.
7068
87fd9e6e
DE
70692014-04-15 Doug Evans <dje@google.com>
7070
7071 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7072 uninitialized value of "description".
7073
099fc3ea
KS
70742014-04-15 Keith Seitz <keiths@redhat.com>
7075
7076 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7077 Remove unused globals.
7078 (test_running_the_program): Likewise.
7079 (test_controlled_execution): Likewise.
7080 (test_controlling_breakpoints): Likewise.
7081 (test_program_termination): Likewise.
7082
5da151d4
KS
70832014-04-15 Keith Seitz <keiths@redhat.com>
7084
7085 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7086 unused globals.
7087 (test_rbreak_creation_and_listing): Likewise.
7088 (test_ignore_count): Likewise.
7089 (test_error): Likewise.
7090
35e5d2f0
PA
70912014-04-15 Pedro Alves <palves@redhat.com>
7092
7093 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7094 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7095 sym-file-loader.c.
7096 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7097 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7098 to sym-file-loader.c.
7099 (struct library): Forward declare.
7100 (load_shlib, lookup_function): Change prototypes.
7101 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7102 (translate_offset): Remove declarations.
7103 (get_text_addr): New declaration.
7104 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7105 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7106 sym-file-loader.h.
7107 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7108 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7109 here from sym-file-loader.h.
7110 (struct library): New structure.
7111 (load_shlib, lookup_function): Change prototypes and adjust to
7112 work with a struct library.
7113 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7114 (translate_offset): Make static.
7115 (get_text_addr): New function.
7116 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7117
eb4c1710
PA
71182014-04-15 Pedro Alves <palves@redhat.com>
7119
7120 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7121
2d1baf52
PA
71222014-04-15 Pedro Alves <palves@redhat.com>
7123
7124 * gdb.base/sym-file-loader.c: Include <limits.h>.
7125 (SELF_LINK): New define.
7126 (get_origin): New function.
7127 (load_shlib): Use it.
7128 * gdb.base/sym-file.exp: Don't early return if the target is
7129 remote. Use runto_main, and issue fail is that fails. Use
7130 gdb_load_shlibs.
7131 (shlib_name): Delete.
7132 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7133
7dd6df01
PA
71342014-04-15 Pedro Alves <palves@redhat.com>
7135
7136 * gdb.base/sym-file.exp: Remove regex characters from test
7137 message. Don't refer to breakpoint numbers in test messages.
7138
b50c8614
KS
71392014-04-14 Keith Seitz <keiths@redhat.com>
7140
7141 PR c++/16253
7142 * gdb.cp/var-tag.cc: New file.
7143 * gdb.cp/var-tag.exp: New file.
7144 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7145 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7146 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7147 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7148
3d567982
TT
71492014-04-14 Tom Tromey <tromey@redhat.com>
7150
7151 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7152 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7153 type.
7154 * gdb.cp/enum-class.exp: New file.
7155 * gdb.cp/enum-class.cc: New file.
7156
0626fc76
TT
71572014-04-14 Tom Tromey <tromey@redhat.com>
7158
7159 * gdb.dwarf2/enum-type.exp: New file.
7160
dca325b3
SA
71612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7162
7163 * gdb.mi/mi-vla-c99.exp: New file.
7164 * gdb.mi/vla.c: New file.
7165
5854b38a
SA
71662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7167
7168 * gdb.base/vla-datatypes.c: New file.
7169 * gdb.base/vla-datatypes.exp: New file.
7170
463bb957
SA
71712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7172
7173 * gdb.base/vla-ptr.c: New file.
7174 * gdb.base/vla-ptr.exp: New file.
7175
3dd170be
SA
71762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7177
7178 * gdb.dwarf2/count.exp: New file.
7179
5ecaaa66
SA
71802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7181
7182 * gdb.base/vla-sideeffect.c: New file.
7183 * gdb.base/vla-sideeffect.exp: New file.
7184
41f1ada5
DB
71852014-04-14 David Blaikie <dblaikie@gmail.com>
7186
7187 * gdb.mi/non-stop.c: Add return value for non-void function return
7188 statement.
7189 * gdb.threads/staticthreads.c: Ditto.
7190
0be03e84
DE
71912014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7192 Doug Evans <xdje42@gmail.com>
7193
7194 * gdb.guile/scm-value.c: Improve test case.
7195 * gdb.guile/scm-value.exp: Add new test.
7196
f180a1fb
DB
71972014-04-11 David Blaikie <dblaikie@gmail.com>
7198
7199 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7200 override Clang's default.
7201
6b662e19
JB
72022014-04-11 Joel Brobecker <brobecker@adacore.com>
7203
7204 Revert the following changes (regressions):
7205
7206 * gdb.base/vla-sideeffect.c: New file.
7207 * gdb.base/vla-sideeffect.exp: New file.
7208
7209 * gdb.dwarf2/count.exp: New file.
7210
7211 * gdb.base/vla-multi.c: New file.
7212 * gdb.base/vla-multi.exp: New file.
7213
7214 * gdb.base/vla-ptr.c: New file.
7215 * gdb.base/vla-ptr.exp: New file.
7216
7217 * gdb.base/vla-datatypes.c: New file.
7218 * gdb.base/vla-datatypes.exp: New file.
7219
7220 * gdb.mi/mi-vla-c99.exp: New file.
7221 * gdb.mi/vla.c: New file.
7222
245a5f0b
KS
72232014-04-11 Keith Seitz <keiths@redhat.com>
7224
7225 PR c++/16675
7226 * gdb.cp/cpsizeof.exp: New file.
7227 * gdb.cp/cpsizeof.cc: New file.
7228
58a84dcf
SA
72292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7230
191a8a90
JB
7231 * gdb.mi/mi-vla-c99.exp: New file.
7232 * gdb.mi/vla.c: New file.
58a84dcf 7233
c8655f75
SA
72342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7235
7236 * gdb.base/vla-datatypes.c: New file.
7237 * gdb.base/vla-datatypes.exp: New file.
7238
024e13b4
SA
72392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7240
7241 * gdb.base/vla-ptr.c: New file.
7242 * gdb.base/vla-ptr.exp: New file.
7243
1a237e0e
SA
72442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7245
7246 * gdb.base/vla-multi.c: New file.
7247 * gdb.base/vla-multi.exp: New file.
7248
504f3432
SA
72492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7250
7251 * gdb.dwarf2/count.exp: New file.
7252
3bce8237
SA
72532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7254
191a8a90
JB
7255 * gdb.base/vla-sideeffect.c: New file.
7256 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7257
322f9c21
YQ
72582014-04-11 Yao Qi <yao@codesourcery.com>
7259
7260 * gdb.base/completion.exp: Check file exists before running tests
7261 on file completion.
7262
d708bcd1
PA
72632014-04-10 Pedro Alves <palves@redhat.com>
7264
7265 * gdb.base/cond-eval-mode.c: New file.
7266 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7267 prepare_for_testing to build the new file. Check result of
7268 runto_main.
7269 (test_break, test_watch): New procedures.
7270 (top level): Use them.
7271
ae1d2761
PM
72722014-04-08 Pierre Muller <muller@sourceware.org>
7273
7274 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7275 Ctrl-V use for mingw hosts.
7276
7af389b8
SC
72772014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7278
7279 * gdb.python/py-value.c: Improve test case.
7280 * gdb.python/py-value.exp: Add new test.
7281
5e703181
DE
72822014-04-07 David Blaikie <dblaikie@gmail.com>
7283
7284 * lib/compiler.c: Identify the clang compiler.
7285 * lib/compiler.cc: Ditto.
7286
9810b410
YQ
72872014-04-03 Yao Qi <yao@codesourcery.com>
7288
7289 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7290
98d1b8dc
AB
72912014-04-01 Anton Blanchard <anton@samba.org>
7292
7293 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7294 messages unique.
7295
3114cea1
AB
72962014-04-01 Anton Blanchard <anton@samba.org>
7297
7298 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7299 prepare_for_testing.
7300
62f7182c
AB
73012014-04-01 Anton Blanchard <anton@samba.org>
7302
7303 * gdb.arch/ppc64-atomic-inst.c: Remove.
7304 * gdb.arch/ppc64-atomic-inst.S: New file.
7305 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7306
770e7fc7
DE
73072014-03-31 Doug Evans <dje@google.com>
7308
7309 * gdb.base/print-symbol-loading-lib.c: New file.
7310 * gdb.base/print-symbol-loading-main.c: New file.
7311 * gdb.base/print-symbol-loading.exp: New file.
7312
46e2bafa
YQ
73132014-03-31 Yao Qi <yao@codesourcery.com>
7314
7315 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7316
8776cfe9
JB
73172014-03-28 Joel Brobecker <brobecker@adacore.com>
7318
7319 * gdb.ada/mi_dyn_arr: New testcase.
7320
5d1ef361
DE
73212014-03-27 Doug Evans <dje@google.com>
7322
7323 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7324
b5bee914
YQ
73252014-03-27 Yao Qi <yao@codesourcery.com>
7326
7327 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7328 if target is nios2-*-*.
7329
0d4d0e77
YQ
73302014-03-26 Yao Qi <yao@codesourcery.com>
7331
7332 * lib/gdb.exp (readline_is_used): New proc.
7333 * gdb.base/completion.exp: Move tests on command complete up.
7334 Skip the rest of tests if readline is not used.
7335 * gdb.ada/complete.exp: Skp the test if readline is not
7336 used.
7337 * gdb.base/filesym.exp: Likewise.
7338 * gdb.base/macscp.exp: Likewise.
7339 * gdb.base/readline-ask.exp: Likewise.
7340 * gdb.base/readline.exp: Likewise.
7341 * gdb.python/py-cmd.exp: Likewise.
7342 * gdb.trace/tfile.exp: Likewise.
7343
29361eee
YQ
73442014-03-26 Yao Qi <yao@codesourcery.com>
7345
7346 * gdb.base/macscp.exp: Fix code format issues.
7347
bc9a5525
UW
73482014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7349
7350 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7351 * gdb.asm/powerpc64le.inc: New file.
7352
d3839ede
PA
73532014-03-25 Pedro Alves <palves@redhat.com>
7354 Doug Evans <dje@google.com>
7355
7356 * gdb.base/source-execution.c: New file.
7357 * gdb.base/source-execution.exp: New file.
7358 * gdb.base/source-execution.gdb: New file.
7359
01672a57
DE
73602014-03-24 Doug Evans <dje@google.com>
7361
7362 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7363 using fission.
7364
88bbeca9
HZ
73652014-03-24 Hui Zhu <hui@codesourcery.com>
7366 Pedro Alves <palves@redhat.com>
7367
7368 PR breakpoints/16101
7369 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7370 test pass/fail messages. Detect missing support for dprintf when
7371 breakpoints are actually inserted.
7372 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7373 breakpoints are actually inserted.
7374 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7375 fails.
7376
d2348791
JK
73772014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7378
7379 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7380
feef67ab
DE
73812014-03-22 Doug Evans <xdje42@gmail.com>
7382
7383 * gdb.python/python.exp (python not supported): Verify multi-line
7384 python command issues an error.
25d743f9 7385 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7386 guile command issues an error.
feef67ab 7387
ecebef6a
MR
73882014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7389
7390 * gdb.threads/thread-specific.exp: Handle the lack of usable
7391 $this_breakpoint and $this_thread.
7392
ccdd1909
HZ
73932014-03-21 Hui Zhu <hui@codesourcery.com>
7394
7395 * gdb.base/attach.exp (do_command_attach_tests): New.
7396
beb460e8
PA
73972014-03-20 Tom Tromey <tromey@redhat.com>
7398 Pedro Alves <palves@redhat.com>
7399
7400 PR cli/15718
7401 * gdb.base/condbreak-call-false.c: New file.
7402 * gdb.base/condbreak-call-false.exp: New file.
7403
40acf43a
PA
74042014-03-20 Pedro Alves <palves@redhat.com>
7405
7406 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7407 Delete.
7408 (block_signals, unblock_signals): Delete.
7409 (child_function_2, main): Remove references to deleted variable
7410 and functions.
7411
9f5e1e02
PA
74122014-03-20 Pedro Alves <palves@redhat.com>
7413
7414 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7415 Use pthread_kill to signal thread 2.
7416 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7417 Adjust to make the test send itself a signal rather than using the
7418 host's "kill" command.
7419
99619bea
PA
74202014-03-20 Pedro Alves <palves@redhat.com>
7421
7422 * gdb.threads/multiple-step-overs.c: New file.
7423 * gdb.threads/multiple-step-overs.exp: New file.
7424 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7425 Adjust expected infrun debug output.
7426
2adfaa28
PA
74272014-03-20 Pedro Alves <palves@redhat.com>
7428
7429 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7430 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7431
31e77af2
PA
74322014-03-20 Pedro Alves <palves@redhat.com>
7433
7434 PR breakpoints/7143
7435 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7436 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7437 of gdb_test_multiple.
7438 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7439 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7440
b9f437de
PA
74412014-03-20 Pedro Alves <palves@redhat.com>
7442
7443 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7444 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7445
05adc73e
PA
74462014-03-19 Pedro Alves <palves@redhat.com>
7447
7448 * gdb.base/async.exp: Remove early return.
7449
6048b950
PA
74502014-03-19 Pedro Alves <palves@redhat.com>
7451
7452 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7453
8bcfb00a
PA
74542014-03-19 Pedro Alves <palves@redhat.com>
7455
7456 * gdb.base/async.exp (test_background): Expect \r\n after
7457 "completed." in the fail pattern.
7458
884e37dc
PA
74592014-03-19 Pedro Alves <palves@redhat.com>
7460
7461 * gdb.base/async.exp (test_background): New procedure.
7462 Use it for all background execution command tests.
7463
148e57e2
PA
74642014-03-19 Pedro Alves <palves@redhat.com>
7465
7466 * gdb.base/async.exp: Use prepare_for_testing.
7467
f48088c7
PA
74682014-03-19 Pedro Alves <palves@redhat.com>
7469
7470 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7471 the same line.
7472
e2f6c966
PA
74732014-03-19 Pedro Alves <palves@redhat.com>
7474
7475 * gdb.base/async.c (main): Add "jump here" and "until here" line
7476 marker comments.
7477 * gdb.base/async.exp (jump_here): New global.
7478 (jump& test): Use it.
7479 (until_here): New global.
7480 (until& test): Use it.
7481
c30568d4
PA
74822014-03-19 Pedro Alves <palves@redhat.com>
7483
7484 * gdb.base/async.exp: Don't frob gdb_protocol.
7485
0172b6a7
DE
74862014-03-18 Doug Evans <xdje42@gmail.com>
7487
7488 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7489 Fix spelling of exec-done-display.
7490
06c868a8
JK
74912014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7492
7493 PR gdb/15358
7494 * gdb.base/gdb-sigterm.c: New file.
7495 * gdb.base/gdb-sigterm.exp: New file.
7496
0c7e1a46
PA
74972014-03-18 Pedro Alves <palves@redhat.com>
7498
7499 PR gdb/13860
7500 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7501 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7502 solib-event.
7503
f7c77d93
JB
75042014-03-17 Joel Brobecker <brobecker@adacore.com>
7505
7506 * gdb.ada/pckd_arr_ren: New testcase.
7507
5a1e8c7a
DE
75082014-03-13 Doug Evans <xdje42@gmail.com>
7509
7510 PR guile/16612
7511 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7512 collect after discarding symbols.
7513
350e1a76
DE
75142014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
7515 Doug Evans <xdje42@gmail.com>
7516
7517 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7518 to history survives a gc.
7519
a69900ae
PA
75202014-03-13 Pedro Alves <palves@redhat.com>
7521
7522 * gdb.base/default.exp: Don't test "target procfs".
7523
5db9f0bd
PA
75242014-03-13 Pedro Alves <palves@redhat.com>
7525
7526 * gdb.base/default.exp: Update "target child" and "target procfs"
7527 tests to not expect "Unix".
7528
b3ccfe11
TT
75292014-03-12 Tom Tromey <tromey@redhat.com>
7530
7531 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7532 New procs. Add target-async tests.
7533 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7534 Add target-async tests.
7535
646f4417
AA
75362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7537
7538 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7539 'func_start' and 'func_end' for the beginning and end of the
7540 function code, respectively.
7541 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7542 'func_end' instead of 'func' and 'main'.
7543
288c211f
AA
75442014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7545
7546 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7547 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7548 generate the debug info assembler source.
7549
e0c0f156
AA
75502014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7551
7552 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7553 * gdb.dwarf2/arr-subrange.exp: Likewise.
7554 * gdb.dwarf2/dwz.exp: Likewise.
7555 * gdb.dwarf2/method-ptr.exp: Likewise.
7556 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7557 * gdb.dwarf2/subrange.exp: Likewise.
7558 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7559 * gdb.dwarf2/implptrpiece.exp: Likewise.
7560 * gdb.dwarf2/nostaticblock.exp: Likewise.
7561
0e5c4555
AA
75622014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7563
7564 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7565 directory to absolute path name arguments.
7566
5ec18f2b
JG
75672014-03-10 Joel Brobecker <brobecker@adacore.com>
7568
7569 * gdb.ada/tagged_access: New testcase.
7570
847fc4f2
MM
75712014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7572
7573 * gdb.btrace/data.exp: Update expected output.
7574
cc3da688
YQ
75752014-03-06 Yao Qi <yao@codesourcery.com>
7576
7577 * gdb.trace/pr16508.exp: New file.
7578
0f26cec1
PA
75792014-03-05 Pedro Alves <palves@redhat.com>
7580
7581 PR gdb/16575
7582 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7583 procedure.
7584 (top level): Adjust to use it. Add tests that exercise breakpoint
7585 interaction with the code-cache.
7586
7a5a839f
LC
75872014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
7588
7589 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7590 test for 'history-append!'.
7591
31aa7e4e
JB
75922014-02-26 Joel Brobecker <brobecker@adacore.com>
7593
7594 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7595 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7596 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7597 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7598 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7599 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7600
1b588015
JB
76012014-02-26 Joel Brobecker <brobecker@adacore.com>
7602
7603 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7604 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7605 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7606
55426c9d
JB
76072014-02-26 Joel Brobecker <brobecker@adacore.com>
7608
7609 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7610
dc53a7ad
JB
76112014-02-26 Joel Brobecker <brobecker@adacore.com>
7612
7613 * gdb.dwarf2/arr-stride.c: New file.
7614 * gdb.dwarf2/arr-stride.exp: New file.
7615
12ab52e9
PA
76162014-02-26 Pedro Alves <palves@redhat.com>
7617
7618 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7619 that won't ever trigger. Make sure that GDB reports the correct
7620 breakpoint that caused the stop.
7621
849c862e
JK
76222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7623
7624 PR gdb/16626
7625 * gdb.base/auto-load-script: New file.
7626 * gdb.base/auto-load.c: New file.
7627 * gdb.base/auto-load.exp: New file.
7628
71b7d793
JK
7629 PR gdb/16626
7630 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7631
e2f0d509
JK
76322014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7633
7634 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7635 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7636
50cc37c8
DE
76372014-02-24 Doug Evans <dje@google.com>
7638
7639 * lib/gdb.exp (run_on_host): Log error output if program fails.
7640
ea4758f2
PA
76412014-02-21 Pedro Alves <palves@redhat.com>
7642
7643 * gdb.threads/step-after-sr-lock.c: Rename to ...
7644 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7645 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7646 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7647 ... this.
7648
d7b30f67
SDJ
76492014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7650
7651 PR tdep/16397
7652 * gdb.arch/amd64-stap-special-operands.exp: New file.
7653 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7654 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7655 * gdb.arch/amd64-stap-triplet.S: Likewise.
7656 * gdb.arch/amd64-stap-triplet.c: Likewise.
7657
83deb43f
JB
76582014-02-20 Joel Brobecker <brobecker@adacore.com>
7659
7660 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7661 in .section pseudo-op.
7662
adde2bff
DE
76632014-02-20 lin zuojian <manjian2006@gmail.com>
7664 Joel Brobecker <brobecker@adacore.com>
7665 Doug Evans <xdje42@gmail.com>
7666
7667 PR symtab/16581
7668 * gdb.dwarf2/dw2-icycle.S: New file.
7669 * gdb.dwarf2/dw2-icycle.c: New file.
7670 * gdb.dwarf2/dw2-icycle.exp: New file.
7671
f7bd0f78
SC
76722014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7673
7674 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7675 operations on gdb.Value objects.
7676 * gdb.python/py-value-cc.exp: Add new test to test operations on
7677 gdb.Value objects.
7678
c17ef0d5
DE
76792014-02-18 Doug Evans <dje@google.com>
7680
7681 * Makefile.in (TESTS): New variable.
7682 (expanded_tests, expanded_tests_or_none): New variables
7683 (check-single): Pass $(expanded_tests_or_none) to runtest.
7684 (check-parallel): Only run tests in $(TESTS) if non-empty.
7685 (check/no-matching-tests-found): New rule.
7686 * README: Document TESTS makefile variable.
7687
5dd3176f
DE
76882014-02-18 Doug Evans <dje@google.com>
7689
7690 * Makefile.in (check-parallel): rm -rf outputs temp.
7691
0b10be4f
JK
76922014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7693
7694 Fix "ERROR: no fileid for" in the testsuite.
7695 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7696
85f224e7
DE
76972014-02-12 Doug Evans <dje@google.com>
7698
7699 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7700 (MISCELLANEOUS): New variable.
7701 (clean): rm -rf $(MISCELLANEOUS).
7702 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7703 dwp live in the same directory as symlinks, with each symlink pointed
7704 to a differently named file in a different directory.
7705
149b30ff
DE
77062014-02-11 Doug Evans <dje@google.com>
7707
7708 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7709 of Tcl file commands.
7710
1dfdac32
MK
77112014-02-10 Mark Kettenis <kettenis@gnu.org>
7712
7713 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7714 "kill -SIGUSR1 -1".
7715
aa4fb036
JB
77162014-02-10 Joel Brobecker <brobecker@adacore.com>
7717
7718 * gdb.ada/tick_length_array_enum_idx: New testcase.
7719
ed3ef339
DE
77202014-02-10 Doug Evans <xdje42@gmail.com>
7721
7722 * configure.ac (AC_OUTPUT): Add gdb.guile.
7723 * configure: Regenerate.
7724 * lib/gdb-guile.exp: New file.
7725 * lib/gdb.exp (get_target_charset): New function.
7726 * gdb.base/help.exp: Update expected output from "apropos apropos".
7727 * gdb.guile/Makefile.in: New file.
7728 * gdb.guile/guile.exp: New file.
7729 * gdb.guile/scm-arch.c: New file.
7730 * gdb.guile/scm-arch.exp: New file.
7731 * gdb.guile/scm-block.c: New file.
7732 * gdb.guile/scm-block.exp: New file.
7733 * gdb.guile/scm-breakpoint.c: New file.
7734 * gdb.guile/scm-breakpoint.exp: New file.
7735 * gdb.guile/scm-disasm.c: New file.
7736 * gdb.guile/scm-disasm.exp: New file.
7737 * gdb.guile/scm-equal.c: New file.
7738 * gdb.guile/scm-equal.exp: New file.
7739 * gdb.guile/scm-error.exp: New file.
7740 * gdb.guile/scm-error.scm: New file.
7741 * gdb.guile/scm-frame-args.c: New file.
7742 * gdb.guile/scm-frame-args.exp: New file.
7743 * gdb.guile/scm-frame-args.scm: New file.
7744 * gdb.guile/scm-frame-inline.c: New file.
7745 * gdb.guile/scm-frame-inline.exp: New file.
7746 * gdb.guile/scm-frame.c: New file.
7747 * gdb.guile/scm-frame.exp: New file.
7748 * gdb.guile/scm-generics.exp: New file.
7749 * gdb.guile/scm-gsmob.exp: New file.
7750 * gdb.guile/scm-iterator.c: New file.
7751 * gdb.guile/scm-iterator.exp: New file.
7752 * gdb.guile/scm-math.c: New file.
7753 * gdb.guile/scm-math.exp: New file.
7754 * gdb.guile/scm-objfile-script-gdb.in: New file.
7755 * gdb.guile/scm-objfile-script.c: New file.
7756 * gdb.guile/scm-objfile-script.exp: New file.
7757 * gdb.guile/scm-objfile.c: New file.
7758 * gdb.guile/scm-objfile.exp: New file.
7759 * gdb.guile/scm-ports.exp: New file.
7760 * gdb.guile/scm-pretty-print.c: New file.
7761 * gdb.guile/scm-pretty-print.exp: New file.
7762 * gdb.guile/scm-pretty-print.scm: New file.
7763 * gdb.guile/scm-section-script.c: New file.
7764 * gdb.guile/scm-section-script.exp: New file.
7765 * gdb.guile/scm-section-script.scm: New file.
7766 * gdb.guile/scm-symbol.c: New file.
7767 * gdb.guile/scm-symbol.exp: New file.
7768 * gdb.guile/scm-symtab-2.c: New file.
7769 * gdb.guile/scm-symtab.c: New file.
7770 * gdb.guile/scm-symtab.exp: New file.
7771 * gdb.guile/scm-type.c: New file.
7772 * gdb.guile/scm-type.exp: New file.
7773 * gdb.guile/scm-value-cc.cc: New file.
7774 * gdb.guile/scm-value-cc.exp: New file.
7775 * gdb.guile/scm-value.c: New file.
7776 * gdb.guile/scm-value.exp: New file.
7777 * gdb.guile/source2.scm: New file.
7778 * gdb.guile/types-module.cc: New file.
7779 * gdb.guile/types-module.exp: New file.
7780
7026a7c1
YQ
77812014-02-10 Yao Qi <yao@codesourcery.com>
7782
7783 PR testsuite/16543
7784 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7785 * configure: Regenerated.
7786 * Makefile.in: New file.
7787
6c466447
AS
77882014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7789
7790 * gdb.python/py-framefilter.exp: Fix typo.
7791
6e854735
YQ
77922014-02-08 Yao Qi <yao@codesourcery.com>
7793
7794 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7795 that no =breakpoint-modified is emitted when breakpoints are
7796 modified through MI commands.
7797
d137e6dc
PA
77982014-02-07 Pedro Alves <pedro@codesourcery.com>
7799 Pedro Alves <palves@redhat.com>
7800
7801 * gdb.threads/step-after-sr-lock.c: New file.
7802 * gdb.threads/step-after-sr-lock.exp: New file.
7803
b5ee5a50
PA
78042014-02-07 Pedro Alves <palves@redhat.com>
7805
7806 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7807
3c77faf3
JK
78082014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7809
7810 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7811 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7812
6dddc817
DE
78132014-02-06 Doug Evans <xdje42@gmail.com>
7814
7815 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7816 output.
7817
7818 * gdb.gdb/python-interrupts.exp: New file.
7819
de7b2893
YQ
78202014-02-05 Yao Qi <yao@codesourcery.com>
7821
7822 * gdb.trace/report.exp (use_collected_data): Test the output
7823 of "info threads" and "info inferiors".
7824
66d032ac
YQ
78252014-02-05 Yao Qi <yao@codesourcery.com>
7826
7827 Revert this patch:
7828
7829 2013-05-24 Yao Qi <yao@codesourcery.com>
7830
7831 * gdb.trace/tfile.exp: Test inferior and thread.
7832
591a12a1
UW
78332014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7834
7835 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7836 on a function.
7837 * gdb.base/step-bt.c: Call hello via function pointer to make
7838 sure its first instruction is executed on powerpc64le-linux.
7839
0ff3e01f
UW
78402014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7841
7842 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7843
084ee545
UW
78442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7845
7846 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7847 of the test patterns for use on little-endian systems.
7848
6ed14ff3
UW
78492014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7850
7851 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7852 (decimal_vector): Fix for little-endian.
7853
401e27fd
JM
78542014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7855
7856 * gdb.arch/sparc-sysstep.exp: New file.
7857 * gdb.arch/sparc-sysstep.c: Likewise.
7858
7859 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7860
8b924729
EBM
78612014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7862
7863 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7864
fb151210
JB
78652014-01-23 Tom Tromey <tromey@redhat.com>
7866
7867 * gdb.ada/array_char_idx: New testcase.
7868
0740f8d8
TT
78692014-01-23 Tom Tromey <tromey@redhat.com>
7870
7871 PR python/16487:
7872 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7873 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7874 classes.
7875
21909fa1
TT
78762014-01-23 Tom Tromey <tromey@redhat.com>
7877
7878 PR python/16491:
7879 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7880 string from an inferior frame.
7881 * gdb.python/py-framefilter-mi.exp: Update.
7882
87ce2a04
DE
78832014-01-22 Doug Evans <dje@google.com>
7884
7885 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7886
237b092b
AA
78872014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7888
7889 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7890
d674a709
AA
78912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7892
7893 * gdb.trace/entry-values.exp: Remove excess space character from
7894 regex patterns. Handle s390 call instruction.
7895
20fa3390
AA
78962014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7897
7898 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7899 define "*_start" label. Make "name" static.
7900 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7901 ${name} by references to ${name}_start.
7902
78466714
AA
79032014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7904
7905 * gdb.base/info-macros.exp: Remove "debug" from the compile
7906 options.
7907
ec9f644a
IB
79082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7909
7910 * gdb.dlang/demangle.exp: New file.
7911
94b1b47e
IB
79122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7913
7914 * gdb.dlang/primitive-types.exp: New file.
7915
7f420862
IB
79162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7917
7918 * configure.ac: Create gdb.dlang/Makefile.
7919 * configure: Regenerate.
7920 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7921 * gdb.dlang/Makefile.in: New file.
7922 * lib/d-support.exp: New file.
7923 * lib/gdb.exp (skip_d_tests): New proc.
7924
52834460
MM
79252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7926
7927 * gdb.btrace/delta.exp: Check reverse stepi.
7928 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7929 * gdb.btrace/finish.exp: New.
7930 * gdb.btrace/next.exp: New.
7931 * gdb.btrace/nexti.exp: New.
7932 * gdb.btrace/record_goto.c: Add comments.
7933 * gdb.btrace/step.exp: New.
7934 * gdb.btrace/stepi.exp: New.
7935 * gdb.btrace/multi-thread-step.c: New.
7936 * gdb.btrace/multi-thread-step.exp: New.
7937 * gdb.btrace/rn-dl-bind.c: New.
7938 * gdb.btrace/rn-dl-bind.exp: New.
7939 * gdb.btrace/data.c: New.
7940 * gdb.btrace/data.exp: New.
7941 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7942
6e07b1d2
MM
79432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7944
7945 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7946 * gdb.btrace/exception.exp: Update.
7947 * gdb.btrace/instruction_history.exp: Update.
7948 * gdb.btrace/record_goto.exp: Update.
7949 * gdb.btrace/tailcall.exp: Update.
7950 * gdb.btrace/unknown_functions.exp: Update.
7951 * gdb.btrace/delta.exp: New.
7952
0b722aec
MM
79532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7954
7955 * gdb.btrace/record_goto.exp: Add backtrace test.
7956 * gdb.btrace/tailcall.exp: Add backtrace test.
7957
066ce621
MM
79582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7959
7960 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7961 * gdb.btrace/record_goto.c: New.
7962 * gdb.btrace/record_goto.exp: New.
7963 * gdb.btrace/x86-record_goto.S: New.
7964
0688d04e
MM
79652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7966
7967 * gdb.btrace/function_call_history.exp: Update tests.
7968 * gdb.btrace/instruction_history.exp: Update tests.
7969
8710b709
MM
79702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7971
7972 * gdb.btrace/function_call_history.exp: Fix expected field
7973 order for "record function-call-history".
7974 Add new tests for "record function-call-history /c".
7975 * gdb.btrace/exception.cc: New.
7976 * gdb.btrace/exception.exp: New.
7977 * gdb.btrace/tailcall.exp: New.
7978 * gdb.btrace/x86-tailcall.S: New.
7979 * gdb.btrace/x86-tailcall.c: New.
7980 * gdb.btrace/unknown_functions.c: New.
7981 * gdb.btrace/unknown_functions.exp: New.
7982 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7983
5de9129b
MM
79842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7985
7986 * gdb.btrace/instruction_history.exp: Update.
7987 * gdb.btrace/function_call_history.exp: Update.
7988
23a7fe75
MM
79892014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7990
7991 * gdb.btrace/function_call_history.exp: Fix expected function
7992 trace.
7993 * gdb.btrace/instruction_history.exp: Initialize traced.
7994 Remove traced_functions.
7995
724c7dd8
MM
79962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7997
7998 * gdb.btrace/function_call_history.exp: Update
7999 * gdb.btrace/instruction_history.exp: Update.
8000
6d78d93b
MM
80012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8002
8003 * gdb.btrace/enable.exp: Update expected text.
8004
93a360cc
OJ
80052014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8006
8007 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8008 bytes.
8009
3772b53f
MR
80102014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8011
8012 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8013
596662fa
OJ
80142014-01-15 Omair Javaid <omair.javaid@linaro.org>
8015
8016 * lib/gdb.exp (supports_process_record): Return true for
8017 arm*-linux*. (supports_reverse): Likewise.
8018
b5b08fb4
SC
80192014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8020
8021 PR python/15464
8022 PR python/16113
8023 * gdb.python/py-type.c: Enhance test case.
8024 * gdb.python/py-value-cc.cc: Likewise
8025 * gdb.python/py-type.exp: Add new tests.
8026 * gdb.python/py-value-cc.exp: Likewise
8027
52d7fb13
AA
80282014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8029 Pedro Alves <palves@redhat.com>
8030
8031 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8032 Make "name" extern.
8033 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8034 references to ${name}_start by references to ${name}.
8035
a2cd8cfe
JB
80362014-01-10 Joel Brobecker <brobecker@adacore.com>
8037
8038 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8039
4e23fced
JB
80402014-01-10 Joel Brobecker <brobecker@adacore.com>
8041
8042 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8043
c6a9e42c
PA
80442014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8045 Pedro Alves <palves@redhat.com>
8046
8047 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8048 mi_gdb_target_load.
c6a9e42c 8049
b7ea362b
PA
80502014-01-08 Pedro Alves <palves@redhat.com>
8051
8052 * gdb.threads/reconnect-signal.c: New file.
8053 * gdb.threads/reconnect-signal.exp: New file.
8054
5e3f4fab
EBM
80552014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8056
8057 * gdb.base/source-dir.exp: New file.
8058
79301218
JB
80592014-01-07 Joel Brobecker <brobecker@adacore.com>
8060
8061 * gdb.ada/mi_interface: New testcase.
8062
8e355c5d
JB
80632014-01-07 Joel Brobecker <brobecker@adacore.com>
8064
8065 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8066 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8067 gdb.ada/pp-rec-component/pck.ads: New files.
8068
c0d48811
JB
80692014-01-07 Joel Brobecker <brobecker@adacore.com>
8070
8071 * gdb.python/py-pp-integral.c: New file.
8072 * gdb.python/py-pp-integral.py: New file.
8073 * gdb.python/py-pp-integral.exp: New file.
8074
17b609c3 8075For older changes see ChangeLog-1993-2013.
c906108c 8076\f
8d8cb839
EZ
8077;; Local Variables:
8078;; mode: change-log
8079;; left-margin: 8
8080;; fill-column: 74
8081;; version-control: never
8082;; End:
902f2ccb 8083
618f726f 8084 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8085 Copying and distribution of this file, with or without modification,
8086 are permitted provided the copyright notice and this notice are preserved.