aarch64: PR 19806: watchpoints: false negatives + PR 20207 contiguous ones
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2 Pedro Alves <palves@redhat.com>
3
4 PR breakpoints/19806 and support for PR external/20207.
5 * gdb.base/watchpoint-unaligned.c: New file.
6 * gdb.base/watchpoint-unaligned.exp: New file.
7
8 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9
10 * gdb.base/maint.exp: Make test names unique, use
11 test_prefix_command_help to test 'help maint info', and remove
12 repeated test of 'help maint'.
13
14 2018-05-04 Tom Tromey <tom@tromey.com>
15
16 PR gdb/22619:
17 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
18 behavior.
19
20 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * gdb.base/maint.exp: Process output from 'maint print registers'
23 line at a time.
24
25 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
26
27 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
28 timeout.
29
30 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
31
32 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
33 filter pattern.
34
35 2018-05-02 Pedro Alves <palves@redhat.com>
36
37 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
38 to_log_command renames.
39 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
40
41 2018-05-02 Tom Tromey <tom@tromey.com>
42
43 * gdb.python/py-parameter.exp: Set test message.
44
45 2018-05-02 Tom Tromey <tom@tromey.com>
46
47 PR python/20084:
48 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
49 PARAM_ZUINTEGER_UNLIMITED tests.
50
51 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
52
53 PR rust/23124
54 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
55 when casting.
56
57 2018-04-30 Tom Tromey <tom@tromey.com>
58
59 * gdb.python/py-type.exp: Check align attribute.
60 * gdb.python/py-type.c: New "aligncheck" global.
61
62 2018-04-30 Tom Tromey <tom@tromey.com>
63
64 PR exp/17095:
65 * gdb.dwarf2/dw2-align.exp: New file.
66 * gdb.cp/align.exp: New file.
67 * gdb.base/align.exp: New file.
68 * lib/gdb.exp (gdb_int128_helper): New proc.
69 (has_int128_c, has_int128_cxx): New caching procs.
70
71 2018-04-27 Tom Tromey <tom@tromey.com>
72
73 PR rust/22545:
74 * gdb.rust/simple.exp: Add inclusive range tests.
75
76 2018-04-26 Pedro Alves <palves@redhat.com>
77
78 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
79 ifunc breakpoint locations correctly of ifunc breakpoints set
80 while the program resolves the ifunc.
81
82 2018-04-26 Pedro Alves <palves@redhat.com>
83
84 * gdb.base/gnu-ifunc-final.c: New file.
85 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
86 * gdb.base/gnu-ifunc.exp (executable): Delete.
87 (staticexecutable): Adjust.
88 (lib_opts, exec_opts): Delete.
89 (make_binsuffix, build, set-break): New procedures.
90 (misc_tests): New, with tests factored out from the top level.
91 (top level): Test different combinations of ifunc resolver name,
92 resolver with and with debug info, and ifunc target with and
93 without debug info. Wrap static tests with with_target_prefix.
94
95 2018-04-26 Pedro Alves <palves@redhat.com>
96
97 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
98 return type" warnings.
99
100 2018-04-25 Pedro Alves <palves@redhat.com>
101
102 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
103 killed".
104 * gdb.base/kill-after-signal.exp: Likewise.
105 * gdb.threads/kill.exp: Likewise.
106
107 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
108 Sergio Durigan Junior <sergiodj@redhat.com>
109 Pedro Alves <palves@redhat.com>
110
111 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
112 regexps to expect for '[Inferior ... detached]' as well.
113 * gdb.base/attach.exp: Likewise.
114 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
115 "gdb_continue_to_end".
116 (test_catch_syscall_with_wrong_args): Likewise.
117 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
118 ']'. Don't set 'verbose' on.
119 * gdb.base/foll-vfork.exp: Likewise.
120 * gdb.base/fork-print-inferior-events.c: New file.
121 * gdb.base/fork-print-inferior-events.exp: New file.
122 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
123 '[Inferior ... has been killed]' message.
124 * gdb.base/kill-after-signal.exp: Likewise.
125 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
126 detach message.
127 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
128 message.
129 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
130 regexps to expect for '[Inferior ... detached]' as well.
131 * gdb.threads/process-dies-while-detaching.exp: Likewise.
132
133 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
134
135 PR gdb/23104
136 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
137
138 2018-04-19 Richard Bunt <richard.bunt@arm.com>
139
140 * gdb.threads/multiple-successive-infcall.c: New test.
141 * gdb.threads/multiple-successive-infcall.exp: New file.
142
143 2018-04-17 Tom Tromey <tom@tromey.com>
144
145 * gdb.rust/simple.rs (Union): New type.
146 (main): New local "u".
147 * gdb.rust/simple.exp (test_one_slice): Add new test case.
148
149 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
150
151 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
152 number information in output of "whereis" command.
153 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
154
155 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
156
157 * gdb.ada/info_types.exp: Adjust expected output to the line
158 numbers now printed by "info var/func/type".
159 * gdb.base/completion.exp: Likewise.
160 * gdb.base/included.exp: Likewise.
161 * gdb.cp/cp-relocate.exp: Likewise.
162 * gdb.cp/cplusfuncs.exp: Likewise.
163 * gdb.cp/namespace.exp: Likewise.
164 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
165
166 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
167
168 * gdb.btrace/cpu.exp: New.
169
170 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
171
172 * gdb.base/step-indirect-call-thunk.exp: New.
173 * gdb.base/step-indirect-call-thunk.c: New.
174 * gdb.reverse/step-indirect-call-thunk.exp: New.
175 * gdb.reverse/step-indirect-call-thunk.c: New.
176
177 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
178
179 * gdb.base/pie-fork.c: New file.
180 * gdb.base/pie-fork.exp: New file.
181
182 2018-04-11 Tom Tromey <tom@tromey.com>
183
184 * gdb.rust/simple.exp: Add test for ".." struct initializer.
185
186 2018-04-10 Pedro Alves <palves@redhat.com>
187
188 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
189 exits. Instead loop running forever.
190 (fork_parent): Run forever too.
191
192 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
193
194 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
195 mi_continue_to_line.
196 * gdb.mi/mi-stack.c (callee4): Add comment.
197
198 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
199
200 * gdb.mi/mi-stack.exp: Fix indentation.
201
202 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
203
204 PR gdb/22979
205 * gdb.arch/amd64-osabi.exp: New file.
206
207 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
208
209 PR gdb/22980
210 * gdb.base/osabi.exp: New file.
211
212 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
213
214 * gdb.cp/static-typedef-print.exp: New file.
215 * gdb.cp/static-typedef-print.cc: New file.
216
217 2018-03-27 Joel Brobecker <brobecker@adacore.com>
218
219 * gdb.ada/varsize_limit: New testcase.
220
221 2018-03-27 Joel Brobecker <brobecker@adacore.com>
222
223 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
224
225 * gdb.ada/notcplusplus: New testcase.
226
227 * gdb.base/c-linkage-name.c: New file.
228 * gdb.base/c-linkage-name.exp: New testcase.
229
230 2018-03-26 Tom Tromey <tom@tromey.com>
231
232 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
233 * gdb.python/py-framefilter.py (name_error): New global.
234 (ErrorInName.function): Use name_error.
235
236 2018-03-26 Tom Tromey <tom@tromey.com>
237
238 PR backtrace/15582:
239 * gdb.python/py-framefilter.exp: Add "bt hide" test.
240
241 2018-03-23 Keith Seitz <keiths@redhat.com>
242
243 PR c++/22968
244 * gdb.cp/subtypes.exp: New file.
245 * gdb.cp/subtypes.h: New file.
246 * gdb.cp/subtypes.cc: New file.
247 * gdb.cp/subtypes-2.cc: New file.
248
249 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
250
251 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
252 (done): Call '_exit' not 'exit' to avoid atexit handlers.
253 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
254 -nostartfiles when compiling the test. Confirm that all registers
255 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
256
257 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
258
259 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
260 option, syntax was wrong anyway.
261 * gdb.arch/arm-disp-step.exp: Likewise.
262 * gdb.arch/sparc64-regs.exp: Likewise.
263 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
264 option, syntax was wrong anyway, switch to use
265 prepare_for_testing.
266 * gdb.arch/i386-disp-step.exp: Likewise.
267
268 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
269
270 * gdb.ada/exec_changed.exp: Replace "target_info exists
271 use_gdb_stub" by "use_gdb_stub".
272 * gdb.ada/start.exp: Likewise.
273 * gdb.base/async-shell.exp: Likewise.
274 * gdb.base/attach-pie-misread.exp: Likewise.
275 * gdb.base/attach-wait-input.exp: Likewise.
276 * gdb.base/break-entry.exp: Likewise.
277 * gdb.base/break-interp.exp: Likewise.
278 * gdb.base/dprintf-detach.exp: Likewise.
279 * gdb.base/nostdlib.exp: Likewise.
280 * gdb.base/solib-nodir.exp: Likewise.
281 * gdb.base/statistics.exp: Likewise.
282 * gdb.base/testenv.exp: Likewise.
283 * gdb.mi/mi-exec-run.exp: Likewise.
284 * gdb.mi/mi-start.exp: Likewise.
285 * gdb.multi/dummy-frame-restore.exp: Likewise.
286 * gdb.multi/multi-arch-exec.exp: Likewise.
287 * gdb.multi/multi-arch.exp: Likewise.
288 * gdb.multi/tids.exp: Likewise.
289 * gdb.multi/watchpoint-multi.exp: Likewise.
290 * gdb.python/py-events.exp: Likewise.
291 * gdb.threads/attach-into-signal.exp: Likewise.
292 * gdb.threads/attach-stopped.exp: Likewise.
293 * gdb.threads/threadapply.exp: Likewise.
294 * lib/selftest-support.exp: Likewise.
295
296 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
297
298 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
299
300 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
301
302 * gdb.perf/template-breakpoints.cc: New file.
303 * gdb.perf/template-breakpoints.exp: New file.
304 * gdb.perf/template-breakpoints.py: New file.
305
306 2018-03-19 Tom Tromey <tom@tromey.com>
307
308 * gdb.rust/simple.rs (main): Add local variables field1, field2,
309 y0.
310 * gdb.rust/simple.exp: Test bare identifier form of struct
311 initializer.
312
313 2018-03-19 Tom Tromey <tom@tromey.com>
314
315 * gdb.gdb/observer.exp: Remove.
316
317 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
318
319 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
320 "qualified" option when setting breakpoints.
321 * gdb.trace/backtrace.exp: Likewise.
322 * gdb.trace/circ.exp: Likewise.
323 * gdb.trace/collection.exp: Likewise.
324 * gdb.trace/disconnected-tracing.exp: Likewise.
325 * gdb.trace/ftrace-lock.exp: Likewise.
326 * gdb.trace/ftrace.exp: Likewise.
327 * gdb.trace/infotrace.exp: Likewise.
328 * gdb.trace/packetlen.exp: Likewise.
329 * gdb.trace/passc-dyn.exp: Likewise.
330 * gdb.trace/qtro.exp: Likewise.
331 * gdb.trace/read-memory.exp: Likewise.
332 * gdb.trace/report.exp: Likewise.
333 * gdb.trace/signal.exp: Likewise.
334 * gdb.trace/status-stop.exp: Likewise.
335 * gdb.trace/strace.exp: Likewise.
336 * gdb.trace/tfind.exp: Likewise.
337 * gdb.trace/trace-break.exp: Likewise.
338 * gdb.trace/trace-condition.exp: Likewise.
339 * gdb.trace/trace-mt.exp: Likewise.
340 * gdb.trace/tstatus.exp: Likewise.
341 * gdb.trace/tsv.exp: Likewise.
342 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
343 * gdb.trace/unavailable.exp: Likewise.
344 * gdb.trace/while-dyn.exp: Likewise.
345
346 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
347
348 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
349 that libinproctrace is copied to the target.
350
351 2018-03-14 Tom Tromey <tom@tromey.com>
352
353 PR cli/14977:
354 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
355 a null pointer.
356 * gdb.base/wchar.exp: Likewise.
357
358 2018-03-14 Tom Tromey <tom@tromey.com>
359
360 PR cli/19918:
361 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
362 flag.
363
364 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
365
366 PR gdb/22841
367 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
368 "target" to remote_exec.
369
370 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
371
372 PR gdb/22841
373 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
374 ${board}_upload): Remove.
375
376 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
377
378 * gdb.cp/watch-cp.cc: New test.
379 * gdb.cp/watch-cp.exp: New file.
380
381 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
382
383 * gdb.base/infcall-nested-structs.exp: New file.
384 * gdb.base/infcall-nested-structs.c: New file.
385 * gdb.base/float.exp: Add riscv support.
386
387 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
388
389 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
390 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
391
392 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
393
394 * gdb.server/abspath.exp: New file.
395 * lib/gdb.exp (with_cwd): New procedure.
396
397 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
398
399 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
400 use it.
401 (gdb_is_target_remote_prompt): New proc.
402 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
403 (gdb_is_target_native): Pass prompt parameter to
404 gdb_is_target_1.
405
406 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
407
408 * gdb.base/load-command.c: New file.
409 * gdb.base/load-command.exp: New file.
410 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
411 (gdb_is_target_1): ...this, and generalize for other targets
412 than just remote.
413 (gdb_is_target_remote): Use gdb_is_target_1.
414 (gdb_is_target_native): use gdb_is_target_1.
415
416 2018-02-26 Tom Tromey <tom@tromey.com>
417
418 PR python/16497:
419 * gdb.python/py-framefilter.exp: Update test.
420
421 2018-02-26 Tom Tromey <tom@tromey.com>
422
423 * gdb.dwarf2/variant.c: New file.
424 * gdb.dwarf2/variant.exp: New file.
425
426 2018-02-26 Tom Tromey <tom@tromey.com>
427
428 * gdb.rust/simple.exp: Accept more possible results in enum test.
429
430 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
431
432 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
433 parentheses.
434
435 2018-02-23 Maciej W. Rozycki <macro@mips.com>
436
437 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
438 name of a variable: $actual_linejj -> $actual_line.
439
440 2018-02-21 John Baldwin <jhb@FreeBSD.org>
441
442 * gdb.arch/amd64-i386-address.exp: Fix a typo.
443
444 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
445
446 * gdb.btrace/buffer-size.exp: Do not force BTS.
447
448 2018-02-14 Pedro Alves <palves@redhat.com>
449
450 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
451 getting a "Quit".
452
453 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
454
455 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
456 Fix test name.
457
458 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
459
460 * gdb.cp/m-static.exp: Check type of optimized out static
461 member.
462
463 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
464
465 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
466 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
467
468 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
469 Leszek Swirski <leszeks@google.com>
470
471 * gdb.python/py-prettyprint.c
472 (struct to_string_returns_value_inner,
473 struct to_string_returns_value_wrapper): New.
474 (main): Add tsrvw variable.
475 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
476 ToStringReturnsValueWrapper): New classes.
477 (register_pretty_printers): Register new pretty-printers.
478 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
479 recursive pretty printer.
480 * gdb.python/py-mi.exp: Likewise.
481
482 2018-02-01 Leszek Swirski <leszeks@google.com>
483
484 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
485 functions with the same name as an include file are parsed
486 correctly.
487
488 2018-02-01 Yao Qi <yao.qi@linaro.org>
489
490 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
491 "\[^\r\n\]*".
492
493 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
494
495 * gdb.arch/powerpc-prologue-frame.s: New file.
496 * gdb.arch/powerpc-prologue-frame.c: Likewise.
497 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
498
499 2018-01-31 Joel Brobecker <brobecker@adacore.com>
500
501 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
502
503 2018-01-30 Pedro Alves <palves@redhat.com>
504
505 PR gdb/13211
506 * gdb.base/interrupt-daemon.c: New.
507 * gdb.base/interrupt-daemon.exp: New.
508 * gdb.multi/multi-term-settings.c: New.
509 * gdb.multi/multi-term-settings.exp: New.
510
511 2018-01-30 Joel Brobecker <brobecker@adacore.com>
512
513 * gdb.base/break.exp: Save the location where the breakpoint
514 on break.c:47 was actually inserted when debugging the version
515 compiled at -O2 and use it in the expected output of the "info
516 break" test performed soon after.
517
518 2018-01-22 Pedro Alves <palves@redhat.com>
519 Sergio Durigan Junior <sergiodj@redhat.com>
520
521 * gdb.base/whatis.exp: Add tests for 'set print object on' +
522 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
523
524 2018-01-22 Joel Brobecker <brobecker@adacore.com>
525
526 * gdb.base/break-include.c, gdb.base/break-include.inc,
527 gdb.base/break-include.exp: New files.
528 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
529 line number now being the actual line number where the breakpoint
530 was inserted.
531 * gdb.mi/mi-break.exp: Likewise.
532 * gdb.mi/mi-reverse.exp: Likewise.
533 * gdb.mi/mi-simplerun.exp: Ditto.
534
535 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
536
537 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
538 varobj.
539 * gdb.mi/mi-var-create-rtti.exp: Likewise.
540
541 2018-01-21 Don Breazeal <donb@codesourcery.com>
542 Andrew Burgess <andrew.burgess@embecosm.com>
543
544 * gdb.mi/basics.c: Add new global.
545 * gdb.mi/mi-frame-regs.exp: New file.
546 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
547 case.
548
549 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
550
551 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
552 non-parameter, and on an unknown symbol.
553
554 2018-01-19 Tom Tromey <tom@tromey.com>
555
556 * gdb.rust/modules.rs (TWENTY_THREE): New global.
557 * gdb.rust/modules.exp: Add ::-qualified lookup test.
558
559 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
560
561 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
562 setrlimit and chdir to int.
563
564 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
565
566 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
567 function.
568 (my_tend): Likewise.
569 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
570 rationale of avoiding FP- and vector instructions.
571
572 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
573
574 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
575 "info reg" with "\[ \t\]*".
576 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
577 "\[ \t\]+".
578 * gdb.arch/s390-multiarch.exp: Ditto.
579 * gdb.base/pc-fp.exp: Ditto.
580 * gdb.reverse/i386-precsave.exp: Ditto.
581 * gdb.reverse/i386-reverse.exp: Ditto.
582 * gdb.reverse/i387-env-reverse.exp: Ditto.
583 * gdb.reverse/i387-stack-reverse.exp: Ditto.
584
585 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
586
587 * lib/gdb.exp (gdb_compile): Re-enable use of
588 universal_compile_options for languages other than Rust.
589
590 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
591
592 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
593
594 2018-01-17 Mike Gulick <mgulick@mathworks.com>
595
596 PR gdb/16577
597 * gdb.base/solib-vanish.exp: New.
598 * gdb.base/solib-vanish-main.c: New.
599 * gdb.base/solib-vanish-lib1.c: New.
600 * gdb.base/solib-vanish-lib2.c: New.
601
602 2018-01-17 Yao Qi <yao.qi@linaro.org>
603
604 * gdb.compile/compile.exp: Match the address printed for
605 frame in the output of command "bt".
606
607 2018-01-15 Tom Tromey <tom@tromey.com>
608
609 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
610 compute sp_reg.
611
612 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
613
614 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
615 to prepare.
616 (prepare): Return 0 on error, 1 on success.
617
618 2018-01-12 Pedro Alves <palves@redhat.com>
619
620 * gdb.base/continue-after-aborted-step-over.c: New.
621 * gdb.base/continue-after-aborted-step-over.exp: New.
622
623 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
624
625 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
626 options when not creating an executable.
627
628 2018-01-11 Pedro Alves <palves@redhat.com>
629
630 PR remote/22597
631 * gdb.server/stop-reply-no-thread.c: New file.
632 * gdb.server/stop-reply-no-thread.exp: New file.
633
634 2018-01-10 Pedro Alves <palves@redhat.com>
635
636 PR gdb/22670
637 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
638 functions too. Test setting breakpoints and printing C functions
639 with no debug info too.
640 * gdb.ada/bp_c_mixed_case/qux.c: New file.
641
642 2018-01-10 Pedro Alves <palves@redhat.com>
643
644 PR gdb/22670
645 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
646 a fail.
647
648 2018-01-10 Pedro Alves <palves@redhat.com>
649
650 PR gdb/22670
651 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
652
653 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
654
655 * gdb.server/unittest.exp: Match the output in non-development
656 mode.
657
658 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
659
660 * gdb.gdb/unittest.exp: Match output in non-development mode.
661
662 2018-01-08 Joel Brobecker <brobecker@adacore.com>
663
664 * gdb.ada/access_tagged_param.exp: Relax expected output
665 for value of "ObjL" in "continue" to pck.inspect breakpoint
666 test.
667
668 2018-01-08 Joel Brobecker <brobecker@adacore.com>
669
670 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
671 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
672
673 2018-01-05 Pedro Alves <palves@redhat.com>
674
675 PR gdb/18653
676 * gdb.base/libsegfault.exp: New.
677
678 2018-01-05 Joel Brobecker <brobecker@adacore.com>
679
680 PR gdb/22670
681 * gdb.ada/access_tagged_param.exp: New file.
682 * gdb.ada/access_tagged_param/foo.adb: New file.
683
684 2018-01-05 Pedro Alves <palves@redhat.com>
685
686 PR gdb/22670
687 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
688 exercise lower case too, and to exercise both full matching and
689 wild matching.
690
691 2018-01-05 Joel Brobecker <brobecker@adacore.com>
692
693 * gdb.ada/rename_subscript_param: New testcase.
694
695 2018-01-05 Jerome Guitton <guitton@adacore.com>
696
697 * gdb.ada/arr_acc_idx_w_gap: New testcase.
698
699 2018-01-05 Joel Brobecker <brobecker@adacore.com>
700
701 * gdb.ada/convvar_comp: New testcase.
702
703 2018-01-05 Xavier Roirand <roirand@adacore.com>
704
705 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
706 (My_Table): New global variable.
707 * testsuite/gdb.ada/array_char_idx.exp: Add test.
708
709 2018-01-04 Joel Brobecker <brobecker@adacore.com>
710
711 PR gdb/22670
712 * gdb.ada/maint_with_ada: New testcase.
713
714 2018-01-04 Joel Brobecker <brobecker@adacore.com>
715
716 PR gdb/22670
717 * gdb.ada/bp_c_mixed_case: New testcase.
718
719 2018-01-04 Joel Brobecker <brobecker@adacore.com>
720
721 PR gdb/22670
722 * gdb.ada/complete.exp: Add "complete break ada" test.
723
724 2018-01-04 Joel Brobecker <brobecker@adacore.com>
725
726 PR gdb/22670
727 * gdb.ada/info_addr_mixed_case: New testcase.
728
729 2018-01-03 Xavier Roirand <roirand@adacore.com>
730
731 * gdb.ada/excep_handle.exp: New testcase.
732 * gdb.ada/excep_handle/foo.adb: New file.
733 * gdb.ada/excep_handle/pck.ads: New file.
734
735 2018-01-03 Joel Brobecker <brobecker@adacore.com>
736
737 * gdb.base/step-line.c: Add extra empty line in copyright header.
738 * gdb.base/step-line.inp: Likewise.
739
740 2018-01-02 Joel Brobecker <brobecker@adacore.com>
741
742 * gdb.ada/dyn_stride.exp: Add slice test.
743
744 2018-01-02 Joel Brobecker <brobecker@adacore.com>
745
746 * gdb.ada/dyn_stride: New testcase.
747
748 2017-12-27 Stafford Horne <shorne@gmail.com>
749
750 * gdb.xml/extra-regs.xml: Add example foo reggroup.
751 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
752
753 2017-12-27 Stafford Horne <shorne@gmail.com>
754
755 * gdb.base/reggroups.c: New file.
756 * gdb.base/reggroups.exp: New file.
757
758 2017-12-18 Joel Brobecker <brobecker@adacore.com>
759
760 * gdb.dwarf2/ada-valprint-error.c: New file.
761 * gdb.dwarf2/ada-valprint-error.exp: New file.
762
763 2017-12-18 Joel Brobecker <brobecker@adacore.com>
764
765 * gdb.ada/assign_arr: New testcase.
766
767 2017-12-18 Xavier Roirand <roirand@adacore.com>
768
769 * gdb.ada/funcall_ptr: New testcase.
770
771 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
772
773 PR cli/16224
774 * gdb.base/ptype-offsets.cc: New file.
775 * gdb.base/ptype-offsets.exp: New file.
776
777 2017-12-15 Yao Qi <yao.qi@linaro.org>
778
779 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
780 if XML is disabled.
781
782 2017-12-15 Xavier Roirand <roirand@adacore.com>
783
784 * gdb.ada/same_component_name: New testcase.
785
786 2017-12-14 Joel Brobecker <brobecker@adacore.com>
787
788 * gdb.ada/str_binop_equal: New testcase.
789
790 2017-12-14 Joel Brobecker <brobecker@adacore.com>
791
792 * gdb.ada/task_switch_in_core: New testcase.
793
794 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
795
796 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
797 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
798 call test_bkpt_qualified.
799 (test_bkpt_qualified): New proc.
800
801 2017-12-13 Pedro Alves <palves@redhat.com>
802
803 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
804 Tighten regexp by matching with an anchor.
805
806 2017-12-13 Pedro Alves <palves@redhat.com>
807
808 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
809 ("expression with namespace"): New set of tests.
810 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
811 (Nested::Test_NS::qux): New.
812 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
813 defaults to 'start_quote_char' and 'end_quote_char' parameters.
814
815 2017-12-13 Joel Brobecker <brobecker@adacore.com>
816
817 * gdb.base/server-del-break.c: New file.
818 * gdb.base/server-del-break.exp: New file.
819
820 2017-12-12 Stafford Horne <shorne@gmail.com>
821
822 * gdb.xml/tdesc-regs.exp: Add or1k support.
823
824 2017-12-12 Stafford Horne <shorne@gmail.com>
825
826 * gdb.base/bp-permanent.c: Define nop of or1k.
827
828 2017-12-11 Joel Brobecker <brobecker@adacore.com>
829
830 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
831 output with components being reordered.
832
833 2017-12-11 Joel Brobecker <brobecker@adacore.com>
834
835 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
836 output with components being reordered.
837
838 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
839 Pedro Alves <palves@redhat.com>
840
841 * gdb.base/maint.exp (check for .gdb_index): Check also for
842 .debug_names.
843 * gdb.dlang/watch-loc.c (.debug_aranges): New.
844 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
845 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
846 (.gdb_index used after symbol reloading): Support also .debug_names.
847 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
848
849 2017-12-08 Yao Qi <yao.qi@linaro.org>
850
851 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
852 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
853
854 2017-12-08 Yao Qi <yao.qi@linaro.org>
855
856 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
857 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
858
859 2017-12-08 Yao Qi <yao.qi@linaro.org>
860
861 * gdb.arch/aarch64-tagged-pointer.c: New file.
862 * gdb.arch/aarch64-tagged-pointer.exp: New file.
863
864 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
865
866 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
867 "int".
868
869 2017-12-07 Keith Seitz <keiths@redhat.com>
870
871 PR breakpoints/22569
872 * gdb.linespec/ls-errs.exp: Change expected result of "break
873 -source this file has spaces.c -line 3".
874 Check that an explicit source file followed by whitespace is
875 identified as an invalid explicit location.
876
877 2017-12-07 Keith Seitz <keiths@redhat.com>
878
879 * gdb.cp/nested-types.cc: New file.
880 * gdb.cp/nested-types.exp: New file.
881 * lib/cp-support.exp: Load data-structures.exp library.
882 (debug_cp_test_ptype_class): New global.
883 (cp_ptype_class_verbose, next_line): New procedures.
884 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
885 Add and document new return value.
886 Switch the list of lines to a queue.
887 Add support for new `type' key for nested type definitions.
888 Add debugging/troubleshooting messages.
889 * lib/data-structures.exp: New file.
890
891 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
892
893 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
894 with proc_with_prefix, don't use with_test_prefix.
895
896 2017-12-07 Tom Tromey <tom@tromey.com>
897
898 * gdb.base/break.exp: Add test for empty "commands".
899
900 2017-12-07 Yao Qi <yao.qi@linaro.org>
901
902 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
903 malloc and catch syscall.
904
905 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
906
907 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
908 tests for explicit locations.
909
910 2017-12-06 Pedro Alves <palves@redhat.com>
911
912 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
913 force-disabling XML descriptions.
914
915 2017-12-04 Pedro Alves <palves@redhat.com>
916
917 PR gdb/22499
918 * gdb.arch/amd64-disp-step-avx.S: New file.
919 * gdb.arch/amd64-disp-step-avx.exp: New file.
920
921 2017-12-03 Pedro Alves <palves@redhat.com>
922
923 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
924 and <string.h>.
925 (parent_function): Print distinct messages when waitpid fails, or
926 the child exits with a signal, or the child exits for an unhandled
927 reason.
928 * gdb.threads/process-dies-while-detaching.exp
929 (detach_and_expect_exit): New 'inf_output_re' parameter and use
930 it. Wait for both inferior output and GDB's prompt. Use an
931 indirect spawn id list.
932 (do_detach): New parameter 'child_exit'. Use it to compute
933 expected inferior output.
934 (test_detach, test_detach_watch, test_detach_killed_outside):
935 Adjust to pass down the expected child exit kind.
936
937 2017-12-01 Joel Brobecker <brobecker@adacore.com>
938 Sergio Durigan Junior <sergiodj@redhat.com>
939 Pedro Alves <palves@redhat.com>
940
941 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
942
943 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
944
945 * gdb.base/relocate.exp: Add tests to guarantee that arguments
946 to 'symbol-file' and 'add-symbol-file' can be
947 position-independent.
948
949 2017-12-01 Yao Qi <yao.qi@linaro.org>
950
951 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
952 the URL in copyright header.
953 * gdb.arch/aarch64-fp.exp: Likewise.
954 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
955 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
956 * gdb.base/expand-psymtabs.exp: Likewise.
957 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
958 * gdb.fortran/common-block.exp: Likewise.
959 * gdb.fortran/common-block.f90: Likewise.
960 * gdb.fortran/logical.exp: Likewise.
961 * gdb.fortran/vla-datatypes.f90: Likewise.
962 * gdb.fortran/vla-sub.f90: Likewise.
963
964 2017-11-30 Joel Brobecker <brobecker@adacore.com>
965
966 * gdb.ada/repeat_dyn: New testcase.
967
968 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
969
970 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
971 Update for changed thread numbering.
972 * gdb.cell/bt.exp: Update for changed GDB output.
973
974 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
975
976 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
977 setting isremote by hand.
978 * boards/dwarf4-gdb-index.exp: Likewise.
979 * boards/fission.exp: Likewise.
980 * boards/stabs.exp: Likewise.
981
982 2017-11-30 Pedro Alves <palves@redhat.com>
983
984 * gdb.linespec/cpls-ops.exp
985 (check_explicit_skips_function_argument): Extract the underlying
986 type of size_t instead of hardcoding it.
987
988 2017-11-29 Pedro Alves <palves@redhat.com>
989
990 PR c++/19436
991 * gdb.linespec/cpls-abi-tag.cc: New file.
992 * gdb.linespec/cpls-abi-tag.exp: New file.
993
994 2017-11-29 Pedro Alves <palves@redhat.com>
995
996 * gdb.base/langs.exp: Use -qualified.
997 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
998 it.
999 * gdb.cp/namespace.exp: Use -qualified.
1000 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1001 (overload-3, template-overload, template-ret-type, const-overload)
1002 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1003 procedures.
1004 (test_driver): Call them.
1005 * gdb.cp/save-bp-qualified.cc: New.
1006 * gdb.cp/save-bp-qualified.exp: New.
1007 * gdb.linespec/explicit.exp: Test -qualified.
1008 * lib/completion-support.exp (completion::explicit_opts_list): Add
1009 "-qualified".
1010 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1011
1012 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1013
1014 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1015
1016 2017-11-29 Tom Tromey <tom@tromey.com>
1017
1018 * gdb.base/relocate.exp: Update invalid argument test.
1019 Add new tests for invalid arguments.
1020
1021 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1022
1023 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1024 Return 0 as a long.
1025 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1026
1027 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1028
1029 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1030 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1031 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1032 func ().
1033 * gdb.cp/shadow.cc (B.func): Return 0.
1034
1035 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1036
1037 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1038 expected output in gdb_expect call to allow the exception
1039 message to be present as well. Fix syntax confusion to avoid
1040 TCL thinking that exception_name is an array.
1041
1042 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1043
1044 * gdb.arch/spu-info.c: Include <unistd.h>.
1045 (do_signal_test): Fix broken calls to write.
1046 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1047 Fix checks for empty mailboxes. Update signal tests for corrected
1048 do_signal_test routine. Allow nonzero event status.
1049 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1050 * gdb.cell/arch.exp: Use standard_output_file.
1051 * gdb.cell/break.exp: Likewise.
1052 * gdb.cell/bt.exp: Likewise.
1053 * gdb.cell/core.exp: Likewise.
1054 * gdb.cell/dwarfaddr.exp: Likewise.
1055 * gdb.cell/ea-cache.exp: Likewise.
1056 * gdb.cell/ea-standalone.exp: Likewise.
1057 * gdb.cell/f-regs.exp: Likewise.
1058 * gdb.cell/fork.exp: Likewise.
1059 * gdb.cell/gcore.exp: Likewise.
1060 * gdb.cell/mem-access.exp: Likewise.
1061 * gdb.cell/ptype.exp: Likewise.
1062 * gdb.cell/registers.exp: Likewise.
1063 * gdb.cell/sizeof.exp: Likewise.
1064 * gdb.cell/solib-symbol.exp: Likewise.
1065 * gdb.cell/solib.exp: Likewise.
1066
1067 2017-11-25 Pedro Alves <palves@redhat.com>
1068
1069 * gdb.base/complete-empty.exp: New file.
1070 * gdb.base/completion.exp: Adjust.
1071
1072 2017-11-25 Pedro Alves <palves@redhat.com>
1073
1074 * gdb.linespec/cpls-ops.cc: New file.
1075 * gdb.linespec/cpls-ops.exp: New file.
1076 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1077 factored out from ...
1078 (test_complete_prefix_range): ... this.
1079
1080 2017-11-24 Pedro Alves <palves@redhat.com>
1081
1082 * gdb.linespec/cpcompletion.exp: New file.
1083 * gdb.linespec/cpls-hyphen.cc: New file.
1084 * gdb.linespec/cpls.cc: New file.
1085 * gdb.linespec/cpls2.cc: New file.
1086 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1087 test to use test_gdb_complete_unique. Add label completion,
1088 keyword completion and explicit location completion tests.
1089 * lib/completion-support.exp: New file.
1090
1091 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1092
1093 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1094 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1095 when hitting an exception catchpoint.
1096
1097 2017-11-22 Yao Qi <yao.qi@linaro.org>
1098
1099 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1100
1101 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1102
1103 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1104 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1105 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1106
1107 2017-11-22 Yao Qi <yao.qi@linaro.org>
1108
1109 * gdb.base/info-os.exp: Pass pthreads.
1110 * gdb.multi/multi-attach.exp: Likewise.
1111
1112 2017-11-22 Yao Qi <yao.qi@linaro.org>
1113
1114 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1115 compiler.
1116
1117 2017-11-22 Yao Qi <yao.qi@linaro.org>
1118
1119 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1120 * gdb.base/break-interp.exp: Likewise.
1121 * gdb.base/jit-attach-pie.exp: Likewise.
1122
1123 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1124
1125 * gdb.base/float128.c (large128): New variable.
1126 * gdb.base/float128.exp: Add test to print largest __float128 value.
1127
1128 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1129
1130 * gdb.arch/vsx-regs.exp: Update register content checks.
1131
1132 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1133
1134 * gdb.arch/ppc-longdouble.exp: New file.
1135 * gdb.arch/ppc-longdouble.c: Likewise.
1136
1137 2017-11-21 Pedro Alves <palves@redhat.com>
1138
1139 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1140
1141 2017-11-20 Pedro Alves <palves@redhat.com>
1142
1143 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1144 (long_double_typedef): New typedefs.
1145 Use DEF on double and long double.
1146 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1147 cases.
1148 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1149 and 'long_double_ptr_same_size' locals. Use them to decide
1150 whether cast from array/function to float is valid/invalid.
1151
1152 2017-11-17 Tom Tromey <tom@tromey.com>
1153
1154 * gdb.rust/traits.rs: New file.
1155 * gdb.rust/traits.exp: New file.
1156
1157 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1158
1159 * gdb.ada/minsyms: New testcase.
1160
1161 2017-11-16 Pedro Alves <palves@redhat.com>
1162
1163 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1164 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1165
1166 2017-11-16 Pedro Alves <palves@redhat.com>
1167
1168 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1169 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1170
1171 2017-11-16 Pedro Alves <palves@redhat.com>
1172
1173 * gdb.server/reconnect-ctrl-c.c: New file.
1174 * gdb.server/reconnect-ctrl-c.exp: New file.
1175
1176 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1177
1178 * gdb.python/py-rbreak.exp: New file.
1179 * gdb.python/py-rbreak.c: New file.
1180 * gdb.python/py-rbreak-func2.c: New file.
1181
1182 2017-11-16 Pedro Alves <palves@redhat.com>
1183
1184 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1185 pattern.
1186 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1187 GDB.
1188
1189 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1190
1191 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1192 regex.
1193
1194 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1195
1196 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1197 test names.
1198
1199 2017-11-09 Pedro Alves <palves@redhat.com>
1200
1201 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1202 factored out from ...
1203 (top level): ... here, and adjusted to avoid expecting beyond the
1204 prompt in a single gdb_test_multiple.
1205
1206 2017-11-09 Pedro Alves <palves@redhat.com>
1207
1208 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1209 output.
1210 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1211 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1212 * gdb.server/ext-run.exp ("kill" test): Likewise.
1213 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1214
1215 2017-11-09 Pedro Alves <palves@redhat.com>
1216
1217 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1218 match till end of line.
1219
1220 2017-11-09 Pedro Alves <palves@redhat.com>
1221
1222 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1223
1224 2017-11-09 Pedro Alves <palves@redhat.com>
1225
1226 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1227 New procedures, factored out from ...
1228 (top level): ... here, and adjusted to avoid expecting beyond the
1229 prompt in one go.
1230
1231 2017-11-09 Pedro Alves <palves@redhat.com>
1232
1233 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1234 output. Fix '?' match.
1235
1236 2017-11-08 Joel Brobecker <brobecker@adacore.com>
1237
1238 * gdb.ada/scoped_watch: New testcase.
1239 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1240 which is actually correct.
1241 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1242 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1243
1244 2017-11-08 Pedro Alves <palves@redhat.com>
1245
1246 * gdb.gdb/complaints.exp (test_initial_complaints)
1247 (test_serial_complaints, test_short_complaints): Call
1248 complaint_internal instead of complaint.
1249
1250 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1251
1252 * gdb.threads/tls-core.c: New file.
1253 * gdb.threads/tls-core.exp: Likewise.
1254
1255 2017-11-08 Pedro Alves <palves@redhat.com>
1256
1257 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1258 (p Exported_Capitalized): New test.
1259 (p exported_capitalized): New test.
1260
1261 2017-11-07 Pedro Alves <palves@redhat.com>
1262
1263 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1264
1265 2017-11-07 Pedro Alves <palves@redhat.com>
1266
1267 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1268 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1269 (disable_invalid, disable_inverted, disable_negative): New
1270 procedures.
1271 ("bad numbers"): New set of tests.
1272
1273 2017-11-07 Pedro Alves <palves@redhat.com>
1274
1275 * gdb.cp/ena-dis-br-range.exp: Add tests.
1276
1277 2017-11-07 Pedro Alves <palves@redhat.com>
1278
1279 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1280
1281 2017-11-07 Xavier Roirand <roirand@adacore.com>
1282 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.base/ena-dis-br.exp: Add reference to
1285 gdb.cp/ena-dis-br-range.exp.
1286 * gdb.cp/ena-dis-br-range.exp: New file.
1287 * gdb.cp/ena-dis-br-range.cc: New file.
1288
1289 2017-11-06 Pedro Alves <palves@redhat.com>
1290
1291 * gdb.base/attach-non-pgrp-leader.c: New.
1292 * gdb.base/attach-non-pgrp-leader.exp: New.
1293
1294 2017-11-06 Pedro Alves <palves@redhat.com>
1295
1296 * configure.ac: No longer check for termio.h and sgtty.h.
1297 * configure: Regenerate.
1298 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1299 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1300 Remove termio and sgtty code.
1301
1302 2017-11-03 Yao Qi <yao.qi@linaro.org>
1303
1304 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1305 in GDB is disabled.
1306
1307 2017-11-03 Yao Qi <yao.qi@linaro.org>
1308
1309 * gdb.python/py-thrhandle.exp: Skip it if python is not
1310 enabled.
1311
1312 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1313
1314 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1315 as a breakpoint command.
1316
1317 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1318
1319 PR python/21213
1320 * gdb.python/py-infthread.exp: Test calling
1321 InferiorThread.inferior () multiple times in a row.
1322
1323 2017-10-27 Keith Seitz <keiths@redhat.com>
1324
1325 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1326 Test "info break" for every inlined function breakpoint.
1327
1328 2017-10-27 Yao Qi <yao.qi@linaro.org>
1329
1330 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1331
1332 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1333
1334 * gdb.cp/classes.exp (test_static_members): Test printing
1335 Outer::instance.
1336 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1337 (Inner::instance, Outer::instance): New.
1338
1339 2017-10-24 Pedro Alves <palves@redhat.com>
1340
1341 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1342 extra console" test in two stages.
1343
1344 2017-10-24 Pedro Alves <palves@redhat.com>
1345
1346 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1347
1348 2017-10-24 Pedro Alves <palves@redhat.com>
1349
1350 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1351 loop.
1352
1353 2017-10-24 Pedro Alves <palves@redhat.com>
1354
1355 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1356 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1357
1358 2017-10-24 Pedro Alves <palves@redhat.com>
1359
1360 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1361 parameter and handle it. Don't output read value in test name.
1362
1363 2017-10-24 Pedro Alves <palves@redhat.com>
1364
1365 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1366 custom test name.
1367
1368 2017-10-24 Pedro Alves <palves@redhat.com>
1369
1370 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1371 include the unstable output directory name in the test's name.
1372 (initial_setup_simple) <'set args'>: Use custom test name.
1373
1374 2017-10-24 Pedro Alves <palves@redhat.com>
1375
1376 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1377 with explicit test name.
1378
1379 2017-10-20 Pedro Alves <palves@redhat.com>
1380
1381 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1382 'wait -i'. Use gdb_assert and remote_close.
1383
1384 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1385
1386 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1387 number from variable rather than hard-coded.
1388
1389 2017-10-19 Pedro Alves <palves@redhat.com>
1390
1391 * gdb.base/long-inferior-output.c: New file.
1392 * gdb.base/long-inferior-output.exp: New file.
1393
1394 2017-11-18 Keith Seitz <keiths@redhat.com>
1395
1396 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1397 method.
1398 (main): Call it.
1399 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1400 Add additional user-defined conversion operator tests.
1401
1402 2017-10-17 Pedro Alves <palves@redhat.com>
1403
1404 * boards/native-stdio-gdbserver.exp: Load "local-board".
1405
1406 2017-10-17 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.base/quit-live.c: New file.
1409 * gdb.base/quit-live.exp: New file.
1410
1411 2017-10-16 Keith Seitz <keiths@redhat.com>
1412
1413 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1414 (class_with_protected_typedef, class_with_private_typedef)
1415 (struct_with_public_typedef, struct_with_protected_typedef)
1416 (struct_with_private_typedef): New classes/structs.
1417 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1418 typedefs and access specifiers.
1419
1420 2017-10-16 Pedro Alves <palves@redhat.com>
1421 Simon Marchi <simon.marchi@polymtl.ca>
1422
1423 * README (Local vs Remote vs Native): New section.
1424 * boards/local-board.exp: New file, with bits factored out from
1425 ...
1426 * boards/native-extended-gdbserver.exp: ... here. Load
1427 "local-board".
1428 * boards/native-gdbserver.exp: Load "local-board".
1429 (${board}_spawn, ${board}_exec): Delete.
1430 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1431 ...
1432 * boards/stdio-gdbserver-base.exp: ... this new file.
1433 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1434 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1435 procedure.
1436 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1437 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1438 stdio_gdbserver_command.
1439 (${board}_get_remote_address, ${board}_get_comm_port)
1440 (${board}_download, ${board}_upload): Delete.
1441 (get_target_remote_pipe_cmd): New.
1442
1443 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1444
1445 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1446 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1447 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1448 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1449 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1450 remove with_test_prefix.
1451
1452 2017-10-13 Pedro Alves <palves@redhat.com>
1453
1454 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1455 * gdb.base/annota1.exp: Use it instead of is_remote.
1456 * gdb.base/annota3.exp: Use it instead of is_remote.
1457 * gdb.cp/annota2.exp: Use it instead of is_remote.
1458 * gdb.cp/annota3.exp: Use it instead of is_remote.
1459 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1460
1461 2017-10-13 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1464 (test_num_test_vars, run_and_count_vars, find_env)
1465 (test_set_unset_env, test_inherit_env_var): New procedures.
1466 (top level): Use them.
1467
1468 2017-10-13 Pedro Alves <palves@redhat.com>
1469
1470 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1471 also skip on stub-like targets.
1472
1473 2017-10-13 Pedro Alves <palves@redhat.com>
1474
1475 PR gdb/22293
1476 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1477 (top level): Move some tests to ...
1478 (test_not_found): ... this new procedure.
1479 (top level): Call it.
1480
1481 2017-10-13 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1484 expect different "info terminal" output if testing with a
1485 non-native target.
1486
1487 2017-10-13 Pedro Alves <palves@redhat.com>
1488 Simon Marchi <simon.marchi@polymtl.ca>
1489
1490 PR python/12966
1491 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1492
1493 2017-10-13 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1496 already.
1497
1498 2017-10-13 Pedro Alves <palves@redhat.com>
1499
1500 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1501 is_remote.
1502
1503 2017-10-13 Pedro Alves <palves@redhat.com>
1504
1505 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1506 is_remote.
1507
1508 2017-10-13 Pedro Alves <palves@redhat.com>
1509
1510 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1511 is set.
1512 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1513 instead of is_remote.
1514
1515 2017-10-13 Pedro Alves <palves@redhat.com>
1516
1517 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1518 (top level): Add comment.
1519
1520 2017-10-13 Pedro Alves <palves@redhat.com>
1521
1522 * gdb.base/remote.exp (top level): Fix comment typo and add
1523 missing return.
1524
1525 2017-10-13 Pedro Alves <palves@redhat.com>
1526 Simon Marchi <simon.marchi@polymtl.ca>
1527
1528 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1529 calls and add comments. Skip test if use_gdb_stub is set.
1530 (top level): Use "set cwd" command instead of "cd" command.
1531
1532 2017-10-13 Pedro Alves <palves@redhat.com>
1533
1534 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1535 is_remote target check.
1536
1537 2017-10-13 Pedro Alves <palves@redhat.com>
1538
1539 * gdb.base/scope.exp: Use build_executable + clean_restart +
1540 gdb_file_cmd instead of prepare_for_testing and no longer skip
1541 "before run" tests on is_remote target boards. Update comments.
1542 * boards/native-extended-gdbserver.exp
1543 (extended_gdbserver_load_last_file): New, factored out from ...
1544 (gdb_load): ... this. Move further below and add comment.
1545 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1546
1547 2017-10-12 Pedro Alves <palves@redhat.com>
1548
1549 * gdb.base/attach.exp: Remove references to gdb64.
1550 * gdb.base/dbx.exp: Remove references to gdb64.
1551
1552 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1553 Pedro Alves <palves@redhat.com>
1554
1555 * gdb.base/label.exp: Remove is_remote target check.
1556
1557 2017-10-12 Pedro Alves <palves@redhat.com>
1558
1559 * gdb.base/auvx.exp (coredir): Update comment.
1560 (top level) <core_works>: Use "set cwd" command instead of "cd"
1561 command.
1562
1563 2017-10-12 Pedro Alves <palves@redhat.com>
1564 Simon Marchi <simon.marchi@polymtl.ca>
1565
1566 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1567 target boards.
1568
1569 2017-10-12 Pedro Alves <palves@redhat.com>
1570 Simon Marchi <simon.marchi@polymtl.ca>
1571
1572 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1573 Instead skip if there's any gdb_protocol set.
1574
1575 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1576 Pedro Alves <palves@redhat.com>
1577
1578 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1579
1580 2017-10-12 Pedro Alves <palves@redhat.com>
1581 Simon Marchi <simon.marchi@polymtl.ca>
1582
1583 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1584 instead of on dejagnu remote boards.
1585
1586 2017-10-12 Pedro Alves <palves@redhat.com>
1587 Simon Marchi <simon.marchi@polymtl.ca>
1588
1589 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1590 checks. Use build_executable + clean_restart instead of
1591 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1592 of enabling non-stop after starting gdb.
1593
1594 2017-10-12 Pedro Alves <palves@redhat.com>
1595
1596 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1597 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1598 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1599 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1600
1601 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1602
1603 * gdb.arch/arc-tdesc-cpu.exp: New file.
1604 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1605
1606 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1607
1608 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1609
1610 2017-10-10 Pedro Alves <palves@redhat.com>
1611
1612 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1613 expect CLI output.
1614
1615 2017-10-10 Pedro Alves <palves@redhat.com>
1616
1617 * lib/selftest-support.exp (selftest_setup): Update for
1618 captured_command_loop's prototype change.
1619
1620 2017-10-09 Pedro Alves <palves@redhat.com>
1621
1622 Test both arch1=>arch2 and arch2=>arch1.
1623
1624 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1625 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1626 factored out to...
1627 (append_arch1_options, append_arch2_options, append_arch_options)
1628 (build_executables): New procedures.
1629 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1630 local.
1631 (top level): Add new 'first_arch' testing axis.
1632
1633 2017-10-09 Pedro Alves <palves@redhat.com>
1634
1635 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1636 (barrier): New.
1637 (thread_start, all_started): New functions.
1638 (main): Spawn new thread and wait until it is scheduled.
1639 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1640 option.
1641 (do_test): Add 'selected_thread' parameter. Run to all_started
1642 instead of main. Explicitly set the breakpoint at main. Switch
1643 to the SELECTED_THREAD thread.
1644 (top level): Test handling the exec event with either the main
1645 thread or the second thread selected.
1646
1647 2017-10-09 Pedro Alves <palves@redhat.com>
1648
1649 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1650 logic. Move STOP marker after the value checks.
1651 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1652 regexp.
1653
1654 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1655
1656 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1657
1658 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1659
1660 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1661 integer-to-dfp conversion.
1662 * gdb.base/dfp-test.exp: Likewise.
1663
1664 2017-10-04 Pedro Alves <palves@redhat.com>
1665
1666 * gdb.multi/hangout.c: Include <unistd.h>.
1667 (hangout_loop): New function.
1668 (main): Call alarm. Call hangout_loop in a loop.
1669 * gdb.multi/hello.c: Include <unistd.h>.
1670 (hello_loop): New function.
1671 (main): Call alarm. Call hangout_loop in a loop.
1672 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1673 inferior with the other selected.
1674
1675 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1676
1677 * gdb.mi/list-thread-groups-available.exp: New file.
1678 * gdb.mi/list-thread-groups-available.c: New file.
1679
1680 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1681
1682 * gdb.base/set-cwd.exp: Make it available on
1683 native-extended-gdbserver.
1684
1685 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1686
1687 * gdb.base/set-cwd.c: New file.
1688 * gdb.base/set-cwd.exp: Likewise.
1689
1690 2017-10-02 Tom Tromey <tom@tromey.com>
1691
1692 PR rust/22236:
1693 * gdb.rust/simple.rs (main): New variable "fslice".
1694 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1695
1696 2017-10-02 Tom Tromey <tom@tromey.com>
1697
1698 * gdb.rust/simple.exp: Test ptype of a slice.
1699
1700 2017-10-02 Tom Tromey <tom@tromey.com>
1701
1702 * gdb.rust/simple.exp: Test index of slice.
1703
1704 2017-09-27 Tom Tromey <tom@tromey.com>
1705
1706 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1707
1708 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1709 Pedro Alves <palves@redhat.com>
1710
1711 * gdb.base/compare-sections.exp (get value of read-only section): Read
1712 as unsigned value.
1713 (corrupt read-only section): Likewise and don't set written if patching
1714 failed.
1715
1716 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1717
1718 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1719 files.
1720
1721 2017-09-20 Pedro Alves <palves@redhat.com>
1722
1723 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1724 symbol names in gdb's output.
1725 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1726
1727 2017-09-20 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1730 Rename to ...
1731 (test_list_ambiguous_symbol): ... this and add a symbol name
1732 parameter. Adjust.
1733 (test_list_ambiguous_function): Reimplement on top of
1734 test_list_ambiguous_symbol and also test listing ambiguous
1735 variables.
1736 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1737 (ambiguous_fun): ... this.
1738 (ambiguous_var): New.
1739 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1740 (ambiguous_fun): ... this.
1741 (ambiguous_var): New.
1742
1743 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1744
1745 * gdb.base/starti.c: New file.
1746 * gdb.base/starti.exp: New file.
1747 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1748
1749 2017-09-14 Pedro Alves <palves@redhat.com>
1750
1751 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1752 (top level): Use it instead of runto.
1753
1754 2017-09-11 Tom Tromey <tom@tromey.com>
1755
1756 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1757
1758 2017-09-11 Tom Tromey <tom@tromey.com>
1759
1760 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1761 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1762
1763 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1764
1765 * gdb.fortran/printing-types.exp: New file.
1766 * gdb.fortran/printing-types.exp: New file.
1767
1768 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1769
1770 * gdb.fortran/vla-ptype.exp: Fix typos.
1771 * gdb.fortran/vla-value.exp: Same.
1772
1773 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1774
1775 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1776 * gdb.mi/mi-var-child-f.exp: Likewise.
1777 * gdb.mi/mi-vla-fortran.exp: Likewise.
1778
1779 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1780 Christoph Weinmann <christoph.t.weinmann@intel.com>
1781 Bernhard Heckel <bernhard.heckel@intel.com>
1782
1783 * gdb.fortran/ptr-indentation.f90: New file.
1784 * gdb.fortran/ptr-indentation.exp: New file.
1785
1786 2017-09-05 Tom Tromey <tom@tromey.com>
1787
1788 PR gdb/22010:
1789 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1790
1791 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1792
1793 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1794
1795 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1796
1797 * gdb.threads/tls-nodebug-pie.c: New file.
1798 * gdb.threads/tls-nodebug-pie.exp: New file.
1799
1800 2017-09-05 Tom Tromey <tom@tromey.com>
1801
1802 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1803 for rust.
1804
1805 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1806
1807 * gdb.multi/multi-arch-exec.exp: Test with different
1808 "follow-exec-mode" settings.
1809 (do_test): New procedure.
1810
1811 2017-09-04 Pedro Alves <palves@redhat.com>
1812
1813 * gdb.base/func-static.c (S::method const, S::method volatile)
1814 (S::method volatile const): New methods.
1815 (c_s, v_s, cv_s): New instances.
1816 (main): Call method() on them.
1817 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1818 (cannot_resolve): New procedure.
1819 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1820 print-quote-unquoted columns.
1821 (do_test): Test printing each scope too.
1822
1823 2017-09-04 Pedro Alves <palves@redhat.com>
1824
1825 * gdb.base/local-static.exp: Also test with
1826 class::method::variable wholly quoted.
1827 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1828
1829 2017-09-04 Pedro Alves <palves@redhat.com>
1830
1831 * gdb.base/local-static.c: New.
1832 * gdb.base/local-static.cc: New.
1833 * gdb.base/local-static.exp: New.
1834
1835 2017-09-04 Pedro Alves <palves@redhat.com>
1836
1837 * gdb.asm/asm-source.exp: Add casts to int.
1838 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1839 (dataglobal64_1, dataglobal64_2): New globals.
1840 * gdb.base/nodebug.exp: Test different expressions involving the
1841 new globals, with print, whatis and ptype. Add casts to int.
1842 * gdb.base/solib-display.exp: Add casts to int.
1843 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1844 * gdb.cp/m-static.exp: Add cast to int.
1845 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1846 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1847 tls variable with no debug info without a cast. Test with a cast
1848 to int too.
1849 * gdb.trace/entry-values.exp: Add casts.
1850
1851 2017-09-04 Pedro Alves <palves@redhat.com>
1852
1853 * gdb.base/nodebug.exp: Test that ptype's error about functions
1854 with unknown return type includes the function name too.
1855
1856 2017-09-04 Pedro Alves <palves@redhat.com>
1857
1858 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1859 return type of munmap in infcall.
1860 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1861 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1862 type of ftell in infcall.
1863 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
1864 type of getpid in infcall.
1865 * gdb.base/infcall-exec.exp: Cast return type of execlp in
1866 infcall.
1867 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
1868 Bail on failure to extract the pid.
1869 * gdb.base/nodebug.c: #include <stdint.h>.
1870 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
1871 New functions.
1872 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
1873 Change expected output of print/whatis/ptype with functions with
1874 no debug info. Test all supported languages. Call
1875 test_call_promotion.
1876 * gdb.compile/compile.exp: Adjust expected output to expect
1877 warning.
1878 * gdb.threads/siginfo-threads.exp: Likewise.
1879
1880 2017-09-04 Pedro Alves <palves@redhat.com>
1881
1882 * gdb.base/callfuncs.exp (do_function_calls): New parameter
1883 "prototypes". Test calling float functions via prototyped and
1884 unprototyped function pointers.
1885 (perform_all_tests): New parameter "prototypes". Pass it down.
1886 (top level): Pass down "prototypes" parameter to
1887 perform_all_tests.
1888
1889 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1890
1891 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
1892 Test with nested loops.
1893
1894 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1895
1896 * gdb.base/commands.exp: Call the new procedures.
1897 (loop_break_test, loop_continue_test): New procedures.
1898
1899 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
1900
1901 * gdb.base/commands.exp: Call new procedure.
1902 (define_if_without_arg_test): New procedure.
1903
1904 2017-09-04 Pedro Alves <palves@redhat.com>
1905
1906 * gdb.base/list-ambiguous.exp: New file.
1907 * gdb.base/list-ambiguous0.c: New file.
1908 * gdb.base/list-ambiguous1.c: New file.
1909 * gdb.base/list.exp (test_list_range): Adjust expected output.
1910
1911 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
1912
1913 * gdb.base/share-env-with-gdbserver.c: New file.
1914 * gdb.base/share-env-with-gdbserver.exp: Likewise.
1915
1916 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1917
1918 * gdb.base/commands.exp (gdbvar_simple_if_test,
1919 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
1920 progvar_simple_if_test, progvar_simple_while_test,
1921 progvar_complex_if_while_test, user_defined_command_test,
1922 user_defined_command_args_eval,
1923 user_defined_command_args_stack_test,
1924 user_defined_command_manyargs_test, bp_deleted_in_command_test,
1925 temporary_breakpoint_commands,
1926 gdb_test_no_prompt, redefine_hook_test,
1927 redefine_backtrace_test): Remove "global gdb_prompt".
1928
1929 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
1930
1931 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
1932 New proc, call it from toplevel.
1933
1934 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
1935
1936 PR remote/21852
1937 * gdb.server/normal.c: New file, copied from gdb.base.
1938 * gdb.server/run-without-local-binary.exp: New file.
1939
1940 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
1941
1942 * gdb.arch/sparc64-adi.exp: New file.
1943 * gdb.arch/sparc64-adi.c: New file.
1944
1945 2017-08-22 Pedro Alves <palves@redhat.com>
1946
1947 * gdb.cp/overload.exp (line_range_pattern): New procedure.
1948 (top level): Add "list all overloads" tests.
1949
1950 2017-08-22 Tom Tromey <tom@tromey.com>
1951
1952 * gdb.gdb/xfullpath.exp: Remove.
1953
1954 2017-08-21 Pedro Alves <palves@redhat.com>
1955
1956 PR gdb/19487
1957 * gdb.base/symbol-alias.c: New.
1958 * gdb.base/symbol-alias2.c: New.
1959 * gdb.base/symbol-alias.exp: New.
1960
1961 2017-08-21 Pedro Alves <palves@redhat.com>
1962
1963 * gdb.base/dfp-test.c
1964 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
1965 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
1966 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
1967 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
1968 * gdb.base/whatis-ptype-typedefs.c: New.
1969 * gdb.base/whatis-ptype-typedefs.exp: New.
1970 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
1971 (an_int, an_int_type, an_int_type2): New globals.
1972 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
1973 involving typedefs and cast expressions.
1974 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
1975 (lookup_typedefs_function): New.
1976 (typedefs_pretty_printers_dict): New.
1977 (top level): Register lookup_typedefs_function in
1978 gdb.pretty_printers.
1979
1980 2017-08-18 Yao Qi <yao.qi@linaro.org>
1981
1982 * gdb.server/unittest.exp: New.
1983
1984 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
1985
1986 PR gdb/21954
1987 * gdb.base/environ.exp: Add test to check if 'unset environment'
1988 works.
1989
1990 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1991
1992 * lib/gdb.exp (universal_compile_options): New caching proc.
1993 (gdb_compile): Suppress GCC's coloring of messages.
1994
1995 2017-08-14 Tom Tromey <tom@tromey.com>
1996
1997 PR gdb/21675:
1998 * gdb.base/printcmds.exp (test_radices): New function.
1999 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2000 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2001 * lib/gdb.exp (get_integer_valueof): Use p/d.
2002
2003 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2004
2005 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2006 characters.
2007
2008 2017-08-05 Tom Tromey <tom@tromey.com>
2009
2010 * gdb.rust/simple.exp: Allow String to appear in a different
2011 namespace.
2012
2013 2017-07-26 Yao Qi <yao.qi@linaro.org>
2014
2015 * gdb.gdb/unittest.exp: Invoke command
2016 "maintenance check xml-descriptions".
2017
2018 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2019
2020 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2021 calling context.
2022 (hex128): Drop erroneous calculation of parameters.
2023
2024 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2025
2026 * gdb.python/py-unwind.exp: Disable stack protection when
2027 building test file.
2028
2029 2017-07-20 Pedro Alves <palves@redhat.com>
2030
2031 * gdb.base/default.exp (set language): Adjust expected output.
2032
2033 2017-07-20 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2036 (test_minsym): ... this, and make static.
2037 (get_pck__foo__bar__minsym): Rename to ...
2038 (get_test_minsym): ... this.
2039 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2040 symbol names and comments.
2041 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2042 (get_test_minsym): ... this.
2043 (pck__foo__bar__minsym__2): Rename to ...
2044 (test_minsym): ... this.
2045 (main): Adjust.
2046
2047 2017-07-17 Pedro Alves <palves@redhat.com>
2048
2049 * gdb.base/completion.exp: Adjust expected output.
2050 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2051 the completer works.
2052
2053 2017-07-17 Pedro Alves <palves@redhat.com>
2054
2055 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2056
2057 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2058
2059 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2060
2061 2017-07-14 Tom Tromey <tom@tromey.com>
2062
2063 PR rust/21764:
2064 * gdb.rust/simple.exp: Add tests.
2065
2066 2017-07-14 Tom Tromey <tom@tromey.com>
2067
2068 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2069
2070 2017-07-14 Pedro Alves <palves@redhat.com>
2071
2072 * gdb.linespec/base/one/thefile.cc (z1): New function.
2073 * gdb.linespec/base/two/thefile.cc (z2): New function.
2074 * gdb.linespec/linespec.exp: Add tests.
2075
2076 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2077
2078 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2079 to mi_create_breakpoint.
2080
2081 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2082
2083 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2084 mi_create_breakpoint.
2085
2086 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2087
2088 * gdb.dlang/demangle.exp: Update for demangling changes.
2089
2090 2017-07-09 Tom Tromey <tom@tromey.com>
2091
2092 * gdb.dwarf2/shortpiece.exp: New file.
2093
2094 2017-07-06 David Blaikie <dblaikie@gmail.com>
2095
2096 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2097 built from fissiont-multi-cu{1,2}.c.
2098 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2099 except putting 'main' and 'func' in separate CUs in the same DWO file.
2100 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2101 test.
2102 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2103 test.
2104
2105 2017-07-06 Pedro Alves <palves@redhat.com>
2106
2107 * gdb.python/py-unwind.exp: Test flushregs.
2108
2109 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2110
2111 PR cli/21688
2112 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2113 tests for alias commands and trailing whitespace.
2114
2115 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2116
2117 PR cli/21688
2118 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2119 procedure. Call it.
2120
2121 2017-06-29 Pedro Alves <palves@redhat.com>
2122
2123 * gdb.base/printcmds.exp: Add tests.
2124
2125 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2126
2127 PR gdb/21337
2128 * gdb.base/reread-readsym.exp: New file.
2129 * gdb.base/reread-readsym.c: New file.
2130
2131 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2132
2133 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2134 subpattern.
2135
2136 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2137
2138 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2139 extended mnemonic.
2140 * gdb.arch/powerpc-power9.s: Likewise.
2141
2142 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2143
2144 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2145 on 32-bit x86 targets. Exploit is_*_target macros where
2146 appropriate.
2147
2148 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2149
2150 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2151 register pieces.
2152
2153 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2154
2155 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2156 located in one or more DWARF pieces.
2157
2158 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2159
2160 * lib/gdb.exp (get_endianness): New proc.
2161 * gdb.arch/aarch64-fp.exp: Use it.
2162 * gdb.arch/altivec-regs.exp: Likewise.
2163 * gdb.arch/e500-regs.exp: Likewise.
2164 * gdb.arch/vsx-regs.exp: Likewise.
2165 * gdb.base/dump.exp: Likewise.
2166 * gdb.base/funcargs.exp: Likewise.
2167 * gdb.base/gnu_vector.exp: Likewise.
2168 * gdb.dwarf2/formdata16.exp: Likewise.
2169 * gdb.dwarf2/implptrpiece.exp: Likewise.
2170 * gdb.dwarf2/nonvar-access.exp: Likewise.
2171 * gdb.python/py-inferior.exp: Likewise.
2172 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2173
2174 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2175
2176 PR gdb/21226
2177 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2178 stack value pieces are taken from the LSB end.
2179
2180 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2181
2182 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2183 variable at nonzero offset.
2184
2185 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2186
2187 * gdb.dwarf2/var-access.c: New file.
2188 * gdb.dwarf2/var-access.exp: New test.
2189 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2190
2191 2017-06-12 Tom Tromey <tom@tromey.com>
2192
2193 * gdb.dwarf2/formdata16.exp: Add tests.
2194
2195 2017-06-12 Tom Tromey <tom@tromey.com>
2196
2197 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2198
2199 2017-06-12 Tom Tromey <tom@tromey.com>
2200
2201 PR exp/16225:
2202 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2203 * gdb.arch/vsx-regs.exp: Update tests.
2204 * gdb.arch/s390-vregs.exp (hex128): New proc.
2205 Update test.
2206 * gdb.arch/altivec-regs.exp: Update tests.
2207
2208 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2209
2210 * gdb.base/startup-with-shell.c: New file.
2211 * gdb.base/startup-with-shell.exp: Likewise.
2212
2213 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2214
2215 * gdb.server/non-existing-program.exp: Update regex in order to
2216 reflect the fact that gdbserver is now using fork_inferior (with a
2217 shell) to startup the inferior.
2218
2219 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2220
2221 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2222 support function calls from GDB.
2223
2224 2017-05-21 Tom Tromey <tom@tromey.com>
2225
2226 PR rust/21466:
2227 * gdb.rust/unsized.exp: New file.
2228 * gdb.rust/unsized.rs: New file.
2229
2230 2017-05-19 Tom Tromey <tom@tromey.com>
2231
2232 PR rust/21484:
2233 * gdb.rust/watch.exp: New file.
2234 * gdb.rust/watch.rs: New file.
2235
2236 2017-05-18 Tom Tromey <tom@tromey.com>
2237
2238 * gdb.rust/simple.exp: Allow Box to be qualified.
2239
2240 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2241
2242 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2243
2244 2017-05-18 Pedro Alves <palves@redhat.com>
2245
2246 * gdb.base/fileio.c (test_write, test_read, test_close)
2247 (test_fstat): Don't print 'ret' in the fail path.
2248
2249 2017-05-18 Pedro Alves <palves@redhat.com>
2250
2251 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2252 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2253 (test_system, test_rename, test_unlink, test_time): Change
2254 prototypes.
2255 * gdb.base/fileio.exp (stop_msg): Adjust.
2256
2257 2017-05-18 Pedro Alves <palves@redhat.com>
2258
2259 * gdb.base/fileio.c (null_str): New global.
2260 (test_stat): Use it.
2261 * gdb.base/fileio.exp: Remove nowarnings.
2262
2263 2017-05-17 Yao Qi <yao.qi@linaro.org>
2264
2265 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2266
2267 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2268
2269 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2270 argument command.
2271 (top-level): Invoke test_set_inferior_tty.
2272
2273 2017-05-04 Pedro Alves <palves@redhat.com>
2274
2275 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2276 Add parens to print call for Python 3.
2277
2278 2017-05-03 Keith Seitz <keiths@redhat.com>
2279
2280 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2281 (main): Call it.
2282
2283 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2284
2285 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2286 to prev and next.
2287
2288 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2289
2290 * gdb.python/py-record-btrace.exp: Remove test for
2291 gdb.BtraceInstruction.error.
2292
2293 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2294
2295 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2296
2297 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2298
2299 * gdb.python/py-record-btrace-threads.c: New file.
2300 * gdb.python/py-record-btrace-threads.exp: New file.
2301
2302 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2303
2304 PR testsuite/8595
2305 * gdb.base/environ.exp: Make test available in all architectures.
2306 Move bits related to "info program" testing to
2307 gdb.base/info-program.exp. Rewrite tests to use the two new
2308 procedures mentione below.
2309 (test_set_show_env_var) New procedure.
2310 (test_set_show_env_var_equal): Likewise.
2311 * gdb.base/info-program.exp: New file.
2312
2313 2017-04-27 Keith Seitz <keiths@redhat.com>
2314
2315 * gdb.cp/oranking.cc (test15): New function.
2316 (main): Call test15 and declare additional variables for testing.
2317 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2318 "p foo101('abc')" tests.
2319 Add tests for cv qualifier overloads.
2320 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2321 "lvalue reference overload" test.
2322 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2323 "print value of f1 on Child&& in f2" test.
2324
2325 2017-04-19 Pedro Alves <palves@redhat.com>
2326
2327 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2328 procedure.
2329 (top level): Call it.
2330 * lib/gdb.exp (gdb_define_cmd): New procedure.
2331
2332 2017-04-12 Pedro Alves <palves@redhat.com>
2333
2334 PR gdb/21323
2335 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2336 (wchar): New global.
2337 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2338 (do_test_wide_char, wide_char_types_no_program, top level): Add
2339 wchar_t testing.
2340
2341 2017-04-12 Pedro Alves <palves@redhat.com>
2342
2343 PR c++/21323
2344 * gdb.cp/wide_char_types.c: New file.
2345 * gdb.cp/wide_char_types.exp: New file.
2346
2347 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2348
2349 PR gdb/21352
2350 * gdb.trace/tsv.exp: Add test for "tsave -r".
2351
2352 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2353
2354 * gdb.dlang/watch-loc.c: New file.
2355 * gdb.dlang/watch-loc.exp: New file.
2356
2357 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2358
2359 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2360
2361 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2362
2363 * gdb.arch/arc-analyze-prologue.S: New file.
2364 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2365
2366 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2367
2368 * gdb.arch/arc-decode-insn.S: New file.
2369 * gdb.arch/arc-decode-insn.exp: Likewise.
2370
2371 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2372
2373 PR tdep/20928
2374 * gdb.arch/sparc64-regs.exp: New file.
2375 * gdb.arch/sparc64-regs.S: Likewise.
2376
2377 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2378
2379 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2380 and memory view on Python 3.
2381
2382 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2383 Keith Seitz <keiths@redhat.com>
2384
2385 PR gdb/14441
2386 * gdb.cp/demangle.exp: Add rvalue reference tests.
2387 * gdb.cp/rvalue-ref-casts.cc: New file.
2388 * gdb.cp/rvalue-ref-casts.exp: New file.
2389 * gdb.cp/rvalue-ref-overload.cc: New file.
2390 * gdb.cp/rvalue-ref-overload.exp: New file.
2391 * gdb.cp/rvalue-ref-params.cc: New file.
2392 * gdb.cp/rvalue-ref-params.exp: New file.
2393 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2394 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2395 * gdb.cp/rvalue-ref-types.cc: New file.
2396 * gdb.cp/rvalue-ref-types.exp: New file.
2397 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2398 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2399
2400 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2401
2402 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2403 New procedure.
2404
2405 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2406
2407 * lib/mi-support.exp (mi_gdb_test): Add additional message
2408 for unexpected output.
2409
2410 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2411
2412 * gdb.base/examine-backward.c (Barrier): New character array
2413 constant, to ensure that TestStrings is preceded by a string
2414 terminator.
2415
2416 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2417
2418 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2419 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2420 and implicit pointer into such a location.
2421
2422 2017-03-16 Doug Evans <dje@google.com>
2423
2424 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2425
2426 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2427
2428 * gdb.cp/m-static.exp: Fix expectation for prototype of
2429 test5.single_constructor and single_constructor::single_constructor.
2430
2431 2017-03-16 Doug Evans <dje@google.com>
2432
2433 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2434 * gdb.guile/scm-lazy-string.c: New file.
2435 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2436 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2437 for pointer, array, typedef lazy strings.
2438
2439 2017-03-16 Doug Evans <dje@google.com>
2440
2441 PR python/17728, python/18439, python/18779
2442 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2443 * gdb.python/py-lazy-string.c (pointer): New typedef.
2444 (main): New locals ptr, array, typedef_ptr.
2445 * gdb.python/py-value.exp: Move lazy string tests to ...
2446 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2447 array, typedef lazy strings.
2448
2449 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2450
2451 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2452 Add optional 'test' parameter.
2453
2454 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2455
2456 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2457 Skip for versions of DejaGnu < 1.5.
2458
2459 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2460
2461 * lib/gdb.exp (dejagnu_version): New proc.
2462 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2463 Use dejagnu_version.
2464
2465 2017-03-10 Keith Seitz <keiths@redhat.com>
2466
2467 PR c++/8128
2468 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2469 type from destructor regexps.
2470 Add a branch which actually passes the test.
2471 Adjust "ptype t5i" test names.
2472
2473 2017-03-08 Pedro Alves <palves@redhat.com>
2474
2475 * gdb.base/step-over-exit.exp: Add explicit test message.
2476
2477 2017-03-08 Pedro Alves <palves@redhat.com>
2478
2479 PR gdb/18360
2480 * gdb.threads/interrupt-while-step-over.c: New file.
2481 * gdb.threads/interrupt-while-step-over.exp: New file.
2482
2483 2017-03-08 Pedro Alves <palves@redhat.com>
2484
2485 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2486 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2487
2488 2017-03-08 Pedro Alves <palves@redhat.com>
2489
2490 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2491 PKRU as not supported as a PASS.
2492
2493 2017-03-08 Pedro Alves <palves@redhat.com>
2494
2495 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2496 prefix instead of $binfile1/$binfile2.
2497 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2498 in test message.
2499 * gdb.python/py-completion.exp: Use "load python file" as test
2500 messages instead of unstable path names.
2501
2502 2017-03-08 Pedro Alves <palves@redhat.com>
2503 Jan Kratochvil <jan.kratochvil@redhat.com>
2504
2505 PR cli/21218
2506 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2507 New proc.
2508 (top level): Call it.
2509
2510 2017-03-08 Pedro Alves <palves@redhat.com>
2511
2512 PR tui/21216
2513 * gdb.tui/tui-nl-filtered-output.exp: New file.
2514
2515 2017-03-08 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.base/completion.exp: Move TUI completion tests to ...
2518 * gdb.tui/completion.exp: ... this new file.
2519
2520 2017-03-08 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.base/tui-disasm-long-lines.c,
2523 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2524 gdb.base/tui-layout.exp: Move to ...
2525 * gdb.tui/: ... this new directory.
2526
2527 2017-03-07 Pedro Alves <palves@redhat.com>
2528
2529 * gdb.base/tui-layout.c: New file.
2530 * gdb.base/tui-layout.exp: New file.
2531
2532 2017-03-07 Pedro Alves <palves@redhat.com>
2533
2534 * gdb.base/tui-layout.c: Rename to ...
2535 * gdb.base/tui-disasm-long-lines.c: ... this.
2536 * gdb.base/tui-layout.exp: Rename to ...
2537 * gdb.base/tui-disasm-long-lines.exp: ... this.
2538
2539 2017-03-07 Pedro Alves <palves@redhat.com>
2540
2541 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2542
2543 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2544
2545 * i386-mpx-call.c: New file.
2546 * i386-mpx-call.exp: New file.
2547
2548 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2549
2550 * gdb.arch/powerpc-power.exp: Delete test.
2551 * gdb.arch/powerpc-power.s: Likewise.
2552 * gdb.disasm/disassembler-options.exp: New test.
2553 * gdb.arch/powerpc-altivec.exp: Likewise.
2554 * gdb.arch/powerpc-altivec.s: Likewise.
2555 * gdb.arch/powerpc-altivec2.exp: Likewise.
2556 * gdb.arch/powerpc-altivec2.s: Likewise.
2557 * gdb.arch/powerpc-altivec3.exp: Likewise.
2558 * gdb.arch/powerpc-altivec3.s: Likewise.
2559 * gdb.arch/powerpc-power7.exp: Likewise.
2560 * gdb.arch/powerpc-power7.s: Likewise.
2561 * gdb.arch/powerpc-power8.exp: Likewise.
2562 * gdb.arch/powerpc-power8.s: Likewise.
2563 * gdb.arch/powerpc-power9.exp: Likewise.
2564 * gdb.arch/powerpc-power9.s: Likewise.
2565 * gdb.arch/powerpc-vsx.exp: Likewise.
2566 * gdb.arch/powerpc-vsx.s: Likewise.
2567 * gdb.arch/powerpc-vsx2.exp: Likewise.
2568 * gdb.arch/powerpc-vsx2.s: Likewise.
2569 * gdb.arch/powerpc-vsx3.exp: Likewise.
2570 * gdb.arch/powerpc-vsx3.s: Likewise.
2571 * gdb.arch/arm-disassembler-options.exp: Likewise.
2572 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2573 * gdb.arch/s390-disassembler-options.exp: Likewise.
2574
2575 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2576
2577 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2578 (check_supported_features): ... this. Changed return type to void.
2579 (supports_rdseed): New static global.
2580 (rdseed): Check supports_rdseed.
2581 (initialize): Call check_supported_features.
2582
2583 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2584
2585 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2586 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2587 and lqarx/stqcx.
2588 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2589 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2590
2591 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2592
2593 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2594 uppercase.
2595
2596 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2597
2598 * gdb.dwarf2/formdata16.c: New file.
2599 * gdb.dwarf2/formdata16.exp: New file.
2600 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2601
2602 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2603
2604 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2605 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2606 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2607 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2608 DW_AT_GNU_*.
2609
2610 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2611
2612 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2613
2614 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2615
2616 PR gdb/21164
2617 * gdb.base/maint.exp: Add testcases for when the commands do
2618 not have arguments.
2619
2620 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2621
2622 * gdb.cp/chained-calls.exp: Use p instead of P.
2623
2624 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2625
2626 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2627 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2628
2629 2017-02-14 Tom Tromey <tom@tromey.com>
2630
2631 PR python/13598:
2632 * gdb.python/py-events.exp: Add before_prompt event tests.
2633
2634 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2635
2636 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2637
2638 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2639
2640 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2641 (main): Call my_unique_function_name.
2642 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2643 completion of patterns with a single match.
2644 Add missing -re switches to gdb_test_multiple calls.
2645
2646 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2647
2648 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2649 return if core file is not recognized.
2650
2651 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2652
2653 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2654 and extra UIs.
2655
2656 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2657
2658 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2659 proc_with_prefix.
2660
2661 2017-02-10 Tom Tromey <tom@tromey.com>
2662
2663 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2664
2665 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2666
2667 PR gdb/21122
2668 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2669
2670 2017-02-08 Jerome Guitton <guitton@adacore.com>
2671
2672 * gdb.base/define.exp: Add test for command abbreviations
2673 in define.
2674
2675 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2676
2677 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2678 * gdb.reverse/insn-reverse-x86.c: New file.
2679
2680 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2681
2682 PR tdep/20936
2683 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2684
2685 2017-02-03 Tom Tromey <tom@tromey.com>
2686
2687 PR rust/21097:
2688 * gdb.rust/simple.exp: Add new tests.
2689
2690 2017-02-02 Pedro Alves <palves@redhat.com>
2691
2692 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2693 tests.
2694
2695 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2696
2697 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2698 taking a 2-byte value out of a 4-byte DWARF implicit value on
2699 big-endian targets.
2700 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2701 logic. Add test cases for DW_OP_implicit.
2702
2703 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2704
2705 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2706
2707 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2708
2709 * gdb.btrace/enable.exp: Call gdb_exit before
2710 skip_gdbserver_tests.
2711
2712 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2713
2714 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2715 GDBFLAGS.
2716
2717 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2718
2719 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2720 the test is skipped.
2721 * gdb.btrace/data.exp: Likewise.
2722 * gdb.btrace/delta.exp: Likewise.
2723 * gdb.btrace/dlopen.exp: Likewise.
2724 * gdb.btrace/enable-running.exp: Likewise.
2725 * gdb.btrace/enable.exp: Likewise.
2726 * gdb.btrace/exception.exp: Likewise.
2727 * gdb.btrace/function_call_history.exp: Likewise.
2728 * gdb.btrace/gcore.exp: Likewise.
2729 * gdb.btrace/instruction_history.exp: Likewise.
2730 * gdb.btrace/multi-thread-step.exp: Likewise.
2731 * gdb.btrace/nohist.exp: Likewise.
2732 * gdb.btrace/non-stop.exp: Likewise.
2733 * gdb.btrace/reconnect.exp: Likewise.
2734 * gdb.btrace/record_goto-step.exp: Likewise.
2735 * gdb.btrace/record_goto.exp: Likewise.
2736 * gdb.btrace/rn-dl-bind.exp: Likewise.
2737 * gdb.btrace/segv.exp: Likewise.
2738 * gdb.btrace/step.exp: Likewise.
2739 * gdb.btrace/stepi.exp: Likewise.
2740 * gdb.btrace/tailcall-only.exp: Likewise.
2741 * gdb.btrace/tailcall.exp: Likewise.
2742 * gdb.btrace/tsx.exp: Likewise.
2743 * gdb.btrace/unknown_functions.exp: Likewise.
2744 * gdb.btrace/vdso.exp: Likewise.
2745
2746 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2747
2748 * gdb.btrace/enable-running.c: New.
2749 * gdb.btrace/enable-running.exp: New.
2750
2751 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2752
2753 * gdb.arch/amd64-gs_base.c: New file.
2754 * gdb.arch/amd64-gs_base.exp: New file.
2755
2756 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2757
2758 * lib/memory.exp: Remove spurious empty newlines.
2759
2760 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2761
2762 * gdb.python/py-bad-printers.exp: Load python file using "source".
2763 * gdb.python/py-events.exp: Likewise.
2764 * gdb.python/py-evsignal.exp: Likewise.
2765 * gdb.python/py-evthreads.exp: Likewise.
2766 * gdb.python/py-frame-args.exp: Likewise.
2767 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2768 * gdb.python/py-framefilter-mi.exp: Likewise.
2769 * gdb.python/py-framefilter.exp: Likewise.
2770 * gdb.python/py-mi.exp: Likewise.
2771 * gdb.python/py-pp-maint.exp: Likewise.
2772 * gdb.python/py-pp-registration.exp: Likewise.
2773 * gdb.python/py-prettyprint.exp: Likewise.
2774 (run_lang_tests): Likewise.
2775 * gdb.python/py-typeprint.exp: Likewise.
2776
2777 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2778
2779 * lib/memory.exp: New file.
2780 * lib/gdb.exp: Load memory.exp.
2781 * gdb.base/memattr.exp (delete_memory): Move proc to
2782 lib/memory.exp and rename to delete_memory_regions.
2783 Replace delete_memory with delete_memory_regions.
2784 Cleanup memory regions before tests.
2785 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2786 before tests.
2787
2788 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2789
2790 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2791 files.
2792 (initialize): New function conditionally defined.
2793 (testcases): Move within conditional block.
2794 (main): Call initialize.
2795 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2796 of gdb.reverse/insn-reverse.c.
2797 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2798 gdb.reverse/insn-reverse.c.
2799
2800 2017-01-26 Yao Qi <yao.qi@linaro.org>
2801
2802 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2803 disassemble on address 0.
2804
2805 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2806 Yao Qi <yao.qi@linaro.org>
2807
2808 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2809 * gdb.dwarf2/implptr-64bit.S: Remove.
2810 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2811 variables in caller's context. Add DW_OP_implicit_value.
2812
2813 2017-01-25 Yao Qi <yao.qi@linaro.org>
2814
2815 * lib/dwarf.exp (Dwarf::_location): Handle
2816 DW_OP_GNU_implicit_pointer with proper size.
2817
2818 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2819
2820 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2821 and add untested calls.
2822
2823 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2824
2825 * gdb.python/python.exp: Check line number against what GDB thinks
2826 the line number is for func1.
2827
2828 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2829
2830 * gdb.dlang/debug-expr.exp: New file.
2831
2832 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2833
2834 Fix test names for the following files:
2835
2836 * gdb.ada/exec_changed.exp
2837 * gdb.ada/info_types.exp
2838 * gdb.arch/aarch64-atomic-inst.exp
2839 * gdb.arch/aarch64-fp.exp
2840 * gdb.arch/altivec-abi.exp
2841 * gdb.arch/altivec-regs.exp
2842 * gdb.arch/amd64-byte.exp
2843 * gdb.arch/amd64-disp-step.exp
2844 * gdb.arch/amd64-dword.exp
2845 * gdb.arch/amd64-entry-value-inline.exp
2846 * gdb.arch/amd64-entry-value-param.exp
2847 * gdb.arch/amd64-entry-value-paramref.exp
2848 * gdb.arch/amd64-entry-value.exp
2849 * gdb.arch/amd64-i386-address.exp
2850 * gdb.arch/amd64-invalid-stack-middle.exp
2851 * gdb.arch/amd64-invalid-stack-top.exp
2852 * gdb.arch/amd64-optimout-repeat.exp
2853 * gdb.arch/amd64-prologue-skip.exp
2854 * gdb.arch/amd64-prologue-xmm.exp
2855 * gdb.arch/amd64-stap-special-operands.exp
2856 * gdb.arch/amd64-stap-wrong-subexp.exp
2857 * gdb.arch/amd64-tailcall-cxx.exp
2858 * gdb.arch/amd64-tailcall-noret.exp
2859 * gdb.arch/amd64-tailcall-ret.exp
2860 * gdb.arch/amd64-tailcall-self.exp
2861 * gdb.arch/amd64-word.exp
2862 * gdb.arch/arm-bl-branch-dest.exp
2863 * gdb.arch/arm-disp-step.exp
2864 * gdb.arch/arm-neon.exp
2865 * gdb.arch/arm-single-step-kernel-helper.exp
2866 * gdb.arch/avr-flash-qualifier.exp
2867 * gdb.arch/disp-step-insn-reloc.exp
2868 * gdb.arch/e500-abi.exp
2869 * gdb.arch/e500-regs.exp
2870 * gdb.arch/ftrace-insn-reloc.exp
2871 * gdb.arch/i386-avx512.exp
2872 * gdb.arch/i386-bp_permanent.exp
2873 * gdb.arch/i386-byte.exp
2874 * gdb.arch/i386-cfi-notcurrent.exp
2875 * gdb.arch/i386-disp-step.exp
2876 * gdb.arch/i386-dr3-watch.exp
2877 * gdb.arch/i386-float.exp
2878 * gdb.arch/i386-gnu-cfi.exp
2879 * gdb.arch/i386-mpx-map.exp
2880 * gdb.arch/i386-mpx-sigsegv.exp
2881 * gdb.arch/i386-mpx-simple_segv.exp
2882 * gdb.arch/i386-mpx.exp
2883 * gdb.arch/i386-permbkpt.exp
2884 * gdb.arch/i386-prologue.exp
2885 * gdb.arch/i386-signal.exp
2886 * gdb.arch/i386-size-overlap.exp
2887 * gdb.arch/i386-unwind.exp
2888 * gdb.arch/i386-word.exp
2889 * gdb.arch/mips-fcr.exp
2890 * gdb.arch/powerpc-d128-regs.exp
2891 * gdb.arch/powerpc-stackless.exp
2892 * gdb.arch/ppc64-atomic-inst.exp
2893 * gdb.arch/s390-stackless.exp
2894 * gdb.arch/s390-tdbregs.exp
2895 * gdb.arch/s390-vregs.exp
2896 * gdb.arch/sparc-sysstep.exp
2897 * gdb.arch/thumb-bx-pc.exp
2898 * gdb.arch/thumb-singlestep.exp
2899 * gdb.arch/thumb2-it.exp
2900 * gdb.arch/vsx-regs.exp
2901 * gdb.asm/asm-source.exp
2902 * gdb.base/a2-run.exp
2903 * gdb.base/advance.exp
2904 * gdb.base/all-bin.exp
2905 * gdb.base/anon.exp
2906 * gdb.base/args.exp
2907 * gdb.base/arithmet.exp
2908 * gdb.base/async-shell.exp
2909 * gdb.base/async.exp
2910 * gdb.base/attach-pie-noexec.exp
2911 * gdb.base/attach-twice.exp
2912 * gdb.base/auto-load.exp
2913 * gdb.base/bang.exp
2914 * gdb.base/bitfields.exp
2915 * gdb.base/break-always.exp
2916 * gdb.base/break-caller-line.exp
2917 * gdb.base/break-entry.exp
2918 * gdb.base/break-inline.exp
2919 * gdb.base/break-on-linker-gcd-function.exp
2920 * gdb.base/break-probes.exp
2921 * gdb.base/break.exp
2922 * gdb.base/breakpoint-shadow.exp
2923 * gdb.base/call-ar-st.exp
2924 * gdb.base/call-sc.exp
2925 * gdb.base/call-signal-resume.exp
2926 * gdb.base/call-strs.exp
2927 * gdb.base/callfuncs.exp
2928 * gdb.base/catch-fork-static.exp
2929 * gdb.base/catch-gdb-caused-signals.exp
2930 * gdb.base/catch-load.exp
2931 * gdb.base/catch-signal-fork.exp
2932 * gdb.base/catch-signal.exp
2933 * gdb.base/catch-syscall.exp
2934 * gdb.base/charset.exp
2935 * gdb.base/checkpoint.exp
2936 * gdb.base/chng-syms.exp
2937 * gdb.base/code-expr.exp
2938 * gdb.base/code_elim.exp
2939 * gdb.base/commands.exp
2940 * gdb.base/completion.exp
2941 * gdb.base/complex.exp
2942 * gdb.base/cond-expr.exp
2943 * gdb.base/condbreak.exp
2944 * gdb.base/consecutive.exp
2945 * gdb.base/continue-all-already-running.exp
2946 * gdb.base/coredump-filter.exp
2947 * gdb.base/corefile.exp
2948 * gdb.base/dbx.exp
2949 * gdb.base/debug-expr.exp
2950 * gdb.base/define.exp
2951 * gdb.base/del.exp
2952 * gdb.base/disabled-location.exp
2953 * gdb.base/disasm-end-cu.exp
2954 * gdb.base/disasm-optim.exp
2955 * gdb.base/display.exp
2956 * gdb.base/duplicate-bp.exp
2957 * gdb.base/ena-dis-br.exp
2958 * gdb.base/ending-run.exp
2959 * gdb.base/enumval.exp
2960 * gdb.base/environ.exp
2961 * gdb.base/eu-strip-infcall.exp
2962 * gdb.base/eval-avoid-side-effects.exp
2963 * gdb.base/eval-skip.exp
2964 * gdb.base/exitsignal.exp
2965 * gdb.base/expand-psymtabs.exp
2966 * gdb.base/filesym.exp
2967 * gdb.base/find-unmapped.exp
2968 * gdb.base/finish.exp
2969 * gdb.base/float.exp
2970 * gdb.base/foll-exec-mode.exp
2971 * gdb.base/foll-exec.exp
2972 * gdb.base/foll-fork.exp
2973 * gdb.base/fortran-sym-case.exp
2974 * gdb.base/freebpcmd.exp
2975 * gdb.base/func-ptr.exp
2976 * gdb.base/func-ptrs.exp
2977 * gdb.base/funcargs.exp
2978 * gdb.base/gcore-buffer-overflow.exp
2979 * gdb.base/gcore-relro-pie.exp
2980 * gdb.base/gcore-relro.exp
2981 * gdb.base/gcore.exp
2982 * gdb.base/gdb1090.exp
2983 * gdb.base/gdb11530.exp
2984 * gdb.base/gdb11531.exp
2985 * gdb.base/gdb1821.exp
2986 * gdb.base/gdbindex-stabs.exp
2987 * gdb.base/gdbvars.exp
2988 * gdb.base/hbreak.exp
2989 * gdb.base/hbreak2.exp
2990 * gdb.base/included.exp
2991 * gdb.base/infcall-input.exp
2992 * gdb.base/inferior-died.exp
2993 * gdb.base/infnan.exp
2994 * gdb.base/info-macros.exp
2995 * gdb.base/info-os.exp
2996 * gdb.base/info-proc.exp
2997 * gdb.base/info-shared.exp
2998 * gdb.base/info-target.exp
2999 * gdb.base/infoline.exp
3000 * gdb.base/interp.exp
3001 * gdb.base/interrupt.exp
3002 * gdb.base/jit-reader.exp
3003 * gdb.base/jit-simple.exp
3004 * gdb.base/kill-after-signal.exp
3005 * gdb.base/kill-detach-inferiors-cmd.exp
3006 * gdb.base/label.exp
3007 * gdb.base/langs.exp
3008 * gdb.base/ldbl_e308.exp
3009 * gdb.base/line-symtabs.exp
3010 * gdb.base/linespecs.exp
3011 * gdb.base/list.exp
3012 * gdb.base/long_long.exp
3013 * gdb.base/longest-types.exp
3014 * gdb.base/maint.exp
3015 * gdb.base/max-value-size.exp
3016 * gdb.base/memattr.exp
3017 * gdb.base/mips_pro.exp
3018 * gdb.base/morestack.exp
3019 * gdb.base/moribund-step.exp
3020 * gdb.base/multi-forks.exp
3021 * gdb.base/nested-addr.exp
3022 * gdb.base/nextoverexit.exp
3023 * gdb.base/noreturn-finish.exp
3024 * gdb.base/noreturn-return.exp
3025 * gdb.base/nostdlib.exp
3026 * gdb.base/offsets.exp
3027 * gdb.base/opaque.exp
3028 * gdb.base/pc-fp.exp
3029 * gdb.base/permissions.exp
3030 * gdb.base/print-symbol-loading.exp
3031 * gdb.base/prologue-include.exp
3032 * gdb.base/psymtab.exp
3033 * gdb.base/ptype.exp
3034 * gdb.base/random-signal.exp
3035 * gdb.base/randomize.exp
3036 * gdb.base/range-stepping.exp
3037 * gdb.base/readline-ask.exp
3038 * gdb.base/recpar.exp
3039 * gdb.base/recurse.exp
3040 * gdb.base/relational.exp
3041 * gdb.base/restore.exp
3042 * gdb.base/return-nodebug.exp
3043 * gdb.base/return.exp
3044 * gdb.base/run-after-attach.exp
3045 * gdb.base/save-bp.exp
3046 * gdb.base/scope.exp
3047 * gdb.base/sect-cmd.exp
3048 * gdb.base/set-lang-auto.exp
3049 * gdb.base/set-noassign.exp
3050 * gdb.base/setvar.exp
3051 * gdb.base/sigall.exp
3052 * gdb.base/sigbpt.exp
3053 * gdb.base/siginfo-addr.exp
3054 * gdb.base/siginfo-infcall.exp
3055 * gdb.base/siginfo-obj.exp
3056 * gdb.base/siginfo.exp
3057 * gdb.base/signals-state-child.exp
3058 * gdb.base/signest.exp
3059 * gdb.base/sigstep.exp
3060 * gdb.base/sizeof.exp
3061 * gdb.base/skip.exp
3062 * gdb.base/solib-corrupted.exp
3063 * gdb.base/solib-nodir.exp
3064 * gdb.base/solib-search.exp
3065 * gdb.base/stack-checking.exp
3066 * gdb.base/stale-infcall.exp
3067 * gdb.base/stap-probe.exp
3068 * gdb.base/start.exp
3069 * gdb.base/step-break.exp
3070 * gdb.base/step-bt.exp
3071 * gdb.base/step-line.exp
3072 * gdb.base/step-over-exit.exp
3073 * gdb.base/step-over-syscall.exp
3074 * gdb.base/step-resume-infcall.exp
3075 * gdb.base/step-test.exp
3076 * gdb.base/store.exp
3077 * gdb.base/structs3.exp
3078 * gdb.base/sym-file.exp
3079 * gdb.base/symbol-without-target_section.exp
3080 * gdb.base/term.exp
3081 * gdb.base/testenv.exp
3082 * gdb.base/ui-redirect.exp
3083 * gdb.base/until.exp
3084 * gdb.base/unwindonsignal.exp
3085 * gdb.base/value-double-free.exp
3086 * gdb.base/vla-datatypes.exp
3087 * gdb.base/vla-ptr.exp
3088 * gdb.base/vla-sideeffect.exp
3089 * gdb.base/volatile.exp
3090 * gdb.base/watch-cond-infcall.exp
3091 * gdb.base/watch-cond.exp
3092 * gdb.base/watch-non-mem.exp
3093 * gdb.base/watch-read.exp
3094 * gdb.base/watch-vfork.exp
3095 * gdb.base/watchpoint-cond-gone.exp
3096 * gdb.base/watchpoint-delete.exp
3097 * gdb.base/watchpoint-hw-hit-once.exp
3098 * gdb.base/watchpoint-hw.exp
3099 * gdb.base/watchpoint-stops-at-right-insn.exp
3100 * gdb.base/watchpoints.exp
3101 * gdb.base/wchar.exp
3102 * gdb.base/whatis-exp.exp
3103 * gdb.btrace/buffer-size.exp
3104 * gdb.btrace/data.exp
3105 * gdb.btrace/delta.exp
3106 * gdb.btrace/dlopen.exp
3107 * gdb.btrace/enable.exp
3108 * gdb.btrace/exception.exp
3109 * gdb.btrace/function_call_history.exp
3110 * gdb.btrace/gcore.exp
3111 * gdb.btrace/instruction_history.exp
3112 * gdb.btrace/nohist.exp
3113 * gdb.btrace/reconnect.exp
3114 * gdb.btrace/record_goto-step.exp
3115 * gdb.btrace/record_goto.exp
3116 * gdb.btrace/rn-dl-bind.exp
3117 * gdb.btrace/segv.exp
3118 * gdb.btrace/step.exp
3119 * gdb.btrace/stepi.exp
3120 * gdb.btrace/tailcall-only.exp
3121 * gdb.btrace/tailcall.exp
3122 * gdb.btrace/tsx.exp
3123 * gdb.btrace/unknown_functions.exp
3124 * gdb.btrace/vdso.exp
3125 * gdb.compile/compile-ifunc.exp
3126 * gdb.compile/compile-ops.exp
3127 * gdb.compile/compile-print.exp
3128 * gdb.compile/compile-setjmp.exp
3129 * gdb.cp/abstract-origin.exp
3130 * gdb.cp/ambiguous.exp
3131 * gdb.cp/annota2.exp
3132 * gdb.cp/annota3.exp
3133 * gdb.cp/anon-ns.exp
3134 * gdb.cp/anon-struct.exp
3135 * gdb.cp/anon-union.exp
3136 * gdb.cp/arg-reference.exp
3137 * gdb.cp/baseenum.exp
3138 * gdb.cp/bool.exp
3139 * gdb.cp/breakpoint.exp
3140 * gdb.cp/bs15503.exp
3141 * gdb.cp/call-c.exp
3142 * gdb.cp/casts.exp
3143 * gdb.cp/chained-calls.exp
3144 * gdb.cp/class2.exp
3145 * gdb.cp/classes.exp
3146 * gdb.cp/cmpd-minsyms.exp
3147 * gdb.cp/converts.exp
3148 * gdb.cp/cp-relocate.exp
3149 * gdb.cp/cpcompletion.exp
3150 * gdb.cp/cpexprs.exp
3151 * gdb.cp/cplabel.exp
3152 * gdb.cp/cplusfuncs.exp
3153 * gdb.cp/cpsizeof.exp
3154 * gdb.cp/ctti.exp
3155 * gdb.cp/derivation.exp
3156 * gdb.cp/destrprint.exp
3157 * gdb.cp/dispcxx.exp
3158 * gdb.cp/enum-class.exp
3159 * gdb.cp/exception.exp
3160 * gdb.cp/exceptprint.exp
3161 * gdb.cp/expand-psymtabs-cxx.exp
3162 * gdb.cp/expand-sals.exp
3163 * gdb.cp/extern-c.exp
3164 * gdb.cp/filename.exp
3165 * gdb.cp/formatted-ref.exp
3166 * gdb.cp/fpointer.exp
3167 * gdb.cp/gdb1355.exp
3168 * gdb.cp/gdb2495.exp
3169 * gdb.cp/hang.exp
3170 * gdb.cp/impl-this.exp
3171 * gdb.cp/infcall-dlopen.exp
3172 * gdb.cp/inherit.exp
3173 * gdb.cp/iostream.exp
3174 * gdb.cp/koenig.exp
3175 * gdb.cp/local.exp
3176 * gdb.cp/m-data.exp
3177 * gdb.cp/m-static.exp
3178 * gdb.cp/mb-ctor.exp
3179 * gdb.cp/mb-inline.exp
3180 * gdb.cp/mb-templates.exp
3181 * gdb.cp/member-name.exp
3182 * gdb.cp/member-ptr.exp
3183 * gdb.cp/meth-typedefs.exp
3184 * gdb.cp/method.exp
3185 * gdb.cp/method2.exp
3186 * gdb.cp/minsym-fallback.exp
3187 * gdb.cp/misc.exp
3188 * gdb.cp/namelessclass.exp
3189 * gdb.cp/namespace-enum.exp
3190 * gdb.cp/namespace-nested-import.exp
3191 * gdb.cp/namespace.exp
3192 * gdb.cp/nextoverthrow.exp
3193 * gdb.cp/no-dmgl-verbose.exp
3194 * gdb.cp/non-trivial-retval.exp
3195 * gdb.cp/noparam.exp
3196 * gdb.cp/nsdecl.exp
3197 * gdb.cp/nsimport.exp
3198 * gdb.cp/nsnested.exp
3199 * gdb.cp/nsnoimports.exp
3200 * gdb.cp/nsrecurs.exp
3201 * gdb.cp/nsstress.exp
3202 * gdb.cp/nsusing.exp
3203 * gdb.cp/operator.exp
3204 * gdb.cp/oranking.exp
3205 * gdb.cp/overload-const.exp
3206 * gdb.cp/overload.exp
3207 * gdb.cp/ovldbreak.exp
3208 * gdb.cp/ovsrch.exp
3209 * gdb.cp/paren-type.exp
3210 * gdb.cp/parse-lang.exp
3211 * gdb.cp/pass-by-ref.exp
3212 * gdb.cp/pr-1023.exp
3213 * gdb.cp/pr-1210.exp
3214 * gdb.cp/pr-574.exp
3215 * gdb.cp/pr10687.exp
3216 * gdb.cp/pr12028.exp
3217 * gdb.cp/pr17132.exp
3218 * gdb.cp/pr17494.exp
3219 * gdb.cp/pr9067.exp
3220 * gdb.cp/pr9167.exp
3221 * gdb.cp/pr9631.exp
3222 * gdb.cp/printmethod.exp
3223 * gdb.cp/psmang.exp
3224 * gdb.cp/psymtab-parameter.exp
3225 * gdb.cp/ptype-cv-cp.exp
3226 * gdb.cp/ptype-flags.exp
3227 * gdb.cp/re-set-overloaded.exp
3228 * gdb.cp/ref-types.exp
3229 * gdb.cp/rtti.exp
3230 * gdb.cp/scope-err.exp
3231 * gdb.cp/shadow.exp
3232 * gdb.cp/smartp.exp
3233 * gdb.cp/static-method.exp
3234 * gdb.cp/static-print-quit.exp
3235 * gdb.cp/temargs.exp
3236 * gdb.cp/templates.exp
3237 * gdb.cp/try_catch.exp
3238 * gdb.cp/typedef-operator.exp
3239 * gdb.cp/typeid.exp
3240 * gdb.cp/userdef.exp
3241 * gdb.cp/using-crash.exp
3242 * gdb.cp/var-tag.exp
3243 * gdb.cp/virtbase.exp
3244 * gdb.cp/virtfunc.exp
3245 * gdb.cp/virtfunc2.exp
3246 * gdb.cp/vla-cxx.exp
3247 * gdb.disasm/t01_mov.exp
3248 * gdb.disasm/t02_mova.exp
3249 * gdb.disasm/t03_add.exp
3250 * gdb.disasm/t04_sub.exp
3251 * gdb.disasm/t05_cmp.exp
3252 * gdb.disasm/t06_ari2.exp
3253 * gdb.disasm/t07_ari3.exp
3254 * gdb.disasm/t08_or.exp
3255 * gdb.disasm/t09_xor.exp
3256 * gdb.disasm/t10_and.exp
3257 * gdb.disasm/t11_logs.exp
3258 * gdb.disasm/t12_bit.exp
3259 * gdb.disasm/t13_otr.exp
3260 * gdb.dlang/circular.exp
3261 * gdb.dwarf2/arr-stride.exp
3262 * gdb.dwarf2/arr-subrange.exp
3263 * gdb.dwarf2/atomic-type.exp
3264 * gdb.dwarf2/bad-regnum.exp
3265 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3266 * gdb.dwarf2/callframecfa.exp
3267 * gdb.dwarf2/clztest.exp
3268 * gdb.dwarf2/corrupt.exp
3269 * gdb.dwarf2/data-loc.exp
3270 * gdb.dwarf2/dup-psym.exp
3271 * gdb.dwarf2/dw2-anon-mptr.exp
3272 * gdb.dwarf2/dw2-anonymous-func.exp
3273 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3274 * gdb.dwarf2/dw2-bad-unresolved.exp
3275 * gdb.dwarf2/dw2-basic.exp
3276 * gdb.dwarf2/dw2-canonicalize-type.exp
3277 * gdb.dwarf2/dw2-case-insensitive.exp
3278 * gdb.dwarf2/dw2-common-block.exp
3279 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3280 * gdb.dwarf2/dw2-compressed.exp
3281 * gdb.dwarf2/dw2-const.exp
3282 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3283 * gdb.dwarf2/dw2-cu-size.exp
3284 * gdb.dwarf2/dw2-dup-frame.exp
3285 * gdb.dwarf2/dw2-entry-value.exp
3286 * gdb.dwarf2/dw2-icycle.exp
3287 * gdb.dwarf2/dw2-ifort-parameter.exp
3288 * gdb.dwarf2/dw2-inline-break.exp
3289 * gdb.dwarf2/dw2-inline-param.exp
3290 * gdb.dwarf2/dw2-intercu.exp
3291 * gdb.dwarf2/dw2-intermix.exp
3292 * gdb.dwarf2/dw2-lexical-block-bare.exp
3293 * gdb.dwarf2/dw2-linkage-name-trust.exp
3294 * gdb.dwarf2/dw2-minsym-in-cu.exp
3295 * gdb.dwarf2/dw2-noloc.exp
3296 * gdb.dwarf2/dw2-op-call.exp
3297 * gdb.dwarf2/dw2-op-out-param.exp
3298 * gdb.dwarf2/dw2-opt-structptr.exp
3299 * gdb.dwarf2/dw2-param-error.exp
3300 * gdb.dwarf2/dw2-producer.exp
3301 * gdb.dwarf2/dw2-ranges-base.exp
3302 * gdb.dwarf2/dw2-ref-missing-frame.exp
3303 * gdb.dwarf2/dw2-reg-undefined.exp
3304 * gdb.dwarf2/dw2-regno-invalid.exp
3305 * gdb.dwarf2/dw2-restore.exp
3306 * gdb.dwarf2/dw2-restrict.exp
3307 * gdb.dwarf2/dw2-single-line-discriminators.exp
3308 * gdb.dwarf2/dw2-strp.exp
3309 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3310 * gdb.dwarf2/dw2-unresolved.exp
3311 * gdb.dwarf2/dw2-var-zero-addr.exp
3312 * gdb.dwarf2/dw4-sig-types.exp
3313 * gdb.dwarf2/dwz.exp
3314 * gdb.dwarf2/dynarr-ptr.exp
3315 * gdb.dwarf2/enum-type.exp
3316 * gdb.dwarf2/gdb-index.exp
3317 * gdb.dwarf2/implptr-64bit.exp
3318 * gdb.dwarf2/implptr-optimized-out.exp
3319 * gdb.dwarf2/implptr.exp
3320 * gdb.dwarf2/implref-array.exp
3321 * gdb.dwarf2/implref-const.exp
3322 * gdb.dwarf2/implref-global.exp
3323 * gdb.dwarf2/implref-struct.exp
3324 * gdb.dwarf2/mac-fileno.exp
3325 * gdb.dwarf2/main-subprogram.exp
3326 * gdb.dwarf2/member-ptr-forwardref.exp
3327 * gdb.dwarf2/method-ptr.exp
3328 * gdb.dwarf2/missing-sig-type.exp
3329 * gdb.dwarf2/nonvar-access.exp
3330 * gdb.dwarf2/opaque-type-lookup.exp
3331 * gdb.dwarf2/pieces-optimized-out.exp
3332 * gdb.dwarf2/pieces.exp
3333 * gdb.dwarf2/pr10770.exp
3334 * gdb.dwarf2/pr13961.exp
3335 * gdb.dwarf2/staticvirtual.exp
3336 * gdb.dwarf2/subrange.exp
3337 * gdb.dwarf2/symtab-producer.exp
3338 * gdb.dwarf2/trace-crash.exp
3339 * gdb.dwarf2/typeddwarf.exp
3340 * gdb.dwarf2/valop.exp
3341 * gdb.dwarf2/watch-notconst.exp
3342 * gdb.fortran/array-element.exp
3343 * gdb.fortran/charset.exp
3344 * gdb.fortran/common-block.exp
3345 * gdb.fortran/complex.exp
3346 * gdb.fortran/derived-type-function.exp
3347 * gdb.fortran/derived-type.exp
3348 * gdb.fortran/logical.exp
3349 * gdb.fortran/module.exp
3350 * gdb.fortran/multi-dim.exp
3351 * gdb.fortran/nested-funcs.exp
3352 * gdb.fortran/print-formatted.exp
3353 * gdb.fortran/subarray.exp
3354 * gdb.fortran/vla-alloc-assoc.exp
3355 * gdb.fortran/vla-datatypes.exp
3356 * gdb.fortran/vla-history.exp
3357 * gdb.fortran/vla-ptr-info.exp
3358 * gdb.fortran/vla-ptype-sub.exp
3359 * gdb.fortran/vla-ptype.exp
3360 * gdb.fortran/vla-sizeof.exp
3361 * gdb.fortran/vla-type.exp
3362 * gdb.fortran/vla-value-sub-arbitrary.exp
3363 * gdb.fortran/vla-value-sub-finish.exp
3364 * gdb.fortran/vla-value-sub.exp
3365 * gdb.fortran/vla-value.exp
3366 * gdb.fortran/whatis_type.exp
3367 * gdb.go/chan.exp
3368 * gdb.go/handcall.exp
3369 * gdb.go/hello.exp
3370 * gdb.go/integers.exp
3371 * gdb.go/methods.exp
3372 * gdb.go/package.exp
3373 * gdb.go/strings.exp
3374 * gdb.go/types.exp
3375 * gdb.go/unsafe.exp
3376 * gdb.guile/scm-arch.exp
3377 * gdb.guile/scm-block.exp
3378 * gdb.guile/scm-breakpoint.exp
3379 * gdb.guile/scm-cmd.exp
3380 * gdb.guile/scm-disasm.exp
3381 * gdb.guile/scm-equal.exp
3382 * gdb.guile/scm-frame-args.exp
3383 * gdb.guile/scm-frame-inline.exp
3384 * gdb.guile/scm-frame.exp
3385 * gdb.guile/scm-iterator.exp
3386 * gdb.guile/scm-math.exp
3387 * gdb.guile/scm-objfile.exp
3388 * gdb.guile/scm-ports.exp
3389 * gdb.guile/scm-symbol.exp
3390 * gdb.guile/scm-symtab.exp
3391 * gdb.guile/scm-value-cc.exp
3392 * gdb.guile/types-module.exp
3393 * gdb.linespec/break-ask.exp
3394 * gdb.linespec/cpexplicit.exp
3395 * gdb.linespec/explicit.exp
3396 * gdb.linespec/keywords.exp
3397 * gdb.linespec/linespec.exp
3398 * gdb.linespec/ls-dollar.exp
3399 * gdb.linespec/ls-errs.exp
3400 * gdb.linespec/skip-two.exp
3401 * gdb.linespec/thread.exp
3402 * gdb.mi/mi-async.exp
3403 * gdb.mi/mi-basics.exp
3404 * gdb.mi/mi-break.exp
3405 * gdb.mi/mi-catch-load.exp
3406 * gdb.mi/mi-cli.exp
3407 * gdb.mi/mi-cmd-param-changed.exp
3408 * gdb.mi/mi-console.exp
3409 * gdb.mi/mi-detach.exp
3410 * gdb.mi/mi-disassemble.exp
3411 * gdb.mi/mi-eval.exp
3412 * gdb.mi/mi-file-transfer.exp
3413 * gdb.mi/mi-file.exp
3414 * gdb.mi/mi-fill-memory.exp
3415 * gdb.mi/mi-inheritance-syntax-error.exp
3416 * gdb.mi/mi-linespec-err-cp.exp
3417 * gdb.mi/mi-logging.exp
3418 * gdb.mi/mi-memory-changed.exp
3419 * gdb.mi/mi-read-memory.exp
3420 * gdb.mi/mi-record-changed.exp
3421 * gdb.mi/mi-reg-undefined.exp
3422 * gdb.mi/mi-regs.exp
3423 * gdb.mi/mi-return.exp
3424 * gdb.mi/mi-reverse.exp
3425 * gdb.mi/mi-simplerun.exp
3426 * gdb.mi/mi-solib.exp
3427 * gdb.mi/mi-stack.exp
3428 * gdb.mi/mi-stepi.exp
3429 * gdb.mi/mi-syn-frame.exp
3430 * gdb.mi/mi-until.exp
3431 * gdb.mi/mi-var-block.exp
3432 * gdb.mi/mi-var-child.exp
3433 * gdb.mi/mi-var-cmd.exp
3434 * gdb.mi/mi-var-cp.exp
3435 * gdb.mi/mi-var-display.exp
3436 * gdb.mi/mi-var-invalidate.exp
3437 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3438 * gdb.mi/mi-vla-fortran.exp
3439 * gdb.mi/mi-watch.exp
3440 * gdb.mi/mi2-var-child.exp
3441 * gdb.mi/user-selected-context-sync.exp
3442 * gdb.modula2/unbounded-array.exp
3443 * gdb.multi/dummy-frame-restore.exp
3444 * gdb.multi/multi-arch-exec.exp
3445 * gdb.multi/multi-arch.exp
3446 * gdb.multi/tids.exp
3447 * gdb.multi/watchpoint-multi.exp
3448 * gdb.opencl/callfuncs.exp
3449 * gdb.opencl/convs_casts.exp
3450 * gdb.opencl/datatypes.exp
3451 * gdb.opencl/operators.exp
3452 * gdb.opencl/vec_comps.exp
3453 * gdb.opt/clobbered-registers-O2.exp
3454 * gdb.opt/inline-break.exp
3455 * gdb.opt/inline-bt.exp
3456 * gdb.opt/inline-cmds.exp
3457 * gdb.opt/inline-locals.exp
3458 * gdb.pascal/case-insensitive-symbols.exp
3459 * gdb.pascal/floats.exp
3460 * gdb.pascal/gdb11492.exp
3461 * gdb.python/lib-types.exp
3462 * gdb.python/py-arch.exp
3463 * gdb.python/py-as-string.exp
3464 * gdb.python/py-bad-printers.exp
3465 * gdb.python/py-block.exp
3466 * gdb.python/py-breakpoint-create-fail.exp
3467 * gdb.python/py-breakpoint.exp
3468 * gdb.python/py-caller-is.exp
3469 * gdb.python/py-cmd.exp
3470 * gdb.python/py-explore-cc.exp
3471 * gdb.python/py-explore.exp
3472 * gdb.python/py-finish-breakpoint.exp
3473 * gdb.python/py-finish-breakpoint2.exp
3474 * gdb.python/py-frame-args.exp
3475 * gdb.python/py-frame-inline.exp
3476 * gdb.python/py-frame.exp
3477 * gdb.python/py-framefilter-mi.exp
3478 * gdb.python/py-infthread.exp
3479 * gdb.python/py-lazy-string.exp
3480 * gdb.python/py-linetable.exp
3481 * gdb.python/py-mi-events.exp
3482 * gdb.python/py-mi-objfile.exp
3483 * gdb.python/py-mi.exp
3484 * gdb.python/py-objfile.exp
3485 * gdb.python/py-pp-integral.exp
3486 * gdb.python/py-pp-maint.exp
3487 * gdb.python/py-pp-re-notag.exp
3488 * gdb.python/py-pp-registration.exp
3489 * gdb.python/py-recurse-unwind.exp
3490 * gdb.python/py-strfns.exp
3491 * gdb.python/py-symbol.exp
3492 * gdb.python/py-symtab.exp
3493 * gdb.python/py-sync-interp.exp
3494 * gdb.python/py-typeprint.exp
3495 * gdb.python/py-unwind-maint.exp
3496 * gdb.python/py-unwind.exp
3497 * gdb.python/py-value-cc.exp
3498 * gdb.python/py-xmethods.exp
3499 * gdb.reverse/amd64-tailcall-reverse.exp
3500 * gdb.reverse/break-precsave.exp
3501 * gdb.reverse/break-reverse.exp
3502 * gdb.reverse/consecutive-precsave.exp
3503 * gdb.reverse/consecutive-reverse.exp
3504 * gdb.reverse/finish-precsave.exp
3505 * gdb.reverse/finish-reverse-bkpt.exp
3506 * gdb.reverse/finish-reverse.exp
3507 * gdb.reverse/fstatat-reverse.exp
3508 * gdb.reverse/getresuid-reverse.exp
3509 * gdb.reverse/i386-precsave.exp
3510 * gdb.reverse/i386-reverse.exp
3511 * gdb.reverse/i386-sse-reverse.exp
3512 * gdb.reverse/i387-env-reverse.exp
3513 * gdb.reverse/i387-stack-reverse.exp
3514 * gdb.reverse/insn-reverse.exp
3515 * gdb.reverse/machinestate-precsave.exp
3516 * gdb.reverse/machinestate.exp
3517 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3518 * gdb.reverse/pipe-reverse.exp
3519 * gdb.reverse/readv-reverse.exp
3520 * gdb.reverse/recvmsg-reverse.exp
3521 * gdb.reverse/rerun-prec.exp
3522 * gdb.reverse/s390-mvcle.exp
3523 * gdb.reverse/step-precsave.exp
3524 * gdb.reverse/step-reverse.exp
3525 * gdb.reverse/time-reverse.exp
3526 * gdb.reverse/until-precsave.exp
3527 * gdb.reverse/until-reverse.exp
3528 * gdb.reverse/waitpid-reverse.exp
3529 * gdb.reverse/watch-precsave.exp
3530 * gdb.reverse/watch-reverse.exp
3531 * gdb.rust/generics.exp
3532 * gdb.rust/methods.exp
3533 * gdb.rust/modules.exp
3534 * gdb.rust/simple.exp
3535 * gdb.server/connect-with-no-symbol-file.exp
3536 * gdb.server/ext-attach.exp
3537 * gdb.server/ext-restart.exp
3538 * gdb.server/ext-wrapper.exp
3539 * gdb.server/file-transfer.exp
3540 * gdb.server/server-exec-info.exp
3541 * gdb.server/server-kill.exp
3542 * gdb.server/server-mon.exp
3543 * gdb.server/wrapper.exp
3544 * gdb.stabs/exclfwd.exp
3545 * gdb.stabs/gdb11479.exp
3546 * gdb.threads/clone-new-thread-event.exp
3547 * gdb.threads/corethreads.exp
3548 * gdb.threads/current-lwp-dead.exp
3549 * gdb.threads/dlopen-libpthread.exp
3550 * gdb.threads/gcore-thread.exp
3551 * gdb.threads/sigstep-threads.exp
3552 * gdb.threads/watchpoint-fork.exp
3553 * gdb.trace/actions-changed.exp
3554 * gdb.trace/backtrace.exp
3555 * gdb.trace/change-loc.exp
3556 * gdb.trace/circ.exp
3557 * gdb.trace/collection.exp
3558 * gdb.trace/disconnected-tracing.exp
3559 * gdb.trace/ftrace.exp
3560 * gdb.trace/mi-trace-frame-collected.exp
3561 * gdb.trace/mi-trace-unavailable.exp
3562 * gdb.trace/mi-traceframe-changed.exp
3563 * gdb.trace/mi-tsv-changed.exp
3564 * gdb.trace/no-attach-trace.exp
3565 * gdb.trace/passc-dyn.exp
3566 * gdb.trace/qtro.exp
3567 * gdb.trace/range-stepping.exp
3568 * gdb.trace/read-memory.exp
3569 * gdb.trace/save-trace.exp
3570 * gdb.trace/signal.exp
3571 * gdb.trace/status-stop.exp
3572 * gdb.trace/tfile.exp
3573 * gdb.trace/trace-break.exp
3574 * gdb.trace/trace-buffer-size.exp
3575 * gdb.trace/trace-condition.exp
3576 * gdb.trace/tracefile-pseudo-reg.exp
3577 * gdb.trace/tstatus.exp
3578 * gdb.trace/unavailable.exp
3579 * gdb.trace/while-dyn.exp
3580 * gdb.trace/while-stepping.exp
3581
3582 2016-12-22 Doug Evans <xdje42@gmail.com>
3583
3584 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3585 and msymbols.
3586
3587 2016-12-19 Yao Qi <yao.qi@linaro.org>
3588
3589 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3590 (test_with_self): Don't call do_steps_and_nexts, and remove
3591 code about stepping into xmalloc.
3592
3593 2016-12-09 Yao Qi <yao.qi@linaro.org>
3594
3595 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3596
3597 2016-12-09 Yao Qi <yao.qi@linaro.org>
3598
3599 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3600
3601 2016-12-09 Pedro Alves <palves@redhat.com>
3602
3603 * gdb.base/all-architectures-0.exp: New file.
3604 * gdb.base/all-architectures-1.exp: New file.
3605 * gdb.base/all-architectures-2.exp: New file.
3606 * gdb.base/all-architectures-3.exp: New file.
3607 * gdb.base/all-architectures-4.exp: New file.
3608 * gdb.base/all-architectures-5.exp: New file.
3609 * gdb.base/all-architectures-6.exp: New file.
3610 * gdb.base/all-architectures-7.exp: New file.
3611 * gdb.base/all-architectures.exp.in: New file.
3612
3613 2016-12-09 Yao Qi <yao.qi@linaro.org>
3614
3615 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3616
3617 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3618
3619 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3620 possible.
3621 Remove useless pattern-matching code.
3622
3623 2016-12-02 Pedro Alves <palves@redhat.com>
3624
3625 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3626 procedure.
3627 (top level): Call it.
3628
3629 2016-12-02 Pedro Alves <palves@redhat.com>
3630
3631 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3632 New procedure.
3633 (top level): Call it.
3634
3635 2016-12-02 Pedro Alves <palves@redhat.com>
3636
3637 PR cli/20559
3638 * gdb.base/commands.exp (user_defined_command_args_eval): New
3639 procedure.
3640 (top level): Call it.
3641
3642 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3643
3644 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3645 timeout handling.
3646
3647 2016-12-02 Tom Tromey <tom@tromey.com>
3648
3649 * gdb.dwarf2/main-subprogram.c: New file.
3650 * gdb.dwarf2/main-subprogram.exp: New file.
3651
3652 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3653
3654 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3655 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3656 gdb_test_no_output for a couple of cases.
3657 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3658
3659 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3660
3661 Fix test names and standardize compilation error messages throughout
3662 the following files:
3663
3664 * gdb.ada/start.exp
3665 * gdb.arch/alpha-step.exp
3666 * gdb.arch/e500-prologue.exp
3667 * gdb.arch/ftrace-insn-reloc.exp
3668 * gdb.arch/gdb1291.exp
3669 * gdb.arch/gdb1431.exp
3670 * gdb.arch/gdb1558.exp
3671 * gdb.arch/i386-dr3-watch.exp
3672 * gdb.arch/i386-sse-stack-align.exp
3673 * gdb.arch/ia64-breakpoint-shadow.exp
3674 * gdb.arch/pa-nullify.exp
3675 * gdb.arch/powerpc-aix-prologue.exp
3676 * gdb.arch/thumb-bx-pc.exp
3677 * gdb.base/annota1.exp
3678 * gdb.base/annota3.exp
3679 * gdb.base/arrayidx.exp
3680 * gdb.base/assign.exp
3681 * gdb.base/attach.exp
3682 * gdb.base/auxv.exp
3683 * gdb.base/bang.exp
3684 * gdb.base/bfp-test.exp
3685 * gdb.base/bigcore.exp
3686 * gdb.base/bitfields2.exp
3687 * gdb.base/break-fun-addr.exp
3688 * gdb.base/break-probes.exp
3689 * gdb.base/call-rt-st.exp
3690 * gdb.base/callexit.exp
3691 * gdb.base/catch-fork-kill.exp
3692 * gdb.base/charset.exp
3693 * gdb.base/checkpoint.exp
3694 * gdb.base/comprdebug.exp
3695 * gdb.base/constvars.exp
3696 * gdb.base/coredump-filter.exp
3697 * gdb.base/cursal.exp
3698 * gdb.base/cvexpr.exp
3699 * gdb.base/detach.exp
3700 * gdb.base/display.exp
3701 * gdb.base/dmsym.exp
3702 * gdb.base/dprintf-pending.exp
3703 * gdb.base/dso2dso.exp
3704 * gdb.base/dtrace-probe.exp
3705 * gdb.base/dump.exp
3706 * gdb.base/enum_cond.exp
3707 * gdb.base/exe-lock.exp
3708 * gdb.base/exec-invalid-sysroot.exp
3709 * gdb.base/execl-update-breakpoints.exp
3710 * gdb.base/exprs.exp
3711 * gdb.base/fileio.exp
3712 * gdb.base/find.exp
3713 * gdb.base/finish.exp
3714 * gdb.base/fixsection.exp
3715 * gdb.base/foll-vfork.exp
3716 * gdb.base/frame-args.exp
3717 * gdb.base/gcore.exp
3718 * gdb.base/gdb1250.exp
3719 * gdb.base/global-var-nested-by-dso.exp
3720 * gdb.base/gnu-ifunc.exp
3721 * gdb.base/hashline1.exp
3722 * gdb.base/hashline2.exp
3723 * gdb.base/hashline3.exp
3724 * gdb.base/hbreak-in-shr-unsupported.exp
3725 * gdb.base/huge.exp
3726 * gdb.base/infcall-input.exp
3727 * gdb.base/info-fun.exp
3728 * gdb.base/info-shared.exp
3729 * gdb.base/jit-simple.exp
3730 * gdb.base/jit-so.exp
3731 * gdb.base/jit.exp
3732 * gdb.base/jump.exp
3733 * gdb.base/label.exp
3734 * gdb.base/lineinc.exp
3735 * gdb.base/logical.exp
3736 * gdb.base/longjmp.exp
3737 * gdb.base/macscp.exp
3738 * gdb.base/miscexprs.exp
3739 * gdb.base/new-ui-echo.exp
3740 * gdb.base/new-ui-pending-input.exp
3741 * gdb.base/new-ui.exp
3742 * gdb.base/nodebug.exp
3743 * gdb.base/nofield.exp
3744 * gdb.base/offsets.exp
3745 * gdb.base/overlays.exp
3746 * gdb.base/pending.exp
3747 * gdb.base/pointers.exp
3748 * gdb.base/pr11022.exp
3749 * gdb.base/printcmds.exp
3750 * gdb.base/prologue.exp
3751 * gdb.base/ptr-typedef.exp
3752 * gdb.base/realname-expand.exp
3753 * gdb.base/relativedebug.exp
3754 * gdb.base/relocate.exp
3755 * gdb.base/remote.exp
3756 * gdb.base/reread.exp
3757 * gdb.base/return2.exp
3758 * gdb.base/savedregs.exp
3759 * gdb.base/sep.exp
3760 * gdb.base/sepdebug.exp
3761 * gdb.base/sepsymtab.exp
3762 * gdb.base/set-inferior-tty.exp
3763 * gdb.base/setshow.exp
3764 * gdb.base/shlib-call.exp
3765 * gdb.base/sigaltstack.exp
3766 * gdb.base/siginfo-addr.exp
3767 * gdb.base/signals.exp
3768 * gdb.base/signull.exp
3769 * gdb.base/sigrepeat.exp
3770 * gdb.base/so-impl-ld.exp
3771 * gdb.base/solib-display.exp
3772 * gdb.base/solib-overlap.exp
3773 * gdb.base/solib-search.exp
3774 * gdb.base/solib-symbol.exp
3775 * gdb.base/structs.exp
3776 * gdb.base/structs2.exp
3777 * gdb.base/symtab-search-order.exp
3778 * gdb.base/twice.exp
3779 * gdb.base/unload.exp
3780 * gdb.base/varargs.exp
3781 * gdb.base/watchpoint-solib.exp
3782 * gdb.base/watchpoint.exp
3783 * gdb.base/whatis.exp
3784 * gdb.base/wrong_frame_bt_full.exp
3785 * gdb.btrace/dlopen.exp
3786 * gdb.cell/ea-standalone.exp
3787 * gdb.cell/ea-test.exp
3788 * gdb.cp/dispcxx.exp
3789 * gdb.cp/gdb2384.exp
3790 * gdb.cp/method2.exp
3791 * gdb.cp/nextoverthrow.exp
3792 * gdb.cp/pr10728.exp
3793 * gdb.disasm/am33.exp
3794 * gdb.disasm/h8300s.exp
3795 * gdb.disasm/mn10300.exp
3796 * gdb.disasm/sh3.exp
3797 * gdb.dwarf2/dw2-dir-file-name.exp
3798 * gdb.fortran/complex.exp
3799 * gdb.fortran/library-module.exp
3800 * gdb.guile/scm-pretty-print.exp
3801 * gdb.guile/scm-symbol.exp
3802 * gdb.guile/scm-type.exp
3803 * gdb.guile/scm-value.exp
3804 * gdb.linespec/linespec.exp
3805 * gdb.mi/gdb701.exp
3806 * gdb.mi/gdb792.exp
3807 * gdb.mi/mi-breakpoint-changed.exp
3808 * gdb.mi/mi-dprintf-pending.exp
3809 * gdb.mi/mi-dprintf.exp
3810 * gdb.mi/mi-exit-code.exp
3811 * gdb.mi/mi-pending.exp
3812 * gdb.mi/mi-solib.exp
3813 * gdb.mi/new-ui-mi-sync.exp
3814 * gdb.mi/pr11022.exp
3815 * gdb.mi/user-selected-context-sync.exp
3816 * gdb.opt/solib-intra-step.exp
3817 * gdb.python/py-events.exp
3818 * gdb.python/py-finish-breakpoint.exp
3819 * gdb.python/py-mi.exp
3820 * gdb.python/py-prettyprint.exp
3821 * gdb.python/py-shared.exp
3822 * gdb.python/py-symbol.exp
3823 * gdb.python/py-template.exp
3824 * gdb.python/py-type.exp
3825 * gdb.python/py-value.exp
3826 * gdb.reverse/solib-precsave.exp
3827 * gdb.reverse/solib-reverse.exp
3828 * gdb.server/solib-list.exp
3829 * gdb.stabs/weird.exp
3830 * gdb.threads/reconnect-signal.exp
3831 * gdb.threads/stepi-random-signal.exp
3832 * gdb.trace/actions.exp
3833 * gdb.trace/ax.exp
3834 * gdb.trace/backtrace.exp
3835 * gdb.trace/change-loc.exp
3836 * gdb.trace/deltrace.exp
3837 * gdb.trace/ftrace-lock.exp
3838 * gdb.trace/ftrace.exp
3839 * gdb.trace/infotrace.exp
3840 * gdb.trace/mi-tracepoint-changed.exp
3841 * gdb.trace/packetlen.exp
3842 * gdb.trace/passcount.exp
3843 * gdb.trace/pending.exp
3844 * gdb.trace/range-stepping.exp
3845 * gdb.trace/report.exp
3846 * gdb.trace/stap-trace.exp
3847 * gdb.trace/tfind.exp
3848 * gdb.trace/trace-break.exp
3849 * gdb.trace/trace-condition.exp
3850 * gdb.trace/trace-enable-disable.exp
3851 * gdb.trace/trace-mt.exp
3852 * gdb.trace/tracecmd.exp
3853 * gdb.trace/tspeed.exp
3854 * gdb.trace/tsv.exp
3855 * lib/perftest.exp
3856
3857 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3858
3859 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3860 with gdb_test_no_output.
3861 Use command as test name.
3862
3863 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3864
3865 Fix test names starting with uppercase throughout the files.
3866
3867 * gdb.ada/assign_1.exp
3868 * gdb.ada/boolean_expr.exp
3869 * gdb.base/arrayidx.exp
3870 * gdb.base/del.exp
3871 * gdb.base/gcore-buffer-overflow.exp
3872 * gdb.base/testenv.exp
3873 * gdb.compile/compile.exp
3874 * gdb.python/py-framefilter-invalidarg.exp
3875 * gdb.python/py-framefilter.exp
3876
3877 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3878
3879 Fix test names starting with uppercase throughout the files.
3880
3881 * gdb.ada/array_return.exp
3882 * gdb.ada/expr_delims.exp
3883 * gdb.ada/mi_dyn_arr.exp
3884 * gdb.ada/mi_interface.exp
3885 * gdb.ada/mi_var_array.exp
3886 * gdb.ada/watch_arg.exp
3887 * gdb.arch/alpha-step.exp
3888 * gdb.arch/altivec-regs.exp
3889 * gdb.arch/e500-regs.exp
3890 * gdb.arch/powerpc-d128-regs.exp
3891 * gdb.base/arrayidx.exp
3892 * gdb.base/break.exp
3893 * gdb.base/checkpoint.exp
3894 * gdb.base/debug-expr.exp
3895 * gdb.base/dmsym.exp
3896 * gdb.base/radix.exp
3897 * gdb.base/sepdebug.exp
3898 * gdb.base/testenv.exp
3899 * gdb.base/watch_thread_num.exp
3900 * gdb.base/watchpoint-cond-gone.exp
3901 * gdb.cell/break.exp
3902 * gdb.cell/ea-cache.exp
3903 * gdb.compile/compile.exp
3904 * gdb.cp/gdb2495.exp
3905 * gdb.gdb/selftest.exp
3906 * gdb.gdb/xfullpath.exp
3907 * gdb.go/hello.exp
3908 * gdb.go/integers.exp
3909 * gdb.objc/basicclass.exp
3910 * gdb.pascal/hello.exp
3911 * gdb.pascal/integers.exp
3912 * gdb.python/py-breakpoint.exp
3913 * gdb.python/py-cmd.exp
3914 * gdb.python/py-linetable.exp
3915 * gdb.python/py-xmethods.exp
3916 * gdb.python/python.exp
3917 * gdb.reverse/consecutive-precsave.exp
3918 * gdb.reverse/finish-precsave.exp
3919 * gdb.reverse/i386-precsave.exp
3920 * gdb.reverse/machinestate-precsave.exp
3921 * gdb.reverse/sigall-precsave.exp
3922 * gdb.reverse/solib-precsave.exp
3923 * gdb.reverse/step-precsave.exp
3924 * gdb.reverse/until-precsave.exp
3925 * gdb.reverse/watch-precsave.exp
3926 * gdb.threads/leader-exit.exp
3927 * gdb.threads/pthreads.exp
3928 * gdb.threads/wp-replication.exp
3929 * gdb.trace/actions.exp
3930 * gdb.trace/mi-tsv-changed.exp
3931 * gdb.trace/tsv.exp
3932
3933 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3934
3935 Fix test names starting with uppercase throughout the files.
3936
3937 * gdb.arch/i386-bp_permanent.exp
3938 * gdb.arch/i386-gnu-cfi.exp
3939 * gdb.base/disasm-end-cu.exp
3940 * gdb.base/macscp.exp
3941 * gdb.base/pending.exp
3942 * gdb.base/watch_thread_num.exp
3943 * gdb.cp/exception.exp
3944 * gdb.cp/gdb2495.exp
3945 * gdb.cp/local.exp
3946 * gdb.python/py-evsignal.exp
3947 * gdb.python/python.exp
3948 * gdb.trace/tracecmd.exp
3949
3950 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3951
3952 Fix test names starting with uppercase throughout the files.
3953
3954 * gdb.base/charset.exp
3955 * gdb.base/eval.exp
3956 * gdb.base/multi-forks.exp
3957 * gdb.guile/scm-progspace.exp
3958 * gdb.opencl/datatypes.exp
3959 * gdb.python/py-block.exp
3960 * gdb.python/py-function.exp
3961 * gdb.python/py-symbol.exp
3962 * gdb.python/py-symtab.exp
3963 * gdb.python/py-xmethods.exp
3964 * gdb.reverse/break-precsave.exp
3965 * gdb.reverse/break-reverse.exp
3966 * gdb.reverse/consecutive-precsave.exp
3967 * gdb.reverse/consecutive-reverse.exp
3968 * gdb.reverse/finish-precsave.exp
3969 * gdb.reverse/finish-reverse-bkpt.exp
3970 * gdb.reverse/finish-reverse.exp
3971 * gdb.reverse/fstatat-reverse.exp
3972 * gdb.reverse/getresuid-reverse.exp
3973 * gdb.reverse/i386-precsave.exp
3974 * gdb.reverse/i386-reverse.exp
3975 * gdb.reverse/i386-sse-reverse.exp
3976 * gdb.reverse/i387-stack-reverse.exp
3977 * gdb.reverse/insn-reverse.exp
3978 * gdb.reverse/machinestate-precsave.exp
3979 * gdb.reverse/machinestate.exp
3980 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3981 * gdb.reverse/pipe-reverse.exp
3982 * gdb.reverse/readv-reverse.exp
3983 * gdb.reverse/recvmsg-reverse.exp
3984 * gdb.reverse/rerun-prec.exp
3985 * gdb.reverse/s390-mvcle.exp
3986 * gdb.reverse/sigall-precsave.exp
3987 * gdb.reverse/sigall-reverse.exp
3988 * gdb.reverse/solib-precsave.exp
3989 * gdb.reverse/solib-reverse.exp
3990 * gdb.reverse/step-precsave.exp
3991 * gdb.reverse/step-reverse.exp
3992 * gdb.reverse/time-reverse.exp
3993 * gdb.reverse/until-precsave.exp
3994 * gdb.reverse/until-reverse.exp
3995 * gdb.reverse/waitpid-reverse.exp
3996 * gdb.reverse/watch-precsave.exp
3997 * gdb.reverse/watch-reverse.exp
3998
3999 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4000
4001 Fix test names starting with uppercase throughout the files.
4002
4003 * gdb.arch/i386-mpx-simple_segv.exp
4004 * gdb.arch/i386-mpx.exp
4005 * gdb.arch/i386-permbkpt.exp
4006 * gdb.arch/pa-nullify.exp
4007 * gdb.arch/powerpc-d128-regs.exp
4008 * gdb.arch/vsx-regs.exp
4009 * gdb.base/bfp-test.exp
4010 * gdb.base/break.exp
4011 * gdb.base/breakpoint-shadow.exp
4012 * gdb.base/callfuncs.exp
4013 * gdb.base/charset.exp
4014 * gdb.base/commands.exp
4015 * gdb.base/completion.exp
4016 * gdb.base/dfp-test.exp
4017 * gdb.base/echo.exp
4018 * gdb.base/ending-run.exp
4019 * gdb.base/eval.exp
4020 * gdb.base/expand-psymtabs.exp
4021 * gdb.base/float128.exp
4022 * gdb.base/floatn.exp
4023 * gdb.base/foll-exec-mode.exp
4024 * gdb.base/gdb1056.exp
4025 * gdb.base/gdb11531.exp
4026 * gdb.base/kill-after-signal.exp
4027 * gdb.base/multi-forks.exp
4028 * gdb.base/overlays.exp
4029 * gdb.base/pending.exp
4030 * gdb.base/sepdebug.exp
4031 * gdb.base/testenv.exp
4032 * gdb.base/valgrind-db-attach.exp
4033 * gdb.base/watch_thread_num.exp
4034 * gdb.base/watchpoint-cond-gone.exp
4035 * gdb.base/watchpoint.exp
4036 * gdb.base/watchpoints.exp
4037 * gdb.cp/arg-reference.exp
4038 * gdb.cp/baseenum.exp
4039 * gdb.cp/operator.exp
4040 * gdb.cp/shadow.exp
4041 * gdb.dwarf2/dw2-op-out-param.exp
4042 * gdb.dwarf2/dw2-reg-undefined.exp
4043 * gdb.go/chan.exp
4044 * gdb.go/hello.exp
4045 * gdb.go/integers.exp
4046 * gdb.go/methods.exp
4047 * gdb.go/package.exp
4048 * gdb.guile/scm-parameter.exp
4049 * gdb.guile/scm-progspace.exp
4050 * gdb.guile/scm-value.exp
4051 * gdb.mi/mi-pending.exp
4052 * gdb.mi/user-selected-context-sync.exp
4053 * gdb.multi/multi-attach.exp
4054 * gdb.multi/tids.exp
4055 * gdb.opt/clobbered-registers-O2.exp
4056 * gdb.pascal/floats.exp
4057 * gdb.pascal/integers.exp
4058 * gdb.python/py-block.exp
4059 * gdb.python/py-events.exp
4060 * gdb.python/py-parameter.exp
4061 * gdb.python/py-symbol.exp
4062 * gdb.python/py-symtab.exp
4063 * gdb.python/py-type.exp
4064 * gdb.python/py-value.exp
4065 * gdb.python/py-xmethods.exp
4066 * gdb.python/python.exp
4067 * gdb.reverse/break-precsave.exp
4068 * gdb.reverse/consecutive-precsave.exp
4069 * gdb.reverse/finish-precsave.exp
4070 * gdb.reverse/i386-precsave.exp
4071 * gdb.reverse/machinestate-precsave.exp
4072 * gdb.reverse/sigall-precsave.exp
4073 * gdb.reverse/solib-precsave.exp
4074 * gdb.reverse/step-precsave.exp
4075 * gdb.reverse/until-precsave.exp
4076 * gdb.reverse/watch-precsave.exp
4077 * gdb.server/ext-attach.exp
4078 * gdb.server/ext-restart.exp
4079 * gdb.server/ext-run.exp
4080 * gdb.server/ext-wrapper.exp
4081 * gdb.stabs/gdb11479.exp
4082 * gdb.stabs/weird.exp
4083 * gdb.threads/attach-many-short-lived-threads.exp
4084 * gdb.threads/kill.exp
4085 * gdb.threads/watchpoint-fork.exp
4086
4087 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4088
4089 Fix test names starting with uppercase throughout all the files below.
4090
4091 * gdb.ada/array_return.exp
4092 * gdb.ada/catch_ex.exp
4093 * gdb.ada/info_exc.exp
4094 * gdb.ada/mi_catch_ex.exp
4095 * gdb.ada/mi_dyn_arr.exp
4096 * gdb.ada/mi_ex_cond.exp
4097 * gdb.ada/mi_exc_info.exp
4098 * gdb.ada/mi_interface.exp
4099 * gdb.ada/mi_task_arg.exp
4100 * gdb.ada/mi_task_info.exp
4101 * gdb.ada/mi_var_array.exp
4102 * gdb.arch/alpha-step.exp
4103 * gdb.arch/amd64-disp-step.exp
4104 * gdb.arch/arm-disp-step.exp
4105 * gdb.arch/disp-step-insn-reloc.exp
4106 * gdb.arch/e500-prologue.exp
4107 * gdb.arch/ftrace-insn-reloc.exp
4108 * gdb.arch/gdb1558.exp
4109 * gdb.arch/i386-bp_permanent.exp
4110 * gdb.arch/i386-disp-step.exp
4111 * gdb.arch/i386-float.exp
4112 * gdb.arch/i386-gnu-cfi.exp
4113 * gdb.arch/ia64-breakpoint-shadow.exp
4114 * gdb.arch/mips16-thunks.exp
4115 * gdb.arch/pa-nullify.exp
4116 * gdb.arch/powerpc-aix-prologue.exp
4117 * gdb.arch/powerpc-power.exp
4118 * gdb.arch/ppc-dfp.exp
4119 * gdb.arch/s390-tdbregs.exp
4120 * gdb.arch/spu-info.exp
4121 * gdb.arch/spu-ls.exp
4122 * gdb.arch/thumb-bx-pc.exp
4123 * gdb.base/advance.exp
4124 * gdb.base/annota-input-while-running.exp
4125 * gdb.base/arrayidx.exp
4126 * gdb.base/asmlabel.exp
4127 * gdb.base/async.exp
4128 * gdb.base/attach-wait-input.exp
4129 * gdb.base/auto-connect-native-target.exp
4130 * gdb.base/batch-preserve-term-settings.exp
4131 * gdb.base/bfp-test.exp
4132 * gdb.base/bigcore.exp
4133 * gdb.base/bp-permanent.exp
4134 * gdb.base/break-always.exp
4135 * gdb.base/break-fun-addr.exp
4136 * gdb.base/break-idempotent.exp
4137 * gdb.base/break-main-file-remove-fail.exp
4138 * gdb.base/break-probes.exp
4139 * gdb.base/break-unload-file.exp
4140 * gdb.base/break.exp
4141 * gdb.base/call-ar-st.exp
4142 * gdb.base/call-rt-st.exp
4143 * gdb.base/call-sc.exp
4144 * gdb.base/call-signal-resume.exp
4145 * gdb.base/call-strs.exp
4146 * gdb.base/callexit.exp
4147 * gdb.base/callfuncs.exp
4148 * gdb.base/catch-gdb-caused-signals.exp
4149 * gdb.base/catch-signal-siginfo-cond.exp
4150 * gdb.base/catch-syscall.exp
4151 * gdb.base/compare-sections.exp
4152 * gdb.base/cond-eval-mode.exp
4153 * gdb.base/condbreak-call-false.exp
4154 * gdb.base/consecutive-step-over.exp
4155 * gdb.base/cursal.exp
4156 * gdb.base/disabled-location.exp
4157 * gdb.base/disasm-end-cu.exp
4158 * gdb.base/display.exp
4159 * gdb.base/double-prompt-target-event-error.exp
4160 * gdb.base/dprintf-bp-same-addr.exp
4161 * gdb.base/dprintf-detach.exp
4162 * gdb.base/dprintf-next.exp
4163 * gdb.base/dprintf-non-stop.exp
4164 * gdb.base/dprintf-pending.exp
4165 * gdb.base/dso2dso.exp
4166 * gdb.base/ending-run.exp
4167 * gdb.base/enum_cond.exp
4168 * gdb.base/examine-backward.exp
4169 * gdb.base/exe-lock.exp
4170 * gdb.base/exec-invalid-sysroot.exp
4171 * gdb.base/execl-update-breakpoints.exp
4172 * gdb.base/execution-termios.exp
4173 * gdb.base/fileio.exp
4174 * gdb.base/fixsection.exp
4175 * gdb.base/foll-exec-mode.exp
4176 * gdb.base/foll-exec.exp
4177 * gdb.base/fork-running-state.exp
4178 * gdb.base/frame-args.exp
4179 * gdb.base/fullpath-expand.exp
4180 * gdb.base/func-ptr.exp
4181 * gdb.base/gcore-relro-pie.exp
4182 * gdb.base/gdb1090.exp
4183 * gdb.base/gdb1555.exp
4184 * gdb.base/global-var-nested-by-dso.exp
4185 * gdb.base/gnu-ifunc.exp
4186 * gdb.base/hbreak-in-shr-unsupported.exp
4187 * gdb.base/hbreak-unmapped.exp
4188 * gdb.base/hook-stop.exp
4189 * gdb.base/infcall-input.exp
4190 * gdb.base/info-fun.exp
4191 * gdb.base/info-shared.exp
4192 * gdb.base/interrupt-noterm.exp
4193 * gdb.base/jit-so.exp
4194 * gdb.base/jit.exp
4195 * gdb.base/line-symtabs.exp
4196 * gdb.base/list.exp
4197 * gdb.base/longjmp.exp
4198 * gdb.base/macscp.exp
4199 * gdb.base/max-value-size.exp
4200 * gdb.base/nodebug.exp
4201 * gdb.base/nofield.exp
4202 * gdb.base/overlays.exp
4203 * gdb.base/paginate-after-ctrl-c-running.exp
4204 * gdb.base/paginate-bg-execution.exp
4205 * gdb.base/paginate-inferior-exit.exp
4206 * gdb.base/pending.exp
4207 * gdb.base/pr11022.exp
4208 * gdb.base/printcmds.exp
4209 * gdb.base/ptr-typedef.exp
4210 * gdb.base/ptype.exp
4211 * gdb.base/randomize.exp
4212 * gdb.base/range-stepping.exp
4213 * gdb.base/realname-expand.exp
4214 * gdb.base/relativedebug.exp
4215 * gdb.base/remote.exp
4216 * gdb.base/savedregs.exp
4217 * gdb.base/sepdebug.exp
4218 * gdb.base/set-noassign.exp
4219 * gdb.base/shlib-call.exp
4220 * gdb.base/shreloc.exp
4221 * gdb.base/sigaltstack.exp
4222 * gdb.base/sigbpt.exp
4223 * gdb.base/siginfo-addr.exp
4224 * gdb.base/siginfo-obj.exp
4225 * gdb.base/siginfo-thread.exp
4226 * gdb.base/signest.exp
4227 * gdb.base/signull.exp
4228 * gdb.base/sigrepeat.exp
4229 * gdb.base/skip.exp
4230 * gdb.base/so-impl-ld.exp
4231 * gdb.base/solib-corrupted.exp
4232 * gdb.base/solib-disc.exp
4233 * gdb.base/solib-display.exp
4234 * gdb.base/solib-overlap.exp
4235 * gdb.base/solib-search.exp
4236 * gdb.base/solib-symbol.exp
4237 * gdb.base/source-execution.exp
4238 * gdb.base/sss-bp-on-user-bp-2.exp
4239 * gdb.base/sss-bp-on-user-bp.exp
4240 * gdb.base/stack-checking.exp
4241 * gdb.base/stale-infcall.exp
4242 * gdb.base/step-break.exp
4243 * gdb.base/step-line.exp
4244 * gdb.base/step-over-exit.exp
4245 * gdb.base/step-test.exp
4246 * gdb.base/structs.exp
4247 * gdb.base/sym-file.exp
4248 * gdb.base/symtab-search-order.exp
4249 * gdb.base/term.exp
4250 * gdb.base/type-opaque.exp
4251 * gdb.base/unload.exp
4252 * gdb.base/until-nodebug.exp
4253 * gdb.base/until.exp
4254 * gdb.base/unwindonsignal.exp
4255 * gdb.base/watch-cond.exp
4256 * gdb.base/watch-non-mem.exp
4257 * gdb.base/watch_thread_num.exp
4258 * gdb.base/watchpoint-reuse-slot.exp
4259 * gdb.base/watchpoint-solib.exp
4260 * gdb.base/watchpoint.exp
4261 * gdb.btrace/dlopen.exp
4262 * gdb.cell/arch.exp
4263 * gdb.cell/break.exp
4264 * gdb.cell/bt.exp
4265 * gdb.cell/core.exp
4266 * gdb.cell/data.exp
4267 * gdb.cell/dwarfaddr.exp
4268 * gdb.cell/ea-cache.exp
4269 * gdb.cell/ea-standalone.exp
4270 * gdb.cell/ea-test.exp
4271 * gdb.cell/f-regs.exp
4272 * gdb.cell/fork.exp
4273 * gdb.cell/gcore.exp
4274 * gdb.cell/mem-access.exp
4275 * gdb.cell/ptype.exp
4276 * gdb.cell/registers.exp
4277 * gdb.cell/sizeof.exp
4278 * gdb.cell/solib-symbol.exp
4279 * gdb.cell/solib.exp
4280 * gdb.compile/compile-tls.exp
4281 * gdb.cp/exception.exp
4282 * gdb.cp/gdb2495.exp
4283 * gdb.cp/local.exp
4284 * gdb.cp/mb-inline.exp
4285 * gdb.cp/mb-templates.exp
4286 * gdb.cp/pr10687.exp
4287 * gdb.cp/pr9167.exp
4288 * gdb.cp/scope-err.exp
4289 * gdb.cp/templates.exp
4290 * gdb.cp/virtfunc.exp
4291 * gdb.dwarf2/dw2-dir-file-name.exp
4292 * gdb.dwarf2/dw2-single-line-discriminators.exp
4293 * gdb.fortran/complex.exp
4294 * gdb.fortran/library-module.exp
4295 * gdb.guile/guile.exp
4296 * gdb.guile/scm-cmd.exp
4297 * gdb.guile/scm-frame-inline.exp
4298 * gdb.guile/scm-objfile.exp
4299 * gdb.guile/scm-pretty-print.exp
4300 * gdb.guile/scm-symbol.exp
4301 * gdb.guile/scm-type.exp
4302 * gdb.guile/scm-value.exp
4303 * gdb.linespec/keywords.exp
4304 * gdb.linespec/ls-errs.exp
4305 * gdb.linespec/macro-relative.exp
4306 * gdb.linespec/thread.exp
4307 * gdb.mi/mi-breakpoint-changed.exp
4308 * gdb.mi/mi-dprintf-pending.exp
4309 * gdb.mi/mi-fullname-deleted.exp
4310 * gdb.mi/mi-logging.exp
4311 * gdb.mi/mi-pending.exp
4312 * gdb.mi/mi-solib.exp
4313 * gdb.mi/new-ui-mi-sync.exp
4314 * gdb.mi/user-selected-context-sync.exp
4315 * gdb.multi/dummy-frame-restore.exp
4316 * gdb.multi/multi-arch-exec.exp
4317 * gdb.multi/remove-inferiors.exp
4318 * gdb.multi/watchpoint-multi-exit.exp
4319 * gdb.opt/solib-intra-step.exp
4320 * gdb.perf/backtrace.exp
4321 * gdb.perf/single-step.exp
4322 * gdb.perf/skip-command.exp
4323 * gdb.perf/skip-prologue.exp
4324 * gdb.perf/solib.exp
4325 * gdb.python/lib-types.exp
4326 * gdb.python/py-as-string.exp
4327 * gdb.python/py-bad-printers.exp
4328 * gdb.python/py-block.exp
4329 * gdb.python/py-breakpoint.exp
4330 * gdb.python/py-cmd.exp
4331 * gdb.python/py-events.exp
4332 * gdb.python/py-evthreads.exp
4333 * gdb.python/py-finish-breakpoint.exp
4334 * gdb.python/py-finish-breakpoint2.exp
4335 * gdb.python/py-frame-inline.exp
4336 * gdb.python/py-frame.exp
4337 * gdb.python/py-inferior.exp
4338 * gdb.python/py-infthread.exp
4339 * gdb.python/py-mi.exp
4340 * gdb.python/py-objfile.exp
4341 * gdb.python/py-pp-maint.exp
4342 * gdb.python/py-pp-registration.exp
4343 * gdb.python/py-prettyprint.exp
4344 * gdb.python/py-recurse-unwind.exp
4345 * gdb.python/py-shared.exp
4346 * gdb.python/py-symbol.exp
4347 * gdb.python/py-symtab.exp
4348 * gdb.python/py-template.exp
4349 * gdb.python/py-type.exp
4350 * gdb.python/py-unwind-maint.exp
4351 * gdb.python/py-unwind.exp
4352 * gdb.python/py-value.exp
4353 * gdb.python/python.exp
4354 * gdb.reverse/finish-reverse-bkpt.exp
4355 * gdb.reverse/insn-reverse.exp
4356 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4357 * gdb.reverse/solib-precsave.exp
4358 * gdb.reverse/solib-reverse.exp
4359 * gdb.stabs/gdb11479.exp
4360 * gdb.stabs/weird.exp
4361 * gdb.threads/fork-child-threads.exp
4362 * gdb.threads/fork-plus-threads.exp
4363 * gdb.threads/fork-thread-pending.exp
4364 * gdb.threads/forking-threads-plus-breakpoint.exp
4365 * gdb.threads/hand-call-in-threads.exp
4366 * gdb.threads/interrupted-hand-call.exp
4367 * gdb.threads/linux-dp.exp
4368 * gdb.threads/local-watch-wrong-thread.exp
4369 * gdb.threads/next-while-other-thread-longjmps.exp
4370 * gdb.threads/non-ldr-exit.exp
4371 * gdb.threads/pending-step.exp
4372 * gdb.threads/print-threads.exp
4373 * gdb.threads/process-dies-while-detaching.exp
4374 * gdb.threads/process-dies-while-handling-bp.exp
4375 * gdb.threads/pthreads.exp
4376 * gdb.threads/queue-signal.exp
4377 * gdb.threads/reconnect-signal.exp
4378 * gdb.threads/signal-command-handle-nopass.exp
4379 * gdb.threads/signal-command-multiple-signals-pending.exp
4380 * gdb.threads/signal-delivered-right-thread.exp
4381 * gdb.threads/signal-sigtrap.exp
4382 * gdb.threads/sigthread.exp
4383 * gdb.threads/staticthreads.exp
4384 * gdb.threads/stepi-random-signal.exp
4385 * gdb.threads/thread-unwindonsignal.exp
4386 * gdb.threads/thread_check.exp
4387 * gdb.threads/thread_events.exp
4388 * gdb.threads/tid-reuse.exp
4389 * gdb.threads/tls-nodebug.exp
4390 * gdb.threads/tls-shared.exp
4391 * gdb.threads/tls-so_extern.exp
4392 * gdb.threads/tls.exp
4393 * gdb.threads/wp-replication.exp
4394 * gdb.trace/actions-changed.exp
4395 * gdb.trace/actions.exp
4396 * gdb.trace/backtrace.exp
4397 * gdb.trace/change-loc.exp
4398 * gdb.trace/collection.exp
4399 * gdb.trace/deltrace.exp
4400 * gdb.trace/disconnected-tracing.exp
4401 * gdb.trace/entry-values.exp
4402 * gdb.trace/ftrace-lock.exp
4403 * gdb.trace/ftrace.exp
4404 * gdb.trace/infotrace.exp
4405 * gdb.trace/mi-trace-frame-collected.exp
4406 * gdb.trace/mi-trace-unavailable.exp
4407 * gdb.trace/mi-traceframe-changed.exp
4408 * gdb.trace/mi-tracepoint-changed.exp
4409 * gdb.trace/mi-tsv-changed.exp
4410 * gdb.trace/no-attach-trace.exp
4411 * gdb.trace/packetlen.exp
4412 * gdb.trace/passc-dyn.exp
4413 * gdb.trace/passcount.exp
4414 * gdb.trace/pending.exp
4415 * gdb.trace/pr16508.exp
4416 * gdb.trace/qtro.exp
4417 * gdb.trace/range-stepping.exp
4418 * gdb.trace/read-memory.exp
4419 * gdb.trace/report.exp
4420 * gdb.trace/save-trace.exp
4421 * gdb.trace/signal.exp
4422 * gdb.trace/stap-trace.exp
4423 * gdb.trace/status-stop.exp
4424 * gdb.trace/strace.exp
4425 * gdb.trace/tfile.exp
4426 * gdb.trace/tfind.exp
4427 * gdb.trace/trace-break.exp
4428 * gdb.trace/trace-condition.exp
4429 * gdb.trace/trace-enable-disable.exp
4430 * gdb.trace/trace-mt.exp
4431 * gdb.trace/tracecmd.exp
4432 * gdb.trace/tracefile-pseudo-reg.exp
4433 * gdb.trace/tspeed.exp
4434 * gdb.trace/tstatus.exp
4435 * gdb.trace/tsv.exp
4436 * gdb.trace/unavailable.exp
4437 * gdb.trace/while-dyn.exp
4438 * gdb.trace/while-stepping.exp
4439 * lib/gdb-guile.exp
4440 * lib/gdb.exp
4441 * lib/mi-support.exp
4442 * lib/pascal.exp
4443 * lib/perftest.exp
4444 * lib/prelink-support.exp
4445 * lib/selftest-support.exp
4446
4447 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4448
4449 * Makefile.in: Include disable-implicit-rules.mk.
4450
4451 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4452
4453 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4454 non-byte-aligned bit fields.
4455
4456 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4457
4458 PR gdb/12616
4459 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4460 respects the DW_AT_data_bit_offset attribute.
4461
4462 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4463
4464 * gdb.base/default.exp: Fix output of "set language".
4465
4466 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4467
4468 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4469 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4470 make.
4471 * configure.ac: Remove checks for the make program.
4472 * configure: Re-generate.
4473
4474 2016-11-16 Kevin Buettner <kevinb@redhat.com>
4475
4476 * gdb.python/py-recurse-unwind.c (main): Add loop.
4477 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4478 to read_register() and gdb.parse_and_eval(). Make each code
4479 call a separate case that can be individually tested.
4480 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4481 proc. Call cont_and_backtrace for each of the code paths that
4482 we want to test in the unwinder.
4483
4484 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4485
4486 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4487 the definition of struct S.
4488
4489 2016-11-11 Catherine Moore <clm@codesourcery.com>
4490
4491 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4492
4493 2016-11-09 Pedro Alves <palves@redhat.com>
4494
4495 * gdb.base/commands.exp (runto_or_return): New procedure.
4496 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4497 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4498 (progvar_simple_while_test, progvar_complex_if_while_test)
4499 (if_while_breakpoint_command_test)
4500 (infrun_breakpoint_command_test, breakpoint_command_test)
4501 (user_defined_command_test, watchpoint_command_test)
4502 (test_command_prompt_position, redefine_hook_test)
4503 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4504 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4505 multi_line_input and multi_line. Remove gdb_expect and
4506 gdb_stop_suppressing_tests uses.
4507 * lib/gdb.exp (valnum_re): New global.
4508 (multi_line_input): New procedure.
4509
4510 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4511
4512 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4513 Remove.
4514 (test_setup): Define with proc_with_prefix.
4515 (test_cli_inferior): Likewise.
4516 (test_cli_thread): Likewise.
4517 (test_cli_frame): Likewise.
4518 (test_cli_select_frame): Likewise.
4519 (test_cli_up_down): Likewise.
4520 (test_mi_thread_select): Likewise.
4521 (test_mi_stack_select_frame): Likewise.
4522 (test_cli_in_mi_inferior): Likewise.
4523 (test_cli_in_mi_thread): Likewise.
4524 (test_cli_in_mi_frame): Likewise.
4525 (top level): Do not use with_test_prefix_procname.
4526
4527 2016-11-09 Pedro Alves <palves@redhat.com>
4528
4529 * gdb.base/commands.exp (gdbvar_simple_if_test)
4530 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4531 (progvar_simple_if_test, progvar_simple_while_test)
4532 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4533 (infrun_breakpoint_command_test, breakpoint_command_test)
4534 (user_defined_command_test, watchpoint_command_test)
4535 (test_command_prompt_position, deprecated_command_test)
4536 (bp_deleted_in_command, temporary_breakpoint_commands)
4537 (stray_arg0_test, source_file_with_indented_comment)
4538 (recursive_source_test, if_commands_test)
4539 (error_clears_commands_left, redefine_hook_test)
4540 (redefine_backtrace_test): Use proc_with_prefix.
4541 * lib/gdb.exp (proc_with_prefix): New proc.
4542
4543 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4544
4545 * gdb.base/tui-layout.c: New file.
4546 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4547 disassembly window contains very long lines.
4548
4549 2016-11-08 Tom Tromey <tom@tromey.com>
4550
4551 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4552 depend on Python 2.
4553
4554 2016-11-08 Tom Tromey <tom@tromey.com>
4555
4556 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4557 New method.
4558
4559 2016-10-29 Manish Goregaokar <manish@mozilla.com>
4560
4561 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
4562
4563 2016-10-27 Manish Goregaokar <manish@mozilla.com>
4564
4565 * gdb.rust/simple.rs: Add test for univariant enums without
4566 discriminants and for encoded struct-like enums.
4567
4568 2016-10-28 Pedro Alves <palves@redhat.com>
4569
4570 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4571 gdb_test_multiple, tighten regexps and match symtabs and line
4572 tables incrementally.
4573
4574 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
4575
4576 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4577 general.
4578
4579 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
4580
4581 * gdb.base/exec-invalid-sysroot.exp: New file.
4582
4583 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4586
4587 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4588
4589 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4590
4591 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4592
4593 * gdb.base/killed-outside.exp: Remove $options from a call to
4594 `prepare_for_testing'.
4595
4596 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4597
4598 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4599 Change test message.
4600
4601 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4602
4603 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4604 Update comment.
4605
4606 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4607
4608 * gdb.trace/mi-trace-save.exp: New file.
4609
4610 2016-10-13 Yao Qi <yao.qi@linaro.org>
4611
4612 * gdb.base/code_elim.exp (get_var_address): Remove.
4613 * gdb.base/relocate.exp: Likewise.
4614 * gdb.base/shreloc.exp: Likewise.
4615 * lib/gdb.exp (get_var_address): New.
4616
4617 2016-10-13 Yao Qi <yao.qi@linaro.org>
4618
4619 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4620 floating point tests if $skip_float_test is false.
4621
4622 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4623
4624 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4625 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4626 argc values.
4627 Add 1 to argc so we guarantee distinct initial/modified argc values.
4628
4629 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4630
4631 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4632
4633 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4634
4635 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4636 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4637 * gdb.arch/vsx-regs.exp: Likewise.
4638
4639 2016-10-07 Yao Qi <yao.qi@linaro.org>
4640
4641 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4642
4643 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4644
4645 * gdb.python/python.exp: Test decode_line("*0").
4646
4647 2016-10-06 Doug Evans <dje@google.com>
4648
4649 * gdb.python/py-value.exp (test_value_creation): Add test for large
4650 unsigned 64-bit value.
4651
4652 2016-10-06 Tom Tromey <tom@tromey.com>
4653
4654 * gdb.compile/compile.exp: Change java tests to rust.
4655 * gdb.base/setshow.exp: Change java tests to rust.
4656 * gdb.base/default.exp: Remove java from language list.
4657 * README (Examples): Update language example.
4658 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4659 test.
4660 * lib/gdb.exp (skip_java_tests): Remove.
4661 * lib/java.exp: Remove.
4662 * gdb.java: Remove.
4663
4664 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4665
4666 * gdb.arch/mips-fcr.exp: New test.
4667 * gdb.arch/mips-fcr.c: Source for the new test.
4668
4669 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4670
4671 * gdb.base/solib-disc.exp: Use `standard_output_file'
4672 throughout.
4673
4674 2016-10-06 Pedro Alves <palves@redhat.com>
4675
4676 * gdb.base/jit-simple-dl.c: New file.
4677 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4678 * gdb.base/jit-simple.c: ... this.
4679 * gdb.base/jit-simple.exp (jit_run): Delete.
4680 (build_jit): New proc.
4681 (jit_test_reread): Recompile either the main program or the shared
4682 library, depending on what is being tested. Skip changing address
4683 if caller wants to. Compare before/after addresses. If testing
4684 standalone, explicitly load the binary. Test "maint info
4685 breakpoints".
4686 (top level): Add "standalone vs shared lib" and "change address"
4687 vs "same address" axes.
4688
4689 2016-10-06 Pedro Alves <palves@redhat.com>
4690
4691 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4692 call.
4693 (jit_run): Delete.
4694 (jit_test_reread): Use with_test_prefix. Reload the main binary
4695 explicitly. Compare the before/after addresses of the JIT
4696 descriptor.
4697
4698 2016-08-15 Doug Evans <dje@google.com>
4699
4700 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4701 for single bitfields is bool.
4702 * gdb.xml/tdesc-regs.exp: Ditto.
4703
4704 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4705
4706 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4707
4708 2016-10-05 Yao Qi <yao.qi@linaro.org>
4709
4710 * lib/gdb.exp (support_complex_tests): Return zero if
4711 gdb_skip_float_test return true.
4712
4713 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4714 Simon Marchi <simon.marchi@ericsson.com>
4715
4716 PR gdb/20487
4717 * gdb.mi/user-selected-context-sync.exp: New file.
4718 * gdb.mi/user-selected-context-sync.c: New file.
4719
4720 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4721 Simon Marchi <simon.marchi@ericsson.com>
4722
4723 PR gdb/20487
4724 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4725 =thread-select-event check.
4726
4727 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4728
4729 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4730 the compulsory L operand changes.
4731 * gdb.arch/powerpc-power.s: Likewise.
4732
4733 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4734
4735 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4736 * gdb.base/jit-attach-pie.c: New file.
4737 * gdb.base/jit-attach-pie.exp: New file.
4738
4739 2016-09-28 Pedro Alves <palves@redhat.com>
4740
4741 * gdb.base/infcall-input.c: New file.
4742 * gdb.base/infcall-input.exp: New file.
4743
4744 2016-09-22 Yao Qi <yao.qi@linaro.org>
4745
4746 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4747 (gdb_exit): Rename it to ...
4748 (gdbserver_gdb_exit): ... Close GDBserver.
4749 (gdb_exit): New proc, call gdbserver_gdb_exit.
4750 (mi_gdb_exit): Likewise.
4751
4752 2016-09-22 Yao Qi <yao.qi@linaro.org>
4753
4754 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4755 path.
4756 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4757 Remove duplication.
4758
4759 2016-09-22 Yao Qi <yao.qi@linaro.org>
4760
4761 * lib/gdbserver-support.exp: Check the existence of
4762 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4763
4764 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4765
4766 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4767
4768 2016-09-21 Tom Tromey <tom@tromey.com>
4769
4770 PR gdb/20604:
4771 * gdb.base/quit.exp: New file.
4772
4773 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4774
4775 * .gitignore: New file.
4776
4777 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4778
4779 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4780 throughout.
4781
4782 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4783
4784 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4785
4786 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4787
4788 * gdb.cp/casts.cc (decltype): Move it ...
4789 (main): ... with its call to ...
4790 * gdb.cp/casts03.cc: ... a new file.
4791 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4792
4793 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4794
4795 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4796
4797 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4798
4799 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4800 and sync up the test with tests in gas/testsuite/gas/ppc.
4801 * gdb.arch/powerpc-power.exp: Likewise.
4802
4803 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4804
4805 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4806
4807 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4808 Jan Kratochvil <jan.kratochvil@redhat.com>
4809
4810 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4811 make m1's definition to be different from m2's. Use 'dummy' as an
4812 argument for probe 'two'.
4813
4814 2016-09-10 Jon Beniston <jon@beniston.com>
4815
4816 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4817 for sim target.
4818
4819 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4820
4821 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4822 variable declaration.
4823 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4824 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4825 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4826 received HWCAP as its argument.
4827
4828 2016-09-06 Pedro Alves <palves@redhat.com>
4829
4830 * gdb.base/new-ui-pending-input.c: New file.
4831 * gdb.base/new-ui-pending-input.exp: New file.
4832 * gdb.exp (clear_gdb_spawn_id): New procedure.
4833 (with_spawn_id): Check whether gdb_spawn_id exists before
4834 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4835 on exit.
4836
4837 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4838
4839 * gdb.base/float128.c: New file.
4840 * gdb.base/float128.exp: Likewise.
4841 * gdb.base/floatn.c: Likewise.
4842 * gdb.base/floatn.exp: Likewise.
4843
4844 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4845
4846 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4847
4848 2016-09-05 Pedro Alves <palves@redhat.com>
4849
4850 PR backtrace/19927
4851 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4852 unwinders are immediately called as side effect of "source" or
4853 "disable unwinder" commands.
4854 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4855
4856 2016-09-02 Yao Qi <yao.qi@linaro.org>
4857
4858 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4859 is true and $type is "float" or "double".
4860
4861 2016-09-02 Yao Qi <yao.qi@linaro.org>
4862
4863 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
4864 true.
4865 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
4866 * gdb.base/call-rt-st.exp: Likewise.
4867 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
4868 return value instead of gdb,skip_float_test.
4869 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
4870 (do_function_calls): Use its return value instead of
4871 gdb,skip_float_test.
4872 * gdb.base/finish.exp: Likewise.
4873 * gdb.base/funcargs.exp: Likewise.
4874 * gdb.base/return.exp: Likewise.
4875 * gdb.base/return2.exp: Likewise.
4876 * gdb.base/varargs.exp: Likewise.
4877 * lib/gdb.exp (gdb_skip_float_test): Change it to
4878 gdb_caching_proc. Detect the broken ptrace on arm-linux.
4879
4880 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
4881
4882 * gdb.multi/tids.exp: Test "thread apply all".
4883
4884 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4885
4886 * gdb.base/default.exp (tty): Remove.
4887
4888 2016-08-24 Kevin Buettner <kevinb@redhat.com>
4889
4890 * gdb.python/py-recurse-unwind.c: New file.
4891 * gdb.python/py-recurse-unwind.py: New file.
4892 * gdb.python/py-recurse-unwind.exp: New file.
4893
4894 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
4895
4896 * gdb.base/set-inferior-tty.exp: New file.
4897 * gdb.base/set-inferior-tty.c: New file.
4898
4899 2016-08-23 Pedro Alves <palves@redhat.com>
4900
4901 PR gdb/20494
4902 * gdb.base/new-ui-echo.c: New file.
4903 * gdb.base/new-ui-echo.exp: New file.
4904
4905 2016-08-23 Yao Qi <yao.qi@linaro.org>
4906
4907 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
4908 gdbserver_spawn.
4909 * gdb.server/connect-without-multi-process.exp (do_test):
4910 Likewise.
4911
4912 2016-08-23 Yao Qi <yao.qi@linaro.org>
4913
4914 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
4915 standalone_txt. Delete gdb_txt and standalone_txt on host
4916 and target. Spawn the binary on target. Copy files from
4917 target to host.
4918
4919 2016-08-22 Pedro Alves <palves@redhat.com>
4920
4921 PR gdb/20505
4922 * gdb.base/vdso-warning.exp: Test core dumps too. Use
4923 with_test_prefix. Factor out bits to ...
4924 (test_no_vdso): ... this new procedure.
4925
4926 2016-08-19 Carl Love <cel@us.ibm.com>
4927
4928 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
4929 maintaining separate logic for constructing the output path.
4930 * gdb.arch/powerpc-d128-regs.exp: Likewise.
4931 * gdb.arch/ppc-dfp.exp: Likewise.
4932 * gdb.arch/ppc-fp.exp: Likewise.
4933 * gdb.arch/vsx-regs.exp: Likewise.
4934 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
4935 binprefix for generating the additional binary files.
4936
4937 2016-08-19 Pedro Alves <palves@redhat.com>
4938
4939 * gdb.trace/mi-trace-frame-collected.exp
4940 (test_trace_frame_collected): On x32, expect two registers.
4941
4942 2016-08-18 Carl Love <cel@us.ibm.com>
4943
4944 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
4945 and sync up the test with tests in gas/testsuite/gas/ppc.
4946 * gdb.arch/powerpc-power.exp: Likewise.
4947
4948 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4949
4950 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
4951 expected error message.
4952
4953 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
4954
4955 * gdb.multi/remove-inferiors.exp: New file.
4956 * gdb.multi/remove-inferiors.c: New file.
4957
4958 2016-08-12 Yao Qi <yao.qi@linaro.org>
4959
4960 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
4961 argument list.
4962
4963 2016-08-10 Pedro Alves <palves@redhat.com>
4964
4965 PR gdb/19187
4966 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
4967 setup_kfails.
4968
4969 2016-08-09 Pedro Alves <palves@redhat.com>
4970 Simon Marchi <simon.marchi@ericsson.com>
4971
4972 PR gdb/20418
4973 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
4974 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
4975
4976 2016-08-09 Pedro Alves <palves@redhat.com>
4977
4978 PR mi/20431
4979 * gdb.mi/mi-cmd-error.exp: New file.
4980
4981 2016-08-09 Pedro Alves <palves@redhat.com>
4982
4983 PR gdb/18653
4984 * gdb.base/signals-state-child.c: New file.
4985 * gdb.base/signals-state-child.exp: New file.
4986 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
4987
4988 2016-08-09 Pedro Alves <palves@redhat.com>
4989
4990 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
4991
4992 2016-08-03 Tom Tromey <tom@tromey.com>
4993
4994 PR python/18565:
4995 * gdb.python/py-frame-inline.exp: Add Frame.function test.
4996
4997 2016-08-01 Yao Qi <yao.qi@linaro.org>
4998
4999 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5000 variable mode to "multi-process" if $multi_process is 1, otherwise
5001 set it to "single-process".
5002
5003 2016-08-01 Yao Qi <yao.qi@linaro.org>
5004
5005 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5006 * gdb.cp/cpexprs.exp: Likewise.
5007 * gdb.cp/m-static.exp: Likewise.
5008
5009 2016-07-26 Tom Tromey <tom@tromey.com>
5010
5011 PR python/20190:
5012 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5013 test.
5014
5015 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5016
5017 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5018 selecting assembly source files.
5019 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5020 assembly source files.
5021 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5022 assembly source files.
5023 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5024 selecting assembly source files.
5025
5026 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5027
5028 * gdb.base/new-ui.exp (do_test_invalid_args): New
5029 procedure.
5030
5031 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5032
5033 * gdb.btrace/reconnect.c: New file.
5034 * gdb.btrace/reconnect.exp: New file.
5035
5036 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5037
5038 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5039 to test_catch_syscall_group.
5040 (test_catch_syscall_group): New.
5041
5042 2016-07-21 Tom Tromey <tom@tromey.com>
5043
5044 * gdb.rust/simple.rs (main): Use empty struct expression.
5045 * gdb.rust/simple.exp: Add tests for empty struct expression.
5046
5047 2016-07-21 Yao Qi <yao.qi@linaro.org>
5048
5049 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5050 if gdb_skip_xml_test is true on some targets.
5051
5052 2016-07-21 Yao Qi <yao.qi@linaro.org>
5053
5054 * gdb.server/solib-list.exp: Unset last_loaded_file.
5055
5056 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5057
5058 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5059 "step into captured_main (args)".
5060
5061 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5062
5063 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5064
5065 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5066
5067 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5068
5069 2016-07-19 Pedro Alves <palves@redhat.com>
5070
5071 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5072 * gdb.opt/inline-bt.exp: Likewise.
5073 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5074 additional_flags=-Winline.
5075 * gdb.opt/inline-locals.exp: Likewise.
5076 * gdb.opt/inline-markers.c (ATTR): Define.
5077 (inlined_fn): Use it.
5078
5079 2016-07-19 Yao Qi <yao.qi@linaro.org>
5080
5081 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5082 (test_with_self): Remove some code. Remove argument executable.
5083 (top-level): Use do_self_tests.
5084
5085 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5086 Don Breazeal <donb@codesourcery.com>
5087
5088 * gdb.base/maint.exp: Escape paths used in regular expressions.
5089 * gdb.stabs/weird.exp: Likewise.
5090
5091 2016-07-13 Tom Tromey <tom@tromey.com>
5092
5093 PR python/15620, PR python/18620:
5094 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5095 (test_bkpt_events): New procs.
5096
5097 2016-07-13 Tom Tromey <tom@tromey.com>
5098
5099 PR python/17698:
5100 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5101 test.
5102 (test_watchpoints): Likewise.
5103 (test_bkpt_pending): New proc.
5104
5105 2016-07-13 Tom Tromey <tom@tromey.com>
5106
5107 PR cli/18053:
5108 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5109 completion test.
5110
5111 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5112
5113 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5114 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5115 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5116 f_label.
5117 (g): Rename g_end_lbl to g_label.
5118 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5119 low_pc and high_pc.
5120 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5121
5122 2016-07-12 Tom Tromey <tom@tromey.com>
5123
5124 PR python/19293:
5125 * gdb.python/py-unwind-maint.exp: Update tests.
5126
5127 2016-07-12 Yao Qi <yao.qi@linaro.org>
5128
5129 * lib/selftest-support.exp (selftest_setup): Match the output
5130 when captured_main is inlined.
5131
5132 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5133
5134 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5135 New variables.
5136 (print this%a, print this%b, print this): New tests.
5137 * gdb.fortran/derived-types.f90 (this): New object and
5138 initialization.
5139
5140 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5141
5142 * gdb.ada/arraydim.exp: Remove extra directory level in build
5143 directory.
5144
5145 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5146
5147 * lib/ada.exp: Remove extra directory level in build directory.
5148 * gdb.ada/cond_lang.exp: Likewise.
5149 * gdb.ada/exec_changed.exp: Likewise.
5150 * gdb.ada/lang_switch.exp: Likewise.
5151
5152 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5153
5154 * simple.rs: Add test for raw pointer subscripting.
5155 * simple.exp: Add test expectations.
5156
5157 2016-07-05 Yao Qi <yao.qi@linaro.org>
5158
5159 * gdb.mi/mi-reverse.exp: Match =record-started output.
5160
5161 2016-07-01 Pedro Alves <palves@redhat.com>
5162
5163 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5164 procedure.
5165 (jit_reader_test): Test the jit reader's unwinder.
5166 * gdb.base/jithost.c (jit_function_00_code): New global.
5167 (main): Use memcpy to fill in the mmapped code, instead of poking
5168 bytes manually here.
5169 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5170 value.
5171 (read_debug_info): Save the function's range.
5172 (read_sp): New function.
5173 (unwind_frame): Use it. Also unwind RBP.
5174 (get_frame_id): Use read_sp.
5175 (gdb_init_reader): Use calloc instead of malloc.
5176 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5177 parameter. Use gdb_test_multiple.
5178
5179 2016-07-01 Pedro Alves <palves@redhat.com>
5180 Antoine Tremblay <antoine.tremblay@ericsson.com>
5181
5182 * gdb.threads/process-dies-while-detaching.c: New file.
5183 * gdb.threads/process-dies-while-detaching.exp: New file.
5184
5185 2016-07-01 Pedro Alves <palves@redhat.com>
5186
5187 * gdb.multi/watchpoint-multi-exit.c: New file.
5188 * gdb.multi/watchpoint-multi-exit.exp: New file.
5189
5190 2016-06-30 Pedro Alves <palves@redhat.com>
5191
5192 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5193 unset inferior_spawn_id.
5194
5195 2016-06-30 Pedro Alves <palves@redhat.com>
5196
5197 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5198 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5199
5200 2016-06-29 Yao Qi <yao.qi@linaro.org>
5201
5202 * gdb.base/return.c: Add copyright header.
5203
5204 2016-06-29 Tom Tromey <tom@tromey.com>
5205
5206 PR python/20129:
5207 * gdb.python/py-framefilter.exp: Add tests for setting priority
5208 and disabling of non-existent frame filter.
5209
5210 2016-06-29 Yao Qi <yao.qi@linaro.org>
5211
5212 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5213 0x0f07ff.
5214
5215 2016-06-28 Yao Qi <yao.qi@linaro.org>
5216
5217 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5218 triplets. Start gdb, execute catch syscall, and continue. Check
5219 gdb's output to determine catch syscall is supported.
5220
5221 2016-06-27 Manish Goregaokar <manish@mozilla.com>
5222
5223 * gdb.rust/simple.rs: Add test for returning unit in a function.
5224 * gdb.rust/simple.exp: Add expectation for functions returning
5225 unit.
5226
5227 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5228
5229 * gdb.python/py-breakpoint-create-fail.c,
5230 gdb.python/py-breakpoint-create-fail.exp,
5231 gdb.python/py-breakpoint-create-fail.py: New testcase.
5232
5233 2016-06-25 Manish Goregaokar <manish@mozilla.com>
5234
5235 PR gdb/20239
5236 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
5237 * gdb.rust/simple.exp: Add test expectations for new NonZero
5238 tests.
5239
5240 2016-06-24 David Taylor <dtaylor@emc.com>
5241
5242 * gdb.base/offsets.exp: New file.
5243 * gdb.base/offsets.c: New file.
5244
5245 2016-06-23 Tom Tromey <tom@tromey.com>
5246
5247 PR gdb/16483:
5248 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5249 before any filters are loaded.
5250
5251 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5252
5253 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5254 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5255 structs.
5256 * gdb.fortran/derived-type-function.exp: New file.
5257 * gdb.fortran/derived-type-function.f90: New file.
5258
5259
5260 2016-06-21 Pedro Alves <palves@redhat.com>
5261
5262 * gdb.base/new-ui.exp: New file.
5263 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5264 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5265 (with_spawn_id): New procedure.
5266
5267 2016-06-21 Pedro Alves <palves@redhat.com>
5268
5269 * gdb.mi/mi-exec-run.exp: New file.
5270
5271 2016-06-21 Pedro Alves <palves@redhat.com>
5272
5273 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5274 breakpoint command's output on the main UI.
5275 (test_break): New procedure, factored out from calls in the top
5276 level.
5277 (top level): Use foreach_with_prefix to test MI as main UI and as
5278 separate UI.
5279
5280 2016-06-21 Pedro Alves <palves@redhat.com>
5281
5282 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5283 (test_awatch_creation_and_listing)
5284 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5285 Remove 'type' parameter.
5286 (test_watchpoint_all): New parameter mi_mode. Remove
5287 with_test_prefix.
5288 (top level): Use foreach_with_prefix, and add main/separate UI MI
5289 testing axis.
5290
5291 2016-06-21 Pedro Alves <palves@redhat.com>
5292
5293 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5294 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5295 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5296 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5297 (gdb_main_spawn_id, mi_spawn_id): Declare and
5298 comment.
5299 (mi_create_inferior_pty): New procedure,
5300 factored out from default_mi_gdb_start.
5301 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5302 procedures.
5303 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5304 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5305 Use mi_create_inferior_pty.
5306 (mi_gdb_start): Use eval to pass down args list.
5307
5308 2016-06-21 Pedro Alves <palves@redhat.com>
5309
5310 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5311 * gdb.opt/inline-cmds.exp: Add MI tests.
5312
5313 2016-06-21 Pedro Alves <palves@redhat.com>
5314
5315 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5316
5317 2016-06-21 Pedro Alves <palves@redhat.com>
5318
5319 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5320 (top level): Use it instead of mi_execute_to.
5321
5322 2016-06-21 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5325 (cont_handler_str): New.
5326 (signal_stop_handler): Set stop_handler_str instead of printing to
5327 stdout.
5328 (continue_handler): Set cont_handler_str instead of printing to
5329 stdout.
5330 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5331 mi_send_resuming_command. Print stop_handler_str and
5332 cont_handler_str instead of expecting the python events print
5333 directly.
5334
5335 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5336
5337 * gdb.base/jit-reader.exp: New file.
5338 * gdb.base/jithost.c: New file.
5339 * gdb.base/jithost.h: New file.
5340 * gdb.base/jitreader.c : New file.
5341 * gdb.base/jit-protocol.h: New file.
5342
5343 2016-06-17 Yao Qi <yao.qi@linaro.org>
5344
5345 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5346 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5347 and detach-on-fork. Adjust tests.
5348 (top level): Invoke break_cond_on_syscall with combinations of
5349 syscall, follow-fork-mode and detach-on-fork.
5350
5351 2016-06-17 Yao Qi <yao.qi@linaro.org>
5352
5353 * gdb.base/step-over-exit.c: New.
5354 * gdb.base/step-over-exit.exp: New.
5355
5356 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5357
5358 * gdb.base/float.exp: Add target check for nds32*-*-*.
5359 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5360
5361 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5362
5363 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5364 for unsupported target features.
5365 * gdb.base/call-rt-st.exp: Likewise.
5366 * gdb.base/call-sc.exp: Likewise.
5367 * gdb.base/call-signal-resume.exp: Likewise.
5368 * gdb.base/call-strs.exp: Likewise.
5369 * gdb.base/callexit.exp: Likewise.
5370 * gdb.base/callfuncs.exp: Likewise.
5371 * gdb.base/nodebug.exp: Likewise.
5372 * gdb.base/printcmds.exp: Likewise.
5373 * gdb.base/ptype.exp: Likewise.
5374 * gdb.base/structs.exp: Likewise.
5375 * gdb.base/unwindonsignal.exp: Likewise.
5376 * gdb.cp/gdb2495.exp: Likewise.
5377 * gdb.cp/templates.exp: Likewise.
5378 * gdb.cp/virtfunc.exp: Likewise.
5379 * gdb.threads/hand-call-in-threads.exp: Likewise.
5380 * gdb.threads/interrupted-hand-call.exp: Likewise.
5381 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5382
5383 2016-06-10 Tom Tromey <tom@tromey.com>
5384
5385 PR rust/20110:
5386 * gdb.rust/expr.exp: Add test for integer constant larger than
5387 i32.
5388
5389 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5390
5391 * gdb.fortran/nested-funcs.exp: New.
5392 * gdb.fortran/nested-funcs.f90: New.
5393
5394 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5395
5396 * gdb.base/examine-backward.c: New file.
5397 * gdb.base/examine-backward.exp: New file.
5398
5399 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5400
5401 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5402 matching.
5403
5404 2016-06-02 Tom Tromey <tom@tromey.com>
5405
5406 PR python/18984:
5407 * gdb.python/py-shared.exp: Add solib_name test.
5408
5409 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5410
5411 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5412
5413 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5414
5415 PR c++/19893
5416 * gdb.dwarf2/implref.exp: Rename to...
5417 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5418 * gdb.dwarf2/implref-array.c: New file.
5419 * gdb.dwarf2/implref-array.exp: Likewise.
5420 * gdb.dwarf2/implref-global.c: Likewise.
5421 * gdb.dwarf2/implref-global.exp: Likewise.
5422 * gdb.dwarf2/implref-struct.c: Likewise.
5423 * gdb.dwarf2/implref-struct.exp: Likewise.
5424
5425 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5426
5427 * gdb.trace/trace-condition.exp: Add 64bit tests.
5428
5429 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5430
5431 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5432 bits types.
5433 (main): Adapt to 8 to 64 bits types.
5434 * gdb.trace/trace-condition.exp: Add new tests.
5435
5436 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5437
5438 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5439
5440 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5441
5442 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5443 Move condition tests...
5444 * gdb.trace/trace-condition.exp: Here.
5445
5446 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5447
5448 * gdb.trace/trace-condition.exp: Add counter-case tests.
5449
5450 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5451
5452 PR c++/15231
5453 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5454 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5455
5456 2016-05-27 Pedro Alves <palves@redhat.com>
5457
5458 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5459 New procedure.
5460 (top level): Call it, and bail out of DejaGnu is known to be bad.
5461
5462 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5463
5464 * gdb.base/whatis.c: Extend the test case.
5465 * gdb.base/whatis.exp: Add additional tests.
5466
5467 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5468
5469 * gdb.fortran/type.f90: Add pointer variable.
5470 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5471
5472 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5473
5474 * gdb.fortran/vla-type.exp: Fix testcase name.
5475
5476 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5477
5478 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5479
5480 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5481
5482 * gdb.fortran/type.f90: Add nested structures.
5483 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5484 * gdb.fortran/derived-type.exp: Adapt expected output.
5485 * gdb.fortran/vla-type.exp: Adapt expected output.
5486
5487 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5488
5489 * gdb.fortran/whatis_type.exp: Adapt expected output.
5490
5491 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5492
5493 * gdb.fortran/print_type.exp: Fix expected output.
5494 * gdb.fortran/whatis_type.exp: Fix expected output.
5495
5496 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5497
5498 * gdb.fortran/whatis_type.exp: Use multi_line.
5499
5500 2016-05-24 Tom Tromey <tom@tromey.com>
5501
5502 PR python/17386:
5503 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5504 use value as an index.
5505
5506 2016-05-23 Tom Tromey <tom@tromey.com>
5507
5508 PR python/17981:
5509 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5510 no-breakpoint case.
5511
5512 2016-05-24 Pedro Alves <palves@redhat.com>
5513
5514 PR gdb/19828
5515 * gdb.threads/clone-attach-detach.c: New file.
5516 * gdb.threads/clone-attach-detach.exp: New file.
5517
5518 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5519
5520 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5521
5522 2016-05-23 Tom Tromey <tom@tromey.com>
5523
5524 PR python/19438, PR python/18393:
5525 * gdb.python/py-progspace.exp: Add "dir" test.
5526 * gdb.python/py-objfile.exp: Add "dir" test.
5527
5528 2016-05-23 Yao Qi <yao.qi@linaro.org>
5529
5530 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5531 * gdb.arch/thumb2-it.exp: Likewise.
5532
5533 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5534
5535 * gdb.mi/mi-threads-interrupt.c: New file.
5536 * gdb.mi/mi-threads-interrupt.exp: New file.
5537
5538 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5539
5540 PR gdb/18077
5541 * gdb.mi/mi-async-run.exp: New file.
5542 * gdb.mi/mi-async-run.c: New file.
5543
5544 2016-05-17 Tom Tromey <tom@tromey.com>
5545 Manish Goregaokar <manishsmail@gmail.com>
5546
5547 * lib/rust-support.exp: New file.
5548 * lib/gdb.exp (skip_rust_tests): New proc.
5549 (build_executable_from_specs): Handle rust.
5550 * lib/future.exp (gdb_find_rustc): New proc.
5551 (gdb_default_target_compile): Handle rust.
5552 * gdb.rust/expr.exp: New file.
5553 * gdb.rust/generics.exp: New file.
5554 * gdb.rust/generics.rs: New file.
5555 * gdb.rust/methods.exp: New file.
5556 * gdb.rust/methods.rs: New file.
5557 * gdb.rust/modules.exp: New file.
5558 * gdb.rust/modules.rs: New file.
5559 * gdb.rust/simple.exp: New file.
5560 * gdb.rust/simple.rs: New file.
5561
5562 2016-05-17 Tom Tromey <tom@tromey.com>
5563
5564 * gdb.base/default.exp (set language): Add rust.
5565
5566 2016-05-17 Tom Tromey <tom@tromey.com>
5567
5568 * gdb.gdb/unittest.exp: New file.
5569
5570 2016-05-16 Yao Qi <yao.qi@linaro.org>
5571
5572 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5573 shell_prompt. Update shell_prompt_re.
5574
5575 2016-05-12 Doug Evans <dje@google.com>
5576
5577 PR symtab/19999
5578 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5579 $options when building executable.
5580 * gdb.dwarf2/fission-loclists-pie.S: New file.
5581 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5582
5583 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5584
5585 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
5586 of [is_remote target],
5587
5588 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5589
5590 * lib/gdb.exp (use_gdb_stub): New procedure.
5591
5592 2016-05-03 Yunlian Jiang <yunlian@google.com>
5593 Doug Evans <dje@google.com>
5594
5595 PR symtab/19914
5596 * gdb.dwarf2/dwp-sepdebug.c: New file.
5597 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5598
5599 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5600
5601 * gdb.base/detach.exp: Remove is_remote check.
5602
5603 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5604
5605 * gdb.base/annota-input-while-running.exp: Don't check for
5606 [is_remote target]. Enable annotations after running to main.
5607 Remove unused "set test..." line.
5608
5609 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5610
5611 * gdb.trace/trace-enable-disable.exp: New file.
5612 * gdb.trace/trace-enable-disable.c: New file.
5613
5614 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5615
5616 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5617 use it in info sharedlibrary test.
5618 * gdb.trace/ftrace-lock.exp: Likewise.
5619 * gdb.trace/ftrace.exp: Likewise.
5620 * gdb.trace/range-stepping.exp: Likewise.
5621 * gdb.trace/trace-break.exp: Likewise.
5622 * gdb.trace/trace-condition.exp: Likewise.
5623 * gdb.trace/trace-mt.exp: Likewise.
5624
5625 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5626
5627 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5628 (gdb_load_shlib): ... this.
5629 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5630 gdb_load_shlib.
5631 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5632 * gdb.base/ctxobj.exp: Likewise.
5633 * gdb.base/dprintf-pending.exp: Likewise.
5634 * gdb.base/dso2dso.exp: Likewise.
5635 * gdb.base/fixsection.exp: Likewise.
5636 * gdb.base/gcore-relro.exp: Likewise.
5637 * gdb.base/gdb1555.exp: Likewise.
5638 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5639 * gdb.base/gnu-ifunc.exp: Likewise.
5640 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5641 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5642 * gdb.base/pending.exp: Likewise.
5643 * gdb.base/print-file-var.exp: Likewise.
5644 * gdb.base/print-symbol-loading.exp: Likewise.
5645 * gdb.base/shlib-call.exp: Likewise.
5646 * gdb.base/shreloc.exp: Likewise.
5647 * gdb.base/so-impl-ld.exp: Likewise.
5648 * gdb.base/solib-disc.exp: Likewise.
5649 * gdb.base/solib-nodir.exp: Likewise.
5650 * gdb.base/solib-overlap.exp: Likewise.
5651 * gdb.base/solib-symbol.exp: Likewise.
5652 * gdb.base/solib-weak.exp (do_test): Likewise.
5653 * gdb.base/sym-file.exp: Likewise.
5654 * gdb.base/symtab-search-order.exp: Likewise.
5655 * gdb.base/type-opaque.exp: Likewise.
5656 * gdb.base/unload.exp: Likewise.
5657 * gdb.base/watchpoint-solib.exp: Likewise.
5658 * gdb.compile/compile.exp: Likewise.
5659 * gdb.cp/gdb2384.exp: Likewise.
5660 * gdb.cp/infcall-dlopen.exp: Likewise.
5661 * gdb.cp/re-set-overloaded.exp: Likewise.
5662 * gdb.fortran/library-module.exp: Likewise.
5663 * gdb.opt/solib-intra-step.exp: Likewise.
5664 * gdb.python/py-finish-breakpoint.exp: Likewise.
5665 * gdb.python/py-shared.exp: Likewise.
5666 * gdb.reverse/solib-precsave.exp: Likewise.
5667 * gdb.reverse/solib-reverse.exp: Likewise.
5668 * gdb.server/solib-list.exp: Likewise.
5669 * gdb.threads/dlopen-libpthread.exp: Likewise.
5670 * gdb.threads/tls-shared.exp: Likewise.
5671 * gdb.threads/tls-so_extern.exp: Likewise.
5672 * gdb.trace/change-loc.exp: Likewise.
5673 * gdb.trace/ftrace-lock.exp: Likewise.
5674 * gdb.trace/ftrace.exp: Likewise.
5675 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5676 * gdb.trace/pending.exp: Likewise.
5677 * gdb.trace/range-stepping.exp: Likewise.
5678 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5679 (strace_info_marker): Likewise.
5680 (strace_probe_marker): Likewise.
5681 (strace_trace_on_same_addr): Likewise.
5682 (strace_trace_on_diff_addr): Likewise.
5683 * gdb.trace/trace-break.exp: Likewise.
5684 * gdb.trace/trace-condition.exp: Likewise.
5685 * gdb.trace/trace-mt.exp: Likewise.
5686
5687 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5688
5689 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5690 result of gdb_remote_download.
5691 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5692 * gdb.base/dso2dso.exp: Likewise.
5693 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5694 * gdb.base/print-file-var.exp: Likewise.
5695 * gdb.base/shlib-call.exp: Likewise.
5696 * gdb.base/shreloc.exp: Likewise.
5697 * gdb.base/solib-overlap.exp: Likewise.
5698 * gdb.base/solib-weak.exp (do_test): Likewise.
5699 * gdb.base/unload.exp: Likewise.
5700
5701 2016-04-27 Yao Qi <yao.qi@linaro.org>
5702
5703 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5704 exists.
5705
5706 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5707
5708 * vla-type.exp: Print structure from toplevel.
5709
5710 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5711
5712 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5713 of dynamic types.
5714 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5715 of dynamic types.
5716
5717 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5718
5719 * gdb.fortran/vla-type.f90: New file.
5720 * gdb.fortran/vla-type.exp: New file.
5721
5722 2016-04-25 Yao Qi <yao.qi@linaro.org>
5723
5724 * gdb.base/branch-to-self.c: New file.
5725 * gdb.base/branch-to-self.exp: New file.
5726
5727 2016-04-22 Yao Qi <yao.qi@linaro.org>
5728
5729 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5730 more after $hex.
5731
5732 2016-04-22 Yao Qi <yao.qi@linaro.org>
5733
5734 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5735 * gdb.base/annota3.exp: Likewise.
5736
5737 2016-04-22 Yao Qi <yao.qi@linaro.org>
5738
5739 * gdb.reverse/step-precsave.exp: Do one step and test program
5740 stops in "callee" and do multiple steps until program goes out
5741 of "callee".
5742 * gdb.reverse/step-reverse.exp: Likewise.
5743
5744 2016-04-22 Yao Qi <yao.qi@linaro.org>
5745
5746 * gdb.trace/signal.exp: Also pass if
5747 $tracepoint_hits($i) > $iterations.
5748
5749 2016-04-22 Yao Qi <yao.qi@linaro.org>
5750
5751 * gdb.trace/signal.c: New file.
5752 * gdb.trace/signal.exp: New file.
5753
5754 2016-04-19 Doug Evans <xdje42@gmail.com>
5755
5756 * gdb.base/bad-file.exp: New file.
5757
5758 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5759
5760 * gdb.dwarf2/implref.exp: New file.
5761
5762 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5763
5764 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5765 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5766 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5767 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5768 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5769 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5770 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5771 * lib/fortran.exp (fortran_int4): New procedure.
5772 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5773 (fortran_logical4): Likewise.
5774
5775 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5776
5777 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5778
5779 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5780
5781 * lib/compiler.c: Add Intel specific preprocessor macros.
5782 * lib/compiler.cc: Likewise.
5783
5784 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5785
5786 * gdb.server/connect-with-no-symbol-file.c: New file.
5787 * gdb.server/connect-with-no-symbol-file.exp: New file.
5788
5789 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5790
5791 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5792
5793 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5794
5795 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5796 standard output directory.
5797
5798 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5799
5800 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5801
5802 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5803
5804 * gdb.btrace/instruction_history.c (loop): Add declaration.
5805
5806 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5807
5808 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5809
5810 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5811
5812 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5813 parentheses to print.
5814 (continue_handler): Likewise.
5815
5816 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5817
5818 * gdb.server/solib-list.exp: Remove is_remote check.
5819 Pass shlib= to gdb_compile. Don't link shared library with
5820 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5821 Run binary filename through "readlink -f" on the target.
5822
5823 2016-04-08 Pedro Alves <palves@redhat.com>
5824
5825 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5826 interpreter filename as argument to gdbserver_spawn.
5827 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5828 Return empty if $last_loaded_file does not exist.
5829
5830 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5831
5832 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5833 * gdb.base/jit-main.c: Use exit after usage.
5834
5835 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5836
5837 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5838 GDBHISTSIZE prior to the tests.
5839 * gdb.base/gdbinit-history.exp: Likewise.
5840
5841 2016-04-07 Pedro Alves <palves@redhat.com>
5842
5843 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5844 instead of build_executable. Use gdb_load_shlibs.
5845
5846 2016-04-07 Yao Qi <yao.qi@linaro.org>
5847
5848 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5849 Execute "si" command.
5850
5851 2016-04-07 Yao Qi <yao.qi@linaro.org>
5852
5853 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5854 number instead of the comments on some line.
5855
5856 2016-04-06 Don Breazeal <donb@codesourcery.com>
5857
5858 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5859 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5860
5861 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5862
5863 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
5864 standard_output_file. Remove unused binfile variable.
5865
5866 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
5867
5868 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
5869 * gdb.python/py-mi-objfile.exp: Match "list main" output
5870 in console format.
5871
5872 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
5873
5874 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
5875 absolute.
5876
5877 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5878
5879 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
5880 absolute.
5881 * gdb.trace/ftrace.exp: Likewise.
5882 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
5883 targets as well.
5884 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
5885 (gdb_load_shlibs): Copy libraries to test directory when testing
5886 natively. Only set solib-search-path if testing remotely.
5887 * lib/mi-support.exp (mi_load_shlibs): Likewise.
5888
5889 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
5890
5891 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
5892 gdb_download. Use it even if the target is not remote.
5893 * gdb.base/jit.exp (compile_jit_test): Likewise.
5894 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
5895 output directory if the destination board is local, otherwise use
5896 the standard remote_download from DejaGnu.
5897 (gdb_download): Remove.
5898 (gdb_load_shlibs): Use gdb_remote_download instead of
5899 gdb_download.
5900 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5901 Use gdb_remote_download instead of gdb_download. Use it even if
5902 the target is not remote.
5903 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
5904 instead of gdb_download.
5905
5906 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
5907
5908 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
5909 (test_insert_delete_modify): Call mi_load_shlibs before trying to
5910 run.
5911
5912 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
5913
5914 PR gdb/19820
5915 * gdb.base/printcmds.exp: Add artificial arrays tests.
5916
5917 2016-03-31 Pedro Alves <palves@redhat.com>
5918
5919 PR gdb/19858
5920 * gdb.base/jit-main.c: Include unistd.h.
5921 (ATTACH): Define to 0 if not already defined.
5922 (wait_for_gdb, mypid): New globals.
5923 (WAIT_FOR_GDB): New macro.
5924 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
5925 some breakpoint locations.
5926 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
5927 New procedures.
5928 (one_jit_test): Add REATTACH parameter, and handle it. Use
5929 continue_to_test_location.
5930 (top level): Test attach, and adjusts calls to one_jit_test.
5931
5932 2016-03-31 Pedro Alves <palves@redhat.com>
5933
5934 PR gdb/19858
5935 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
5936 BINSUFFIX parameter, and handle it.
5937 (top level): Adjust calls compile_jit_test.
5938
5939 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
5940
5941 PR python/19743
5942 * gdb.python/py-mi-events-gdb.py: New file.
5943 * gdb.python/py-mi-events.c: New file.
5944 * gdb.python/py-mi-events.exp: New file.
5945
5946 2016-03-30 Yao Qi <yao.qi@linaro.org>
5947
5948 * gdb.reverse/until-precsave.exp: Match function name only.
5949 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
5950 Move malloc to a condition block.
5951 * gdb.reverse/until-reverse.exp: Match function name only.
5952
5953 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
5954
5955 * gdb.trace/ftrace.exp: Set arg0exp for s390.
5956 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
5957 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
5958 variable for GPR 0 instead of assuming it is register 0.
5959 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
5960 * lib/trace-support.exp: Add s390 registers.
5961
5962 2016-03-29 Yao Qi <yao.qi@linaro.org>
5963
5964 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
5965
5966 2016-03-24 Yao Qi <yao.qi@linaro.org>
5967
5968 * gdb.reverse/break-reverse.exp: Add quotation mark in the
5969 test message.
5970
5971 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5972
5973 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
5974 maintaining separate logic for constructing the output path.
5975
5976 2016-03-16 Don Breazeal <donb@codesourcery.com>
5977
5978 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
5979 Retry fork and waitpid on interrupted system call errors.
5980 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
5981 Use with_timeout_factor to increase timeout by factor of 10.
5982
5983 2016-03-15 Don Breazeal <donb@codesourcery.com>
5984
5985 * gdb.cp/scope-err.cc: New test program.
5986 * gdb.cp/scope-err.exp: New test script.
5987 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
5988 lines and "set breakpoint here" comment.
5989 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
5990 Fixed some whitespace and format issues.
5991 * gdb.mi/mi-linespec-err-cp.cc: New test program.
5992 * gdb.mi/mi-linespec-err-cp.exp: New test script.
5993
5994 2016-03-15 Doug Evans <dje@google.com>
5995
5996 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
5997 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
5998 All callers updated. Add tests for enums, mixed flags register.
5999
6000 2016-03-15 Doug Evans <dje@google.com>
6001
6002 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6003 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6004
6005 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6006
6007 * gdb.base/default.exp: Add $_as_string to the list of expected
6008 convenience functions.
6009
6010 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6011
6012 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6013
6014 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6015
6016 * gdb.python/py-as-string.exp: New file.
6017 * gdb.python/py-as-string.c: New file.
6018
6019 2016-03-09 Pedro Alves <palves@redhat.com>
6020
6021 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6022 signal" -> "Thread NN received signal" output change.
6023 * gdb.threads/ia64-sigill.exp: Likewise.
6024 * gdb.threads/linux-dp.exp: Likewise.
6025 * gdb.threads/manythreads.exp: Likewise.
6026 * gdb.threads/pending-step.exp: Likewise.
6027 * gdb.threads/print-threads.exp: Likewise.
6028 * gdb.threads/sigstep-threads.exp: Likewise.
6029 * gdb.threads/staticthreads.exp: Likewise.
6030 * gdb.threads/tls.exp: Likewise.
6031
6032 2016-03-09 Pedro Alves <palves@redhat.com>
6033
6034 * gdb.base/command-line-input.exp: New file.
6035
6036 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6037
6038 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6039 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6040 * gdb.trace/pending.exp: Accept leading dot before function name.
6041 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6042 * lib/trace-support.exp: Set registers for ppc.
6043
6044 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6045
6046 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6047 use it for disassembly; accept .main in addition to main in backtrace.
6048
6049 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6050 Marcin Kościelnicki <koriakin@0x04.net>
6051
6052 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6053 (gdb_recursion_test_ptr): New global variable.
6054 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6055 gdb_recursion_test.
6056 (gdb_c_test): Ditto.
6057
6058 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6059
6060 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6061 ordering.
6062
6063 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6064
6065 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6066 (bar): Add bar_start_lbl label.
6067 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6068 of foo/bar for emitting DWARF and tracing.
6069
6070 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6071
6072 * analyze-racy-logs.py: Set executable bit.
6073
6074 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6075
6076 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6077 (CHECK_TARGET_TMP): Likewise.
6078 (check-single-racy): New rule.
6079 (check-parallel-racy): Likewise.
6080 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6081 (do-check-parallel-racy): New rule.
6082 (check-racy/%.exp): Likewise.
6083 * README (Racy testcases): New section.
6084 * analyze-racy-logs.py: New file.
6085
6086 2016-03-03 Doug Evans <dje@google.com>
6087
6088 * gdb.base/skip.exp: Use with_test_prefix.
6089
6090 2016-03-03 Yao Qi <yao.qi@linaro.org>
6091
6092 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6093 Invoke step_over_syscall "clone" and break_cond_on_syscall
6094 "clone".
6095 * gdb.base/step-over-clone.c: New file.
6096
6097 2016-03-03 Yao Qi <yao.qi@linaro.org>
6098
6099 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6100 code format.
6101
6102 2016-03-03 Yao Qi <yao.qi@linaro.org>
6103
6104 * gdb.base/disp-step-fork.c: Rename to ...
6105 * gdb.base/step-over-fork.c: ... it. New file.
6106 * gdb.base/disp-step-vfork.c: Rename to ...
6107 * gdb.base/step-over-vfork.c: ... it. New file.
6108 * gdb.base/disp-step-syscall.exp: Rename to ...
6109 * gdb.base/step-over-syscall.exp: ... it. New file.
6110 (disp_step_cross_syscall): Rename to ...
6111 (step_over_syscall): ... it.
6112
6113 2016-03-03 Yao Qi <yao.qi@linaro.org>
6114
6115 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6116 If target supports condition evaluation on target, invoke
6117 break_cond_on_syscall for fork and vfork.
6118
6119 2016-03-03 Yao Qi <yao.qi@linaro.org>
6120
6121 * gdb.base/disp-step-syscall.exp: Don't invoke
6122 support_displaced_stepping.
6123 (disp_step_cross_syscall): Test with displaced stepping off and
6124 on if supported.
6125
6126 2016-03-03 Yao Qi <yao.qi@linaro.org>
6127
6128 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6129 proc.
6130 (setup): New proc.
6131 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6132 and setup.
6133
6134 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6135
6136 * gdb.fortran/vla-history.exp: Remove breakpoint.
6137
6138 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6139
6140 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6141 exceeds timeout.
6142
6143 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6144
6145 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6146 breakpoint.
6147
6148 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6149
6150 * gdb.mi/vla.f90: Nullify pointer after declaration.
6151
6152 2016-03-01 Pedro Alves <palves@redhat.com>
6153
6154 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6155
6156 2016-03-01 Pedro Alves <palves@redhat.com>
6157
6158 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6159 before anything else.
6160 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6161 _GNU_SOURCE here.
6162 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6163 before anything else.
6164 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6165
6166 2016-03-01 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6169
6170 2016-03-01 Yao Qi <yao.qi@linaro.org>
6171
6172 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6173 prepare_for_testing.
6174
6175 2016-03-01 Yao Qi <yao.qi@linaro.org>
6176
6177 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6178
6179 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6180
6181 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6182 manually constructing the output path.
6183
6184 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6185
6186 * gdb.arch/s390-stackless.S: New.
6187 * gdb.arch/s390-stackless.exp: New.
6188
6189 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6190
6191 * gdb.dlang/circular.c: New file.
6192 * gdb.dlang/circular.exp: New file.
6193
6194 2016-02-26 Yao Qi <yao.qi@linaro.org>
6195
6196 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6197 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6198 (testcases): Update.
6199
6200 2016-02-26 Yao Qi <yao.qi@linaro.org>
6201
6202 * gdb.reverse/aarch64.c: Rename to ...
6203 * gdb.reverse/insn-reverse.c: ... it.
6204 * gdb.reverse/aarch64.exp: Rename to ...
6205 * gdb.reverse/insn-reverse.exp: ... it.
6206
6207 2016-02-26 Yao Qi <yao.qi@linaro.org>
6208
6209 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6210 (testcase_ftype): New.
6211 (testcases): New array.
6212 (n_testcases): New.
6213 (main): Call each element in testcases.
6214 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6215 (read_testcase): New.
6216 Do the tests in a loop.
6217
6218 2016-02-25 Yao Qi <yao.qi@linaro.org>
6219
6220 * gdb.base/branches.c: Remove.
6221
6222 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6223
6224 PR gdb/13808
6225 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6226
6227 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6228
6229 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6230
6231 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6232
6233 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6234 change x86_64 call_insn to 'callq'.
6235
6236 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6237
6238 * gdb.trace/tfile-avx.c: Move to...
6239 * gdb.trace/tracefile-pseudo-reg.c: Here.
6240 * gdb.trace/tfile-avx.exp: Move to...
6241 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6242
6243 2016-02-24 Gary Benson <gbenson@redhat.com>
6244
6245 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6246 message on attach.
6247
6248 2016-02-23 Doug Evans <dje@google.com>
6249
6250 * gdb.base/skip.c (test_skip): New function.
6251 (end_test_skip_file_and_function): New function.
6252 (test_skip_file_and_function): New function.
6253 * gdb.base/skip1.c (test_skip): New function.
6254 (skip1_test_skip_file_and_function): New function.
6255 * gdb.base/skip.exp: Add tests for new skip options.
6256 * gdb.base/skip-solib.exp: Update expected output.
6257 * gdb.perf/skip-command.cc: New file.
6258 * gdb.perf/skip-command.exp: New file.
6259 * gdb.perf/skip-command.py: New file.
6260
6261 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6262
6263 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6264 info registers pattern.
6265
6266 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6267
6268 * lib/future.exp: Add D support.
6269 (gdb_find_gdc): New proc.
6270 (gdb_default_target_compile): Add D support.
6271
6272 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
6273
6274 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6275 user+system time.
6276 (trace_speed_test): Determine the iteration count for a time
6277 between 15..30 seconds.
6278
6279 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6280
6281 * gdb.arch/i386-mpx-sigsegv.c: New file.
6282 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6283 * gdb.arch/i386-mpx-simple_segv.c: New file.
6284 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6285
6286 2016-02-18 Yao Qi <yao.qi@linaro.org>
6287
6288 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6289 Don't call setup_kfail.
6290
6291 2016-02-18 Yao Qi <yao.qi@linaro.org>
6292
6293 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6294 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6295
6296 2016-02-16 Doug Evans <dje@google.com>
6297
6298 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6299 * gdb.base/skip1.c: Ditto.
6300 * gdb.base/skip.exp: Whitespace cleanup.
6301
6302 2016-02-16 Don Breazeal <donb@codesourcery.com>
6303
6304 PR remote/19496
6305 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6306 Remove kfail for PR remote/19496.
6307
6308 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6309
6310 * lib/gdb.exp (standard_temp_file): Return a path specific to
6311 the runtest invocation.
6312
6313 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6314
6315 * gdb.trace/save-trace.exp: Change relative path to be in the
6316 standard output directory.
6317
6318 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6319
6320 * gdb.arch/i386-prologue.c: Add missing prototypes.
6321
6322 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6323
6324 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6325 * gdb.arch/i386-prologue.exp: Likewise.
6326 * gdb.arch/i386-size.exp: Likewise.
6327
6328 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6329
6330 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6331 define object file path.
6332 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6333 file path.
6334 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6335 standard_output_file to define binfile.
6336
6337 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6338
6339 Fix compatibility with recent gfortran-5.3.1.
6340 * gdb.fortran/vla-history.exp (print vla1 allocated)
6341 (print vla2 allocated, print $2, print $3): Remove
6342 (print $4): Rename to ...
6343 (print $2): ... here.
6344 (print $9): Rename to ...
6345 (print $5): ... here.
6346 (print $10): Rename to ...
6347 (print $6): ... here.
6348 * gdb.fortran/vla.f90: Add pvla initialization.
6349
6350 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6351
6352 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6353 New test.
6354 * gdb.fortran/vla-value-sub.exp: Likewise.
6355
6356 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6357
6358 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6359
6360 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6361
6362 * i386-biarch-core.exp: Define corefile using
6363 standard_output_file.
6364
6365 2016-02-12 Yao Qi <yao.qi@linaro.org>
6366
6367 * gdb.arch/arm-single-step-kernel-helper.c: New.
6368 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6369
6370 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6371
6372 * gdb.btrace/tailcall-only.exp: New.
6373 * gdb.btrace/tailcall-only.c: New.
6374 * gdb.btrace/x86_64-tailcall-only.S: New.
6375 * gdb.btrace/i686-tailcall-only.S: New.
6376
6377 2016-02-11 Pedro Alves <palves@redhat.com>
6378
6379 * README (Parallel testing): Add missing double quotes.
6380
6381 2016-02-11 Pedro Alves <palves@redhat.com>
6382
6383 * README (Parallel testing): New section.
6384 (GDB_PARALLEL): Rewrite.
6385 (FORCE_PARALLEL): Document.
6386
6387 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6388
6389 * gdb.trace/tfile-avx.c: New test.
6390 * gdb.trace/tfile-avx.exp: New test.
6391
6392 2016-02-09 Keith Seitz <keiths@redhat.com>
6393
6394 PR breakpoints/19546
6395 * gdb.base/infcall-exec.c: New file.
6396 * gdb.base/infcall-exec2.c: New file.
6397 * gdb.base/infcall-exec.exp: New file.
6398
6399 2016-02-09 Keith Seitz <keiths@redhat.com>
6400
6401 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6402 (toplevel): Call test_bkpt_address.
6403
6404 2016-02-09 Keith Seitz <keiths@redhat.com>
6405
6406 PR python/19506
6407 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6408 (toplevel): Call test_bkpt_address.
6409
6410 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6411
6412 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6413 to AC_OUTPUT.
6414 * configure: Regenerate.
6415
6416 2016-02-09 Pedro Alves <palves@redhat.com>
6417
6418 PR breakpoints/19548
6419 * gdb.base/execl-update-breakpoints.c (some_function): New
6420 function.
6421 (main): Call it.
6422 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6423 Tighten expected GDB output.
6424
6425 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6426
6427 * Makefile.in (ALL_SUBDIRS): Remove.
6428 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6429 (distclean maintainer-clean realclean): Likewise.
6430 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6431 * configure: Regenerate.
6432 * gdb.ada/Makefile.in: Delete.
6433 * gdb.arch/Makefile.in: Likewise.
6434 * gdb.asm/Makefile.in: Likewise.
6435 * gdb.base/Makefile.in: Likewise.
6436 * gdb.btrace/Makefile.in: Likewise.
6437 * gdb.cell/Makefile.in: Likewise.
6438 * gdb.compile/Makefile.in: Likewise.
6439 * gdb.cp/Makefile.in: Likewise.
6440 * gdb.disasm/Makefile.in: Likewise.
6441 * gdb.dlang/Makefile.in: Likewise.
6442 * gdb.dwarf2/Makefile.in: Likewise.
6443 * gdb.fortran/Makefile.in: Likewise.
6444 * gdb.gdb/Makefile.in: Likewise.
6445 * gdb.go/Makefile.in: Likewise.
6446 * gdb.guile/Makefile.in: Likewise.
6447 * gdb.java/Makefile.in: Likewise.
6448 * gdb.linespec/Makefile.in: Likewise.
6449 * gdb.mi/Makefile.in: Likewise.
6450 * gdb.modula2/Makefile.in: Likewise.
6451 * gdb.multi/Makefile.in: Likewise.
6452 * gdb.objc/Makefile.in: Likewise.
6453 * gdb.opencl/Makefile.in: Likewise.
6454 * gdb.opt/Makefile.in: Likewise.
6455 * gdb.pascal/Makefile.in: Likewise.
6456 * gdb.perf/Makefile.in: Likewise.
6457 * gdb.python/Makefile.in: Likewise.
6458 * gdb.reverse/Makefile.in: Likewise.
6459 * gdb.server/Makefile.in: Likewise.
6460 * gdb.stabs/Makefile.in: Likewise.
6461 * gdb.threads/Makefile.in: Likewise.
6462 * gdb.trace/Makefile.in: Likewise.
6463 * gdb.xml/Makefile.in: Likewise.
6464 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6465 GDB_PARALLEL.
6466 (standard_output_file): Remove check for GDB_PARALLEL, always
6467 return path in outputs/$subdir/$testname.
6468
6469 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6470
6471 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6472 (site.exp): Assign abs_srcdir to tcl's srcdir.
6473
6474 2016-02-04 Yao Qi <yao.qi@linaro.org>
6475
6476 * gdb.base/foll-exec-mode.c: Include limits.h.
6477 (main): Add parameters argc and argv. Get directory from
6478 argv[0].
6479 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6480 compilation.
6481 * gdb.base/foll-exec.c: Include limits.h.
6482 (main): Add parameters argc and argv.
6483 Get directory from argv[0].
6484 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6485 Adjust tests on the number of lines as source code changed.
6486 * gdb.base/foll-vfork-exit.c: Include limits.h.
6487 (main): Add one line of statement before vfork.
6488 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6489 (main): Add parameters argc and argv. Get directory from
6490 argv[0].
6491 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6492 (setup_gdb): Set tbreak to skip some source lines.
6493 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6494 (main): Add parameters argc and argv. Get directory from
6495 argv[0].
6496 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6497 compilation.
6498 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6499 (main): Add parameters argc and argv. Get directory from
6500 argv[0].
6501 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6502 compilation.
6503
6504 2016-02-01 Doug Evans <dje@google.com>
6505
6506 * gdb.base/skip.exp: Clean up multiple references to same test name.
6507
6508 2016-02-01 Pedro Alves <palves@redhat.com>
6509
6510 PR remote/19496
6511 * gdb.threads/forking-threads-plus-breakpoint.exp
6512 (displaced_stepping_supported): New global.
6513 (probe_displaced_stepping_support): New procedure.
6514 (do_test): Add 'displaced' parameter, and use it.
6515 (top level): Check for displaced stepping support. Add displaced
6516 stepping on/off testing axis.
6517
6518 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6519
6520 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6521 pointer. Don't perform further tests on the unassociated pointer
6522 if the first test fails.
6523
6524 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6525
6526 * gdb.base/max-value-size.c: New file.
6527 * gdb.base/max-value-size.exp: New file.
6528 * gdb.base/huge.exp: Disable max-value-size for this test.
6529
6530 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6531
6532 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6533
6534 2016-01-28 Yao Qi <yao.qi@linaro.org>
6535
6536 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6537
6538 2016-01-25 Pedro Alves <palves@redhat.com>
6539
6540 PR threads/19461
6541 * gdb.base/fork-running-state.c: New file.
6542 * gdb.base/fork-running-state.exp: New file.
6543
6544 2016-01-25 Pedro Alves <palves@redhat.com>
6545
6546 PR gdb/19494
6547 * gdb.base/catch-fork-kill.c: New file.
6548 * gdb.base/catch-fork-kill.exp: New file.
6549
6550 2016-01-25 Pedro Alves <palves@redhat.com>
6551
6552 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6553 Delete, moved to lib/gdb.exp.
6554 * gdb.threads/forking-threads-plus-breakpoint.exp
6555 (foreach_with_prefix): Likewise.
6556 * gdb.threads/process-dies-while-handling-bp.exp
6557 (foreach_with_prefix): Likewise.
6558 * lib/gdb.exp (foreach_with_prefix): New procedure.
6559
6560 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6561
6562 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6563 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6564
6565 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6566
6567 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6568 endian targets.
6569
6570 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6571 Pedro Alves <palves@redhat.com>
6572
6573 Fix testsuite compatibility with Guile.
6574 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6575 number.
6576
6577 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6578
6579 Fix testsuite compatibility with Guile.
6580 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6581 (thread 1): New test for backtrace through signal handler.
6582
6583 2016-01-22 Yao Qi <yao.qi@linaro.org>
6584
6585 PR testsuite/19491
6586 * gdb.base/multi-forks.c: Include
6587 ../lib/unbuffer_output.c
6588 (main): Call gdb_unbuffer_output.
6589
6590 2016-01-21 Doug Evans <dje@google.com>
6591
6592 * lib/ada.exp (gdb_compile_ada): Fix typo.
6593
6594 2016-01-21 Joel Brobecker <brobecker@adacore.com>
6595
6596 * gdb.base/break-fun-addr.exp: New file.
6597 * gdb.base/break-fun-addr1.c: New file.
6598 * gdb.base/break-fun-addr2.c: New file.
6599
6600 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6601
6602 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6603 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6604 enum flag values.
6605
6606 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6607
6608 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6609 when GDB can not set the vector return value. Add more comments
6610 for clarification.
6611
6612 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6613
6614 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6615 command.
6616
6617 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6618
6619 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6620
6621 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6622
6623 * Makefile.in (check-single): Pass --status to runtest.
6624 (check/%.exp): Likewise.
6625
6626 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6627
6628 * Makefile.in (check-parallel): Propagate return code from make
6629 do-check-parallel.
6630
6631 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6632
6633 * gdb.trace/ftrace.exp: Fix expected message on continue.
6634 * gdb.trace/pending.exp: Fix expected message on continue.
6635 * gdb.trace/trace-break.exp: Fix expected message on continue.
6636
6637 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6638
6639 * lib/gdb.exp (gdb_test): Remove unused global references.
6640
6641 2016-01-18 Pedro Alves <palves@redhat.com>
6642
6643 * gdb.base/async-shell.exp: Adjust expected output.
6644 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6645 * gdb.base/siginfo-thread.exp: Adjust expected output.
6646 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6647 * gdb.java/jnpe.exp: Adjust expected output.
6648 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6649 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6650 * gdb.threads/leader-exit.exp: Adjust expected output.
6651 * gdb.threads/manythreads.exp: Adjust expected output.
6652 * gdb.threads/pthreads.exp: Adjust expected output.
6653 * gdb.threads/schedlock.exp: Adjust expected output.
6654 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6655 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6656 expected output.
6657 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6658 output.
6659 * gdb.threads/sigthread.exp: Adjust expected output.
6660 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6661
6662 2016-01-18 Yao Qi <yao.qi@linaro.org>
6663
6664 * gdb.guile/scm-section-script.c: Replace @progbits with
6665 %progbits.
6666 * gdb.python/py-section-script.c: Likewise.
6667
6668 2016-01-15 Pedro Alves <palves@redhat.com>
6669
6670 * gdb.multi/tids.exp: Test star wildcard ranges.
6671
6672 2016-01-15 Pedro Alves <palves@redhat.com>
6673
6674 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6675 command from "thread apply" invocation.
6676 (thr_apply_info_thr_invalid): Default the expected output to the
6677 input tid list.
6678 (top level): Add tests that use convenience variables. Add tests
6679 for "thread apply" with a valid TID list, but missing the command.
6680
6681 2016-01-13 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.base/default.exp: Expect $_gthread as well.
6684 * gdb.multi/tids.exp: Test $_gthread.
6685 * gdb.threads/thread-specific.exp: Test $_gthread.
6686
6687 2016-01-13 Pedro Alves <palves@redhat.com>
6688
6689 * gdb.multi/tids.exp: Test "info threads -gid".
6690
6691 2016-01-13 Pedro Alves <palves@redhat.com>
6692
6693 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6694 Breakpoint.thread.
6695 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6696
6697 2016-01-07 Pedro Alves <palves@redhat.com>
6698
6699 * gdb.base/break.exp: Adjust to output changes.
6700 * gdb.base/hbreak2.exp: Likewise.
6701 * gdb.base/sepdebug.exp: Likewise.
6702 * gdb.base/watch_thread_num.exp: Likewise.
6703 * gdb.linespec/keywords.exp: Likewise.
6704 * gdb.multi/info-threads.exp: Likewise.
6705 * gdb.threads/thread-find.exp: Likewise.
6706 * gdb.multi/tids.c: New file.
6707 * gdb.multi/tids.exp: New file.
6708
6709 2016-01-13 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6712
6713 2016-01-13 Pedro Alves <palves@redhat.com>
6714
6715 * gdb.base/default.exp: Expect $_inferior as well.
6716 * gdb.multi/base.exp: Test $_inferior.
6717
6718 2016-01-13 Pedro Alves <palves@redhat.com>
6719
6720 PR breakpoints/19388
6721 * gdb.base/catch-signal-siginfo-cond.c: New file.
6722 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6723
6724 2016-01-12 Josh Stone <jistone@redhat.com>
6725 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6726
6727 * gdb.base/catch-syscall.c (do_execve): New variable.
6728 (main): Conditionally trigger an execve.
6729 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6730 (test_catch_syscall_execve): New, check entry/return across execve.
6731 (do_syscall_tests): Call test_catch_syscall_execve.
6732
6733 2016-01-12 Pedro Alves <palves@redhat.com>
6734
6735 * gdb.base/random-signal.exp (do_test): New procedure, with body
6736 of testcase moved in.
6737
6738 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6739 Pedro Alves <palves@redhat.com>
6740
6741 * gdb.base/funcargs.exp (finish from indirectly called function):
6742 Reintroduce the case for 'First'.
6743
6744 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6745 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6748 (tcatch_vfork_then_child_follow_exec)
6749 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6750 identification.
6751
6752 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6753
6754 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6755 and repeats to unlimited.
6756 * gdb.python/py-value.exp: Likewise.
6757 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6758 and repeats to unlimited.
6759
6760 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6761
6762 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6763 and reordering the functions.
6764 * gdb.multi/hangout.c: Likewise.
6765 * gdb.multi/hello.c: Likewise.
6766
6767 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6768
6769 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6770 absolute.
6771 (SingleStatisticTestResult.report): Use dict.keys instead of
6772 dict.iterkeys.
6773
6774 2016-01-06 Pedro Alves <palves@redhat.com>
6775
6776 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6777
6778 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6779
6780 * gdb.btrace/dlopen.exp: New.
6781 * gdb.btrace/dlopen.c: New.
6782 * gdb.btrace/dlopen-dso.c: New.
6783
6784 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6785
6786 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6787 PATTERN argument is optional.
6788
6789 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6790
6791 * lib/ada.exp (target_compile_ada_from_dir): New function.
6792 (gdb_compile_ada): Reimplement avoiding the use of project files.
6793 * gdb.ada/gnat_ada.gpr: Delete.
6794 * gdb.ada/cond_lang.exp: Adjust test to make path before
6795 filename optional.
6796 * gdb.ada/small_reg_param.exp: Likewise.
6797
6798 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6799
6800 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6801
6802 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6803
6804 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6805 case.
6806
6807 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6808
6809 * gdb.base/break.exp: Remove dead code.
6810 * gdb.base/sepdebug.exp: Likewise.
6811
6812 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6813
6814 * gdb.asm/asm-source.exp: Remove HP-UX references.
6815 * gdb.base/annota1.exp: Likewise.
6816 * gdb.base/annota3.exp: Likewise.
6817 * gdb.base/attach.exp: Likewise.
6818 * gdb.base/bigcore.exp: Likewise.
6819 * gdb.base/break.exp: Likewise.
6820 * gdb.base/call-ar-st.exp: Likewise.
6821 * gdb.base/callfuncs.exp: Likewise.
6822 * gdb.base/catch-fork-static.exp: Likewise.
6823 * gdb.base/display.exp: Likewise.
6824 * gdb.base/foll-exec-mode.exp: Likewise.
6825 * gdb.base/foll-exec.exp: Likewise.
6826 * gdb.base/foll-fork.exp: Likewise.
6827 * gdb.base/foll-vfork.exp: Likewise.
6828 * gdb.base/funcargs.exp: Likewise.
6829 * gdb.base/hbreak2.exp: Likewise.
6830 * gdb.base/inferior-died.exp: Likewise.
6831 * gdb.base/interrupt.exp: Likewise.
6832 * gdb.base/multi-forks.exp: Likewise.
6833 * gdb.base/nodebug.exp: Likewise.
6834 * gdb.base/sepdebug.exp: Likewise.
6835 * gdb.base/solib1.c: Likewise.
6836 * gdb.base/step-test.exp: Likewise.
6837 * gdb.mi/non-stop.c: Likewise.
6838 * gdb.mi/pthreads.c: Likewise.
6839 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6840 * gdb.threads/pthreads.c: Likewise.
6841 * gdb.threads/staticthreads.exp: Likewise.
6842 * lib/future.exp: Likewise.
6843 * lib/gdb.exp: Likewise.
6844 * gdb.base/so-indr-cl.c: Remove.
6845 * gdb.base/so-indr-cl.exp: Likewise.
6846 * gdb.base/solib.c: Likewise.
6847 * gdb.base/solib.exp: Likewise.
6848 * gdb.base/solib2.c: Likewise.
6849
6850 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6851
6852 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6853 * gdb.base/call-ar-st.exp: Likewise.
6854 * gdb.base/callfuncs.exp: Likewise.
6855 * gdb.base/condbreak.exp: Likewise.
6856 * gdb.base/constvars.exp: Likewise.
6857 * gdb.base/hbreak2.exp: Likewise.
6858 * gdb.base/langs.exp: Likewise.
6859 * gdb.base/list.exp: Likewise.
6860 * gdb.base/long_long.exp: Likewise.
6861 * gdb.base/ptype.exp: Likewise.
6862 * gdb.base/scope.exp: Likewise.
6863 * gdb.base/signals.exp: Likewise.
6864 * gdb.base/so-impl-ld.exp: Likewise.
6865 * gdb.base/varargs.exp: Likewise.
6866 * gdb.base/volatile.exp: Likewise.
6867 * gdb.base/whatis.exp: Likewise.
6868 * gdb.cp/cplusfuncs.exp: Likewise.
6869 * gdb.cp/inherit.exp: Likewise.
6870 * gdb.cp/local.exp: Likewise.
6871 * gdb.cp/member-ptr.exp: Likewise.
6872 * gdb.cp/method.exp: Likewise.
6873 * gdb.cp/overload.exp: Likewise.
6874 * gdb.cp/templates.exp: Likewise.
6875 * gdb.stabs/weird.exp: Likewise.
6876 * lib/compiler.c: Likewise.
6877 * lib/compiler.cc: Likewise.
6878 * lib/cp-support.exp: Likewise.
6879 * lib/gdb.exp: Likewise.
6880
6881 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
6882
6883 * configure.ac: Remove HP-UX case.
6884 * configure: Regenerate.
6885
6886 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
6887
6888 * lib/gdb.exp (gdb_compile): Add function doc.
6889
6890 2015-12-17 Pedro Alves <palves@redhat.com>
6891
6892 PR threads/19354
6893 * gdb.multi/info-threads.exp: New file.
6894
6895 2015-12-15 Yao Qi <yao.qi@linaro.org>
6896
6897 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
6898 is aarch64*-*-*.
6899
6900 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6901
6902 * gdb.base/history-duplicates.exp: Skip if no readline support.
6903
6904 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6905
6906 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
6907
6908 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6909
6910 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
6911
6912 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
6913
6914 * gdb.base/completion.exp: Skip tests that interrupt GDB with
6915 ctrl-C if nointerrupts target property is set.
6916 * gdb.base/double-prompt-target-event-error.exp: Likewise.
6917 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
6918 * gdb.base/paginate-bg-execution.exp: Likewise.
6919 * gdb.base/paginate-execution-startup.exp: Likewise.
6920 * gdb.base/random-signal.exp: Likewise.
6921 * gdb.base/range-stepping.exp: Likewise.
6922 * gdb.cp/annota2.exp: Likewise.
6923 * gdb.cp/annota3.exp: Likewise.
6924 * gdb.gdb/selftest.exp: Likewise.
6925 * gdb.threads/continue-pending-status.exp: Likewise.
6926 * gdb.threads/leader-exit.exp: Likewise.
6927 * gdb.threads/manythreads.exp: Likewise.
6928 * gdb.threads/pthreads.exp: Likewise.
6929 * gdb.threads/schedlock.exp: Likewise.
6930 * gdb.threads/sigthread.exp: Likewise.
6931
6932 2015-12-11 Don Breazeal <donb@codesourcery.com>
6933
6934 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
6935 remote.
6936 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
6937 * gdb.base/foll-exec.exp (main): Enable for target remote.
6938 * gdb.base/foll-fork.exp (main): Likewise.
6939 * gdb.base/foll-vfork.exp (main): Likewise.
6940 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
6941 (proc continue_to_exit_bp_loc): Use clean_restart.
6942 * gdb.base/pie-execl.exp (main): Disable for target remote.
6943 * gdb.base/watch-vfork.exp (main): Enable for target remote.
6944 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
6945 * gdb.threads/execl.exp (main): Likewise.
6946 * gdb.threads/fork-child-threads.exp (main): Likewise.
6947 * gdb.threads/fork-plus-threads.exp (main): Disable for target
6948 remote.
6949 * gdb.threads/fork-thread-pending.exp (main): Enable for target
6950 remote.
6951 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
6952 pid.tid style ptids, instead of just tid.
6953 * gdb.threads/thread-execl.exp (main): Enable for target remote.
6954 * gdb.threads/watchpoint-fork.exp (main): Likewise.
6955 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
6956 ptids, instead of just tid.
6957
6958 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6959
6960 * gdb.base/list.exp (test_list_forward): Add end of file error
6961 test.
6962 (test_repeat_list_command): Add end of file error test.
6963 (test_list_backwards): Add beginning of file error test.
6964
6965 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6966
6967 * gdb.base/list.exp (test_list_invalid_args): New function,
6968 defined, and called.
6969
6970 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
6971
6972 * gdb.base/list.exp (test_list): Make test names unique.
6973
6974 2015-12-11 Yao Qi <yao.qi@linaro.org>
6975
6976 * gdb.base/coremaker2.c: Remove.
6977
6978 2015-12-10 Pedro Alves <palves@redhat.com>
6979
6980 * gdb.multi/base.exp: Remove stale "spaces" references.
6981
6982 2015-12-10 Pedro Alves <palves@redhat.com>
6983
6984 * gdb.multi/base.exp: Don't use nowarnings.
6985 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
6986 * gdb.multi/hangout.c: Include stdio.h.
6987 * gdb.multi/hello.c: Include stdlib.h.
6988 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
6989 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
6990 * gdb.multi/multi-arch.exp: Don't use nowarnings.
6991
6992 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
6993
6994 * gdb.dwarf2/dw2-ranges-base.c: New file.
6995 * gdb.dwarf2/dw2-ranges-base.exp: New file.
6996 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
6997 support additional line table, and debug ranges generation.
6998 (Dwarf::ranges): New function, generate .debug_ranges.
6999 (Dwarf::lines): Support generating simple line table programs.
7000 (Dwarf::assemble): Initialise new namespace variables.
7001
7002 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7003
7004 * gdb.base/async.exp (proc test_background): Add case for
7005 asynchronous execution not supported.
7006
7007 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7008
7009 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7010 format and change test names to make them unique.
7011
7012 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7013 Pedro Alves <pedro@redhat.com>
7014
7015 PR gdb/18702
7016 Add checking of floatformats setup on x86_64 hosts.
7017 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7018 (smallval, bigval): New labels/constants.
7019 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7020 float" after loading bigval and smallval.
7021
7022 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7023
7024 * gdb.ada/fun_overload_menu.exp: New testcase.
7025 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7026
7027 2015-12-04 Josh Stone <jistone@redhat.com>
7028
7029 * gdb.base/catch-fork-static.exp: New.
7030
7031 2015-12-03 Yao Qi <yao.qi@linaro.org>
7032
7033 * gdb.base/sizeof.c: Don't include stdio.h and
7034 ../lib/unbuffer_output.c.
7035 (main): New variable 'size' and 'value'. Remove printf and
7036 gdb_unbuffer_output. Assign return value to size and value.
7037 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7038 at the beginning.
7039 (check_sizeof): Check the result by printing variable 'size'.
7040 (check_valueof): Check the result by printing variable 'value'.
7041
7042 2015-12-01 Yao Qi <yao.qi@linaro.org>
7043
7044 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7045 for aarch64*-*-linux* target.
7046
7047 2015-11-30 Pedro Alves <palves@redhat.com>
7048
7049 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7050
7051 2015-11-30 Pedro Alves <palves@redhat.com>
7052
7053 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7054 Handle non-stop mode vCont replies.
7055
7056 2015-11-30 Pedro Alves <palves@redhat.com>
7057
7058 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7059 prepare_for_testing. Start gdb with "set non-stop on" appended to
7060 GDBFLAGS. Lax expected stop output.
7061
7062 2015-11-27 Yao Qi <yao.qi@linaro.org>
7063
7064 * gdb.arch/arm-neon.exp: New.
7065 * gdb.arch/arm-neon.c: New.
7066
7067 2015-11-27 Yao Qi <yao.qi@linaro.org>
7068
7069 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7070
7071 2015-11-27 Yao Qi <yao.qi@linaro.org>
7072
7073 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7074 frames-invalid annotation.
7075
7076 2015-11-27 Yao Qi <yao.qi@linaro.org>
7077
7078 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7079
7080 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7081
7082 * gdb.threads/names.exp: New file.
7083 * gdb.threads/names.c: New file.
7084 * README: Mention gdb,no_thread_names.
7085
7086 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7087
7088 PR 19297
7089 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7090 support" error.
7091
7092 2015-11-24 Pedro Alves <palves@redhat.com>
7093
7094 PR 17539
7095 * gdb.base/display.exp: Expect displays to be sorted in ascending
7096 order. Use multi_line.
7097 * gdb.base/solib-display.exp: Likewise.
7098
7099 2015-11-24 Pedro Alves <palves@redhat.com>
7100
7101 PR 17539
7102 * gdb.base/display.exp: Expect displays to be sorted in ascending
7103 order. Use multi_line.
7104 * gdb.base/solib-display.exp: Likewise.
7105
7106 2015-11-24 Pedro Alves <palves@redhat.com>
7107
7108 PR 17539
7109 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7110 threads in ascending order.
7111 * gdb.base/foll-fork.exp: Likewise.
7112 * gdb.base/foll-vfork.exp: Likewise.
7113 * gdb.base/multi-forks.exp: Likewise.
7114 * gdb.mi/mi-nonstop.exp: Likewise.
7115 * gdb.mi/mi-nsintrall.exp: Likewise.
7116 * gdb.multi/base.exp: Likewise.
7117 * gdb.multi/multi-arch.exp: Likewise.
7118 * gdb.python/py-inferior.exp: Likewise.
7119 * gdb.threads/break-while-running.exp: Likewise.
7120 * gdb.threads/execl.exp: Likewise.
7121 * gdb.threads/gcore-thread.exp: Likewise.
7122 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7123 * gdb.threads/kill.exp: Likewise.
7124 * gdb.threads/linux-dp.exp: Likewise.
7125 * gdb.threads/multiple-step-overs.exp: Likewise.
7126 * gdb.threads/next-bp-other-thread.exp: Likewise.
7127 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7128 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7129 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7130 * gdb.threads/thread-find.exp: Likewise.
7131 * gdb.threads/tls.exp: Likewise.
7132 * lib/mi-support.exp (mi_reverse_list): Delete.
7133 (mi_check_thread_states): No longer reverse list.
7134
7135 2015-11-24 Pedro Alves <palves@redhat.com>
7136
7137 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7138 use lowercase.
7139
7140 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7141
7142 * gdb.trace/actions.c: Include trace-common.h.
7143 (main): Add a location for a fast tracepoint.
7144 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7145 the normal tracepoints.
7146 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7147
7148 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7149
7150 * save-trace.exp: Factor out code to these...
7151 (gdb_save_tracepoints): New.
7152 (gdb_load_tracepoints): New.
7153 (do_save_load_test): New.
7154
7155 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7156
7157 * gdb.base/asmlabel.exp: New test.
7158 * gdb.base/asmlabel.c: New test case.
7159
7160 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7161
7162 * gdb.base/wrong_frame_bt_full-main.c: New file.
7163 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7164 * gdb.base/wrong_frame_bt_full.exp: New file.
7165
7166 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7167
7168 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7169
7170 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7171
7172 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7173 pstate register when comparing registers values in
7174 sparc64-*-linux-gnu targets to avoid spurious differences.
7175
7176 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7177
7178 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7179
7180 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7181
7182 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7183 as type argument to gdb_compile.
7184 * gdb.base/nested-subp2.exp: Likewise.
7185 * gdb.base/nested-subp3.exp: Likewise.
7186
7187 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7188
7189 * lib/dwarf.exp (_note): Fix left shift of negative value.
7190 * gdb.trace/trace-condition.exp: Likewise.
7191
7192 2015-11-13 Yao Qi <yao.qi@linaro.org>
7193
7194 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7195 comments about d10v.
7196 (test_scalar_returns): Likewise.
7197 * gdb.base/d10v.ld: Remove.
7198 * gdb.base/overlays.exp: Remove the target triplet checking for
7199 d10v-*-*.
7200 * gdb.base/structs.exp (test_struct_returns): Remove the
7201 comments about d10v.
7202 (test_struct_calls): Likewise.
7203
7204 2015-11-13 Yao Qi <yao.qi@linaro.org>
7205
7206 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7207 * gdb.base/gnu_vector.c: Don't include stdio.h.
7208 (main): Don't print res and call add_some_intvecs.
7209
7210 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7211
7212 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7213 macro.
7214 (func5): Removed.
7215 (func4): Use FAST_TRACEPOINT_LABEL.
7216 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7217 macro.
7218 (func): Removed.
7219 (thread_function): Use FAST_TRACEPOINT_LABEL.
7220 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7221 (func): Remove.
7222 (marker): Use FAST_TRACEPOINT_LABEL.
7223 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7224 (pendfunc1): Remove.
7225 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7226 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7227 (foo): Remove.
7228 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7229 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7230 macro.
7231 (func): Remove.
7232 (marker): Use FAST_TRACEPOINT_LABEL.
7233 * gdb.trace/trace-common.h: New header.
7234 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7235 macro.
7236 (func): Remove.
7237 (marker): Use FAST_TRACEPOINT_LABEL.
7238 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7239 (func): Remove.
7240 (thread_function): Use FAST_TRACEPOINT_LABEL.
7241
7242 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7243
7244 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7245 in front.
7246 * gdb.trace/change-loc.exp: Use global pcreg definition.
7247 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7248 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7249 in front.
7250 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7251 * gdb.trace/pending.exp: Likewise.
7252 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7253 * gdb.trace/trace-break.exp: Likewise.
7254 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7255 in front.
7256 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7257 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7258 in front.
7259 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7260
7261 2015-11-09 Joel Brobecker <brobecker@adacore.com>
7262
7263 * gdb.ada/fin_fun_out: New testcase.
7264
7265 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7266
7267 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7268 value associated with DW_AT_byte_size.
7269 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7270 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7271 DW_AT_upper_bound.
7272
7273 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7274
7275 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7276 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7277 version.
7278 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7279 gdb.dwarf2/dw2-canonicalize-type.exp,
7280 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7281 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7282 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7283 provided by gdb_target_symbol_prefix_flags_asm.
7284 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7285 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7286 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7287 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7288 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7289 macros where needed). Use this macro for symbols which require
7290 the prefix provided by SYMBOL_PREFIX.
7291
7292 2015-11-05 Kevin Buettner <kevinb@redhat.com>
7293
7294 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7295 New procs.
7296 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7297 representing expressions, of more than one list element.
7298 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7299 to prepend linker symbol prefix to f.
7300 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7301 table_1 and table_2.
7302 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7303 Likewise, for f and g.
7304 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7305 for ptr.
7306 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7307 for main.
7308 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7309 table_1_ptr and table_2_ptr.
7310
7311 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7312 Joel Brobecker <brobecker@adacore.com>
7313
7314 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7315
7316 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7317
7318 * gdb.reverse/s390-mvcle.c: New test.
7319 * gdb.reverse/s390-mvcle.exp: New file.
7320 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7321
7322 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7323
7324 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7325
7326 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7327
7328 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7329 reaching marker2.
7330 * gdb.reverse/getresuid-reverse.exp: Likewise.
7331 * gdb.reverse/pipe-reverse.exp: Likewise.
7332 * gdb.reverse/readv-reverse.exp: Likewise.
7333 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7334 * gdb.reverse/time-reverse.exp: Likewise.
7335 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7336
7337 2015-10-30 Yao Qi <yao.qi@linaro.org>
7338
7339 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7340 (empty_cycle): Remove.
7341 (main): Don't call empty_cycle. Don't use watch_count_done.
7342 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7343 empty_cycle. Rewrite the code counting HW watchpoints.
7344
7345 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7346
7347 * gdb.reverse/fstatat-reverse.c: New test.
7348 * gdb.reverse/fstatat-reverse.exp: New file.
7349 * gdb.reverse/getresuid-reverse.c: New test.
7350 * gdb.reverse/getresuid-reverse.exp: New file.
7351 * gdb.reverse/pipe-reverse.c: New test.
7352 * gdb.reverse/pipe-reverse.exp: New file.
7353 * gdb.reverse/readv-reverse.c: New test.
7354 * gdb.reverse/readv-reverse.exp: New file.
7355 * gdb.reverse/recvmsg-reverse.c: New test.
7356 * gdb.reverse/recvmsg-reverse.exp: New file.
7357 * gdb.reverse/time-reverse.c: New test.
7358 * gdb.reverse/time-reverse.exp: New file.
7359 * gdb.reverse/waitpid-reverse.c: New test.
7360 * gdb.reverse/waitpid-reverse.exp: New file.
7361
7362 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7363
7364 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7365
7366 2015-10-26 Doug Evans <dje@google.com>
7367
7368 PR symtab/17391
7369 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7370 * gdb.dwarf2/bad-regnum.c: New file.
7371 * gdb.dwarf2/bad-regnum.exp: New file.
7372
7373 2015-10-26 Doug Evans <dje@google.com>
7374
7375 PR python/18938
7376 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7377 file.
7378
7379 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7380
7381 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7382 for a change by "Mention language in compile error message".
7383
7384 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7385
7386 PR python/18073
7387 * gdb.python/py-type.c (C::a_method): New.
7388 (C::a_const_method): New.
7389 (C::a_static_method): New.
7390 (a_function): New.
7391 * gdb.python/py-type.exp (test_fields): Test getting fields
7392 from function and method.
7393
7394 2015-10-21 Keven Boell <keven.boell@intel.com>
7395
7396 * gdb.fortran/vla-alloc-assoc.exp: New file.
7397 * gdb.fortran/vla-datatypes.exp: New file.
7398 * gdb.fortran/vla-datatypes.f90: New file.
7399 * gdb.fortran/vla-history.exp: New file.
7400 * gdb.fortran/vla-ptype-sub.exp: New file.
7401 * gdb.fortran/vla-ptype.exp: New file.
7402 * gdb.fortran/vla-sizeof.exp: New file.
7403 * gdb.fortran/vla-sub.f90: New file.
7404 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7405 * gdb.fortran/vla-value-sub-finish.exp: New file.
7406 * gdb.fortran/vla-value-sub.exp: New file.
7407 * gdb.fortran/vla-value.exp: New file.
7408 * gdb.fortran/vla-ptr-info.exp: New file.
7409 * gdb.mi/mi-vla-fortran.exp: New file.
7410 * gdb.mi/vla.f90: New file.
7411
7412 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7413
7414 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7415 of hardwired timeout value.
7416
7417 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7418 Pedro Alves <palves@redhat.com>
7419
7420 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7421 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7422
7423 2015-10-19 Josh Stone <jistone@redhat.com>
7424
7425 * gdb.base/catch-syscall.c: Include <sched.h>.
7426 (unknown_syscall): New variable.
7427 (main): Trigger a vfork and an unknown syscall.
7428 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7429 (unknown_syscall_number): Likewise.
7430 (check_call_to_syscall): Accept an optional syscall pattern.
7431 (check_return_from_syscall): Likewise.
7432 (check_continue): Likewise.
7433 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7434 (test_catch_syscall_skipping_return): New test toggling off 'catch
7435 syscall' to step over the syscall return, then toggling back on.
7436 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7437 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7438 (do_syscall_tests): Call test_catch_syscall_without_args and
7439 test_catch_syscall_mid_vfork.
7440 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7441 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7442
7443 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
7444
7445 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7446 print g_vE): Add new pass patterns.
7447 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7448 print various symbol names for vptr fields.
7449
7450 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7451
7452 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7453 results.
7454
7455 2015-10-12 Yao Qi <yao.qi@linaro.org>
7456
7457 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7458
7459 2015-10-12 Yao Qi <yao.qi@linaro.org>
7460
7461 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7462 is aarch64*-*-linux*.
7463
7464 2015-10-12 Yao Qi <yao.qi@linaro.org>
7465
7466 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7467 (can_relocate_bcond_true): ... it.
7468 (can_relocate_bcond_false): New function.
7469 (foo): Likewise.
7470 (can_relocate_bl): Likewise.
7471 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7472 can_relocate_bl.
7473
7474 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7475
7476 * gdb.base/nested-addr.c: New file.
7477 * gdb.base/nested-addr.exp: New testcase.
7478
7479 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7480
7481 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7482 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7483 its output. Ignore the output of "record goto begin" and instead
7484 check that GDB is replaying.
7485
7486 2015-10-09 Pedro Alves <palves@redhat.com>
7487
7488 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7489 (top level): Use it in the run with no args test.
7490
7491 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7492
7493 * gdb.dlang/properties.exp: New file.
7494
7495 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7496
7497 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7498 whether or not address 0x1000 is mapped on the target.
7499
7500 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7501
7502 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7503 build.
7504
7505 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7506
7507 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7508 instruction-history test.
7509
7510 2015-09-28 Doug Evans <dje@google.com>
7511
7512 * gdb.base/gcore.c (array_func): Add reference to static_array.
7513
7514 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7515
7516 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7517 source line.
7518
7519 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7520
7521 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7522 short or char as base type.
7523
7524 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7525
7526 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7527 to allow any size enum.
7528
7529 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7530
7531 * gdb.ada/array_ptr_renaming.exp: New testcase.
7532 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7533 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7534
7535 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7536
7537 * gdb.trace/ftrace-lock.c: New file.
7538 * gdb.trace/ftrace-lock.exp: New file.
7539
7540 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7541
7542 * gdb.arch/insn-reloc.c: New file.
7543 * gdb.arch/ftrace-insn-reloc.exp: New file.
7544
7545 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7546
7547 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7548 instruction.
7549 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7550 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7551 * gdb.trace/range-stepping.c: Likewise.
7552 * gdb.trace/trace-break.c: Likewise.
7553 * gdb.trace/trace-mt.c (thread_function): Likewise.
7554 * gdb.trace/ftrace.c (marker): Likewise.
7555 * gdb.trace/trace-condition.c (marker): Likewise.
7556 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7557 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7558 is_aarch64_target.
7559
7560 2015-09-18 Doug Evans <xdje42@gmail.com>
7561
7562 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7563 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7564
7565 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7566
7567 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7568 the breakpoint.
7569
7570 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7571
7572 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7573 the pending breakpoint. Remove timeout override for "Run till
7574 MI pending breakpoint on pendfunc3 on thread 2" test.
7575
7576 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7577
7578 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7579 filename pattern.
7580
7581 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7582
7583 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7584 in breakpoint filename pattern.
7585
7586 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7587
7588 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7589
7590 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7591
7592 * gdb.linespec/explicit.exp: Check for readline support for
7593 tab-completion tests. Fix obvious typo.
7594
7595 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7596
7597 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7598 and replay.
7599
7600 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7601
7602 * gdb.btrace/non-stop.c: New.
7603 * gdb.btrace/non-stop.exp: New.
7604
7605 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7606 Yao Qi <yao.qi@linaro.org>
7607
7608 * gdb.trace/trace-condition.c: New file.
7609 * gdb.trace/trace-condition.exp: New file.
7610
7611 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
7612
7613 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7614 for testing bytecode compilation.
7615
7616 2015-09-16 Pedro Alves <palves@redhat.com>
7617 Sandra Loosemore <sandra@codesourcery.com>
7618
7619 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7620 (SECONDS): Redefine.
7621 (main): Call pthread_kill and alarm early.
7622 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7623 support.
7624 (test): If the target can't hardware step and doesn't support
7625 displaced stepping, increase the timeout.
7626
7627 2015-09-16 Pedro Alves <palves@redhat.com>
7628
7629 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7630 (enable_debug): New procedures.
7631 (test): Use them. Bail out if waiting for threads fails.
7632 (top level): Bail out if a test fails.
7633
7634 2015-09-16 Yao Qi <yao.qi@linaro.org>
7635
7636 * gdb.asm/asm-source.exp: Set asm-arch for
7637 aarch64*-*-* target.
7638 * gdb.asm/aarch64.inc: New file.
7639
7640 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7641
7642 * gdb.ada/array_of_variable_length.exp: New testcase.
7643 * gdb.ada/array_of_variable_length/foo.adb: New file.
7644 * gdb.ada/array_of_variable_length/pck.adb: New file.
7645 * gdb.ada/array_of_variable_length/pck.ads: New file.
7646
7647 2015-09-15 Doug Evans <dje@google.com>
7648
7649 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7650 of function static local variable.
7651
7652 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7653
7654 * gdb.threads/tls-so_extern.exp: New test file.
7655 * gdb.threads/tls-so_extern.c: New test file.
7656 * gdb.threads/tls-so_extern_main.c: New test file.
7657
7658 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7659
7660 * gdb.opt/solib-intra-step-lib.c: New file.
7661 * gdb.opt/solib-intra-step-main.c: New file.
7662 * gdb.opt/solib-intra-step.exp: New file.
7663
7664 2015-09-15 Pedro Alves <palves@redhat.com>
7665
7666 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7667 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7668
7669 2015-09-14 Pedro Alves <palves@redhat.com>
7670
7671 * gdb.base/hook-stop-continue.c: Delete.
7672 * gdb.base/hook-stop-continue.exp: Delete.
7673 * gdb.base/hook-stop-frame.c: Delete.
7674 * gdb.base/hook-stop-frame.exp: Delete.
7675 * gdb.base/hook-stop.c: New file.
7676 * gdb.base/hook-stop.exp: New file.
7677
7678 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7679
7680 * gdb.ada/access_to_packed_array.exp: New testcase.
7681 * gdb.ada/access_to_packed_array/foo.adb: New file.
7682 * gdb.ada/access_to_packed_array/pack.adb: New file.
7683 * gdb.ada/access_to_packed_array/pack.ads: New file.
7684
7685 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7686
7687 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7688 buffer size test.
7689
7690 2015-09-11 Don Breazeal <donb@codesourcery.com>
7691
7692 * gdb.base/foll-exec.c: Add copyright header. Fix
7693 formatting issues.
7694 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7695 (do_exec_tests): Use clean_restart in place of zap_session,
7696 and for test initialization. Fix formatting issues. Use
7697 fail in place of perror.
7698 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7699 an expect statement to match an expression with output from
7700 the program under debug.
7701 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7702 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7703 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7704 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7705 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7706
7707 2015-09-09 Doug Evans <dje@google.com>
7708
7709 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7710
7711 2015-09-09 Doug Evans <dje@google.com>
7712
7713 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7714
7715 2015-09-09 Doug Evans <dje@google.com>
7716
7717 * gdb.base/savedregs.exp: Fix typo.
7718
7719 2015-09-09 Pedro Alves <palves@redhat.com>
7720
7721 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7722
7723 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7724
7725 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7726 command actually switches threads. Give up on remaining
7727 tests if target fails to stop at breakpoint.
7728
7729 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7730
7731 * gdb.ada/funcall_char.exp: New testcase.
7732 * gdb.ada/funcall_char/foo.adb: New file.
7733
7734 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7735
7736 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7737 expected outputs. Add two testcases for completing ambiguous
7738 functions.
7739 * gdb.ada/complete/aux_pck.adb: New file.
7740 * gdb.ada/complete/aux_pck.ads: New file.
7741 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7742 Ambiguous_Func functions.
7743 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7744 * gdb.ada/complete/pck.adb: Likewise.
7745
7746 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7747
7748 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7749 failures to run the test program under GDB.
7750
7751 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7752
7753 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7754 to C.
7755
7756 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7757
7758 * gdb.base/run-after-attach.exp: New test file.
7759 * gdb.base/run-after-attach.c: New test file.
7760
7761 2015-08-26 Don Breazeal <donb@codesourcery.com>
7762
7763 * gdb.base/foll-exec-2.c: New test program.
7764 * gdb.base/foll-exec-2.exp: New test.
7765
7766 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7767
7768 * gdb.base/nested-subp1.exp: New file.
7769 * gdb.base/nested-subp1.c: New file.
7770 * gdb.base/nested-subp2.exp: New file.
7771 * gdb.base/nested-subp2.c: New file.
7772 * gdb.base/nested-subp3.exp: New file.
7773 * gdb.base/nested-subp3.c: New file.
7774
7775 2015-08-24 Pedro Alves <palves@redhat.com>
7776
7777 * gdb.server/connect-without-multi-process.c: New file.
7778 * gdb.server/connect-without-multi-process.exp: New file.
7779
7780 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7781
7782 * gdb.opt/inline-markers.c: Make z int.
7783
7784 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7785
7786 * gdb.opt/inline-markers.c: Make z volatile.
7787
7788 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7789
7790 * gdb.opt/inline-bt.c: New volatile global z.
7791 * gdb.opt/inline-cmds.c: Likewise.
7792 * gdb.opt/inline-locals.c: Likewise.
7793 * gdb.opt/inline-markers.c: New extern global z.
7794 (marker): Use z.
7795 (inline_fn): Likewise.
7796
7797 2015-08-24 Pedro Alves <palves@redhat.com>
7798
7799 * config/m32r-stub.exp: Remove file.
7800 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7801 * gdb.base/call-rt-st.exp: Likewise.
7802 * gdb.base/call-strs.exp: Likewise.
7803 * gdb.base/default.exp: Remove references to h8300-*-hms and
7804 *-*-udi*.
7805 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7806
7807 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7808
7809 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7810 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7811 and "return" use KFAIL when GDB can not read/write the vector
7812 return value.
7813
7814 2015-08-21 Gary Benson <gbenson@redhat.com>
7815
7816 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7817
7818 2015-08-20 Pedro Alves <palves@redhat.com>
7819
7820 * gdb.server/solib-list.exp: No longer expect an interior stop in
7821 non-stop mode.
7822
7823 2015-08-20 Pedro Alves <palves@redhat.com>
7824
7825 * gdb.server/connect-stopped-target.c: New file.
7826 * gdb.server/connect-stopped-target.exp: New file.
7827
7828 2015-08-20 Pedro Alves <palves@redhat.com>
7829
7830 * gdb.dwarf2/comp-unit-lang.exp: New file.
7831 * gdb.dwarf2/comp-unit-lang.c: New file.
7832
7833 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7834
7835 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7836 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7837
7838 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7839
7840 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7841 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7842
7843 2015-08-18 Doug Evans <dje@google.com>
7844 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7845
7846 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7847 skip_python_tests. New arg prompt_regexp.
7848 (skip_python_tests): New function.
7849 * lib/mi-support.exp (mi_skip_python_tests): New function.
7850 * gdb.python/py-mi-objfile-gdb.py: New file.
7851 * gdb.python/py-mi-objfile.c: New file.
7852 * gdb.python/py-mi-objfile.exp: New file.
7853
7854 2015-08-17 Keith Seitz <keiths@redhat.com>
7855
7856 * gdb.linespec/explicit.exp: Move strace test from here ...
7857 * gdb.trace/strace.exp: ... to here.
7858
7859 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7860
7861 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7862 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
7863
7864 2015-08-14 Doug Evans <xdje42@gmail.com>
7865
7866 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
7867 inferior before selecting a new file.
7868
7869 2015-08-14 Doug Evans <xdje42@gmail.com>
7870
7871 * gdb.mi/mi-disassemble.exp: Update.
7872 * gdb.base/disasm-optim.S: New file.
7873 * gdb.base/disasm-optim.c: New file.
7874 * gdb.base/disasm-optim.h: New file.
7875 * gdb.base/disasm-optim.exp: New file.
7876
7877 2015-08-14 Keith Seitz <keiths@redhat.com>
7878
7879 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
7880 "evaluated-by".
7881
7882 2015-08-13 Joel Brobecker <brobecker@adacore.com>
7883
7884 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
7885
7886 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
7887
7888 * gdb.ada/fun_renaming.exp: New testcase.
7889 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
7890 * gdb.ada/fun_renaming/pack.adb: New file.
7891 * gdb.ada/fun_renaming/pack.ads: New file.
7892
7893 2015-08-12 Keith Seitz <keiths@redhat.com>
7894
7895 * gdb.base/dso2dso.exp: Pass basename of source file in call to
7896 gdb_get_line_number.
7897
7898 2015-08-12 Joel Brobecker <brobecker@adacore.com>
7899
7900 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
7901 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
7902 gdb.base/dso2dso.exp: New files.
7903
7904 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
7905 Pedro Alves <palves@redhat.com>
7906 Keith Seitz <keiths@redhat.com>
7907
7908 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
7909 GDBFLAGS.
7910
7911 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7912
7913 * gdb.base/gdbhistsize-history.exp
7914 (test_histsize_history_setting): Use save_vars.
7915 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7916 Use save_vars.
7917 (test_no_truncation_of_unlimited_history_file): Use save_vars.
7918 * gdb.base/readline.exp: Use save_vars.
7919
7920 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
7921
7922 * lib/gdb.exp (save_vars): New proc.
7923
7924 2015-08-11 Keith Seitz <keiths@redhat.com>
7925
7926 * gdb.base/help.exp: Update help_breakpoint_text.
7927
7928 2015-08-11 Keith Seitz <keiths@redhat.com>
7929
7930 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
7931 (at toplevel): Call test_explicit_breakpoints.
7932 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
7933 breakpoints.
7934 * lib/mi-support.exp (mi_make_breakpoint): Add support for
7935 breakpoint conditions, "-cond".
7936
7937 2015-08-11 Keith Seitz <keiths@redhat.com>
7938
7939 * gdb.linespec/3explicit.c: New file.
7940 * gdb.linespec/cpexplicit.cc: New file.
7941 * gdb.linespec/cpexplicit.exp: New file.
7942 * gdb.linespec/explicit.c: New file.
7943 * gdb.linespec/explicit.exp: New file.
7944 * gdb.linespec/explicit2.c: New file.
7945 * gdb.linespec/ls-errs.exp: Add explicit location tests.
7946 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
7947 before using in the matching pattern.
7948 Clarify that `prefix' is a regular expression.
7949
7950 2015-08-11 Keith Seitz <keiths@redhat.com>
7951
7952 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
7953 test.
7954 Add tests for missing ",FMT" and ",".
7955
7956 2015-08-10 Doug Evans <dje@google.com>
7957 Keith Seitz <keiths@redhat.com>
7958
7959 PR gdb/17960
7960 * gdb.base/completion.exp: Add location completer tests.
7961
7962 2015-08-07 Pedro Alves <palves@redhat.com>
7963
7964 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
7965 tests here.
7966 (top level): Run do_test with and without displaced stepping.
7967
7968 2015-08-07 Pedro Alves <palves@redhat.com>
7969
7970 * gdb.base/valgrind-disp-step.c: New file.
7971 * gdb.base/valgrind-disp-step.exp: New file.
7972
7973 2015-08-07 Pedro Alves <palves@redhat.com>
7974
7975 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
7976 Delete function.
7977 (main): Add alarm. Run an infinite loop instead of calling
7978 wait_threads.
7979 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
7980 comment.
7981 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
7982 Delete function.
7983 (main): Add alarm. Run an infinite loop instead of calling
7984 wait_threads.
7985 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
7986 comment.
7987
7988 2015-08-07 Pedro Alves <palves@redhat.com>
7989
7990 * gdb.base/checkpoint-ns.exp: New file.
7991 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
7992 standard_testfile.
7993
7994 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
7995
7996 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
7997 * gdb.btrace/instruction_history.exp: Update.
7998 * gdb.btrace/tsx.exp: New.
7999 * gdb.btrace/tsx.c: New.
8000
8001 2015-08-06 Pedro Alves <palves@redhat.com>
8002
8003 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8004 increase timeout.
8005 * gdb.reverse/until-precsave.exp: Bump timeouts.
8006
8007 2015-08-06 Pedro Alves <palves@redhat.com>
8008
8009 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8010
8011 2015-08-06 Pedro Alves <palves@redhat.com>
8012
8013 PR gdb/18749
8014 * gdb.threads/process-dies-while-handling-bp.c: New file.
8015 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8016
8017 2015-08-06 Pedro Alves <palves@redhat.com>
8018
8019 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8020 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8021
8022 2015-08-05 Pedro Alves <palves@redhat.com>
8023
8024 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8025 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8026
8027 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8028
8029 * gdb.base/bp-permanent.exp: Report test as unsupported if
8030 the target cannot stop at the permanent breakpoint.
8031
8032 2015-08-03 Doug Evans <dje@google.com>
8033
8034 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8035 10000.
8036
8037 2015-08-03 Doug Evans <dje@google.com>
8038
8039 * Makefile.in (workers/%.worker, build-perf): New rule.
8040 (GDB_PERFTEST_MODE): New variable.
8041 (check-perf): Use it.
8042 (clean): Clean up gdb.perf parallel build subdirs.
8043 * lib/build-piece.exp: New file.
8044 * lib/gdb.exp (make_gdb_parallel_path): New function
8045 (standard_output_file, standard_temp_file): Call it.
8046 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8047 of $GDB_PARALLEL.
8048 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8049
8050 2015-08-03 Doug Evans <dje@google.com>
8051
8052 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8053 (LOG_FILE_NAME): New global.
8054 (TextReporter.__init__): Initialize self.txt_sum.
8055 (TextReporter.report): Add support for multiple data-points.
8056 Move report to perftest.sum, put raw data in perftest.log.
8057 (TextReporter.start): Open sum and log files.
8058 (TextReporter.end): Close sum and log files.
8059 * gdb.perf/lib/perftest/testresult.py
8060 (SingleStatisticTestResult.record): Handle multiple data-points.
8061
8062 2015-07-31 Pedro Alves <palves@redhat.com>
8063
8064 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8065 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8066 kill_wait_spawned_process instead of explicit "kill -9".
8067 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8068 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8069 kill_wait_spawned_process.
8070 * gdb.base/attach-twice.exp: Likewise.
8071 * gdb.base/attach.exp: Likewise.
8072 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8073 gdb_test_multiple.
8074 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8075 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8076 kill_wait_spawned_process.
8077 * gdb.base/valgrind-infcall.exp: Likewise.
8078 * gdb.multi/multi-attach.exp: Likewise.
8079 * gdb.python/py-prompt.exp: Likewise.
8080 * gdb.python/py-sync-interp.exp: Likewise.
8081 * gdb.server/ext-attach.exp: Likewise.
8082 * gdb.threads/attach-into-signal.exp (corefunc): Use
8083 spawn_wait_for_attach, spawn_id_get_pid and
8084 kill_wait_spawned_process.
8085 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8086 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8087 spawn_id_get_pid and kill_wait_spawned_process.
8088 * gdb.threads/attach-stopped.exp (corefunc): Use
8089 spawn_wait_for_attach, spawn_id_get_pid and
8090 kill_wait_spawned_process.
8091 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8092 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8093 kill_wait_spawned_process instead of explicit "kill -9".
8094 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8095 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8096 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8097 processes. Don't map cygwin/windows pids here. Now returns a
8098 spawn id list.
8099
8100 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8101
8102 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8103 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8104 correct patch.
8105
8106 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8107
8108 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8109
8110 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8111
8112 Reapply:
8113 2014-05-21 Mark Wielaard <mjw@redhat.com>
8114
8115 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8116
8117 2015-07-30 Pedro Alves <palves@redhat.com>
8118
8119 * linux-low.c (handle_extended_wait): Set the child's last
8120 reported status to TARGET_WAITKIND_STOPPED.
8121
8122 2015-07-30 Pedro Alves <palves@redhat.com>
8123
8124 PR threads/18600
8125 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8126 only shows inferior 1.
8127
8128 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8129 Pedro Alves <palves@redhat.com>
8130
8131 PR threads/18600
8132 * gdb.threads/fork-plus-threads.c: New file.
8133 * gdb.threads/fork-plus-threads.exp: New file.
8134
8135 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8136
8137 * gdb.base/batch-preserve-term-settings.exp
8138 (test_terminal_settings_preserved_after_cli_exit): Use
8139 send_quit_command.
8140
8141 2015-07-29 Pedro Alves <palves@redhat.com>
8142 Don Breazeal <donb@codesourcery.com>
8143
8144 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8145 output from both inferior_spawn_id and gdb_spawn_id.
8146
8147 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8148
8149 * gdb.threads/attach-into-signal.exp (corefunc): Use
8150 with_test_prefix on nested loops, uniquefying the test messages.
8151
8152 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8153
8154 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8155 commit.
8156
8157 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8158
8159 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8160 New proc.
8161 (test_terminal_settings_preserved_after_sigterm): New test.
8162
8163 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8164
8165 * gdb.base/batch-preserve-term-settings.exp
8166 (test_terminal_settings_preserved_after_cli_exit): New test.
8167
8168 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8169
8170 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8171 manipulation of saved_gdbflags.
8172 (test_terminal_settings_preserved): Remove global declaration of
8173 the unused variable pagination_prompt. Remove manipulation of
8174 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8175 GDBFLAGS.
8176
8177 2015-07-29 Pedro Alves <palves@redhat.com>
8178
8179 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8180
8181 2015-07-29 Pedro Alves <palves@redhat.com>
8182
8183 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8184 at the top.
8185
8186 2015-07-29 Pedro Alves <palves@redhat.com>
8187
8188 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8189 (main): Call gdb_unbuffer_output.
8190 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8191 (main): Call gdb_unbuffer_output.
8192 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8193 (main): Call gdb_unbuffer_output.
8194 * gdb.base/call-strs.exp: Adjust to step over the
8195 gdb_unbuffer_output call.
8196 * gdb.base/catch-gdb-caused-signals.c: Include
8197 "../lib/unbuffer_output.c".
8198 (main): Call gdb_unbuffer_output.
8199 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8200 (main): Call gdb_unbuffer_output.
8201 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8202 (main): Call gdb_unbuffer_output.
8203 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8204 (main): Call gdb_unbuffer_output.
8205 * gdb.base/shlib-call.exp: Adjust to step over the
8206 gdb_unbuffer_output call.
8207 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8208 (main): Call gdb_unbuffer_output.
8209 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8210 (main): Call gdb_unbuffer_output.
8211 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8212 (main): Rename to ...
8213 (test): ... this.
8214 (main): Reimplement.
8215 * gdb.base/varargs.exp: Run to test instead of to main.
8216 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8217 (main): Call gdb_unbuffer_output.
8218
8219 2015-07-29 Pedro Alves <palves@redhat.com>
8220
8221 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8222 factore out from mi_continue_dprintf. For call-style dprintfs,
8223 expect dprintf output out of $inferior_spawn_id.
8224 (mi_continue_dprintf): Use mi_expect_dprintf.
8225 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8226 (main): Call gdb_unbuffer_output.
8227
8228 2015-07-29 Pedro Alves <palves@redhat.com>
8229
8230 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8231 (default_mi_gdb_start): Set inferior_spawn_id instead of
8232 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8233 gdb_spawn_id.
8234 (mi_gdb_test): Always expect inferior output from both
8235 $inferior_spawn_id and $gdb_spawn_id.
8236
8237 2015-07-29 Pedro Alves <palves@redhat.com>
8238
8239 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8240 send_inferior and $inferior_spawn_id.
8241
8242 2015-07-29 Pedro Alves <palves@redhat.com>
8243
8244 * gdb.gdb/complaints.exp (test_initial_complaints)
8245 (test_serial_complaints, test_short_complaints): Use
8246 gdb_test_stdio.
8247 (test_empty_complaint): Handle $inferior_spawn_id !=
8248 $gdb_spawn_id.
8249
8250 2015-07-29 Pedro Alves <palves@redhat.com>
8251
8252 * gdb.base/varargs.exp: Use gdb_test_stdio.
8253
8254 2015-07-29 Pedro Alves <palves@redhat.com>
8255
8256 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8257
8258 2015-07-29 Pedro Alves <palves@redhat.com>
8259
8260 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8261
8262 2015-07-29 Pedro Alves <palves@redhat.com>
8263
8264 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8265 parameter into two new parameters, "inf_result" and "gdb_result".
8266 Expect inferior output and gdb output from $inferior_spawn_id and
8267 $gdb_spawn_id, respectively. Adjust all callers.
8268
8269 2015-07-29 Pedro Alves <palves@redhat.com>
8270
8271 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8272 of gdb_test_sequence.
8273
8274 2015-07-29 Pedro Alves <palves@redhat.com>
8275
8276 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8277 (saw_spurious_output): Expect inferior output from
8278 $inferior_spawn_id. Use gdb_test_stdio.
8279
8280 2015-07-29 Pedro Alves <palves@redhat.com>
8281
8282 * gdb.base/dprintf.exp: Use standard_testfile. Change
8283 prepare_for_testing call.
8284 (srcfile): Don't set.
8285 (restart): New procedure.
8286 (test_dprintf): New procecure, use to continue over dprintfs.
8287 (test_call, test_agent): New procedures, tests moved here.
8288 Restart gdb and recreate dprintfs. Adjust expected output.
8289
8290 2015-07-29 Pedro Alves <palves@redhat.com>
8291
8292 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8293
8294 2015-07-29 Pedro Alves <palves@redhat.com>
8295
8296 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8297
8298 2015-07-29 Pedro Alves <palves@redhat.com>
8299
8300 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8301 gdb_test_stdio.
8302
8303 2015-07-29 Pedro Alves <palves@redhat.com>
8304
8305 * lib/gdb.exp (gdb_test_stdio): New procedure.
8306
8307 2015-07-29 Pedro Alves <palves@redhat.com>
8308
8309 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8310
8311 2015-07-29 Pedro Alves <palves@redhat.com>
8312
8313 * gdb.base/call-signal-resume.exp: Remove check for
8314 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8315 * gdb.base/unwindonsignal.exp: Likewise.
8316 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8317 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8318
8319 2015-07-29 Pedro Alves <palves@redhat.com>
8320
8321 * gdb.base/siginfo-addr.c (pass): New function.
8322 (handler): Call it iff si_addr is correct.
8323 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8324 Set a breakpoint at "pass" and continue to it.
8325
8326 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8327
8328 * gdb.python/py-objfile.exp: Make some tests have unique names.
8329 * gdb.python/py-pp-registration.exp: Likewise.
8330
8331 2015-07-28 Pedro Alves <palves@redhat.com>
8332
8333 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8334
8335 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8336
8337 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8338
8339 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8340
8341 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8342
8343 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8344
8345 * gdb.base/gdb-sigterm-2.exp: New test.
8346
8347 2015-07-25 Doug Evans <xdje42@gmail.com>
8348
8349 Revert:
8350 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8351 (workers/%.worker, build-perf): New rule.
8352 (GDB_PERFTEST_MODE): New variable.
8353 (check-perf): Use it.
8354 (clean): Clean up gdb.perf parallel build subdirs.
8355 * lib/build-piece.exp: New file.
8356 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8357 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8358 name.
8359 (standard_temp_file): Ditto.
8360 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8361 of $GDB_PARALLEL.
8362
8363 2015-07-24 Doug Evans <dje@google.com>
8364
8365 * gdb.perf/lib/perftest/utils.py: New file.
8366 * gdb.perf/gm-hello.cc: New file.
8367 * gdb.perf/gm-pervasive-typedef.cc: New file.
8368 * gdb.perf/gm-pervasive-typedef.h: New file.
8369 * gdb.perf/gm-std.cc: New file.
8370 * gdb.perf/gm-std.h: New file.
8371 * gdb.perf/gm-use-cerr.cc: New file.
8372 * gdb.perf/gm-utils.h: New file.
8373 * gdb.perf/gmonster-null-lookup.py: New file.
8374 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8375 * gdb.perf/gmonster-print-cerr.py: New file.
8376 * gdb.perf/gmonster-ptype-string.py: New file.
8377 * gdb.perf/gmonster-runto-main.py: New file.
8378 * gdb.perf/gmonster-select-file.py: New file.
8379 * gdb.perf/gmonster1-null-lookup.exp: New file.
8380 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8381 * gdb.perf/gmonster1-print-cerr.exp: New file.
8382 * gdb.perf/gmonster1-ptype-string.exp: New file.
8383 * gdb.perf/gmonster1-runto-main.exp: New file.
8384 * gdb.perf/gmonster1-select-file.exp: New file.
8385 * gdb.perf/gmonster1.cc: New file.
8386 * gdb.perf/gmonster1.exp: New file.
8387 * gdb.perf/gmonster2-null-lookup.exp: New file.
8388 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8389 * gdb.perf/gmonster2-print-cerr.exp: New file.
8390 * gdb.perf/gmonster2-ptype-string.exp: New file.
8391 * gdb.perf/gmonster2-runto-main.exp: New file.
8392 * gdb.perf/gmonster2-select-file.exp: New file.
8393 * gdb.perf/gmonster2.cc: New file.
8394 * gdb.perf/gmonster2.exp: New file.
8395
8396 2015-07-24 Doug Evans <dje@google.com>
8397
8398 * gdb.perf/README: New file.
8399 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8400 * lib/gen-perf-test.exp: New file.
8401
8402 2015-07-24 Doug Evans <dje@google.com>
8403
8404 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8405 (PerfTest::startup): New function.
8406 (PerfTest::run): Return result of calling body.
8407 (PerfTest::assemble): Rewrite.
8408 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8409 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8410 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8411 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8412 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8413
8414 2015-07-24 Doug Evans <dje@google.com>
8415
8416 * lib/gdb.exp (clean_restart): Make executable optional.
8417
8418 2015-07-24 Doug Evans <dje@google.com>
8419
8420 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8421 compiler_info references.
8422 * gdb.cp/temargs.exp: Ditto.
8423 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8424 (get_compiler_info): Early exit if already computed. Set compiler_info
8425 to "unknown" if there was a problem.
8426 (test_compiler_info): Add function comment. Call get_compiler_info.
8427
8428 2015-07-24 Doug Evans <dje@google.com>
8429
8430 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8431 (workers/%.worker, build-perf): New rule.
8432 (GDB_PERFTEST_MODE): New variable.
8433 (check-perf): Use it.
8434 (clean): Clean up gdb.perf parallel build subdirs.
8435 * lib/build-piece.exp: New file.
8436 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8437 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8438 name.
8439 (standard_temp_file): Ditto.
8440 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8441 of $GDB_PARALLEL.
8442
8443 2015-07-24 Doug Evans <dje@google.com>
8444
8445 * lib/future.exp (gdb_default_target_compile): New option
8446 "early_flags".
8447 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8448 --as-needed.
8449
8450 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8451
8452 * gdb.base/catch-syscall.exp: Call gdb_exit before
8453 gdb_skip_xml_test.
8454
8455 2015-07-24 Pedro Alves <palves@redhat.com>
8456
8457 * gdb.python/py-events.exp: Accept output between the stop event
8458 and the prompt.
8459 * gdb.python/py-evsignal.exp: Likewise.
8460 * gdb.python/py-evthreads.exp: Likewise.
8461
8462 2015-07-24 Pedro Alves <palves@redhat.com>
8463
8464 PR gdb/18717
8465 * gdb.threads/non-ldr-exit.c: New file.
8466 * gdb.threads/non-ldr-exit.exp: New file.
8467
8468 2015-07-24 Yao Qi <yao.qi@linaro.org>
8469
8470 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8471 restarting process.
8472
8473 2015-07-24 Yao Qi <yao.qi@linaro.org>
8474
8475 * gdb.server/ext-restart.exp: New file.
8476
8477 2015-07-24 Yao Qi <yao.qi@linaro.org>
8478
8479 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8480 argument options.
8481 * gdb.server/ext-wrapper.exp: New file.
8482
8483 2015-07-23 Doug Evans <dje@google.com>
8484
8485 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8486 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8487
8488 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8489
8490 * gdb.ada/var_arr_typedef.exp: New testcase.
8491 * gdb.ada/var_arr_typedef/pack.adb: New file.
8492 * gdb.ada/var_arr_typedef/pack.ads: New file.
8493 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8494
8495 2015-07-20 Joel Brobecker <brobecker@adacore.com>
8496
8497 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8498
8499 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8500
8501 * gdb.arch/i386-biarch-core.exp: Replace istarget
8502 by "complete set gnutarget". Remove expectation for the "core-file"
8503 command.
8504
8505 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8506
8507 Revert the previous commit:
8508 Tests for validate symbol file using build-id.
8509
8510 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8511
8512 Tests for validate symbol file using build-id.
8513 * gdb.base/solib-mismatch-lib.c: New file.
8514 * gdb.base/solib-mismatch-libmod.c: New file.
8515 * gdb.base/solib-mismatch.c: New file.
8516 * gdb.base/solib-mismatch.exp: New file.
8517
8518 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8519
8520 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8521 nios2-*-linux*.
8522 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8523 * gdb.base/siginfo.exp: Likewise.
8524 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8525
8526 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8527
8528 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8529 Move it to ...
8530 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8531 ... here.
8532 * gdb.trace/range-stepping.exp: Check that the target supports
8533 range stepping.
8534
8535 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8536
8537 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8538
8539 2015-07-14 Pedro Alves <palves@redhat.com>
8540
8541 * gdb.base/killed-outside.exp: New file.
8542 * gdb.base/killed-outside.c: New file.
8543
8544 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8545
8546 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8547 (n at main): New.
8548 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8549
8550 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8551
8552 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8553 infcall tests instead of setting up for KFAIL.
8554
8555 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8556
8557 * gdb.btrace/record_goto-step.exp: New.
8558
8559 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8560
8561 PR compile/18484
8562 * gdb.compile/compile.c (struct struct_type): Add volatile to
8563 selffield's type.
8564 * gdb.compile/compile.exp
8565 (compile code struct_object.selffield = &struct_object): Skip further
8566 struct_object tests if this one xfails.
8567
8568 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
8569
8570 PR exp/18617
8571 * gdb.trace/ax.exp: Add test.
8572
8573 2015-07-07 Yao Qi <yao.qi@linaro.org>
8574
8575 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8576 instead of istarget "aarch64*-*-*".
8577 * gdb.arch/aarch64-fp.exp: Likewise.
8578 * gdb.base/float.exp: Likewise.
8579 * gdb.reverse/aarch64.exp: Likewise.
8580 * lib/gdb.exp (is_aarch64_target): New proc.
8581
8582 2015-07-07 Yao Qi <yao.qi@linaro.org>
8583
8584 * lib/gdb.exp (is_aarch32_target): New proc.
8585 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8586 instead of "istarget "arm*-*-*"".
8587 * gdb.arch/arm-disp-step.exp: Likewise.
8588 * gdb.arch/thumb-bx-pc.exp: Likewise.
8589 * gdb.arch/thumb-prologue.exp: Likewise.
8590 * gdb.arch/thumb-singlestep.exp: Likewise.
8591 * gdb.base/disp-step-syscall.exp: Likewise.
8592 * gdb.base/float.exp: Likewise.
8593
8594 2015-07-07 Yao Qi <yao.qi@linaro.org>
8595
8596 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8597 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8598
8599 2015-07-07 Yao Qi <yao.qi@linaro.org>
8600
8601 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8602 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8603 if it exists.
8604 * gdb.multi/multi-arch.exp: Likewise.
8605
8606 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8607
8608 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8609 print.
8610
8611 2015-07-07 Yao Qi <yao.qi@linaro.org>
8612
8613 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8614
8615 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8616
8617 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8618 '[' and ']' characters.
8619
8620 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8621
8622 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8623
8624 2015-06-29 Pedro Alves <palves@redhat.com>
8625
8626 PR threads/18127
8627 * gdb.threads/hand-call-new-thread.c: New file.
8628 * gdb.threads/hand-call-new-thread.c: New file.
8629
8630 2015-06-26 Keith Seitz <keiths@redhat.com>
8631 Doug Evans <dje@google.com>
8632
8633 PR 16253
8634 * gdb.cp/var-tag-2.cc: New file.
8635 * gdb.cp/var-tag-3.cc: New file.
8636 * gdb.cp/var-tag-4.cc: New file.
8637 * gdb.cp/var-tag.cc: New file.
8638 * gdb.cp/var-tag.exp: New file.
8639
8640 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8641
8642 * gdb.base/history-duplicates.exp: New test.
8643
8644 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8645
8646 * gdb.base/completion.exp: Test the completion of the "focus"
8647 command.
8648
8649 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8650
8651 * gdb.arch/amd64-prologue-skip.S: New file.
8652 * gdb.arch/amd64-prologue-skip.exp: New file.
8653
8654 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8655
8656 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8657 is_address_zero_readable check.
8658
8659 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8660
8661 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8662 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8663
8664 2015-06-24 Yao Qi <yao.qi@linaro.org>
8665
8666 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8667 linux targets.
8668
8669 2015-06-24 Yao Qi <yao.qi@linaro.org>
8670
8671 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8672 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8673 * gdb.base/siginfo-thread.exp: Likewise.
8674
8675 2015-06-22 Yao Qi <yao.qi@linaro.org>
8676
8677 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8678
8679 2015-06-22 Yao Qi <yao.qi@linaro.org>
8680
8681 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8682 aarch64*-*-*.
8683 (skip_hw_watchpoint_tests): Likewise.
8684
8685 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8686
8687 * gdb.base/gdbinit-history.exp: Test the interaction between
8688 setting GDBHISTSIZE and setting the history size via .gdbinit.
8689
8690 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8691
8692 PR gdb/16999
8693 * gdb.base/gdbhistsize-history.exp: New test.
8694
8695 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8696
8697 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8698 with GDBHISTSIZE.
8699 * gdb.base/readline.exp: Likewise.
8700
8701 2015-06-17 Yao Qi <yao.qi@linaro.org>
8702
8703 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8704 line.
8705
8706 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8707
8708 * gdb.base/gdbinit-history.exp: Add test case to check that
8709 an unlimited history file does not get truncated on exit.
8710
8711 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8712
8713 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8714 (VECTOR): New macro. Use it...
8715 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8716 ...for these typedefs.
8717 (int8, char1, int1, double1): New typedefs.
8718 (struct just_int2, struct two_int2): New structures.
8719 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8720 (add_structvecs, add_singlevecs): New functions.
8721 (main): Call add_some_intvecs twice.
8722 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8723 the compile and exit upon failure. Try compiling for the "native"
8724 architecture. Test inferior function calls with vector arguments
8725 and vector return value handling with "finish" and "return".
8726
8727 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8728
8729 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8730 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8731 PE file.
8732 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8733
8734 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8735
8736 PR breakpoints/16465
8737 * gdb.mi/mi-dprintf-pending.c: New file.
8738 * gdb.mi/mi-dprintf-pending.exp: New test.
8739 * gdb.mi/mi-dprintf-pendshr.c: New file.
8740
8741 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8742 Mircea Gherzan <mircea.gherzan@intel.com>
8743
8744 * gdb.arch/i386-mpx-map.c: New file.
8745 * gdb.arch/i386-mpx-map.exp: New File.
8746
8747 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8748
8749 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8750 * gdb.arch/i386-mpx.exp: Indentation fixed.
8751
8752 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8753
8754 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8755 function and improved indentation.
8756 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8757 gdb_test_multiple. Added additional tests to skip the test.
8758
8759 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8760
8761 * gdb.arch/i386-avx512.c: Change path in include file.
8762 * gdb.arch/i386-avx512.exp: Change include dir path
8763 compilation flag.
8764 * gdb.arch/i386-mpx.c: Change path in include file.
8765 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8766 flag.
8767
8768 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8769
8770 * gdb.compile/compile-print.exp (compile print *vararray@3)
8771 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8772
8773 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8774
8775 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8776 (do not keep jit in memory): ... this.
8777 (expect 5): Change it to ...
8778 (expect no 5): ... this.
8779
8780 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8781
8782 PR gdb/15564
8783 * gdb.mi/mi-detach.exp: New file.
8784
8785 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8786
8787 PR symtab/18392
8788 * gdb.arch/amd64-tailcall-self.S: New file.
8789 * gdb.arch/amd64-tailcall-self.c: New file.
8790 * gdb.arch/amd64-tailcall-self.exp: New file.
8791
8792 2015-05-28 Don Breazeal <donb@codesourcery.com>
8793
8794 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8795 tests for remote targets by checking is_target_gdbserver.
8796
8797 2015-05-27 Doug Evans <dje@google.com>
8798
8799 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8800 * gdb.dwarf2/opaque-type-lookup.c: New file.
8801 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8802
8803 2015-05-26 Doug Evans <dje@google.com>
8804
8805 * gdb.cp/iostream.cc: New file.
8806 * gdb.cp/iostream.exp: New file.
8807
8808 2015-05-26 Doug Evans <dje@google.com>
8809
8810 * gdb.dwarf2/dw2-op-call.exp: Update.
8811 * gdb.dwarf2/dw4-sig-types.exp: Update.
8812 * gdb.dwarf2/implptr.exp: Update.
8813 * gdb.mi/mi-cmd-param-changed.exp: Update.
8814
8815 2015-05-26 Doug Evans <dje@google.com>
8816
8817 * gdb.python/py-lazy-string.c: New file.
8818 * gdb.python/py-lazy-string.exp: New file.
8819 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8820 (main): Update. Add estring3.
8821 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8822 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8823
8824 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8825 Yao Qi <yao.qi@linaro.org>
8826
8827 * gdb.reverse/aarch64.c: New.
8828 * gdb.reverse/aarch64.exp: New.
8829
8830 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8831
8832 * lib/gdb.exp (supports_process_record): Return true for
8833 aarch64*-linux*.
8834 (supports_reverse): Likewise.
8835
8836 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8837
8838 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8839 Use with_test_prefix.
8840
8841 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8842
8843 * gdb.base/completion.exp: Add test for completion of layout
8844 names.
8845
8846 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8847
8848 * lib/gdb.exp (skip_tui_tests): New proc.
8849 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8850
8851 2015-05-19 Pedro Alves <palves@redhat.com>
8852
8853 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8854 Save the whole env array instead of just HOME. Unset HISTSIZE in
8855 the environment while testing. Restore whole environment
8856 afterwards.
8857
8858 2015-05-16 Doug Evans <xdje42@gmail.com>
8859
8860 * gdb.guile/scm-ports.c: New file.
8861 * gdb.guile/scm-ports.exp: Add memory port tests.
8862
8863 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8864
8865 * gdb.compile/compile-print.c: New file.
8866 * gdb.compile/compile-print.exp: New file.
8867
8868 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8869
8870 * gdb.compile/compile-ops.exp: Cast param to void.
8871 * gdb.compile/compile.exp: Complete type for _gdb_expr.
8872 (compile code struct_object.selffield = &struct_object): Add xfail.
8873
8874 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8875
8876 * gdb.ada/arr_enum_with_gap: New testcase.
8877
8878 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8879
8880 * gdb.ada/byte_packed_arr: New testcase.
8881
8882 2015-05-15 Joel Brobecker <brobecker@adacore.com>
8883
8884 * gdb.ada/pckd_neg: New testcase.
8885
8886 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
8887
8888 PR gdb/17820
8889 * gdb.base/gdbinit-history.exp: New test.
8890 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
8891 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
8892
8893 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
8894
8895 * gdb.python/py-xmethods.cc: Enhance test case.
8896 * gdb.python/py-xmethods.exp: New tests.
8897 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
8898 function.
8899 (B_indexoper): Likewise.
8900 (global_dm_list) : Add new xmethod worker functions.
8901
8902 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
8903
8904 * gdb.base/coredump-filter.exp: Correctly unset
8905 "coredump_var_addr" array.
8906
8907 2015-05-08 Pedro Alves <palves@redhat.com>
8908
8909 * gdb.server/non-existing-program.exp: Unset spawn_id.
8910
8911 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
8912
8913 PR python/18291
8914 * gdb.python/py-xmethods.exp: Add tests.
8915
8916 2015-05-08 Yao Qi <yao.qi@linaro.org>
8917
8918 PR gdb/18208
8919 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
8920 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
8921 function set_coredump_filter, and remove remote_exec call.
8922 Remove argument ipid. Callers update.
8923 (top level): Don't get inferior's PID.
8924
8925 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
8926
8927 * gdb.base/watch_thread_num.exp: Skip test on targets without
8928 access watchpoints.
8929
8930 2015-05-06 Pedro Alves <palves@redhat.com>
8931
8932 PR server/18081
8933 * gdb.server/non-existing-program.exp: New file.
8934
8935 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8936
8937 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
8938
8939 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8940
8941 * gdb.ada/out_of_line_in_inlined: New testcase.
8942
8943 2015-05-05 Joel Brobecker <brobecker@adacore.com>
8944
8945 * gdb.ada/var_rec_arr: New testcase.
8946
8947 2015-04-30 Yao Qi <yao.qi@linaro.org>
8948
8949 * gdb.base/break-idempotent.exp: If
8950 skip_hw_watchpoint_multi_tests returns true, skip the tests
8951 on "rwatch" and "awatch".
8952
8953 2015-04-30 Yao Qi <yao.qi@linaro.org>
8954
8955 * gdb.base/relativedebug.exp: Invoke gdb command
8956 "info sharedlibrary", and if libc.so doesn't have debug info,
8957 skip the test.
8958
8959 2015-04-29 Doug Evans <dje@google.com>
8960
8961 * gdb.python/py-xmethods.exp: Add ptype tests.
8962 * gdb.python/py-xmethods.py (E_method_char_worker): Add
8963 get_result_type method.
8964
8965 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8966
8967 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
8968 the target does not support hardware watchpoints.
8969
8970 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
8971
8972 * gdb.base/break-always.exp: Abort testing if writing to memory
8973 causes an error.
8974
8975 2015-04-28 Doug Evans <dje@google.com>
8976
8977 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
8978 * gdb.python/py-pp-registration.exp: ... here. New file.
8979 * gdb.python/py-pp-registration.c: New file.
8980 * gdb.python/py-pp-registration.py: New file.
8981
8982 2015-04-28 Doug Evans <dje@google.com>
8983
8984 * gdb.python/py-bad-printers.c: New file.
8985 * gdb.python/py-bad-printers.py: New file.
8986 * gdb.python/py-bad-printers.exp: New file.
8987
8988 2015-04-28 Sasha Smundak <asmundak@google.com>
8989
8990 * gdb.python/py-type.exp: New test.
8991
8992 2015-04-28 Andy Wingo <wingo@igalia.com>
8993
8994 * gdb.python/py-parameter.exp:
8995 * gdb.guile/scm-parameter.exp: Escape the path that we are
8996 matching against, as it might contain characters that are special
8997 to regular expressions.
8998
8999 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9000
9001 * gdb.ada/rec_comp: New testcase.
9002
9003 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9004
9005 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9006 before using it.
9007
9008 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9009
9010 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9011 new tests for verilog output.
9012
9013 2015-04-24 Yao Qi <yao.qi@linaro.org>
9014
9015 * boards/remote-gdbserver-on-localhost.exp: New file.
9016
9017 2015-04-23 Pedro Alves <palves@redhat.com>
9018
9019 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9020 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9021 "end of file", remove $inferior_spawn_id from the indirect list.
9022
9023 2015-04-23 Pedro Alves <palves@redhat.com>
9024
9025 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9026
9027 2015-04-23 Pedro Alves <palves@redhat.com>
9028
9029 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9030 on $any_spawn_id instead of only on $gdb_spawn_id.
9031
9032 2015-04-21 Pierre Muller <muller@sourceware.org>
9033
9034 PR pascal/17815
9035 * lib/pascal.exp (gpc_compile): Add new option "class".
9036 (fpc_compile): Likewise.
9037 * gdb.pascal/case-insensitive-symbols.pas: New file.
9038 * gdb.pascal/case-insensitive-symbols.exp: New file.
9039
9040 2015-04-20 Gary Benson <gbenson@redhat.com>
9041
9042 * gdb.base/attach.exp: Fix three extended remote failures.
9043
9044 2015-04-17 Gary Benson <gbenson@redhat.com>
9045
9046 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9047 the main executable over the remote protocol.
9048
9049 2015-04-16 Pedro Alves <palves@redhat.com>
9050
9051 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9052 a new gdbserver if gdbserver_reconnect_p is set.
9053
9054 2015-04-16 Pedro Alves <palves@redhat.com>
9055
9056 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9057 is set, don't exit gdbserver.
9058
9059 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9060
9061 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9062 appropriate .insn, such that an older assembler can be used.
9063 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9064 the z/Architecture instruction set on 31-bit targets as well.
9065
9066 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9067
9068 * gdb.go/handcall.exp: Remove all logic related to the first
9069 breakpoint and rely on go_runto_main instead.
9070 * gdb.go/strings.exp: Likewise.
9071 * gdb.go/unsafe.exp: Likewise.
9072 * gdb.go/hello.exp: Likewise. Also rename the remaining
9073 breakpoint marker to "breakpoint 1".
9074 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9075 * gdb.go/strings.go: Likewise.
9076 * gdb.go/unsafe.go: Likewise.
9077 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9078 "set breakpoint 2 here" and rename the remaining breakpoint marker
9079 to "breakpoint 1".
9080
9081 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9082
9083 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9084 if itertools.imap is not present.
9085 * gdb.python/py-objfile.exp: Add parentheses.
9086 * gdb.python/py-type.exp: Same.
9087 * gdb.python/py-unwind-maint.py: Same.
9088
9089 2015-04-15 Yao Qi <yao.qi@linaro.org>
9090
9091 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9092 of ":$ptr_size" and set its form explicitly.
9093
9094 2015-04-15 Pedro Alves <palves@redhat.com>
9095 Yao Qi <yao.qi@linaro.org>
9096
9097 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9098 timeout by factor of 4.
9099 (test_regular_watch): Likewise.
9100 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9101 * gdb.reverse/sigall-reverse.exp: Likewise.
9102 * gdb.reverse/until-precsave.exp: Likewise.
9103 * lib/gdb.exp (with_timeout_factor): New proc.
9104 (gdb_expect): Move some code to ...
9105 (get_largest_timeout): ... here. New procedure.
9106
9107 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9108
9109 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9110
9111 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9112
9113 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9114 to write to the .text section.
9115
9116 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9117
9118 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9119 Handle the case of targets that do not provide PID information.
9120
9121 2015-04-13 Yao Qi <yao.qi@linaro.org>
9122
9123 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9124 and use expect instead of gdb_expect.
9125
9126 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9127
9128 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9129 "coredump_var_addr" to avoid naming conflict with other testcases.
9130
9131 2015-04-10 Pedro Alves <palves@redhat.com>
9132
9133 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9134 gdb_test_sequence and gdb_assert.
9135
9136 2015-04-10 Pedro Alves <palves@redhat.com>
9137
9138 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9139 test messages that don't include the breakpoint address.
9140
9141 2015-04-10 Yao Qi <yao.qi@linaro.org>
9142
9143 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9144 false for some offset and width combinations which aren't
9145 supported by linux kernel.
9146
9147 2015-04-10 Pedro Alves <palves@redhat.com>
9148
9149 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9150 procedure, factored out from ...
9151 (top level): ... here. Add "set displaced-stepping" testing axis.
9152 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9153 parameter "displaced". Use it.
9154 (top level): Use foreach and add "set displaced-stepping" testing
9155 axis.
9156
9157 2015-04-10 Pedro Alves <palves@redhat.com>
9158
9159 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9160 Remove comment.
9161 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9162 both the address of the instruction that triggers the watchpoint
9163 and the address of the instruction immediately after, and use
9164 those addresses for the test. Fix comment.
9165
9166 2015-04-10 Pedro Alves <palves@redhat.com>
9167
9168 * gdb.base/sigstep.exp (breakpoint_to_handler)
9169 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9170 Test "backtrace" in handler.
9171 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9172 (top level): Add new "displaced" test axis to
9173 breakpoint_to_handler, breakpoint_to_handler_entry and
9174 breakpoint_over_handler.
9175
9176 2015-04-10 Pedro Alves <palves@redhat.com>
9177
9178 PR gdb/18216
9179 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9180
9181 2015-04-10 Yao Qi <yao.qi@linaro.org>
9182
9183 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9184 (test_add_rn_pc): New function.
9185 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9186 (top level): Invoke test_add_rn_pc.
9187
9188 2015-04-10 Pedro Alves <palves@redhat.com>
9189
9190 PR gdb/13858
9191 * gdb.base/step-over-no-symbols.exp: New file.
9192
9193 2015-04-09 Andy Wingo <wingo@igalia.com>
9194
9195 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9196 after the Python tests.
9197
9198 2015-04-08 Keith Seitz <keiths@redhat.com>
9199
9200 PR python/16699
9201 * gdb.python/py-completion.exp: New tests for completion.
9202 * gdb.python/py-completion.py (CompleteLimit1): New class.
9203 (CompleteLimit2): Likewise.
9204 (CompleteLimit3): Likewise.
9205 (CompleteLimit4): Likewise.
9206 (CompleteLimit5): Likewise.
9207 (CompleteLimit6): Likewise.
9208 (CompleteLimit7): Likewise.
9209
9210 2015-04-08 Pedro Alves <palves@redhat.com>
9211
9212 PR gdb/18214
9213 PR gdb/18216
9214 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9215 function.
9216 (main): Install it as SIGUSR1 handler.
9217 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9218 parameter. Always use "setup" as prefix. Toggle "set
9219 displaced-stepping" off/on depending on global. Don't switch to
9220 thread 1 here.
9221 (top level): Add displaced stepping "off/on" test axis. Update
9222 "setup" calls. Wrap each subtest with with_test_prefix. Test
9223 continuing with a queued signal in each thread.
9224
9225 2015-04-08 Pedro Alves <palves@redhat.com>
9226
9227 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9228 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9229 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9230 Return early if running to main fails.
9231 * gdb.trace/while-stepping.exp: Likewise.
9232
9233 2015-04-07 Pedro Alves <palves@redhat.com>
9234
9235 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9236 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9237 interact with inferior program.
9238
9239 2015-04-07 Pedro Alves <palves@redhat.com>
9240
9241 * lib/gdb.exp (inferior_spawn_id): New global.
9242 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9243 spawn id after processing the user code.
9244 (default_gdb_start): Set inferior_spawn_id.
9245 (send_inferior): New procedure.
9246 * lib/gdbserver-support.exp (gdbserver_start): Set
9247 inferior_spawn_id.
9248 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9249
9250 2015-04-07 Pedro Alves <palves@redhat.com>
9251
9252 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9253 * lib/gdbserver-support.exp (gdbserver_start): Make
9254 $server_spawn_id global.
9255 (gdbserver_start): Don't wait for gdbserver's spawn id with
9256 expect_background.
9257 (close_gdbserver): New procedure.
9258 (gdb_exit): Rename the default version and reimplement.
9259
9260 2015-04-07 Pedro Alves <palves@redhat.com>
9261
9262 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
9263 append the substituted item, not the original item.
9264
9265 2015-04-07 Pedro Alves <palves@redhat.com>
9266
9267 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9268 gdb_expect.
9269
9270 2015-04-07 Pedro Alves <palves@redhat.com>
9271
9272 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9273 output appearing once only.
9274
9275 2015-04-07 Pedro Alves <palves@redhat.com>
9276
9277 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9278 that doesn't expect anything. Return early if running to main
9279 fails.
9280
9281 2015-04-07 Yao Qi <yao.qi@linaro.org>
9282
9283 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9284 (child_function): Call alarm.
9285 (main): Move call to alarm into the loop.
9286 * gdb.threads/non-stop-fair-events.exp: Build program with
9287 -DTIMEOUT=$timeout.
9288
9289 2015-04-06 Doug Evans <xdje42@gmail.com>
9290
9291 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9292 Fix dest parameter to board_info.
9293 (fpc_compile): Ditto.
9294 (gdb_compile_pascal): Rename dest arg to destfile.
9295
9296 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9297
9298 * gdb.ada/funcall_ref.exp: New file.
9299 * gdb.ada/funcall_ref/foo.adb: New file.
9300
9301 2015-04-02 Yao Qi <yao.qi@linaro.org>
9302
9303 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9304 is remote.
9305
9306 2015-04-02 Gary Benson <gbenson@redhat.com>
9307
9308 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9309
9310 2015-04-01 Sasha Smundak <asmundak@google.com>
9311
9312 * gdb.python/py-unwind-maint.c: New file.
9313 * gdb.python/py-unwind-maint.exp: New test.
9314 * gdb.python/py-unwind-maint.py: New file.
9315 * gdb.python/py-unwind.c: New file.
9316 * gdb.python/py-unwind.exp: New test.
9317 * gdb.python/py-unwind.py: New test.
9318
9319 2015-04-01 Pedro Alves <palves@redhat.com>
9320
9321 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9322 to fail instead of non-existent $test.
9323
9324 2015-04-01 Pedro Alves <palves@redhat.com>
9325
9326 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9327 GDBFLAGS if not empty.
9328
9329 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9330
9331 * gdb.ada/complete.exp: Remove "multi_line".
9332 * gdb.ada/info_exc.exp: Remove "multi_line".
9333 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9334 * gdb.ada/ptype_field.exp: Remove "multi_line".
9335 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9336 * gdb.ada/tagged.exp: Remove "multi_line".
9337 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9338 [multi_line ...]
9339 * gdb.btrace/delta.exp: Likewise.
9340 * gdb.btrace/exception.exp: Likewise.
9341 * gdb.btrace/function_call_history.exp: Likewise.
9342 * gdb.btrace/instruction_history.exp: Likewise.
9343 * gdb.btrace/nohist.exp: Likewise.
9344 * gdb.btrace/record_goto.exp: Likewise.
9345 * gdb.btrace/segv.exp: Likewise.
9346 * gdb.btrace/stepi.exp: Likewise.
9347 * gdb.btrace/tailcall.exp: Likewise.
9348 * gdb.btrace/unknown_functions.exp: Likewise.
9349 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9350 * lib/gdb.exp: Add the "multi_line" helper.
9351
9352 2015-04-01 Pedro Alves <palves@redhat.com>
9353
9354 * gdb.threads/tid-reuse.c: New file.
9355 * gdb.threads/tid-reuse.exp: New file.
9356
9357 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9358
9359 PR corefiles/16092
9360 * gdb.base/coredump-filter.c: New file.
9361 * gdb.base/coredump-filter.exp: Likewise.
9362
9363 2015-03-27 Petr Machata <pmachata@redhat.com>
9364
9365 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9366 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9367 (Dwarf::assemble): Initialize them.
9368 (Dwarf::lines): New function.
9369
9370 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9371
9372 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9373 SYMBOL_PREFIX for x86_64-*-cygwin.
9374
9375 2015-03-26 Andy Wingo <wingo@igalia.com>
9376
9377 PR symtab/18148
9378 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9379 const_value but not a location.
9380 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9381 location defined in non-main CUs are visible.
9382
9383 2015-03-26 Yao Qi <yao.qi@linaro.org>
9384
9385 PR testsuite/18139
9386 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9387 Add a line number entry for the same line.
9388 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9389 Add a line number entry for the same line.
9390
9391 2015-03-26 Yao Qi <yao.qi@linaro.org>
9392
9393 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9394 .int 0.
9395 (func): Likewise. Add .Lfunc_1 label.
9396 Use .Lfunc_1 label.
9397 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9398 .int 0.
9399 (func): Likewise.
9400 Use .Lfunc_1 label.
9401
9402 2015-03-26 Yao Qi <yao.qi@linaro.org>
9403
9404 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9405 Call gdb_compile instead to compile each .s files without debug
9406 information.
9407
9408 2015-03-26 Yao Qi <yao.qi@linaro.org>
9409
9410 * gdb.base/savedregs.exp (process_saved_regs): Make
9411 "Saved registers:" optional in the pattern.
9412
9413 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9414
9415 * gdb.btrace/next.exp: Merged into step.exp.
9416 * gdb.btrace/finish.exp: Merged into step.exp.
9417 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9418 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9419 "record goto" and checking the exact replay position.
9420 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9421 check for "Recording format" in "info record" output.
9422 * gdb.btrace/record_goto.exp: Choose test file based on target.
9423 * gdb.btrace/x86-record_goto.S: Renamed into ...
9424 * gdb.btrace/x86_64-record_goto.S: ... this.
9425 * gdb.btrace/i686-record_goto.S: New.
9426 * gdb.btrace/x86-tailcall.S: Renamed into ...
9427 * gdb.btrace/x86_64-tailcall.S: ... this.
9428 * gdb.btrace/i686-tailcall.S: New.
9429 * gdb.btrace/x86-tailcall.c: Renamed into ...
9430 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9431 separate statements. Update test.
9432 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9433 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9434 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9435 * gdb.btrace/tailcall.exp: Choose test file based on target.
9436 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9437
9438 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9439
9440 * gdb.btrace/exception.exp: Increase BTS buffer size.
9441
9442 2015-03-24 Pedro Alves <palves@redhat.com>
9443
9444 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9445
9446 2015-03-24 Pedro Alves <palves@redhat.com>
9447
9448 * gdb.threads/schedlock.exp (test_step): No longer expect that
9449 "set scheduler-locking step" with "next" over a function call runs
9450 threads unlocked.
9451
9452 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9453
9454 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9455
9456 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9457
9458 PR breakpoints/16466
9459 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9460 * gdb.mi/mi-pending.c (thread_func): New function.
9461 (int main): Add threading support required.
9462 * gdb.mi/mi-pending.exp: Add tests for this issue.
9463 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9464 (pendfunc2): Remove stdio dependency.
9465 * gdb.mi/mi-pendshr2.c: New file.
9466
9467 2015-03-23 Keith Seitz <keiths@redhat.com>
9468
9469 * gdb.linespec/keywords.c: New file.
9470 * gdb.linespec/keywords.exp: New file.
9471
9472 2015-03-23 Keith Seitz <keiths@redhat.com>
9473
9474 PR gdb/18021
9475 * gdb.dwarf2/staticvirtual.exp: New test.
9476
9477 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9478
9479 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9480 * README: Remove HP-UX and gdb.hp.
9481 (configuration):
9482 * configure: Regenerate.
9483 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9484 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9485 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9486 gdb.hp/gdb.defects/Makefile.
9487 * gdb.hp/Makefile.in: File deleted.
9488 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9489 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9490 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9491 * gdb.hp/gdb.aCC/run.c: File deleted.
9492 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9493 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9494 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9495 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9496 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9497 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9498 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9499 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9500 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9501 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9502 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9503 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9504 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9505 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9506 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9507 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9508 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9509 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9510 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9511 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9512 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9513 * gdb.hp/gdb.compat/average.c: File deleted.
9514 * gdb.hp/gdb.compat/sum.c: File deleted.
9515 * gdb.hp/gdb.compat/xdb.c: File deleted.
9516 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9517 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9518 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9519 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9520 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9521 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9522 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9523 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9524 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9525 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9526 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9527 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9528 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9529 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9530 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9531 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9532 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9533 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9534 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9535 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9536 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9537 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9538 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9539 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9540 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9541 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9542 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9543 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9544 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9545 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9546 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9547 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9548 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9549 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9550 * gdb.hp/tools/odump: File deleted.
9551
9552 2015-03-19 Pedro Alves <palves@redhat.com>
9553
9554 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9555 (saw_thread_3): New globals.
9556 (top level): Increment them when an event for the corresponding
9557 thread is seen.
9558 (no thread starvation): New test.
9559
9560 2015-03-19 Pedro Alves <palves@redhat.com>
9561
9562 * gdb.threads/continue-pending-status.c: New file.
9563 * gdb.threads/continue-pending-status.exp: New file.
9564
9565 2015-03-18 Pedro Alves <palves@redhat.com>
9566
9567 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9568 Use gdb_is_target_remote instead of is_remote. Use
9569 gdb_test_multiple instead of gdb_expect. Exit early if
9570 gdb_test_multiple hits its internal matches. Tighten stepi tests
9571 expected output. Fail on exit with any signal, instead of just
9572 SIGILL.
9573
9574 2015-03-18 Yao Qi <yao.qi@linaro.org>
9575
9576 PR tdep/18107
9577 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9578 variable.
9579 * gdb.base/catch-syscall.exp: Don't skip it on
9580 aarch64*-*-linux* target. Remove elements in all_syscalls.
9581 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9582 target.
9583 (setup_all_syscalls): New proc.
9584
9585 2015-03-16 Yao Qi <yao.qi@linaro.org>
9586
9587 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9588 (top level): Skip tests if valid_addr_p returns false for
9589 $cmd1 or $cmd2.
9590
9591 2015-03-11 Andy Wingo <wingo@igalia.com>
9592
9593 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9594
9595 2015-03-11 Yao Qi <yao.qi@linaro.org>
9596
9597 * gdb.base/catch-syscall.exp: Fix typo in comments.
9598
9599 2015-03-11 Yao Qi <yao.qi@linaro.org>
9600
9601 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9602
9603 2015-03-09 Pedro Alves <palves@redhat.com>
9604
9605 * dg-extract-results.py: Delete.
9606
9607 2015-03-09 Pedro Alves <palves@redhat.com>
9608
9609 Merge dg-extract-results.sh from GCC upstream (r218843).
9610
9611 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9612 * dg-extract-results.sh: Use --text with grep to avoid issues with
9613 binary files. Fall back to cat -v, if that doesn't work.
9614
9615 2015-03-05 Pedro Alves <palves@redhat.com>
9616
9617 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9618
9619 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9620
9621 * lib/mi-support.exp (mi_expect_interrupt): Accept
9622 alternative event for when in all-stop mode.
9623
9624 2015-03-04 Pedro Alves <palves@redhat.com>
9625
9626 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9627
9628 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9629
9630 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9631
9632 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9633
9634 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9635 regexps for GDB's current line display, accept a hex address
9636 preceding the line number.
9637
9638 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9639
9640 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9641 the 'arch1' variable for "s390*-linux*" targets.
9642
9643 2015-03-04 Pedro Alves <palves@redhat.com>
9644
9645 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9646 (main): Pass missing retval argument to pthread_join call.
9647
9648 2015-03-02 Pedro Alves <palves@redhat.com>
9649
9650 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9651 (top level): Call do_test with non-stop as well.
9652
9653 2015-03-02 Pedro Alves <palves@redhat.com>
9654
9655 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9656 -1.
9657
9658 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9659
9660 * gdb.arch/s390-vregs.exp: New test.
9661 * gdb.arch/s390-vregs.S: New file.
9662
9663 2015-02-27 Pedro Alves <palves@redhat.com>
9664
9665 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9666 call to catch_command_errors.
9667 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9668 catch_command_errors.
9669
9670 2015-02-27 Pedro Alves <palves@redhat.com>
9671
9672 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9673 "true" for boolean result.
9674 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9675 prototype of main.
9676
9677 2015-02-27 Pedro Alves <palves@redhat.com>
9678
9679 * lib/unbuffer_output.c: New file.
9680 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9681 (main): Call gdb_unbuffer_output.
9682
9683 2015-02-27 Yao Qi <yao.qi@linaro.org>
9684
9685 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9686 target.
9687
9688 2015-02-26 Doug Evans <dje@google.com>
9689
9690 * gdb.cp/class2.cc (Dbase, D): New classes.
9691 (main): New local delta.
9692 * gdb.cp/class2.exp: Test printing delta.
9693 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9694 (dynbar): New global.
9695 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9696
9697 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9698
9699 * gdb.compile/compile-ifunc.c: New file.
9700 * gdb.compile/compile-ifunc.exp: New file.
9701
9702 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9703
9704 * gdb.base/structs.exp: Check for correct struct on finish.
9705
9706 2015-02-26 Yao Qi <yao.qi@linaro.org>
9707
9708 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9709 is zero.
9710
9711 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9712
9713 * gdb.arch/cordic.ko.bz2: New file.
9714 * gdb.arch/cordic.ko.debug.bz2: New file.
9715 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9716
9717 2015-02-25 Yao Qi <yao.qi@linaro.org>
9718
9719 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9720 aarch64*-*-* target.
9721
9722 2015-02-23 Pedro Alves <palves@redhat.com>
9723
9724 * lib/gdb.exp (delete_breakpoints): Rewrite using
9725 gdb_test_multiple.
9726
9727 2015-02-23 Pedro Alves <palves@redhat.com>
9728
9729 * gdb.base/info-os.c: Include stdlib.h.
9730
9731 2015-02-22 Doug Evans <xdje42@gmail.com>
9732
9733 PR symtab/17855
9734 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9735 is read after symbols have been re-read.
9736 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9737 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9738
9739 2015-02-21 Doug Evans <dje@google.com>
9740
9741 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9742
9743 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9744
9745 PR corefiles/17808
9746 * gdb.arch/i386-biarch-core.core.bz2: New file.
9747 * gdb.arch/i386-biarch-core.exp: New file.
9748
9749 2015-02-21 Pedro Alves <palves@redhat.com>
9750
9751 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9752 runto_main fails.
9753
9754 2015-02-20 Pedro Alves <palves@redhat.com>
9755
9756 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9757 info probes.
9758
9759 2015-02-20 Pedro Alves <palves@redhat.com>
9760
9761 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9762
9763 2015-02-20 Pedro Alves <palves@redhat.com>
9764
9765 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9766 clean_restart before gdb_target_supports_trace.
9767
9768 2015-02-20 Pedro Alves <palves@redhat.com>
9769
9770 PR threads/18006
9771 * gdb.threads/clone-thread_db.c: New file.
9772 * gdb.threads/clone-thread_db.exp: New file.
9773
9774 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9775
9776 PR breakpoints/16812
9777 * gdb.base/catch-gdb-caused-signals.c: New file.
9778 * gdb.base/catch-gdb-caused-signals.exp: New file.
9779
9780 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9781
9782 * configure: Regenerated.
9783 * configure.ac: Use GDB_AC_TRANSFORM.
9784 * aclocal.m4: sinclude ../transform.m4.
9785
9786 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9787
9788 * lib/dtrace.exp: New file.
9789 * gdb.base/dtrace-probe.exp: Likewise.
9790 * gdb.base/dtrace-probe.d: Likewise.
9791 * gdb.base/dtrace-probe.c: Likewise.
9792 * lib/pdtrace.in: Likewise.
9793 * configure.ac: Output variables with the transformed names of
9794 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9795 * configure: Regenerated.
9796
9797 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9798
9799 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9800 expected message when trying to access $_probe_* convenience
9801 variables while not on a probe.
9802
9803 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9804
9805 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9806
9807 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9808
9809 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9810 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9811
9812 2015-02-10 Doug Evans <xdje42@gmail.com>
9813
9814 * lib/gdb.exp (gdb_load): Always return a result.
9815
9816 2015-02-10 Pedro Alves <palves@redhat.com>
9817
9818 * gdb.threads/signal-sigtrap.c: New file.
9819 * gdb.threads/signal-sigtrap.exp: New file.
9820
9821 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9822
9823 * gdb.trace/no-attach-trace.c: New file.
9824 * gdb.trace/no-attach-trace.exp: New file.
9825
9826 2015-02-09 Mark Wielaard <mjw@redhat.com>
9827
9828 * gdb.dwarf2/atomic.c: New file.
9829 * gdb.dwarf2/atomic-type.exp: Likewise.
9830
9831 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9832
9833 * gdb.btrace/buffer-size.exp: Update "info record" output.
9834 * gdb.btrace/delta.exp: Update "info record" output.
9835 * gdb.btrace/enable.exp: Update "info record" output.
9836 * gdb.btrace/finish.exp: Update "info record" output.
9837 * gdb.btrace/instruction_history.exp: Update "info record" output.
9838 * gdb.btrace/next.exp: Update "info record" output.
9839 * gdb.btrace/nexti.exp: Update "info record" output.
9840 * gdb.btrace/step.exp: Update "info record" output.
9841 * gdb.btrace/stepi.exp: Update "info record" output.
9842 * gdb.btrace/nohist.exp: Update "info record" output.
9843
9844 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9845
9846 * gdb.btrace/buffer-size: New.
9847
9848 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9849
9850 * gdb.btrace/delta.exp: Update "info record" output.
9851 * gdb.btrace/enable.exp: Update "info record" output.
9852 * gdb.btrace/finish.exp: Update "info record" output.
9853 * gdb.btrace/instruction_history.exp: Update "info record" output.
9854 * gdb.btrace/next.exp: Update "info record" output.
9855 * gdb.btrace/nexti.exp: Update "info record" output.
9856 * gdb.btrace/step.exp: Update "info record" output.
9857 * gdb.btrace/stepi.exp: Update "info record" output.
9858 * gdb.btrace/nohist.exp: Update "info record" output.
9859
9860 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9861
9862 PR gdb/15678
9863 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
9864
9865 2015-02-06 Pedro Alves <palves@redhat.com>
9866
9867 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
9868 macro.
9869 (seconds_left, again): New globals.
9870 (main): Wait seconds_left in a 1-second sleep loop instead of
9871 sleeping 180 seconds. If 'again' is set, reset the seconds
9872 counter.
9873 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
9874 'again' in the inferior before detaching. Print the seconds left.
9875 (options): New global.
9876 (top level): Build program with -DTIMEOUT=$timeout.
9877
9878 2015-02-06 Pedro Alves <palves@redhat.com>
9879
9880 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
9881 determine how many seconds to pass to 'alarm'.
9882 * gdb.base/gdb-sigterm.exp (top level): Build program with
9883 -DTIMEOUT=$timeout.
9884 (do_test): Return success/failure indication. Add more verbose
9885 logging. Don't fail if 200 single steps are seen. Instead, fail
9886 when the test times out.
9887 (passes): New global.
9888 (top level): Break the testing loop if testing fails on any
9889 iteration. Use gdb_assert.
9890
9891 2015-02-04 Don Breazeal <donb@codesourcery.com>
9892
9893 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
9894 and initialize them.
9895 (ipc_cleanup): New function.
9896 (main): Don't declare shmid, semid, and msqid. Add a call to
9897 atexit so that we call ipc_cleanup on exit.
9898
9899 2015-02-04 Pedro Alves <palves@redhat.com>
9900
9901 * boards/native-extended-gdbserver.exp: Remove any target variant
9902 specifications from the board name before clearing the isremote
9903 flag from board_info.
9904
9905 2015-01-31 Doug Evans <xdje42@gmail.com>
9906
9907 * gdb.base/maint.exp <maint print type argc>: Update expected output.
9908
9909 2015-01-31 Gary Benson <gbenson@redhat.com>
9910
9911 * gdb.base/completion.exp: Disable completion limiting for
9912 existing tests. Add new tests to check completion limiting.
9913 * gdb.linespec/ls-errs.exp: Disable completion limiting.
9914
9915 2015-01-31 Doug Evans <xdje42@gmail.com>
9916
9917 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
9918
9919 2015-01-31 Doug Evans <xdje42@gmail.com>
9920
9921 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
9922 entries. Duplicate file section script entries.
9923 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
9924 inlined entries. Add test for safe-path rejection.
9925 * gdb.python/py-section-script.c: Add duplicate inlined section script
9926 entries. Duplicate file section script entries.
9927 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
9928 inlined entries. Add test for safe-path rejection.
9929
9930 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9931
9932 * gdb.ada/disc_arr_bound: New testcase.
9933
9934 2015-01-29 Joel Brobecker <brobecker@adacore.com>
9935
9936 * gdb.ada/mi_var_array: New testcase.
9937
9938 2015-01-27 Doug Evans <dje@google.com>
9939
9940 * gdb.python/py-objfile.exp: Add tests for objfile.username.
9941 Add test for objfile.filename, objfile.username after objfile
9942 has been unloaded.
9943
9944 2015-01-26 Joel Brobecker <brobecker@adacore.com>
9945
9946 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
9947 the second test to print the name attribute of value
9948 returned by the call to gdb.lookup_type, and adjust
9949 the expected output accordingly.
9950
9951 2015-01-25 Mark Wielaard <mjw@redhat.com>
9952
9953 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
9954 * gdb.base/disp-step-fork.c: Include unistd.h.
9955 * gdb.base/siginfo-obj.c: Include stdio.h.
9956 * gdb.base/siginfo-thread.c: Likewise.
9957 * gdb.mi/non-stop.c: Include unistd.h.
9958 * gdb.mi/nsthrexec.c: Include stdio.h.
9959 * gdb.mi/pthreads.c: Include unistd.h.
9960 * gdb.modula2/unbounded1.c (main): Declare returns int.
9961 * gdb.reverse/consecutive-reverse.c: Likewise.
9962 * gdb.threads/create-fail.c: Include unistd.h.
9963 * gdb.threads/killed.c: Likewise.
9964 * gdb.threads/linux-dp.c: Likewise.
9965 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
9966 * gdb.threads/non-ldr-exc-2.c: Likewise.
9967 * gdb.threads/non-ldr-exc-3.c: Likewise.
9968 * gdb.threads/non-ldr-exc-4.c: Likewise.
9969 * gdb.threads/pthreads.c: Include unistd.h.
9970 (main): Declare returns int.
9971 * gdb.threads/tls-main.c (foo): New declaration.
9972 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
9973
9974 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
9975
9976 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
9977 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
9978
9979 2015-01-15 Mark Wielaard <mjw@redhat.com>
9980
9981 * gdb.base/noreturn-return.c: New file.
9982 * gdb.base/noreturn-return.exp: New file.
9983 * gdb.base/noreturn-finish.c: New file.
9984 * gdb.base/noreturn-finish.exp: New file.
9985
9986 2015-01-23 Pedro Alves <palves@redhat.com>
9987
9988 * gdb.threads/continue-pending-after-query.c: New file.
9989 * gdb.threads/continue-pending-after-query.exp: New file.
9990
9991 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
9992 Simon Marchi <simon.marchi@ericsson.com>
9993
9994 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
9995 * gdb.base/valgrind-db-attach.exp: Same.
9996 * gdb.base/valgrind-infcall.exp: Same.
9997 * lib/mi-support.exp (default_mi_gdb_start): Same.
9998 * lib/prompt.exp (default_prompt_gdb_start): Same.
9999 * lib/gdb.exp (default_gdb_spawn): Same.
10000 (gdb_interact): New.
10001
10002
10003 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10004
10005 * gdb.compile/compile.exp (pointer to jit function): New test.
10006
10007 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10008
10009 * lib/gdb.exp (supports_process_record): Return true for
10010 powerpc*-*-linux*.
10011 (supports_reverse): Likewise.
10012
10013 2015-01-15 Don Breazeal <donb@codesourcery.com>
10014
10015 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10016 instead of checking whether the target board is remote and
10017 use spawn_wait_for_attach instead of exec/sleep.
10018 * gdb.base/attach-twice.exp: Likewise.
10019
10020 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10021
10022 * gdb.ada/var_arr_attrs: New testcase.
10023
10024 2015-01-14 Pedro Alves <palves@redhat.com>
10025 Joel Brobecker <brobecker@adacore.com>
10026
10027 PR gdb/17525
10028 * gdb.base/bp-cmds-execution-x-script.c: New file.
10029 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10030 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10031
10032 2015-01-14 Pedro Alves <palves@redhat.com>
10033
10034 PR cli/17828
10035 * gdb.base/batch-preserve-term-settings.c: New file.
10036 * gdb.base/batch-preserve-term-settings.exp: New file.
10037
10038 2015-01-13 Doug Evans <dje@google.com>
10039
10040 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10041 binary.
10042
10043 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10044
10045 * Makefile.in (clean mostlyclean): Do not delete *.py.
10046
10047 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10048
10049 * gdb.python/py-lookup-type.exp: New file.
10050
10051 2015-01-12 Pedro Alves <palves@redhat.com>
10052
10053 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10054 restore GDBFLAGS before returning.
10055
10056 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10057
10058 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10059 is_amd64_regs_target and is_x86_like_target.
10060
10061 2015-01-11 Doug Evans <xdje42@gmail.com>
10062
10063 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10064 is given without an explicit form.
10065 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10066 attributes.
10067 * gdb.dwarf/corrupt.exp: Ditto.
10068 * gdb.dwarf2/enum-type.exp: Ditto.
10069 * gdb.trace/entry-values.exp: Ditto.
10070 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10071
10072 2015-01-11 Doug Evans <xdje42@gmail.com>
10073
10074 PR gdb/15830
10075 * gdb.base/maint.exp: Remove references to "maint demangle".
10076 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10077 Add tests for explicitly specifying language to demangle.
10078 * gdb.dlang/demangle.exp: Ditto.
10079
10080 2015-01-09 Pedro Alves <palves@redhat.com>
10081
10082 * gdb.threads/non-stop-fair-events.c: New file.
10083 * gdb.threads/non-stop-fair-events.exp: New file.
10084
10085 2015-01-09 Pedro Alves <palves@redhat.com>
10086
10087 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10088 the global scope. Set a breakpoint after all threads are started
10089 rather than stepping over two source lines. Expect the prompt.
10090 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10091 global.
10092 (NUM): Now 15.
10093 (main): Use threads_started_barrier to wait for all threads to
10094 start. Main thread no longer calls thread_function. Exit after
10095 180 seconds.
10096 (loop): New function.
10097 (thread_function): Wait on threads_started_barrier barrier. Call
10098 'loop' at each iteration.
10099 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10100 threads have started, instead of hardcoding number of "next"
10101 steps. Use an access watchpoint instead of a write watchpoint.
10102
10103 2015-01-09 Pedro Alves <palves@redhat.com>
10104
10105 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10106 (thread_func): Wait on barrier.
10107 (main): Wait for all threads to start before stopping GDB.
10108 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10109 global.
10110 (thread1_func, thread2_func): Wait on barrier.
10111 (main): Wait for all threads to start before stopping GDB.
10112 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10113 New global.
10114 (thread1_func, thread2_func): Wait on barrier.
10115 (main): Wait for all threads to start before stopping GDB.
10116
10117 2015-01-09 Pedro Alves <palves@redhat.com>
10118
10119 * gdb.threads/attach-many-short-lived-threads.c: New file.
10120 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10121
10122 2014-01-09 Pedro Alves <palves@redhat.com>
10123
10124 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10125 instead of to thread 2.
10126 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10127 Add barrier around each pthread_create call instead of around all
10128 calls.
10129 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10130 Set a break on thread_function and have the child threads hit it
10131 one at at a time.
10132
10133 2015-01-09 Pedro Alves <palves@redhat.com>
10134
10135 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10136 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10137 false.
10138 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10139 checking whether the target board is remote.
10140 * gdb.multi/multi-attach.exp: Likewise.
10141 * gdb.python/py-sync-interp.exp: Likewise.
10142 * gdb.server/ext-attach.exp: Likewise.
10143 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10144 tests that need to attach, instead of checking whether the target
10145 board is remote at the top of the file.
10146
10147 2015-01-08 Yao Qi <yao@codesourcery.com>
10148
10149 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10150
10151 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10152
10153 Fix testcase compilation.
10154 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10155
10156 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10157
10158 * gdb.python/py-type.exp: Add a couple test about empty
10159 array creation, and negative-length array creation.
10160
10161 2015-01-02 Doug Evans <xdje42@gmail.com>
10162
10163 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10164
10165 2015-01-02 Doug Evans <dje@google.com>
10166
10167 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10168
10169 2014-12-29 Yao Qi <yao@codesourcery.com>
10170
10171 * gdb.trace/entry-values.exp: Update comments. Rename variable
10172 bar_call_foo to returned_from_foo.
10173
10174 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10175
10176 PR gdb/17394
10177 * gdb.linespec/break-asm-file.c: New file.
10178 * gdb.linespec/break-asm-file.exp: New file.
10179 * gdb.linespec/break-asm-file0.s: New file.
10180 * gdb.linespec/break-asm-file1.s: New file.
10181
10182 2014-12-18 Nigel Stephens <nigel@mips.com>
10183 Maciej W. Rozycki <macro@codesourcery.com>
10184
10185 * gdb.base/float.exp: Handle the new output from "info float" on
10186 MIPS targets.
10187
10188 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10189
10190 Fix MinGW compilation.
10191 * gdb.compile/compile-ops.exp: Update untested message if
10192 !skip_compile_feature_tests.
10193 * gdb.compile/compile-setjmp.exp: Likewise.
10194 * gdb.compile/compile-tls.exp: Likewise.
10195 * gdb.compile/compile.exp: Likewise.
10196 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10197 supported on this host".
10198
10199 2014-12-16 Doug Evans <xdje42@gmail.com>
10200
10201 * boards/stabs.exp: New file.
10202
10203 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10204
10205 * gdb.base/completion.exp: Adjust to format changes of "maint
10206 print user-registers".
10207
10208 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
10209
10210 PR server/17457
10211 * gdb.arch/aarch64-fp.c: New file.
10212 * gdb.arch/aarch64-fp.exp: New file.
10213
10214 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10215
10216 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10217 r210637, r210913, r211666, r215400, r215817).
10218
10219 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10220 * dg-extract-results.py: New file.
10221 * dg-extract-results.sh: Use it if the environment seems
10222 suitable.
10223
10224 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10225
10226 * dg-extract-results.py (parse_run): Handle warnings that
10227 are printed before a test harness is run.
10228
10229 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10230
10231 * dg-extract-results.py (Named): Remove __cmp__ method.
10232 (output_variation): Use a key to sort variation.harnesses.
10233
10234 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10235
10236 * dg-extract-results.py: For Python 3, force sys.stdout to
10237 handle surrogate escape sequences.
10238 (safe_open): New function.
10239 (output_segment, main): Use it.
10240
10241 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10242
10243 * dg-extract-results.py (Prog.result_re): Include options
10244 in test name.
10245
10246 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10247
10248 * dg-extract-results.py (output_variation): Always sort if
10249 do_sum.
10250
10251 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10252
10253 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10254 as long as we get pagination notifications.
10255
10256 2014-12-15 Jason Merrill <jason@redhat.com>
10257
10258 * Makefile.in (check-gdb.%): Restore.
10259 * README: Mention it.
10260
10261 2014-12-13 Joel Brobecker <brobecker@adacore.com>
10262
10263 * gdb.ada/str_uninit: New testcase.
10264
10265 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10266
10267 PR symtab/17642
10268 * gdb.base/vla-stub-define.c: New file.
10269 * gdb.base/vla-stub.c: New file.
10270 * gdb.base/vla-stub.exp: New file.
10271
10272 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10273 Jan Kratochvil <jan.kratochvil@redhat.com>
10274 Tom Tromey <tromey@redhat.com>
10275
10276 * configure.ac: Add gdb.compile/.
10277 * configure: Regenerate.
10278 * gdb.compile/Makefile.in: New file.
10279 * gdb.compile/compile-ops.exp: New file.
10280 * gdb.compile/compile-ops.c: New file.
10281 * gdb.compile/compile-tls.c: New file.
10282 * gdb.compile/compile-tls.exp: New file.
10283 * gdb.compile/compile-constvar.S: New file.
10284 * gdb.compile/compile-constvar.c: New file.
10285 * gdb.compile/compile-mod.c: New file.
10286 * gdb.compile/compile-nodebug.c: New file.
10287 * gdb.compile/compile-setjmp-mod.c: New file.
10288 * gdb.compile/compile-setjmp.c: New file.
10289 * gdb.compile/compile-setjmp.exp: New file.
10290 * gdb.compile/compile-shlib.c: New file.
10291 * gdb.compile/compile.c: New file.
10292 * gdb.compile/compile.exp: New file.
10293 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10294
10295 2014-12-12 Tom Tromey <tromey@redhat.com>
10296
10297 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10298 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10299
10300 2014-12-12 Doug Evans <dje@google.com>
10301
10302 * lib/gdb-python.exp (get_python_valueof): New function.
10303 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10304
10305 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10306
10307 * gdb.base/completion.exp: Add test for completion of "info
10308 registers ".
10309
10310 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10311
10312 * gdb.base/func-ptrs.c: New file.
10313 * gdb.base/func-ptrs.exp: New file.
10314
10315 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10316
10317 PR breakpoints/17012
10318 * gdb.base/dprintf-detach.c: New file.
10319 * gdb.base/dprintf-detach.exp: New file.
10320
10321 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10322
10323 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10324 * lib/gdb.exp (target_is_gdbserver): New procedure.
10325
10326 2014-12-08 Doug Evans <dje@google.com>
10327
10328 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10329
10330 2014-12-05 Yao Qi <yao@codesourcery.com>
10331
10332 * gdb.guile/scm-error.exp: Remove the third argument to
10333 gdb_remote_download.
10334 * gdb.guile/scm-frame-args.exp: Likewise.
10335 * gdb.guile/scm-section-script.exp: Likewise.
10336
10337 2014-12-05 Yao Qi <yao@codesourcery.com>
10338
10339 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10340
10341 2014-12-04 Doug Evans <dje@google.com>
10342
10343 * gdb.python/py-objfile.exp: Add tests for
10344 objfile.add_separate_debug_file.
10345
10346 2014-12-04 Doug Evans <dje@google.com>
10347
10348 * lib/gdb.exp (get_build_id): New function.
10349 (build_id_debug_filename_get): Rewrite to use it.
10350 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10351
10352 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10353
10354 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10355 `method(long)', not just 0x0.
10356 * gdb.cp/nsalias.exp: Align code labels to 4.
10357 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10358 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10359 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10360 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10361 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10362 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10363
10364 2014-12-02 Doug Evans <dje@google.com>
10365
10366 PR symtab/17602
10367 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10368 * gdb.cp/anon-ns2.cc: ... here. New file.
10369 * gdb.cp/anon-ns.exp: Update.
10370
10371 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10372
10373 * gdb.python/py-events.py (inferior_call_handler): New.
10374 (register_changed_handler, memory_changed_handler): New.
10375 (test_events.invoke): Register new handlers.
10376 * gdb.python/py-events.exp: Add tests for inferior call,
10377 memory_changed and register_changed events.
10378
10379 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10380
10381 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10382 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10383 if the linker doesn't understand this.
10384
10385 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10386
10387 * gdb.python/python.exp: Change expected reply to help().
10388
10389 2014-12-01 Yao Qi <yao@codesourcery.com>
10390
10391 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10392 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10393 * configure: Re-generated.
10394
10395 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10396
10397 * gdb.cp/chained-calls.cc: New file.
10398 * gdb.cp/chained-calls.exp: New file.
10399 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10400
10401 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10402
10403 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10404 * gdb.dwarf2/symtab-producer.exp: Same.
10405 * gdb.gdb/python-interrupts.exp: Same.
10406 * gdb.gdb/python-selftest.exp: Same.
10407 * gdb.python/py-linetable.exp: Same.
10408 * gdb.python/py-type.exp: Same.
10409 * gdb.python/py-value-cc.exp: Same.
10410 * gdb.python/py-value.exp: Same.
10411
10412 2014-11-28 Yao Qi <yao@codesourcery.com>
10413
10414 * gdb.base/break-probes.exp: Match library name prefixed with
10415 sysroot.
10416
10417 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10418
10419 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10420 test expected output. Add parentheses for the call to print.
10421 Remove L suffix from integers.
10422
10423 2014-11-26 Doug Evans <dje@google.com>
10424
10425 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10426
10427 2014-11-22 Yao Qi <yao@codesourcery.com>
10428
10429 * gdb.trace/entry-values.c: Remove asms.
10430 (foo): Add foo_label.
10431 (bar): Add bar_label.
10432 * gdb.trace/entry-values.exp: Remove code computing foo's
10433 length and bar's length.
10434 (Dwarf::assemble): Invoke function_range for bar and use
10435 MACRO_AT_func for foo.
10436
10437 2014-11-22 Yao Qi <yao@codesourcery.com>
10438
10439 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10440 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10441 Use .Lgcc43_procstart instead of gcc43.
10442
10443 2014-11-21 Joel Brobecker <brobecker@adacore.com>
10444
10445 * gdb.ada/n_arr_bound: New testcase.
10446
10447 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10448
10449 PR breakpoints/10737
10450 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10451 test_catch_syscall_multi_arch.
10452 (test_catch_syscall_multi_arch): New function.
10453
10454 2014-11-20 Doug Evans <xdje42@gmail.com>
10455
10456 * gdb.base/maint.exp: Update expected output.
10457
10458 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10459
10460 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10461 4-byte instruction on S390.
10462
10463 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10464
10465 * gdb.ada/arr_arr: New testcase.
10466
10467 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10468
10469 * gdb.ada/pkd_arr_elem: New Testcase.
10470
10471 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
10472
10473 * gdb.reverse/break-precsave: Expect completion message for
10474 core file reads.
10475 * gdb.reverse/consecutive-precsave.exp: Likewise.
10476 * gdb.reverse/finish-precsave.exp: Likewise.
10477 * gdb.reverse/i386-precsave.exp: Likewise.
10478 * gdb.reverse/machinestate-precsave.exp: Likewise.
10479 * gdb.reverse/sigall-precsave.exp: Likewise.
10480 * gdb.reverse/solib-precsave.exp: Likewise.
10481 * gdb.reverse/step-precsave.exp: Likewise.
10482 * gdb.reverse/until-precsave.exp: Likewise.
10483 * gdb.reverse/watch-precsave.exp: Likewise.
10484
10485 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10486
10487 * gdb.base/bp-permanent.c: Include unistd.h.
10488 * gdb.python/py-framefilter-mi.c (main): Add return type.
10489 * gdb.python/py-framefilter.c (main): Likewise.
10490 * gdb.trace/actions-changed.c (main): Likewise.
10491
10492 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10493
10494 * gdb.mi/until.c: Add eye-catchers.
10495 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10496 line numbers.
10497
10498 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10499
10500 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10501 function header variants in break1.c.
10502 * gdb.base/ena-dis-br.exp: Likewise.
10503 * gdb.base/hbreak2.exp: Likewise.
10504 * gdb.reverse/until-precsave.exp: Drop references to removed
10505 non-prototype function header variants in ur1.c.
10506 * gdb.reverse/until-reverse.exp: Likewise.
10507
10508 2014-11-17 Petr Machata <pmachata@redhat.com>
10509
10510 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10511 ${_cu_offset_size} bytes abbrev offset.
10512
10513 2014-11-15 Doug Evans <xdje42@gmail.com>
10514
10515 PR symtab/17559
10516 * gdb.base/line-symtabs.exp: New file.
10517 * gdb.base/line-symtabs.c: New file.
10518 * gdb.base/line-symtabs.h: New file.
10519
10520 2014-11-14 Yao Qi <yao@codesourcery.com>
10521
10522 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10523 (func): Add label func_label.
10524 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10525 Replace low_pc and high_pc with MACRO_AT_range.
10526 Replace name, low_pc and high_pc with MACRO_AT_func.
10527
10528 2014-11-14 Yao Qi <yao@codesourcery.com>
10529
10530 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10531 Replace name, low_pc and high_pc with MACRO_AT_func.
10532
10533 2014-11-14 Yao Qi <yao@codesourcery.com>
10534
10535 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10536 produce debug information.
10537 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10538
10539 2014-11-14 Yao Qi <yao@codesourcery.com>
10540
10541 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10542 object and get function length.
10543 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10544 with MACRO_AT_func.
10545 (top-level): Replace gdb_compile and clean_restart with
10546 prepare_for_testing.
10547 * gdb.dwarf2/main.c (main): Add label main_label.
10548
10549 2014-11-14 Yao Qi <yao@codesourcery.com>
10550
10551 * lib/dwarf.exp (function_range): New procedure.
10552 (Dwarf::_handle_macro_at_func): New procedure.
10553 (Dwarf::_handle_macro_at_range): New procedure.
10554 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10555
10556 2014-11-14 Yao Qi <yao@codesourcery.com>
10557
10558 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10559 (_handle_attribute): New procedure.
10560
10561 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10562
10563 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10564 * gdb.base/call-sc.c (zed): Likewise.
10565 * gdb.base/checkpoint.c (main): Likewise.
10566 * gdb.base/dump.c (main): Likewise.
10567 * gdb.base/gcore.c (main): Likewise.
10568 * gdb.base/huge.c (main): Likewise.
10569 * gdb.base/multi-forks.c (main): Likewise.
10570 * gdb.base/pr10179-a.c (main): Likewise.
10571 * gdb.base/savedregs.c (main): Likewise.
10572 * gdb.base/sigaltstack.c (main): Likewise.
10573 * gdb.base/siginfo.c (main): Likewise.
10574 * gdb.base/structs.c (zed): Likewise.
10575 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10576 * gdb.mi/mi-syn-frame.c (main): Likewise.
10577 * gdb.mi/until.c (foo, main): Likewise.
10578 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10579 * gdb.base/solib-weak.c (foo): Declare.
10580 * gdb.base/attach-twice.c: Include stdio.h.
10581 * gdb.base/weaklib1.c: Likewise.
10582 * gdb.base/weaklib2.c: Likewise.
10583 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10584 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10585 unistd.h.
10586 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10587 * gdb.mi/mi-exit-code.c: Likewise.
10588 * gdb.base/break-interp-lib.c: Include string.h.
10589 * gdb.base/coremaker.c: Likewise.
10590 * gdb.base/testenv.c: Likewise.
10591 * gdb.python/py-finish-breakpoint.c: Likewise.
10592 * gdb.base/inferior-died.c: Include sys/wait.h.
10593 * gdb.base/fileio.c: Include time.h.
10594 * gdb.base/async-shell.c: Include unistd.h.
10595 * gdb.base/dprintf-non-stop.c: Likewise.
10596 * gdb.base/info-os.c: Likewise.
10597 * gdb.mi/mi-console.c: Likewise.
10598 * gdb.mi/watch-nonstop.c: Likewise.
10599 * gdb.python/py-events.c: Likewise.
10600 * gdb.base/async.c (baz): Move up before its invocation.
10601 * gdb.base/code_elim2.c (my_global_func): Likewise.
10602 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10603 * gdb.base/advance.c (func2): Likewise.
10604
10605 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10606
10607 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10608 variant.
10609 * gdb.base/annota3.c: Likewise.
10610 * gdb.base/async.c: Likewise.
10611 * gdb.base/average.c: Likewise.
10612 * gdb.base/call-ar-st.c: Likewise.
10613 * gdb.base/call-rt-st.c: Likewise.
10614 * gdb.base/call-sc.c: Likewise.
10615 * gdb.base/call-strs.c: Likewise.
10616 * gdb.base/ending-run.c: Likewise.
10617 * gdb.base/execd-prog.c: Likewise.
10618 * gdb.base/exprs.c: Likewise.
10619 * gdb.base/foll-exec.c: Likewise.
10620 * gdb.base/foll-fork.c: Likewise.
10621 * gdb.base/foll-vfork.c: Likewise.
10622 * gdb.base/funcargs.c: Likewise.
10623 * gdb.base/gcore.c: Likewise.
10624 * gdb.base/jump.c: Likewise.
10625 * gdb.base/langs0.c: Likewise.
10626 * gdb.base/langs1.c: Likewise.
10627 * gdb.base/langs2.c: Likewise.
10628 * gdb.base/mips_pro.c: Likewise.
10629 * gdb.base/nodebug.c: Likewise.
10630 * gdb.base/opaque0.c: Likewise.
10631 * gdb.base/opaque1.c: Likewise.
10632 * gdb.base/recurse.c: Likewise.
10633 * gdb.base/run.c: Likewise.
10634 * gdb.base/scope0.c: Likewise.
10635 * gdb.base/scope1.c: Likewise.
10636 * gdb.base/setshow.c: Likewise.
10637 * gdb.base/setvar.c: Likewise.
10638 * gdb.base/shmain.c: Likewise.
10639 * gdb.base/shr1.c: Likewise.
10640 * gdb.base/shr2.c: Likewise.
10641 * gdb.base/sigall.c: Likewise.
10642 * gdb.base/signals.c: Likewise.
10643 * gdb.base/so-indr-cl.c: Likewise.
10644 * gdb.base/solib2.c: Likewise.
10645 * gdb.base/structs.c: Likewise.
10646 * gdb.base/sum.c: Likewise.
10647 * gdb.base/vforked-prog.c: Likewise.
10648 * gdb.base/watchpoint.c: Likewise.
10649 * gdb.reverse/shr2.c: Likewise.
10650 * gdb.reverse/until-reverse.c: Likewise.
10651 * gdb.reverse/ur1.c: Likewise.
10652 * gdb.reverse/watch-reverse.c: Likewise.
10653
10654 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10655
10656 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10657 variant.
10658 * gdb.base/sepdebug.exp: Drop references to removed code.
10659
10660 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10661
10662 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10663 variant. Preserve original line numbering.
10664 * gdb.base/list1.c: Likewise.
10665
10666 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10667
10668 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10669 variant.
10670 * gdb.base/break1.c: Likewise.
10671 * gdb.base/break.exp: Drop references to removed code.
10672
10673 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10674
10675 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10676 variant.
10677
10678 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10679
10680 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10681
10682 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10683
10684 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10685 logic into perform_all_tests() and invoke it with and without
10686 function header prototypes.
10687 (do_function_calls): Remove conditional XFAIL for PR 5318.
10688 (rerun_and_prepare): Remove duplicate code.
10689 (perform_all_tests): New. Main logic moved here.
10690
10691 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10692
10693 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10694 code guarded by #ifdef NO_PROTOTYPES.
10695 (t_double_many_args): Likewise.
10696 (DEF_FUNC_MANY_ARGS_1): Likewise.
10697 (DEF_FUNC_VALUES_1): Likewise.
10698 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10699 guarded by #ifdef PROTOTYPES.
10700
10701 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10702
10703 * gdb.mi/mi-console.c: Add eye-catcher.
10704 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10705 instead of literal line number.
10706
10707 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10708
10709 * gdb.base/shr2.c: Add eye-catcher.
10710 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10711 line number.
10712
10713 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10714
10715 * gdb.base/jump.c: Add eye-catchers.
10716 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10717 numbers.
10718
10719 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10720
10721 * gdb.base/execd-prog.c: Add eye-catchers.
10722 * gdb.base/foll-exec.c: Likewise.
10723 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10724 line numbers.
10725
10726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10727
10728 * gdb.base/ending-run.c: Add eye-catchers.
10729 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10730 literal line numbers.
10731
10732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10733
10734 * gdb.base/call-rt-st.c: Add eye-catchers.
10735 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10736 literal line numbers.
10737
10738 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10739
10740 * gdb.base/call-ar-st.c: Add eye-catchers.
10741 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10742 literal line numbers.
10743
10744 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10745
10746 * gdb.base/average.c: Add eye-catchers.
10747 * gdb.base/sum.c: Likewise.
10748 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10749 regexps dynamically.
10750
10751 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10752
10753 * gdb.base/solib1.c: Add eye-catchers.
10754 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10755 literal line numbers.
10756
10757 2014-11-12 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10760 leader has exited.
10761
10762 2014-11-12 Pedro Alves <palves@redhat.com>
10763
10764 * gdb.arch/i386-bp_permanent.c: New file.
10765 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10766 (srcfile): Set to i386-bp_permanent.c.
10767 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10768 that stepi does not execute the 'leave' instruction, instead of
10769 testing it does execute.
10770 * gdb.base/bp-permanent.c: New file.
10771 * gdb.base/bp-permanent.exp: New file.
10772
10773 2014-11-10 Doug Evans <xdje42@gmail.com>
10774
10775 PR symtab/17564
10776 * gdb.base/symtab-search-order.exp: New file.
10777 * gdb.base/symtab-search-order.c: New file.
10778 * gdb.base/symtab-search-order-1.c: New file.
10779 * gdb.base/symtab-search-order-shlib-1.c: New file.
10780
10781 2014-11-07 Pedro Alves <palves@redhat.com>
10782
10783 PR gdb/17511
10784 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10785 i?86-*-linux*.
10786
10787 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10788
10789 PR c++/17494
10790 * gdb.cp/pr17494.cc: New file.
10791 * gdb.cp/pr17494.exp: New file.
10792
10793 2014-11-02 Yao Qi <yao@codesourcery.com>
10794
10795 * gdb.python/python.exp: Get working directory and match the
10796 output of "set extended-prompt \\w " with it.
10797
10798 2014-10-30 Doug Evans <dje@google.com>
10799
10800 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10801 in objfiles.
10802 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10803 in progspaces.
10804
10805 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10806
10807 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10808 * gdb.base/realname-expand.exp: Likewise.
10809 * gdb.linespec/macro-relative.exp: Likewise.
10810
10811 2014-10-29 Pedro Alves <palves@redhat.com>
10812
10813 PR gdb/17408
10814 * gdb.threads/schedlock.c (some_function): New function.
10815 (call_function): New global.
10816 (MAYBE_CALL_SOME_FUNCTION): New macro.
10817 (thread_function): Call it.
10818 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10819 and use it instead of a global counter. Adjust all callers.
10820 (get_current_thread): Use "find current thread" for test message
10821 here rather than having all callers pass down the same string.
10822 (goto_loop): New procedure, factored out from ...
10823 (my_continue): ... this.
10824 (step_ten_loops): Change parameter from test message to command to
10825 use. Adjust.
10826 (list_count): Delete global.
10827 (check_result): New procedure, factored out from duplicate top
10828 level code.
10829 (continue tests): Wrap in with_test_prefix.
10830 (test_step): New procedure, factored out from duplicate top level
10831 code.
10832 (top level): Test "step" in combination with all scheduler-locking
10833 modes. Test "next" in combination with all scheduler-locking
10834 modes, and in combination with stepping over a function call or
10835 not.
10836 * gdb.threads/next-bp-other-thread.c: New file.
10837 * gdb.threads/next-bp-other-thread.exp: New file.
10838
10839 2014-10-29 Pedro Alves <palves@redhat.com>
10840
10841 PR python/17372
10842 * gdb.python/python.exp: Test a multi-line command that spawns
10843 interactive Python.
10844 * gdb.base/multi-line-starts-subshell.exp: New file.
10845
10846 2014-10-29 Yao Qi <yao@codesourcery.com>
10847
10848 * gdb.base/fileio.exp: Make directories on host.
10849
10850 2014-10-29 Yao Qi <yao@codesourcery.com>
10851
10852 * gdb.base/fileio.c (test_write): Close the file.
10853
10854 2014-10-28 Pedro Alves <palves@redhat.com>
10855
10856 PR gdb/12623
10857 * gdb.base/sigstep.c (no_handler): New global.
10858 (main): If 'no_handler is true, set the signal handlers to
10859 SIG_IGN.
10860 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10861 with_sw_watch and no_handler parameters. Handle them.
10862 (top level) <stepping over handler when stopped at a breakpoint
10863 test>: Add a test axis for testing with a software watchpoint, and
10864 another for testing with the signal handler set to SIG_IGN.
10865 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
10866 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
10867
10868 2014-10-28 Pedro Alves <palves@redhat.com>
10869
10870 PR gdb/17511
10871 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
10872 * gdb.base/sigstep.exp (other_handler_location): New global.
10873 (advance): Support stepping into the signal handler, and running
10874 commands while in the handler.
10875 (in_handler_map): New global.
10876 (top level): In the advance test, add combinations for getting
10877 into the handler with stepping commands, and for running commands
10878 in the handler. Add comment descripting the advancei tests.
10879
10880 2014-10-28 Pedro Alves <palves@redhat.com>
10881
10882 * gdb.base/sigstep.exp: Use build_executable instead of
10883 prepare_for_testing.
10884 (top level): Move code that starts GDB, runs to main and creates a
10885 display to ...
10886 (restart): ... this new procedure.
10887 (top level): Move backtrace from signal handler test to ...
10888 (validate_backtrace): ... this new procedure.
10889 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
10890 with_test_prefix. Always restart GDB.
10891 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
10892 with_test_prefix. Always restart GDB. No need to delete
10893 breakpoints after the test.
10894 (test_skip_handler): Remove prefix parameter.
10895 (skip_over_handler, breakpoint_to_handler)
10896 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
10897 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
10898 restart GDB. No need to delete breakpoints after the test.
10899 (top level): Use foreach to call the test procedures with
10900 different commands.
10901
10902 2014-10-28 Pedro Alves <palves@redhat.com>
10903
10904 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
10905 instead of GNATS numbers.
10906 * gdb.base/sigbpt.exp: Likewise.
10907 * gdb.base/siginfo.exp: Likewise.
10908 * gdb.base/sigstep.exp: Likewise.
10909
10910 2014-10-27 Pedro Alves <palves@redhat.com>
10911
10912 * gdb.base/sigstep.c (dummy): New global.
10913 (main): Issue a couple writes to the new global.
10914 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
10915 procedures.
10916 (skip_over_handler): Use test_skip_handler.
10917 (top level): Call skip_over_handler for stepi and nexti too.
10918 (breakpoint_over_handler): Use test_skip_handler.
10919 (top level): Call breakpoint_over_handler for stepi and nexti too.
10920
10921 2014-10-27 Yao Qi <yao@codesourcery.com>
10922
10923 * gdb.trace/tfile.c (adjust_function_address)
10924 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
10925 function descriptor.
10926
10927 2014-10-24 Don Breazeal <donb@codesourcery.com>
10928
10929 * gdb.base/foll-fork.exp (test_follow_fork,
10930 catch_fork_child_follow): Check for updated fork messages emitted
10931 from infrun.c.
10932 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
10933 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
10934 vfork_and_exec_child_follow_through_step): Check for updated vfork
10935 messages emitted from infrun.c.
10936
10937 2014-10-24 Pedro Alves <palves@redhat.com>
10938
10939 * gdb.base/corefile.exp: Remove references to ultrix.
10940 * gdb.base/interrupt.exp: Likewise.
10941 * gdb.base/whatis.exp: Likewise.
10942 * gdb.gdb/selftest.exp: Likewise.
10943 * gdb.threads/manythreads.exp: Likewise.
10944 * gdb.threads/print-threads.exp: Likewise.
10945 * gdb.threads/pthreads.exp:: Likewise.
10946 * gdb.threads/schedlock.exp: Likewise.
10947
10948 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
10949
10950 * gdb.cp/non-trivial-retval.cc: Add a test case.
10951 * gdb.cp/non-trivial-retval.exp: Add a test.
10952
10953 2014-10-20 Yao Qi <yao@codesourcery.com>
10954
10955 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
10956 * gdb.python/py-objfile-script-gdb.py: New file.
10957 * gdb.python/py-objfile-script.exp: Update reference to
10958 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
10959 of remote_download. Remove the dest file.
10960
10961 2014-10-20 Yao Qi <yao@codesourcery.com>
10962
10963 * gdb.base/checkpoint.exp: Don't remove file copied on host.
10964 * gdb.base/step-line.exp: Likewise.
10965 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10966 * gdb.dwarf2/dw2-basic.exp: Likewise.
10967 * gdb.dwarf2/dw2-compressed.exp: Likewise.
10968 * gdb.dwarf2/dw2-filename.exp: Likewise.
10969 * gdb.dwarf2/dw2-intercu.exp: Likewise.
10970 * gdb.dwarf2/dw2-intermix.exp: Likewise.
10971 * gdb.dwarf2/dw2-producer.exp: Likewise.
10972 * gdb.dwarf2/mac-fileno.exp: Likewise.
10973 * gdb.python/py-frame-args.exp: Likewise.
10974 * gdb.python/py-framefilter.exp: Likewise.
10975 * gdb.python/py-mi.exp: Likewise.
10976 * gdb.python/py-objfile-script.exp: Likewise
10977 * gdb.python/py-pp-integral.exp: Likewise.
10978 * gdb.python/py-pp-re-notag.exp: Likewise.
10979 * gdb.python/py-prettyprint.exp: Likewise.
10980 * gdb.python/py-section-script.exp: Likewise.
10981 * gdb.python/py-typeprint.exp: Likewise.
10982 * gdb.python/py-xmethods.exp: Likewise.
10983 * gdb.stabs/weird.exp: Likewise.
10984 * gdb.xml/tdesc-regs.exp: Likewise.
10985
10986 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
10987
10988 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
10989 (out_cu): Use addr_len for the size of addresses.
10990 (out_line): Likewise. Size DW_LNE_set_address instruction
10991 according to addr_len.
10992 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
10993 (FUNC): Add START_INSNS to definition.
10994
10995 2014-10-18 Yao Qi <yao@codesourcery.com>
10996
10997 * gdb.base/argv0-symlink.exp: Check argv[0] value if
10998 gdb_has_argv0 return true.
10999 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11000 check [target_info exists noargs], check [gdb_has_argv0]
11001 instead.
11002 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11003 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11004 procedures.
11005
11006 2014-10-17 Doug Evans <dje@google.com>
11007
11008 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11009 event.
11010 * gdb.python/py-events.py: Add clear_objfiles event.
11011
11012 2014-10-17 Doug Evans <dje@google.com>
11013
11014 * gdb.python/py-objfile.exp: Test progspace attribute.
11015
11016 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11017
11018 * gdb.guile/scm-breakpoint.exp: Do not assume any
11019 directory separators when matching source file paths.
11020 * gdb.python/py-breakpoint.exp: Likewise.
11021 * gdb.reverse/break-precsave.exp: Likewise.
11022 * gdb.reverse/break-reverse.exp: Likewise.
11023 * gdb.reverse/consecutive-precsave.exp: Likewise.
11024 * gdb.reverse/finish-precsave.exp: Likewise.
11025 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11026 * gdb.reverse/finish-reverse.exp: Likewise.
11027 * gdb.reverse/i386-precsave.exp: Likewise.
11028 * gdb.reverse/i387-env-reverse.exp: Likewise.
11029 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11030 * gdb.reverse/machinestate-precsave.exp: Likewise.
11031 * gdb.reverse/machinestate.exp: Likewise.
11032 * gdb.reverse/sigall-precsave.exp: Likewise.
11033 * gdb.reverse/solib-precsave.exp: Likewise.
11034 * gdb.reverse/step-precsave.exp: Likewise.
11035 * gdb.reverse/until-precsave.exp: Likewise.
11036 * gdb.reverse/watch-precsave.exp: Likewise.
11037 * gdb.reverse/watch-reverse.exp: Likewise.
11038
11039 2014-10-17 Yao Qi <yao@codesourcery.com>
11040
11041 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11042 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11043
11044 2014-10-17 Pedro Alves <palves@redhat.com>
11045
11046 PR gdb/17471
11047 * gdb.base/bg-execution-repeat.c: New file.
11048 * gdb.base/bg-execution-repeat.exp: New file.
11049
11050 2014-10-17 Pedro Alves <palves@redhat.com>
11051
11052 PR gdb/17300
11053 * gdb.base/continue-all-already-running.c: New file.
11054 * gdb.base/continue-all-already-running.exp: New file.
11055
11056 2014-10-17 Pedro Alves <palves@redhat.com>
11057
11058 PR gdb/17472
11059 * gdb.base/annota-input-while-running.c: New file.
11060 * gdb.base/annota-input-while-running.exp: New file.
11061
11062 2014-10-17 Pedro Alves <palves@redhat.com>
11063
11064 * gdb.base/callfuncs.exp: emove references to osf.
11065 * gdb.base/sigall.exp: Likewise.
11066 * gdb.gdb/selftest.exp: Likewise.
11067 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11068 * gdb.mi/non-stop.c: Likewise.
11069 * gdb.mi/pthreads.c: Likewise.
11070 * gdb.reverse/sigall-precsave.exp: Likewise.
11071 * gdb.reverse/sigall-reverse.exp: Likewise.
11072 * gdb.threads/pthreads.c: Likewise.
11073 * gdb.threads/pthreads.exp: Likewise.
11074
11075 2014-10-17 Yao Qi <yao@codesourcery.com>
11076
11077 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11078 check 'target_info exists noargs'.
11079 (test_command_prompt_position): Likewise.
11080 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11081 Remove "set args".
11082 (progvar_simple_while_test): Likewise.
11083 (progvar_complex_if_while_test): Likewise.
11084 (if_while_breakpoint_command_test): Likewise.
11085 (infrun_breakpoint_command_test): Likewise.
11086 (breakpoint_command_test): Likewise.
11087 (watchpoint_command_test): Likewise.
11088 (bp_deleted_in_command_test): Likewise.
11089 (temporary_breakpoint_commands): Likewise.
11090
11091 2014-10-16 Yao Qi <yao@codesourcery.com>
11092
11093 * gdb.base/remotetimeout.exp: Remove noargs checking.
11094
11095 2014-10-15 Pedro Alves <palves@redhat.com>
11096
11097 PR breakpoints/9649
11098 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11099 * gdb.base/breakpoint-in-ro-region.exp
11100 (probe_target_hardware_step): New procedure.
11101 (top level): Probe hardware stepping and hardware breakpoint
11102 support. Test stepping through a read-only region, with both
11103 "breakpoint auto-hw" on and off and both "always-inserted" on and
11104 off.
11105
11106 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11107
11108 * gdb.dlang/demangle.exp: Update for demangling changes.
11109
11110 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11111
11112 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11113 * gdb.cp/non-trivial-retval.exp: Add new tests.
11114
11115 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11116
11117 PR c++/13403
11118 PR c++/15154
11119 * gdb.cp/non-trivial-retval.cc: New file.
11120 * gdb.cp/non-trivial-retval.exp: New file.
11121
11122 2014-10-15 Yao Qi <yao@codesourcery.com>
11123
11124 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11125 remote host.
11126
11127 2014-10-15 Yao Qi <yao@codesourcery.com>
11128
11129 * gdb.python/py-symbol.exp: Match file base name if host is
11130 remote, otherwise match file name with dir name.
11131 * gdb.python/py-symtab.exp: Likewise.
11132 * gdb.python/python.exp: Likewise.
11133
11134 2014-10-15 Yao Qi <yao@codesourcery.com>
11135
11136 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11137 pattern.
11138 * gdb.python/py-symtab.exp: Likewise.
11139 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11140 locationn.
11141
11142 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11143
11144 * gdb.ada/addr_arith: New testcase.
11145
11146 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11147
11148 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11149 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11150 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11151 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11152
11153 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11154
11155 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11156 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11157 * gdb.arch/stap-eval-lang-ada.exp: New file.
11158
11159 2014-10-14 Yao Qi <yao@codesourcery.com>
11160
11161 * gdb.mi/mi-var-child.c (nothing1): New function.
11162 (nothing2): New function.
11163 (do_children_tests): Set function pointers by nothing1 and
11164 nothing2.
11165 * gdb.mi/mi-var-child.exp: Step over new added statements.
11166 Update test to match the new output.
11167 * gdb.mi/var-cmd.c (nothing1): New function.
11168 (nothing2): New function.
11169 (do_children_tests): Set function pointers by nothing1 and
11170 nothing2.
11171 * gdb.mi/mi-var-display.exp: Update test to match output.
11172 Step to the line specified by $line_dct_nothing.
11173 Increase the number of lines to step.
11174
11175 2014-10-14 Yao Qi <yao@codesourcery.com>
11176
11177 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11178 tests.
11179 * gdb.mi/mi2-var-child.exp: Likewise.
11180
11181 2014-10-13 Doug Evans <dje@google.com>
11182
11183 * gdb.python/py-objfile.exp: Change name of file name test.
11184
11185 2014-10-13 Doug Evans <dje@google.com>
11186
11187 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11188 from the start of the CU.
11189
11190 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11191 Yao Qi <yao@codesourcery.com>
11192
11193 Fix "save breakpoints" for "catch" command.
11194 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11195 Remove -nonewline. Match also the added "main" line.
11196
11197 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11198
11199 Fix "save breakpoints" for "disable $bpnum" command.
11200 * gdb.base/save-bp.c (main): Add label.
11201 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11202
11203 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11204
11205 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11206
11207 2014-10-11 Yao Qi <yao@codesourcery.com>
11208
11209 * gdb.server/server-kill.exp: Execute command
11210 "set remote trace-status-packet on" before "tstatus".
11211
11212 2014-10-11 Yao Qi <yao@codesourcery.com>
11213
11214 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11215 (main): Call getppid.
11216 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11217 and continue to it. Read variable "server_pid".
11218
11219 2014-10-11 Yao Qi <yao@codesourcery.com>
11220
11221 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11222
11223 2014-10-11 Yao Qi <yao@codesourcery.com>
11224
11225 * gdb.threads/thread-find.exp: Don't execute command
11226 "info threads".
11227 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11228 * gdb.threads/linux-dp.exp: Don't check the condition
11229 $threads_created equals to zero.
11230
11231 2014-10-10 Pedro Alves <palves@redhat.com>
11232
11233 * gdb.base/bigcore.exp: Remove references to IRIX.
11234 * gdb.base/funcargs.exp: Likewise.
11235 * gdb.base/interrupt.exp: Likewise.
11236 * gdb.base/mips_pro.exp: Likewise.
11237 * gdb.base/nodebug.exp: Likewise.
11238 * gdb.base/setvar.exp: Likewise.
11239 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11240
11241 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11242 Pedro Alves <palves@redhat.com>
11243
11244 PR symtab/14466
11245 * gdb.base/vdso-warning.c: New file.
11246 * gdb.base/vdso-warning.exp: New file.
11247
11248 2014-10-02 Doug Evans <dje@google.com>
11249
11250 * gdb.base/structs.c (main): Don't run forever.
11251
11252 2014-10-02 Pedro Alves <palves@redhat.com>
11253
11254 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11255 (top level) <stop threads 1, stop threads 2>: Use it.
11256
11257 2014-10-02 Pedro Alves <palves@redhat.com>
11258
11259 * gdb.threads/break-while-running.exp (test): Add new
11260 'update_thread_list' argument. Skip "info threads" if false.
11261 (top level): Add new 'update_thread_list' axis.
11262
11263 2014-10-02 Pedro Alves <palves@redhat.com>
11264
11265 PR breakpoints/17431
11266 * gdb.base/execl-update-breakpoints.c: New file.
11267 * gdb.base/execl-update-breakpoints.exp: New file.
11268
11269 2014-10-01 Pedro Alves <palves@redhat.com>
11270
11271 * gdb.base/breakpoint-in-ro-region.c: New file.
11272 * gdb.base/breakpoint-in-ro-region.exp: New file.
11273
11274 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11275
11276 * gdb.mi/mi-exit-code.exp: New file.
11277 * gdb.mi/mi-exit-code.c: New file.
11278
11279 2014-09-30 Yao Qi <yao@codesourcery.com>
11280
11281 * lib/prelink-support.exp (build_executable_own_libs): Error if
11282 the target isn't native.
11283
11284 2014-09-30 Yao Qi <yao@codesourcery.com>
11285
11286 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11287 false.
11288
11289 2014-09-22 Pedro Alves <palves@redhat.com>
11290
11291 * gdb.threads/break-while-running.exp: New file.
11292 * gdb.threads/break-while-running.c: New file.
11293
11294 2014-09-19 Yao Qi <yao@codesourcery.com>
11295
11296 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11297 Invoke test. Restart GDB with --readnow and invoke test again.
11298
11299 2014-09-19 Yao Qi <yao@codesourcery.com>
11300
11301 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11302 proc set_breakpoint_on_gcd_function. Invoke
11303 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11304 invoke set_breakpoint_on_gcd_function again.
11305
11306 2014-09-18 Doug Evans <dje@google.com>
11307
11308 * gdb.dwarf2/symtab-producer.exp: New file.
11309
11310 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11311
11312 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11313 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11314 * gdb.base/global-var-nested-by-dso.c: Likewise.
11315 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11316
11317 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11318 Pedro Alves <palves@redhat.com>
11319
11320 * gdb.base/watch-bitfields.exp: Pass string other than test file
11321 name to prepare_for_testing.
11322 (watch): New procedure.
11323 (expect_watchpoint): Use with_test_prefix.
11324 (top level): Factor out tests to ...
11325 (test_watch_location, test_regular_watch): ... these new
11326 procedures, and use with_test_prefix and gdb_continue_to_end.
11327
11328 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11329
11330 PR breakpoints/12526
11331 * gdb.base/watch-bitfields.exp: New file.
11332 * gdb.base/watch-bitfields.c: New file.
11333
11334 2014-09-16 Pedro Alves <palves@redhat.com>
11335
11336 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11337 software and hardware addresses, not software address against
11338 itself.
11339
11340 2014-09-16 Pedro Alves <palves@redhat.com>
11341
11342 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11343 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11344
11345 2014-09-16 Pedro Alves <palves@redhat.com>
11346
11347 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11348 files.
11349 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11350 "*-*-vxworks*" throughout.
11351 * gdb.base/break.exp: Likewise.
11352 * gdb.base/default.exp: Likewise.
11353 * gdb.base/scope.exp: Likewise.
11354 * gdb.base/sepdebug.exp: Likewise.
11355 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11356 throughout.
11357 * gdb.base/run.c: Likewise.
11358 * gdb.base/sepdebug.c: Likewise.
11359 * gdb.hp/gdb.aCC/run.c: Likewise.
11360 * gdb.reverse/until-reverse.c: Likewise.
11361 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11362
11363 2014-09-16 Yao Qi <yao@codesourcery.com>
11364
11365 * boards/local-remote-host-native.exp: New file.
11366
11367 2014-09-14 Doug Evans <xdje42@gmail.com>
11368
11369 * gdb.threads/queue-signal.c (thread_count): New variable.
11370 (thread_count_mutex, thread_count_condvar): New variables.
11371 (incr_thread_count, wait_all_threads_running): New functions.
11372 (main): Wait for all threads to be in their thread functions.
11373
11374 2014-09-13 Doug Evans <xdje42@gmail.com>
11375
11376 * gdb.threads/queue-signal.c: New file.
11377 * gdb.threads/queue-signal.exp: New file.
11378
11379 2014-09-13 Doug Evans <xdje42@gmail.com>
11380
11381 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11382 be consistent with what default_gdb_init uses.
11383 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11384 the plain text of the prompt. Add some logging printfs.
11385 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11386
11387 2014-09-12 Pedro Alves <palves@redhat.com>
11388
11389 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11390 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11391 * gdb.arch/i386-size-overlap.exp: Likewise.
11392 * gdb.arch/i386-size.exp: Likewise.
11393 * gdb.arch/i386-unwind.exp: Likewise.
11394 * gdb.base/a2-run.exp: Likewise.
11395 * gdb.base/break.exp: Likewise.
11396 * gdb.base/charset.exp: Likewise.
11397 * gdb.base/chng-syms.exp: Likewise.
11398 * gdb.base/commands.exp: Likewise.
11399 * gdb.base/dbx.exp: Likewise.
11400 * gdb.base/find.exp: Likewise.
11401 * gdb.base/funcargs.exp: Likewise.
11402 * gdb.base/jit-simple.exp: Likewise.
11403 * gdb.base/reread.exp: Likewise.
11404 * gdb.base/sepdebug.exp: Likewise.
11405 * gdb.base/step-bt.exp: Likewise.
11406 * gdb.cp/mb-inline.exp: Likewise.
11407 * gdb.cp/mb-templates.exp: Likewise.
11408 * gdb.objc/basicclass.exp: Likewise.
11409 * gdb.threads/killed.exp: Likewise.
11410
11411 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11412
11413 PR tdep/17379
11414 * gdb.arch/powerpc-stackless.S: New file.
11415 * gdb.arch/powerpc-stackless.exp: New file.
11416
11417 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11418
11419 * gdb.base/attach.c: Include unistd.h.
11420 (main): Call alarm. Add label postloop.
11421 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11422 gdb_breakpoint, gdb_continue_to_breakpoint.
11423 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11424
11425 2014-09-11 Pedro Alves <palves@redhat.com>
11426
11427 PR gdb/17347
11428 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11429 * gdb.base/attach.exp (test_command_line_attach_run): New
11430 procedure.
11431 (top level): Call it.
11432
11433 2014-09-11 Pedro Alves <palves@redhat.com>
11434
11435 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11436 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11437 (do_command_attach_tests): Use spawn_wait_for_attach.
11438 * gdb.base/solib-overlap.exp: Likewise.
11439 * gdb.multi/multi-attach.exp: Likewise.
11440 * gdb.python/py-prompt.exp: Likewise.
11441 * gdb.python/py-sync-interp.exp: Likewise.
11442 * gdb.server/ext-attach.exp: Likewise.
11443
11444 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11445
11446 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11447 command in testcase. Simplify testcase.
11448
11449 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11450
11451 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11452
11453 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11454
11455 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11456
11457 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11458
11459 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11460
11461 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11462
11463 * gdb.dwarf2/dynarr-ptr.c: New file.
11464 * gdb.dwarf2/dynarr-ptr.exp: New file.
11465
11466 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11467
11468 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11469 of 30 rather than hardcoding 120 for a slow test case. Take the
11470 `gdb,timeout' target setting into account for this calculation.
11471 Don't extend the timeout for the test cases that don't need it.
11472
11473 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11474
11475 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11476 a factor of 2 for a slow test case. Take the `gdb,timeout'
11477 target setting into account for this calculation.
11478 * gdb.reverse/until-precsave.exp: Increase the timeout by
11479 a factor of 15 and 3 respectively rather than adding 120
11480 for a pair of slow test cases. Take the `gdb,timeout'
11481 target setting into account for this calculation.
11482
11483 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11484
11485 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11486 timeout, don't pass one down to gdb_expect.
11487 (gdb_expect): Rework timeout selection.
11488
11489 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11490
11491 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11492 exception on timeout.
11493 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11494 (gdbserver_start_extended): Catch any `gdbserver_start' error
11495 exceptions.
11496 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11497 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11498 `gdbserver_gdb_load' error exceptions.
11499
11500 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11501
11502 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11503 120 on waiting for the TCP socket to open.
11504
11505 2014-09-09 Doug Evans <xdje42@gmail.com>
11506
11507 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11508 _caller_matches, _any_caller_is, _any_caller_matches.
11509
11510 2014-09-09 Doug Evans <xdje42@gmail.com>
11511
11512 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11513
11514 2014-09-09 Yao Qi <yao@codesourcery.com>
11515
11516 * gdb.mi/mi-var-display.exp: Set print symbol off.
11517
11518 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11519
11520 PR gdb/17035
11521 * gdb.base/commands.exp: Add tests to verify user-defined
11522 commands with empty bodies.
11523 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11524 python commands in `show user command`.
11525 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11526 scheme commands in `show user command`.
11527
11528 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11529
11530 PR python/17355
11531 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11532 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11533 * gdb.python/py-framefilter-invalidarg.exp: New file.
11534 * gdb.python/py-framefilter-invalidarg.py: New file.
11535
11536 2014-09-06 Doug Evans <xdje42@gmail.com>
11537
11538 PR 15276
11539 * gdb.python/py-caller-is.c: New file.
11540 * gdb.python/py-caller-is.exp: New file.
11541
11542 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11543
11544 PR gdb/17235
11545 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11546 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11547
11548 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11549
11550 PR fortran/17237
11551 * gdb.fortran/print-formatted.exp: New file.
11552 * gdb.fortran/print-formatted.f90: Likewise.
11553
11554 2014-09-03 Sasha Smundak <asmundak@google.com>
11555
11556 * gdb.python/py-frame.exp: Test Frame.read_register.
11557
11558 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11559
11560 PR python/16699
11561 * gdb.python/py-completion.exp: New file.
11562 * gdb.python/py-completion.py: Likewise.
11563
11564 2014-08-28 Doug Evans <dje@google.com>
11565
11566 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11567 eax,etc. are live with values set by gdb and thus the compiler can't
11568 use them.
11569 * gdb.arch/i386-pseudo.c (main): Ditto.
11570
11571 2014-08-27 Doug Evans <dje@google.com>
11572
11573 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11574
11575 2014-08-25 Doug Evans <dje@google.com>
11576
11577 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11578 (main): Ditto.
11579
11580 2014-08-25 Doug Evans <dje@google.com>
11581
11582 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11583
11584 2014-08-24 Yao Qi <yao@codesourcery.com>
11585
11586 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11587 symbol off.
11588 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11589
11590 2014-08-22 Doug Evans <dje@google.com>
11591
11592 PR 17276
11593 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11594 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11595 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11596
11597 2014-08-22 Yao Qi <yao@codesourcery.com>
11598
11599 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11600 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11601 * gdb.python/python.exp: Likewise. Use .py file on the host
11602 instead of the build.
11603
11604 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11605
11606 * gdb.threads/gcore-stale-thread.c: New file.
11607 * gdb.threads/gcore-stale-thread.exp: New file.
11608
11609 2014-08-21 Pedro Alves <palves@redhat.com>
11610
11611 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11612 * gdb.base/gcore-relro-pie.exp: Likewise.
11613 * gdb.base/gcore-relro.exp: Likewise.
11614 * gdb.base/gcore.exp: Likewise.
11615 * gdb.base/print-symbol-loading.exp: Likewise.
11616 * gdb.threads/gcore-thread.exp: Likewise.
11617 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11618
11619 2014-08-20 Pedro Alves <palves@redhat.com>
11620 Jan Kratochvil <jan.kratochvil@redhat.com>
11621
11622 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11623 configure.
11624 (EXPECT): Handle READ1 being set.
11625 (all): Depend on EXTRA_RULES.
11626 (check-read1, expect-read1, read1.so, read1): New rules.
11627 * README (Testsuite Parameters): Document the READ1 make variable.
11628 (Race detection): New section.
11629 * configure: Regenerate.
11630 * configure.ac: If build==host==target, and running under a
11631 GNU/glibc system, add read1 to the extra Makefile rules.
11632 (EXTRA_RULES): AC_SUBST it.
11633 * lib/read1.c: New file.
11634
11635 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11636
11637 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11638 the handling of variables declared as a typedef to an array
11639 which a DW_AT_data_location attribute.
11640
11641 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11642 Pedro Alves <palves@redhat.com>
11643
11644 PR symtab/14604
11645 PR symtab/14605
11646 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11647 gdb_test.
11648
11649 2014-08-19 Pedro Alves <palves@redhat.com>
11650
11651 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11652
11653 2014-08-19 Yao Qi <yao@codesourcery.com>
11654
11655 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11656 right line.
11657
11658 2014-08-18 David Blaikie <dblaikie@gmail.com>
11659
11660 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11661
11662 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11663
11664 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11665 attribute in array range.
11666
11667 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11668
11669 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11670
11671 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11672
11673 PR c++/17132
11674 * gdb.cp/pr17132.cc: New file.
11675 * gdb.cp/pr17132.exp: New file.
11676
11677 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11678
11679 * gdb.python/py-xmethods.py (A_getarrayind)
11680 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11681 Use 'print' with function call syntax.
11682 (E_method_matcher.match): Fix tab vs space indentation mixup.
11683
11684 2014-08-15 Yao Qi <yao@codesourcery.com>
11685
11686 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11687 false.
11688
11689 2014-08-15 Yao Qi <yao@codesourcery.com>
11690
11691 * gdb.cp/casts.exp: Set print symbol off.
11692 * gdb.cp/class2.exp: Likewise.
11693 * gdb.cp/overload.exp: Likewise.
11694 * gdb.cp/templates.exp: Likewise.
11695
11696 2014-08-11 Doug Evans <dje@google.com>
11697
11698 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11699 (test_load_shlib): Update.
11700
11701 2014-08-09 Yao Qi <yao@codesourcery.com>
11702
11703 * gdb.base/display.exp: Invoke is_address_zero_readable.
11704 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11705 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11706 * gdb.base/hbreak-unmapped.exp: Return if
11707 is_address_zero_readable returns true.
11708 * gdb.base/signest.exp: Likewise.
11709 * gdb.base/signull.exp: Likewise.
11710 * gdb.base/sigbpt.exp: Likewise.
11711 * gdb.guile/scm-disasm.exp: Do the test if
11712 is_address_zero_readable returns false.
11713 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11714 * gdb.python/py-arch.exp: Likewise.
11715 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11716 * lib/gdb.exp (is_address_zero_readable): New proc.
11717
11718 2014-08-09 Yao Qi <yao@codesourcery.com>
11719
11720 PR testsuite/13443
11721 * gdb.mi/mi-var-display.exp: Make test messages unique.
11722
11723 2014-08-04 Tom Tromey <tromey@redhat.com>
11724
11725 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11726 target 0".
11727
11728 2014-08-04 Tom Tromey <tromey@redhat.com>
11729
11730 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11731 "target_resume".
11732
11733 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11734
11735 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11736 inner_vla_struct_object_size.
11737 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11738 as xfail.
11739
11740 2014-07-30 Pedro Alves <palves@redhat.com>
11741
11742 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11743 comment.
11744
11745 2014-07-29 Yao Qi <yao@codesourcery.com>
11746
11747 PR gdb/17206
11748 * gdb.base/until-nodebug.exp: New.
11749
11750 2014-07-28 Doug Evans <xdje42@gmail.com>
11751
11752 PR guile/17203
11753 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11754 previously existing parameter, and previously ambiguously spelled
11755 parameter.
11756
11757 2014-07-28 Will Newton <will.newton@linaro.org>
11758
11759 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11760
11761 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11762 Doug Evans <xdje42@gmail.com>
11763
11764 PR guile/17146
11765 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11766
11767 2014-07-25 Pedro Alves <palves@redhat.com>
11768
11769 * gdb.threads/signal-command-handle-nopass.c: New file.
11770 * gdb.threads/signal-command-handle-nopass.exp: New file.
11771 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11772 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11773 * gdb.threads/signal-delivered-right-thread.c: New file.
11774 * gdb.threads/signal-delivered-right-thread.exp: New file.
11775
11776 2014-07-25 Pedro Alves <palves@redhat.com>
11777
11778 * gdb.base/double-prompt-target-event-error.exp
11779 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11780 match.
11781 (cancel_pagination_in_target_event): Rework double prompt
11782 detection.
11783 * gdb.base/paginate-after-ctrl-c-running.exp
11784 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11785 <return>' match.
11786 * gdb.base/paginate-bg-execution.exp
11787 (test_bg_execution_pagination_return)
11788 (test_bg_execution_pagination_cancel): Remove '-notransfer
11789 <return>' matches.
11790 * gdb.base/paginate-execution-startup.exp
11791 (test_fg_execution_pagination_return)
11792 (test_fg_execution_pagination_cancel): Remove '-notransfer
11793 <return>' matches.
11794 * gdb.base/paginate-inferior-exit.exp
11795 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11796 match.
11797 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11798 * lib/gdb.exp (pagination_prompt): Run text through
11799 string_to_regexp.
11800 (gdb_test_multiple): Match $pagination_prompt instead of
11801 "<return>".
11802 (string_to_regexp): Move to lib/gdb-utils.exp.
11803
11804 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11805
11806 * gdb.arch/amd64-entry-value-paramref.S: New file.
11807 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11808 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11809 * gdb.arch/amd64-optimout-repeat.S: New file.
11810 * gdb.arch/amd64-optimout-repeat.c: New file.
11811 * gdb.arch/amd64-optimout-repeat.exp: New file.
11812
11813 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11814
11815 PR gdb/17170
11816 * gdb.base/statistics.exp: New file.
11817
11818 2014-07-17 Doug Evans <dje@google.com>
11819
11820 PR gdb/17170
11821 * gdb.base/maint.exp: Update testing of per-command stats.
11822
11823 2014-07-16 Pedro Alves <palves@redhat.com>
11824
11825 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11826 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11827 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11828 (tfile_write_buf): New functions.
11829 (add_memory_block): Rewrite using the above.
11830 (adjust_function_address): New function.
11831 (FUNCTION_ADDRESS): New macro.
11832 (write_basic_trace_file): Remove short_x local, and use
11833 tfile_write_16. Change type of func_addr local to unsigned long
11834 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11835 here. Cast argument of add_memory_block to char pointer.
11836 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11837 (main): Remove parameters.
11838 * gdb.trace/tfile.exp: Remove nowarnings.
11839
11840 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11841
11842 * gdb.base/debug-expr.exp: Test string evaluation with
11843 "debug expression" on.
11844
11845 2014-07-15 Pedro Alves <palves@redhat.com>
11846
11847 * gdb.base/reread.exp: Use clean_restart.
11848
11849 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11850
11851 * gdb.arch/avr-flash-qualifer.c: New.
11852 * gdb.arch/avr-flash-qualifer.exp: New.
11853
11854 2014-07-14 Pedro Alves <palves@redhat.com>
11855
11856 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11857 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11858
11859 2014-07-14 Pedro Alves <palves@redhat.com>
11860
11861 * gdb.base/double-prompt-target-event-error.c: New file.
11862 * gdb.base/double-prompt-target-event-error.exp: New file.
11863
11864 2014-07-14 Pedro Alves <palves@redhat.com>
11865
11866 PR gdb/17072
11867 * gdb.base/paginate-inferior-exit.c: New file.
11868 * gdb.base/paginate-inferior-exit.exp: New file.
11869
11870 2014-07-14 Pedro Alves <palves@redhat.com>
11871
11872 PR gdb/17072
11873 * gdb.base/paginate-bg-execution.c: New file.
11874 * gdb.base/paginate-bg-execution.exp: New file.
11875
11876 2014-07-14 Pedro Alves <palves@redhat.com>
11877
11878 PR gdb/17072
11879 * gdb.base/paginate-execution-startup.c: New file.
11880 * gdb.base/paginate-execution-startup.exp: New file.
11881 * lib/gdb.exp (pagination_prompt): New global.
11882 (default_gdb_spawn): New procedure, factored out from
11883 default_gdb_spawn.
11884 (default_gdb_start): Adjust to call default_gdb_spawn.
11885 (gdb_spawn): New procedure.
11886
11887 2014-07-14 Pedro Alves <palves@redhat.com>
11888
11889 * lib/gdb.exp (gdb_assert): New procedure.
11890 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
11891
11892 2014-07-14 Pedro Alves <palves@redhat.com>
11893
11894 * gdb.base/execution-termios.c: New file.
11895 * gdb.base/execution-termios.exp: New file.
11896
11897 2014-07-14 Tom Tromey <tromey@redhat.com>
11898
11899 * gdb.cp/vla-cxx.cc: New file.
11900 * gdb.cp/vla-cxx.exp: New file.
11901
11902 2014-07-14 Tom Tromey <tromey@redhat.com>
11903
11904 * gdb.reverse/rerun-prec.c: New file.
11905 * gdb.reverse/rerun-prec.exp: New file.
11906
11907 2014-07-12 Maciej W. Rozycki <macro@mips.com>
11908 Maciej W. Rozycki <macro@codesourcery.com>
11909
11910 * lib/gdb-utils.exp: New file.
11911 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
11912 inline `gdb_init_command' processing.
11913 (gdb_start_cmd): Likewise.
11914 * lib/mi-support.exp (mi_run_cmd): Likewise.
11915 * README: Document `gdb_init_command' and `gdb_init_commands'.
11916
11917 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11918
11919 Fix false FAIL running under a very long directory name.
11920 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
11921 and "set print elements 10000". Twice.
11922
11923 2014-07-11 Yao Qi <yao@codesourcery.com>
11924
11925 * gdb.base/exprs.exp: "set print symbol off".
11926
11927 2014-07-11 Pedro Alves <palves@redhat.com>
11928
11929 * gdb.threads/kill.c: New file.
11930 * gdb.threads/kill.exp: New file.
11931
11932 2014-07-10 Yao Qi <yao@codesourcery.com>
11933
11934 * gdb.trace/tfile.c (write_basic_trace_file)
11935 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
11936 address written to trace file.
11937
11938 2014-07-09 Pedro Alves <palves@redhat.com>
11939
11940 * gdb.base/attach-wait-input.exp: New file.
11941 * gdb.base/attach-wait-input.c: New file.
11942
11943 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
11944
11945 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
11946 setting up test structures.
11947 (main): Call new test function.
11948 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
11949 test function, continue into test function and walk test
11950 structures.
11951
11952 2014-07-02 Yao Qi <yao@codesourcery.com>
11953
11954 * gdb.trace/entry-values.c: Define labels 'foo_start' and
11955 'bar_start' at the beginning of functions 'foo' and 'bar'
11956 respectively.
11957 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
11958 instead of 'foo' and 'bar'.
11959
11960 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
11961
11962 * gdb.btrace/segv.exp: New.
11963 * gdb.btrace/segv.c: New.
11964
11965 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
11966
11967 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
11968 instruction.
11969
11970 2014-06-30 Mark Wielaard <mjw@redhat.com>
11971
11972 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
11973 vulture, vilify, villar): New volatile array constants.
11974 (vindictive, vegetation): New const volatile array constants.
11975 * gdb.base/volatile.exp: Test volatile and const volatile array
11976 types.
11977
11978 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11979
11980 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
11981 target lacks support for awatch, rwatch, or hbreak.
11982
11983 2014-06-27 Yao Qi <yao@codesourcery.com>
11984
11985 * gdb.multi/dummy-frame-restore.exp: New.
11986 * gdb.multi/dummy-frame-restore.c: New.
11987
11988 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
11989
11990 * gdb.btrace/gcore.exp: New.
11991
11992 2014-06-23 Pedro Alves <palves@redhat.com>
11993
11994 * gdb.base/watchpoint-reuse-slot.c: New file.
11995 * gdb.base/watchpoint-reuse-slot.exp: New file.
11996
11997 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
11998
11999 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12000 progspace's filename in 'info', 'enable' and 'disable' command
12001 tests.
12002
12003 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12004
12005 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12006 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12007 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12008
12009 2014-06-20 Gary Benson <gbenson@redhat.com>
12010
12011 * gdb.arch/i386-avx.exp: Fix include file location.
12012 * gdb.arch/i386-sse.exp: Likewise.
12013
12014 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12015
12016 * gdb.dlang/expression.exp: New file.
12017
12018 2014-06-19 Pedro Alves <palves@redhat.com>
12019
12020 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12021 out from ...
12022 (top level): ... here. Iterate running tests under different
12023 scheduler-locking settings.
12024
12025 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12026
12027 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12028 to DW_FORM_addr and use non-zero addresses.
12029
12030 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12031
12032 PR gdb/17017
12033 * gdb.python/py-xmethods.cc: Add global function call counters and
12034 increment them in their respective functions. Remove "cout"
12035 statements.
12036 * gdb.python/py-xmethods.exp: Make tests check the global function
12037 call counters instead of depending on inferior IO.
12038
12039 2014-06-18 Don Breazeal <donb@codesourcery.com>
12040
12041 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12042 Deleted procedure.
12043 (explicit_fork_parent_follow): Deleted procedure.
12044 (explicit_fork_child_follow): Deleted procedure.
12045 (test_follow_fork): New procedure.
12046 (do_fork_tests): Replace calls to deleted procedures with
12047 calls to test_follow_fork and reset GDB for subsequent
12048 procedure calls.
12049
12050 2014-06-17 Yao Qi <yao@codesourcery.com>
12051
12052 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12053 CP1252.
12054
12055 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12056
12057 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12058 Initialize ptr and S explicitly.
12059 (skip_type_update_when_not_use_rtti_test): Likewise.
12060
12061 2014-06-16 Keith Seitz <keiths@redhat.com>
12062
12063 PR mi/15863
12064 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12065 the inferior is started.
12066
12067 2014-06-16 Pedro Alves <palves@redhat.com>
12068
12069 * gdb.base/break-main-file-remove-fail.c: New file.
12070 * gdb.base/break-main-file-remove-fail.exp: New file.
12071 * gdb.base/break-unload-file.exp: Use build_executable instead of
12072 prepare_for_testing.
12073 (test_break): New parameter "initial_load". Handle it.
12074 (top level): Add initial_load cmdline/file axis.
12075
12076 2014-06-12 Tom Tromey <tromey@redhat.com>
12077
12078 * gdb.base/completion.exp: Don't use directory name in test.
12079
12080 2014-06-09 Gary Benson <gbenson@redhat.com>
12081
12082 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12083 separate the always-available ANSI-standard signals from the
12084 signals that require checking.
12085 (main): Likewise.
12086 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12087 Likewise.
12088 (main): Likewise.
12089
12090 2014-06-07 Keith Seitz <keiths@redhat.com>
12091
12092 Revert:
12093 PR c++/16253
12094 * gdb.cp/var-tag.cc: New file.
12095 * gdb.cp/var-tag.exp: New file.
12096 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12097 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12098 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12099 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12100
12101 2014-06-06 Doug Evans <xdje42@gmail.com>
12102
12103 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12104
12105 2014-06-06 Pedro Alves <palves@redhat.com>
12106
12107 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12108 in target debug output instead of looking at RSP packets,
12109 disabling the test on any target that uses hardware stepping.
12110 Update comments.
12111
12112 2014-06-06 Pedro Alves <palves@redhat.com>
12113
12114 * gdb.base/break-unload-file.exp: Fix typo.
12115
12116 2014-06-06 Yao Qi <yao@codesourcery.com>
12117
12118 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12119 from "jit_function" to "^jit_function".
12120
12121 2014-06-06 Yao Qi <yao@codesourcery.com>
12122
12123 * gdb.base/async.c (foo): Add one statement.
12124 * gdb.base/async.exp: Get the next instruction address and
12125 match the output of "nexti" by instruction address. Match
12126 the hex address in the output of "finish".
12127
12128 2014-06-06 Gary Benson <gbenson@redhat.com>
12129
12130 * gdb.base/call-signals.c: Remove preprocessor conditionals
12131 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12132 SIGSEGV and SIGTERM.
12133 * gdb.base/sigall.c: Likewise.
12134 * gdb.base/unwindonsignal.c: Likewise.
12135 * gdb.reverse/sigall-reverse.c: Likewise.
12136
12137 2014-06-06 Yao Qi <yao@codesourcery.com>
12138
12139 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12140 readable, skip the test.
12141
12142 2014-06-06 Yao Qi <yao@codesourcery.com>
12143
12144 * gdb.threads/staticthreads.c (thread_function): Move the line
12145 setting breakpoint on forward.
12146 * gdb.threads/staticthreads.exp: Update comments.
12147
12148 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12149
12150 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12151 "history-append! type error".
12152
12153 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12154
12155 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12156 erroneous dprintf expected input.
12157
12158 2014-06-04 Doug Evans <xdje42@gmail.com>
12159
12160 * gdb.guile/scm-generics.exp: Delete.
12161
12162 2014-06-04 Doug Evans <xdje42@gmail.com>
12163
12164 * gdb.guile/scm-breakpoint.exp: Update.
12165 Add tests for breakpoint registration.
12166
12167 2014-06-04 Tom Tromey <tromey@redhat.com>
12168
12169 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12170 VLA-in-union.
12171 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12172 inner_vla_struct, vla_union types. Initialize objects of those
12173 types and compute their sizes.
12174
12175 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12176 Hui Zhu <hui@codesourcery.com>
12177
12178 * gdb.base/fileio.exp: Add test for shell not available as well as
12179 available.
12180 * gdb.base/fileio.c (test_system): Check for shell twice.
12181
12182 2014-06-04 Yao Qi <yao@codesourcery.com>
12183
12184 * gdb.base/auto-connect-native-target.exp: Remove redundant
12185 space from the regexp pattern.
12186
12187 2014-06-04 Yao Qi <yao@codesourcery.com>
12188
12189 * gdb.base/default.exp: Replace "child" with "native" in
12190 regexp pattern.
12191
12192 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12193
12194 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12195 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12196 * gdb.python/py-xmethods.py: Python script supporting the
12197 new testcase and tests.
12198
12199 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12200 Pedro Alves <palves@redhat.com>
12201
12202 PR breakpoints/17000
12203 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12204 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12205
12206 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12207
12208 * gdb.base/subst.exp: Add tests to verify partial path matching
12209 output.
12210
12211 2014-06-03 Pedro Alves <palves@redhat.com>
12212
12213 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12214 target that doesn't use software single-stepping.
12215
12216 2014-06-03 Pedro Alves <palves@redhat.com>
12217
12218 PR breakpoints/17000
12219 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12220 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12221
12222 2014-06-02 Doug Evans <xdje42@gmail.com>
12223
12224 * gdb.guile/scm-parameter.exp: New file.
12225
12226 2014-06-02 Doug Evans <xdje42@gmail.com>
12227
12228 * gdb.guile/scm-cmd.c: New file.
12229 * gdb.guile/scm-cmd.exp: New file.
12230
12231 2014-06-02 Doug Evans <xdje42@gmail.com>
12232
12233 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12234 pretty-printer lookup.
12235 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12236 (make-pp_s-printer): Call it.
12237 (make-pretty-printer-from-dict): New function.
12238 (lookup-pretty-printer-maker-from-dict): New function.
12239 (*pretty-printer*): Simplify.
12240 (make-objfile-pp_s-printer): New function.
12241 (install-objfile-pretty-printers!): New function.
12242 (make-progspace-pp_s-printer): New function.
12243 (install-progspace-pretty-printers!): New function.
12244 * gdb.guile/scm-progspace.c: New file.
12245 * gdb.guile/scm-progspace.exp: New file.
12246
12247 2014-06-02 Pedro Alves <palves@redhat.com>
12248
12249 * gdb.base/dprintf-bp-same-addr.c: New file.
12250 * gdb.base/dprintf-bp-same-addr.exp: New file.
12251
12252 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12253
12254 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12255 * gdb.arch/powerpc-power.s: Likewise.
12256
12257 2014-06-02 Joel Brobecker <brobecker@adacore.com>
12258
12259 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12260
12261 2014-06-01 Yao Qi <yao@codesourcery.com>
12262
12263 * gdb.base/watchpoint.exp (test_watch_location): Check null
12264 pointer can be dereferenced. If not, do the test, otherwise
12265 skip it.
12266
12267 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12268
12269 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12270 results.
12271 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12272
12273 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12274
12275 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12276 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12277 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12278 * gdb.arch/amd64-invalid-stack-top.c: New file.
12279 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12280
12281 2014-05-30 Pedro Alves <palves@redhat.com>
12282
12283 PR breakpoints/17000
12284 * gdb.base/sss-bp-on-user-bp.c: New file.
12285 * gdb.base/sss-bp-on-user-bp.exp: New file.
12286
12287 2014-05-30 David Blaikie <dblaikie@gmail.com>
12288
12289 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12290 gnu_inline semantics via attribute.
12291 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12292 source explicitly specifies the required semantics.
12293
12294 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12295
12296 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12297
12298 2014-05-29 Pedro Alves <palves@redhat.com>
12299 Tom Tromey <tromey@redhat.com>
12300
12301 * gdb.base/async-shell.exp: Don't enable target-async.
12302 * gdb.base/async.exp
12303 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12304 parameter. Adjust.
12305 (top level): Don't test with "target-async".
12306 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12307 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12308 * gdb.base/inferior-died.exp: Don't enable target-async.
12309 * gdb.base/interrupt-noterm.exp: Likewise.
12310 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12311 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12312 * gdb.mi/mi-nonstop.exp: Likewise.
12313 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12314 * gdb.mi/mi-nsintrall.exp: Likewise.
12315 * gdb.mi/mi-nsmoribund.exp: Likewise.
12316 * gdb.mi/mi-nsthrexec.exp: Likewise.
12317 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12318 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12319 * gdb.python/py-evsignal.exp: Don't enable target-async.
12320 * gdb.python/py-evthreads.exp: Likewise.
12321 * gdb.python/py-prompt.exp: Likewise.
12322 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12323 * gdb.server/solib-list.exp: Don't enable target-async.
12324 * gdb.threads/thread-specific-bp.exp: Likewise.
12325 * lib/mi-support.exp: Adjust to use mi-async.
12326
12327 2014-05-29 Pedro Alves <palves@redhat.com>
12328
12329 PR gdb/13860
12330 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12331 reason, even in sync mode.
12332
12333 2014-05-29 Pedro Alves <palves@redhat.com>
12334 Hui Zhu <hui@codesourcery.com>
12335
12336 PR PR15693
12337 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12338 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12339 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12340 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12341
12342 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12343
12344 * config/monitor.exp (gdb_target_monitor): Replace use of
12345 "set remotebaud" by "set serial baud".
12346
12347 2014-05-26 Andy Wingo <wingo@igalia.com>
12348
12349 * gdb.guile/scm-breakpoint.exp:
12350 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12351 properties instead of gdb-object-properties.
12352
12353 2014-05-26 Yao Qi <yao@codesourcery.com>
12354
12355 * gdb.server/no-thread-db.exp: Specify source file name
12356 explicitly when setting a breakpoint.
12357
12358 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12359
12360 * gdb.btrace/vdso.c: New.
12361 * gdb.btrace/vdso.exp: New.
12362
12363 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12364
12365 * gdb.base/gcore.exp (capture_command_output): Move ...
12366 * lib/gdb.exp (capture_command_output): ... here.
12367
12368 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12369
12370 * gdb.btrace/data.exp: Test memory access during btrace replay.
12371
12372 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12373
12374 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12375
12376 2014-05-21 Pedro Alves <palves@redhat.com>
12377
12378 PR gdb/13860
12379 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12380 (top level): Test that output related to execution commands is
12381 sent to the console with CLI commands, but not with MI commands.
12382 Test that breakpoint events are always mirrored to the console.
12383 Also expect the new source line to be output after a "next" in
12384 async mode too. Make it a pass/fail test.
12385 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12386 output.
12387 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12388
12389 2014-05-21 Pedro Alves <palves@redhat.com>
12390
12391 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12392 Use them to test variations of "list" after reaching a breakpoint.
12393 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12394 Test "list" with listsize 10 after reaching a breakpoint.
12395 * gdb.python/python.exp (decode_line current location line
12396 number): Adjust expected line number.
12397
12398 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12399
12400 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12401 behavior for $args, pass it directly to "run".
12402
12403 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12404
12405 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12406 30000 to 65536.
12407
12408 2014-05-21 Pedro Alves <palves@redhat.com>
12409
12410 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12411 auto-connect-native-target off".
12412 * gdb.base/auto-connect-native-target.c: New file.
12413 * gdb.base/auto-connect-native-target.exp: New file.
12414
12415 2014-05-21 Pedro Alves <palves@redhat.com>
12416
12417 * gdb.base/default.exp: Test "target native" instead of "target
12418 child".
12419
12420 2014-05-21 Mark Wielaard <mjw@redhat.com>
12421
12422 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12423
12424 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12425
12426 Fix TLS access for -static -pthread.
12427 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12428 <HAVE_TLS> (thread_function, main): Initialize it.
12429 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12430 Add clean_restart.
12431 <$have_tls != "">: Check TLSVAR.
12432
12433 2014-05-21 Pedro Alves <palves@redhat.com>
12434
12435 * gdb.base/dcache-line-read-error.c: New.
12436 * gdb.base/dcache-line-read-error.exp: New.
12437
12438 2014-05-20 Pedro Alves <palves@redhat.com>
12439
12440 * gdb.base/compare-sections.c: New file.
12441 * gdb.base/compare-sections.exp: New file.
12442
12443 2014-05-20 Pedro Alves <palves@redhat.com>
12444
12445 * gdb.base/break-idempotent.c: New file.
12446 * gdb.base/break-idempotent.exp: New file.
12447
12448 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12449
12450 * gdb.btrace/nohist.exp: New.
12451
12452 2014-05-20 Yao Qi <yao@codesourcery.com>
12453
12454 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12455 gdb.reverse directory and gdb_reverse_timeout exists in board
12456 setting.
12457 * README: Document gdb_reverse_timeout.
12458
12459 2014-05-20 Yao Qi <yao@codesourcery.com>
12460
12461 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12462 'test_file_name'. Treat args as a string instead of a list.
12463 (gdb_init): Rename argument 'args' by 'test_file_name'.
12464
12465 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12466
12467 * gdb.arch/powerpc-power.exp: New file.
12468 * gdb.arch/powerpc-power.s: New file.
12469
12470 2014-05-16 Doug Evans <dje@google.com>
12471
12472 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
12473 * gdb.base/completion.exp: Check that all expected files exist
12474 before doing file completion.
12475
12476 2014-05-16 Doug Evans <dje@google.com>
12477
12478 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12479 Update.
12480 (do_syscall_tests_without_xml): Update.
12481
12482 2014-05-16 Pedro Alves <palves@redhat.com>
12483
12484 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12485 instead of "unknown output after running".
12486
12487 2014-05-16 Yao Qi <yao@codesourcery.com>
12488
12489 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12490 file1.txt from host at the end.
12491 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12492
12493 2014-05-15 Doug Evans <dje@google.com>
12494
12495 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12496 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12497 loading file. Add test for TU lookup.
12498
12499 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12500
12501 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12502 calling "-exec-arguments" or "set args" before running the
12503 inferior.
12504
12505 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12506
12507 * lib/mi-support.exp (mi_expect_stop): Expect message for
12508 inferiors that exit with non-zero exit code.
12509
12510 2014-05-14 Yao Qi <yao@codesourcery.com>
12511
12512 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12513 match absolute path on remote host.
12514 (test_file_list_exec_source_files): Remove "/" from the
12515 pattern.
12516
12517 2014-05-14 Yao Qi <yao@codesourcery.com>
12518
12519 * boards/local-remote-host-notty.exp (${board}_file): New
12520 proc.
12521
12522 2014-05-07 Kyle McMartin <kyle@redhat.com>
12523
12524 Pushed by Joel Brobecker <brobecker@adacore.com>.
12525 * gdb.arch/aarch64-atomic-inst.c: New file.
12526 * gdb.arch/aarch64-atomic-inst.exp: New file.
12527
12528 2014-05-07 Yao Qi <yao@codesourcery.com>
12529
12530 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12531 in current context" too.
12532
12533 2014-05-05 Keith Seitz <keiths@redhat.com>
12534
12535 * gdb.linespec/ls-dollar.exp: Add test for linespec
12536 file:convenience_variable.
12537
12538 2014-05-05 Yao Qi <yao@codesourcery.com>
12539
12540 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12541 traceframes into tfile and ctf trace files. Read data from
12542 trace file and test collected data.
12543 (gdb_collect_locals_test): Likewise.
12544 (gdb_unavailable_registers_test): Likewise.
12545 (gdb_unavailable_floats): Likewise.
12546 (gdb_collect_globals_test): Likewise.
12547 (top-level): Append "ctf" to trace_file_targets if GDB
12548 supports.
12549
12550 2014-05-05 Yao Qi <yao@codesourcery.com>
12551
12552 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12553 code to ...
12554 (gdb_collect_args_test_1): ... it. New proc.
12555 (gdb_collect_locals_test): Move some code to ...
12556 (gdb_collect_locals_test_1): ... it. New proc.
12557 (gdb_unavailable_registers_test): Move some code to ...
12558 (gdb_unavailable_registers_test_1): ... it. New proc.
12559 (gdb_unavailable_floats): Move some code to ...
12560 (gdb_unavailable_floats_1): ... it. New proc.
12561
12562 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12563
12564 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12565 probes to test for bitness recognition.
12566 * gdb.arch/amd64-stap-optional-prefix.exp
12567 (test_probe_value_without_reg): New procedure.
12568 Add code to test for different kinds of bitness.
12569
12570 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12571
12572 PR breakpoints/16889
12573 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12574 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12575
12576 2014-05-01 Pedro Alves <palves@redhat.com>
12577
12578 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12579 gdb_file_cmd if no file is specified.
12580 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12581 last_loaded_file to set the remote exec-file.
12582
12583 2014-05-01 Pedro Alves <palves@redhat.com>
12584
12585 * boards/local-remote-host.exp: New file.
12586
12587 2014-05-01 Pedro Alves <palves@redhat.com>
12588
12589 * boards/local-remote-host.exp: Rename to ...
12590 * boards/local-remote-host-notty.exp: ... this.
12591
12592 2014-04-28 Joel Brobecker <brobecker@adacore.com>
12593
12594 * gdb.ada/dyn_arrayidx: New testcase.
12595
12596 2014-04-26 Yao Qi <yao@codesourcery.com>
12597
12598 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12599 and compute the length of function main. Save it in
12600 $main_length.
12601 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12602 (top-level): Use gdb_compile to compile objects into
12603 executable and restart GDB. Remove invocation to
12604 prepare_for_testing.
12605
12606 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12607 Pedro Alves <palves@redhat.com>
12608
12609 PR server/16255
12610 * gdb.multi/multi-attach.c: New file.
12611 * gdb.multi/multi-attach.exp: New file.
12612
12613 2014-04-25 Pedro Alves <palves@redhat.com>
12614
12615 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12616 user.
12617 (top level): Test that "set remote conditional-breakpoints-packet
12618 off" works as intended.
12619 * gdb.base/dprintf.exp: Test that "set remote
12620 breakpoint-commands-packet off" works as intended.
12621 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12622 New function.
12623 (top level): Call it.
12624 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12625 remote fast-tracepoints-packet off" works as intended.
12626 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12627 * lib/gdb.exp (gdb_is_target_remote): ... here.
12628
12629 2014-04-24 David Blaikie <dblaikie@gmail.com>
12630
12631 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12632 ensure clang would not discard them.
12633 * gdb.base/gdbvars.c: Ditto.
12634 * gdb.base/memattr.c: Ditto.
12635 * gdb.base/whatis.c: Ditto.
12636 * gdb.python/py-prettyprint.c: Ditto.
12637 * gdb.trace/actions.c: Ditto.
12638 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12639 ensure clang would not discard it.
12640
12641 2014-04-24 David Blaikie <dblaikie@gmail.com>
12642
12643 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12644 clang to emit the full definition of type required by the test
12645 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12646
12647 2014-04-24 David Blaikie <dblaikie@gmail.com>
12648
12649 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12650 coax Clang into emitting the definition of the type.
12651 * gdb.cp/pr10728-x.h (y): Ditto.
12652 * gdb.cp/pr10728-y.cc (y): Ditto.
12653
12654 2014-04-24 David Blaikie <dblaikie@gmail.com>
12655
12656 * gdb.base/label.exp: XFAIL label related tests under Clang.
12657 * gdb.cp/cplabel.exp: Ditto.
12658 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12659 under Clang those using labels.
12660
12661 2014-04-25 Yao Qi <yao@codesourcery.com>
12662
12663 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12664 double_label.
12665 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12666 partial_label and double_label.
12667
12668 2014-04-24 David Blaikie <dblaikie@gmail.com>
12669
12670 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12671
12672 2014-04-24 David Blaikie <dblaikie@gmail.com>
12673
12674 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12675 of the function to work across GCC and Clang.
12676 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12677 pointer types (const void ** const V void **).
12678
12679 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12680 Walfred Tedeschi <walfred.tedeschi@intel.com>
12681
12682 * Makefile.in (EXECUTABLES): Added i386-avx512.
12683 * gdb.arch/i386-avx512.c: New file.
12684 * gdb.arch/i386-avx512.exp: Likewise.
12685
12686 2014-04-23 Keith Seitz <keiths@redhat.com>
12687
12688 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12689 (mi_make_breakpoint_table): New procedure.
12690 (mi_create_breakpoint): Use mi_make_breakpoint
12691 and return the result.
12692 (mi_make_breakpoint): New procedure.
12693 (mi_build_kv_pairs): New procedure.
12694
12695 * gdb.mi/mi-break.exp: Remove unused globals,
12696 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12697 All callers updated.
12698 * gdb.mi/mi-dprintf.exp: Use variable to track command
12699 number.
12700 Update all callers of mi_create_breakpoint and use
12701 mi_make_breakpoint_table.
12702 Remove any unused global variables.
12703 * gdb.mi/mi-nonstop.exp: Likewise.
12704 * gdb.mi/mi-nsintrall.exp: Likewise.
12705 * gdb.mi/mi-nsmoribund.exp: Likewise.
12706 * gdb.mi/mi-nsthrexec.exp: Likewise.
12707 * gdb.mi/mi-reverse.exp: Likewise.
12708 * gdb.mi/mi-simplerun.exp: Likewise.
12709 * gdb.mi/mi-stepn.exp: Likewise.
12710 * gdb.mi/mi-syn-frame.exp: Likewise.
12711 * gdb.mi/mi-until.exp: Likewise.
12712 * gdb.mi/mi-var-cp.exp: Likewise.
12713 * gdb.mi/mi-var-display.exp: Likewise.
12714 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12715 * gdb.mi/mi2-var-child.exp: Likewise.
12716 * gdb.mi/mi-vla-c99.exp: Likewise.
12717 * lib/mi-support.exp: Likewise.
12718
12719 From Ian Lance Taylor <iant@cygnus.com>:
12720 * lib/gdb.exp (parse_args): New procedure.
12721
12722 2014-04-23 Pedro Alves <palves@redhat.com>
12723
12724 * gdb.base/break-unload-file.c: New file.
12725 * gdb.base/break-unload-file.exp: New file.
12726 * gdb.base/sym-file-lib.c (baz): New function.
12727 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12728 field.
12729 (load): Store the segment's mapped size.
12730 (unload): New function.
12731 (unload_shlib): New function.
12732 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12733 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12734 set a breakpoint at baz, and call it.
12735 * gdb.base/sym-file.exp: New tests for stale breakpoint
12736 instructions.
12737
12738 2014-04-23 Pedro Alves <palves@redhat.com>
12739
12740 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12741 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12742 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12743 * gdb.base/hbreak-unmapped.c: New file.
12744 * gdb.base/hbreak-unmapped.exp: New file.
12745 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12746 * lib/gdb.exp (gdb_is_target_remote): ... here.
12747
12748 2014-04-22 Pedro Alves <palves@redhat.com>
12749
12750 * gdb.base/consecutive-step-over.c: New file.
12751 * gdb.base/consecutive-step-over.exp: New file.
12752
12753 2014-04-22 Pedro Alves <palves@redhat.com>
12754
12755 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12756 instead of send_gdb/gdb_expect.
12757
12758 2014-04-22 Yao Qi <yao@codesourcery.com>
12759
12760 * lib/trace-support.exp (generate_tracefile): New procedure.
12761 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12762 return 0.
12763 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12764 if generate_tracefile returns 1.
12765
12766 2014-04-18 Tom Tromey <palves@redhat.com>
12767 Pedro alves <tromey@redhat.com>
12768
12769 PR backtrace/15558
12770 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12771 with a backtrace limit.
12772 * gdb.python/py-frame-inline.exp: Test running to an inline
12773 function with a backtrace limit, and printing the newest frame.
12774 * gdb.python/py-frame-inline.c (main): Call f.
12775
12776 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12777
12778 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12779
12780 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12781
12782 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12783 Drop prefix from unsupported source file path.
12784
12785 2014-04-17 Yao Qi <yao@codesourcery.com>
12786
12787 * lib/gdb.exp (with_target_charset): New proc.
12788 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12789 with_target_charset.
12790 (test_print_strings): Likewise.
12791 (test_repeat_bytes): Likewise.
12792 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12793 for some tests.
12794
12795 2014-04-16 Keith Seitz <keiths@redhat.com>
12796
12797 PR gdb/15827
12798 * gdb.dwarf2/corrupt.c: New file.
12799 * gdb.dwarf2/corrupt.exp: New file.
12800
12801 2014-04-16 Keith Seitz <keiths@redhat.com>
12802
12803 PR c++/16597
12804 * gdb.cp/namelessclass.cc: New file.
12805 * gdb.cp/namelessclass.exp: New file.
12806 * gdb.cp/namelessclass.S: New file.
12807
12808 2014-04-16 Doug Evans <dje@google.com>
12809
12810 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12811 Add comment.
12812 (gdbserver_default_get_comm_port): New function.
12813 (gdbserver_start): Check if board file provided
12814 "gdbserver,get_comm_port" and use it if so.
12815 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12816 (gdb,socketport): Set to "stdio".
12817 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12818 (stdio_gdbserver_template): Delete.
12819 (${board}_get_remote_address): Update.
12820 (${board}_build_remote_cmd): Delete.
12821 (${board}_get_comm_port): New function.
12822 (${board}_spawn): Update.
12823 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12824 Delete.
12825 (${board}_get_remote_address): Update.
12826 (${board}_get_comm_port): New function.
12827
12828 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12829
12830 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12831 appearing in any order.
12832
12833 2014-04-15 Doug Evans <dje@google.com>
12834
12835 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12836 uninitialized value of "description".
12837
12838 2014-04-15 Keith Seitz <keiths@redhat.com>
12839
12840 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12841 Remove unused globals.
12842 (test_running_the_program): Likewise.
12843 (test_controlled_execution): Likewise.
12844 (test_controlling_breakpoints): Likewise.
12845 (test_program_termination): Likewise.
12846
12847 2014-04-15 Keith Seitz <keiths@redhat.com>
12848
12849 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12850 unused globals.
12851 (test_rbreak_creation_and_listing): Likewise.
12852 (test_ignore_count): Likewise.
12853 (test_error): Likewise.
12854
12855 2014-04-15 Pedro Alves <palves@redhat.com>
12856
12857 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12858 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12859 sym-file-loader.c.
12860 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12861 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12862 to sym-file-loader.c.
12863 (struct library): Forward declare.
12864 (load_shlib, lookup_function): Change prototypes.
12865 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12866 (translate_offset): Remove declarations.
12867 (get_text_addr): New declaration.
12868 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
12869 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
12870 sym-file-loader.h.
12871 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12872 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12873 here from sym-file-loader.h.
12874 (struct library): New structure.
12875 (load_shlib, lookup_function): Change prototypes and adjust to
12876 work with a struct library.
12877 (find_shstrtab, find_strtab, find_shdr, find_symtab)
12878 (translate_offset): Make static.
12879 (get_text_addr): New function.
12880 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
12881
12882 2014-04-15 Pedro Alves <palves@redhat.com>
12883
12884 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
12885
12886 2014-04-15 Pedro Alves <palves@redhat.com>
12887
12888 * gdb.base/sym-file-loader.c: Include <limits.h>.
12889 (SELF_LINK): New define.
12890 (get_origin): New function.
12891 (load_shlib): Use it.
12892 * gdb.base/sym-file.exp: Don't early return if the target is
12893 remote. Use runto_main, and issue fail is that fails. Use
12894 gdb_load_shlibs.
12895 (shlib_name): Delete.
12896 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
12897
12898 2014-04-15 Pedro Alves <palves@redhat.com>
12899
12900 * gdb.base/sym-file.exp: Remove regex characters from test
12901 message. Don't refer to breakpoint numbers in test messages.
12902
12903 2014-04-14 Keith Seitz <keiths@redhat.com>
12904
12905 PR c++/16253
12906 * gdb.cp/var-tag.cc: New file.
12907 * gdb.cp/var-tag.exp: New file.
12908 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12909 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12910 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12911 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12912
12913 2014-04-14 Tom Tromey <tromey@redhat.com>
12914
12915 * gdb.cp/classes.exp (test_enums): Handle underlying type.
12916 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
12917 type.
12918 * gdb.cp/enum-class.exp: New file.
12919 * gdb.cp/enum-class.cc: New file.
12920
12921 2014-04-14 Tom Tromey <tromey@redhat.com>
12922
12923 * gdb.dwarf2/enum-type.exp: New file.
12924
12925 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12926
12927 * gdb.mi/mi-vla-c99.exp: New file.
12928 * gdb.mi/vla.c: New file.
12929
12930 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12931
12932 * gdb.base/vla-datatypes.c: New file.
12933 * gdb.base/vla-datatypes.exp: New file.
12934
12935 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12936
12937 * gdb.base/vla-ptr.c: New file.
12938 * gdb.base/vla-ptr.exp: New file.
12939
12940 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12941
12942 * gdb.dwarf2/count.exp: New file.
12943
12944 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
12945
12946 * gdb.base/vla-sideeffect.c: New file.
12947 * gdb.base/vla-sideeffect.exp: New file.
12948
12949 2014-04-14 David Blaikie <dblaikie@gmail.com>
12950
12951 * gdb.mi/non-stop.c: Add return value for non-void function return
12952 statement.
12953 * gdb.threads/staticthreads.c: Ditto.
12954
12955 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
12956 Doug Evans <xdje42@gmail.com>
12957
12958 * gdb.guile/scm-value.c: Improve test case.
12959 * gdb.guile/scm-value.exp: Add new test.
12960
12961 2014-04-11 David Blaikie <dblaikie@gmail.com>
12962
12963 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
12964 override Clang's default.
12965
12966 2014-04-11 Joel Brobecker <brobecker@adacore.com>
12967
12968 Revert the following changes (regressions):
12969
12970 * gdb.base/vla-sideeffect.c: New file.
12971 * gdb.base/vla-sideeffect.exp: New file.
12972
12973 * gdb.dwarf2/count.exp: New file.
12974
12975 * gdb.base/vla-multi.c: New file.
12976 * gdb.base/vla-multi.exp: New file.
12977
12978 * gdb.base/vla-ptr.c: New file.
12979 * gdb.base/vla-ptr.exp: New file.
12980
12981 * gdb.base/vla-datatypes.c: New file.
12982 * gdb.base/vla-datatypes.exp: New file.
12983
12984 * gdb.mi/mi-vla-c99.exp: New file.
12985 * gdb.mi/vla.c: New file.
12986
12987 2014-04-11 Keith Seitz <keiths@redhat.com>
12988
12989 PR c++/16675
12990 * gdb.cp/cpsizeof.exp: New file.
12991 * gdb.cp/cpsizeof.cc: New file.
12992
12993 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12994
12995 * gdb.mi/mi-vla-c99.exp: New file.
12996 * gdb.mi/vla.c: New file.
12997
12998 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
12999
13000 * gdb.base/vla-datatypes.c: New file.
13001 * gdb.base/vla-datatypes.exp: New file.
13002
13003 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13004
13005 * gdb.base/vla-ptr.c: New file.
13006 * gdb.base/vla-ptr.exp: New file.
13007
13008 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13009
13010 * gdb.base/vla-multi.c: New file.
13011 * gdb.base/vla-multi.exp: New file.
13012
13013 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13014
13015 * gdb.dwarf2/count.exp: New file.
13016
13017 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13018
13019 * gdb.base/vla-sideeffect.c: New file.
13020 * gdb.base/vla-sideeffect.exp: New file.
13021
13022 2014-04-11 Yao Qi <yao@codesourcery.com>
13023
13024 * gdb.base/completion.exp: Check file exists before running tests
13025 on file completion.
13026
13027 2014-04-10 Pedro Alves <palves@redhat.com>
13028
13029 * gdb.base/cond-eval-mode.c: New file.
13030 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13031 prepare_for_testing to build the new file. Check result of
13032 runto_main.
13033 (test_break, test_watch): New procedures.
13034 (top level): Use them.
13035
13036 2014-04-08 Pierre Muller <muller@sourceware.org>
13037
13038 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13039 Ctrl-V use for mingw hosts.
13040
13041 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13042
13043 * gdb.python/py-value.c: Improve test case.
13044 * gdb.python/py-value.exp: Add new test.
13045
13046 2014-04-07 David Blaikie <dblaikie@gmail.com>
13047
13048 * lib/compiler.c: Identify the clang compiler.
13049 * lib/compiler.cc: Ditto.
13050
13051 2014-04-03 Yao Qi <yao@codesourcery.com>
13052
13053 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13054
13055 2014-04-01 Anton Blanchard <anton@samba.org>
13056
13057 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13058 messages unique.
13059
13060 2014-04-01 Anton Blanchard <anton@samba.org>
13061
13062 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13063 prepare_for_testing.
13064
13065 2014-04-01 Anton Blanchard <anton@samba.org>
13066
13067 * gdb.arch/ppc64-atomic-inst.c: Remove.
13068 * gdb.arch/ppc64-atomic-inst.S: New file.
13069 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13070
13071 2014-03-31 Doug Evans <dje@google.com>
13072
13073 * gdb.base/print-symbol-loading-lib.c: New file.
13074 * gdb.base/print-symbol-loading-main.c: New file.
13075 * gdb.base/print-symbol-loading.exp: New file.
13076
13077 2014-03-31 Yao Qi <yao@codesourcery.com>
13078
13079 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13080
13081 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13082
13083 * gdb.ada/mi_dyn_arr: New testcase.
13084
13085 2014-03-27 Doug Evans <dje@google.com>
13086
13087 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13088
13089 2014-03-27 Yao Qi <yao@codesourcery.com>
13090
13091 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13092 if target is nios2-*-*.
13093
13094 2014-03-26 Yao Qi <yao@codesourcery.com>
13095
13096 * lib/gdb.exp (readline_is_used): New proc.
13097 * gdb.base/completion.exp: Move tests on command complete up.
13098 Skip the rest of tests if readline is not used.
13099 * gdb.ada/complete.exp: Skp the test if readline is not
13100 used.
13101 * gdb.base/filesym.exp: Likewise.
13102 * gdb.base/macscp.exp: Likewise.
13103 * gdb.base/readline-ask.exp: Likewise.
13104 * gdb.base/readline.exp: Likewise.
13105 * gdb.python/py-cmd.exp: Likewise.
13106 * gdb.trace/tfile.exp: Likewise.
13107
13108 2014-03-26 Yao Qi <yao@codesourcery.com>
13109
13110 * gdb.base/macscp.exp: Fix code format issues.
13111
13112 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13113
13114 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13115 * gdb.asm/powerpc64le.inc: New file.
13116
13117 2014-03-25 Pedro Alves <palves@redhat.com>
13118 Doug Evans <dje@google.com>
13119
13120 * gdb.base/source-execution.c: New file.
13121 * gdb.base/source-execution.exp: New file.
13122 * gdb.base/source-execution.gdb: New file.
13123
13124 2014-03-24 Doug Evans <dje@google.com>
13125
13126 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13127 using fission.
13128
13129 2014-03-24 Hui Zhu <hui@codesourcery.com>
13130 Pedro Alves <palves@redhat.com>
13131
13132 PR breakpoints/16101
13133 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13134 test pass/fail messages. Detect missing support for dprintf when
13135 breakpoints are actually inserted.
13136 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13137 breakpoints are actually inserted.
13138 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13139 fails.
13140
13141 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13142
13143 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13144
13145 2014-03-22 Doug Evans <xdje42@gmail.com>
13146
13147 * gdb.python/python.exp (python not supported): Verify multi-line
13148 python command issues an error.
13149 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13150 guile command issues an error.
13151
13152 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13153
13154 * gdb.threads/thread-specific.exp: Handle the lack of usable
13155 $this_breakpoint and $this_thread.
13156
13157 2014-03-21 Hui Zhu <hui@codesourcery.com>
13158
13159 * gdb.base/attach.exp (do_command_attach_tests): New.
13160
13161 2014-03-20 Tom Tromey <tromey@redhat.com>
13162 Pedro Alves <palves@redhat.com>
13163
13164 PR cli/15718
13165 * gdb.base/condbreak-call-false.c: New file.
13166 * gdb.base/condbreak-call-false.exp: New file.
13167
13168 2014-03-20 Pedro Alves <palves@redhat.com>
13169
13170 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13171 Delete.
13172 (block_signals, unblock_signals): Delete.
13173 (child_function_2, main): Remove references to deleted variable
13174 and functions.
13175
13176 2014-03-20 Pedro Alves <palves@redhat.com>
13177
13178 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13179 Use pthread_kill to signal thread 2.
13180 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13181 Adjust to make the test send itself a signal rather than using the
13182 host's "kill" command.
13183
13184 2014-03-20 Pedro Alves <palves@redhat.com>
13185
13186 * gdb.threads/multiple-step-overs.c: New file.
13187 * gdb.threads/multiple-step-overs.exp: New file.
13188 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13189 Adjust expected infrun debug output.
13190
13191 2014-03-20 Pedro Alves <palves@redhat.com>
13192
13193 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13194 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13195
13196 2014-03-20 Pedro Alves <palves@redhat.com>
13197
13198 PR breakpoints/7143
13199 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13200 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13201 of gdb_test_multiple.
13202 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13203 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13204
13205 2014-03-20 Pedro Alves <palves@redhat.com>
13206
13207 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13208 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13209
13210 2014-03-19 Pedro Alves <palves@redhat.com>
13211
13212 * gdb.base/async.exp: Remove early return.
13213
13214 2014-03-19 Pedro Alves <palves@redhat.com>
13215
13216 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13217
13218 2014-03-19 Pedro Alves <palves@redhat.com>
13219
13220 * gdb.base/async.exp (test_background): Expect \r\n after
13221 "completed." in the fail pattern.
13222
13223 2014-03-19 Pedro Alves <palves@redhat.com>
13224
13225 * gdb.base/async.exp (test_background): New procedure.
13226 Use it for all background execution command tests.
13227
13228 2014-03-19 Pedro Alves <palves@redhat.com>
13229
13230 * gdb.base/async.exp: Use prepare_for_testing.
13231
13232 2014-03-19 Pedro Alves <palves@redhat.com>
13233
13234 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13235 the same line.
13236
13237 2014-03-19 Pedro Alves <palves@redhat.com>
13238
13239 * gdb.base/async.c (main): Add "jump here" and "until here" line
13240 marker comments.
13241 * gdb.base/async.exp (jump_here): New global.
13242 (jump& test): Use it.
13243 (until_here): New global.
13244 (until& test): Use it.
13245
13246 2014-03-19 Pedro Alves <palves@redhat.com>
13247
13248 * gdb.base/async.exp: Don't frob gdb_protocol.
13249
13250 2014-03-18 Doug Evans <xdje42@gmail.com>
13251
13252 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13253 Fix spelling of exec-done-display.
13254
13255 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13256
13257 PR gdb/15358
13258 * gdb.base/gdb-sigterm.c: New file.
13259 * gdb.base/gdb-sigterm.exp: New file.
13260
13261 2014-03-18 Pedro Alves <palves@redhat.com>
13262
13263 PR gdb/13860
13264 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13265 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13266 solib-event.
13267
13268 2014-03-17 Joel Brobecker <brobecker@adacore.com>
13269
13270 * gdb.ada/pckd_arr_ren: New testcase.
13271
13272 2014-03-13 Doug Evans <xdje42@gmail.com>
13273
13274 PR guile/16612
13275 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13276 collect after discarding symbols.
13277
13278 2014-03-13 Ludovic Courtès <ludo@gnu.org>
13279 Doug Evans <xdje42@gmail.com>
13280
13281 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13282 to history survives a gc.
13283
13284 2014-03-13 Pedro Alves <palves@redhat.com>
13285
13286 * gdb.base/default.exp: Don't test "target procfs".
13287
13288 2014-03-13 Pedro Alves <palves@redhat.com>
13289
13290 * gdb.base/default.exp: Update "target child" and "target procfs"
13291 tests to not expect "Unix".
13292
13293 2014-03-12 Tom Tromey <tromey@redhat.com>
13294
13295 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13296 New procs. Add target-async tests.
13297 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13298 Add target-async tests.
13299
13300 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13301
13302 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13303 'func_start' and 'func_end' for the beginning and end of the
13304 function code, respectively.
13305 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13306 'func_end' instead of 'func' and 'main'.
13307
13308 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13309
13310 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13311 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13312 generate the debug info assembler source.
13313
13314 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13315
13316 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13317 * gdb.dwarf2/arr-subrange.exp: Likewise.
13318 * gdb.dwarf2/dwz.exp: Likewise.
13319 * gdb.dwarf2/method-ptr.exp: Likewise.
13320 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13321 * gdb.dwarf2/subrange.exp: Likewise.
13322 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13323 * gdb.dwarf2/implptrpiece.exp: Likewise.
13324 * gdb.dwarf2/nostaticblock.exp: Likewise.
13325
13326 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13327
13328 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13329 directory to absolute path name arguments.
13330
13331 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13332
13333 * gdb.ada/tagged_access: New testcase.
13334
13335 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13336
13337 * gdb.btrace/data.exp: Update expected output.
13338
13339 2014-03-06 Yao Qi <yao@codesourcery.com>
13340
13341 * gdb.trace/pr16508.exp: New file.
13342
13343 2014-03-05 Pedro Alves <palves@redhat.com>
13344
13345 PR gdb/16575
13346 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13347 procedure.
13348 (top level): Adjust to use it. Add tests that exercise breakpoint
13349 interaction with the code-cache.
13350
13351 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13352
13353 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13354 test for 'history-append!'.
13355
13356 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13357
13358 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13359 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13360 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13361 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13362 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13363 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13364
13365 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13366
13367 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13368 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13369 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13370
13371 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13372
13373 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13374
13375 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13376
13377 * gdb.dwarf2/arr-stride.c: New file.
13378 * gdb.dwarf2/arr-stride.exp: New file.
13379
13380 2014-02-26 Pedro Alves <palves@redhat.com>
13381
13382 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13383 that won't ever trigger. Make sure that GDB reports the correct
13384 breakpoint that caused the stop.
13385
13386 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13387
13388 PR gdb/16626
13389 * gdb.base/auto-load-script: New file.
13390 * gdb.base/auto-load.c: New file.
13391 * gdb.base/auto-load.exp: New file.
13392
13393 PR gdb/16626
13394 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13395
13396 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13397
13398 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13399 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13400
13401 2014-02-24 Doug Evans <dje@google.com>
13402
13403 * lib/gdb.exp (run_on_host): Log error output if program fails.
13404
13405 2014-02-21 Pedro Alves <palves@redhat.com>
13406
13407 * gdb.threads/step-after-sr-lock.c: Rename to ...
13408 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13409 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13410 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13411 ... this.
13412
13413 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13414
13415 PR tdep/16397
13416 * gdb.arch/amd64-stap-special-operands.exp: New file.
13417 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13418 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13419 * gdb.arch/amd64-stap-triplet.S: Likewise.
13420 * gdb.arch/amd64-stap-triplet.c: Likewise.
13421
13422 2014-02-20 Joel Brobecker <brobecker@adacore.com>
13423
13424 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13425 in .section pseudo-op.
13426
13427 2014-02-20 lin zuojian <manjian2006@gmail.com>
13428 Joel Brobecker <brobecker@adacore.com>
13429 Doug Evans <xdje42@gmail.com>
13430
13431 PR symtab/16581
13432 * gdb.dwarf2/dw2-icycle.S: New file.
13433 * gdb.dwarf2/dw2-icycle.c: New file.
13434 * gdb.dwarf2/dw2-icycle.exp: New file.
13435
13436 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13437
13438 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13439 operations on gdb.Value objects.
13440 * gdb.python/py-value-cc.exp: Add new test to test operations on
13441 gdb.Value objects.
13442
13443 2014-02-18 Doug Evans <dje@google.com>
13444
13445 * Makefile.in (TESTS): New variable.
13446 (expanded_tests, expanded_tests_or_none): New variables
13447 (check-single): Pass $(expanded_tests_or_none) to runtest.
13448 (check-parallel): Only run tests in $(TESTS) if non-empty.
13449 (check/no-matching-tests-found): New rule.
13450 * README: Document TESTS makefile variable.
13451
13452 2014-02-18 Doug Evans <dje@google.com>
13453
13454 * Makefile.in (check-parallel): rm -rf outputs temp.
13455
13456 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13457
13458 Fix "ERROR: no fileid for" in the testsuite.
13459 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13460
13461 2014-02-12 Doug Evans <dje@google.com>
13462
13463 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13464 (MISCELLANEOUS): New variable.
13465 (clean): rm -rf $(MISCELLANEOUS).
13466 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13467 dwp live in the same directory as symlinks, with each symlink pointed
13468 to a differently named file in a different directory.
13469
13470 2014-02-11 Doug Evans <dje@google.com>
13471
13472 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13473 of Tcl file commands.
13474
13475 2014-02-10 Mark Kettenis <kettenis@gnu.org>
13476
13477 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13478 "kill -SIGUSR1 -1".
13479
13480 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13481
13482 * gdb.ada/tick_length_array_enum_idx: New testcase.
13483
13484 2014-02-10 Doug Evans <xdje42@gmail.com>
13485
13486 * configure.ac (AC_OUTPUT): Add gdb.guile.
13487 * configure: Regenerate.
13488 * lib/gdb-guile.exp: New file.
13489 * lib/gdb.exp (get_target_charset): New function.
13490 * gdb.base/help.exp: Update expected output from "apropos apropos".
13491 * gdb.guile/Makefile.in: New file.
13492 * gdb.guile/guile.exp: New file.
13493 * gdb.guile/scm-arch.c: New file.
13494 * gdb.guile/scm-arch.exp: New file.
13495 * gdb.guile/scm-block.c: New file.
13496 * gdb.guile/scm-block.exp: New file.
13497 * gdb.guile/scm-breakpoint.c: New file.
13498 * gdb.guile/scm-breakpoint.exp: New file.
13499 * gdb.guile/scm-disasm.c: New file.
13500 * gdb.guile/scm-disasm.exp: New file.
13501 * gdb.guile/scm-equal.c: New file.
13502 * gdb.guile/scm-equal.exp: New file.
13503 * gdb.guile/scm-error.exp: New file.
13504 * gdb.guile/scm-error.scm: New file.
13505 * gdb.guile/scm-frame-args.c: New file.
13506 * gdb.guile/scm-frame-args.exp: New file.
13507 * gdb.guile/scm-frame-args.scm: New file.
13508 * gdb.guile/scm-frame-inline.c: New file.
13509 * gdb.guile/scm-frame-inline.exp: New file.
13510 * gdb.guile/scm-frame.c: New file.
13511 * gdb.guile/scm-frame.exp: New file.
13512 * gdb.guile/scm-generics.exp: New file.
13513 * gdb.guile/scm-gsmob.exp: New file.
13514 * gdb.guile/scm-iterator.c: New file.
13515 * gdb.guile/scm-iterator.exp: New file.
13516 * gdb.guile/scm-math.c: New file.
13517 * gdb.guile/scm-math.exp: New file.
13518 * gdb.guile/scm-objfile-script-gdb.in: New file.
13519 * gdb.guile/scm-objfile-script.c: New file.
13520 * gdb.guile/scm-objfile-script.exp: New file.
13521 * gdb.guile/scm-objfile.c: New file.
13522 * gdb.guile/scm-objfile.exp: New file.
13523 * gdb.guile/scm-ports.exp: New file.
13524 * gdb.guile/scm-pretty-print.c: New file.
13525 * gdb.guile/scm-pretty-print.exp: New file.
13526 * gdb.guile/scm-pretty-print.scm: New file.
13527 * gdb.guile/scm-section-script.c: New file.
13528 * gdb.guile/scm-section-script.exp: New file.
13529 * gdb.guile/scm-section-script.scm: New file.
13530 * gdb.guile/scm-symbol.c: New file.
13531 * gdb.guile/scm-symbol.exp: New file.
13532 * gdb.guile/scm-symtab-2.c: New file.
13533 * gdb.guile/scm-symtab.c: New file.
13534 * gdb.guile/scm-symtab.exp: New file.
13535 * gdb.guile/scm-type.c: New file.
13536 * gdb.guile/scm-type.exp: New file.
13537 * gdb.guile/scm-value-cc.cc: New file.
13538 * gdb.guile/scm-value-cc.exp: New file.
13539 * gdb.guile/scm-value.c: New file.
13540 * gdb.guile/scm-value.exp: New file.
13541 * gdb.guile/source2.scm: New file.
13542 * gdb.guile/types-module.cc: New file.
13543 * gdb.guile/types-module.exp: New file.
13544
13545 2014-02-10 Yao Qi <yao@codesourcery.com>
13546
13547 PR testsuite/16543
13548 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13549 * configure: Regenerated.
13550 * Makefile.in: New file.
13551
13552 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13553
13554 * gdb.python/py-framefilter.exp: Fix typo.
13555
13556 2014-02-08 Yao Qi <yao@codesourcery.com>
13557
13558 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13559 that no =breakpoint-modified is emitted when breakpoints are
13560 modified through MI commands.
13561
13562 2014-02-07 Pedro Alves <pedro@codesourcery.com>
13563 Pedro Alves <palves@redhat.com>
13564
13565 * gdb.threads/step-after-sr-lock.c: New file.
13566 * gdb.threads/step-after-sr-lock.exp: New file.
13567
13568 2014-02-07 Pedro Alves <palves@redhat.com>
13569
13570 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13571
13572 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13573
13574 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13575 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13576
13577 2014-02-06 Doug Evans <xdje42@gmail.com>
13578
13579 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13580 output.
13581
13582 * gdb.gdb/python-interrupts.exp: New file.
13583
13584 2014-02-05 Yao Qi <yao@codesourcery.com>
13585
13586 * gdb.trace/report.exp (use_collected_data): Test the output
13587 of "info threads" and "info inferiors".
13588
13589 2014-02-05 Yao Qi <yao@codesourcery.com>
13590
13591 Revert this patch:
13592
13593 2013-05-24 Yao Qi <yao@codesourcery.com>
13594
13595 * gdb.trace/tfile.exp: Test inferior and thread.
13596
13597 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13598
13599 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13600 on a function.
13601 * gdb.base/step-bt.c: Call hello via function pointer to make
13602 sure its first instruction is executed on powerpc64le-linux.
13603
13604 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13605
13606 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13607
13608 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13609
13610 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13611 of the test patterns for use on little-endian systems.
13612
13613 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13614
13615 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13616 (decimal_vector): Fix for little-endian.
13617
13618 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13619
13620 * gdb.arch/sparc-sysstep.exp: New file.
13621 * gdb.arch/sparc-sysstep.c: Likewise.
13622
13623 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13624
13625 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13626
13627 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13628
13629 2014-01-23 Tom Tromey <tromey@redhat.com>
13630
13631 * gdb.ada/array_char_idx: New testcase.
13632
13633 2014-01-23 Tom Tromey <tromey@redhat.com>
13634
13635 PR python/16487:
13636 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13637 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13638 classes.
13639
13640 2014-01-23 Tom Tromey <tromey@redhat.com>
13641
13642 PR python/16491:
13643 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13644 string from an inferior frame.
13645 * gdb.python/py-framefilter-mi.exp: Update.
13646
13647 2014-01-22 Doug Evans <dje@google.com>
13648
13649 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13650
13651 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13652
13653 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13654
13655 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13656
13657 * gdb.trace/entry-values.exp: Remove excess space character from
13658 regex patterns. Handle s390 call instruction.
13659
13660 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13661
13662 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13663 define "*_start" label. Make "name" static.
13664 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13665 ${name} by references to ${name}_start.
13666
13667 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13668
13669 * gdb.base/info-macros.exp: Remove "debug" from the compile
13670 options.
13671
13672 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13673
13674 * gdb.dlang/demangle.exp: New file.
13675
13676 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13677
13678 * gdb.dlang/primitive-types.exp: New file.
13679
13680 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13681
13682 * configure.ac: Create gdb.dlang/Makefile.
13683 * configure: Regenerate.
13684 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13685 * gdb.dlang/Makefile.in: New file.
13686 * lib/d-support.exp: New file.
13687 * lib/gdb.exp (skip_d_tests): New proc.
13688
13689 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13690
13691 * gdb.btrace/delta.exp: Check reverse stepi.
13692 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13693 * gdb.btrace/finish.exp: New.
13694 * gdb.btrace/next.exp: New.
13695 * gdb.btrace/nexti.exp: New.
13696 * gdb.btrace/record_goto.c: Add comments.
13697 * gdb.btrace/step.exp: New.
13698 * gdb.btrace/stepi.exp: New.
13699 * gdb.btrace/multi-thread-step.c: New.
13700 * gdb.btrace/multi-thread-step.exp: New.
13701 * gdb.btrace/rn-dl-bind.c: New.
13702 * gdb.btrace/rn-dl-bind.exp: New.
13703 * gdb.btrace/data.c: New.
13704 * gdb.btrace/data.exp: New.
13705 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13706
13707 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13708
13709 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13710 * gdb.btrace/exception.exp: Update.
13711 * gdb.btrace/instruction_history.exp: Update.
13712 * gdb.btrace/record_goto.exp: Update.
13713 * gdb.btrace/tailcall.exp: Update.
13714 * gdb.btrace/unknown_functions.exp: Update.
13715 * gdb.btrace/delta.exp: New.
13716
13717 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13718
13719 * gdb.btrace/record_goto.exp: Add backtrace test.
13720 * gdb.btrace/tailcall.exp: Add backtrace test.
13721
13722 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13723
13724 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13725 * gdb.btrace/record_goto.c: New.
13726 * gdb.btrace/record_goto.exp: New.
13727 * gdb.btrace/x86-record_goto.S: New.
13728
13729 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13730
13731 * gdb.btrace/function_call_history.exp: Update tests.
13732 * gdb.btrace/instruction_history.exp: Update tests.
13733
13734 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13735
13736 * gdb.btrace/function_call_history.exp: Fix expected field
13737 order for "record function-call-history".
13738 Add new tests for "record function-call-history /c".
13739 * gdb.btrace/exception.cc: New.
13740 * gdb.btrace/exception.exp: New.
13741 * gdb.btrace/tailcall.exp: New.
13742 * gdb.btrace/x86-tailcall.S: New.
13743 * gdb.btrace/x86-tailcall.c: New.
13744 * gdb.btrace/unknown_functions.c: New.
13745 * gdb.btrace/unknown_functions.exp: New.
13746 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13747
13748 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13749
13750 * gdb.btrace/instruction_history.exp: Update.
13751 * gdb.btrace/function_call_history.exp: Update.
13752
13753 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13754
13755 * gdb.btrace/function_call_history.exp: Fix expected function
13756 trace.
13757 * gdb.btrace/instruction_history.exp: Initialize traced.
13758 Remove traced_functions.
13759
13760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13761
13762 * gdb.btrace/function_call_history.exp: Update
13763 * gdb.btrace/instruction_history.exp: Update.
13764
13765 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13766
13767 * gdb.btrace/enable.exp: Update expected text.
13768
13769 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13770
13771 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13772 bytes.
13773
13774 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13775
13776 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13777
13778 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13779
13780 * lib/gdb.exp (supports_process_record): Return true for
13781 arm*-linux*. (supports_reverse): Likewise.
13782
13783 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13784
13785 PR python/15464
13786 PR python/16113
13787 * gdb.python/py-type.c: Enhance test case.
13788 * gdb.python/py-value-cc.cc: Likewise
13789 * gdb.python/py-type.exp: Add new tests.
13790 * gdb.python/py-value-cc.exp: Likewise
13791
13792 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13793 Pedro Alves <palves@redhat.com>
13794
13795 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13796 Make "name" extern.
13797 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13798 references to ${name}_start by references to ${name}.
13799
13800 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13801
13802 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13803
13804 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13805
13806 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13807
13808 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13809 Pedro Alves <palves@redhat.com>
13810
13811 * gdb.mi/mi-info-os.exp: Connect to the target with
13812 mi_gdb_target_load.
13813
13814 2014-01-08 Pedro Alves <palves@redhat.com>
13815
13816 * gdb.threads/reconnect-signal.c: New file.
13817 * gdb.threads/reconnect-signal.exp: New file.
13818
13819 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13820
13821 * gdb.base/source-dir.exp: New file.
13822
13823 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13824
13825 * gdb.ada/mi_interface: New testcase.
13826
13827 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13828
13829 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13830 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13831 gdb.ada/pp-rec-component/pck.ads: New files.
13832
13833 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13834
13835 * gdb.python/py-pp-integral.c: New file.
13836 * gdb.python/py-pp-integral.py: New file.
13837 * gdb.python/py-pp-integral.exp: New file.
13838
13839 For older changes see ChangeLog-1993-2013.
13840 \f
13841 ;; Local Variables:
13842 ;; mode: change-log
13843 ;; left-margin: 8
13844 ;; fill-column: 74
13845 ;; version-control: never
13846 ;; End:
13847
13848 Copyright 2014-2018 Free Software Foundation, Inc.
13849 Copying and distribution of this file, with or without modification,
13850 are permitted provided the copyright notice and this notice are preserved.
This page took 0.316566 seconds and 5 git commands to generate.