]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Resume the inferior with signal rather than stepping over
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0a5d52f0
YQ
12016-04-22 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4 more after $hex.
5
495346f6
YQ
62016-04-22 Yao Qi <yao.qi@linaro.org>
7
8 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9 * gdb.base/annota3.exp: Likewise.
10
4a7e075c
YQ
112016-04-22 Yao Qi <yao.qi@linaro.org>
12
13 * gdb.reverse/step-precsave.exp: Do one step and test program
14 stops in "callee" and do multiple steps until program goes out
15 of "callee".
16 * gdb.reverse/step-reverse.exp: Likewise.
17
5b061e98
YQ
182016-04-22 Yao Qi <yao.qi@linaro.org>
19
20 * gdb.trace/signal.exp: Also pass if
21 $tracepoint_hits($i) > $iterations.
22
5c5dc57f
YQ
232016-04-22 Yao Qi <yao.qi@linaro.org>
24
25 * gdb.trace/signal.c: New file.
26 * gdb.trace/signal.exp: New file.
27
a55411b9
DE
282016-04-19 Doug Evans <xdje42@gmail.com>
29
30 * gdb.base/bad-file.exp: New file.
31
a22df60a
MG
322016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
33
34 * gdb.dwarf2/implref.exp: New file.
35
0c13f7e5
BH
362016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
37
38 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
39 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
40 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
41 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
42 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
43 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
44 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
45 * lib/fortran.exp (fortran_int4): New procedure.
46 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
47 (fortran_logical4): Likewise.
48
9b9b09e9
BH
492016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
50
51 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
52
a14d1f4d
BH
532016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
54
55 * lib/compiler.c: Add Intel specific preprocessor macros.
56 * lib/compiler.cc: Likewise.
57
7d49b1d0
LM
582016-04-13 Luis Machado <lgustavo@codesourcery.com>
59
60 * gdb.server/connect-with-no-symbol-file.c: New file.
61 * gdb.server/connect-with-no-symbol-file.exp: New file.
62
8392fa22
SM
632016-04-13 Simon Marchi <simon.marchi@ericsson.com>
64
65 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
66
8c4c4aeb
SM
672016-04-13 Simon Marchi <simon.marchi@ericsson.com>
68
69 * boards/gdbserver-base.exp (${board}_download): Copy source file to
70 standard output directory.
71
45e3745e
AT
722016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
73
74 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
75
e26b7e41
MM
762016-04-13 Markus Metzger <markus.t.metzger@intel.com>
77
78 * gdb.btrace/instruction_history.c (loop): Add declaration.
79
8ce09462
AT
802016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
81
82 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
83
2e88a1ea
SM
842016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
85
86 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
87 parentheses to print.
88 (continue_handler): Likewise.
89
f48e22e3
SM
902016-04-08 Simon Marchi <simon.marchi@ericsson.com>
91
92 * gdb.server/solib-list.exp: Remove is_remote check.
93 Pass shlib= to gdb_compile. Don't link shared library with
94 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
95 Run binary filename through "readlink -f" on the target.
96
096be756
PA
972016-04-08 Pedro Alves <palves@redhat.com>
98
99 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
100 interpreter filename as argument to gdbserver_spawn.
101 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
102 Return empty if $last_loaded_file does not exist.
103
06500533
JK
1042016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
105
106 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
107 * gdb.base/jit-main.c: Use exit after usage.
108
2d35e871
JK
1092016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
110
111 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
112 GDBHISTSIZE prior to the tests.
113 * gdb.base/gdbinit-history.exp: Likewise.
114
1152016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
116
117 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
118 instead of build_executable. Use gdb_load_shlibs.
119
c8064e7e
YQ
1202016-04-07 Yao Qi <yao.qi@linaro.org>
121
122 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
123 Execute "si" command.
124
bde47561
YQ
1252016-04-07 Yao Qi <yao.qi@linaro.org>
126
127 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
128 number instead of the comments on some line.
129
b16f8a3b
DB
1302016-04-06 Don Breazeal <donb@codesourcery.com>
131
132 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
133 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
134
c2f901df
SM
1352016-04-06 Simon Marchi <simon.marchi@ericsson.com>
136
137 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
138 standard_output_file. Remove unused binfile variable.
139
ac17fda0
CU
1402016-04-05 Catalin Udma <catalin.udma@freescale.com>
141
142 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
143 * gdb.python/py-mi-objfile.exp: Match "list main" output
144 in console format.
145
03a8c4df
SM
1462016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
147
148 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
149 absolute.
150
6e774b13
SM
1512016-04-05 Simon Marchi <simon.marchi@ericsson.com>
152
153 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
154 absolute.
155 * gdb.trace/ftrace.exp: Likewise.
156 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
157 targets as well.
158 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
159 (gdb_load_shlibs): Copy libraries to test directory when testing
160 natively. Only set solib-search-path if testing remotely.
161 * lib/mi-support.exp (mi_load_shlibs): Likewise.
162
7817ea46
SM
1632016-04-05 Simon Marchi <simon.marchi@ericsson.com>
164
165 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
166 gdb_download. Use it even if the target is not remote.
167 * gdb.base/jit.exp (compile_jit_test): Likewise.
168 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
169 output directory if the destination board is local, otherwise use
170 the standard remote_download from DejaGnu.
171 (gdb_download): Remove.
172 (gdb_load_shlibs): Use gdb_remote_download instead of
173 gdb_download.
174 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
175 Use gdb_remote_download instead of gdb_download. Use it even if
176 the target is not remote.
177 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
178 instead of gdb_download.
179
7beb7f68
SM
1802016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
181
182 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
183 (test_insert_delete_modify): Call mi_load_shlibs before trying to
184 run.
185
cc63428a
AV
1862016-04-01 Artemiy Volkov <artemiyv@acm.org>
187
188 PR gdb/19820
189 * gdb.base/printcmds.exp: Add artificial arrays tests.
190
64cdf930
PA
1912016-03-31 Pedro Alves <palves@redhat.com>
192
193 PR gdb/19858
194 * gdb.base/jit-main.c: Include unistd.h.
195 (ATTACH): Define to 0 if not already defined.
196 (wait_for_gdb, mypid): New globals.
197 (WAIT_FOR_GDB): New macro.
198 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
199 some breakpoint locations.
200 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
201 New procedures.
202 (one_jit_test): Add REATTACH parameter, and handle it. Use
203 continue_to_test_location.
204 (top level): Test attach, and adjusts calls to one_jit_test.
205
40dea8cb
PA
2062016-03-31 Pedro Alves <palves@redhat.com>
207
208 PR gdb/19858
209 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
210 BINSUFFIX parameter, and handle it.
211 (top level): Adjust calls compile_jit_test.
212
e7ea3ec7
CU
2132016-03-31 Catalin Udma <catalin.udma@freescale.com>
214
215 PR python/19743
216 * gdb.python/py-mi-events-gdb.py: New file.
217 * gdb.python/py-mi-events.c: New file.
218 * gdb.python/py-mi-events.exp: New file.
219
e6359af3
YQ
2202016-03-30 Yao Qi <yao.qi@linaro.org>
221
222 * gdb.reverse/until-precsave.exp: Match function name only.
223 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
224 Move malloc to a condition block.
225 * gdb.reverse/until-reverse.exp: Match function name only.
226
a4105d04
MK
2272016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
228
229 * gdb.trace/ftrace.exp: Set arg0exp for s390.
230 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
231 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
232 variable for GPR 0 instead of assuming it is register 0.
233 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
234 * lib/trace-support.exp: Add s390 registers.
235
bfa6adb9
YQ
2362016-03-29 Yao Qi <yao.qi@linaro.org>
237
238 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
239
1e6697ea
YQ
2402016-03-24 Yao Qi <yao.qi@linaro.org>
241
242 * gdb.reverse/break-reverse.exp: Add quotation mark in the
243 test message.
244
64bcd522
AA
2452016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
246
247 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
248 maintaining separate logic for constructing the output path.
249
7868401b
DB
2502016-03-16 Don Breazeal <donb@codesourcery.com>
251
252 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
253 Retry fork and waitpid on interrupted system call errors.
254 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
255 Use with_timeout_factor to increase timeout by factor of 10.
256
1cafadb4
DB
2572016-03-15 Don Breazeal <donb@codesourcery.com>
258
259 * gdb.cp/scope-err.cc: New test program.
260 * gdb.cp/scope-err.exp: New test script.
261 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
262 lines and "set breakpoint here" comment.
263 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
264 Fixed some whitespace and format issues.
265 * gdb.mi/mi-linespec-err-cp.cc: New test program.
266 * gdb.mi/mi-linespec-err-cp.exp: New test script.
267
81516450
DE
2682016-03-15 Doug Evans <dje@google.com>
269
270 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
271 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
272 All callers updated. Add tests for enums, mixed flags register.
273
aa52b601
DE
2742016-03-15 Doug Evans <dje@google.com>
275
276 * gdb.base/skip.c (main): Call test_skip_file_and_function.
277 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
278
fa4ff313
SM
2792016-03-14 Simon Marchi <simon.marchi@ericsson.com>
280
281 * gdb.base/default.exp: Add $_as_string to the list of expected
282 convenience functions.
283
f2403c39
AB
2842016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
285
286 * gdb.base/maint.exp: New tests for 'maint info line-table'.
287
f2f3ccb9
SM
2882016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
289
290 * gdb.python/py-as-string.exp: New file.
291 * gdb.python/py-as-string.c: New file.
292
00dbd492
PA
2932016-03-09 Pedro Alves <palves@redhat.com>
294
295 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
296 signal" -> "Thread NN received signal" output change.
297 * gdb.threads/ia64-sigill.exp: Likewise.
298 * gdb.threads/linux-dp.exp: Likewise.
299 * gdb.threads/manythreads.exp: Likewise.
300 * gdb.threads/pending-step.exp: Likewise.
301 * gdb.threads/print-threads.exp: Likewise.
302 * gdb.threads/sigstep-threads.exp: Likewise.
303 * gdb.threads/staticthreads.exp: Likewise.
304 * gdb.threads/tls.exp: Likewise.
305
1e6697ea
YQ
3062016-03-09 Pedro Alves <palves@redhat.com>
307
308 * gdb.base/command-line-input.exp: New file.
309
b04fd3be
MK
3102016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
311
312 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
313 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
314 * gdb.trace/pending.exp: Accept leading dot before function name.
315 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
316 * lib/trace-support.exp: Set registers for ppc.
317
98fa59e9
MK
3182016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
319
320 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
321 use it for disassembly; accept .main in addition to main in backtrace.
322
f77198c8
MK
3232016-03-09 Wei-cheng Wang <cole945@gmail.com>
324 Marcin Kościelnicki <koriakin@0x04.net>
325
326 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
327 (gdb_recursion_test_ptr): New global variable.
328 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
329 gdb_recursion_test.
330 (gdb_c_test): Ditto.
331
ba84e0da
MK
3322016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
333
334 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
335 ordering.
336
4366d36e
MK
3372016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
338
339 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
340 (bar): Add bar_start_lbl label.
341 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
342 of foo/bar for emitting DWARF and tracing.
343
5eb264df
SDJ
3442016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
345
346 * analyze-racy-logs.py: Set executable bit.
347
fb6a751f
SDJ
3482016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
349
350 * Makefile.in (DEFAULT_RACY_ITER): New variable.
351 (CHECK_TARGET_TMP): Likewise.
352 (check-single-racy): New rule.
353 (check-parallel-racy): Likewise.
354 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
355 (do-check-parallel-racy): New rule.
356 (check-racy/%.exp): Likewise.
357 * README (Racy testcases): New section.
358 * analyze-racy-logs.py: New file.
359
bdf7e230
DE
3602016-03-03 Doug Evans <dje@google.com>
361
362 * gdb.base/skip.exp: Use with_test_prefix.
363
4719d415
YQ
3642016-03-03 Yao Qi <yao.qi@linaro.org>
365
366 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
367 Invoke step_over_syscall "clone" and break_cond_on_syscall
368 "clone".
369 * gdb.base/step-over-clone.c: New file.
370
ea507862
YQ
3712016-03-03 Yao Qi <yao.qi@linaro.org>
372
373 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
374 code format.
375
8fc8cbda
YQ
3762016-03-03 Yao Qi <yao.qi@linaro.org>
377
378 * gdb.base/disp-step-fork.c: Rename to ...
379 * gdb.base/step-over-fork.c: ... it. New file.
380 * gdb.base/disp-step-vfork.c: Rename to ...
381 * gdb.base/step-over-vfork.c: ... it. New file.
382 * gdb.base/disp-step-syscall.exp: Rename to ...
383 * gdb.base/step-over-syscall.exp: ... it. New file.
384 (disp_step_cross_syscall): Rename to ...
385 (step_over_syscall): ... it.
386
92fa70b0
YQ
3872016-03-03 Yao Qi <yao.qi@linaro.org>
388
389 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
390 If target supports condition evaluation on target, invoke
391 break_cond_on_syscall for fork and vfork.
392
e197ad3c
YQ
3932016-03-03 Yao Qi <yao.qi@linaro.org>
394
395 * gdb.base/disp-step-syscall.exp: Don't invoke
396 support_displaced_stepping.
397 (disp_step_cross_syscall): Test with displaced stepping off and
398 on if supported.
399
0b47da9f
YQ
4002016-03-03 Yao Qi <yao.qi@linaro.org>
401
402 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
403 proc.
404 (setup): New proc.
405 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
406 and setup.
407
065ab6dc
BH
4082016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
409
410 * gdb.fortran/vla-history.exp: Remove breakpoint.
411
07e448ad 4122016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
413
414 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
415
9ac2d526 4162016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
417
418 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
419
17807369
BH
4202016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
421
422 * gdb.mi/vla.f90: Nullify pointer after declaration.
423
86e501af
PA
4242016-03-01 Pedro Alves <palves@redhat.com>
425
426 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
427
1e903e32
PA
4282016-03-01 Pedro Alves <palves@redhat.com>
429
430 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
431 before anything else.
432 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
433 _GNU_SOURCE here.
434 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
435 before anything else.
436 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
437
6ccb54e2
PA
4382016-03-01 Pedro Alves <palves@redhat.com>
439
440 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
441
30ca9da1
YQ
4422016-03-01 Yao Qi <yao.qi@linaro.org>
443
444 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
445 prepare_for_testing.
446
dc856b38
YQ
4472016-03-01 Yao Qi <yao.qi@linaro.org>
448
449 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
450
4a932159
AA
4512016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
452
453 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
454 manually constructing the output path.
455
f2489477
AA
4562016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
457
458 * gdb.arch/s390-stackless.S: New.
459 * gdb.arch/s390-stackless.exp: New.
460
38899f16
IB
4612016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
462
463 * gdb.dlang/circular.c: New file.
464 * gdb.dlang/circular.exp: New file.
465
9fde51ed
YQ
4662016-02-26 Yao Qi <yao.qi@linaro.org>
467
468 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
469 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
470 (testcases): Update.
471
ce90fefe
YQ
4722016-02-26 Yao Qi <yao.qi@linaro.org>
473
474 * gdb.reverse/aarch64.c: Rename to ...
475 * gdb.reverse/insn-reverse.c: ... it.
476 * gdb.reverse/aarch64.exp: Rename to ...
477 * gdb.reverse/insn-reverse.exp: ... it.
478
3263bceb
YQ
4792016-02-26 Yao Qi <yao.qi@linaro.org>
480
481 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
482 (testcase_ftype): New.
483 (testcases): New array.
484 (n_testcases): New.
485 (main): Call each element in testcases.
486 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
487 (read_testcase): New.
488 Do the tests in a loop.
489
6cb59ff1
YQ
4902016-02-25 Yao Qi <yao.qi@linaro.org>
491
492 * gdb.base/branches.c: Remove.
493
ae91f625
MK
4942016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
495
496 PR gdb/13808
497 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
498
678b48b7
MK
4992016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
500
501 * gdb.trace/ftrace.exp: Remove unnecessary target check.
502
7337a6f2
MK
5032016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
504
505 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
506 change x86_64 call_insn to 'callq'.
507
861ca91f
AT
5082016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
509
510 * gdb.trace/tfile-avx.c: Move to...
511 * gdb.trace/tracefile-pseudo-reg.c: Here.
512 * gdb.trace/tfile-avx.exp: Move to...
513 * gdb.trace/tracefile-pseudo-reg.exp: Here.
514
bf74e428
GB
5152016-02-24 Gary Benson <gbenson@redhat.com>
516
517 * gdb.base/attach-pie-noexec.exp: Do not expect an error
518 message on attach.
519
cce0e923
DE
5202016-02-23 Doug Evans <dje@google.com>
521
522 * gdb.base/skip.c (test_skip): New function.
523 (end_test_skip_file_and_function): New function.
524 (test_skip_file_and_function): New function.
525 * gdb.base/skip1.c (test_skip): New function.
526 (skip1_test_skip_file_and_function): New function.
527 * gdb.base/skip.exp: Add tests for new skip options.
528 * gdb.base/skip-solib.exp: Update expected output.
529 * gdb.perf/skip-command.cc: New file.
530 * gdb.perf/skip-command.exp: New file.
531 * gdb.perf/skip-command.py: New file.
532
4000e47e
MK
5332016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
534
535 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
536 info registers pattern.
537
24f75ead
IB
5382016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
539
540 * lib/future.exp: Add D support.
541 (gdb_find_gdc): New proc.
542 (gdb_default_target_compile): Add D support.
543
fbb7bcbe
WW
5442016-02-18 Wei-cheng Wang <cole945@gmail.com>
545
546 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
547 user+system time.
548 (trace_speed_test): Determine the iteration count for a time
549 between 15..30 seconds.
550
012b3a21
WT
5512016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
552
553 * gdb.arch/i386-mpx-sigsegv.c: New file.
554 * gdb.arch/i386-mpx-sigsegv.exp: New file.
555 * gdb.arch/i386-mpx-simple_segv.c: New file.
556 * gdb.arch/i386-mpx-simple_segv.exp: New file.
557
2d5189bd
YQ
5582016-02-18 Yao Qi <yao.qi@linaro.org>
559
560 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
561 Don't call setup_kfail.
562
40fb20d0
YQ
5632016-02-18 Yao Qi <yao.qi@linaro.org>
564
565 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
566 Set "set breakpoint condition-evaluation" per $cond_bp_target.
567
21b1f8d2
DE
5682016-02-16 Doug Evans <dje@google.com>
569
570 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
571 * gdb.base/skip1.c: Ditto.
572 * gdb.base/skip.exp: Whitespace cleanup.
573
4041ed77
DB
5742016-02-16 Don Breazeal <donb@codesourcery.com>
575
576 PR remote/19496
577 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
578 Remove kfail for PR remote/19496.
579
c4ef31bf
SM
5802016-02-16 Simon Marchi <simon.marchi@ericsson.com>
581
582 * lib/gdb.exp (standard_temp_file): Return a path specific to
583 the runtest invocation.
584
266b65b3
SM
5852016-02-16 Simon Marchi <simon.marchi@ericsson.com>
586
587 * gdb.trace/save-trace.exp: Change relative path to be in the
588 standard output directory.
589
a7a0a6a9
JK
5902016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
591
592 * gdb.arch/i386-prologue.c: Add missing prototypes.
593
c99dbb42
JK
5942016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
595
596 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
597 * gdb.arch/i386-prologue.exp: Likewise.
598 * gdb.arch/i386-size.exp: Likewise.
599
aa480355
SM
6002016-02-15 Simon Marchi <simon.marchi@ericsson.com>
601
602 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
603 define object file path.
604 * gdb.btrace/gcore.exp: Use standard_output_file to define core
605 file path.
606 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
607 standard_output_file to define binfile.
608
ba881f50
JK
6092016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
610
611 Fix compatibility with recent gfortran-5.3.1.
612 * gdb.fortran/vla-history.exp (print vla1 allocated)
613 (print vla2 allocated, print $2, print $3): Remove
614 (print $4): Rename to ...
615 (print $2): ... here.
616 (print $9): Rename to ...
617 (print $5): ... here.
618 (print $10): Rename to ...
619 (print $6): ... here.
620 * gdb.fortran/vla.f90: Add pvla initialization.
621
e9fb005c
JK
6222016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
623
624 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
625 New test.
626 * gdb.fortran/vla-value-sub.exp: Likewise.
627
e44e00ff
MK
6282016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
629
630 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
631
97e94151
SM
6322016-02-12 Simon Marchi <simon.marchi@ericsson.com>
633
634 * i386-biarch-core.exp: Define corefile using
635 standard_output_file.
636
01113bc1
YQ
6372016-02-12 Yao Qi <yao.qi@linaro.org>
638
639 * gdb.arch/arm-single-step-kernel-helper.c: New.
640 * gdb.arch/arm-single-step-kernel-helper.exp: New.
641
33b4777c
MM
6422016-02-12 Markus Metzger <markus.t.metzger@intel.com>
643
644 * gdb.btrace/tailcall-only.exp: New.
645 * gdb.btrace/tailcall-only.c: New.
646 * gdb.btrace/x86_64-tailcall-only.S: New.
647 * gdb.btrace/i686-tailcall-only.S: New.
648
acc23c11
PA
6492016-02-11 Pedro Alves <palves@redhat.com>
650
651 * README (Parallel testing): Add missing double quotes.
652
e352bf0a
PA
6532016-02-11 Pedro Alves <palves@redhat.com>
654
655 * README (Parallel testing): New section.
656 (GDB_PARALLEL): Rewrite.
657 (FORCE_PARALLEL): Document.
658
9f5fed78
MK
6592016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
660
661 * gdb.trace/tfile-avx.c: New test.
662 * gdb.trace/tfile-avx.exp: New test.
663
9ef9e6a6
KS
6642016-02-09 Keith Seitz <keiths@redhat.com>
665
666 PR breakpoints/19546
667 * gdb.base/infcall-exec.c: New file.
668 * gdb.base/infcall-exec2.c: New file.
669 * gdb.base/infcall-exec.exp: New file.
670
a96e36da
KS
6712016-02-09 Keith Seitz <keiths@redhat.com>
672
673 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
674 (toplevel): Call test_bkpt_address.
675
9f61929f
KS
6762016-02-09 Keith Seitz <keiths@redhat.com>
677
678 PR python/19506
679 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
680 (toplevel): Call test_bkpt_address.
681
1e94266c
SM
6822016-02-09 Simon Marchi <simon.marchi@ericsson.com>
683
684 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
685 to AC_OUTPUT.
686 * configure: Regenerate.
687
2a7f3dff
PA
6882016-02-09 Pedro Alves <palves@redhat.com>
689
690 PR breakpoints/19548
691 * gdb.base/execl-update-breakpoints.c (some_function): New
692 function.
693 (main): Call it.
694 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
695 Tighten expected GDB output.
696
2151ccc5
SM
6972016-02-08 Simon Marchi <simon.marchi@ericsson.com>
698
699 * Makefile.in (ALL_SUBDIRS): Remove.
700 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
701 (distclean maintainer-clean realclean): Likewise.
702 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
703 * configure: Regenerate.
704 * gdb.ada/Makefile.in: Delete.
705 * gdb.arch/Makefile.in: Likewise.
706 * gdb.asm/Makefile.in: Likewise.
707 * gdb.base/Makefile.in: Likewise.
708 * gdb.btrace/Makefile.in: Likewise.
709 * gdb.cell/Makefile.in: Likewise.
710 * gdb.compile/Makefile.in: Likewise.
711 * gdb.cp/Makefile.in: Likewise.
712 * gdb.disasm/Makefile.in: Likewise.
713 * gdb.dlang/Makefile.in: Likewise.
714 * gdb.dwarf2/Makefile.in: Likewise.
715 * gdb.fortran/Makefile.in: Likewise.
716 * gdb.gdb/Makefile.in: Likewise.
717 * gdb.go/Makefile.in: Likewise.
718 * gdb.guile/Makefile.in: Likewise.
719 * gdb.java/Makefile.in: Likewise.
720 * gdb.linespec/Makefile.in: Likewise.
721 * gdb.mi/Makefile.in: Likewise.
722 * gdb.modula2/Makefile.in: Likewise.
723 * gdb.multi/Makefile.in: Likewise.
724 * gdb.objc/Makefile.in: Likewise.
725 * gdb.opencl/Makefile.in: Likewise.
726 * gdb.opt/Makefile.in: Likewise.
727 * gdb.pascal/Makefile.in: Likewise.
728 * gdb.perf/Makefile.in: Likewise.
729 * gdb.python/Makefile.in: Likewise.
730 * gdb.reverse/Makefile.in: Likewise.
731 * gdb.server/Makefile.in: Likewise.
732 * gdb.stabs/Makefile.in: Likewise.
733 * gdb.threads/Makefile.in: Likewise.
734 * gdb.trace/Makefile.in: Likewise.
735 * gdb.xml/Makefile.in: Likewise.
736 * lib/gdb.exp (make_gdb_parallel_path): Add check for
737 GDB_PARALLEL.
738 (standard_output_file): Remove check for GDB_PARALLEL, always
739 return path in outputs/$subdir/$testname.
740
437277d4
SM
7412016-02-08 Simon Marchi <simon.marchi@ericsson.com>
742
743 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
744 (site.exp): Assign abs_srcdir to tcl's srcdir.
745
31d913c7
YQ
7462016-02-04 Yao Qi <yao.qi@linaro.org>
747
748 * gdb.base/foll-exec-mode.c: Include limits.h.
749 (main): Add parameters argc and argv. Get directory from
750 argv[0].
751 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
752 compilation.
753 * gdb.base/foll-exec.c: Include limits.h.
754 (main): Add parameters argc and argv.
755 Get directory from argv[0].
756 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
757 Adjust tests on the number of lines as source code changed.
758 * gdb.base/foll-vfork-exit.c: Include limits.h.
759 (main): Add one line of statement before vfork.
760 * gdb.base/foll-vfork.c: Include limits.h and string.h.
761 (main): Add parameters argc and argv. Get directory from
762 argv[0].
763 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
764 (setup_gdb): Set tbreak to skip some source lines.
765 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
766 (main): Add parameters argc and argv. Get directory from
767 argv[0].
768 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
769 compilation.
770 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
771 (main): Add parameters argc and argv. Get directory from
772 argv[0].
773 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
774 compilation.
775
9482b9fb
DE
7762016-02-01 Doug Evans <dje@google.com>
777
778 * gdb.base/skip.exp: Clean up multiple references to same test name.
779
6b2e4f10
PA
7802016-02-01 Pedro Alves <palves@redhat.com>
781
ccb6afd6 782 PR remote/19496
6b2e4f10
PA
783 * gdb.threads/forking-threads-plus-breakpoint.exp
784 (displaced_stepping_supported): New global.
785 (probe_displaced_stepping_support): New procedure.
786 (do_test): Add 'displaced' parameter, and use it.
787 (top level): Check for displaced stepping support. Add displaced
788 stepping on/off testing axis.
789
37a8db1a
AB
7902016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
791
792 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
793 pointer. Don't perform further tests on the unassociated pointer
794 if the first test fails.
795
5fdf6324
AB
7962016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
797
798 * gdb.base/max-value-size.c: New file.
799 * gdb.base/max-value-size.exp: New file.
800 * gdb.base/huge.exp: Disable max-value-size for this test.
801
935c6144
IB
8022016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
803
804 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
805
7fe8399d
YQ
8062016-01-28 Yao Qi <yao.qi@linaro.org>
807
808 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
809
a2077e25
PA
8102016-01-25 Pedro Alves <palves@redhat.com>
811
812 PR threads/19461
813 * gdb.base/fork-running-state.c: New file.
814 * gdb.base/fork-running-state.exp: New file.
815
1d2736d4
PA
8162016-01-25 Pedro Alves <palves@redhat.com>
817
818 PR gdb/19494
819 * gdb.base/catch-fork-kill.c: New file.
820 * gdb.base/catch-fork-kill.exp: New file.
821
f1da4b11
PA
8222016-01-25 Pedro Alves <palves@redhat.com>
823
824 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
825 Delete, moved to lib/gdb.exp.
826 * gdb.threads/forking-threads-plus-breakpoint.exp
827 (foreach_with_prefix): Likewise.
828 * gdb.threads/process-dies-while-handling-bp.exp
829 (foreach_with_prefix): Likewise.
830 * lib/gdb.exp (foreach_with_prefix): New procedure.
831
45f38546
MK
8322016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
833
834 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
835 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
836
dc29a1ce
MK
8372016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
838
839 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
840 endian targets.
841
092127d7
JK
8422016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
843 Pedro Alves <palves@redhat.com>
844
845 Fix testsuite compatibility with Guile.
846 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
847 number.
848
31d765d3
JK
8492016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
850
851 Fix testsuite compatibility with Guile.
852 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
853 (thread 1): New test for backtrace through signal handler.
854
1ac78c04
YQ
8552016-01-22 Yao Qi <yao.qi@linaro.org>
856
857 PR testsuite/19491
858 * gdb.base/multi-forks.c: Include
859 ../lib/unbuffer_output.c
860 (main): Call gdb_unbuffer_output.
861
4f5946a8
DE
8622016-01-21 Doug Evans <dje@google.com>
863
864 * lib/ada.exp (gdb_compile_ada): Fix typo.
865
305e13e6
JB
8662016-01-21 Joel Brobecker <brobecker@adacore.com>
867
868 * gdb.base/break-fun-addr.exp: New file.
869 * gdb.base/break-fun-addr1.c: New file.
870 * gdb.base/break-fun-addr2.c: New file.
871
5f5dfff6
SM
8722016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
873
874 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
875 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
876 enum flag values.
877
fd356fa2
AA
8782016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
879
880 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
881 when GDB can not set the vector return value. Add more comments
882 for clarification.
883
9df22175
AT
8842016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
885
886 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
887 command.
888
41d1845e
SM
8892016-01-19 Simon Marchi <simon.marchi@ericsson.com>
890
891 * Makefile.in (DO_RUNTEST): Add --status and update usages.
892
01ac6840
SM
8932016-01-19 Simon Marchi <simon.marchi@ericsson.com>
894
895 * Makefile.in (check-single): Pass --status to runtest.
896 (check/%.exp): Likewise.
897
8982016-01-19 Simon Marchi <simon.marchi@ericsson.com>
899
900 * Makefile.in (check-parallel): Propagate return code from make
901 do-check-parallel.
902
bd0a71fa
MK
9032016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
904
905 * gdb.trace/ftrace.exp: Fix expected message on continue.
906 * gdb.trace/pending.exp: Fix expected message on continue.
907 * gdb.trace/trace-break.exp: Fix expected message on continue.
908
8bcbad33
SM
9092016-01-18 Simon Marchi <simon.marchi@ericsson.com>
910
911 * lib/gdb.exp (gdb_test): Remove unused global references.
912
f303dbd6
PA
9132016-01-18 Pedro Alves <palves@redhat.com>
914
915 * gdb.base/async-shell.exp: Adjust expected output.
916 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
917 * gdb.base/siginfo-thread.exp: Adjust expected output.
918 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
919 * gdb.java/jnpe.exp: Adjust expected output.
920 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
921 * gdb.threads/continue-pending-status.exp: Adjust expected output.
922 * gdb.threads/leader-exit.exp: Adjust expected output.
923 * gdb.threads/manythreads.exp: Adjust expected output.
924 * gdb.threads/pthreads.exp: Adjust expected output.
925 * gdb.threads/schedlock.exp: Adjust expected output.
926 * gdb.threads/siginfo-threads.exp: Adjust expected output.
927 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
928 expected output.
929 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
930 output.
931 * gdb.threads/sigthread.exp: Adjust expected output.
932 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
933
b2789696
YQ
9342016-01-18 Yao Qi <yao.qi@linaro.org>
935
936 * gdb.guile/scm-section-script.c: Replace @progbits with
937 %progbits.
938 * gdb.python/py-section-script.c: Likewise.
939
71ef29a8
PA
9402016-01-15 Pedro Alves <palves@redhat.com>
941
942 * gdb.multi/tids.exp: Test star wildcard ranges.
943
3f5b7598
PA
9442016-01-15 Pedro Alves <palves@redhat.com>
945
946 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
947 command from "thread apply" invocation.
948 (thr_apply_info_thr_invalid): Default the expected output to the
949 input tid list.
950 (top level): Add tests that use convenience variables. Add tests
951 for "thread apply" with a valid TID list, but missing the command.
952
663f6d42
PA
9532016-01-13 Pedro Alves <palves@redhat.com>
954
955 * gdb.base/default.exp: Expect $_gthread as well.
956 * gdb.multi/tids.exp: Test $_gthread.
957 * gdb.threads/thread-specific.exp: Test $_gthread.
958
c84f6bbf
PA
9592016-01-13 Pedro Alves <palves@redhat.com>
960
961 * gdb.multi/tids.exp: Test "info threads -gid".
962
22a02324
PA
9632016-01-13 Pedro Alves <palves@redhat.com>
964
965 * gdb.multi/tids.exp: Test InferiorThread.global_num and
966 Breakpoint.thread.
967 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
968
5d5658a1
PA
9692016-01-07 Pedro Alves <palves@redhat.com>
970
971 * gdb.base/break.exp: Adjust to output changes.
972 * gdb.base/hbreak2.exp: Likewise.
973 * gdb.base/sepdebug.exp: Likewise.
974 * gdb.base/watch_thread_num.exp: Likewise.
975 * gdb.linespec/keywords.exp: Likewise.
976 * gdb.multi/info-threads.exp: Likewise.
977 * gdb.threads/thread-find.exp: Likewise.
978 * gdb.multi/tids.c: New file.
979 * gdb.multi/tids.exp: New file.
980
84654457
PA
9812016-01-13 Pedro Alves <palves@redhat.com>
982
983 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
984
e3940304
PA
9852016-01-13 Pedro Alves <palves@redhat.com>
986
987 * gdb.base/default.exp: Expect $_inferior as well.
988 * gdb.multi/base.exp: Test $_inferior.
989
a911d87a
PA
9902016-01-13 Pedro Alves <palves@redhat.com>
991
992 PR breakpoints/19388
993 * gdb.base/catch-signal-siginfo-cond.c: New file.
994 * gdb.base/catch-signal-siginfo-cond.exp: New file.
995
82075af2
JS
9962016-01-12 Josh Stone <jistone@redhat.com>
997 Philippe Waroquiers <philippe.waroquiers@skynet.be>
998
999 * gdb.base/catch-syscall.c (do_execve): New variable.
1000 (main): Conditionally trigger an execve.
1001 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1002 (test_catch_syscall_execve): New, check entry/return across execve.
1003 (do_syscall_tests): Call test_catch_syscall_execve.
1004
e46eeedd
PA
10052016-01-12 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/random-signal.exp (do_test): New procedure, with body
1008 of testcase moved in.
1009
01d8c27e
JK
10102016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1011 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/funcargs.exp (finish from indirectly called function):
1014 Reintroduce the case for 'First'.
1015
9a706302
JK
10162016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1017 Pedro Alves <palves@redhat.com>
1018
1019 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1020 (tcatch_vfork_then_child_follow_exec)
1021 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1022 identification.
1023
c0ecb95f
JK
10242016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1025
1026 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1027 and repeats to unlimited.
1028 * gdb.python/py-value.exp: Likewise.
1029 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1030 and repeats to unlimited.
1031
6cfc1fcb
JK
10322016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1035 and reordering the functions.
1036 * gdb.multi/hangout.c: Likewise.
1037 * gdb.multi/hello.c: Likewise.
1038
582a1b00
SM
10392016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1040
1041 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1042 absolute.
1043 (SingleStatisticTestResult.report): Use dict.keys instead of
1044 dict.iterkeys.
1045
79bc59cb
PA
10462016-01-06 Pedro Alves <palves@redhat.com>
1047
1048 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1049
43368e1d
MM
10502016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1051
1052 * gdb.btrace/dlopen.exp: New.
1053 * gdb.btrace/dlopen.c: New.
1054 * gdb.btrace/dlopen-dso.c: New.
1055
79fad5b8
SL
10562015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1057
1058 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1059 PATTERN argument is optional.
1060
ab8314b3
JB
10612015-12-24 Joel Brobecker <brobecker@adacore.com>
1062
1063 * lib/ada.exp (target_compile_ada_from_dir): New function.
1064 (gdb_compile_ada): Reimplement avoiding the use of project files.
1065 * gdb.ada/gnat_ada.gpr: Delete.
1066 * gdb.ada/cond_lang.exp: Adjust test to make path before
1067 filename optional.
1068 * gdb.ada/small_reg_param.exp: Likewise.
1069
fe33faff
SM
10702015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1071
1072 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1073
6d265cb4
TP
10742015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1075
1076 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1077 case.
1078
10125099
SM
10792015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1080
1081 * gdb.base/break.exp: Remove dead code.
1082 * gdb.base/sepdebug.exp: Likewise.
1083
3ca22649
SM
10842015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1085
1086 * gdb.asm/asm-source.exp: Remove HP-UX references.
1087 * gdb.base/annota1.exp: Likewise.
1088 * gdb.base/annota3.exp: Likewise.
1089 * gdb.base/attach.exp: Likewise.
1090 * gdb.base/bigcore.exp: Likewise.
1091 * gdb.base/break.exp: Likewise.
1092 * gdb.base/call-ar-st.exp: Likewise.
1093 * gdb.base/callfuncs.exp: Likewise.
1094 * gdb.base/catch-fork-static.exp: Likewise.
1095 * gdb.base/display.exp: Likewise.
1096 * gdb.base/foll-exec-mode.exp: Likewise.
1097 * gdb.base/foll-exec.exp: Likewise.
1098 * gdb.base/foll-fork.exp: Likewise.
1099 * gdb.base/foll-vfork.exp: Likewise.
1100 * gdb.base/funcargs.exp: Likewise.
1101 * gdb.base/hbreak2.exp: Likewise.
1102 * gdb.base/inferior-died.exp: Likewise.
1103 * gdb.base/interrupt.exp: Likewise.
1104 * gdb.base/multi-forks.exp: Likewise.
1105 * gdb.base/nodebug.exp: Likewise.
1106 * gdb.base/sepdebug.exp: Likewise.
1107 * gdb.base/solib1.c: Likewise.
1108 * gdb.base/step-test.exp: Likewise.
1109 * gdb.mi/non-stop.c: Likewise.
1110 * gdb.mi/pthreads.c: Likewise.
1111 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1112 * gdb.threads/pthreads.c: Likewise.
1113 * gdb.threads/staticthreads.exp: Likewise.
1114 * lib/future.exp: Likewise.
1115 * lib/gdb.exp: Likewise.
1116 * gdb.base/so-indr-cl.c: Remove.
1117 * gdb.base/so-indr-cl.exp: Likewise.
1118 * gdb.base/solib.c: Likewise.
1119 * gdb.base/solib.exp: Likewise.
1120 * gdb.base/solib2.c: Likewise.
1121
b6304613
SM
11222015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1123
1124 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1125 * gdb.base/call-ar-st.exp: Likewise.
1126 * gdb.base/callfuncs.exp: Likewise.
1127 * gdb.base/condbreak.exp: Likewise.
1128 * gdb.base/constvars.exp: Likewise.
1129 * gdb.base/hbreak2.exp: Likewise.
1130 * gdb.base/langs.exp: Likewise.
1131 * gdb.base/list.exp: Likewise.
1132 * gdb.base/long_long.exp: Likewise.
1133 * gdb.base/ptype.exp: Likewise.
1134 * gdb.base/scope.exp: Likewise.
1135 * gdb.base/signals.exp: Likewise.
1136 * gdb.base/so-impl-ld.exp: Likewise.
1137 * gdb.base/varargs.exp: Likewise.
1138 * gdb.base/volatile.exp: Likewise.
1139 * gdb.base/whatis.exp: Likewise.
1140 * gdb.cp/cplusfuncs.exp: Likewise.
1141 * gdb.cp/inherit.exp: Likewise.
1142 * gdb.cp/local.exp: Likewise.
1143 * gdb.cp/member-ptr.exp: Likewise.
1144 * gdb.cp/method.exp: Likewise.
1145 * gdb.cp/overload.exp: Likewise.
1146 * gdb.cp/templates.exp: Likewise.
1147 * gdb.stabs/weird.exp: Likewise.
1148 * lib/compiler.c: Likewise.
1149 * lib/compiler.cc: Likewise.
1150 * lib/cp-support.exp: Likewise.
1151 * lib/gdb.exp: Likewise.
1152
bf401b07
SM
11532015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1154
1155 * configure.ac: Remove HP-UX case.
1156 * configure: Regenerate.
1157
aff9c0f8
SM
11582015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1159
1160 * lib/gdb.exp (gdb_compile): Add function doc.
1161
a6904d5a
PA
11622015-12-17 Pedro Alves <palves@redhat.com>
1163
1164 PR threads/19354
1165 * gdb.multi/info-threads.exp: New file.
1166
a22279dd
YQ
11672015-12-15 Yao Qi <yao.qi@linaro.org>
1168
1169 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1170 is aarch64*-*-*.
1171
0588c796
SL
11722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1173
1174 * gdb.base/history-duplicates.exp: Skip if no readline support.
1175
5d978e17
SL
11762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1177
1178 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1179
7e763b86
SL
11802015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1181
1182 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1183
87a3a92c
SL
11842015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1185
1186 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1187 ctrl-C if nointerrupts target property is set.
1188 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1189 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1190 * gdb.base/paginate-bg-execution.exp: Likewise.
1191 * gdb.base/paginate-execution-startup.exp: Likewise.
1192 * gdb.base/random-signal.exp: Likewise.
1193 * gdb.base/range-stepping.exp: Likewise.
1194 * gdb.cp/annota2.exp: Likewise.
1195 * gdb.cp/annota3.exp: Likewise.
1196 * gdb.gdb/selftest.exp: Likewise.
1197 * gdb.threads/continue-pending-status.exp: Likewise.
1198 * gdb.threads/leader-exit.exp: Likewise.
1199 * gdb.threads/manythreads.exp: Likewise.
1200 * gdb.threads/pthreads.exp: Likewise.
1201 * gdb.threads/schedlock.exp: Likewise.
1202 * gdb.threads/sigthread.exp: Likewise.
1203
a8f077dc
DB
12042015-12-11 Don Breazeal <donb@codesourcery.com>
1205
1206 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1207 remote.
1208 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1209 * gdb.base/foll-exec.exp (main): Enable for target remote.
1210 * gdb.base/foll-fork.exp (main): Likewise.
1211 * gdb.base/foll-vfork.exp (main): Likewise.
1212 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1213 (proc continue_to_exit_bp_loc): Use clean_restart.
1214 * gdb.base/pie-execl.exp (main): Disable for target remote.
1215 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1216 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1217 * gdb.threads/execl.exp (main): Likewise.
1218 * gdb.threads/fork-child-threads.exp (main): Likewise.
1219 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1220 remote.
1221 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1222 remote.
1223 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1224 pid.tid style ptids, instead of just tid.
1225 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1226 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1227 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1228 ptids, instead of just tid.
1229
3b2464a8
AB
12302015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1231
1232 * gdb.base/list.exp (test_list_forward): Add end of file error
1233 test.
1234 (test_repeat_list_command): Add end of file error test.
1235 (test_list_backwards): Add beginning of file error test.
1236
a0def019
AB
12372015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * gdb.base/list.exp (test_list_invalid_args): New function,
1240 defined, and called.
1241
5c000dff
AB
12422015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1243
1244 * gdb.base/list.exp (test_list): Make test names unique.
1245
f1637ebe
YQ
12462015-12-11 Yao Qi <yao.qi@linaro.org>
1247
1248 * gdb.base/coremaker2.c: Remove.
1249
36d6fc0a
PA
12502015-12-10 Pedro Alves <palves@redhat.com>
1251
1252 * gdb.multi/base.exp: Remove stale "spaces" references.
1253
762f7747
PA
12542015-12-10 Pedro Alves <palves@redhat.com>
1255
1256 * gdb.multi/base.exp: Don't use nowarnings.
1257 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1258 * gdb.multi/hangout.c: Include stdio.h.
1259 * gdb.multi/hello.c: Include stdlib.h.
1260 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1261 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1262 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1263
28d2bfb9
AB
12642015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1265
1266 * gdb.dwarf2/dw2-ranges-base.c: New file.
1267 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1268 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1269 support additional line table, and debug ranges generation.
1270 (Dwarf::ranges): New function, generate .debug_ranges.
1271 (Dwarf::lines): Support generating simple line table programs.
1272 (Dwarf::assemble): Initialise new namespace variables.
1273
5fc2beac
KB
12742015-12-09 Kevin Buettner <kevinb@redhat.com>
1275
1276 * gdb.base/async.exp (proc test_background): Add case for
1277 asynchronous execution not supported.
1278
1c35a88f
LM
12792015-12-09 Luis Machado <lgustavo@codesourcery.com>
1280
1281 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1282 format and change test names to make them unique.
1283
b593e3d9
RK
12842015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1285 Pedro Alves <pedro@redhat.com>
1286
1287 PR gdb/18702
1288 Add checking of floatformats setup on x86_64 hosts.
1289 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1290 (smallval, bigval): New labels/constants.
1291 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1292 float" after loading bigval and smallval.
1293
d72413e6
PMR
12942015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1295
1296 * gdb.ada/fun_overload_menu.exp: New testcase.
1297 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1298
ece66d65
JS
12992015-12-04 Josh Stone <jistone@redhat.com>
1300
1301 * gdb.base/catch-fork-static.exp: New.
1302
41d0efca
YQ
13032015-12-03 Yao Qi <yao.qi@linaro.org>
1304
1305 * gdb.base/sizeof.c: Don't include stdio.h and
1306 ../lib/unbuffer_output.c.
1307 (main): New variable 'size' and 'value'. Remove printf and
1308 gdb_unbuffer_output. Assign return value to size and value.
1309 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1310 at the beginning.
1311 (check_sizeof): Check the result by printing variable 'size'.
1312 (check_valueof): Check the result by printing variable 'value'.
1313
99fd02d9
YQ
13142015-12-01 Yao Qi <yao.qi@linaro.org>
1315
1316 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1317 for aarch64*-*-linux* target.
1318
f2faf941
PA
13192015-11-30 Pedro Alves <palves@redhat.com>
1320
1321 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1322
04bf20c5
PA
13232015-11-30 Pedro Alves <palves@redhat.com>
1324
1325 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1326 Handle non-stop mode vCont replies.
1327
09df4675
PA
13282015-11-30 Pedro Alves <palves@redhat.com>
1329
1330 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1331 prepare_for_testing. Start gdb with "set non-stop on" appended to
1332 GDBFLAGS. Lax expected stop output.
1333
58b584af
YQ
13342015-11-27 Yao Qi <yao.qi@linaro.org>
1335
1336 * gdb.arch/arm-neon.exp: New.
1337 * gdb.arch/arm-neon.c: New.
1338
dfcb77a8
YQ
13392015-11-27 Yao Qi <yao.qi@linaro.org>
1340
1341 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1342
88e8ec1b
YQ
13432015-11-27 Yao Qi <yao.qi@linaro.org>
1344
1345 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1346 frames-invalid annotation.
1347
bfde72c2
YQ
13482015-11-27 Yao Qi <yao.qi@linaro.org>
1349
1350 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1351
f6512a69
SM
13522015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1353
1354 * gdb.threads/names.exp: New file.
1355 * gdb.threads/names.c: New file.
1356 * README: Mention gdb,no_thread_names.
1357
46a3515b
MM
13582015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1359
1360 PR 19297
1361 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1362 support" error.
1363
62147a22
PA
13642015-11-24 Pedro Alves <palves@redhat.com>
1365
1366 PR 17539
1367 * gdb.base/display.exp: Expect displays to be sorted in ascending
1368 order. Use multi_line.
1369 * gdb.base/solib-display.exp: Likewise.
1370
2f341b6e
PA
13712015-11-24 Pedro Alves <palves@redhat.com>
1372
1373 PR 17539
1374 * gdb.base/display.exp: Expect displays to be sorted in ascending
1375 order. Use multi_line.
1376 * gdb.base/solib-display.exp: Likewise.
1377
7e0aa6aa
PA
13782015-11-24 Pedro Alves <palves@redhat.com>
1379
1380 PR 17539
1381 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1382 threads in ascending order.
1383 * gdb.base/foll-fork.exp: Likewise.
1384 * gdb.base/foll-vfork.exp: Likewise.
1385 * gdb.base/multi-forks.exp: Likewise.
1386 * gdb.mi/mi-nonstop.exp: Likewise.
1387 * gdb.mi/mi-nsintrall.exp: Likewise.
1388 * gdb.multi/base.exp: Likewise.
1389 * gdb.multi/multi-arch.exp: Likewise.
1390 * gdb.python/py-inferior.exp: Likewise.
1391 * gdb.threads/break-while-running.exp: Likewise.
1392 * gdb.threads/execl.exp: Likewise.
1393 * gdb.threads/gcore-thread.exp: Likewise.
1394 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1395 * gdb.threads/kill.exp: Likewise.
1396 * gdb.threads/linux-dp.exp: Likewise.
1397 * gdb.threads/multiple-step-overs.exp: Likewise.
1398 * gdb.threads/next-bp-other-thread.exp: Likewise.
1399 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1400 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1401 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1402 * gdb.threads/thread-find.exp: Likewise.
1403 * gdb.threads/tls.exp: Likewise.
1404 * lib/mi-support.exp (mi_reverse_list): Delete.
1405 (mi_check_thread_states): No longer reverse list.
1406
2cc57ad8
PA
14072015-11-24 Pedro Alves <palves@redhat.com>
1408
1409 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1410 use lowercase.
1411
c93e8391
SM
14122015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1413
1414 * gdb.trace/actions.c: Include trace-common.h.
1415 (main): Add a location for a fast tracepoint.
1416 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1417 the normal tracepoints.
1418 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1419
045ccf91
SM
14202015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1421
1422 * save-trace.exp: Factor out code to these...
1423 (gdb_save_tracepoints): New.
1424 (gdb_load_tracepoints): New.
1425 (do_save_load_test): New.
1426
5506f9f6
KB
14272015-11-23 Kevin Buettner <kevinb@redhat.com>
1428
1429 * gdb.base/asmlabel.exp: New test.
1430 * gdb.base/asmlabel.c: New test case.
1431
16c3b12f
JB
14322015-11-23 Joel Brobecker <brobecker@adacore.com>
1433
1434 * gdb.base/wrong_frame_bt_full-main.c: New file.
1435 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1436 * gdb.base/wrong_frame_bt_full.exp: New file.
1437
155bfbd3
JB
14382015-11-23 Joel Brobecker <brobecker@adacore.com>
1439
1440 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1441
bb097445
JM
14422015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1443
206853a0 1444 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
1445 pstate register when comparing registers values in
1446 sparc64-*-linux-gnu targets to avoid spurious differences.
1447
9c88ed8f
JM
14482015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1449
206853a0 1450 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 1451
96161e25
SL
14522015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1453
1454 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1455 as type argument to gdb_compile.
1456 * gdb.base/nested-subp2.exp: Likewise.
1457 * gdb.base/nested-subp3.exp: Likewise.
1458
340c2830
DV
14592015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1460
1461 * lib/dwarf.exp (_note): Fix left shift of negative value.
1462 * gdb.trace/trace-condition.exp: Likewise.
1463
c1862d0f
YQ
14642015-11-13 Yao Qi <yao.qi@linaro.org>
1465
1466 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1467 comments about d10v.
1468 (test_scalar_returns): Likewise.
1469 * gdb.base/d10v.ld: Remove.
1470 * gdb.base/overlays.exp: Remove the target triplet checking for
1471 d10v-*-*.
1472 * gdb.base/structs.exp (test_struct_returns): Remove the
1473 comments about d10v.
1474 (test_struct_calls): Likewise.
1475
77ae9c19
YQ
14762015-11-13 Yao Qi <yao.qi@linaro.org>
1477
1478 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1479 * gdb.base/gnu_vector.c: Don't include stdio.h.
1480 (main): Don't print res and call add_some_intvecs.
1481
430e004e
MK
14822015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1483
1484 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1485 macro.
1486 (func5): Removed.
1487 (func4): Use FAST_TRACEPOINT_LABEL.
1488 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1489 macro.
1490 (func): Removed.
1491 (thread_function): Use FAST_TRACEPOINT_LABEL.
1492 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1493 (func): Remove.
1494 (marker): Use FAST_TRACEPOINT_LABEL.
1495 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1496 (pendfunc1): Remove.
1497 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1498 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1499 (foo): Remove.
1500 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1501 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1502 macro.
1503 (func): Remove.
1504 (marker): Use FAST_TRACEPOINT_LABEL.
1505 * gdb.trace/trace-common.h: New header.
1506 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1507 macro.
1508 (func): Remove.
1509 (marker): Use FAST_TRACEPOINT_LABEL.
1510 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1511 (func): Remove.
1512 (thread_function): Use FAST_TRACEPOINT_LABEL.
1513
6e7675a7
MK
15142015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1515
1516 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1517 in front.
1518 * gdb.trace/change-loc.exp: Use global pcreg definition.
1519 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1520 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1521 in front.
1522 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1523 * gdb.trace/pending.exp: Likewise.
1524 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1525 * gdb.trace/trace-break.exp: Likewise.
1526 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1527 in front.
1528 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1529 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1530 in front.
1531 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1532
dddc0e16
JB
15332015-11-09 Joel Brobecker <brobecker@adacore.com>
1534
1535 * gdb.ada/fin_fun_out: New testcase.
1536
c6f0b406
KB
15372015-11-07 Kevin Buettner <kevinb@redhat.com>
1538
1539 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1540 value associated with DW_AT_byte_size.
1541 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1542 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1543 DW_AT_upper_bound.
1544
f01dcfd9
KB
15452015-11-07 Kevin Buettner <kevinb@redhat.com>
1546
1547 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1548 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1549 version.
1550 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1551 gdb.dwarf2/dw2-canonicalize-type.exp,
1552 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1553 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1554 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1555 provided by gdb_target_symbol_prefix_flags_asm.
1556 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1557 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1558 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1559 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1560 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1561 macros where needed). Use this macro for symbols which require
1562 the prefix provided by SYMBOL_PREFIX.
1563
2223449a
KB
15642015-11-05 Kevin Buettner <kevinb@redhat.com>
1565
1566 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1567 New procs.
1568 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1569 representing expressions, of more than one list element.
1570 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1571 to prepend linker symbol prefix to f.
1572 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1573 table_1 and table_2.
1574 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1575 Likewise, for f and g.
1576 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1577 for ptr.
1578 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1579 for main.
1580 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1581 table_1_ptr and table_2_ptr.
1582
6f2f1a3a
JK
15832015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1584 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1587
566c56c9
MK
15882015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1589
1590 * gdb.reverse/s390-mvcle.c: New test.
1591 * gdb.reverse/s390-mvcle.exp: New file.
1592 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1593
d5f0636b
MK
15942015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1595
1596 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1597
7ad8b86c
MK
15982015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1599
1600 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1601 reaching marker2.
1602 * gdb.reverse/getresuid-reverse.exp: Likewise.
1603 * gdb.reverse/pipe-reverse.exp: Likewise.
1604 * gdb.reverse/readv-reverse.exp: Likewise.
1605 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1606 * gdb.reverse/time-reverse.exp: Likewise.
1607 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1608
4081c0f1
YQ
16092015-10-30 Yao Qi <yao.qi@linaro.org>
1610
1611 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1612 (empty_cycle): Remove.
1613 (main): Don't call empty_cycle. Don't use watch_count_done.
1614 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1615 empty_cycle. Rewrite the code counting HW watchpoints.
1616
452b4ba5
MK
16172015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1618
1619 * gdb.reverse/fstatat-reverse.c: New test.
1620 * gdb.reverse/fstatat-reverse.exp: New file.
1621 * gdb.reverse/getresuid-reverse.c: New test.
1622 * gdb.reverse/getresuid-reverse.exp: New file.
1623 * gdb.reverse/pipe-reverse.c: New test.
1624 * gdb.reverse/pipe-reverse.exp: New file.
1625 * gdb.reverse/readv-reverse.c: New test.
1626 * gdb.reverse/readv-reverse.exp: New file.
1627 * gdb.reverse/recvmsg-reverse.c: New test.
1628 * gdb.reverse/recvmsg-reverse.exp: New file.
1629 * gdb.reverse/time-reverse.c: New test.
1630 * gdb.reverse/time-reverse.exp: New file.
1631 * gdb.reverse/waitpid-reverse.c: New test.
1632 * gdb.reverse/waitpid-reverse.exp: New file.
1633
5e2e7507
JK
16342015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1635
1636 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1637
0fde2c53
DE
16382015-10-26 Doug Evans <dje@google.com>
1639
1640 PR symtab/17391
1641 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1642 * gdb.dwarf2/bad-regnum.c: New file.
1643 * gdb.dwarf2/bad-regnum.exp: New file.
1644
1a70ae97
DE
16452015-10-26 Doug Evans <dje@google.com>
1646
1647 PR python/18938
1648 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1649 file.
1650
27dc26ab
JK
16512015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1652
1653 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1654 for a change by "Mention language in compile error message".
1655
bed91f4d
SM
16562015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1657
1658 PR python/18073
1659 * gdb.python/py-type.c (C::a_method): New.
1660 (C::a_const_method): New.
1661 (C::a_static_method): New.
1662 (a_function): New.
1663 * gdb.python/py-type.exp (test_fields): Test getting fields
1664 from function and method.
1665
3f2f83dd
KB
16662015-10-21 Keven Boell <keven.boell@intel.com>
1667
1668 * gdb.fortran/vla-alloc-assoc.exp: New file.
1669 * gdb.fortran/vla-datatypes.exp: New file.
1670 * gdb.fortran/vla-datatypes.f90: New file.
1671 * gdb.fortran/vla-history.exp: New file.
1672 * gdb.fortran/vla-ptype-sub.exp: New file.
1673 * gdb.fortran/vla-ptype.exp: New file.
1674 * gdb.fortran/vla-sizeof.exp: New file.
1675 * gdb.fortran/vla-sub.f90: New file.
1676 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1677 * gdb.fortran/vla-value-sub-finish.exp: New file.
1678 * gdb.fortran/vla-value-sub.exp: New file.
1679 * gdb.fortran/vla-value.exp: New file.
1680 * gdb.fortran/vla-ptr-info.exp: New file.
1681 * gdb.mi/mi-vla-fortran.exp: New file.
1682 * gdb.mi/vla.f90: New file.
1683
27145d50
SL
16842015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1685
1686 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1687 of hardwired timeout value.
1688
5f3ff4f8
JK
16892015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1690 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1693 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1694
bfd09d20
JS
16952015-10-19 Josh Stone <jistone@redhat.com>
1696
1697 * gdb.base/catch-syscall.c: Include <sched.h>.
1698 (unknown_syscall): New variable.
1699 (main): Trigger a vfork and an unknown syscall.
1700 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1701 (unknown_syscall_number): Likewise.
1702 (check_call_to_syscall): Accept an optional syscall pattern.
1703 (check_return_from_syscall): Likewise.
1704 (check_continue): Likewise.
1705 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1706 (test_catch_syscall_skipping_return): New test toggling off 'catch
1707 syscall' to step over the syscall return, then toggling back on.
1708 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1709 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1710 (do_syscall_tests): Call test_catch_syscall_without_args and
1711 test_catch_syscall_mid_vfork.
1712 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1713 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1714
b32b93c6
AS
17152015-10-19 Andrew Stubbs <ams@codesourcery.com>
1716
1717 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1718 print g_vE): Add new pass patterns.
1719 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1720 print various symbol names for vptr fields.
1721
9d622bda
AB
17222015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1725 results.
1726
0fd8ac1c
YQ
17272015-10-12 Yao Qi <yao.qi@linaro.org>
1728
1729 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1730
34240514
YQ
17312015-10-12 Yao Qi <yao.qi@linaro.org>
1732
1733 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1734 is aarch64*-*-linux*.
1735
8240f442
YQ
17362015-10-12 Yao Qi <yao.qi@linaro.org>
1737
1738 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1739 (can_relocate_bcond_true): ... it.
1740 (can_relocate_bcond_false): New function.
1741 (foo): Likewise.
1742 (can_relocate_bl): Likewise.
1743 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1744 can_relocate_bl.
1745
2520f728
PMR
17462015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1747
1748 * gdb.base/nested-addr.c: New file.
1749 * gdb.base/nested-addr.exp: New testcase.
1750
abcef95a
MM
17512015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1752
1753 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1754 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1755 its output. Ignore the output of "record goto begin" and instead
1756 check that GDB is replaying.
1757
145e3ddb
PA
17582015-10-09 Pedro Alves <palves@redhat.com>
1759
1760 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1761 (top level): Use it in the run with no args test.
1762
d5d8c4e1
IB
17632015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1764
1765 * gdb.dlang/properties.exp: New file.
1766
06e635ef
SL
17672015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1768
1769 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1770 whether or not address 0x1000 is mapped on the target.
1771
e019fd1d
SM
17722015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1773
1774 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1775 build.
1776
77ba2a67
MM
17772015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1778
1779 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1780 instruction-history test.
1781
c60eb31f
DE
17822015-09-28 Doug Evans <dje@google.com>
1783
1784 * gdb.base/gcore.c (array_func): Add reference to static_array.
1785
9a3c8263
SM
17862015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1787
1788 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1789 source line.
1790
9720e656
SL
17912015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1792
1793 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1794 short or char as base type.
1795
938d3bf2
SL
17962015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1797
1798 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1799 to allow any size enum.
1800
e6c2c623
PMR
18012015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1802
1803 * gdb.ada/array_ptr_renaming.exp: New testcase.
1804 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1805 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1806
06da0f77
PL
18072015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1808
1809 * gdb.trace/ftrace-lock.c: New file.
1810 * gdb.trace/ftrace-lock.exp: New file.
1811
4f51c22a
PL
18122015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1813
1814 * gdb.arch/insn-reloc.c: New file.
1815 * gdb.arch/ftrace-insn-reloc.exp: New file.
1816
7041adf4
PL
18172015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1818
1819 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1820 instruction.
1821 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1822 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1823 * gdb.trace/range-stepping.c: Likewise.
1824 * gdb.trace/trace-break.c: Likewise.
1825 * gdb.trace/trace-mt.c (thread_function): Likewise.
1826 * gdb.trace/ftrace.c (marker): Likewise.
1827 * gdb.trace/trace-condition.c (marker): Likewise.
1828 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1829 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1830 is_aarch64_target.
1831
015d2e7e
DE
18322015-09-18 Doug Evans <xdje42@gmail.com>
1833
1834 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1835 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1836
26b188a2
SL
18372015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1838
1839 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1840 the breakpoint.
1841
79dc332b
SL
18422015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1843
1844 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1845 the pending breakpoint. Remove timeout override for "Run till
1846 MI pending breakpoint on pendfunc3 on thread 2" test.
1847
f57929f2
SL
18482015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1849
1850 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1851 filename pattern.
1852
3f469b17
SL
18532015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1854
1855 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1856 in breakpoint filename pattern.
1857
515b89b3
SL
18582015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1859
7800dbe4
SL
1860 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1861
18622015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1863
515b89b3
SL
1864 * gdb.linespec/explicit.exp: Check for readline support for
1865 tab-completion tests. Fix obvious typo.
1866
d2939ba2
MM
18672015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1868
1869 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1870 and replay.
1871
cbb55fa7
MM
18722015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1873
1874 * gdb.btrace/non-stop.c: New.
1875 * gdb.btrace/non-stop.exp: New.
1876
43691ca1
PL
18772015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1878 Yao Qi <yao.qi@linaro.org>
1879
1880 * gdb.trace/trace-condition.c: New file.
1881 * gdb.trace/trace-condition.exp: New file.
1882
d78908cf
WW
18832015-09-16 Wei-cheng Wang <cole945@gmail.com>
1884
1885 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1886 for testing bytecode compilation.
1887
1ed415e2
PA
18882015-09-16 Pedro Alves <palves@redhat.com>
1889 Sandra Loosemore <sandra@codesourcery.com>
1890
1891 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1892 (SECONDS): Redefine.
1893 (main): Call pthread_kill and alarm early.
1894 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1895 support.
1896 (test): If the target can't hardware step and doesn't support
1897 displaced stepping, increase the timeout.
1898
d136eff5
PA
18992015-09-16 Pedro Alves <palves@redhat.com>
1900
1901 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1902 (enable_debug): New procedures.
1903 (test): Use them. Bail out if waiting for threads fails.
1904 (top level): Bail out if a test fails.
1905
991f019c
YQ
19062015-09-16 Yao Qi <yao.qi@linaro.org>
1907
1908 * gdb.asm/asm-source.exp: Set asm-arch for
1909 aarch64*-*-* target.
1910 * gdb.asm/aarch64.inc: New file.
1911
bfca584f
PMR
19122015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1913
1914 * gdb.ada/array_of_variable_length.exp: New testcase.
1915 * gdb.ada/array_of_variable_length/foo.adb: New file.
1916 * gdb.ada/array_of_variable_length/pck.adb: New file.
1917 * gdb.ada/array_of_variable_length/pck.ads: New file.
1918
b326e587
DE
19192015-09-15 Doug Evans <dje@google.com>
1920
1921 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1922 of function static local variable.
1923
5382cfab
PW
19242015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1925
1926 * gdb.threads/tls-so_extern.exp: New test file.
1927 * gdb.threads/tls-so_extern.c: New test file.
1928 * gdb.threads/tls-so_extern_main.c: New test file.
1929
141c5cc4
JK
19302015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 * gdb.opt/solib-intra-step-lib.c: New file.
1933 * gdb.opt/solib-intra-step-main.c: New file.
1934 * gdb.opt/solib-intra-step.exp: New file.
1935
d15dcecd
PA
19362015-09-15 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1939 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1940
4c2f2a79
PA
19412015-09-14 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.base/hook-stop-continue.c: Delete.
1944 * gdb.base/hook-stop-continue.exp: Delete.
1945 * gdb.base/hook-stop-frame.c: Delete.
1946 * gdb.base/hook-stop-frame.exp: Delete.
1947 * gdb.base/hook-stop.c: New file.
1948 * gdb.base/hook-stop.exp: New file.
1949
919e6dbe
PMR
19502015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1951
1952 * gdb.ada/access_to_packed_array.exp: New testcase.
1953 * gdb.ada/access_to_packed_array/foo.adb: New file.
1954 * gdb.ada/access_to_packed_array/pack.adb: New file.
1955 * gdb.ada/access_to_packed_array/pack.ads: New file.
1956
157280a4
MM
19572015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1958
1959 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1960 buffer size test.
1961
2fd33e94
DB
19622015-09-11 Don Breazeal <donb@codesourcery.com>
1963
1964 * gdb.base/foll-exec.c: Add copyright header. Fix
1965 formatting issues.
1966 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1967 (do_exec_tests): Use clean_restart in place of zap_session,
1968 and for test initialization. Fix formatting issues. Use
1969 fail in place of perror.
1970 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1971 an expect statement to match an expression with output from
1972 the program under debug.
1973 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1974 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1975 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1976 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1977 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1978
e70b6e8e
DE
19792015-09-09 Doug Evans <dje@google.com>
1980
1981 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1982
7a551a51
DE
19832015-09-09 Doug Evans <dje@google.com>
1984
1985 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1986
4c666f84
DE
19872015-09-09 Doug Evans <dje@google.com>
1988
1989 * gdb.base/savedregs.exp: Fix typo.
1990
243a9253
PA
19912015-09-09 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1994
c0fa8fbd
SL
19952015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1996
1997 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1998 command actually switches threads. Give up on remaining
1999 tests if target fails to stop at breakpoint.
2000
cd7c1778
PMR
20012015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2002
2003 * gdb.ada/funcall_char.exp: New testcase.
2004 * gdb.ada/funcall_char/foo.adb: New file.
2005
dc5c8746
PMR
20062015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2007
2008 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2009 expected outputs. Add two testcases for completing ambiguous
2010 functions.
2011 * gdb.ada/complete/aux_pck.adb: New file.
2012 * gdb.ada/complete/aux_pck.ads: New file.
2013 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2014 Ambiguous_Func functions.
2015 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2016 * gdb.ada/complete/pck.adb: Likewise.
2017
4e83a1e7
UW
20182015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2019
2020 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2021 failures to run the test program under GDB.
2022
8ce74153
LM
20232015-08-26 Luis Machado <lgustavo@codesourcery.com>
2024
2025 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2026 to C.
2027
e9756d52
PP
20282015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2029
2030 * gdb.base/run-after-attach.exp: New test file.
2031 * gdb.base/run-after-attach.c: New test file.
2032
8d37573b
DB
20332015-08-26 Don Breazeal <donb@codesourcery.com>
2034
2035 * gdb.base/foll-exec-2.c: New test program.
2036 * gdb.base/foll-exec-2.exp: New test.
2037
63e43d3a
PMR
20382015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2039
2040 * gdb.base/nested-subp1.exp: New file.
2041 * gdb.base/nested-subp1.c: New file.
2042 * gdb.base/nested-subp2.exp: New file.
2043 * gdb.base/nested-subp2.c: New file.
2044 * gdb.base/nested-subp3.exp: New file.
2045 * gdb.base/nested-subp3.c: New file.
2046
3d40fbb5
PA
20472015-08-24 Pedro Alves <palves@redhat.com>
2048
2049 * gdb.server/connect-without-multi-process.c: New file.
2050 * gdb.server/connect-without-multi-process.exp: New file.
2051
4422ac93
LM
20522015-08-24 Luis Machado <lgustavo@codesourcery.com>
2053
2054 * gdb.opt/inline-markers.c: Make z int.
2055
91dddb86
LM
20562015-08-24 Luis Machado <lgustavo@codesourcery.com>
2057
2058 * gdb.opt/inline-markers.c: Make z volatile.
2059
a48847ee
LM
20602015-08-24 Luis Machado <lgustavo@codesourcery.com>
2061
2062 * gdb.opt/inline-bt.c: New volatile global z.
2063 * gdb.opt/inline-cmds.c: Likewise.
2064 * gdb.opt/inline-locals.c: Likewise.
2065 * gdb.opt/inline-markers.c: New extern global z.
2066 (marker): Use z.
2067 (inline_fn): Likewise.
2068
0ebbc52b
PA
20692015-08-24 Pedro Alves <palves@redhat.com>
2070
2071 * config/m32r-stub.exp: Remove file.
2072 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2073 * gdb.base/call-rt-st.exp: Likewise.
2074 * gdb.base/call-strs.exp: Likewise.
2075 * gdb.base/default.exp: Remove references to h8300-*-hms and
2076 *-*-udi*.
2077 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2078
77c365df
AA
20792015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2080
2081 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2082 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2083 and "return" use KFAIL when GDB can not read/write the vector
2084 return value.
2085
4313b8c0
GB
20862015-08-21 Gary Benson <gbenson@redhat.com>
2087
2088 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2089
0e433b32
PA
20902015-08-20 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.server/solib-list.exp: No longer expect an interior stop in
2093 non-stop mode.
2094
221e1a37
PA
20952015-08-20 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.server/connect-stopped-target.c: New file.
2098 * gdb.server/connect-stopped-target.exp: New file.
2099
40e3ad0e
PA
21002015-08-20 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.dwarf2/comp-unit-lang.exp: New file.
2103 * gdb.dwarf2/comp-unit-lang.c: New file.
2104
af39b327
PMR
21052015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2106
2107 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2108 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2109
7d45c7c3 21102015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 2111
7d45c7c3
KB
2112 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2113 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2114
4d6cceb4
DE
21152015-08-18 Doug Evans <dje@google.com>
2116 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2117
2118 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2119 skip_python_tests. New arg prompt_regexp.
2120 (skip_python_tests): New function.
2121 * lib/mi-support.exp (mi_skip_python_tests): New function.
2122 * gdb.python/py-mi-objfile-gdb.py: New file.
2123 * gdb.python/py-mi-objfile.c: New file.
2124 * gdb.python/py-mi-objfile.exp: New file.
2125
ad89c2aa
KS
21262015-08-17 Keith Seitz <keiths@redhat.com>
2127
2128 * gdb.linespec/explicit.exp: Move strace test from here ...
2129 * gdb.trace/strace.exp: ... to here.
2130
e3ae3c43
PP
21312015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2132
2133 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2134 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2135
604b2636
DE
21362015-08-14 Doug Evans <xdje42@gmail.com>
2137
2138 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2139 inferior before selecting a new file.
2140
6ff0ba5f
DE
21412015-08-14 Doug Evans <xdje42@gmail.com>
2142
2143 * gdb.mi/mi-disassemble.exp: Update.
2144 * gdb.base/disasm-optim.S: New file.
2145 * gdb.base/disasm-optim.c: New file.
2146 * gdb.base/disasm-optim.h: New file.
2147 * gdb.base/disasm-optim.exp: New file.
2148
9ca98f92
KS
21492015-08-14 Keith Seitz <keiths@redhat.com>
2150
2151 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2152 "evaluated-by".
2153
52bbc560
JB
21542015-08-13 Joel Brobecker <brobecker@adacore.com>
2155
2156 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2157
5d8c3ed3
PMR
21582015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2159
2160 * gdb.ada/fun_renaming.exp: New testcase.
2161 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2162 * gdb.ada/fun_renaming/pack.adb: New file.
2163 * gdb.ada/fun_renaming/pack.ads: New file.
2164
ea8812bc
KS
21652015-08-12 Keith Seitz <keiths@redhat.com>
2166
2167 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2168 gdb_get_line_number.
2169
4dafcdeb
JB
21702015-08-12 Joel Brobecker <brobecker@adacore.com>
2171
2172 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2173 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2174 gdb.base/dso2dso.exp: New files.
2175
5ba32597
SDJ
21762015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2177 Pedro Alves <palves@redhat.com>
2178 Keith Seitz <keiths@redhat.com>
2179
2180 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2181 GDBFLAGS.
2182
b6dafabf
PP
21832015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2184
2185 * gdb.base/gdbhistsize-history.exp
2186 (test_histsize_history_setting): Use save_vars.
2187 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2188 Use save_vars.
2189 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2190 * gdb.base/readline.exp: Use save_vars.
2191
abe8e607
PP
21922015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2193
2194 * lib/gdb.exp (save_vars): New proc.
2195
629500fa
KS
21962015-08-11 Keith Seitz <keiths@redhat.com>
2197
2198 * gdb.base/help.exp: Update help_breakpoint_text.
2199
eb8c4e2e
KS
22002015-08-11 Keith Seitz <keiths@redhat.com>
2201
2202 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2203 (at toplevel): Call test_explicit_breakpoints.
2204 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2205 breakpoints.
2206 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2207 breakpoint conditions, "-cond".
2208
87f0e720
KS
22092015-08-11 Keith Seitz <keiths@redhat.com>
2210
2211 * gdb.linespec/3explicit.c: New file.
2212 * gdb.linespec/cpexplicit.cc: New file.
2213 * gdb.linespec/cpexplicit.exp: New file.
2214 * gdb.linespec/explicit.c: New file.
2215 * gdb.linespec/explicit.exp: New file.
2216 * gdb.linespec/explicit2.c: New file.
2217 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2218 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2219 before using in the matching pattern.
2220 Clarify that `prefix' is a regular expression.
2221
f00aae0f
KS
22222015-08-11 Keith Seitz <keiths@redhat.com>
2223
2224 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2225 test.
2226 Add tests for missing ",FMT" and ",".
2227
e27852be
DE
22282015-08-10 Doug Evans <dje@google.com>
2229 Keith Seitz <keiths@redhat.com>
2230
2231 PR gdb/17960
2232 * gdb.base/completion.exp: Add location completer tests.
2233
7f03bd92
PA
22342015-08-07 Pedro Alves <palves@redhat.com>
2235
2236 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2237 tests here.
2238 (top level): Run do_test with and without displaced stepping.
2239
3fc8eb30
PA
22402015-08-07 Pedro Alves <palves@redhat.com>
2241
2242 * gdb.base/valgrind-disp-step.c: New file.
2243 * gdb.base/valgrind-disp-step.exp: New file.
2244
d4569d7b
PA
22452015-08-07 Pedro Alves <palves@redhat.com>
2246
2247 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2248 Delete function.
2249 (main): Add alarm. Run an infinite loop instead of calling
2250 wait_threads.
2251 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2252 comment.
2253 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2254 Delete function.
2255 (main): Add alarm. Run an infinite loop instead of calling
2256 wait_threads.
2257 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2258 comment.
2259
e1316e60
PA
22602015-08-07 Pedro Alves <palves@redhat.com>
2261
2262 * gdb.base/checkpoint-ns.exp: New file.
2263 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2264 standard_testfile.
2265
da8c46d2
MM
22662015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2267
2268 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2269 * gdb.btrace/instruction_history.exp: Update.
2270 * gdb.btrace/tsx.exp: New.
2271 * gdb.btrace/tsx.c: New.
2272
de1c2c52
PA
22732015-08-06 Pedro Alves <palves@redhat.com>
2274
2275 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2276 increase timeout.
2277 * gdb.reverse/until-precsave.exp: Bump timeouts.
2278
782e0bf4
PA
22792015-08-06 Pedro Alves <palves@redhat.com>
2280
2281 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2282
83e97ed0
PA
22832015-08-06 Pedro Alves <palves@redhat.com>
2284
2285 PR gdb/18749
2286 * gdb.threads/process-dies-while-handling-bp.c: New file.
2287 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2288
863d01bd
PA
22892015-08-06 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2292 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2293
0a39bb32
PA
22942015-08-05 Pedro Alves <palves@redhat.com>
2295
2296 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2297 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2298
ee2d2b10
SL
22992015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2300
2301 * gdb.base/bp-permanent.exp: Report test as unsupported if
2302 the target cannot stop at the permanent breakpoint.
2303
4e1bdb00
DE
23042015-08-03 Doug Evans <dje@google.com>
2305
2306 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2307 10000.
2308
3d338901
DE
23092015-08-03 Doug Evans <dje@google.com>
2310
2311 * Makefile.in (workers/%.worker, build-perf): New rule.
2312 (GDB_PERFTEST_MODE): New variable.
2313 (check-perf): Use it.
2314 (clean): Clean up gdb.perf parallel build subdirs.
2315 * lib/build-piece.exp: New file.
2316 * lib/gdb.exp (make_gdb_parallel_path): New function
2317 (standard_output_file, standard_temp_file): Call it.
2318 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2319 of $GDB_PARALLEL.
2320 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2321
af061d3e
DE
23222015-08-03 Doug Evans <dje@google.com>
2323
8e1afc81 2324 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
2325 (LOG_FILE_NAME): New global.
2326 (TextReporter.__init__): Initialize self.txt_sum.
2327 (TextReporter.report): Add support for multiple data-points.
2328 Move report to perftest.sum, put raw data in perftest.log.
2329 (TextReporter.start): Open sum and log files.
2330 (TextReporter.end): Close sum and log files.
8e1afc81
DE
2331 * gdb.perf/lib/perftest/testresult.py
2332 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 2333
2c8c5d37
PA
23342015-07-31 Pedro Alves <palves@redhat.com>
2335
2336 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2337 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2338 kill_wait_spawned_process instead of explicit "kill -9".
2339 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2340 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2341 kill_wait_spawned_process.
2342 * gdb.base/attach-twice.exp: Likewise.
2343 * gdb.base/attach.exp: Likewise.
2344 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2345 gdb_test_multiple.
2346 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2347 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2348 kill_wait_spawned_process.
2349 * gdb.base/valgrind-infcall.exp: Likewise.
2350 * gdb.multi/multi-attach.exp: Likewise.
2351 * gdb.python/py-prompt.exp: Likewise.
2352 * gdb.python/py-sync-interp.exp: Likewise.
2353 * gdb.server/ext-attach.exp: Likewise.
2354 * gdb.threads/attach-into-signal.exp (corefunc): Use
2355 spawn_wait_for_attach, spawn_id_get_pid and
2356 kill_wait_spawned_process.
2357 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2358 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2359 spawn_id_get_pid and kill_wait_spawned_process.
2360 * gdb.threads/attach-stopped.exp (corefunc): Use
2361 spawn_wait_for_attach, spawn_id_get_pid and
2362 kill_wait_spawned_process.
2363 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2364 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2365 kill_wait_spawned_process instead of explicit "kill -9".
2366 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2367 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2368 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2369 processes. Don't map cygwin/windows pids here. Now returns a
2370 spawn id list.
2371
032a0fca
SL
23722015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2373
2374 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2375 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2376 correct patch.
2377
61a934ca
SL
23782015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2379
2380 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2381
4bc4d428
SL
23822015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2383
2384 Reapply:
2385 2014-05-21 Mark Wielaard <mjw@redhat.com>
2386
2387 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2388
998d452a
PA
23892015-07-30 Pedro Alves <palves@redhat.com>
2390
2391 * linux-low.c (handle_extended_wait): Set the child's last
2392 reported status to TARGET_WAITKIND_STOPPED.
2393
69dde7dc
PA
23942015-07-30 Pedro Alves <palves@redhat.com>
2395
2396 PR threads/18600
2397 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2398 only shows inferior 1.
2399
4dd63d48
PA
24002015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2401 Pedro Alves <palves@redhat.com>
2402
2403 PR threads/18600
2404 * gdb.threads/fork-plus-threads.c: New file.
2405 * gdb.threads/fork-plus-threads.exp: New file.
2406
d618e4c5
PP
24072015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2408
2409 * gdb.base/batch-preserve-term-settings.exp
2410 (test_terminal_settings_preserved_after_cli_exit): Use
2411 send_quit_command.
2412
1eef6428
PA
24132015-07-29 Pedro Alves <palves@redhat.com>
2414 Don Breazeal <donb@codesourcery.com>
2415
2416 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2417 output from both inferior_spawn_id and gdb_spawn_id.
2418
7da5b897
SDJ
24192015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2420
2421 * gdb.threads/attach-into-signal.exp (corefunc): Use
2422 with_test_prefix on nested loops, uniquefying the test messages.
2423
dac804df
SDJ
24242015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2425
2426 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2427 commit.
2428
06265e53
PP
24292015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2430
2431 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2432 New proc.
2433 (test_terminal_settings_preserved_after_sigterm): New test.
2434
18206ca3
PP
24352015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2436
2437 * gdb.base/batch-preserve-term-settings.exp
2438 (test_terminal_settings_preserved_after_cli_exit): New test.
2439
90074d11
PP
24402015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2441
2442 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2443 manipulation of saved_gdbflags.
2444 (test_terminal_settings_preserved): Remove global declaration of
2445 the unused variable pagination_prompt. Remove manipulation of
2446 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2447 GDBFLAGS.
2448
eb1a7902
PA
24492015-07-29 Pedro Alves <palves@redhat.com>
2450
2451 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2452
8b75dd3b
PA
24532015-07-29 Pedro Alves <palves@redhat.com>
2454
2455 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2456 at the top.
2457
dedad4e3
PA
24582015-07-29 Pedro Alves <palves@redhat.com>
2459
2460 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2461 (main): Call gdb_unbuffer_output.
2462 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2463 (main): Call gdb_unbuffer_output.
2464 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2465 (main): Call gdb_unbuffer_output.
2466 * gdb.base/call-strs.exp: Adjust to step over the
2467 gdb_unbuffer_output call.
2468 * gdb.base/catch-gdb-caused-signals.c: Include
2469 "../lib/unbuffer_output.c".
2470 (main): Call gdb_unbuffer_output.
2471 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2472 (main): Call gdb_unbuffer_output.
2473 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2474 (main): Call gdb_unbuffer_output.
2475 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2476 (main): Call gdb_unbuffer_output.
2477 * gdb.base/shlib-call.exp: Adjust to step over the
2478 gdb_unbuffer_output call.
2479 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2480 (main): Call gdb_unbuffer_output.
2481 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2482 (main): Call gdb_unbuffer_output.
2483 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2484 (main): Rename to ...
2485 (test): ... this.
2486 (main): Reimplement.
2487 * gdb.base/varargs.exp: Run to test instead of to main.
2488 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2489 (main): Call gdb_unbuffer_output.
2490
58789a91
PA
24912015-07-29 Pedro Alves <palves@redhat.com>
2492
2493 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2494 factore out from mi_continue_dprintf. For call-style dprintfs,
2495 expect dprintf output out of $inferior_spawn_id.
2496 (mi_continue_dprintf): Use mi_expect_dprintf.
2497 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2498 (main): Call gdb_unbuffer_output.
2499
e8376742
PA
25002015-07-29 Pedro Alves <palves@redhat.com>
2501
2502 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2503 (default_mi_gdb_start): Set inferior_spawn_id instead of
2504 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2505 gdb_spawn_id.
2506 (mi_gdb_test): Always expect inferior output from both
2507 $inferior_spawn_id and $gdb_spawn_id.
2508
08280010
PA
25092015-07-29 Pedro Alves <palves@redhat.com>
2510
2511 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2512 send_inferior and $inferior_spawn_id.
2513
4d30e432
PA
25142015-07-29 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.gdb/complaints.exp (test_initial_complaints)
2517 (test_serial_complaints, test_short_complaints): Use
2518 gdb_test_stdio.
2519 (test_empty_complaint): Handle $inferior_spawn_id !=
2520 $gdb_spawn_id.
2521
0d30a335
PA
25222015-07-29 Pedro Alves <palves@redhat.com>
2523
2524 * gdb.base/varargs.exp: Use gdb_test_stdio.
2525
39413b29
PA
25262015-07-29 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2529
7cb000a9
PA
25302015-07-29 Pedro Alves <palves@redhat.com>
2531
2532 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2533
d7b8ac82
PA
25342015-07-29 Pedro Alves <palves@redhat.com>
2535
2536 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2537 parameter into two new parameters, "inf_result" and "gdb_result".
2538 Expect inferior output and gdb output from $inferior_spawn_id and
2539 $gdb_spawn_id, respectively. Adjust all callers.
2540
789c3a0c
PA
25412015-07-29 Pedro Alves <palves@redhat.com>
2542
2543 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2544 of gdb_test_sequence.
2545
77e760c3
PA
25462015-07-29 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2549 (saw_spurious_output): Expect inferior output from
2550 $inferior_spawn_id. Use gdb_test_stdio.
2551
8396d2cd
PA
25522015-07-29 Pedro Alves <palves@redhat.com>
2553
2554 * gdb.base/dprintf.exp: Use standard_testfile. Change
2555 prepare_for_testing call.
2556 (srcfile): Don't set.
2557 (restart): New procedure.
2558 (test_dprintf): New procecure, use to continue over dprintfs.
2559 (test_call, test_agent): New procedures, tests moved here.
2560 Restart gdb and recreate dprintfs. Adjust expected output.
2561
2051d61f
PA
25622015-07-29 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2565
452397af
PA
25662015-07-29 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2569
8aed9555
PA
25702015-07-29 Pedro Alves <palves@redhat.com>
2571
2572 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2573 gdb_test_stdio.
2574
188a61b4
PA
25752015-07-29 Pedro Alves <palves@redhat.com>
2576
2577 * lib/gdb.exp (gdb_test_stdio): New procedure.
2578
12264a45
PA
25792015-07-29 Pedro Alves <palves@redhat.com>
2580
2581 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2582
23ffc893
PA
25832015-07-29 Pedro Alves <palves@redhat.com>
2584
2585 * gdb.base/call-signal-resume.exp: Remove check for
2586 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2587 * gdb.base/unwindonsignal.exp: Likewise.
2588 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2589 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2590
65566918
PA
25912015-07-29 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/siginfo-addr.c (pass): New function.
2594 (handler): Call it iff si_addr is correct.
2595 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2596 Set a breakpoint at "pass" and continue to it.
2597
d60a9221
SDJ
25982015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2599
2600 * gdb.python/py-objfile.exp: Make some tests have unique names.
2601 * gdb.python/py-pp-registration.exp: Likewise.
2602
bde40b8f
PA
26032015-07-28 Pedro Alves <palves@redhat.com>
2604
2605 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2606
13e1dec8
SM
26072015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2608
2609 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2610
da33c9a7
SM
26112015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2612
2613 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2614
077836f7
PP
26152015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2616
2617 * gdb.base/gdb-sigterm-2.exp: New test.
2618
b8cc7b2e
DE
26192015-07-25 Doug Evans <xdje42@gmail.com>
2620
2621 Revert:
2622 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2623 (workers/%.worker, build-perf): New rule.
2624 (GDB_PERFTEST_MODE): New variable.
2625 (check-perf): Use it.
2626 (clean): Clean up gdb.perf parallel build subdirs.
2627 * lib/build-piece.exp: New file.
2628 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2629 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2630 name.
2631 (standard_temp_file): Ditto.
2632 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2633 of $GDB_PARALLEL.
2634
c8bd4544
DE
26352015-07-24 Doug Evans <dje@google.com>
2636
2637 * gdb.perf/lib/perftest/utils.py: New file.
2638 * gdb.perf/gm-hello.cc: New file.
2639 * gdb.perf/gm-pervasive-typedef.cc: New file.
2640 * gdb.perf/gm-pervasive-typedef.h: New file.
2641 * gdb.perf/gm-std.cc: New file.
2642 * gdb.perf/gm-std.h: New file.
2643 * gdb.perf/gm-use-cerr.cc: New file.
2644 * gdb.perf/gm-utils.h: New file.
2645 * gdb.perf/gmonster-null-lookup.py: New file.
2646 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2647 * gdb.perf/gmonster-print-cerr.py: New file.
2648 * gdb.perf/gmonster-ptype-string.py: New file.
2649 * gdb.perf/gmonster-runto-main.py: New file.
2650 * gdb.perf/gmonster-select-file.py: New file.
2651 * gdb.perf/gmonster1-null-lookup.exp: New file.
2652 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2653 * gdb.perf/gmonster1-print-cerr.exp: New file.
2654 * gdb.perf/gmonster1-ptype-string.exp: New file.
2655 * gdb.perf/gmonster1-runto-main.exp: New file.
2656 * gdb.perf/gmonster1-select-file.exp: New file.
2657 * gdb.perf/gmonster1.cc: New file.
2658 * gdb.perf/gmonster1.exp: New file.
2659 * gdb.perf/gmonster2-null-lookup.exp: New file.
2660 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2661 * gdb.perf/gmonster2-print-cerr.exp: New file.
2662 * gdb.perf/gmonster2-ptype-string.exp: New file.
2663 * gdb.perf/gmonster2-runto-main.exp: New file.
2664 * gdb.perf/gmonster2-select-file.exp: New file.
2665 * gdb.perf/gmonster2.cc: New file.
2666 * gdb.perf/gmonster2.exp: New file.
2667
6eab34f3
DE
26682015-07-24 Doug Evans <dje@google.com>
2669
2670 * gdb.perf/README: New file.
2671 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2672 * lib/gen-perf-test.exp: New file.
2673
63738bfd
DE
26742015-07-24 Doug Evans <dje@google.com>
2675
2676 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2677 (PerfTest::startup): New function.
2678 (PerfTest::run): Return result of calling body.
2679 (PerfTest::assemble): Rewrite.
2680 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2681 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2682 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2683 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2684 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2685
7b606f95
DE
26862015-07-24 Doug Evans <dje@google.com>
2687
2688 * lib/gdb.exp (clean_restart): Make executable optional.
2689
a97b16b8
DE
26902015-07-24 Doug Evans <dje@google.com>
2691
2692 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2693 compiler_info references.
2694 * gdb.cp/temargs.exp: Ditto.
2695 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2696 (get_compiler_info): Early exit if already computed. Set compiler_info
2697 to "unknown" if there was a problem.
2698 (test_compiler_info): Add function comment. Call get_compiler_info.
2699
35baa57f
DE
27002015-07-24 Doug Evans <dje@google.com>
2701
2702 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2703 (workers/%.worker, build-perf): New rule.
2704 (GDB_PERFTEST_MODE): New variable.
2705 (check-perf): Use it.
2706 (clean): Clean up gdb.perf parallel build subdirs.
2707 * lib/build-piece.exp: New file.
2708 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2709 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2710 name.
2711 (standard_temp_file): Ditto.
2712 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2713 of $GDB_PARALLEL.
2714
6ebea266
DE
27152015-07-24 Doug Evans <dje@google.com>
2716
2717 * lib/future.exp (gdb_default_target_compile): New option
2718 "early_flags".
2719 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2720 --as-needed.
2721
1e76a7e9
SDJ
27222015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2723
2724 * gdb.base/catch-syscall.exp: Call gdb_exit before
2725 gdb_skip_xml_test.
2726
5068630a
PA
27272015-07-24 Pedro Alves <palves@redhat.com>
2728
2729 * gdb.python/py-events.exp: Accept output between the stop event
2730 and the prompt.
2731 * gdb.python/py-evsignal.exp: Likewise.
2732 * gdb.python/py-evthreads.exp: Likewise.
2733
77598427
PA
27342015-07-24 Pedro Alves <palves@redhat.com>
2735
2736 PR gdb/18717
2737 * gdb.threads/non-ldr-exit.c: New file.
2738 * gdb.threads/non-ldr-exit.exp: New file.
2739
11e6c98f
YQ
27402015-07-24 Yao Qi <yao.qi@linaro.org>
2741
2742 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2743 restarting process.
2744
51aee833
YQ
27452015-07-24 Yao Qi <yao.qi@linaro.org>
2746
2747 * gdb.server/ext-restart.exp: New file.
2748
8cfe207c
YQ
27492015-07-24 Yao Qi <yao.qi@linaro.org>
2750
2751 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2752 argument options.
2753 * gdb.server/ext-wrapper.exp: New file.
2754
cc12ce38
DE
27552015-07-23 Doug Evans <dje@google.com>
2756
2757 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2758 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2759
d0d84780
PMR
27602015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2761
2762 * gdb.ada/var_arr_typedef.exp: New testcase.
2763 * gdb.ada/var_arr_typedef/pack.adb: New file.
2764 * gdb.ada/var_arr_typedef/pack.ads: New file.
2765 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2766
8b558f79
JB
27672015-07-20 Joel Brobecker <brobecker@adacore.com>
2768
2769 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2770
775a3298
JK
27712015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2772
2773 * gdb.arch/i386-biarch-core.exp: Replace istarget
2774 by "complete set gnutarget". Remove expectation for the "core-file"
2775 command.
2776
db1ff28b
JK
27772015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2778
2779 Revert the previous commit:
2780 Tests for validate symbol file using build-id.
2781
0a94970d
JK
27822015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2783
2784 Tests for validate symbol file using build-id.
2785 * gdb.base/solib-mismatch-lib.c: New file.
2786 * gdb.base/solib-mismatch-libmod.c: New file.
2787 * gdb.base/solib-mismatch.c: New file.
2788 * gdb.base/solib-mismatch.exp: New file.
2789
03346981
SL
27902015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2791
2792 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2793 nios2-*-linux*.
2794 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2795 * gdb.base/siginfo.exp: Likewise.
2796 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2797
42422cc7
PL
27982015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2799
2800 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2801 Move it to ...
2802 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2803 ... here.
2804 * gdb.trace/range-stepping.exp: Check that the target supports
2805 range stepping.
2806
cfa68bae
JK
28072015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2808
2809 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2810
8ffdba26
PA
28112015-07-14 Pedro Alves <palves@redhat.com>
2812
2813 * gdb.base/killed-outside.exp: New file.
2814 * gdb.base/killed-outside.c: New file.
2815
218a5a11
JK
28162015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2817
2818 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2819 (n at main): New.
2820 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2821
e03ed3c6
AA
28222015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2823
2824 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2825 infcall tests instead of setting up for KFAIL.
2826
485668e5
MM
28272015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2828
2829 * gdb.btrace/record_goto-step.exp: New.
2830
08464196
JK
28312015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2832
2833 PR compile/18484
2834 * gdb.compile/compile.c (struct struct_type): Add volatile to
2835 selffield's type.
2836 * gdb.compile/compile.exp
2837 (compile code struct_object.selffield = &struct_object): Skip further
2838 struct_object tests if this one xfails.
2839
bcf5c1d9
RC
28402015-07-08 Robert O'Callahan <robert@ocallahan.org>
2841
2842 PR exp/18617
2843 * gdb.trace/ax.exp: Add test.
2844
4931af25
YQ
28452015-07-07 Yao Qi <yao.qi@linaro.org>
2846
2847 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2848 instead of istarget "aarch64*-*-*".
2849 * gdb.arch/aarch64-fp.exp: Likewise.
2850 * gdb.base/float.exp: Likewise.
2851 * gdb.reverse/aarch64.exp: Likewise.
2852 * lib/gdb.exp (is_aarch64_target): New proc.
2853
9fcf688e
YQ
28542015-07-07 Yao Qi <yao.qi@linaro.org>
2855
2856 * lib/gdb.exp (is_aarch32_target): New proc.
2857 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2858 instead of "istarget "arm*-*-*"".
2859 * gdb.arch/arm-disp-step.exp: Likewise.
2860 * gdb.arch/thumb-bx-pc.exp: Likewise.
2861 * gdb.arch/thumb-prologue.exp: Likewise.
2862 * gdb.arch/thumb-singlestep.exp: Likewise.
2863 * gdb.base/disp-step-syscall.exp: Likewise.
2864 * gdb.base/float.exp: Likewise.
2865
fbd8d50d
YQ
28662015-07-07 Yao Qi <yao.qi@linaro.org>
2867
2868 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2869 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2870
71be1fdc
YQ
28712015-07-07 Yao Qi <yao.qi@linaro.org>
2872
2873 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2874 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2875 if it exists.
2876 * gdb.multi/multi-arch.exp: Likewise.
2877
3e221d36
SM
28782015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2879
2880 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2881 print.
2882
d441430b
YQ
28832015-07-07 Yao Qi <yao.qi@linaro.org>
2884
2885 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2886
06f810bd
MG
28872015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2888
2889 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2890 '[' and ']' characters.
2891
5e61e7c0
IB
28922015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2893
2894 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2895
28bf096c
PA
28962015-06-29 Pedro Alves <palves@redhat.com>
2897
2898 PR threads/18127
2899 * gdb.threads/hand-call-new-thread.c: New file.
2900 * gdb.threads/hand-call-new-thread.c: New file.
2901
ee93cd5e
KS
29022015-06-26 Keith Seitz <keiths@redhat.com>
2903 Doug Evans <dje@google.com>
2904
2905 PR 16253
2906 * gdb.cp/var-tag-2.cc: New file.
2907 * gdb.cp/var-tag-3.cc: New file.
2908 * gdb.cp/var-tag-4.cc: New file.
2909 * gdb.cp/var-tag.cc: New file.
2910 * gdb.cp/var-tag.exp: New file.
2911
fc637f04
PP
29122015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2913
2914 * gdb.base/history-duplicates.exp: New test.
2915
2e52ae68
PP
29162015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2917
2918 * gdb.base/completion.exp: Test the completion of the "focus"
2919 command.
2920
6e22494e
JK
29212015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2922
2923 * gdb.arch/amd64-prologue-skip.S: New file.
2924 * gdb.arch/amd64-prologue-skip.exp: New file.
2925
bf7b9cd9
SM
29262015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2927
2928 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2929 is_address_zero_readable check.
2930
201e8dfd
PB
29312015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2932
2933 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2934 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2935
5cd867b4
YQ
29362015-06-24 Yao Qi <yao.qi@linaro.org>
2937
2938 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2939 linux targets.
2940
4d7be007
YQ
29412015-06-24 Yao Qi <yao.qi@linaro.org>
2942
2943 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2944 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2945 * gdb.base/siginfo-thread.exp: Likewise.
2946
07fcd301
YQ
29472015-06-22 Yao Qi <yao.qi@linaro.org>
2948
2949 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2950
52042a00
YQ
29512015-06-22 Yao Qi <yao.qi@linaro.org>
2952
2953 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2954 aarch64*-*-*.
2955 (skip_hw_watchpoint_tests): Likewise.
2956
74bd41ce
PP
29572015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2958
2959 * gdb.base/gdbinit-history.exp: Test the interaction between
2960 setting GDBHISTSIZE and setting the history size via .gdbinit.
2961
bc460514
PP
29622015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2963
2964 PR gdb/16999
2965 * gdb.base/gdbhistsize-history.exp: New test.
2966
b58c513b
PP
29672015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2968
2969 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2970 with GDBHISTSIZE.
2971 * gdb.base/readline.exp: Likewise.
2972
92046791
YQ
29732015-06-17 Yao Qi <yao.qi@linaro.org>
2974
2975 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2976 line.
2977
2093d2d3
PP
29782015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2979
2980 * gdb.base/gdbinit-history.exp: Add test case to check that
2981 an unlimited history file does not get truncated on exit.
2982
e6c693af
AA
29832015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2984
2985 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2986 (VECTOR): New macro. Use it...
2987 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2988 ...for these typedefs.
2989 (int8, char1, int1, double1): New typedefs.
2990 (struct just_int2, struct two_int2): New structures.
2991 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2992 (add_structvecs, add_singlevecs): New functions.
2993 (main): Call add_some_intvecs twice.
2994 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2995 the compile and exit upon failure. Try compiling for the "native"
2996 architecture. Test inferior function calls with vector arguments
2997 and vector return value handling with "finish" and "return".
2998
c74f7d1c
JT
29992015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3000
3001 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3002 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3003 PE file.
3004 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3005
98aa42ee
AT
30062015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3007
3008 PR breakpoints/16465
3009 * gdb.mi/mi-dprintf-pending.c: New file.
3010 * gdb.mi/mi-dprintf-pending.exp: New test.
3011 * gdb.mi/mi-dprintf-pendshr.c: New file.
3012
7d73c23c 30132015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 3014 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
3015
3016 * gdb.arch/i386-mpx-map.c: New file.
3017 * gdb.arch/i386-mpx-map.exp: New File.
3018
30192015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3020
3021 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3022 * gdb.arch/i386-mpx.exp: Indentation fixed.
3023
30242015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3025
3026 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3027 function and improved indentation.
3028 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3029 gdb_test_multiple. Added additional tests to skip the test.
3030
30312015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3032
3033 * gdb.arch/i386-avx512.c: Change path in include file.
3034 * gdb.arch/i386-avx512.exp: Change include dir path
3035 compilation flag.
3036 * gdb.arch/i386-mpx.c: Change path in include file.
3037 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3038 flag.
3039
d5eba19a
JK
30402015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3041
3042 * gdb.compile/compile-print.exp (compile print *vararray@3)
3043 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3044
7f361056
JK
30452015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3046
3047 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3048 (do not keep jit in memory): ... this.
3049 (expect 5): Change it to ...
3050 (expect no 5): ... this.
3051
3b462ec2
SM
30522015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3053
3054 PR gdb/15564
3055 * gdb.mi/mi-detach.exp: New file.
3056
e0619de6
JK
30572015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3058
3059 PR symtab/18392
3060 * gdb.arch/amd64-tailcall-self.S: New file.
3061 * gdb.arch/amd64-tailcall-self.c: New file.
3062 * gdb.arch/amd64-tailcall-self.exp: New file.
3063
e970cb34
DB
30642015-05-28 Don Breazeal <donb@codesourcery.com>
3065
3066 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3067 tests for remote targets by checking is_target_gdbserver.
3068
b2e2f908
DE
30692015-05-27 Doug Evans <dje@google.com>
3070
3071 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3072 * gdb.dwarf2/opaque-type-lookup.c: New file.
3073 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3074
82c7be31
DE
30752015-05-26 Doug Evans <dje@google.com>
3076
3077 * gdb.cp/iostream.cc: New file.
3078 * gdb.cp/iostream.exp: New file.
3079
b4f54984
DE
30802015-05-26 Doug Evans <dje@google.com>
3081
3082 * gdb.dwarf2/dw2-op-call.exp: Update.
3083 * gdb.dwarf2/dw4-sig-types.exp: Update.
3084 * gdb.dwarf2/implptr.exp: Update.
3085 * gdb.mi/mi-cmd-param-changed.exp: Update.
3086
4ea6efe9
DE
30872015-05-26 Doug Evans <dje@google.com>
3088
3089 * gdb.python/py-lazy-string.c: New file.
3090 * gdb.python/py-lazy-string.exp: New file.
3091 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3092 (main): Update. Add estring3.
3093 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3094 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3095
f6bb7db3
YQ
30962015-05-26 Omair Javaid <omair.javaid@linaro.org>
3097 Yao Qi <yao.qi@linaro.org>
3098
3099 * gdb.reverse/aarch64.c: New.
3100 * gdb.reverse/aarch64.exp: New.
3101
a81bfbd0
OJ
31022015-05-26 Omair Javaid <omair.javaid@linaro.org>
3103
3104 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3105 (supports_reverse): Likewise.
3106
158bf1b4
PP
31072015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3108
3109 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3110 Use with_test_prefix.
3111
a0145030
AB
31122015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3113
3114 * gdb.base/completion.exp: Add test for completion of layout
3115 names.
3116
ebe3b578
AB
31172015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3118
3119 * lib/gdb.exp (skip_tui_tests): New proc.
3120 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3121
84204ed7
PA
31222015-05-19 Pedro Alves <palves@redhat.com>
3123
3124 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3125 Save the whole env array instead of just HOME. Unset HISTSIZE in
3126 the environment while testing. Restore whole environment
3127 afterwards.
3128
37442ce1
DE
31292015-05-16 Doug Evans <xdje42@gmail.com>
3130
3131 * gdb.guile/scm-ports.c: New file.
3132 * gdb.guile/scm-ports.exp: Add memory port tests.
3133
36de76f9
JK
31342015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3135
3136 * gdb.compile/compile-print.c: New file.
3137 * gdb.compile/compile-print.exp: New file.
3138
3a9558c4
JK
31392015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3140
3141 * gdb.compile/compile-ops.exp: Cast param to void.
3142 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3143 (compile code struct_object.selffield = &struct_object): Add xfail.
3144
aa715135
JG
31452015-05-15 Joel Brobecker <brobecker@adacore.com>
3146
3147 * gdb.ada/arr_enum_with_gap: New testcase.
3148
931e5bc3
JG
31492015-05-15 Joel Brobecker <brobecker@adacore.com>
3150
3151 * gdb.ada/byte_packed_arr: New testcase.
3152
9cd4d857
JB
31532015-05-15 Joel Brobecker <brobecker@adacore.com>
3154
3155 * gdb.ada/pckd_neg: New testcase.
3156
ebfd00d2
PP
31572015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3158
3159 PR gdb/17820
3160 * gdb.base/gdbinit-history.exp: New test.
3161 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3162 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3163
4c082a81
SC
31642015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3165
3166 * gdb.python/py-xmethods.cc: Enhance test case.
3167 * gdb.python/py-xmethods.exp: New tests.
3168 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3169 function.
3170 (B_indexoper): Likewise.
3171 (global_dm_list) : Add new xmethod worker functions.
3172
f7797074
SDJ
31732015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3174
3175 * gdb.base/coredump-filter.exp: Correctly unset
3176 "coredump_var_addr" array.
3177
a4674e4e
PA
31782015-05-08 Pedro Alves <palves@redhat.com>
3179
3180 * gdb.server/non-existing-program.exp: Unset spawn_id.
3181
df2eb078
SC
31822015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3183
3184 PR python/18291
3185 * gdb.python/py-xmethods.exp: Add tests.
3186
422349a3
YQ
31872015-05-08 Yao Qi <yao.qi@linaro.org>
3188
3189 PR gdb/18208
3190 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3191 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3192 function set_coredump_filter, and remove remote_exec call.
3193 Remove argument ipid. Callers update.
3194 (top level): Don't get inferior's PID.
3195
63fc80ce
AA
31962015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3197
3198 * gdb.base/watch_thread_num.exp: Skip test on targets without
3199 access watchpoints.
3200
80ad801e
PA
32012015-05-06 Pedro Alves <palves@redhat.com>
3202
3203 PR server/18081
3204 * gdb.server/non-existing-program.exp: New file.
3205
0fa7fe50
JB
32062015-05-05 Joel Brobecker <brobecker@adacore.com>
3207
3208 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3209
3ea89b92
PMR
32102015-05-05 Joel Brobecker <brobecker@adacore.com>
3211
3212 * gdb.ada/out_of_line_in_inlined: New testcase.
3213
87b8eff0
JB
32142015-05-05 Joel Brobecker <brobecker@adacore.com>
3215
3216 * gdb.ada/var_rec_arr: New testcase.
3217
5fccc635
YQ
32182015-04-30 Yao Qi <yao.qi@linaro.org>
3219
3220 * gdb.base/break-idempotent.exp: If
3221 skip_hw_watchpoint_multi_tests returns true, skip the tests
3222 on "rwatch" and "awatch".
3223
42d38f42
YQ
32242015-04-30 Yao Qi <yao.qi@linaro.org>
3225
3226 * gdb.base/relativedebug.exp: Invoke gdb command
3227 "info sharedlibrary", and if libc.so doesn't have debug info,
3228 skip the test.
3229
2ce1cdbf
DE
32302015-04-29 Doug Evans <dje@google.com>
3231
3232 * gdb.python/py-xmethods.exp: Add ptype tests.
3233 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3234 get_result_type method.
3235
f24a38c5
LM
32362015-04-29 Luis Machado <lgustavo@codesourcery.com>
3237
3238 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3239 the target does not support hardware watchpoints.
3240
ecbf2b3c
LM
32412015-04-29 Luis Machado <lgustavo@codesourcery.com>
3242
3243 * gdb.base/break-always.exp: Abort testing if writing to memory
3244 causes an error.
3245
34f5f757
DE
32462015-04-28 Doug Evans <dje@google.com>
3247
3248 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3249 * gdb.python/py-pp-registration.exp: ... here. New file.
3250 * gdb.python/py-pp-registration.c: New file.
3251 * gdb.python/py-pp-registration.py: New file.
3252
69b4374a
DE
32532015-04-28 Doug Evans <dje@google.com>
3254
3255 * gdb.python/py-bad-printers.c: New file.
3256 * gdb.python/py-bad-printers.py: New file.
3257 * gdb.python/py-bad-printers.exp: New file.
3258
59fb7612
SS
32592015-04-28 Sasha Smundak <asmundak@google.com>
3260
3261 * gdb.python/py-type.exp: New test.
3262
2631b16a
AW
32632015-04-28 Andy Wingo <wingo@igalia.com>
3264
3265 * gdb.python/py-parameter.exp:
3266 * gdb.guile/scm-parameter.exp: Escape the path that we are
3267 matching against, as it might contain characters that are special
3268 to regular expressions.
3269
460efde1
JB
32702015-04-27 Joel Brobecker <brobecker@adacore.com>
3271
3272 * gdb.ada/rec_comp: New testcase.
3273
2d369d8e
SDJ
32742015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3275
3276 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3277 before using it.
3278
cf75d6c3
AB
32792015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3280
3281 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3282 new tests for verilog output.
3283
8dbe7ca5
YQ
32842015-04-24 Yao Qi <yao.qi@linaro.org>
3285
3286 * boards/remote-gdbserver-on-localhost.exp: New file.
3287
4ef9fb2f
PA
32882015-04-23 Pedro Alves <palves@redhat.com>
3289
3290 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3291 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3292 "end of file", remove $inferior_spawn_id from the indirect list.
3293
0a803169
PA
32942015-04-23 Pedro Alves <palves@redhat.com>
3295
3296 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3297
749ef8f8
PA
32982015-04-23 Pedro Alves <palves@redhat.com>
3299
3300 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3301 on $any_spawn_id instead of only on $gdb_spawn_id.
3302
8aae4344
PM
33032015-04-21 Pierre Muller <muller@sourceware.org>
3304
3305 PR pascal/17815
3306 * lib/pascal.exp (gpc_compile): Add new option "class".
3307 (fpc_compile): Likewise.
3308 * gdb.pascal/case-insensitive-symbols.pas: New file.
3309 * gdb.pascal/case-insensitive-symbols.exp: New file.
3310
1586c8fb
GB
33112015-04-20 Gary Benson <gbenson@redhat.com>
3312
3313 * gdb.base/attach.exp: Fix three extended remote failures.
3314
1b6e6f5c
GB
33152015-04-17 Gary Benson <gbenson@redhat.com>
3316
3317 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3318 the main executable over the remote protocol.
3319
e797481d
PA
33202015-04-16 Pedro Alves <palves@redhat.com>
3321
3322 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3323 a new gdbserver if gdbserver_reconnect_p is set.
3324
1ca99c42
PA
33252015-04-16 Pedro Alves <palves@redhat.com>
3326
3327 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3328 is set, don't exit gdbserver.
3329
af9fd6f8
AA
33302015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3331
3332 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3333 appropriate .insn, such that an older assembler can be used.
3334 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3335 the z/Architecture instruction set on 31-bit targets as well.
3336
04ff1e61
AA
33372015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3338
3339 * gdb.go/handcall.exp: Remove all logic related to the first
3340 breakpoint and rely on go_runto_main instead.
3341 * gdb.go/strings.exp: Likewise.
3342 * gdb.go/unsafe.exp: Likewise.
3343 * gdb.go/hello.exp: Likewise. Also rename the remaining
3344 breakpoint marker to "breakpoint 1".
3345 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3346 * gdb.go/strings.go: Likewise.
3347 * gdb.go/unsafe.go: Likewise.
3348 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3349 "set breakpoint 2 here" and rename the remaining breakpoint marker
3350 to "breakpoint 1".
3351
40d2f8d6
SM
33522015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3353
3354 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3355 if itertools.imap is not present.
3356 * gdb.python/py-objfile.exp: Add parentheses.
3357 * gdb.python/py-type.exp: Same.
3358 * gdb.python/py-unwind-maint.py: Same.
3359
8cbc97c6
YQ
33602015-04-15 Yao Qi <yao.qi@linaro.org>
3361
3362 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3363 of ":$ptr_size" and set its form explicitly.
3364
45fd756c
YQ
33652015-04-15 Pedro Alves <palves@redhat.com>
3366 Yao Qi <yao.qi@linaro.org>
3367
3368 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3369 timeout by factor of 4.
3370 (test_regular_watch): Likewise.
3371 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3372 * gdb.reverse/sigall-reverse.exp: Likewise.
3373 * gdb.reverse/until-precsave.exp: Likewise.
3374 * lib/gdb.exp (with_timeout_factor): New proc.
3375 (gdb_expect): Move some code to ...
3376 (get_largest_timeout): ... here. New procedure.
3377
9e811bc3
LM
33782015-04-14 Luis Machado <lgustavo@codesourcery.com>
3379
3380 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3381
0ff6fcb2
LM
33822015-04-13 Luis Machado <lgustavo@codesourcery.com>
3383
3384 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3385 to write to the .text section.
3386
7578d5f7
LM
33872015-04-13 Luis Machado <lgustavo@codesourcery.com>
3388
3389 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3390 Handle the case of targets that do not provide PID information.
3391
2efe15c4
YQ
33922015-04-13 Yao Qi <yao.qi@linaro.org>
3393
3394 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3395 and use expect instead of gdb_expect.
3396
8cd8f2f8
SDJ
33972015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3398
3399 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3400 "coredump_var_addr" to avoid naming conflict with other testcases.
3401
9ee41772
PA
34022015-04-10 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3405 gdb_test_sequence and gdb_assert.
3406
07473109
PA
34072015-04-10 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3410 test messages that don't include the breakpoint address.
3411
de3db44c
YQ
34122015-04-10 Yao Qi <yao.qi@linaro.org>
3413
3414 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3415 false for some offset and width combinations which aren't
3416 supported by linux kernel.
3417
c79d856c
PA
34182015-04-10 Pedro Alves <palves@redhat.com>
3419
3420 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3421 procedure, factored out from ...
3422 (top level): ... here. Add "set displaced-stepping" testing axis.
3423 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3424 parameter "displaced". Use it.
3425 (top level): Use foreach and add "set displaced-stepping" testing
3426 axis.
3427
ebc90b50
PA
34282015-04-10 Pedro Alves <palves@redhat.com>
3429
3430 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3431 Remove comment.
3432 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3433 both the address of the instruction that triggers the watchpoint
3434 and the address of the instruction immediately after, and use
3435 those addresses for the test. Fix comment.
3436
8f572e5c
PA
34372015-04-10 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.base/sigstep.exp (breakpoint_to_handler)
3440 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3441 Test "backtrace" in handler.
3442 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3443 (top level): Add new "displaced" test axis to
3444 breakpoint_to_handler, breakpoint_to_handler_entry and
3445 breakpoint_over_handler.
3446
8d707a12
PA
34472015-04-10 Pedro Alves <palves@redhat.com>
3448
3449 PR gdb/18216
3450 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3451
ef713951
YQ
34522015-04-10 Yao Qi <yao.qi@linaro.org>
3453
3454 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3455 (test_add_rn_pc): New function.
3456 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3457 (top level): Invoke test_add_rn_pc.
3458
906d60cf
PA
34592015-04-10 Pedro Alves <palves@redhat.com>
3460
3461 PR gdb/13858
3462 * gdb.base/step-over-no-symbols.exp: New file.
3463
f2983cc3
AW
34642015-04-09 Andy Wingo <wingo@igalia.com>
3465
3466 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3467 after the Python tests.
3468
6d62641c
SDJ
34692015-04-08 Keith Seitz <keiths@redhat.com>
3470
3471 PR python/16699
3472 * gdb.python/py-completion.exp: New tests for completion.
3473 * gdb.python/py-completion.py (CompleteLimit1): New class.
3474 (CompleteLimit2): Likewise.
3475 (CompleteLimit3): Likewise.
3476 (CompleteLimit4): Likewise.
3477 (CompleteLimit5): Likewise.
3478 (CompleteLimit6): Likewise.
3479 (CompleteLimit7): Likewise.
3480
f3770638
PA
34812015-04-08 Pedro Alves <palves@redhat.com>
3482
3483 PR gdb/18214
3484 PR gdb/18216
3485 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3486 function.
3487 (main): Install it as SIGUSR1 handler.
3488 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3489 parameter. Always use "setup" as prefix. Toggle "set
3490 displaced-stepping" off/on depending on global. Don't switch to
3491 thread 1 here.
3492 (top level): Add displaced stepping "off/on" test axis. Update
3493 "setup" calls. Wrap each subtest with with_test_prefix. Test
3494 continuing with a queued signal in each thread.
3495
4496bed7
PA
34962015-04-08 Pedro Alves <palves@redhat.com>
3497
3498 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3499 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3500 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3501 Return early if running to main fails.
3502 * gdb.trace/while-stepping.exp: Likewise.
3503
b97fde92
PA
35042015-04-07 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3507 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3508 interact with inferior program.
3509
f71c18e7
PA
35102015-04-07 Pedro Alves <palves@redhat.com>
3511
3512 * lib/gdb.exp (inferior_spawn_id): New global.
3513 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3514 spawn id after processing the user code.
3515 (default_gdb_start): Set inferior_spawn_id.
3516 (send_inferior): New procedure.
3517 * lib/gdbserver-support.exp (gdbserver_start): Set
3518 inferior_spawn_id.
3519 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3520
6423214f
PA
35212015-04-07 Pedro Alves <palves@redhat.com>
3522
3523 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3524 * lib/gdbserver-support.exp (gdbserver_start): Make
3525 $server_spawn_id global.
3526 (gdbserver_start): Don't wait for gdbserver's spawn id with
3527 expect_background.
3528 (close_gdbserver): New procedure.
3529 (gdb_exit): Rename the default version and reimplement.
3530
71c0ee8c
PA
35312015-04-07 Pedro Alves <palves@redhat.com>
3532
72f4393d 3533 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
3534 append the substituted item, not the original item.
3535
203bc29b
PA
35362015-04-07 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3539 gdb_expect.
3540
508a3ddf
PA
35412015-04-07 Pedro Alves <palves@redhat.com>
3542
3543 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3544 output appearing once only.
3545
9f6dbe2b
PA
35462015-04-07 Pedro Alves <palves@redhat.com>
3547
3548 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3549 that doesn't expect anything. Return early if running to main
3550 fails.
3551
337532fa
YQ
35522015-04-07 Yao Qi <yao.qi@linaro.org>
3553
3554 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3555 (child_function): Call alarm.
3556 (main): Move call to alarm into the loop.
3557 * gdb.threads/non-stop-fair-events.exp: Build program with
3558 -DTIMEOUT=$timeout.
3559
01b622d4
DE
35602015-04-06 Doug Evans <xdje42@gmail.com>
3561
3562 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3563 Fix dest parameter to board_info.
3564 (fpc_compile): Ditto.
3565 (gdb_compile_pascal): Rename dest arg to destfile.
3566
961f4160
PMR
35672015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3568
3569 * gdb.ada/funcall_ref.exp: New file.
3570 * gdb.ada/funcall_ref/foo.adb: New file.
3571
cafda597
YQ
35722015-04-02 Yao Qi <yao.qi@linaro.org>
3573
3574 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3575 is remote.
3576
fed040c6
GB
35772015-04-02 Gary Benson <gbenson@redhat.com>
3578
3579 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3580
d11916aa
SS
35812015-04-01 Sasha Smundak <asmundak@google.com>
3582
3583 * gdb.python/py-unwind-maint.c: New file.
3584 * gdb.python/py-unwind-maint.exp: New test.
3585 * gdb.python/py-unwind-maint.py: New file.
3586 * gdb.python/py-unwind.c: New file.
3587 * gdb.python/py-unwind.exp: New test.
3588 * gdb.python/py-unwind.py: New test.
3589
a1471180
PA
35902015-04-01 Pedro Alves <palves@redhat.com>
3591
3592 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3593 to fail instead of non-existent $test.
3594
0bbeccb1
PA
35952015-04-01 Pedro Alves <palves@redhat.com>
3596
3597 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3598 GDBFLAGS if not empty.
3599
3c724c8c
PMR
36002015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3601
3602 * gdb.ada/complete.exp: Remove "multi_line".
3603 * gdb.ada/info_exc.exp: Remove "multi_line".
3604 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3605 * gdb.ada/ptype_field.exp: Remove "multi_line".
3606 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3607 * gdb.ada/tagged.exp: Remove "multi_line".
3608 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3609 [multi_line ...]
3610 * gdb.btrace/delta.exp: Likewise.
3611 * gdb.btrace/exception.exp: Likewise.
3612 * gdb.btrace/function_call_history.exp: Likewise.
3613 * gdb.btrace/instruction_history.exp: Likewise.
3614 * gdb.btrace/nohist.exp: Likewise.
3615 * gdb.btrace/record_goto.exp: Likewise.
3616 * gdb.btrace/segv.exp: Likewise.
3617 * gdb.btrace/stepi.exp: Likewise.
3618 * gdb.btrace/tailcall.exp: Likewise.
3619 * gdb.btrace/unknown_functions.exp: Likewise.
3620 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3621 * lib/gdb.exp: Add the "multi_line" helper.
3622
4eec2deb
PA
36232015-04-01 Pedro Alves <palves@redhat.com>
3624
3625 * gdb.threads/tid-reuse.c: New file.
3626 * gdb.threads/tid-reuse.exp: New file.
3627
df8411da
SDJ
36282015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3629
3630 PR corefiles/16092
3631 * gdb.base/coredump-filter.c: New file.
3632 * gdb.base/coredump-filter.exp: Likewise.
3633
6ef37366
PM
36342015-03-27 Petr Machata <pmachata@redhat.com>
3635
3636 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3637 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3638 (Dwarf::assemble): Initialize them.
3639 (Dwarf::lines): New function.
3640
7ec911b0
JT
36412015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3642
3643 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3644 SYMBOL_PREFIX for x86_64-*-cygwin.
3645
ff908ebf
AW
36462015-03-26 Andy Wingo <wingo@igalia.com>
3647
3648 PR symtab/18148
3649 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3650 const_value but not a location.
3651 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3652 location defined in non-main CUs are visible.
3653
6d5f0679
YQ
36542015-03-26 Yao Qi <yao.qi@linaro.org>
3655
3656 PR testsuite/18139
3657 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3658 Add a line number entry for the same line.
3659 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3660 Add a line number entry for the same line.
3661
2898689b
YQ
36622015-03-26 Yao Qi <yao.qi@linaro.org>
3663
3664 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3665 .int 0.
3666 (func): Likewise. Add .Lfunc_1 label.
3667 Use .Lfunc_1 label.
3668 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3669 .int 0.
3670 (func): Likewise.
3671 Use .Lfunc_1 label.
3672
85180498
YQ
36732015-03-26 Yao Qi <yao.qi@linaro.org>
3674
3675 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3676 Call gdb_compile instead to compile each .s files without debug
3677 information.
3678
8aa08a8d
YQ
36792015-03-26 Yao Qi <yao.qi@linaro.org>
3680
3681 * gdb.base/savedregs.exp (process_saved_regs): Make
3682 "Saved registers:" optional in the pattern.
3683
66849923
MM
36842015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3685
3686 * gdb.btrace/next.exp: Merged into step.exp.
3687 * gdb.btrace/finish.exp: Merged into step.exp.
3688 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3689 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3690 "record goto" and checking the exact replay position.
3691 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3692 check for "Recording format" in "info record" output.
3693 * gdb.btrace/record_goto.exp: Choose test file based on target.
3694 * gdb.btrace/x86-record_goto.S: Renamed into ...
3695 * gdb.btrace/x86_64-record_goto.S: ... this.
3696 * gdb.btrace/i686-record_goto.S: New.
3697 * gdb.btrace/x86-tailcall.S: Renamed into ...
3698 * gdb.btrace/x86_64-tailcall.S: ... this.
3699 * gdb.btrace/i686-tailcall.S: New.
3700 * gdb.btrace/x86-tailcall.c: Renamed into ...
3701 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3702 separate statements. Update test.
3703 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3704 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3705 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3706 * gdb.btrace/tailcall.exp: Choose test file based on target.
3707 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3708
11cc1b74
MM
37092015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3710
3711 * gdb.btrace/exception.exp: Increase BTS buffer size.
3712
a25d8bf9
PA
37132015-03-24 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3716
856e7dd6
PA
37172015-03-24 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.threads/schedlock.exp (test_step): No longer expect that
3720 "set scheduler-locking step" with "next" over a function call runs
3721 threads unlocked.
3722
ad235a41
AT
37232015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3724
3725 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3726
15630549
AT
37272015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3728
3729 PR breakpoints/16466
3730 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3731 * gdb.mi/mi-pending.c (thread_func): New function.
3732 (int main): Add threading support required.
3733 * gdb.mi/mi-pending.exp: Add tests for this issue.
3734 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3735 (pendfunc2): Remove stdio dependency.
3736 * gdb.mi/mi-pendshr2.c: New file.
3737
693dca06
KS
37382015-03-23 Keith Seitz <keiths@redhat.com>
3739
3740 * gdb.linespec/keywords.c: New file.
3741 * gdb.linespec/keywords.exp: New file.
3742
7e993ebf
KS
37432015-03-23 Keith Seitz <keiths@redhat.com>
3744
3745 PR gdb/18021
3746 * gdb.dwarf2/staticvirtual.exp: New test.
3747
bc23328c
JK
37482015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3749
3750 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3751 * README: Remove HP-UX and gdb.hp.
3752 (configuration):
3753 * configure: Regenerate.
3754 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3755 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3756 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3757 gdb.hp/gdb.defects/Makefile.
3758 * gdb.hp/Makefile.in: File deleted.
3759 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3760 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3761 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3762 * gdb.hp/gdb.aCC/run.c: File deleted.
3763 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3764 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3765 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3766 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3767 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3768 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3769 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3770 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3771 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3772 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3773 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3774 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3775 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3776 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3777 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3778 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3779 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3780 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3781 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3782 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3783 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3784 * gdb.hp/gdb.compat/average.c: File deleted.
3785 * gdb.hp/gdb.compat/sum.c: File deleted.
3786 * gdb.hp/gdb.compat/xdb.c: File deleted.
3787 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3788 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3789 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3790 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3791 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3792 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3793 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3794 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3795 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3796 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3797 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3798 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3799 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3800 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3801 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3802 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3803 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3804 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3805 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3806 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3807 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3808 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3809 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3810 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3811 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3812 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3813 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3814 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3815 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3816 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3817 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3818 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3819 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3820 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3821 * gdb.hp/tools/odump: File deleted.
3822
8bf3b159
PA
38232015-03-19 Pedro Alves <palves@redhat.com>
3824
3825 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3826 (saw_thread_3): New globals.
3827 (top level): Increment them when an event for the corresponding
3828 thread is seen.
3829 (no thread starvation): New test.
3830
eb54c8bf
PA
38312015-03-19 Pedro Alves <palves@redhat.com>
3832
3833 * gdb.threads/continue-pending-status.c: New file.
3834 * gdb.threads/continue-pending-status.exp: New file.
3835
32d2e5d6
PA
38362015-03-18 Pedro Alves <palves@redhat.com>
3837
3838 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3839 Use gdb_is_target_remote instead of is_remote. Use
3840 gdb_test_multiple instead of gdb_expect. Exit early if
3841 gdb_test_multiple hits its internal matches. Tighten stepi tests
3842 expected output. Fail on exit with any signal, instead of just
3843 SIGILL.
3844
f68f11b7
YQ
38452015-03-18 Yao Qi <yao.qi@linaro.org>
3846
3847 PR tdep/18107
3848 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3849 variable.
3850 * gdb.base/catch-syscall.exp: Don't skip it on
3851 aarch64*-*-linux* target. Remove elements in all_syscalls.
3852 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3853 target.
3854 (setup_all_syscalls): New proc.
3855
ca5fd19b
YQ
38562015-03-16 Yao Qi <yao.qi@linaro.org>
3857
3858 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3859 (top level): Skip tests if valid_addr_p returns false for
3860 $cmd1 or $cmd2.
3861
85642ba0
AW
38622015-03-11 Andy Wingo <wingo@igalia.com>
3863
3864 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3865
e03f9645
YQ
38662015-03-11 Yao Qi <yao.qi@linaro.org>
3867
3868 * gdb.base/catch-syscall.exp: Fix typo in comments.
3869
5d0962b2
YQ
38702015-03-11 Yao Qi <yao.qi@linaro.org>
3871
3872 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3873
b2df3cef
PA
38742015-03-09 Pedro Alves <palves@redhat.com>
3875
3876 * dg-extract-results.py: Delete.
3877
ef878e53
PA
38782015-03-09 Pedro Alves <palves@redhat.com>
3879
3880 Merge dg-extract-results.sh from GCC upstream (r218843).
3881
3882 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3883 * dg-extract-results.sh: Use --text with grep to avoid issues with
3884 binary files. Fall back to cat -v, if that doesn't work.
3885
9494d219
PA
38862015-03-05 Pedro Alves <palves@redhat.com>
3887
3888 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3889
a8d9763a
SM
38902015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3891
3892 * lib/mi-support.exp (mi_expect_interrupt): Accept
3893 alternative event for when in all-stop mode.
3894
be9957b8
PA
38952015-03-04 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3898
d57be0f4 38992015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3900
3901 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3902
c214c7cf
AA
39032015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3904
3905 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3906 regexps for GDB's current line display, accept a hex address
3907 preceding the line number.
3908
6d74a497
AA
39092015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3910
3911 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3912 the 'arch1' variable for "s390*-linux*" targets.
3913
511aee7c
PA
39142015-03-04 Pedro Alves <palves@redhat.com>
3915
3916 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3917 (main): Pass missing retval argument to pthread_join call.
3918
95e50b27
PA
39192015-03-02 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3922 (top level): Call do_test with non-stop as well.
3923
28054d69
PA
39242015-03-02 Pedro Alves <palves@redhat.com>
3925
3926 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3927 -1.
3928
4fa5d7b4
AA
39292015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3930
3931 * gdb.arch/s390-vregs.exp: New test.
3932 * gdb.arch/s390-vregs.S: New file.
3933
97c18565
PA
39342015-02-27 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3937 call to catch_command_errors.
3938 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3939 catch_command_errors.
3940
a37bfa30
PA
39412015-02-27 Pedro Alves <palves@redhat.com>
3942
3943 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3944 "true" for boolean result.
3945 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3946 prototype of main.
3947
6f98576f
PA
39482015-02-27 Pedro Alves <palves@redhat.com>
3949
3950 * lib/unbuffer_output.c: New file.
3951 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3952 (main): Call gdb_unbuffer_output.
3953
eba5ab56
YQ
39542015-02-27 Yao Qi <yao.qi@linaro.org>
3955
3956 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3957 target.
3958
0def5aaa
DE
39592015-02-26 Doug Evans <dje@google.com>
3960
3961 * gdb.cp/class2.cc (Dbase, D): New classes.
3962 (main): New local delta.
3963 * gdb.cp/class2.exp: Test printing delta.
3964 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3965 (dynbar): New global.
3966 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3967
081a1c2c
JK
39682015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3969
3970 * gdb.compile/compile-ifunc.c: New file.
3971 * gdb.compile/compile-ifunc.exp: New file.
3972
2f41223f
AT
39732015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3974
3975 * gdb.base/structs.exp: Check for correct struct on finish.
3976
03eddd80
YQ
39772015-02-26 Yao Qi <yao.qi@linaro.org>
3978
3979 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3980 is zero.
3981
80c57053
JK
39822015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3983
3984 * gdb.arch/cordic.ko.bz2: New file.
3985 * gdb.arch/cordic.ko.debug.bz2: New file.
3986 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3987
21613c12
YQ
39882015-02-25 Yao Qi <yao.qi@linaro.org>
3989
3990 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3991 aarch64*-*-* target.
3992
d8b901ed
PA
39932015-02-23 Pedro Alves <palves@redhat.com>
3994
3995 * lib/gdb.exp (delete_breakpoints): Rewrite using
3996 gdb_test_multiple.
3997
e5b85ead
PA
39982015-02-23 Pedro Alves <palves@redhat.com>
3999
4000 * gdb.base/info-os.c: Include stdlib.h.
4001
85c3a371
DE
40022015-02-22 Doug Evans <xdje42@gmail.com>
4003
4004 PR symtab/17855
4005 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4006 is read after symbols have been re-read.
4007 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4008 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4009
96553a0c
DE
40102015-02-21 Doug Evans <dje@google.com>
4011
4012 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4013
97a0c697
JK
40142015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4015
4016 PR corefiles/17808
4017 * gdb.arch/i386-biarch-core.core.bz2: New file.
4018 * gdb.arch/i386-biarch-core.exp: New file.
4019
a47cd6e9
PA
40202015-02-21 Pedro Alves <palves@redhat.com>
4021
4022 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4023 runto_main fails.
4024
c5facdc4
PA
40252015-02-20 Pedro Alves <palves@redhat.com>
4026
4027 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4028 info probes.
4029
2db9a427
PA
40302015-02-20 Pedro Alves <palves@redhat.com>
4031
4032 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4033
60fb7e9e
PA
40342015-02-20 Pedro Alves <palves@redhat.com>
4035
4036 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4037 clean_restart before gdb_target_supports_trace.
4038
5c5019c2
PA
40392015-02-20 Pedro Alves <palves@redhat.com>
4040
4041 PR threads/18006
4042 * gdb.threads/clone-thread_db.c: New file.
4043 * gdb.threads/clone-thread_db.exp: New file.
4044
c9587f88
AT
40452015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4046
4047 PR breakpoints/16812
4048 * gdb.base/catch-gdb-caused-signals.c: New file.
4049 * gdb.base/catch-gdb-caused-signals.exp: New file.
4050
f6a88844
JM
40512015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4052
4053 * configure: Regenerated.
4054 * configure.ac: Use GDB_AC_TRANSFORM.
4055 * aclocal.m4: sinclude ../transform.m4.
4056
497c491b
JM
40572015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4058
4059 * lib/dtrace.exp: New file.
4060 * gdb.base/dtrace-probe.exp: Likewise.
4061 * gdb.base/dtrace-probe.d: Likewise.
4062 * gdb.base/dtrace-probe.c: Likewise.
4063 * lib/pdtrace.in: Likewise.
4064 * configure.ac: Output variables with the transformed names of
4065 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4066 * configure: Regenerated.
4067
03e98035
JM
40682015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4069
4070 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4071 expected message when trying to access $_probe_* convenience
4072 variables while not on a probe.
4073
63cc30e9
JK
40742015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4075
4076 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4077
0703599a
PA
40782015-02-11 Pedro Alves <pedro@codesourcery.com>
4079
4080 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4081 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4082
7e60a48e
DE
40832015-02-10 Doug Evans <xdje42@gmail.com>
4084
4085 * lib/gdb.exp (gdb_load): Always return a result.
4086
01b088bc
PA
40872015-02-10 Pedro Alves <palves@redhat.com>
4088
4089 * gdb.threads/signal-sigtrap.c: New file.
4090 * gdb.threads/signal-sigtrap.exp: New file.
4091
b05ec7a5
AT
40922015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4093
4094 * gdb.trace/no-attach-trace.c: New file.
4095 * gdb.trace/no-attach-trace.exp: New file.
4096
a2c2acaf
MW
40972015-02-09 Mark Wielaard <mjw@redhat.com>
4098
4099 * gdb.dwarf2/atomic.c: New file.
4100 * gdb.dwarf2/atomic-type.exp: Likewise.
4101
31fd9caa
MM
41022015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4103
4104 * gdb.btrace/buffer-size.exp: Update "info record" output.
4105 * gdb.btrace/delta.exp: Update "info record" output.
4106 * gdb.btrace/enable.exp: Update "info record" output.
4107 * gdb.btrace/finish.exp: Update "info record" output.
4108 * gdb.btrace/instruction_history.exp: Update "info record" output.
4109 * gdb.btrace/next.exp: Update "info record" output.
4110 * gdb.btrace/nexti.exp: Update "info record" output.
4111 * gdb.btrace/step.exp: Update "info record" output.
4112 * gdb.btrace/stepi.exp: Update "info record" output.
4113 * gdb.btrace/nohist.exp: Update "info record" output.
4114
d33501a5
MM
41152015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4116
4117 * gdb.btrace/buffer-size: New.
4118
f4abbc16
MM
41192015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4120
4121 * gdb.btrace/delta.exp: Update "info record" output.
4122 * gdb.btrace/enable.exp: Update "info record" output.
4123 * gdb.btrace/finish.exp: Update "info record" output.
4124 * gdb.btrace/instruction_history.exp: Update "info record" output.
4125 * gdb.btrace/next.exp: Update "info record" output.
4126 * gdb.btrace/nexti.exp: Update "info record" output.
4127 * gdb.btrace/step.exp: Update "info record" output.
4128 * gdb.btrace/stepi.exp: Update "info record" output.
4129 * gdb.btrace/nohist.exp: Update "info record" output.
4130
b9d61307
SM
41312015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4132
4133 PR gdb/15678
4134 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4135
e584fdbc
PA
41362015-02-06 Pedro Alves <palves@redhat.com>
4137
4138 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4139 macro.
4140 (seconds_left, again): New globals.
4141 (main): Wait seconds_left in a 1-second sleep loop instead of
4142 sleeping 180 seconds. If 'again' is set, reset the seconds
4143 counter.
4144 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4145 'again' in the inferior before detaching. Print the seconds left.
4146 (options): New global.
4147 (top level): Build program with -DTIMEOUT=$timeout.
4148
77f41761
PA
41492015-02-06 Pedro Alves <palves@redhat.com>
4150
4151 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4152 determine how many seconds to pass to 'alarm'.
4153 * gdb.base/gdb-sigterm.exp (top level): Build program with
4154 -DTIMEOUT=$timeout.
4155 (do_test): Return success/failure indication. Add more verbose
4156 logging. Don't fail if 200 single steps are seen. Instead, fail
4157 when the test times out.
4158 (passes): New global.
4159 (top level): Break the testing loop if testing fails on any
4160 iteration. Use gdb_assert.
4161
b9394193
DB
41622015-02-04 Don Breazeal <donb@codesourcery.com>
4163
4164 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4165 and initialize them.
4166 (ipc_cleanup): New function.
4167 (main): Don't declare shmid, semid, and msqid. Add a call to
4168 atexit so that we call ipc_cleanup on exit.
4169
42d9e528
PA
41702015-02-04 Pedro Alves <palves@redhat.com>
4171
4172 * boards/native-extended-gdbserver.exp: Remove any target variant
4173 specifications from the board name before clearing the isremote
4174 flag from board_info.
4175
ae6ae975
DE
41762015-01-31 Doug Evans <xdje42@gmail.com>
4177
4178 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4179
cfb069a8
GB
41802015-01-31 Gary Benson <gbenson@redhat.com>
4181
4182 * gdb.base/completion.exp: Disable completion limiting for
4183 existing tests. Add new tests to check completion limiting.
4184 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4185
5dd31d79
DE
41862015-01-31 Doug Evans <xdje42@gmail.com>
4187
4188 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4189
9f050062
DE
41902015-01-31 Doug Evans <xdje42@gmail.com>
4191
4192 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4193 entries. Duplicate file section script entries.
4194 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4195 inlined entries. Add test for safe-path rejection.
4196 * gdb.python/py-section-script.c: Add duplicate inlined section script
4197 entries. Duplicate file section script entries.
4198 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4199 inlined entries. Add test for safe-path rejection.
4200
df25ebbd
JB
42012015-01-29 Joel Brobecker <brobecker@adacore.com>
4202
4203 * gdb.ada/disc_arr_bound: New testcase.
4204
4a0ca9ec
JB
42052015-01-29 Joel Brobecker <brobecker@adacore.com>
4206
4207 * gdb.ada/mi_var_array: New testcase.
4208
3a8b707a
DE
42092015-01-27 Doug Evans <dje@google.com>
4210
4211 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4212 Add test for objfile.filename, objfile.username after objfile
4213 has been unloaded.
4214
f8313f6e
JB
42152015-01-26 Joel Brobecker <brobecker@adacore.com>
4216
4217 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4218 the second test to print the name attribute of value
4219 returned by the call to gdb.lookup_type, and adjust
4220 the expected output accordingly.
4221
37bc665e
MW
42222015-01-25 Mark Wielaard <mjw@redhat.com>
4223
4224 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4225 * gdb.base/disp-step-fork.c: Include unistd.h.
4226 * gdb.base/siginfo-obj.c: Include stdio.h.
4227 * gdb.base/siginfo-thread.c: Likewise.
4228 * gdb.mi/non-stop.c: Include unistd.h.
4229 * gdb.mi/nsthrexec.c: Include stdio.h.
4230 * gdb.mi/pthreads.c: Include unistd.h.
4231 * gdb.modula2/unbounded1.c (main): Declare returns int.
4232 * gdb.reverse/consecutive-reverse.c: Likewise.
4233 * gdb.threads/create-fail.c: Include unistd.h.
4234 * gdb.threads/killed.c: Likewise.
4235 * gdb.threads/linux-dp.c: Likewise.
4236 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4237 * gdb.threads/non-ldr-exc-2.c: Likewise.
4238 * gdb.threads/non-ldr-exc-3.c: Likewise.
4239 * gdb.threads/non-ldr-exc-4.c: Likewise.
4240 * gdb.threads/pthreads.c: Include unistd.h.
4241 (main): Declare returns int.
4242 * gdb.threads/tls-main.c (foo): New declaration.
4243 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4244
f7e5394d
SM
42452015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4246
4247 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4248 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4249
743649fd
MW
42502015-01-15 Mark Wielaard <mjw@redhat.com>
4251
4252 * gdb.base/noreturn-return.c: New file.
4253 * gdb.base/noreturn-return.exp: New file.
4254 * gdb.base/noreturn-finish.c: New file.
4255 * gdb.base/noreturn-finish.exp: New file.
4256
198297aa
PA
42572015-01-23 Pedro Alves <palves@redhat.com>
4258
4259 * gdb.threads/continue-pending-after-query.c: New file.
4260 * gdb.threads/continue-pending-after-query.exp: New file.
4261
717cf30c
AG
42622015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4263 Simon Marchi <simon.marchi@ericsson.com>
4264
4265 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4266 * gdb.base/valgrind-db-attach.exp: Same.
4267 * gdb.base/valgrind-infcall.exp: Same.
4268 * lib/mi-support.exp (default_mi_gdb_start): Same.
4269 * lib/prompt.exp (default_prompt_gdb_start): Same.
4270 * lib/gdb.exp (default_gdb_spawn): Same.
4271 (gdb_interact): New.
4272
4273
4b62a76e
JK
42742015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4275
4276 * gdb.compile/compile.exp (pointer to jit function): New test.
4277
b4cdae6f
WW
42782015-01-17 Wei-cheng Wang <cole945@gmail.com>
4279
4280 * lib/gdb.exp (supports_process_record): Return true for
4281 powerpc*-*-linux*.
4282 (supports_reverse): Likewise.
4283
d221e7ef
DB
42842015-01-15 Don Breazeal <donb@codesourcery.com>
4285
4286 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4287 instead of checking whether the target board is remote and
4288 use spawn_wait_for_attach instead of exec/sleep.
4289 * gdb.base/attach-twice.exp: Likewise.
4290
bafffb51
JB
42912015-01-15 Joel Brobecker <brobecker@adacore.com>
4292
4293 * gdb.ada/var_arr_attrs: New testcase.
4294
5589af0e
PA
42952015-01-14 Pedro Alves <palves@redhat.com>
4296 Joel Brobecker <brobecker@adacore.com>
4297
4298 PR gdb/17525
4299 * gdb.base/bp-cmds-execution-x-script.c: New file.
4300 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4301 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4302
6c400b59
PA
43032015-01-14 Pedro Alves <palves@redhat.com>
4304
4305 PR cli/17828
4306 * gdb.base/batch-preserve-term-settings.c: New file.
4307 * gdb.base/batch-preserve-term-settings.exp: New file.
4308
e02c96a7
DE
43092015-01-13 Doug Evans <dje@google.com>
4310
4311 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4312 binary.
4313
576fd14c
JB
43142015-01-13 Joel Brobecker <brobecker@adacore.com>
4315
4316 * Makefile.in (clean mostlyclean): Do not delete *.py.
4317
04dccad0
JB
43182015-01-13 Joel Brobecker <brobecker@adacore.com>
4319
4320 * gdb.python/py-lookup-type.exp: New file.
4321
3d230f71
PA
43222015-01-12 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4325 restore GDBFLAGS before returning.
4326
7e67715d
JK
43272015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4328
4329 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4330 is_amd64_regs_target and is_x86_like_target.
4331
f2e0d4b4
DE
43322015-01-11 Doug Evans <xdje42@gmail.com>
4333
4334 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4335 is given without an explicit form.
4336 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4337 attributes.
4338 * gdb.dwarf/corrupt.exp: Ditto.
4339 * gdb.dwarf2/enum-type.exp: Ditto.
4340 * gdb.trace/entry-values.exp: Ditto.
4341 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4342
439250fb
DE
43432015-01-11 Doug Evans <xdje42@gmail.com>
4344
4345 PR gdb/15830
4346 * gdb.base/maint.exp: Remove references to "maint demangle".
4347 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4348 Add tests for explicitly specifying language to demangle.
4349 * gdb.dlang/demangle.exp: Ditto.
4350
ede9f622
PA
43512015-01-09 Pedro Alves <palves@redhat.com>
4352
4353 * gdb.threads/non-stop-fair-events.c: New file.
4354 * gdb.threads/non-stop-fair-events.exp: New file.
4355
a7b796db
PA
43562015-01-09 Pedro Alves <palves@redhat.com>
4357
4358 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4359 the global scope. Set a breakpoint after all threads are started
4360 rather than stepping over two source lines. Expect the prompt.
4361 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4362 global.
4363 (NUM): Now 15.
4364 (main): Use threads_started_barrier to wait for all threads to
4365 start. Main thread no longer calls thread_function. Exit after
4366 180 seconds.
4367 (loop): New function.
4368 (thread_function): Wait on threads_started_barrier barrier. Call
4369 'loop' at each iteration.
4370 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4371 threads have started, instead of hardcoding number of "next"
4372 steps. Use an access watchpoint instead of a write watchpoint.
4373
9665ffdd
PA
43742015-01-09 Pedro Alves <palves@redhat.com>
4375
4376 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4377 (thread_func): Wait on barrier.
4378 (main): Wait for all threads to start before stopping GDB.
4379 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4380 global.
4381 (thread1_func, thread2_func): Wait on barrier.
4382 (main): Wait for all threads to start before stopping GDB.
4383 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4384 New global.
4385 (thread1_func, thread2_func): Wait on barrier.
4386 (main): Wait for all threads to start before stopping GDB.
4387
c945a99f
PA
43882015-01-09 Pedro Alves <palves@redhat.com>
4389
4390 * gdb.threads/attach-many-short-lived-threads.c: New file.
4391 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4392
c1a747c1
PA
43932014-01-09 Pedro Alves <palves@redhat.com>
4394
4395 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4396 instead of to thread 2.
4397 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4398 Add barrier around each pthread_create call instead of around all
4399 calls.
4400 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4401 Set a break on thread_function and have the child threads hit it
4402 one at at a time.
4403
60b3033e
PA
44042015-01-09 Pedro Alves <palves@redhat.com>
4405
4406 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4407 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4408 false.
4409 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4410 checking whether the target board is remote.
4411 * gdb.multi/multi-attach.exp: Likewise.
4412 * gdb.python/py-sync-interp.exp: Likewise.
4413 * gdb.server/ext-attach.exp: Likewise.
4414 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4415 tests that need to attach, instead of checking whether the target
4416 board is remote at the top of the file.
4417
acc018ac
YQ
44182015-01-08 Yao Qi <yao@codesourcery.com>
4419
4420 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4421
50a18af8
JK
44222015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4423
4424 Fix testcase compilation.
4425 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4426
8503d6e1
JB
44272015-01-06 Joel Brobecker <brobecker@adacore.com>
4428
4429 * gdb.python/py-type.exp: Add a couple test about empty
4430 array creation, and negative-length array creation.
4431
cc73dbcc
DE
44322015-01-02 Doug Evans <xdje42@gmail.com>
4433
4434 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4435
0300bbc7
DE
44362015-01-02 Doug Evans <dje@google.com>
4437
4438 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4439
9d85a0ec
YQ
44402014-12-29 Yao Qi <yao@codesourcery.com>
4441
4442 * gdb.trace/entry-values.exp: Update comments. Rename variable
4443 bar_call_foo to returned_from_foo.
4444
87186c6a
MMN
44452014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4446
4447 PR gdb/17394
4448 * gdb.linespec/break-asm-file.c: New file.
4449 * gdb.linespec/break-asm-file.exp: New file.
4450 * gdb.linespec/break-asm-file0.s: New file.
4451 * gdb.linespec/break-asm-file1.s: New file.
4452
1bab7383
YQ
44532014-12-18 Nigel Stephens <nigel@mips.com>
4454 Maciej W. Rozycki <macro@codesourcery.com>
4455
4456 * gdb.base/float.exp: Handle the new output from "info float" on
4457 MIPS targets.
4458
1bc1068a
JK
44592014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4460
4461 Fix MinGW compilation.
4462 * gdb.compile/compile-ops.exp: Update untested message if
4463 !skip_compile_feature_tests.
4464 * gdb.compile/compile-setjmp.exp: Likewise.
4465 * gdb.compile/compile-tls.exp: Likewise.
4466 * gdb.compile/compile.exp: Likewise.
4467 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4468 supported on this host".
4469
b6615d10
DE
44702014-12-16 Doug Evans <xdje42@gmail.com>
4471
4472 * boards/stabs.exp: New file.
4473
25dda427
AA
44742014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4475
4476 * gdb.base/completion.exp: Adjust to format changes of "maint
4477 print user-registers".
4478
bf330350
CU
44792014-12-16 Catalin Udma <catalin.udma@freescale.com>
4480
4481 PR server/17457
4482 * gdb.arch/aarch64-fp.c: New file.
4483 * gdb.arch/aarch64-fp.exp: New file.
4484
395cf596
SDJ
44852014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4486
4487 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4488 r210637, r210913, r211666, r215400, r215817).
4489
4490 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4491 * dg-extract-results.py: New file.
4492 * dg-extract-results.sh: Use it if the environment seems
4493 suitable.
4494
4495 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4496
4497 * dg-extract-results.py (parse_run): Handle warnings that
4498 are printed before a test harness is run.
4499
4500 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4501
4502 * dg-extract-results.py (Named): Remove __cmp__ method.
4503 (output_variation): Use a key to sort variation.harnesses.
4504
4505 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4506
4507 * dg-extract-results.py: For Python 3, force sys.stdout to
4508 handle surrogate escape sequences.
4509 (safe_open): New function.
4510 (output_segment, main): Use it.
4511
4512 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4513
4514 * dg-extract-results.py (Prog.result_re): Include options
4515 in test name.
4516
4517 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4518
4519 * dg-extract-results.py (output_variation): Always sort if
4520 do_sum.
4521
e882ef3c
SM
45222014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4523
4524 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4525 as long as we get pagination notifications.
4526
4992aa20
JM
45272014-12-15 Jason Merrill <jason@redhat.com>
4528
4529 * Makefile.in (check-gdb.%): Restore.
4530 * README: Mention it.
4531
c1b5a1a6
JB
45322014-12-13 Joel Brobecker <brobecker@adacore.com>
4533
4534 * gdb.ada/str_uninit: New testcase.
4535
5537b577
JK
45362014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4537
4538 PR symtab/17642
4539 * gdb.base/vla-stub-define.c: New file.
4540 * gdb.base/vla-stub.c: New file.
4541 * gdb.base/vla-stub.exp: New file.
4542
bb2ec1b3
TT
45432014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4544 Jan Kratochvil <jan.kratochvil@redhat.com>
4545 Tom Tromey <tromey@redhat.com>
4546
4547 * configure.ac: Add gdb.compile/.
4548 * configure: Regenerate.
4549 * gdb.compile/Makefile.in: New file.
4550 * gdb.compile/compile-ops.exp: New file.
4551 * gdb.compile/compile-ops.c: New file.
4552 * gdb.compile/compile-tls.c: New file.
4553 * gdb.compile/compile-tls.exp: New file.
4554 * gdb.compile/compile-constvar.S: New file.
4555 * gdb.compile/compile-constvar.c: New file.
4556 * gdb.compile/compile-mod.c: New file.
4557 * gdb.compile/compile-nodebug.c: New file.
4558 * gdb.compile/compile-setjmp-mod.c: New file.
4559 * gdb.compile/compile-setjmp.c: New file.
4560 * gdb.compile/compile-setjmp.exp: New file.
4561 * gdb.compile/compile-shlib.c: New file.
4562 * gdb.compile/compile.c: New file.
4563 * gdb.compile/compile.exp: New file.
4564 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4565
4ff709eb
TT
45662014-12-12 Tom Tromey <tromey@redhat.com>
4567
4568 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4569 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4570
6dddd6a5
DE
45712014-12-12 Doug Evans <dje@google.com>
4572
4573 * lib/gdb-python.exp (get_python_valueof): New function.
4574 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4575
71c24708
AA
45762014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4577
4578 * gdb.base/completion.exp: Add test for completion of "info
4579 registers ".
4580
3e29f34a
MR
45812014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4582
4583 * gdb.base/func-ptrs.c: New file.
4584 * gdb.base/func-ptrs.exp: New file.
4585
fc126975
SM
45862014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4587
4588 PR breakpoints/17012
4589 * gdb.base/dprintf-detach.c: New file.
4590 * gdb.base/dprintf-detach.exp: New file.
4591
0a46d518
SM
45922014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4593
4594 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4595 * lib/gdb.exp (target_is_gdbserver): New procedure.
4596
a0be3e44
DE
45972014-12-08 Doug Evans <dje@google.com>
4598
4599 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4600
df1b803a
YQ
46012014-12-05 Yao Qi <yao@codesourcery.com>
4602
4603 * gdb.guile/scm-error.exp: Remove the third argument to
4604 gdb_remote_download.
4605 * gdb.guile/scm-frame-args.exp: Likewise.
4606 * gdb.guile/scm-section-script.exp: Likewise.
4607
ddb9f679
YQ
46082014-12-05 Yao Qi <yao@codesourcery.com>
4609
4610 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4611
86e4ed39
DE
46122014-12-04 Doug Evans <dje@google.com>
4613
4614 * gdb.python/py-objfile.exp: Add tests for
4615 objfile.add_separate_debug_file.
4616
7c50a931
DE
46172014-12-04 Doug Evans <dje@google.com>
4618
4619 * lib/gdb.exp (get_build_id): New function.
4620 (build_id_debug_filename_get): Rewrite to use it.
4621 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4622
621661e3
MR
46232014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4624
4625 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4626 `method(long)', not just 0x0.
4627 * gdb.cp/nsalias.exp: Align code labels to 4.
4628 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4629 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4630 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4631 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4632 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4633 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4634
29f0c3b7
DE
46352014-12-02 Doug Evans <dje@google.com>
4636
e1e061e7 4637 PR symtab/17602
29f0c3b7 4638 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 4639 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
4640 * gdb.cp/anon-ns.exp: Update.
4641
162078c8
NB
46422014-12-02 Nick Bull <nicholaspbull@gmail.com>
4643
4644 * gdb.python/py-events.py (inferior_call_handler): New.
4645 (register_changed_handler, memory_changed_handler): New.
4646 (test_events.invoke): Register new handlers.
4647 * gdb.python/py-events.exp: Add tests for inferior call,
4648 memory_changed and register_changed events.
4649
fdb09caf
AA
46502014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4651
4652 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4653 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4654 if the linker doesn't understand this.
4655
55cfb2c4
SM
46562014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4657
4658 * gdb.python/python.exp: Change expected reply to help().
4659
9e8cd6df
YQ
46602014-12-01 Yao Qi <yao@codesourcery.com>
4661
4662 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4663 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4664 * configure: Re-generated.
4665
6c659fc2
SC
46662014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4667
4668 * gdb.cp/chained-calls.cc: New file.
4669 * gdb.cp/chained-calls.exp: New file.
4670 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4671
d7fc3181
SM
46722014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4673
4674 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4675 * gdb.dwarf2/symtab-producer.exp: Same.
4676 * gdb.gdb/python-interrupts.exp: Same.
4677 * gdb.gdb/python-selftest.exp: Same.
4678 * gdb.python/py-linetable.exp: Same.
4679 * gdb.python/py-type.exp: Same.
4680 * gdb.python/py-value-cc.exp: Same.
4681 * gdb.python/py-value.exp: Same.
4682
10e79639
YQ
46832014-11-28 Yao Qi <yao@codesourcery.com>
4684
4685 * gdb.base/break-probes.exp: Match library name prefixed with
4686 sysroot.
4687
f28a0564
SM
46882014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4689
4690 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4691 test expected output. Add parentheses for the call to print.
4692 Remove L suffix from integers.
4693
3fe1ce1d
DE
46942014-11-26 Doug Evans <dje@google.com>
4695
4696 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4697
84429e27
YQ
46982014-11-22 Yao Qi <yao@codesourcery.com>
4699
4700 * gdb.trace/entry-values.c: Remove asms.
4701 (foo): Add foo_label.
4702 (bar): Add bar_label.
4703 * gdb.trace/entry-values.exp: Remove code computing foo's
4704 length and bar's length.
4705 (Dwarf::assemble): Invoke function_range for bar and use
4706 MACRO_AT_func for foo.
4707
26741859
YQ
47082014-11-22 Yao Qi <yao@codesourcery.com>
4709
4710 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4711 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4712 Use .Lgcc43_procstart instead of gcc43.
4713
45e44d27
JB
47142014-11-21 Joel Brobecker <brobecker@adacore.com>
4715
4716 * gdb.ada/n_arr_bound: New testcase.
4717
458c8db8
SDJ
47182014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4719
4720 PR breakpoints/10737
4721 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4722 test_catch_syscall_multi_arch.
4723 (test_catch_syscall_multi_arch): New function.
4724
43f3e411
DE
47252014-11-20 Doug Evans <xdje42@gmail.com>
4726
4727 * gdb.base/maint.exp: Update expected output.
4728
0d7b2549
AA
47292014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4730
4731 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4732 4-byte instruction on S390.
4733
8908fca5
JB
47342014-11-19 Joel Brobecker <brobecker@adacore.com>
4735
4736 * gdb.ada/arr_arr: New testcase.
4737
4a46959e
JB
47382014-11-19 Joel Brobecker <brobecker@adacore.com>
4739
4740 * gdb.ada/pkd_arr_elem: New Testcase.
4741
470e2f4e
LM
47422014-11-18 Luis Machado <lgustavo@codesourcery.com>
4743
4744 * gdb.reverse/break-precsave: Expect completion message for
4745 core file reads.
4746 * gdb.reverse/consecutive-precsave.exp: Likewise.
4747 * gdb.reverse/finish-precsave.exp: Likewise.
4748 * gdb.reverse/i386-precsave.exp: Likewise.
4749 * gdb.reverse/machinestate-precsave.exp: Likewise.
4750 * gdb.reverse/sigall-precsave.exp: Likewise.
4751 * gdb.reverse/solib-precsave.exp: Likewise.
4752 * gdb.reverse/step-precsave.exp: Likewise.
4753 * gdb.reverse/until-precsave.exp: Likewise.
4754 * gdb.reverse/watch-precsave.exp: Likewise.
4755
a267f3ad
AA
47562014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4757
4758 * gdb.base/bp-permanent.c: Include unistd.h.
4759 * gdb.python/py-framefilter-mi.c (main): Add return type.
4760 * gdb.python/py-framefilter.c (main): Likewise.
4761 * gdb.trace/actions-changed.c (main): Likewise.
4762
12084a9a
AA
47632014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4764
4765 * gdb.mi/until.c: Add eye-catchers.
4766 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4767 line numbers.
4768
dc7e1a77
AA
47692014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4770
4771 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4772 function header variants in break1.c.
4773 * gdb.base/ena-dis-br.exp: Likewise.
4774 * gdb.base/hbreak2.exp: Likewise.
4775 * gdb.reverse/until-precsave.exp: Drop references to removed
4776 non-prototype function header variants in ur1.c.
4777 * gdb.reverse/until-reverse.exp: Likewise.
4778
41c77605
PM
47792014-11-17 Petr Machata <pmachata@redhat.com>
4780
4781 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4782 ${_cu_offset_size} bytes abbrev offset.
4783
34248c3a
DE
47842014-11-15 Doug Evans <xdje42@gmail.com>
4785
4786 PR symtab/17559
4787 * gdb.base/line-symtabs.exp: New file.
4788 * gdb.base/line-symtabs.c: New file.
4789 * gdb.base/line-symtabs.h: New file.
4790
646da059
YQ
47912014-11-14 Yao Qi <yao@codesourcery.com>
4792
4793 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4794 (func): Add label func_label.
4795 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4796 Replace low_pc and high_pc with MACRO_AT_range.
4797 Replace name, low_pc and high_pc with MACRO_AT_func.
4798
9301ebe6
YQ
47992014-11-14 Yao Qi <yao@codesourcery.com>
4800
4801 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4802 Replace name, low_pc and high_pc with MACRO_AT_func.
4803
f166b542
YQ
48042014-11-14 Yao Qi <yao@codesourcery.com>
4805
4806 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4807 produce debug information.
4808 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4809
0f6e71e3
YQ
48102014-11-14 Yao Qi <yao@codesourcery.com>
4811
4812 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4813 object and get function length.
4814 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4815 with MACRO_AT_func.
4816 (top-level): Replace gdb_compile and clean_restart with
4817 prepare_for_testing.
4818 * gdb.dwarf2/main.c (main): Add label main_label.
4819
876c4df9
YQ
48202014-11-14 Yao Qi <yao@codesourcery.com>
4821
4822 * lib/dwarf.exp (function_range): New procedure.
4823 (Dwarf::_handle_macro_at_func): New procedure.
4824 (Dwarf::_handle_macro_at_range): New procedure.
4825 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4826
02ad9cf1
YQ
48272014-11-14 Yao Qi <yao@codesourcery.com>
4828
4829 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4830 (_handle_attribute): New procedure.
4831
a59add0c
AA
48322014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4833
4834 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4835 * gdb.base/call-sc.c (zed): Likewise.
4836 * gdb.base/checkpoint.c (main): Likewise.
4837 * gdb.base/dump.c (main): Likewise.
4838 * gdb.base/gcore.c (main): Likewise.
4839 * gdb.base/huge.c (main): Likewise.
4840 * gdb.base/multi-forks.c (main): Likewise.
4841 * gdb.base/pr10179-a.c (main): Likewise.
4842 * gdb.base/savedregs.c (main): Likewise.
4843 * gdb.base/sigaltstack.c (main): Likewise.
4844 * gdb.base/siginfo.c (main): Likewise.
4845 * gdb.base/structs.c (zed): Likewise.
4846 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4847 * gdb.mi/mi-syn-frame.c (main): Likewise.
4848 * gdb.mi/until.c (foo, main): Likewise.
4849 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4850 * gdb.base/solib-weak.c (foo): Declare.
4851 * gdb.base/attach-twice.c: Include stdio.h.
4852 * gdb.base/weaklib1.c: Likewise.
4853 * gdb.base/weaklib2.c: Likewise.
4854 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4855 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4856 unistd.h.
4857 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4858 * gdb.mi/mi-exit-code.c: Likewise.
4859 * gdb.base/break-interp-lib.c: Include string.h.
4860 * gdb.base/coremaker.c: Likewise.
4861 * gdb.base/testenv.c: Likewise.
4862 * gdb.python/py-finish-breakpoint.c: Likewise.
4863 * gdb.base/inferior-died.c: Include sys/wait.h.
4864 * gdb.base/fileio.c: Include time.h.
4865 * gdb.base/async-shell.c: Include unistd.h.
4866 * gdb.base/dprintf-non-stop.c: Likewise.
4867 * gdb.base/info-os.c: Likewise.
4868 * gdb.mi/mi-console.c: Likewise.
4869 * gdb.mi/watch-nonstop.c: Likewise.
4870 * gdb.python/py-events.c: Likewise.
4871 * gdb.base/async.c (baz): Move up before its invocation.
4872 * gdb.base/code_elim2.c (my_global_func): Likewise.
4873 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4874 * gdb.base/advance.c (func2): Likewise.
4875
3b5d5997
AA
48762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4877
4878 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4879 variant.
4880 * gdb.base/annota3.c: Likewise.
4881 * gdb.base/async.c: Likewise.
4882 * gdb.base/average.c: Likewise.
4883 * gdb.base/call-ar-st.c: Likewise.
4884 * gdb.base/call-rt-st.c: Likewise.
4885 * gdb.base/call-sc.c: Likewise.
4886 * gdb.base/call-strs.c: Likewise.
4887 * gdb.base/ending-run.c: Likewise.
4888 * gdb.base/execd-prog.c: Likewise.
4889 * gdb.base/exprs.c: Likewise.
4890 * gdb.base/foll-exec.c: Likewise.
4891 * gdb.base/foll-fork.c: Likewise.
4892 * gdb.base/foll-vfork.c: Likewise.
4893 * gdb.base/funcargs.c: Likewise.
4894 * gdb.base/gcore.c: Likewise.
4895 * gdb.base/jump.c: Likewise.
4896 * gdb.base/langs0.c: Likewise.
4897 * gdb.base/langs1.c: Likewise.
4898 * gdb.base/langs2.c: Likewise.
4899 * gdb.base/mips_pro.c: Likewise.
4900 * gdb.base/nodebug.c: Likewise.
4901 * gdb.base/opaque0.c: Likewise.
4902 * gdb.base/opaque1.c: Likewise.
4903 * gdb.base/recurse.c: Likewise.
4904 * gdb.base/run.c: Likewise.
4905 * gdb.base/scope0.c: Likewise.
4906 * gdb.base/scope1.c: Likewise.
4907 * gdb.base/setshow.c: Likewise.
4908 * gdb.base/setvar.c: Likewise.
4909 * gdb.base/shmain.c: Likewise.
4910 * gdb.base/shr1.c: Likewise.
4911 * gdb.base/shr2.c: Likewise.
4912 * gdb.base/sigall.c: Likewise.
4913 * gdb.base/signals.c: Likewise.
4914 * gdb.base/so-indr-cl.c: Likewise.
4915 * gdb.base/solib2.c: Likewise.
4916 * gdb.base/structs.c: Likewise.
4917 * gdb.base/sum.c: Likewise.
4918 * gdb.base/vforked-prog.c: Likewise.
4919 * gdb.base/watchpoint.c: Likewise.
4920 * gdb.reverse/shr2.c: Likewise.
4921 * gdb.reverse/until-reverse.c: Likewise.
4922 * gdb.reverse/ur1.c: Likewise.
4923 * gdb.reverse/watch-reverse.c: Likewise.
4924
066a77c5
AA
49252014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4926
4927 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4928 variant.
4929 * gdb.base/sepdebug.exp: Drop references to removed code.
4930
4f204ea5
AA
49312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4932
4933 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4934 variant. Preserve original line numbering.
4935 * gdb.base/list1.c: Likewise.
4936
3b377a3a
AA
49372014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4938
4939 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4940 variant.
4941 * gdb.base/break1.c: Likewise.
4942 * gdb.base/break.exp: Drop references to removed code.
4943
e444df73
AA
49442014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4945
4946 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4947 variant.
4948
8008f2a7
AA
49492014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4950
4951 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4952
a5a06887
AA
49532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4954
4955 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4956 logic into perform_all_tests() and invoke it with and without
4957 function header prototypes.
4958 (do_function_calls): Remove conditional XFAIL for PR 5318.
4959 (rerun_and_prepare): Remove duplicate code.
4960 (perform_all_tests): New. Main logic moved here.
4961
44dba9b9
AA
49622014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4963
4964 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4965 code guarded by #ifdef NO_PROTOTYPES.
4966 (t_double_many_args): Likewise.
4967 (DEF_FUNC_MANY_ARGS_1): Likewise.
4968 (DEF_FUNC_VALUES_1): Likewise.
4969 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4970 guarded by #ifdef PROTOTYPES.
4971
d1fbcd56
AA
49722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4973
4974 * gdb.mi/mi-console.c: Add eye-catcher.
4975 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4976 instead of literal line number.
4977
b0e59b8f
AA
49782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4979
4980 * gdb.base/shr2.c: Add eye-catcher.
4981 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4982 line number.
4983
78f98cca
AA
49842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4985
4986 * gdb.base/jump.c: Add eye-catchers.
4987 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4988 numbers.
4989
58fa2af0
AA
49902014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4991
4992 * gdb.base/execd-prog.c: Add eye-catchers.
4993 * gdb.base/foll-exec.c: Likewise.
4994 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4995 line numbers.
4996
04e5059b
AA
49972014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4998
4999 * gdb.base/ending-run.c: Add eye-catchers.
5000 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5001 literal line numbers.
5002
dbfdb174
AA
50032014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5004
5005 * gdb.base/call-rt-st.c: Add eye-catchers.
5006 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5007 literal line numbers.
5008
888a2ade
AA
50092014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5010
5011 * gdb.base/call-ar-st.c: Add eye-catchers.
5012 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5013 literal line numbers.
5014
6acc2dde
AA
50152014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5016
5017 * gdb.base/average.c: Add eye-catchers.
5018 * gdb.base/sum.c: Likewise.
5019 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5020 regexps dynamically.
5021
9ecfcd1d
AA
50222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5023
5024 * gdb.base/solib1.c: Add eye-catchers.
5025 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5026 literal line numbers.
5027
78708b7c
PA
50282014-11-12 Pedro Alves <palves@redhat.com>
5029
5030 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5031 leader has exited.
5032
af48d08f
PA
50332014-11-12 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.arch/i386-bp_permanent.c: New file.
5036 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5037 (srcfile): Set to i386-bp_permanent.c.
5038 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5039 that stepi does not execute the 'leave' instruction, instead of
5040 testing it does execute.
5041 * gdb.base/bp-permanent.c: New file.
5042 * gdb.base/bp-permanent.exp: New file.
5043
af3768e9
DE
50442014-11-10 Doug Evans <xdje42@gmail.com>
5045
5046 PR symtab/17564
5047 * gdb.base/symtab-search-order.exp: New file.
5048 * gdb.base/symtab-search-order.c: New file.
5049 * gdb.base/symtab-search-order-1.c: New file.
5050 * gdb.base/symtab-search-order-shlib-1.c: New file.
5051
9de00a4a
PA
50522014-11-07 Pedro Alves <palves@redhat.com>
5053
5054 PR gdb/17511
5055 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5056 i?86-*-linux*.
5057
e0f52461
SC
50582014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5059
5060 PR c++/17494
5061 * gdb.cp/pr17494.cc: New file.
5062 * gdb.cp/pr17494.exp: New file.
5063
6ce8c980
YQ
50642014-11-02 Yao Qi <yao@codesourcery.com>
5065
5066 * gdb.python/python.exp: Get working directory and match the
5067 output of "set extended-prompt \\w " with it.
5068
02be9a71
DE
50692014-10-30 Doug Evans <dje@google.com>
5070
5071 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5072 in objfiles.
5073 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5074 in progspaces.
5075
3bdff46b
LM
50762014-10-30 Janis Johnson <janisjo@codesourcery.com>
5077
5078 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5079 * gdb.base/realname-expand.exp: Likewise.
5080 * gdb.linespec/macro-relative.exp: Likewise.
5081
ab917dfb
PA
50822014-10-29 Pedro Alves <palves@redhat.com>
5083
5084 PR gdb/17408
5085 * gdb.threads/schedlock.c (some_function): New function.
5086 (call_function): New global.
5087 (MAYBE_CALL_SOME_FUNCTION): New macro.
5088 (thread_function): Call it.
5089 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5090 and use it instead of a global counter. Adjust all callers.
5091 (get_current_thread): Use "find current thread" for test message
5092 here rather than having all callers pass down the same string.
5093 (goto_loop): New procedure, factored out from ...
5094 (my_continue): ... this.
5095 (step_ten_loops): Change parameter from test message to command to
5096 use. Adjust.
5097 (list_count): Delete global.
5098 (check_result): New procedure, factored out from duplicate top
5099 level code.
5100 (continue tests): Wrap in with_test_prefix.
5101 (test_step): New procedure, factored out from duplicate top level
5102 code.
5103 (top level): Test "step" in combination with all scheduler-locking
5104 modes. Test "next" in combination with all scheduler-locking
5105 modes, and in combination with stepping over a function call or
5106 not.
5107 * gdb.threads/next-bp-other-thread.c: New file.
5108 * gdb.threads/next-bp-other-thread.exp: New file.
5109
d3d4baed
PA
51102014-10-29 Pedro Alves <palves@redhat.com>
5111
5112 PR python/17372
5113 * gdb.python/python.exp: Test a multi-line command that spawns
5114 interactive Python.
5115 * gdb.base/multi-line-starts-subshell.exp: New file.
5116
563e8d85
YQ
51172014-10-29 Yao Qi <yao@codesourcery.com>
5118
5119 * gdb.base/fileio.exp: Make directories on host.
5120
0ea4d52e
YQ
51212014-10-29 Yao Qi <yao@codesourcery.com>
5122
5123 * gdb.base/fileio.c (test_write): Close the file.
5124
7f5ef605
PA
51252014-10-28 Pedro Alves <palves@redhat.com>
5126
5127 PR gdb/12623
5128 * gdb.base/sigstep.c (no_handler): New global.
5129 (main): If 'no_handler is true, set the signal handlers to
5130 SIG_IGN.
5131 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5132 with_sw_watch and no_handler parameters. Handle them.
5133 (top level) <stepping over handler when stopped at a breakpoint
5134 test>: Add a test axis for testing with a software watchpoint, and
5135 another for testing with the signal handler set to SIG_IGN.
5136 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5137 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5138
abbdbd03
PA
51392014-10-28 Pedro Alves <palves@redhat.com>
5140
5141 PR gdb/17511
5142 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5143 * gdb.base/sigstep.exp (other_handler_location): New global.
5144 (advance): Support stepping into the signal handler, and running
5145 commands while in the handler.
5146 (in_handler_map): New global.
5147 (top level): In the advance test, add combinations for getting
5148 into the handler with stepping commands, and for running commands
5149 in the handler. Add comment descripting the advancei tests.
5150
1df4399f
PA
51512014-10-28 Pedro Alves <palves@redhat.com>
5152
5153 * gdb.base/sigstep.exp: Use build_executable instead of
5154 prepare_for_testing.
5155 (top level): Move code that starts GDB, runs to main and creates a
5156 display to ...
5157 (restart): ... this new procedure.
5158 (top level): Move backtrace from signal handler test to ...
5159 (validate_backtrace): ... this new procedure.
5160 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5161 with_test_prefix. Always restart GDB.
5162 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5163 with_test_prefix. Always restart GDB. No need to delete
5164 breakpoints after the test.
5165 (test_skip_handler): Remove prefix parameter.
5166 (skip_over_handler, breakpoint_to_handler)
5167 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5168 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5169 restart GDB. No need to delete breakpoints after the test.
5170 (top level): Use foreach to call the test procedures with
5171 different commands.
5172
a5b6e449
PA
51732014-10-28 Pedro Alves <palves@redhat.com>
5174
5175 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5176 instead of GNATS numbers.
5177 * gdb.base/sigbpt.exp: Likewise.
5178 * gdb.base/siginfo.exp: Likewise.
5179 * gdb.base/sigstep.exp: Likewise.
5180
e5f8a7cc
PA
51812014-10-27 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.base/sigstep.c (dummy): New global.
5184 (main): Issue a couple writes to the new global.
5185 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5186 procedures.
5187 (skip_over_handler): Use test_skip_handler.
5188 (top level): Call skip_over_handler for stepi and nexti too.
5189 (breakpoint_over_handler): Use test_skip_handler.
5190 (top level): Call breakpoint_over_handler for stepi and nexti too.
5191
763905a3
YQ
51922014-10-27 Yao Qi <yao@codesourcery.com>
5193
5194 * gdb.trace/tfile.c (adjust_function_address)
5195 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5196 function descriptor.
5197
6f259a23
DB
51982014-10-24 Don Breazeal <donb@codesourcery.com>
5199
5200 * gdb.base/foll-fork.exp (test_follow_fork,
5201 catch_fork_child_follow): Check for updated fork messages emitted
5202 from infrun.c.
5203 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5204 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5205 vfork_and_exec_child_follow_through_step): Check for updated vfork
5206 messages emitted from infrun.c.
5207
09dd9a69
PA
52082014-10-24 Pedro Alves <palves@redhat.com>
5209
5210 * gdb.base/corefile.exp: Remove references to ultrix.
5211 * gdb.base/interrupt.exp: Likewise.
5212 * gdb.base/whatis.exp: Likewise.
5213 * gdb.gdb/selftest.exp: Likewise.
5214 * gdb.threads/manythreads.exp: Likewise.
5215 * gdb.threads/print-threads.exp: Likewise.
5216 * gdb.threads/pthreads.exp:: Likewise.
5217 * gdb.threads/schedlock.exp: Likewise.
5218
3433cfa5
SC
52192014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5220
5221 * gdb.cp/non-trivial-retval.cc: Add a test case.
5222 * gdb.cp/non-trivial-retval.exp: Add a test.
5223
092f880b
YQ
52242014-10-20 Yao Qi <yao@codesourcery.com>
5225
5226 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5227 * gdb.python/py-objfile-script-gdb.py: New file.
5228 * gdb.python/py-objfile-script.exp: Update reference to
5229 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5230 of remote_download. Remove the dest file.
5231
acbdb7f3
YQ
52322014-10-20 Yao Qi <yao@codesourcery.com>
5233
5234 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5235 * gdb.base/step-line.exp: Likewise.
5236 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5237 * gdb.dwarf2/dw2-basic.exp: Likewise.
5238 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5239 * gdb.dwarf2/dw2-filename.exp: Likewise.
5240 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5241 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5242 * gdb.dwarf2/dw2-producer.exp: Likewise.
5243 * gdb.dwarf2/mac-fileno.exp: Likewise.
5244 * gdb.python/py-frame-args.exp: Likewise.
5245 * gdb.python/py-framefilter.exp: Likewise.
5246 * gdb.python/py-mi.exp: Likewise.
5247 * gdb.python/py-objfile-script.exp: Likewise
5248 * gdb.python/py-pp-integral.exp: Likewise.
5249 * gdb.python/py-pp-re-notag.exp: Likewise.
5250 * gdb.python/py-prettyprint.exp: Likewise.
5251 * gdb.python/py-section-script.exp: Likewise.
5252 * gdb.python/py-typeprint.exp: Likewise.
5253 * gdb.python/py-xmethods.exp: Likewise.
5254 * gdb.stabs/weird.exp: Likewise.
5255 * gdb.xml/tdesc-regs.exp: Likewise.
5256
bd286a29
KCY
52572014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5258
5259 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5260 (out_cu): Use addr_len for the size of addresses.
5261 (out_line): Likewise. Size DW_LNE_set_address instruction
5262 according to addr_len.
5263 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5264 (FUNC): Add START_INSNS to definition.
5265
673dc4a0
YQ
52662014-10-18 Yao Qi <yao@codesourcery.com>
5267
5268 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5269 gdb_has_argv0 return true.
5270 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5271 check [target_info exists noargs], check [gdb_has_argv0]
5272 instead.
5273 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5274 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5275 procedures.
5276
4ffbba72
DE
52772014-10-17 Doug Evans <dje@google.com>
5278
5279 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5280 event.
5281 * gdb.python/py-events.py: Add clear_objfiles event.
5282
d096d8c1
DE
52832014-10-17 Doug Evans <dje@google.com>
5284
5285 * gdb.python/py-objfile.exp: Test progspace attribute.
5286
a80db015
LM
52872014-10-17 Luis Machado <lgustavo@codesourcery.com>
5288
5289 * gdb.guile/scm-breakpoint.exp: Do not assume any
5290 directory separators when matching source file paths.
5291 * gdb.python/py-breakpoint.exp: Likewise.
5292 * gdb.reverse/break-precsave.exp: Likewise.
5293 * gdb.reverse/break-reverse.exp: Likewise.
5294 * gdb.reverse/consecutive-precsave.exp: Likewise.
5295 * gdb.reverse/finish-precsave.exp: Likewise.
5296 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5297 * gdb.reverse/finish-reverse.exp: Likewise.
5298 * gdb.reverse/i386-precsave.exp: Likewise.
5299 * gdb.reverse/i387-env-reverse.exp: Likewise.
5300 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5301 * gdb.reverse/machinestate-precsave.exp: Likewise.
5302 * gdb.reverse/machinestate.exp: Likewise.
5303 * gdb.reverse/sigall-precsave.exp: Likewise.
5304 * gdb.reverse/solib-precsave.exp: Likewise.
5305 * gdb.reverse/step-precsave.exp: Likewise.
5306 * gdb.reverse/until-precsave.exp: Likewise.
5307 * gdb.reverse/watch-precsave.exp: Likewise.
5308 * gdb.reverse/watch-reverse.exp: Likewise.
5309
b22089ab
YQ
53102014-10-17 Yao Qi <yao@codesourcery.com>
5311
5312 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5313 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5314
6c4486e6
PA
53152014-10-17 Pedro Alves <palves@redhat.com>
5316
5317 PR gdb/17471
5318 * gdb.base/bg-execution-repeat.c: New file.
5319 * gdb.base/bg-execution-repeat.exp: New file.
5320
0ff33695
PA
53212014-10-17 Pedro Alves <palves@redhat.com>
5322
5323 PR gdb/17300
5324 * gdb.base/continue-all-already-running.c: New file.
5325 * gdb.base/continue-all-already-running.exp: New file.
5326
6fdebc3d
PA
53272014-10-17 Pedro Alves <palves@redhat.com>
5328
5329 PR gdb/17472
5330 * gdb.base/annota-input-while-running.c: New file.
5331 * gdb.base/annota-input-while-running.exp: New file.
5332
32a8097b
PA
53332014-10-17 Pedro Alves <palves@redhat.com>
5334
5335 * gdb.base/callfuncs.exp: emove references to osf.
5336 * gdb.base/sigall.exp: Likewise.
5337 * gdb.gdb/selftest.exp: Likewise.
5338 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5339 * gdb.mi/non-stop.c: Likewise.
5340 * gdb.mi/pthreads.c: Likewise.
5341 * gdb.reverse/sigall-precsave.exp: Likewise.
5342 * gdb.reverse/sigall-reverse.exp: Likewise.
5343 * gdb.threads/pthreads.c: Likewise.
5344 * gdb.threads/pthreads.exp: Likewise.
5345
7a3517ff
YQ
53462014-10-17 Yao Qi <yao@codesourcery.com>
5347
5348 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5349 check 'target_info exists noargs'.
5350 (test_command_prompt_position): Likewise.
5351 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5352 Remove "set args".
5353 (progvar_simple_while_test): Likewise.
5354 (progvar_complex_if_while_test): Likewise.
5355 (if_while_breakpoint_command_test): Likewise.
5356 (infrun_breakpoint_command_test): Likewise.
5357 (breakpoint_command_test): Likewise.
5358 (watchpoint_command_test): Likewise.
5359 (bp_deleted_in_command_test): Likewise.
5360 (temporary_breakpoint_commands): Likewise.
5361
bb99c472
YQ
53622014-10-16 Yao Qi <yao@codesourcery.com>
5363
5364 * gdb.base/remotetimeout.exp: Remove noargs checking.
5365
7c16b83e
PA
53662014-10-15 Pedro Alves <palves@redhat.com>
5367
5368 PR breakpoints/9649
5369 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5370 * gdb.base/breakpoint-in-ro-region.exp
5371 (probe_target_hardware_step): New procedure.
5372 (top level): Probe hardware stepping and hardware breakpoint
5373 support. Test stepping through a read-only region, with both
5374 "breakpoint auto-hw" on and off and both "always-inserted" on and
5375 off.
5376
35a49624
IB
53772014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5378
5379 * gdb.dlang/demangle.exp: Update for demangling changes.
5380
2d1c107c
SC
53812014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5382
5383 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5384 * gdb.cp/non-trivial-retval.exp: Add new tests.
5385
778811d5
SC
53862014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5387
5388 PR c++/13403
5389 PR c++/15154
5390 * gdb.cp/non-trivial-retval.cc: New file.
5391 * gdb.cp/non-trivial-retval.exp: New file.
5392
10c5f0a8
YQ
53932014-10-15 Yao Qi <yao@codesourcery.com>
5394
5395 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5396 remote host.
5397
65d7b369
YQ
53982014-10-15 Yao Qi <yao@codesourcery.com>
5399
5400 * gdb.python/py-symbol.exp: Match file base name if host is
5401 remote, otherwise match file name with dir name.
5402 * gdb.python/py-symtab.exp: Likewise.
5403 * gdb.python/python.exp: Likewise.
5404
46dc1394
YQ
54052014-10-15 Yao Qi <yao@codesourcery.com>
5406
5407 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5408 pattern.
5409 * gdb.python/py-symtab.exp: Likewise.
5410 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5411 locationn.
5412
c40cc657
JB
54132014-10-14 Joel Brobecker <brobecker@adacore.com>
5414
5415 * gdb.ada/addr_arith: New testcase.
5416
2abf49e1
MR
54172014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5418
5419 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5420 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5421 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5422 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5423
f7088df3
SDJ
54242014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5425
5426 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5427 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5428 * gdb.arch/stap-eval-lang-ada.exp: New file.
5429
4dc06805
YQ
54302014-10-14 Yao Qi <yao@codesourcery.com>
5431
5432 * gdb.mi/mi-var-child.c (nothing1): New function.
5433 (nothing2): New function.
5434 (do_children_tests): Set function pointers by nothing1 and
5435 nothing2.
5436 * gdb.mi/mi-var-child.exp: Step over new added statements.
5437 Update test to match the new output.
5438 * gdb.mi/var-cmd.c (nothing1): New function.
5439 (nothing2): New function.
5440 (do_children_tests): Set function pointers by nothing1 and
5441 nothing2.
5442 * gdb.mi/mi-var-display.exp: Update test to match output.
5443 Step to the line specified by $line_dct_nothing.
5444 Increase the number of lines to step.
5445
46a93de2
YQ
54462014-10-14 Yao Qi <yao@codesourcery.com>
5447
5448 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5449 tests.
5450 * gdb.mi/mi2-var-child.exp: Likewise.
5451
14ea52ee
DE
54522014-10-13 Doug Evans <dje@google.com>
5453
5454 * gdb.python/py-objfile.exp: Change name of file name test.
5455
e5c6e92b
DE
54562014-10-13 Doug Evans <dje@google.com>
5457
5458 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5459 from the start of the CU.
5460
c780cc2f
JK
54612014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5462 Yao Qi <yao@codesourcery.com>
5463
5464 Fix "save breakpoints" for "catch" command.
5465 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5466 Remove -nonewline. Match also the added "main" line.
5467
99894e11
JK
54682014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5469
5470 Fix "save breakpoints" for "disable $bpnum" command.
5471 * gdb.base/save-bp.c (main): Add label.
5472 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5473
6e1ac5a3
JK
54742014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5475
5476 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5477
754dd2b0
YQ
54782014-10-11 Yao Qi <yao@codesourcery.com>
5479
5480 * gdb.server/server-kill.exp: Execute command
5481 "set remote trace-status-packet on" before "tstatus".
5482
f90183d7
YQ
54832014-10-11 Yao Qi <yao@codesourcery.com>
5484
5485 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5486 (main): Call getppid.
5487 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5488 and continue to it. Read variable "server_pid".
5489
bf40a607
YQ
54902014-10-11 Yao Qi <yao@codesourcery.com>
5491
5492 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5493
052ca370
YQ
54942014-10-11 Yao Qi <yao@codesourcery.com>
5495
5496 * gdb.threads/thread-find.exp: Don't execute command
5497 "info threads".
5498 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5499 * gdb.threads/linux-dp.exp: Don't check the condition
5500 $threads_created equals to zero.
5501
3831839c
PA
55022014-10-10 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.base/bigcore.exp: Remove references to IRIX.
5505 * gdb.base/funcargs.exp: Likewise.
5506 * gdb.base/interrupt.exp: Likewise.
5507 * gdb.base/mips_pro.exp: Likewise.
5508 * gdb.base/nodebug.exp: Likewise.
5509 * gdb.base/setvar.exp: Likewise.
5510 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5511
8b9a549d
PA
55122014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5513 Pedro Alves <palves@redhat.com>
5514
5515 PR symtab/14466
5516 * gdb.base/vdso-warning.c: New file.
5517 * gdb.base/vdso-warning.exp: New file.
5518
d48ba5e8
DE
55192014-10-02 Doug Evans <dje@google.com>
5520
5521 * gdb.base/structs.c (main): Don't run forever.
5522
2278c276
PA
55232014-10-02 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5526 (top level) <stop threads 1, stop threads 2>: Use it.
5527
b57bacec
PA
55282014-10-02 Pedro Alves <palves@redhat.com>
5529
5530 * gdb.threads/break-while-running.exp (test): Add new
5531 'update_thread_list' argument. Skip "info threads" if false.
5532 (top level): Add new 'update_thread_list' axis.
5533
13fd3ff3
PA
55342014-10-02 Pedro Alves <palves@redhat.com>
5535
5536 PR breakpoints/17431
5537 * gdb.base/execl-update-breakpoints.c: New file.
5538 * gdb.base/execl-update-breakpoints.exp: New file.
5539
0fec99e8
PA
55402014-10-01 Pedro Alves <palves@redhat.com>
5541
5542 * gdb.base/breakpoint-in-ro-region.c: New file.
5543 * gdb.base/breakpoint-in-ro-region.exp: New file.
5544
2ddf4301
SM
55452014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5546
5547 * gdb.mi/mi-exit-code.exp: New file.
5548 * gdb.mi/mi-exit-code.c: New file.
5549
6a5f3f43
YQ
55502014-09-30 Yao Qi <yao@codesourcery.com>
5551
5552 * lib/prelink-support.exp (build_executable_own_libs): Error if
5553 the target isn't native.
5554
345bcc73
YQ
55552014-09-30 Yao Qi <yao@codesourcery.com>
5556
5557 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5558 false.
5559
a25a5a45
PA
55602014-09-22 Pedro Alves <palves@redhat.com>
5561
5562 * gdb.threads/break-while-running.exp: New file.
5563 * gdb.threads/break-while-running.c: New file.
5564
00ba3162
YQ
55652014-09-19 Yao Qi <yao@codesourcery.com>
5566
5567 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5568 Invoke test. Restart GDB with --readnow and invoke test again.
5569
c3b7b696
YQ
55702014-09-19 Yao Qi <yao@codesourcery.com>
5571
5572 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5573 proc set_breakpoint_on_gcd_function. Invoke
5574 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5575 invoke set_breakpoint_on_gcd_function again.
5576
2b4fd423
DE
55772014-09-18 Doug Evans <dje@google.com>
5578
5579 * gdb.dwarf2/symtab-producer.exp: New file.
5580
a5947601
SDJ
55812014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5582
5583 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5584 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5585 * gdb.base/global-var-nested-by-dso.c: Likewise.
5586 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5587
91c19059
SDJ
55882014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5589 Pedro Alves <palves@redhat.com>
5590
5591 * gdb.base/watch-bitfields.exp: Pass string other than test file
5592 name to prepare_for_testing.
5593 (watch): New procedure.
5594 (expect_watchpoint): Use with_test_prefix.
5595 (top level): Factor out tests to ...
5596 (test_watch_location, test_regular_watch): ... these new
5597 procedures, and use with_test_prefix and gdb_continue_to_end.
5598
bb9d5f81
PP
55992014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5600
5601 PR breakpoints/12526
5602 * gdb.base/watch-bitfields.exp: New file.
5603 * gdb.base/watch-bitfields.c: New file.
5604
635856f5
PA
56052014-09-16 Pedro Alves <palves@redhat.com>
5606
5607 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5608 software and hardware addresses, not software address against
5609 itself.
5610
7280ceea
PA
56112014-09-16 Pedro Alves <palves@redhat.com>
5612
5613 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5614 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5615
428b16bd
PA
56162014-09-16 Pedro Alves <palves@redhat.com>
5617
5618 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5619 files.
5620 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5621 "*-*-vxworks*" throughout.
5622 * gdb.base/break.exp: Likewise.
5623 * gdb.base/default.exp: Likewise.
5624 * gdb.base/scope.exp: Likewise.
5625 * gdb.base/sepdebug.exp: Likewise.
5626 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5627 throughout.
5628 * gdb.base/run.c: Likewise.
5629 * gdb.base/sepdebug.c: Likewise.
5630 * gdb.hp/gdb.aCC/run.c: Likewise.
5631 * gdb.reverse/until-reverse.c: Likewise.
5632 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5633
666d413c
YQ
56342014-09-16 Yao Qi <yao@codesourcery.com>
5635
5636 * boards/local-remote-host-native.exp: New file.
5637
57cbd724
DE
56382014-09-14 Doug Evans <xdje42@gmail.com>
5639
5640 * gdb.threads/queue-signal.c (thread_count): New variable.
5641 (thread_count_mutex, thread_count_condvar): New variables.
5642 (incr_thread_count, wait_all_threads_running): New functions.
5643 (main): Wait for all threads to be in their thread functions.
5644
81219e53
DE
56452014-09-13 Doug Evans <xdje42@gmail.com>
5646
5647 * gdb.threads/queue-signal.c: New file.
5648 * gdb.threads/queue-signal.exp: New file.
5649
3714cea7
DE
56502014-09-13 Doug Evans <xdje42@gmail.com>
5651
5652 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5653 be consistent with what default_gdb_init uses.
5654 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5655 the plain text of the prompt. Add some logging printfs.
5656 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5657
fa43b1d7
PA
56582014-09-12 Pedro Alves <palves@redhat.com>
5659
5660 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5661 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5662 * gdb.arch/i386-size-overlap.exp: Likewise.
5663 * gdb.arch/i386-size.exp: Likewise.
5664 * gdb.arch/i386-unwind.exp: Likewise.
5665 * gdb.base/a2-run.exp: Likewise.
5666 * gdb.base/break.exp: Likewise.
5667 * gdb.base/charset.exp: Likewise.
5668 * gdb.base/chng-syms.exp: Likewise.
5669 * gdb.base/commands.exp: Likewise.
5670 * gdb.base/dbx.exp: Likewise.
5671 * gdb.base/find.exp: Likewise.
5672 * gdb.base/funcargs.exp: Likewise.
5673 * gdb.base/jit-simple.exp: Likewise.
5674 * gdb.base/reread.exp: Likewise.
5675 * gdb.base/sepdebug.exp: Likewise.
5676 * gdb.base/step-bt.exp: Likewise.
5677 * gdb.cp/mb-inline.exp: Likewise.
5678 * gdb.cp/mb-templates.exp: Likewise.
5679 * gdb.objc/basicclass.exp: Likewise.
5680 * gdb.threads/killed.exp: Likewise.
5681
9d9bf2df
EBM
56822014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5683
5684 PR tdep/17379
5685 * gdb.arch/powerpc-stackless.S: New file.
5686 * gdb.arch/powerpc-stackless.exp: New file.
5687
1cf2f1b0
JK
56882014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5689
5690 * gdb.base/attach.c: Include unistd.h.
5691 (main): Call alarm. Add label postloop.
5692 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5693 gdb_breakpoint, gdb_continue_to_breakpoint.
5694 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5695
98880d46
PA
56962014-09-11 Pedro Alves <palves@redhat.com>
5697
5698 PR gdb/17347
5699 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5700 * gdb.base/attach.exp (test_command_line_attach_run): New
5701 procedure.
5702 (top level): Call it.
5703
4c92ff2c
PA
57042014-09-11 Pedro Alves <palves@redhat.com>
5705
5706 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5707 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5708 (do_command_attach_tests): Use spawn_wait_for_attach.
5709 * gdb.base/solib-overlap.exp: Likewise.
5710 * gdb.multi/multi-attach.exp: Likewise.
5711 * gdb.python/py-prompt.exp: Likewise.
5712 * gdb.python/py-sync-interp.exp: Likewise.
5713 * gdb.server/ext-attach.exp: Likewise.
5714
3adc1a7d
GKB
57152014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5716
5717 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5718 command in testcase. Simplify testcase.
5719
96334934
JB
57202014-09-10 Joel Brobecker <brobecker@adacore.com>
5721
5722 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5723
eb479039
JB
57242014-09-10 Joel Brobecker <brobecker@adacore.com>
5725
5726 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5727
deede10c
JB
57282014-09-10 Joel Brobecker <brobecker@adacore.com>
5729
5730 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5731
7828a5f5
JB
57322014-09-10 Joel Brobecker <brobecker@adacore.com>
5733
5734 * gdb.dwarf2/dynarr-ptr.c: New file.
5735 * gdb.dwarf2/dynarr-ptr.exp: New file.
5736
33aeebcf
MR
57372014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5738
5739 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5740 of 30 rather than hardcoding 120 for a slow test case. Take the
5741 `gdb,timeout' target setting into account for this calculation.
5742 Don't extend the timeout for the test cases that don't need it.
5743
7b415901
MR
57442014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5745
5746 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5747 a factor of 2 for a slow test case. Take the `gdb,timeout'
5748 target setting into account for this calculation.
5749 * gdb.reverse/until-precsave.exp: Increase the timeout by
5750 a factor of 15 and 3 respectively rather than adding 120
5751 for a pair of slow test cases. Take the `gdb,timeout'
5752 target setting into account for this calculation.
5753
4a40f85a
MR
57542014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5755
5756 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5757 timeout, don't pass one down to gdb_expect.
5758 (gdb_expect): Rework timeout selection.
5759
09635af7
MR
57602014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5761
5762 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5763 exception on timeout.
5764 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5765 (gdbserver_start_extended): Catch any `gdbserver_start' error
5766 exceptions.
5767 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5768 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5769 `gdbserver_gdb_load' error exceptions.
5770
2bdd10b7
MR
57712014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5772
5773 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5774 120 on waiting for the TCP socket to open.
5775
316935f0
DE
57762014-09-09 Doug Evans <xdje42@gmail.com>
5777
5778 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5779 _caller_matches, _any_caller_is, _any_caller_matches.
5780
83740597
DE
57812014-09-09 Doug Evans <xdje42@gmail.com>
5782
5783 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5784
4c122fc3
YQ
57852014-09-09 Yao Qi <yao@codesourcery.com>
5786
5787 * gdb.mi/mi-var-display.exp: Set print symbol off.
5788
a9f116cb
GKB
57892014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5790
5791 PR gdb/17035
5792 * gdb.base/commands.exp: Add tests to verify user-defined
5793 commands with empty bodies.
5794 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5795 python commands in `show user command`.
5796 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5797 scheme commands in `show user command`.
5798
c75bd3a2
JK
57992014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5800
5801 PR python/17355
5802 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5803 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5804 * gdb.python/py-framefilter-invalidarg.exp: New file.
5805 * gdb.python/py-framefilter-invalidarg.py: New file.
5806
faa42425
DE
58072014-09-06 Doug Evans <xdje42@gmail.com>
5808
5809 PR 15276
5810 * gdb.python/py-caller-is.c: New file.
5811 * gdb.python/py-caller-is.exp: New file.
5812
474ca4f6
SDJ
58132014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5814
5815 PR gdb/17235
5816 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5817 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5818
eb0b0463
SDJ
58192014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5820
5821 PR fortran/17237
5822 * gdb.fortran/print-formatted.exp: New file.
5823 * gdb.fortran/print-formatted.f90: Likewise.
5824
5f3b99cf
SS
58252014-09-03 Sasha Smundak <asmundak@google.com>
5826
5827 * gdb.python/py-frame.exp: Test Frame.read_register.
5828
7d793aa9
SDJ
58292014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5830
5831 PR python/16699
5832 * gdb.python/py-completion.exp: New file.
5833 * gdb.python/py-completion.py: Likewise.
5834
fb0576e9
DE
58352014-08-28 Doug Evans <dje@google.com>
5836
5837 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5838 eax,etc. are live with values set by gdb and thus the compiler can't
5839 use them.
5840 * gdb.arch/i386-pseudo.c (main): Ditto.
5841
ee92b0dd
DE
58422014-08-27 Doug Evans <dje@google.com>
5843
5844 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5845
6649db35
DE
58462014-08-25 Doug Evans <dje@google.com>
5847
5848 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5849 (main): Ditto.
5850
564b7600
DE
58512014-08-25 Doug Evans <dje@google.com>
5852
5853 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5854
3881fb67
YQ
58552014-08-24 Yao Qi <yao@codesourcery.com>
5856
5857 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5858 symbol off.
5859 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5860
a05a36a5
DE
58612014-08-22 Doug Evans <dje@google.com>
5862
5863 PR 17276
5864 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5865 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5866 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5867
7c343b48
YQ
58682014-08-22 Yao Qi <yao@codesourcery.com>
5869
5870 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5871 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5872 * gdb.python/python.exp: Likewise. Use .py file on the host
5873 instead of the build.
5874
22fd09ae
JK
58752014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5876
5877 * gdb.threads/gcore-stale-thread.c: New file.
5878 * gdb.threads/gcore-stale-thread.exp: New file.
5879
a8454a7c
PA
58802014-08-21 Pedro Alves <palves@redhat.com>
5881
5882 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5883 * gdb.base/gcore-relro-pie.exp: Likewise.
5884 * gdb.base/gcore-relro.exp: Likewise.
5885 * gdb.base/gcore.exp: Likewise.
5886 * gdb.base/print-symbol-loading.exp: Likewise.
5887 * gdb.threads/gcore-thread.exp: Likewise.
5888 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5889
2a31c623
PA
58902014-08-20 Pedro Alves <palves@redhat.com>
5891 Jan Kratochvil <jan.kratochvil@redhat.com>
5892
5893 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5894 configure.
5895 (EXPECT): Handle READ1 being set.
5896 (all): Depend on EXTRA_RULES.
5897 (check-read1, expect-read1, read1.so, read1): New rules.
5898 * README (Testsuite Parameters): Document the READ1 make variable.
5899 (Race detection): New section.
5900 * configure: Regenerate.
5901 * configure.ac: If build==host==target, and running under a
5902 GNU/glibc system, add read1 to the extra Makefile rules.
5903 (EXTRA_RULES): AC_SUBST it.
5904 * lib/read1.c: New file.
5905
d36430db
JB
59062014-08-20 Joel Brobecker <brobecker@adacore.com>
5907
5908 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5909 the handling of variables declared as a typedef to an array
5910 which a DW_AT_data_location attribute.
5911
9a0dc9e3
PA
59122014-08-19 Andrew Burgess <aburgess@broadcom.com>
5913 Pedro Alves <palves@redhat.com>
5914
5915 PR symtab/14604
5916 PR symtab/14605
5917 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5918 gdb_test.
5919
0718a8da
PA
59202014-08-19 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5923
13b448cd
YQ
59242014-08-19 Yao Qi <yao@codesourcery.com>
5925
5926 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5927 right line.
5928
1cbf5077
DB
59292014-08-18 David Blaikie <dblaikie@gmail.com>
5930
5931 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5932
bf0fae19
JB
59332014-08-18 Joel Brobecker <brobecker@adacore.com>
5934
5935 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5936 attribute in array range.
5937
3c8c5dcc
JB
59382014-08-18 Joel Brobecker <brobecker@adacore.com>
5939
5940 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5941
e66d4446
SC
59422014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5943
5944 PR c++/17132
5945 * gdb.cp/pr17132.cc: New file.
5946 * gdb.cp/pr17132.exp: New file.
5947
940df408
SC
59482014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5949
5950 * gdb.python/py-xmethods.py (A_getarrayind)
5951 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5952 Use 'print' with function call syntax.
5953 (E_method_matcher.match): Fix tab vs space indentation mixup.
5954
ebcc6c3a
YQ
59552014-08-15 Yao Qi <yao@codesourcery.com>
5956
5957 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5958 false.
5959
775e0f04
YQ
59602014-08-15 Yao Qi <yao@codesourcery.com>
5961
5962 * gdb.cp/casts.exp: Set print symbol off.
5963 * gdb.cp/class2.exp: Likewise.
5964 * gdb.cp/overload.exp: Likewise.
5965 * gdb.cp/templates.exp: Likewise.
5966
d769e349
DE
59672014-08-11 Doug Evans <dje@google.com>
5968
5969 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5970 (test_load_shlib): Update.
5971
20c6f1e1
YQ
59722014-08-09 Yao Qi <yao@codesourcery.com>
5973
5974 * gdb.base/display.exp: Invoke is_address_zero_readable.
5975 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5976 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5977 * gdb.base/hbreak-unmapped.exp: Return if
5978 is_address_zero_readable returns true.
5979 * gdb.base/signest.exp: Likewise.
5980 * gdb.base/signull.exp: Likewise.
5981 * gdb.base/sigbpt.exp: Likewise.
5982 * gdb.guile/scm-disasm.exp: Do the test if
5983 is_address_zero_readable returns false.
5984 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5985 * gdb.python/py-arch.exp: Likewise.
5986 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5987 * lib/gdb.exp (is_address_zero_readable): New proc.
5988
5792e8e3
YQ
59892014-08-09 Yao Qi <yao@codesourcery.com>
5990
5991 PR testsuite/13443
5992 * gdb.mi/mi-var-display.exp: Make test messages unique.
5993
3cecbbbe
TT
59942014-08-04 Tom Tromey <tromey@redhat.com>
5995
5996 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5997 target 0".
5998
00b51ff5
TT
59992014-08-04 Tom Tromey <tromey@redhat.com>
6000
6001 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6002 "target_resume".
6003
6908c509
JB
60042014-08-01 Joel Brobecker <brobecker@adacore.com>
6005
6006 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6007 inner_vla_struct_object_size.
6008 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6009 as xfail.
6010
cc6563d2
PA
60112014-07-30 Pedro Alves <palves@redhat.com>
6012
6013 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6014 comment.
6015
7e09a223
YQ
60162014-07-29 Yao Qi <yao@codesourcery.com>
6017
6018 PR gdb/17206
6019 * gdb.base/until-nodebug.exp: New.
6020
7ebdbe92
DE
60212014-07-28 Doug Evans <xdje42@gmail.com>
6022
6023 PR guile/17203
6024 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6025 previously existing parameter, and previously ambiguously spelled
6026 parameter.
6027
fdb1adc6
WN
60282014-07-28 Will Newton <will.newton@linaro.org>
6029
6030 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6031
186fcde0
DE
60322014-07-26 Ludovic Courtès <ludo@gnu.org>
6033 Doug Evans <xdje42@gmail.com>
6034
6035 PR guile/17146
6036 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6037
70509625
PA
60382014-07-25 Pedro Alves <palves@redhat.com>
6039
6040 * gdb.threads/signal-command-handle-nopass.c: New file.
6041 * gdb.threads/signal-command-handle-nopass.exp: New file.
6042 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6043 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6044 * gdb.threads/signal-delivered-right-thread.c: New file.
6045 * gdb.threads/signal-delivered-right-thread.exp: New file.
6046
c3f814a1
PA
60472014-07-25 Pedro Alves <palves@redhat.com>
6048
6049 * gdb.base/double-prompt-target-event-error.exp
6050 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6051 match.
6052 (cancel_pagination_in_target_event): Rework double prompt
6053 detection.
6054 * gdb.base/paginate-after-ctrl-c-running.exp
6055 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6056 <return>' match.
6057 * gdb.base/paginate-bg-execution.exp
6058 (test_bg_execution_pagination_return)
6059 (test_bg_execution_pagination_cancel): Remove '-notransfer
6060 <return>' matches.
6061 * gdb.base/paginate-execution-startup.exp
6062 (test_fg_execution_pagination_return)
6063 (test_fg_execution_pagination_cancel): Remove '-notransfer
6064 <return>' matches.
6065 * gdb.base/paginate-inferior-exit.exp
6066 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6067 match.
6068 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6069 * lib/gdb.exp (pagination_prompt): Run text through
6070 string_to_regexp.
6071 (gdb_test_multiple): Match $pagination_prompt instead of
6072 "<return>".
6073 (string_to_regexp): Move to lib/gdb-utils.exp.
6074
e214cf6c
JK
60752014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6076
6077 * gdb.arch/amd64-entry-value-paramref.S: New file.
6078 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6079 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6080 * gdb.arch/amd64-optimout-repeat.S: New file.
6081 * gdb.arch/amd64-optimout-repeat.c: New file.
6082 * gdb.arch/amd64-optimout-repeat.exp: New file.
6083
17d0c5c8
JK
60842014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6085
6086 PR gdb/17170
6087 * gdb.base/statistics.exp: New file.
6088
b8b8facf
DE
60892014-07-17 Doug Evans <dje@google.com>
6090
74b49205 6091 PR gdb/17170
b8b8facf
DE
6092 * gdb.base/maint.exp: Update testing of per-command stats.
6093
1b5d0ab3
PA
60942014-07-16 Pedro Alves <palves@redhat.com>
6095
6096 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6097 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6098 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6099 (tfile_write_buf): New functions.
6100 (add_memory_block): Rewrite using the above.
6101 (adjust_function_address): New function.
6102 (FUNCTION_ADDRESS): New macro.
6103 (write_basic_trace_file): Remove short_x local, and use
6104 tfile_write_16. Change type of func_addr local to unsigned long
6105 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6106 here. Cast argument of add_memory_block to char pointer.
6107 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6108 (main): Remove parameters.
6109 * gdb.trace/tfile.exp: Remove nowarnings.
6110
4d974e88
SM
61112014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6112
6113 * gdb.base/debug-expr.exp: Test string evaluation with
6114 "debug expression" on.
6115
41e99568
PA
61162014-07-15 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.base/reread.exp: Use clean_restart.
6119
487d9753
PL
61202014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6121
6122 * gdb.arch/avr-flash-qualifer.c: New.
6123 * gdb.arch/avr-flash-qualifer.exp: New.
6124
cc1c52ad
PA
61252014-07-14 Pedro Alves <palves@redhat.com>
6126
6127 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6128 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6129
1e973570
PA
61302014-07-14 Pedro Alves <palves@redhat.com>
6131
6132 * gdb.base/double-prompt-target-event-error.c: New file.
6133 * gdb.base/double-prompt-target-event-error.exp: New file.
6134
93d6eb10
PA
61352014-07-14 Pedro Alves <palves@redhat.com>
6136
6137 PR gdb/17072
6138 * gdb.base/paginate-inferior-exit.c: New file.
6139 * gdb.base/paginate-inferior-exit.exp: New file.
6140
0017922d
PA
61412014-07-14 Pedro Alves <palves@redhat.com>
6142
6143 PR gdb/17072
6144 * gdb.base/paginate-bg-execution.c: New file.
6145 * gdb.base/paginate-bg-execution.exp: New file.
6146
94696ad3
PA
61472014-07-14 Pedro Alves <palves@redhat.com>
6148
6149 PR gdb/17072
6150 * gdb.base/paginate-execution-startup.c: New file.
6151 * gdb.base/paginate-execution-startup.exp: New file.
6152 * lib/gdb.exp (pagination_prompt): New global.
6153 (default_gdb_spawn): New procedure, factored out from
6154 default_gdb_spawn.
6155 (default_gdb_start): Adjust to call default_gdb_spawn.
6156 (gdb_spawn): New procedure.
6157
bd293940
PA
61582014-07-14 Pedro Alves <palves@redhat.com>
6159
6160 * lib/gdb.exp (gdb_assert): New procedure.
6161 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6162
c933f875
PA
61632014-07-14 Pedro Alves <palves@redhat.com>
6164
6165 * gdb.base/execution-termios.c: New file.
6166 * gdb.base/execution-termios.exp: New file.
6167
d98b7a16
TT
61682014-07-14 Tom Tromey <tromey@redhat.com>
6169
6170 * gdb.cp/vla-cxx.cc: New file.
6171 * gdb.cp/vla-cxx.exp: New file.
6172
548740d6
TT
61732014-07-14 Tom Tromey <tromey@redhat.com>
6174
6175 * gdb.reverse/rerun-prec.c: New file.
6176 * gdb.reverse/rerun-prec.exp: New file.
6177
a25eb028
MR
61782014-07-12 Maciej W. Rozycki <macro@mips.com>
6179 Maciej W. Rozycki <macro@codesourcery.com>
6180
6181 * lib/gdb-utils.exp: New file.
6182 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6183 inline `gdb_init_command' processing.
6184 (gdb_start_cmd): Likewise.
6185 * lib/mi-support.exp (mi_run_cmd): Likewise.
6186 * README: Document `gdb_init_command' and `gdb_init_commands'.
6187
218c2655
JK
61882014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6189
6190 Fix false FAIL running under a very long directory name.
6191 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6192 and "set print elements 10000". Twice.
6193
5401fde3
YQ
61942014-07-11 Yao Qi <yao@codesourcery.com>
6195
6196 * gdb.base/exprs.exp: "set print symbol off".
6197
e76126e8
PA
61982014-07-11 Pedro Alves <palves@redhat.com>
6199
6200 * gdb.threads/kill.c: New file.
6201 * gdb.threads/kill.exp: New file.
6202
2d6f0de6
YQ
62032014-07-10 Yao Qi <yao@codesourcery.com>
6204
6205 * gdb.trace/tfile.c (write_basic_trace_file)
6206 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6207 address written to trace file.
6208
7180e04a
PA
62092014-07-09 Pedro Alves <palves@redhat.com>
6210
6211 * gdb.base/attach-wait-input.exp: New file.
6212 * gdb.base/attach-wait-input.c: New file.
6213
9a9a7608
AB
62142014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6215
6216 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6217 setting up test structures.
6218 (main): Call new test function.
6219 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6220 test function, continue into test function and walk test
6221 structures.
6222
161ac41e
YQ
62232014-07-02 Yao Qi <yao@codesourcery.com>
6224
6225 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6226 'bar_start' at the beginning of functions 'foo' and 'bar'
6227 respectively.
6228 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6229 instead of 'foo' and 'bar'.
6230
1f267ae3
MM
62312014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6232
6233 * gdb.btrace/segv.exp: New.
6234 * gdb.btrace/segv.c: New.
6235
2b239efb
LM
62362014-07-02 Luis Machado <lgustavo@codesourcery.com>
6237
6238 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6239 instruction.
6240
cf363f18
MW
62412014-06-30 Mark Wielaard <mjw@redhat.com>
6242
6243 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6244 vulture, vilify, villar): New volatile array constants.
6245 (vindictive, vegetation): New const volatile array constants.
6246 * gdb.base/volatile.exp: Test volatile and const volatile array
6247 types.
6248
aebf9d24
AA
62492014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6250
6251 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6252 target lacks support for awatch, rwatch, or hbreak.
6253
b67a2c6f
YQ
62542014-06-27 Yao Qi <yao@codesourcery.com>
6255
6256 * gdb.multi/dummy-frame-restore.exp: New.
6257 * gdb.multi/dummy-frame-restore.c: New.
6258
aef92902
MM
62592014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6260
6261 * gdb.btrace/gcore.exp: New.
6262
8e9db26e
PA
62632014-06-23 Pedro Alves <palves@redhat.com>
6264
6265 * gdb.base/watchpoint-reuse-slot.c: New file.
6266 * gdb.base/watchpoint-reuse-slot.exp: New file.
6267
70afc5b7
SC
62682014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6269
6270 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6271 progspace's filename in 'info', 'enable' and 'disable' command
6272 tests.
6273
b972bd9c
JK
62742014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6275
6276 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6277 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6278 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6279
125f8a3d
GB
62802014-06-20 Gary Benson <gbenson@redhat.com>
6281
6282 * gdb.arch/i386-avx.exp: Fix include file location.
6283 * gdb.arch/i386-sse.exp: Likewise.
6284
3ed9baed
IB
62852014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6286
6287 * gdb.dlang/expression.exp: New file.
6288
034f788c
PA
62892014-06-19 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6292 out from ...
6293 (top level): ... here. Iterate running tests under different
6294 scheduler-locking settings.
6295
45371d0c
LM
62962014-06-18 Luis Machado <lgustavo@codesourcery.com>
6297
6298 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6299 to DW_FORM_addr and use non-zero addresses.
6300
5d376983
SC
63012014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6302
6303 PR gdb/17017
6304 * gdb.python/py-xmethods.cc: Add global function call counters and
6305 increment them in their respective functions. Remove "cout"
6306 statements.
6307 * gdb.python/py-xmethods.exp: Make tests check the global function
6308 call counters instead of depending on inferior IO.
6309
a1aa2221
LM
63102014-06-18 Don Breazeal <donb@codesourcery.com>
6311
6312 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6313 Deleted procedure.
6314 (explicit_fork_parent_follow): Deleted procedure.
6315 (explicit_fork_child_follow): Deleted procedure.
6316 (test_follow_fork): New procedure.
6317 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 6318 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
6319 procedure calls.
6320
0fc05997
YQ
63212014-06-17 Yao Qi <yao@codesourcery.com>
6322
6323 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6324 CP1252.
6325
70795c52
LM
63262014-06-17 Luis Machado <lgustavo@codesourcery.com>
6327
6328 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6329 Initialize ptr and S explicitly.
6330 (skip_type_update_when_not_use_rtti_test): Likewise.
6331
6be47f0c
KS
63322014-06-16 Keith Seitz <keiths@redhat.com>
6333
6334 PR mi/15863
6335 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6336 the inferior is started.
6337
d03de421
PA
63382014-06-16 Pedro Alves <palves@redhat.com>
6339
6340 * gdb.base/break-main-file-remove-fail.c: New file.
6341 * gdb.base/break-main-file-remove-fail.exp: New file.
6342 * gdb.base/break-unload-file.exp: Use build_executable instead of
6343 prepare_for_testing.
6344 (test_break): New parameter "initial_load". Handle it.
6345 (top level): Add initial_load cmdline/file axis.
6346
f9579b99
TT
63472014-06-12 Tom Tromey <tromey@redhat.com>
6348
6349 * gdb.base/completion.exp: Don't use directory name in test.
6350
3657956b
GB
63512014-06-09 Gary Benson <gbenson@redhat.com>
6352
6353 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6354 separate the always-available ANSI-standard signals from the
6355 signals that require checking.
6356 (main): Likewise.
6357 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6358 Likewise.
6359 (main): Likewise.
6360
4186eb54
KS
63612014-06-07 Keith Seitz <keiths@redhat.com>
6362
6363 Revert:
6364 PR c++/16253
6365 * gdb.cp/var-tag.cc: New file.
6366 * gdb.cp/var-tag.exp: New file.
6367 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6368 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6369 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6370 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6371
25326a28 63722014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
6373
6374 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6375
829155c9
PA
63762014-06-06 Pedro Alves <palves@redhat.com>
6377
6378 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6379 in target debug output instead of looking at RSP packets,
6380 disabling the test on any target that uses hardware stepping.
6381 Update comments.
6382
61c8d22e
PA
63832014-06-06 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.base/break-unload-file.exp: Fix typo.
6386
d9a47287
YQ
63872014-06-06 Yao Qi <yao@codesourcery.com>
6388
6389 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6390 from "jit_function" to "^jit_function".
6391
e5e01dbf
YQ
63922014-06-06 Yao Qi <yao@codesourcery.com>
6393
6394 * gdb.base/async.c (foo): Add one statement.
6395 * gdb.base/async.exp: Get the next instruction address and
6396 match the output of "nexti" by instruction address. Match
6397 the hex address in the output of "finish".
6398
73ba372c
GB
63992014-06-06 Gary Benson <gbenson@redhat.com>
6400
6401 * gdb.base/call-signals.c: Remove preprocessor conditionals
6402 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6403 SIGSEGV and SIGTERM.
6404 * gdb.base/sigall.c: Likewise.
6405 * gdb.base/unwindonsignal.c: Likewise.
6406 * gdb.reverse/sigall-reverse.c: Likewise.
6407
831517df
YQ
64082014-06-06 Yao Qi <yao@codesourcery.com>
6409
6410 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6411 readable, skip the test.
6412
b8b91e98
YQ
64132014-06-06 Yao Qi <yao@codesourcery.com>
6414
6415 * gdb.threads/staticthreads.c (thread_function): Move the line
6416 setting breakpoint on forward.
6417 * gdb.threads/staticthreads.exp: Update comments.
6418
fb934770
LC
64192014-06-05 Ludovic Courtès <ludo@gnu.org>
6420
6421 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6422 "history-append! type error".
6423
6ef284bd
SM
64242014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6425
6426 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6427 erroneous dprintf expected input.
6428
a872e241
DE
64292014-06-04 Doug Evans <xdje42@gmail.com>
6430
6431 * gdb.guile/scm-generics.exp: Delete.
6432
16f691fb
DE
64332014-06-04 Doug Evans <xdje42@gmail.com>
6434
6435 * gdb.guile/scm-breakpoint.exp: Update.
6436 Add tests for breakpoint registration.
6437
012370f6
TT
64382014-06-04 Tom Tromey <tromey@redhat.com>
6439
6440 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6441 VLA-in-union.
6442 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6443 inner_vla_struct, vla_union types. Initialize objects of those
6444 types and compute their sizes.
6445
9f5a4cef
HZ
64462014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6447 Hui Zhu <hui@codesourcery.com>
6448
6449 * gdb.base/fileio.exp: Add test for shell not available as well as
6450 available.
6451 * gdb.base/fileio.c (test_system): Check for shell twice.
6452
90a45c4d
YQ
64532014-06-04 Yao Qi <yao@codesourcery.com>
6454
6455 * gdb.base/auto-connect-native-target.exp: Remove redundant
6456 space from the regexp pattern.
6457
70017e41
YQ
64582014-06-04 Yao Qi <yao@codesourcery.com>
6459
6460 * gdb.base/default.exp: Replace "child" with "native" in
6461 regexp pattern.
6462
883964a7
SC
64632014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6464
6465 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6466 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6467 * gdb.python/py-xmethods.py: Python script supporting the
6468 new testcase and tests.
6469
ef370185
JB
64702014-06-03 Joel Brobecker <brobecker@adacore.com>
6471 Pedro Alves <palves@redhat.com>
6472
6473 PR breakpoints/17000
6474 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6475 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6476
1e2ccb61
BM
64772014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6478
6479 * gdb.base/subst.exp: Add tests to verify partial path matching
6480 output.
6481
c6ec5ab2
PA
64822014-06-03 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6485 target that doesn't use software single-stepping.
6486
835c559f
PA
64872014-06-03 Pedro Alves <palves@redhat.com>
6488
6489 PR breakpoints/17000
6490 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6491 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6492
06eb1586
DE
64932014-06-02 Doug Evans <xdje42@gmail.com>
6494
6495 * gdb.guile/scm-parameter.exp: New file.
6496
e698b8c4
DE
64972014-06-02 Doug Evans <xdje42@gmail.com>
6498
6499 * gdb.guile/scm-cmd.c: New file.
6500 * gdb.guile/scm-cmd.exp: New file.
6501
ded03782
DE
65022014-06-02 Doug Evans <xdje42@gmail.com>
6503
6504 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6505 pretty-printer lookup.
6506 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6507 (make-pp_s-printer): Call it.
6508 (make-pretty-printer-from-dict): New function.
6509 (lookup-pretty-printer-maker-from-dict): New function.
6510 (*pretty-printer*): Simplify.
6511 (make-objfile-pp_s-printer): New function.
6512 (install-objfile-pretty-printers!): New function.
6513 (make-progspace-pp_s-printer): New function.
6514 (install-progspace-pretty-printers!): New function.
6515 * gdb.guile/scm-progspace.c: New file.
6516 * gdb.guile/scm-progspace.exp: New file.
6517
41fac0cf
PA
65182014-06-02 Pedro Alves <palves@redhat.com>
6519
6520 * gdb.base/dprintf-bp-same-addr.c: New file.
6521 * gdb.base/dprintf-bp-same-addr.exp: New file.
6522
96ae5695
EBM
65232014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6524
6525 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6526 * gdb.arch/powerpc-power.s: Likewise.
6527
da02b3a8
JB
65282014-06-02 Joel Brobecker <brobecker@adacore.com>
6529
6530 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6531
c72b2e7b
YQ
65322014-06-01 Yao Qi <yao@codesourcery.com>
6533
6534 * gdb.base/watchpoint.exp (test_watch_location): Check null
6535 pointer can be dereferenced. If not, do the test, otherwise
6536 skip it.
6537
53e8a631
AB
65382014-05-30 Andrew Burgess <aburgess@broadcom.com>
6539
6540 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6541 results.
6542 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6543
938f0e2f
AB
65442014-05-30 Andrew Burgess <aburgess@broadcom.com>
6545
6546 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6547 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6548 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6549 * gdb.arch/amd64-invalid-stack-top.c: New file.
6550 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6551
9ba6657a
PA
65522014-05-30 Pedro Alves <palves@redhat.com>
6553
6554 PR breakpoints/17000
6555 * gdb.base/sss-bp-on-user-bp.c: New file.
6556 * gdb.base/sss-bp-on-user-bp.exp: New file.
6557
522c09bf
DB
65582014-05-30 David Blaikie <dblaikie@gmail.com>
6559
6560 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6561 gnu_inline semantics via attribute.
6562 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6563 source explicitly specifies the required semantics.
6564
bf4ef81e
MR
65652014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6566
6567 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6568
329ea579
PA
65692014-05-29 Pedro Alves <palves@redhat.com>
6570 Tom Tromey <tromey@redhat.com>
6571
6572 * gdb.base/async-shell.exp: Don't enable target-async.
6573 * gdb.base/async.exp
6574 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6575 parameter. Adjust.
6576 (top level): Don't test with "target-async".
6577 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6578 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6579 * gdb.base/inferior-died.exp: Don't enable target-async.
6580 * gdb.base/interrupt-noterm.exp: Likewise.
6581 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6582 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6583 * gdb.mi/mi-nonstop.exp: Likewise.
6584 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6585 * gdb.mi/mi-nsintrall.exp: Likewise.
6586 * gdb.mi/mi-nsmoribund.exp: Likewise.
6587 * gdb.mi/mi-nsthrexec.exp: Likewise.
6588 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6589 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6590 * gdb.python/py-evsignal.exp: Don't enable target-async.
6591 * gdb.python/py-evthreads.exp: Likewise.
6592 * gdb.python/py-prompt.exp: Likewise.
6593 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6594 * gdb.server/solib-list.exp: Don't enable target-async.
6595 * gdb.threads/thread-specific-bp.exp: Likewise.
6596 * lib/mi-support.exp: Adjust to use mi-async.
6597
fd664c91
PA
65982014-05-29 Pedro Alves <palves@redhat.com>
6599
6600 PR gdb/13860
6601 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6602 reason, even in sync mode.
6603
251bde03
PA
66042014-05-29 Pedro Alves <palves@redhat.com>
6605 Hui Zhu <hui@codesourcery.com>
6606
6607 PR PR15693
6608 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6609 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6610 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6611 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6612
7f3c0343
JB
66132014-05-28 Joel Brobecker <brobecker@adacore.com>
6614
6615 * config/monitor.exp (gdb_target_monitor): Replace use of
6616 "set remotebaud" by "set serial baud".
6617
b2715b27
AW
66182014-05-26 Andy Wingo <wingo@igalia.com>
6619
6620 * gdb.guile/scm-breakpoint.exp:
6621 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6622 properties instead of gdb-object-properties.
6623
498a4489
YQ
66242014-05-26 Yao Qi <yao@codesourcery.com>
6625
6626 * gdb.server/no-thread-db.exp: Specify source file name
6627 explicitly when setting a breakpoint.
6628
589fdceb
MM
66292014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6630
6631 * gdb.btrace/vdso.c: New.
6632 * gdb.btrace/vdso.exp: New.
6633
e9089e05
MM
66342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6635
6636 * gdb.base/gcore.exp (capture_command_output): Move ...
6637 * lib/gdb.exp (capture_command_output): ... here.
6638
67b5c0c1
MM
66392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6640
6641 * gdb.btrace/data.exp: Test memory access during btrace replay.
6642
a2199296
SM
66432014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6644
6645 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6646
17b2616c
PA
66472014-05-21 Pedro Alves <palves@redhat.com>
6648
6649 PR gdb/13860
6650 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6651 (top level): Test that output related to execution commands is
6652 sent to the console with CLI commands, but not with MI commands.
6653 Test that breakpoint events are always mirrored to the console.
6654 Also expect the new source line to be output after a "next" in
6655 async mode too. Make it a pass/fail test.
6656 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6657 output.
6658 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6659
5166082f
PA
66602014-05-21 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6663 Use them to test variations of "list" after reaching a breakpoint.
6664 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6665 Test "list" with listsize 10 after reaching a breakpoint.
6666 * gdb.python/python.exp (decode_line current location line
6667 number): Adjust expected line number.
6668
2f25d70f
SM
66692014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6670
6671 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6672 behavior for $args, pass it directly to "run".
6673
ff604a67
MR
66742014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6675
6676 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6677 30000 to 65536.
6678
6a3cb8e8
PA
66792014-05-21 Pedro Alves <palves@redhat.com>
6680
6681 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6682 auto-connect-native-target off".
6683 * gdb.base/auto-connect-native-target.c: New file.
6684 * gdb.base/auto-connect-native-target.exp: New file.
6685
4ebfc96e
PA
66862014-05-21 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/default.exp: Test "target native" instead of "target
6689 child".
6690
36d46afb
MW
66912014-05-21 Mark Wielaard <mjw@redhat.com>
6692
6693 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6694
5876f503
JK
66952014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6696
6697 Fix TLS access for -static -pthread.
6698 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6699 <HAVE_TLS> (thread_function, main): Initialize it.
6700 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6701 Add clean_restart.
6702 <$have_tls != "">: Check TLSVAR.
6703
0256a6ac
PA
67042014-05-21 Pedro Alves <palves@redhat.com>
6705
6706 * gdb.base/dcache-line-read-error.c: New.
6707 * gdb.base/dcache-line-read-error.exp: New.
6708
936d2992
PA
67092014-05-20 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.base/compare-sections.c: New file.
6712 * gdb.base/compare-sections.exp: New file.
6713
802e8e6d
PA
67142014-05-20 Pedro Alves <palves@redhat.com>
6715
6716 * gdb.base/break-idempotent.c: New file.
6717 * gdb.base/break-idempotent.exp: New file.
6718
e59fa00f
MM
67192014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6720
6721 * gdb.btrace/nohist.exp: New.
6722
8b696e31
YQ
67232014-05-20 Yao Qi <yao@codesourcery.com>
6724
6725 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6726 gdb.reverse directory and gdb_reverse_timeout exists in board
6727 setting.
6728 * README: Document gdb_reverse_timeout.
6729
73c9764f
YQ
67302014-05-20 Yao Qi <yao@codesourcery.com>
6731
6732 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6733 'test_file_name'. Treat args as a string instead of a list.
6734 (gdb_init): Rename argument 'args' by 'test_file_name'.
6735
f1f4348a
JK
67362014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6737
6738 * gdb.arch/powerpc-power.exp: New file.
6739 * gdb.arch/powerpc-power.s: New file.
6740
0dbe70ce
DE
67412014-05-16 Doug Evans <dje@google.com>
6742
6743 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
6744 * gdb.base/completion.exp: Check that all expected files exist
6745 before doing file completion.
0dbe70ce 6746
8d551b02
DE
67472014-05-16 Doug Evans <dje@google.com>
6748
6749 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6750 Update.
6751 (do_syscall_tests_without_xml): Update.
6752
73eb7709
PA
67532014-05-16 Pedro Alves <palves@redhat.com>
6754
6755 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6756 instead of "unknown output after running".
6757
3fae92fc
YQ
67582014-05-16 Yao Qi <yao@codesourcery.com>
6759
6760 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6761 file1.txt from host at the end.
6762 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6763
c2b2ccc5
DE
67642014-05-15 Doug Evans <dje@google.com>
6765
6766 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6767 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6768 loading file. Add test for TU lookup.
6769
8c217a4b
SM
67702014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6771
6772 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6773 calling "-exec-arguments" or "set args" before running the
6774 inferior.
6775
3deb39c6
SM
67762014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6777
6778 * lib/mi-support.exp (mi_expect_stop): Expect message for
6779 inferiors that exit with non-zero exit code.
6780
71a79f8c
YQ
67812014-05-14 Yao Qi <yao@codesourcery.com>
6782
6783 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6784 match absolute path on remote host.
6785 (test_file_list_exec_source_files): Remove "/" from the
6786 pattern.
6787
f23fcd46
YQ
67882014-05-14 Yao Qi <yao@codesourcery.com>
6789
6790 * boards/local-remote-host-notty.exp (${board}_file): New
6791 proc.
6792
9404b58f
KM
67932014-05-07 Kyle McMartin <kyle@redhat.com>
6794
6795 Pushed by Joel Brobecker <brobecker@adacore.com>.
6796 * gdb.arch/aarch64-atomic-inst.c: New file.
6797 * gdb.arch/aarch64-atomic-inst.exp: New file.
6798
5e45f04c
YQ
67992014-05-07 Yao Qi <yao@codesourcery.com>
6800
6801 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6802 in current context" too.
6803
c888a17d
KS
68042014-05-05 Keith Seitz <keiths@redhat.com>
6805
6806 * gdb.linespec/ls-dollar.exp: Add test for linespec
6807 file:convenience_variable.
6808
290a839c
YQ
68092014-05-05 Yao Qi <yao@codesourcery.com>
6810
6811 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6812 traceframes into tfile and ctf trace files. Read data from
6813 trace file and test collected data.
6814 (gdb_collect_locals_test): Likewise.
6815 (gdb_unavailable_registers_test): Likewise.
6816 (gdb_unavailable_floats): Likewise.
6817 (gdb_collect_globals_test): Likewise.
6818 (top-level): Append "ctf" to trace_file_targets if GDB
6819 supports.
6820
b5262cd0
YQ
68212014-05-05 Yao Qi <yao@codesourcery.com>
6822
6823 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6824 code to ...
6825 (gdb_collect_args_test_1): ... it. New proc.
6826 (gdb_collect_locals_test): Move some code to ...
6827 (gdb_collect_locals_test_1): ... it. New proc.
6828 (gdb_unavailable_registers_test): Move some code to ...
6829 (gdb_unavailable_registers_test_1): ... it. New proc.
6830 (gdb_unavailable_floats): Move some code to ...
6831 (gdb_unavailable_floats_1): ... it. New proc.
6832
30a1e6cc
SDJ
68332014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6834
6835 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6836 probes to test for bitness recognition.
6837 * gdb.arch/amd64-stap-optional-prefix.exp
6838 (test_probe_value_without_reg): New procedure.
6839 Add code to test for different kinds of bitness.
6840
f33da99a
SDJ
68412014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6842
6843 PR breakpoints/16889
6844 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6845 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6846
5b80f00d
PA
68472014-05-01 Pedro Alves <palves@redhat.com>
6848
6849 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6850 gdb_file_cmd if no file is specified.
6851 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6852 last_loaded_file to set the remote exec-file.
6853
f8c2a73c
PA
68542014-05-01 Pedro Alves <palves@redhat.com>
6855
6856 * boards/local-remote-host.exp: New file.
6857
be6e8ac7
PA
68582014-05-01 Pedro Alves <palves@redhat.com>
6859
6860 * boards/local-remote-host.exp: Rename to ...
6861 * boards/local-remote-host-notty.exp: ... this.
6862
cac0dc8f
JB
68632014-04-28 Joel Brobecker <brobecker@adacore.com>
6864
6865 * gdb.ada/dyn_arrayidx: New testcase.
6866
9730e6cc
YQ
68672014-04-26 Yao Qi <yao@codesourcery.com>
6868
6869 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6870 and compute the length of function main. Save it in
6871 $main_length.
6872 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6873 (top-level): Use gdb_compile to compile objects into
6874 executable and restart GDB. Remove invocation to
6875 prepare_for_testing.
6876
7ae1a6a6
PA
68772014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6878 Pedro Alves <palves@redhat.com>
6879
6880 PR server/16255
6881 * gdb.multi/multi-attach.c: New file.
6882 * gdb.multi/multi-attach.exp: New file.
6883
4082afcc
PA
68842014-04-25 Pedro Alves <palves@redhat.com>
6885
6886 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6887 user.
6888 (top level): Test that "set remote conditional-breakpoints-packet
6889 off" works as intended.
6890 * gdb.base/dprintf.exp: Test that "set remote
6891 breakpoint-commands-packet off" works as intended.
6892 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6893 New function.
6894 (top level): Call it.
6895 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6896 remote fast-tracepoints-packet off" works as intended.
6897 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6898 * lib/gdb.exp (gdb_is_target_remote): ... here.
6899
2abc3f8d
DB
69002014-04-24 David Blaikie <dblaikie@gmail.com>
6901
6902 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6903 ensure clang would not discard them.
6904 * gdb.base/gdbvars.c: Ditto.
6905 * gdb.base/memattr.c: Ditto.
6906 * gdb.base/whatis.c: Ditto.
6907 * gdb.python/py-prettyprint.c: Ditto.
6908 * gdb.trace/actions.c: Ditto.
6909 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6910 ensure clang would not discard it.
6911
bfd39632
DB
69122014-04-24 David Blaikie <dblaikie@gmail.com>
6913
6914 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6915 clang to emit the full definition of type required by the test
6916 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6917
22842ff6
DB
69182014-04-24 David Blaikie <dblaikie@gmail.com>
6919
6920 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6921 coax Clang into emitting the definition of the type.
6922 * gdb.cp/pr10728-x.h (y): Ditto.
6923 * gdb.cp/pr10728-y.cc (y): Ditto.
6924
c2e827ad
DB
69252014-04-24 David Blaikie <dblaikie@gmail.com>
6926
6927 * gdb.base/label.exp: XFAIL label related tests under Clang.
6928 * gdb.cp/cplabel.exp: Ditto.
6929 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6930 under Clang those using labels.
6931
4c2d33e7
YQ
69322014-04-25 Yao Qi <yao@codesourcery.com>
6933
6934 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6935 double_label.
6936 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6937 partial_label and double_label.
6938
56083b99
DB
69392014-04-24 David Blaikie <dblaikie@gmail.com>
6940
6941 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6942
25d4e99d
DB
69432014-04-24 David Blaikie <dblaikie@gmail.com>
6944
6945 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6946 of the function to work across GCC and Clang.
6947 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6948 pointer types (const void ** const V void **).
6949
01f9f808
MS
69502014-04-24 Michael Sturm <michael.sturm@mintel.com>
6951 Walfred Tedeschi <walfred.tedeschi@intel.com>
6952
6953 * Makefile.in (EXECUTABLES): Added i386-avx512.
6954 * gdb.arch/i386-avx512.c: New file.
6955 * gdb.arch/i386-avx512.exp: Likewise.
6956
4b48d439
KS
69572014-04-23 Keith Seitz <keiths@redhat.com>
6958
6959 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6960 (mi_make_breakpoint_table): New procedure.
6961 (mi_create_breakpoint): Use mi_make_breakpoint
6962 and return the result.
6963 (mi_make_breakpoint): New procedure.
6964 (mi_build_kv_pairs): New procedure.
6965
6966 * gdb.mi/mi-break.exp: Remove unused globals,
6967 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6968 All callers updated.
6969 * gdb.mi/mi-dprintf.exp: Use variable to track command
6970 number.
6971 Update all callers of mi_create_breakpoint and use
6972 mi_make_breakpoint_table.
6973 Remove any unused global variables.
6974 * gdb.mi/mi-nonstop.exp: Likewise.
6975 * gdb.mi/mi-nsintrall.exp: Likewise.
6976 * gdb.mi/mi-nsmoribund.exp: Likewise.
6977 * gdb.mi/mi-nsthrexec.exp: Likewise.
6978 * gdb.mi/mi-reverse.exp: Likewise.
6979 * gdb.mi/mi-simplerun.exp: Likewise.
6980 * gdb.mi/mi-stepn.exp: Likewise.
6981 * gdb.mi/mi-syn-frame.exp: Likewise.
6982 * gdb.mi/mi-until.exp: Likewise.
6983 * gdb.mi/mi-var-cp.exp: Likewise.
6984 * gdb.mi/mi-var-display.exp: Likewise.
6985 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6986 * gdb.mi/mi2-var-child.exp: Likewise.
6987 * gdb.mi/mi-vla-c99.exp: Likewise.
6988 * lib/mi-support.exp: Likewise.
6989
6990 From Ian Lance Taylor <iant@cygnus.com>:
6991 * lib/gdb.exp (parse_args): New procedure.
6992
08351840
PA
69932014-04-23 Pedro Alves <palves@redhat.com>
6994
6995 * gdb.base/break-unload-file.c: New file.
6996 * gdb.base/break-unload-file.exp: New file.
6997 * gdb.base/sym-file-lib.c (baz): New function.
6998 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6999 field.
7000 (load): Store the segment's mapped size.
7001 (unload): New function.
7002 (unload_shlib): New function.
7003 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7004 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7005 set a breakpoint at baz, and call it.
7006 * gdb.base/sym-file.exp: New tests for stale breakpoint
7007 instructions.
7008
076855f9
PA
70092014-04-23 Pedro Alves <palves@redhat.com>
7010
7011 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7012 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7013 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7014 * gdb.base/hbreak-unmapped.c: New file.
7015 * gdb.base/hbreak-unmapped.exp: New file.
7016 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7017 * lib/gdb.exp (gdb_is_target_remote): ... here.
7018
483805cf
PA
70192014-04-22 Pedro Alves <palves@redhat.com>
7020
7021 * gdb.base/consecutive-step-over.c: New file.
7022 * gdb.base/consecutive-step-over.exp: New file.
7023
06d97543
PA
70242014-04-22 Pedro Alves <palves@redhat.com>
7025
7026 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7027 instead of send_gdb/gdb_expect.
7028
b4429ea2
YQ
70292014-04-22 Yao Qi <yao@codesourcery.com>
7030
7031 * lib/trace-support.exp (generate_tracefile): New procedure.
7032 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7033 return 0.
7034 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7035 if generate_tracefile returns 1.
7036
51d48146
PA
70372014-04-18 Tom Tromey <palves@redhat.com>
7038 Pedro alves <tromey@redhat.com>
7039
7040 PR backtrace/15558
7041 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7042 with a backtrace limit.
7043 * gdb.python/py-frame-inline.exp: Test running to an inline
7044 function with a backtrace limit, and printing the newest frame.
7045 * gdb.python/py-frame-inline.c (main): Call f.
7046
bd1dce5f
MS
70472014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7048
7049 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7050
40d1a503
MS
70512014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7052
7053 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7054 Drop prefix from unsupported source file path.
7055
389b98f7
YQ
70562014-04-17 Yao Qi <yao@codesourcery.com>
7057
7058 * lib/gdb.exp (with_target_charset): New proc.
7059 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7060 with_target_charset.
7061 (test_print_strings): Likewise.
7062 (test_repeat_bytes): Likewise.
7063 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7064 for some tests.
7065
22869d73
KS
70662014-04-16 Keith Seitz <keiths@redhat.com>
7067
7068 PR gdb/15827
7069 * gdb.dwarf2/corrupt.c: New file.
7070 * gdb.dwarf2/corrupt.exp: New file.
7071
c4f87ca6
KS
70722014-04-16 Keith Seitz <keiths@redhat.com>
7073
7074 PR c++/16597
7075 * gdb.cp/namelessclass.cc: New file.
7076 * gdb.cp/namelessclass.exp: New file.
7077 * gdb.cp/namelessclass.S: New file.
7078
ab19de87
DE
70792014-04-16 Doug Evans <dje@google.com>
7080
7081 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7082 Add comment.
7083 (gdbserver_default_get_comm_port): New function.
7084 (gdbserver_start): Check if board file provided
7085 "gdbserver,get_comm_port" and use it if so.
7086 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7087 (gdb,socketport): Set to "stdio".
7088 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7089 (stdio_gdbserver_template): Delete.
7090 (${board}_get_remote_address): Update.
7091 (${board}_build_remote_cmd): Delete.
7092 (${board}_get_comm_port): New function.
7093 (${board}_spawn): Update.
7094 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7095 Delete.
7096 (${board}_get_remote_address): Update.
7097 (${board}_get_comm_port): New function.
7098
fc98a809
AB
70992014-04-16 Andrew Burgess <aburgess@broadcom.com>
7100
7101 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7102 appearing in any order.
7103
87fd9e6e
DE
71042014-04-15 Doug Evans <dje@google.com>
7105
7106 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7107 uninitialized value of "description".
7108
099fc3ea
KS
71092014-04-15 Keith Seitz <keiths@redhat.com>
7110
7111 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7112 Remove unused globals.
7113 (test_running_the_program): Likewise.
7114 (test_controlled_execution): Likewise.
7115 (test_controlling_breakpoints): Likewise.
7116 (test_program_termination): Likewise.
7117
5da151d4
KS
71182014-04-15 Keith Seitz <keiths@redhat.com>
7119
7120 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7121 unused globals.
7122 (test_rbreak_creation_and_listing): Likewise.
7123 (test_ignore_count): Likewise.
7124 (test_error): Likewise.
7125
35e5d2f0
PA
71262014-04-15 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7129 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7130 sym-file-loader.c.
7131 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7132 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7133 to sym-file-loader.c.
7134 (struct library): Forward declare.
7135 (load_shlib, lookup_function): Change prototypes.
7136 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7137 (translate_offset): Remove declarations.
7138 (get_text_addr): New declaration.
7139 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7140 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7141 sym-file-loader.h.
7142 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7143 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7144 here from sym-file-loader.h.
7145 (struct library): New structure.
7146 (load_shlib, lookup_function): Change prototypes and adjust to
7147 work with a struct library.
7148 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7149 (translate_offset): Make static.
7150 (get_text_addr): New function.
7151 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7152
eb4c1710
PA
71532014-04-15 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7156
2d1baf52
PA
71572014-04-15 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.base/sym-file-loader.c: Include <limits.h>.
7160 (SELF_LINK): New define.
7161 (get_origin): New function.
7162 (load_shlib): Use it.
7163 * gdb.base/sym-file.exp: Don't early return if the target is
7164 remote. Use runto_main, and issue fail is that fails. Use
7165 gdb_load_shlibs.
7166 (shlib_name): Delete.
7167 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7168
7dd6df01
PA
71692014-04-15 Pedro Alves <palves@redhat.com>
7170
7171 * gdb.base/sym-file.exp: Remove regex characters from test
7172 message. Don't refer to breakpoint numbers in test messages.
7173
b50c8614
KS
71742014-04-14 Keith Seitz <keiths@redhat.com>
7175
7176 PR c++/16253
7177 * gdb.cp/var-tag.cc: New file.
7178 * gdb.cp/var-tag.exp: New file.
7179 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7180 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7181 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7182 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7183
3d567982
TT
71842014-04-14 Tom Tromey <tromey@redhat.com>
7185
7186 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7187 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7188 type.
7189 * gdb.cp/enum-class.exp: New file.
7190 * gdb.cp/enum-class.cc: New file.
7191
0626fc76
TT
71922014-04-14 Tom Tromey <tromey@redhat.com>
7193
7194 * gdb.dwarf2/enum-type.exp: New file.
7195
dca325b3
SA
71962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7197
7198 * gdb.mi/mi-vla-c99.exp: New file.
7199 * gdb.mi/vla.c: New file.
7200
5854b38a
SA
72012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7202
7203 * gdb.base/vla-datatypes.c: New file.
7204 * gdb.base/vla-datatypes.exp: New file.
7205
463bb957
SA
72062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7207
7208 * gdb.base/vla-ptr.c: New file.
7209 * gdb.base/vla-ptr.exp: New file.
7210
3dd170be
SA
72112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7212
7213 * gdb.dwarf2/count.exp: New file.
7214
5ecaaa66
SA
72152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7216
7217 * gdb.base/vla-sideeffect.c: New file.
7218 * gdb.base/vla-sideeffect.exp: New file.
7219
41f1ada5
DB
72202014-04-14 David Blaikie <dblaikie@gmail.com>
7221
7222 * gdb.mi/non-stop.c: Add return value for non-void function return
7223 statement.
7224 * gdb.threads/staticthreads.c: Ditto.
7225
0be03e84
DE
72262014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7227 Doug Evans <xdje42@gmail.com>
7228
7229 * gdb.guile/scm-value.c: Improve test case.
7230 * gdb.guile/scm-value.exp: Add new test.
7231
f180a1fb
DB
72322014-04-11 David Blaikie <dblaikie@gmail.com>
7233
7234 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7235 override Clang's default.
7236
6b662e19
JB
72372014-04-11 Joel Brobecker <brobecker@adacore.com>
7238
7239 Revert the following changes (regressions):
7240
7241 * gdb.base/vla-sideeffect.c: New file.
7242 * gdb.base/vla-sideeffect.exp: New file.
7243
7244 * gdb.dwarf2/count.exp: New file.
7245
7246 * gdb.base/vla-multi.c: New file.
7247 * gdb.base/vla-multi.exp: New file.
7248
7249 * gdb.base/vla-ptr.c: New file.
7250 * gdb.base/vla-ptr.exp: New file.
7251
7252 * gdb.base/vla-datatypes.c: New file.
7253 * gdb.base/vla-datatypes.exp: New file.
7254
7255 * gdb.mi/mi-vla-c99.exp: New file.
7256 * gdb.mi/vla.c: New file.
7257
245a5f0b
KS
72582014-04-11 Keith Seitz <keiths@redhat.com>
7259
7260 PR c++/16675
7261 * gdb.cp/cpsizeof.exp: New file.
7262 * gdb.cp/cpsizeof.cc: New file.
7263
58a84dcf
SA
72642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7265
191a8a90
JB
7266 * gdb.mi/mi-vla-c99.exp: New file.
7267 * gdb.mi/vla.c: New file.
58a84dcf 7268
c8655f75
SA
72692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7270
7271 * gdb.base/vla-datatypes.c: New file.
7272 * gdb.base/vla-datatypes.exp: New file.
7273
024e13b4
SA
72742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7275
7276 * gdb.base/vla-ptr.c: New file.
7277 * gdb.base/vla-ptr.exp: New file.
7278
1a237e0e
SA
72792014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7280
7281 * gdb.base/vla-multi.c: New file.
7282 * gdb.base/vla-multi.exp: New file.
7283
504f3432
SA
72842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7285
7286 * gdb.dwarf2/count.exp: New file.
7287
3bce8237
SA
72882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7289
191a8a90
JB
7290 * gdb.base/vla-sideeffect.c: New file.
7291 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 7292
322f9c21
YQ
72932014-04-11 Yao Qi <yao@codesourcery.com>
7294
7295 * gdb.base/completion.exp: Check file exists before running tests
7296 on file completion.
7297
d708bcd1
PA
72982014-04-10 Pedro Alves <palves@redhat.com>
7299
7300 * gdb.base/cond-eval-mode.c: New file.
7301 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7302 prepare_for_testing to build the new file. Check result of
7303 runto_main.
7304 (test_break, test_watch): New procedures.
7305 (top level): Use them.
7306
ae1d2761
PM
73072014-04-08 Pierre Muller <muller@sourceware.org>
7308
7309 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7310 Ctrl-V use for mingw hosts.
7311
7af389b8
SC
73122014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7313
7314 * gdb.python/py-value.c: Improve test case.
7315 * gdb.python/py-value.exp: Add new test.
7316
5e703181
DE
73172014-04-07 David Blaikie <dblaikie@gmail.com>
7318
7319 * lib/compiler.c: Identify the clang compiler.
7320 * lib/compiler.cc: Ditto.
7321
9810b410
YQ
73222014-04-03 Yao Qi <yao@codesourcery.com>
7323
7324 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7325
98d1b8dc
AB
73262014-04-01 Anton Blanchard <anton@samba.org>
7327
7328 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7329 messages unique.
7330
3114cea1
AB
73312014-04-01 Anton Blanchard <anton@samba.org>
7332
7333 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7334 prepare_for_testing.
7335
62f7182c
AB
73362014-04-01 Anton Blanchard <anton@samba.org>
7337
7338 * gdb.arch/ppc64-atomic-inst.c: Remove.
7339 * gdb.arch/ppc64-atomic-inst.S: New file.
7340 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7341
770e7fc7
DE
73422014-03-31 Doug Evans <dje@google.com>
7343
7344 * gdb.base/print-symbol-loading-lib.c: New file.
7345 * gdb.base/print-symbol-loading-main.c: New file.
7346 * gdb.base/print-symbol-loading.exp: New file.
7347
46e2bafa
YQ
73482014-03-31 Yao Qi <yao@codesourcery.com>
7349
7350 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7351
8776cfe9
JB
73522014-03-28 Joel Brobecker <brobecker@adacore.com>
7353
7354 * gdb.ada/mi_dyn_arr: New testcase.
7355
5d1ef361
DE
73562014-03-27 Doug Evans <dje@google.com>
7357
7358 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7359
b5bee914
YQ
73602014-03-27 Yao Qi <yao@codesourcery.com>
7361
7362 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7363 if target is nios2-*-*.
7364
0d4d0e77
YQ
73652014-03-26 Yao Qi <yao@codesourcery.com>
7366
7367 * lib/gdb.exp (readline_is_used): New proc.
7368 * gdb.base/completion.exp: Move tests on command complete up.
7369 Skip the rest of tests if readline is not used.
7370 * gdb.ada/complete.exp: Skp the test if readline is not
7371 used.
7372 * gdb.base/filesym.exp: Likewise.
7373 * gdb.base/macscp.exp: Likewise.
7374 * gdb.base/readline-ask.exp: Likewise.
7375 * gdb.base/readline.exp: Likewise.
7376 * gdb.python/py-cmd.exp: Likewise.
7377 * gdb.trace/tfile.exp: Likewise.
7378
29361eee
YQ
73792014-03-26 Yao Qi <yao@codesourcery.com>
7380
7381 * gdb.base/macscp.exp: Fix code format issues.
7382
bc9a5525
UW
73832014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7384
7385 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7386 * gdb.asm/powerpc64le.inc: New file.
7387
d3839ede
PA
73882014-03-25 Pedro Alves <palves@redhat.com>
7389 Doug Evans <dje@google.com>
7390
7391 * gdb.base/source-execution.c: New file.
7392 * gdb.base/source-execution.exp: New file.
7393 * gdb.base/source-execution.gdb: New file.
7394
01672a57
DE
73952014-03-24 Doug Evans <dje@google.com>
7396
7397 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7398 using fission.
7399
88bbeca9
HZ
74002014-03-24 Hui Zhu <hui@codesourcery.com>
7401 Pedro Alves <palves@redhat.com>
7402
7403 PR breakpoints/16101
7404 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7405 test pass/fail messages. Detect missing support for dprintf when
7406 breakpoints are actually inserted.
7407 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7408 breakpoints are actually inserted.
7409 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7410 fails.
7411
d2348791
JK
74122014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7413
7414 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7415
feef67ab
DE
74162014-03-22 Doug Evans <xdje42@gmail.com>
7417
7418 * gdb.python/python.exp (python not supported): Verify multi-line
7419 python command issues an error.
25d743f9 7420 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 7421 guile command issues an error.
feef67ab 7422
ecebef6a
MR
74232014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7424
7425 * gdb.threads/thread-specific.exp: Handle the lack of usable
7426 $this_breakpoint and $this_thread.
7427
ccdd1909
HZ
74282014-03-21 Hui Zhu <hui@codesourcery.com>
7429
7430 * gdb.base/attach.exp (do_command_attach_tests): New.
7431
beb460e8
PA
74322014-03-20 Tom Tromey <tromey@redhat.com>
7433 Pedro Alves <palves@redhat.com>
7434
7435 PR cli/15718
7436 * gdb.base/condbreak-call-false.c: New file.
7437 * gdb.base/condbreak-call-false.exp: New file.
7438
40acf43a
PA
74392014-03-20 Pedro Alves <palves@redhat.com>
7440
7441 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7442 Delete.
7443 (block_signals, unblock_signals): Delete.
7444 (child_function_2, main): Remove references to deleted variable
7445 and functions.
7446
9f5e1e02
PA
74472014-03-20 Pedro Alves <palves@redhat.com>
7448
7449 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7450 Use pthread_kill to signal thread 2.
7451 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7452 Adjust to make the test send itself a signal rather than using the
7453 host's "kill" command.
7454
99619bea
PA
74552014-03-20 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.threads/multiple-step-overs.c: New file.
7458 * gdb.threads/multiple-step-overs.exp: New file.
7459 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7460 Adjust expected infrun debug output.
7461
2adfaa28
PA
74622014-03-20 Pedro Alves <palves@redhat.com>
7463
7464 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7465 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7466
31e77af2
PA
74672014-03-20 Pedro Alves <palves@redhat.com>
7468
7469 PR breakpoints/7143
7470 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7471 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7472 of gdb_test_multiple.
7473 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7474 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7475
b9f437de
PA
74762014-03-20 Pedro Alves <palves@redhat.com>
7477
7478 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7479 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7480
05adc73e
PA
74812014-03-19 Pedro Alves <palves@redhat.com>
7482
7483 * gdb.base/async.exp: Remove early return.
7484
6048b950
PA
74852014-03-19 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7488
8bcfb00a
PA
74892014-03-19 Pedro Alves <palves@redhat.com>
7490
7491 * gdb.base/async.exp (test_background): Expect \r\n after
7492 "completed." in the fail pattern.
7493
884e37dc
PA
74942014-03-19 Pedro Alves <palves@redhat.com>
7495
7496 * gdb.base/async.exp (test_background): New procedure.
7497 Use it for all background execution command tests.
7498
148e57e2
PA
74992014-03-19 Pedro Alves <palves@redhat.com>
7500
7501 * gdb.base/async.exp: Use prepare_for_testing.
7502
f48088c7
PA
75032014-03-19 Pedro Alves <palves@redhat.com>
7504
7505 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7506 the same line.
7507
e2f6c966
PA
75082014-03-19 Pedro Alves <palves@redhat.com>
7509
7510 * gdb.base/async.c (main): Add "jump here" and "until here" line
7511 marker comments.
7512 * gdb.base/async.exp (jump_here): New global.
7513 (jump& test): Use it.
7514 (until_here): New global.
7515 (until& test): Use it.
7516
c30568d4
PA
75172014-03-19 Pedro Alves <palves@redhat.com>
7518
7519 * gdb.base/async.exp: Don't frob gdb_protocol.
7520
0172b6a7
DE
75212014-03-18 Doug Evans <xdje42@gmail.com>
7522
7523 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7524 Fix spelling of exec-done-display.
7525
06c868a8
JK
75262014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7527
7528 PR gdb/15358
7529 * gdb.base/gdb-sigterm.c: New file.
7530 * gdb.base/gdb-sigterm.exp: New file.
7531
0c7e1a46
PA
75322014-03-18 Pedro Alves <palves@redhat.com>
7533
7534 PR gdb/13860
7535 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7536 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7537 solib-event.
7538
f7c77d93
JB
75392014-03-17 Joel Brobecker <brobecker@adacore.com>
7540
7541 * gdb.ada/pckd_arr_ren: New testcase.
7542
5a1e8c7a
DE
75432014-03-13 Doug Evans <xdje42@gmail.com>
7544
7545 PR guile/16612
7546 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7547 collect after discarding symbols.
7548
350e1a76
DE
75492014-03-13 Ludovic Courtès <ludo@gnu.org>
7550 Doug Evans <xdje42@gmail.com>
7551
7552 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7553 to history survives a gc.
7554
a69900ae
PA
75552014-03-13 Pedro Alves <palves@redhat.com>
7556
7557 * gdb.base/default.exp: Don't test "target procfs".
7558
5db9f0bd
PA
75592014-03-13 Pedro Alves <palves@redhat.com>
7560
7561 * gdb.base/default.exp: Update "target child" and "target procfs"
7562 tests to not expect "Unix".
7563
b3ccfe11
TT
75642014-03-12 Tom Tromey <tromey@redhat.com>
7565
7566 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7567 New procs. Add target-async tests.
7568 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7569 Add target-async tests.
7570
646f4417
AA
75712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7572
7573 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7574 'func_start' and 'func_end' for the beginning and end of the
7575 function code, respectively.
7576 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7577 'func_end' instead of 'func' and 'main'.
7578
288c211f
AA
75792014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7580
7581 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7582 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7583 generate the debug info assembler source.
7584
e0c0f156
AA
75852014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7586
7587 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7588 * gdb.dwarf2/arr-subrange.exp: Likewise.
7589 * gdb.dwarf2/dwz.exp: Likewise.
7590 * gdb.dwarf2/method-ptr.exp: Likewise.
7591 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7592 * gdb.dwarf2/subrange.exp: Likewise.
7593 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7594 * gdb.dwarf2/implptrpiece.exp: Likewise.
7595 * gdb.dwarf2/nostaticblock.exp: Likewise.
7596
0e5c4555
AA
75972014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7598
7599 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7600 directory to absolute path name arguments.
7601
5ec18f2b
JG
76022014-03-10 Joel Brobecker <brobecker@adacore.com>
7603
7604 * gdb.ada/tagged_access: New testcase.
7605
847fc4f2
MM
76062014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7607
7608 * gdb.btrace/data.exp: Update expected output.
7609
cc3da688
YQ
76102014-03-06 Yao Qi <yao@codesourcery.com>
7611
7612 * gdb.trace/pr16508.exp: New file.
7613
0f26cec1
PA
76142014-03-05 Pedro Alves <palves@redhat.com>
7615
7616 PR gdb/16575
7617 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7618 procedure.
7619 (top level): Adjust to use it. Add tests that exercise breakpoint
7620 interaction with the code-cache.
7621
7a5a839f
LC
76222014-02-26 Ludovic Courtès <ludo@gnu.org>
7623
7624 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7625 test for 'history-append!'.
7626
31aa7e4e
JB
76272014-02-26 Joel Brobecker <brobecker@adacore.com>
7628
7629 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7630 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7631 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7632 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7633 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7634 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7635
1b588015
JB
76362014-02-26 Joel Brobecker <brobecker@adacore.com>
7637
7638 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7639 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7640 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7641
55426c9d
JB
76422014-02-26 Joel Brobecker <brobecker@adacore.com>
7643
7644 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7645
dc53a7ad
JB
76462014-02-26 Joel Brobecker <brobecker@adacore.com>
7647
7648 * gdb.dwarf2/arr-stride.c: New file.
7649 * gdb.dwarf2/arr-stride.exp: New file.
7650
12ab52e9
PA
76512014-02-26 Pedro Alves <palves@redhat.com>
7652
7653 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7654 that won't ever trigger. Make sure that GDB reports the correct
7655 breakpoint that caused the stop.
7656
849c862e
JK
76572014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7658
7659 PR gdb/16626
7660 * gdb.base/auto-load-script: New file.
7661 * gdb.base/auto-load.c: New file.
7662 * gdb.base/auto-load.exp: New file.
7663
71b7d793
JK
7664 PR gdb/16626
7665 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7666
e2f0d509
JK
76672014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7668
7669 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7670 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7671
50cc37c8
DE
76722014-02-24 Doug Evans <dje@google.com>
7673
7674 * lib/gdb.exp (run_on_host): Log error output if program fails.
7675
ea4758f2
PA
76762014-02-21 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.threads/step-after-sr-lock.c: Rename to ...
7679 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7680 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7681 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7682 ... this.
7683
d7b30f67
SDJ
76842014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7685
7686 PR tdep/16397
7687 * gdb.arch/amd64-stap-special-operands.exp: New file.
7688 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7689 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7690 * gdb.arch/amd64-stap-triplet.S: Likewise.
7691 * gdb.arch/amd64-stap-triplet.c: Likewise.
7692
83deb43f
JB
76932014-02-20 Joel Brobecker <brobecker@adacore.com>
7694
7695 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7696 in .section pseudo-op.
7697
adde2bff
DE
76982014-02-20 lin zuojian <manjian2006@gmail.com>
7699 Joel Brobecker <brobecker@adacore.com>
7700 Doug Evans <xdje42@gmail.com>
7701
7702 PR symtab/16581
7703 * gdb.dwarf2/dw2-icycle.S: New file.
7704 * gdb.dwarf2/dw2-icycle.c: New file.
7705 * gdb.dwarf2/dw2-icycle.exp: New file.
7706
f7bd0f78
SC
77072014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7708
7709 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7710 operations on gdb.Value objects.
7711 * gdb.python/py-value-cc.exp: Add new test to test operations on
7712 gdb.Value objects.
7713
c17ef0d5
DE
77142014-02-18 Doug Evans <dje@google.com>
7715
7716 * Makefile.in (TESTS): New variable.
7717 (expanded_tests, expanded_tests_or_none): New variables
7718 (check-single): Pass $(expanded_tests_or_none) to runtest.
7719 (check-parallel): Only run tests in $(TESTS) if non-empty.
7720 (check/no-matching-tests-found): New rule.
7721 * README: Document TESTS makefile variable.
7722
5dd3176f
DE
77232014-02-18 Doug Evans <dje@google.com>
7724
7725 * Makefile.in (check-parallel): rm -rf outputs temp.
7726
0b10be4f
JK
77272014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7728
7729 Fix "ERROR: no fileid for" in the testsuite.
7730 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7731
85f224e7
DE
77322014-02-12 Doug Evans <dje@google.com>
7733
7734 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7735 (MISCELLANEOUS): New variable.
7736 (clean): rm -rf $(MISCELLANEOUS).
7737 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7738 dwp live in the same directory as symlinks, with each symlink pointed
7739 to a differently named file in a different directory.
7740
149b30ff
DE
77412014-02-11 Doug Evans <dje@google.com>
7742
7743 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7744 of Tcl file commands.
7745
1dfdac32
MK
77462014-02-10 Mark Kettenis <kettenis@gnu.org>
7747
7748 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7749 "kill -SIGUSR1 -1".
7750
aa4fb036
JB
77512014-02-10 Joel Brobecker <brobecker@adacore.com>
7752
7753 * gdb.ada/tick_length_array_enum_idx: New testcase.
7754
ed3ef339
DE
77552014-02-10 Doug Evans <xdje42@gmail.com>
7756
7757 * configure.ac (AC_OUTPUT): Add gdb.guile.
7758 * configure: Regenerate.
7759 * lib/gdb-guile.exp: New file.
7760 * lib/gdb.exp (get_target_charset): New function.
7761 * gdb.base/help.exp: Update expected output from "apropos apropos".
7762 * gdb.guile/Makefile.in: New file.
7763 * gdb.guile/guile.exp: New file.
7764 * gdb.guile/scm-arch.c: New file.
7765 * gdb.guile/scm-arch.exp: New file.
7766 * gdb.guile/scm-block.c: New file.
7767 * gdb.guile/scm-block.exp: New file.
7768 * gdb.guile/scm-breakpoint.c: New file.
7769 * gdb.guile/scm-breakpoint.exp: New file.
7770 * gdb.guile/scm-disasm.c: New file.
7771 * gdb.guile/scm-disasm.exp: New file.
7772 * gdb.guile/scm-equal.c: New file.
7773 * gdb.guile/scm-equal.exp: New file.
7774 * gdb.guile/scm-error.exp: New file.
7775 * gdb.guile/scm-error.scm: New file.
7776 * gdb.guile/scm-frame-args.c: New file.
7777 * gdb.guile/scm-frame-args.exp: New file.
7778 * gdb.guile/scm-frame-args.scm: New file.
7779 * gdb.guile/scm-frame-inline.c: New file.
7780 * gdb.guile/scm-frame-inline.exp: New file.
7781 * gdb.guile/scm-frame.c: New file.
7782 * gdb.guile/scm-frame.exp: New file.
7783 * gdb.guile/scm-generics.exp: New file.
7784 * gdb.guile/scm-gsmob.exp: New file.
7785 * gdb.guile/scm-iterator.c: New file.
7786 * gdb.guile/scm-iterator.exp: New file.
7787 * gdb.guile/scm-math.c: New file.
7788 * gdb.guile/scm-math.exp: New file.
7789 * gdb.guile/scm-objfile-script-gdb.in: New file.
7790 * gdb.guile/scm-objfile-script.c: New file.
7791 * gdb.guile/scm-objfile-script.exp: New file.
7792 * gdb.guile/scm-objfile.c: New file.
7793 * gdb.guile/scm-objfile.exp: New file.
7794 * gdb.guile/scm-ports.exp: New file.
7795 * gdb.guile/scm-pretty-print.c: New file.
7796 * gdb.guile/scm-pretty-print.exp: New file.
7797 * gdb.guile/scm-pretty-print.scm: New file.
7798 * gdb.guile/scm-section-script.c: New file.
7799 * gdb.guile/scm-section-script.exp: New file.
7800 * gdb.guile/scm-section-script.scm: New file.
7801 * gdb.guile/scm-symbol.c: New file.
7802 * gdb.guile/scm-symbol.exp: New file.
7803 * gdb.guile/scm-symtab-2.c: New file.
7804 * gdb.guile/scm-symtab.c: New file.
7805 * gdb.guile/scm-symtab.exp: New file.
7806 * gdb.guile/scm-type.c: New file.
7807 * gdb.guile/scm-type.exp: New file.
7808 * gdb.guile/scm-value-cc.cc: New file.
7809 * gdb.guile/scm-value-cc.exp: New file.
7810 * gdb.guile/scm-value.c: New file.
7811 * gdb.guile/scm-value.exp: New file.
7812 * gdb.guile/source2.scm: New file.
7813 * gdb.guile/types-module.cc: New file.
7814 * gdb.guile/types-module.exp: New file.
7815
7026a7c1
YQ
78162014-02-10 Yao Qi <yao@codesourcery.com>
7817
7818 PR testsuite/16543
7819 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7820 * configure: Regenerated.
7821 * Makefile.in: New file.
7822
6c466447
AS
78232014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7824
7825 * gdb.python/py-framefilter.exp: Fix typo.
7826
6e854735
YQ
78272014-02-08 Yao Qi <yao@codesourcery.com>
7828
7829 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7830 that no =breakpoint-modified is emitted when breakpoints are
7831 modified through MI commands.
7832
d137e6dc
PA
78332014-02-07 Pedro Alves <pedro@codesourcery.com>
7834 Pedro Alves <palves@redhat.com>
7835
7836 * gdb.threads/step-after-sr-lock.c: New file.
7837 * gdb.threads/step-after-sr-lock.exp: New file.
7838
b5ee5a50
PA
78392014-02-07 Pedro Alves <palves@redhat.com>
7840
7841 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7842
3c77faf3
JK
78432014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7844
7845 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7846 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7847
6dddc817
DE
78482014-02-06 Doug Evans <xdje42@gmail.com>
7849
7850 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7851 output.
7852
7853 * gdb.gdb/python-interrupts.exp: New file.
7854
de7b2893
YQ
78552014-02-05 Yao Qi <yao@codesourcery.com>
7856
7857 * gdb.trace/report.exp (use_collected_data): Test the output
7858 of "info threads" and "info inferiors".
7859
66d032ac
YQ
78602014-02-05 Yao Qi <yao@codesourcery.com>
7861
7862 Revert this patch:
7863
7864 2013-05-24 Yao Qi <yao@codesourcery.com>
7865
7866 * gdb.trace/tfile.exp: Test inferior and thread.
7867
591a12a1
UW
78682014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7869
7870 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7871 on a function.
7872 * gdb.base/step-bt.c: Call hello via function pointer to make
7873 sure its first instruction is executed on powerpc64le-linux.
7874
0ff3e01f
UW
78752014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7876
7877 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7878
084ee545
UW
78792014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7880
7881 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7882 of the test patterns for use on little-endian systems.
7883
6ed14ff3
UW
78842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7885
7886 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7887 (decimal_vector): Fix for little-endian.
7888
401e27fd
JM
78892014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7890
7891 * gdb.arch/sparc-sysstep.exp: New file.
7892 * gdb.arch/sparc-sysstep.c: Likewise.
7893
7894 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7895
8b924729
EBM
78962014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7897
7898 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7899
fb151210
JB
79002014-01-23 Tom Tromey <tromey@redhat.com>
7901
7902 * gdb.ada/array_char_idx: New testcase.
7903
0740f8d8
TT
79042014-01-23 Tom Tromey <tromey@redhat.com>
7905
7906 PR python/16487:
7907 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7908 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7909 classes.
7910
21909fa1
TT
79112014-01-23 Tom Tromey <tromey@redhat.com>
7912
7913 PR python/16491:
7914 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7915 string from an inferior frame.
7916 * gdb.python/py-framefilter-mi.exp: Update.
7917
87ce2a04
DE
79182014-01-22 Doug Evans <dje@google.com>
7919
7920 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7921
237b092b
AA
79222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7923
7924 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7925
d674a709
AA
79262014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7927
7928 * gdb.trace/entry-values.exp: Remove excess space character from
7929 regex patterns. Handle s390 call instruction.
7930
20fa3390
AA
79312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7932
7933 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7934 define "*_start" label. Make "name" static.
7935 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7936 ${name} by references to ${name}_start.
7937
78466714
AA
79382014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7939
7940 * gdb.base/info-macros.exp: Remove "debug" from the compile
7941 options.
7942
ec9f644a
IB
79432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7944
7945 * gdb.dlang/demangle.exp: New file.
7946
94b1b47e
IB
79472014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7948
7949 * gdb.dlang/primitive-types.exp: New file.
7950
7f420862
IB
79512014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7952
7953 * configure.ac: Create gdb.dlang/Makefile.
7954 * configure: Regenerate.
7955 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7956 * gdb.dlang/Makefile.in: New file.
7957 * lib/d-support.exp: New file.
7958 * lib/gdb.exp (skip_d_tests): New proc.
7959
52834460
MM
79602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7961
7962 * gdb.btrace/delta.exp: Check reverse stepi.
7963 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7964 * gdb.btrace/finish.exp: New.
7965 * gdb.btrace/next.exp: New.
7966 * gdb.btrace/nexti.exp: New.
7967 * gdb.btrace/record_goto.c: Add comments.
7968 * gdb.btrace/step.exp: New.
7969 * gdb.btrace/stepi.exp: New.
7970 * gdb.btrace/multi-thread-step.c: New.
7971 * gdb.btrace/multi-thread-step.exp: New.
7972 * gdb.btrace/rn-dl-bind.c: New.
7973 * gdb.btrace/rn-dl-bind.exp: New.
7974 * gdb.btrace/data.c: New.
7975 * gdb.btrace/data.exp: New.
7976 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7977
6e07b1d2
MM
79782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7979
7980 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7981 * gdb.btrace/exception.exp: Update.
7982 * gdb.btrace/instruction_history.exp: Update.
7983 * gdb.btrace/record_goto.exp: Update.
7984 * gdb.btrace/tailcall.exp: Update.
7985 * gdb.btrace/unknown_functions.exp: Update.
7986 * gdb.btrace/delta.exp: New.
7987
0b722aec
MM
79882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7989
7990 * gdb.btrace/record_goto.exp: Add backtrace test.
7991 * gdb.btrace/tailcall.exp: Add backtrace test.
7992
066ce621
MM
79932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7994
7995 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7996 * gdb.btrace/record_goto.c: New.
7997 * gdb.btrace/record_goto.exp: New.
7998 * gdb.btrace/x86-record_goto.S: New.
7999
0688d04e
MM
80002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8001
8002 * gdb.btrace/function_call_history.exp: Update tests.
8003 * gdb.btrace/instruction_history.exp: Update tests.
8004
8710b709
MM
80052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8006
8007 * gdb.btrace/function_call_history.exp: Fix expected field
8008 order for "record function-call-history".
8009 Add new tests for "record function-call-history /c".
8010 * gdb.btrace/exception.cc: New.
8011 * gdb.btrace/exception.exp: New.
8012 * gdb.btrace/tailcall.exp: New.
8013 * gdb.btrace/x86-tailcall.S: New.
8014 * gdb.btrace/x86-tailcall.c: New.
8015 * gdb.btrace/unknown_functions.c: New.
8016 * gdb.btrace/unknown_functions.exp: New.
8017 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8018
5de9129b
MM
80192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8020
8021 * gdb.btrace/instruction_history.exp: Update.
8022 * gdb.btrace/function_call_history.exp: Update.
8023
23a7fe75
MM
80242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8025
8026 * gdb.btrace/function_call_history.exp: Fix expected function
8027 trace.
8028 * gdb.btrace/instruction_history.exp: Initialize traced.
8029 Remove traced_functions.
8030
724c7dd8
MM
80312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8032
8033 * gdb.btrace/function_call_history.exp: Update
8034 * gdb.btrace/instruction_history.exp: Update.
8035
6d78d93b
MM
80362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8037
8038 * gdb.btrace/enable.exp: Update expected text.
8039
93a360cc
OJ
80402014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8041
8042 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8043 bytes.
8044
3772b53f
MR
80452014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8046
8047 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8048
596662fa
OJ
80492014-01-15 Omair Javaid <omair.javaid@linaro.org>
8050
8051 * lib/gdb.exp (supports_process_record): Return true for
8052 arm*-linux*. (supports_reverse): Likewise.
8053
b5b08fb4
SC
80542014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8055
8056 PR python/15464
8057 PR python/16113
8058 * gdb.python/py-type.c: Enhance test case.
8059 * gdb.python/py-value-cc.cc: Likewise
8060 * gdb.python/py-type.exp: Add new tests.
8061 * gdb.python/py-value-cc.exp: Likewise
8062
52d7fb13
AA
80632014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8064 Pedro Alves <palves@redhat.com>
8065
8066 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8067 Make "name" extern.
8068 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8069 references to ${name}_start by references to ${name}.
8070
a2cd8cfe
JB
80712014-01-10 Joel Brobecker <brobecker@adacore.com>
8072
8073 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8074
4e23fced
JB
80752014-01-10 Joel Brobecker <brobecker@adacore.com>
8076
8077 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8078
c6a9e42c
PA
80792014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8080 Pedro Alves <palves@redhat.com>
8081
8082 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 8083 mi_gdb_target_load.
c6a9e42c 8084
b7ea362b
PA
80852014-01-08 Pedro Alves <palves@redhat.com>
8086
8087 * gdb.threads/reconnect-signal.c: New file.
8088 * gdb.threads/reconnect-signal.exp: New file.
8089
5e3f4fab
EBM
80902014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8091
8092 * gdb.base/source-dir.exp: New file.
8093
79301218
JB
80942014-01-07 Joel Brobecker <brobecker@adacore.com>
8095
8096 * gdb.ada/mi_interface: New testcase.
8097
8e355c5d
JB
80982014-01-07 Joel Brobecker <brobecker@adacore.com>
8099
8100 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8101 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8102 gdb.ada/pp-rec-component/pck.ads: New files.
8103
c0d48811
JB
81042014-01-07 Joel Brobecker <brobecker@adacore.com>
8105
8106 * gdb.python/py-pp-integral.c: New file.
8107 * gdb.python/py-pp-integral.py: New file.
8108 * gdb.python/py-pp-integral.exp: New file.
8109
17b609c3 8110For older changes see ChangeLog-1993-2013.
c906108c 8111\f
8d8cb839
EZ
8112;; Local Variables:
8113;; mode: change-log
8114;; left-margin: 8
8115;; fill-column: 74
8116;; version-control: never
8117;; End:
902f2ccb 8118
618f726f 8119 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
8120 Copying and distribution of this file, with or without modification,
8121 are permitted provided the copyright notice and this notice are preserved.