Add "continue" response to pager
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-06-05 Tom Tromey <tom@tromey.com>
2
3 PR cli/12326:
4 * gdb.cp/static-print-quit.exp: Update.
5 * lib/gdb.exp (pagination_prompt): Update.
6 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
7 * gdb.python/python.exp: Update.
8
9 2018-06-04 Joel Brobecker <brobecker@adacore.com>
10
11 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
12
13 2018-06-01 Joel Brobecker <brobecker@adacore.com>
14
15 * gdb.ada/bp_fun_addr: New testcase.
16
17 2018-06-01 Tom Tromey <tom@tromey.com>
18
19 * gdb.xml/tdesc-regs.exp (load_description): Update expected
20 results.
21 * gdb.dwarf2/method-ptr.exp: Set language to C++.
22 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
23 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
24 * gdb.base/maint.exp (maint_pass_if): Update.
25
26 2018-05-31 Maciej W. Rozycki <macro@mips.com>
27
28 * gdb.base/endian.exp: New test.
29 * gdb.base/endian.c: New test source.
30
31 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
32
33 PR gdb/23203
34 * gdb.base/bt-selected-frame.c: New file.
35 * gdb.base/bt-selected-frame.exp: New file.
36 * lib/gdb.exp (get_current_frame_number): New function.
37
38 2018-05-24 Maciej W. Rozycki <macro@mips.com>
39 Pedro Alves <palves@redhat.com>
40
41 * gdb.threads/tls-core.c: Include <stdlib.h>
42 (thread_proc): Call `abort'.
43 * gdb.threads/tls-core.exp: Generate a core with core_find too.
44 (tls_core_test): New procedure, bits factored out from ...
45 (top level): ... here. Test both native cores and gcore cores.
46
47 2018-05-23 Tom Tromey <tom@tromey.com>
48
49 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
50
51 2018-05-23 Tom Tromey <tom@tromey.com>
52
53 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
54 symfile_complaints.
55 (test_short_complaints): Likewise.
56 (test_empty_complaints): Likewise.
57 (test_initial_complaints): Update.
58
59 2018-05-23 Tom Tromey <tom@tromey.com>
60
61 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
62
63 2018-05-23 Tom Tromey <tom@tromey.com>
64
65 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
66 (test_short_complaints): Update.
67
68 2018-05-22 Pedro Alves <palves@redhat.com>
69
70 * gdb.base/remote.exp: Only gdb_start after compiling the
71 testcase. Issue "disconnect" before testing "set remote" command
72 defaults. Issue clean_restart before running to main.
73
74 2018-05-22 Pedro Alves <palves@redhat.com>
75
76 * gdb.base/remote.exp: Adjust expected output of "show remote
77 memory-write-packet-size". Add tests for "set remote
78 memory-write-packet-size 0" and "set remote
79 memory-write-packet-size fixed/limit".
80
81 2018-05-22 Pedro Alves <palves@redhat.com>
82
83 PR gdb/22973
84 * gdb.base/utf8-identifiers.c: New file.
85 * gdb.base/utf8-identifiers.exp: New file.
86
87 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
88
89 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
90
91 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
92
93 * gdb.arch/powerpc-vsx-gcore.exp: New file.
94
95 2018-05-18 Tom Tromey <tom@tromey.com>
96
97 * gdb.base/ptype-offsets.exp: Update.
98
99 2018-05-17 Keith Seitz <keiths@redhat.com>
100
101 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
102 in expected breakpoint stop locations.
103 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
104 move to proper scope to test variable values.
105 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
106 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
107 New functions.
108 (main): Call not_inline_func3.
109 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
110 inline_func1, inline_func2, and inline_func3. Test that when each
111 breakpoint is hit, GDB properly reports both the stop location
112 and the backtrace. Repeat tests for temporary breakpoints.
113
114 2018-05-15 Maciej W. Rozycki <macro@mips.com>
115
116 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
117 rather then trying to access it in determining whether the PID
118 of `gdbserver' could have been retrieved.
119
120 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * gdb.arch/amd64-init-x87-values.S: New file.
123 * gdb.arch/amd64-init-x87-values.exp: New file.
124
125 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
126
127 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
128
129 2018-05-04 Tom Tromey <tom@tromey.com>
130
131 PR python/22730:
132 * gdb.python/python.exp: Test multi-line execute.
133
134 2018-05-04 Tom Tromey <tom@tromey.com>
135
136 PR python/22731:
137 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
138
139 2018-05-04 Tom Tromey <tom@tromey.com>
140
141 PR gdb/11750:
142 * gdb.base/define.exp: Test defining a user command inside a user
143 command.
144 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
145
146 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
147 Pedro Alves <palves@redhat.com>
148
149 PR breakpoints/19806 and support for PR external/20207.
150 * gdb.base/watchpoint-unaligned.c: New file.
151 * gdb.base/watchpoint-unaligned.exp: New file.
152
153 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
154
155 * gdb.base/maint.exp: Make test names unique, use
156 test_prefix_command_help to test 'help maint info', and remove
157 repeated test of 'help maint'.
158
159 2018-05-04 Tom Tromey <tom@tromey.com>
160
161 PR gdb/22619:
162 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
163 behavior.
164
165 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
166
167 * gdb.base/maint.exp: Process output from 'maint print registers'
168 line at a time.
169
170 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
171
172 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
173 timeout.
174
175 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
176
177 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
178 filter pattern.
179
180 2018-05-02 Pedro Alves <palves@redhat.com>
181
182 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
183 to_log_command renames.
184 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
185
186 2018-05-02 Tom Tromey <tom@tromey.com>
187
188 * gdb.python/py-parameter.exp: Set test message.
189
190 2018-05-02 Tom Tromey <tom@tromey.com>
191
192 PR python/20084:
193 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
194 PARAM_ZUINTEGER_UNLIMITED tests.
195
196 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
197
198 PR rust/23124
199 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
200 when casting.
201
202 2018-04-30 Tom Tromey <tom@tromey.com>
203
204 * gdb.python/py-type.exp: Check align attribute.
205 * gdb.python/py-type.c: New "aligncheck" global.
206
207 2018-04-30 Tom Tromey <tom@tromey.com>
208
209 PR exp/17095:
210 * gdb.dwarf2/dw2-align.exp: New file.
211 * gdb.cp/align.exp: New file.
212 * gdb.base/align.exp: New file.
213 * lib/gdb.exp (gdb_int128_helper): New proc.
214 (has_int128_c, has_int128_cxx): New caching procs.
215
216 2018-04-27 Tom Tromey <tom@tromey.com>
217
218 PR rust/22545:
219 * gdb.rust/simple.exp: Add inclusive range tests.
220
221 2018-04-26 Pedro Alves <palves@redhat.com>
222
223 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
224 ifunc breakpoint locations correctly of ifunc breakpoints set
225 while the program resolves the ifunc.
226
227 2018-04-26 Pedro Alves <palves@redhat.com>
228
229 * gdb.base/gnu-ifunc-final.c: New file.
230 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
231 * gdb.base/gnu-ifunc.exp (executable): Delete.
232 (staticexecutable): Adjust.
233 (lib_opts, exec_opts): Delete.
234 (make_binsuffix, build, set-break): New procedures.
235 (misc_tests): New, with tests factored out from the top level.
236 (top level): Test different combinations of ifunc resolver name,
237 resolver with and with debug info, and ifunc target with and
238 without debug info. Wrap static tests with with_target_prefix.
239
240 2018-04-26 Pedro Alves <palves@redhat.com>
241
242 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
243 return type" warnings.
244
245 2018-04-25 Pedro Alves <palves@redhat.com>
246
247 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
248 killed".
249 * gdb.base/kill-after-signal.exp: Likewise.
250 * gdb.threads/kill.exp: Likewise.
251
252 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
253 Sergio Durigan Junior <sergiodj@redhat.com>
254 Pedro Alves <palves@redhat.com>
255
256 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
257 regexps to expect for '[Inferior ... detached]' as well.
258 * gdb.base/attach.exp: Likewise.
259 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
260 "gdb_continue_to_end".
261 (test_catch_syscall_with_wrong_args): Likewise.
262 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
263 ']'. Don't set 'verbose' on.
264 * gdb.base/foll-vfork.exp: Likewise.
265 * gdb.base/fork-print-inferior-events.c: New file.
266 * gdb.base/fork-print-inferior-events.exp: New file.
267 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
268 '[Inferior ... has been killed]' message.
269 * gdb.base/kill-after-signal.exp: Likewise.
270 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
271 detach message.
272 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
273 message.
274 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
275 regexps to expect for '[Inferior ... detached]' as well.
276 * gdb.threads/process-dies-while-detaching.exp: Likewise.
277
278 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
279
280 PR gdb/23104
281 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
282
283 2018-04-19 Richard Bunt <richard.bunt@arm.com>
284
285 * gdb.threads/multiple-successive-infcall.c: New test.
286 * gdb.threads/multiple-successive-infcall.exp: New file.
287
288 2018-04-17 Tom Tromey <tom@tromey.com>
289
290 * gdb.rust/simple.rs (Union): New type.
291 (main): New local "u".
292 * gdb.rust/simple.exp (test_one_slice): Add new test case.
293
294 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
295
296 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
297 number information in output of "whereis" command.
298 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
299
300 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
301
302 * gdb.ada/info_types.exp: Adjust expected output to the line
303 numbers now printed by "info var/func/type".
304 * gdb.base/completion.exp: Likewise.
305 * gdb.base/included.exp: Likewise.
306 * gdb.cp/cp-relocate.exp: Likewise.
307 * gdb.cp/cplusfuncs.exp: Likewise.
308 * gdb.cp/namespace.exp: Likewise.
309 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
310
311 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
312
313 * gdb.btrace/cpu.exp: New.
314
315 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
316
317 * gdb.base/step-indirect-call-thunk.exp: New.
318 * gdb.base/step-indirect-call-thunk.c: New.
319 * gdb.reverse/step-indirect-call-thunk.exp: New.
320 * gdb.reverse/step-indirect-call-thunk.c: New.
321
322 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
323
324 * gdb.base/pie-fork.c: New file.
325 * gdb.base/pie-fork.exp: New file.
326
327 2018-04-11 Tom Tromey <tom@tromey.com>
328
329 * gdb.rust/simple.exp: Add test for ".." struct initializer.
330
331 2018-04-10 Pedro Alves <palves@redhat.com>
332
333 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
334 exits. Instead loop running forever.
335 (fork_parent): Run forever too.
336
337 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
338
339 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
340 mi_continue_to_line.
341 * gdb.mi/mi-stack.c (callee4): Add comment.
342
343 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
344
345 * gdb.mi/mi-stack.exp: Fix indentation.
346
347 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
348
349 PR gdb/22979
350 * gdb.arch/amd64-osabi.exp: New file.
351
352 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
353
354 PR gdb/22980
355 * gdb.base/osabi.exp: New file.
356
357 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
358
359 * gdb.cp/static-typedef-print.exp: New file.
360 * gdb.cp/static-typedef-print.cc: New file.
361
362 2018-03-27 Joel Brobecker <brobecker@adacore.com>
363
364 * gdb.ada/varsize_limit: New testcase.
365
366 2018-03-27 Joel Brobecker <brobecker@adacore.com>
367
368 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
369
370 * gdb.ada/notcplusplus: New testcase.
371
372 * gdb.base/c-linkage-name.c: New file.
373 * gdb.base/c-linkage-name.exp: New testcase.
374
375 2018-03-26 Tom Tromey <tom@tromey.com>
376
377 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
378 * gdb.python/py-framefilter.py (name_error): New global.
379 (ErrorInName.function): Use name_error.
380
381 2018-03-26 Tom Tromey <tom@tromey.com>
382
383 PR backtrace/15582:
384 * gdb.python/py-framefilter.exp: Add "bt hide" test.
385
386 2018-03-23 Keith Seitz <keiths@redhat.com>
387
388 PR c++/22968
389 * gdb.cp/subtypes.exp: New file.
390 * gdb.cp/subtypes.h: New file.
391 * gdb.cp/subtypes.cc: New file.
392 * gdb.cp/subtypes-2.cc: New file.
393
394 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
397 (done): Call '_exit' not 'exit' to avoid atexit handlers.
398 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
399 -nostartfiles when compiling the test. Confirm that all registers
400 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
401
402 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
403
404 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
405 option, syntax was wrong anyway.
406 * gdb.arch/arm-disp-step.exp: Likewise.
407 * gdb.arch/sparc64-regs.exp: Likewise.
408 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
409 option, syntax was wrong anyway, switch to use
410 prepare_for_testing.
411 * gdb.arch/i386-disp-step.exp: Likewise.
412
413 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
414
415 * gdb.ada/exec_changed.exp: Replace "target_info exists
416 use_gdb_stub" by "use_gdb_stub".
417 * gdb.ada/start.exp: Likewise.
418 * gdb.base/async-shell.exp: Likewise.
419 * gdb.base/attach-pie-misread.exp: Likewise.
420 * gdb.base/attach-wait-input.exp: Likewise.
421 * gdb.base/break-entry.exp: Likewise.
422 * gdb.base/break-interp.exp: Likewise.
423 * gdb.base/dprintf-detach.exp: Likewise.
424 * gdb.base/nostdlib.exp: Likewise.
425 * gdb.base/solib-nodir.exp: Likewise.
426 * gdb.base/statistics.exp: Likewise.
427 * gdb.base/testenv.exp: Likewise.
428 * gdb.mi/mi-exec-run.exp: Likewise.
429 * gdb.mi/mi-start.exp: Likewise.
430 * gdb.multi/dummy-frame-restore.exp: Likewise.
431 * gdb.multi/multi-arch-exec.exp: Likewise.
432 * gdb.multi/multi-arch.exp: Likewise.
433 * gdb.multi/tids.exp: Likewise.
434 * gdb.multi/watchpoint-multi.exp: Likewise.
435 * gdb.python/py-events.exp: Likewise.
436 * gdb.threads/attach-into-signal.exp: Likewise.
437 * gdb.threads/attach-stopped.exp: Likewise.
438 * gdb.threads/threadapply.exp: Likewise.
439 * lib/selftest-support.exp: Likewise.
440
441 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
442
443 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
444
445 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
446
447 * gdb.perf/template-breakpoints.cc: New file.
448 * gdb.perf/template-breakpoints.exp: New file.
449 * gdb.perf/template-breakpoints.py: New file.
450
451 2018-03-19 Tom Tromey <tom@tromey.com>
452
453 * gdb.rust/simple.rs (main): Add local variables field1, field2,
454 y0.
455 * gdb.rust/simple.exp: Test bare identifier form of struct
456 initializer.
457
458 2018-03-19 Tom Tromey <tom@tromey.com>
459
460 * gdb.gdb/observer.exp: Remove.
461
462 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
463
464 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
465 "qualified" option when setting breakpoints.
466 * gdb.trace/backtrace.exp: Likewise.
467 * gdb.trace/circ.exp: Likewise.
468 * gdb.trace/collection.exp: Likewise.
469 * gdb.trace/disconnected-tracing.exp: Likewise.
470 * gdb.trace/ftrace-lock.exp: Likewise.
471 * gdb.trace/ftrace.exp: Likewise.
472 * gdb.trace/infotrace.exp: Likewise.
473 * gdb.trace/packetlen.exp: Likewise.
474 * gdb.trace/passc-dyn.exp: Likewise.
475 * gdb.trace/qtro.exp: Likewise.
476 * gdb.trace/read-memory.exp: Likewise.
477 * gdb.trace/report.exp: Likewise.
478 * gdb.trace/signal.exp: Likewise.
479 * gdb.trace/status-stop.exp: Likewise.
480 * gdb.trace/strace.exp: Likewise.
481 * gdb.trace/tfind.exp: Likewise.
482 * gdb.trace/trace-break.exp: Likewise.
483 * gdb.trace/trace-condition.exp: Likewise.
484 * gdb.trace/trace-mt.exp: Likewise.
485 * gdb.trace/tstatus.exp: Likewise.
486 * gdb.trace/tsv.exp: Likewise.
487 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
488 * gdb.trace/unavailable.exp: Likewise.
489 * gdb.trace/while-dyn.exp: Likewise.
490
491 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
492
493 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
494 that libinproctrace is copied to the target.
495
496 2018-03-14 Tom Tromey <tom@tromey.com>
497
498 PR cli/14977:
499 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
500 a null pointer.
501 * gdb.base/wchar.exp: Likewise.
502
503 2018-03-14 Tom Tromey <tom@tromey.com>
504
505 PR cli/19918:
506 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
507 flag.
508
509 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
510
511 PR gdb/22841
512 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
513 "target" to remote_exec.
514
515 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
516
517 PR gdb/22841
518 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
519 ${board}_upload): Remove.
520
521 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
522
523 * gdb.cp/watch-cp.cc: New test.
524 * gdb.cp/watch-cp.exp: New file.
525
526 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
527
528 * gdb.base/infcall-nested-structs.exp: New file.
529 * gdb.base/infcall-nested-structs.c: New file.
530 * gdb.base/float.exp: Add riscv support.
531
532 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
533
534 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
535 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
536
537 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
538
539 * gdb.server/abspath.exp: New file.
540 * lib/gdb.exp (with_cwd): New procedure.
541
542 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
543
544 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
545 use it.
546 (gdb_is_target_remote_prompt): New proc.
547 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
548 (gdb_is_target_native): Pass prompt parameter to
549 gdb_is_target_1.
550
551 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
552
553 * gdb.base/load-command.c: New file.
554 * gdb.base/load-command.exp: New file.
555 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
556 (gdb_is_target_1): ...this, and generalize for other targets
557 than just remote.
558 (gdb_is_target_remote): Use gdb_is_target_1.
559 (gdb_is_target_native): use gdb_is_target_1.
560
561 2018-02-26 Tom Tromey <tom@tromey.com>
562
563 PR python/16497:
564 * gdb.python/py-framefilter.exp: Update test.
565
566 2018-02-26 Tom Tromey <tom@tromey.com>
567
568 * gdb.dwarf2/variant.c: New file.
569 * gdb.dwarf2/variant.exp: New file.
570
571 2018-02-26 Tom Tromey <tom@tromey.com>
572
573 * gdb.rust/simple.exp: Accept more possible results in enum test.
574
575 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
576
577 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
578 parentheses.
579
580 2018-02-23 Maciej W. Rozycki <macro@mips.com>
581
582 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
583 name of a variable: $actual_linejj -> $actual_line.
584
585 2018-02-21 John Baldwin <jhb@FreeBSD.org>
586
587 * gdb.arch/amd64-i386-address.exp: Fix a typo.
588
589 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
590
591 * gdb.btrace/buffer-size.exp: Do not force BTS.
592
593 2018-02-14 Pedro Alves <palves@redhat.com>
594
595 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
596 getting a "Quit".
597
598 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
599
600 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
601 Fix test name.
602
603 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
604
605 * gdb.cp/m-static.exp: Check type of optimized out static
606 member.
607
608 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
609
610 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
611 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
612
613 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
614 Leszek Swirski <leszeks@google.com>
615
616 * gdb.python/py-prettyprint.c
617 (struct to_string_returns_value_inner,
618 struct to_string_returns_value_wrapper): New.
619 (main): Add tsrvw variable.
620 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
621 ToStringReturnsValueWrapper): New classes.
622 (register_pretty_printers): Register new pretty-printers.
623 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
624 recursive pretty printer.
625 * gdb.python/py-mi.exp: Likewise.
626
627 2018-02-01 Leszek Swirski <leszeks@google.com>
628
629 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
630 functions with the same name as an include file are parsed
631 correctly.
632
633 2018-02-01 Yao Qi <yao.qi@linaro.org>
634
635 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
636 "\[^\r\n\]*".
637
638 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
639
640 * gdb.arch/powerpc-prologue-frame.s: New file.
641 * gdb.arch/powerpc-prologue-frame.c: Likewise.
642 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
643
644 2018-01-31 Joel Brobecker <brobecker@adacore.com>
645
646 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
647
648 2018-01-30 Pedro Alves <palves@redhat.com>
649
650 PR gdb/13211
651 * gdb.base/interrupt-daemon.c: New.
652 * gdb.base/interrupt-daemon.exp: New.
653 * gdb.multi/multi-term-settings.c: New.
654 * gdb.multi/multi-term-settings.exp: New.
655
656 2018-01-30 Joel Brobecker <brobecker@adacore.com>
657
658 * gdb.base/break.exp: Save the location where the breakpoint
659 on break.c:47 was actually inserted when debugging the version
660 compiled at -O2 and use it in the expected output of the "info
661 break" test performed soon after.
662
663 2018-01-22 Pedro Alves <palves@redhat.com>
664 Sergio Durigan Junior <sergiodj@redhat.com>
665
666 * gdb.base/whatis.exp: Add tests for 'set print object on' +
667 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
668
669 2018-01-22 Joel Brobecker <brobecker@adacore.com>
670
671 * gdb.base/break-include.c, gdb.base/break-include.inc,
672 gdb.base/break-include.exp: New files.
673 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
674 line number now being the actual line number where the breakpoint
675 was inserted.
676 * gdb.mi/mi-break.exp: Likewise.
677 * gdb.mi/mi-reverse.exp: Likewise.
678 * gdb.mi/mi-simplerun.exp: Ditto.
679
680 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
681
682 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
683 varobj.
684 * gdb.mi/mi-var-create-rtti.exp: Likewise.
685
686 2018-01-21 Don Breazeal <donb@codesourcery.com>
687 Andrew Burgess <andrew.burgess@embecosm.com>
688
689 * gdb.mi/basics.c: Add new global.
690 * gdb.mi/mi-frame-regs.exp: New file.
691 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
692 case.
693
694 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
695
696 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
697 non-parameter, and on an unknown symbol.
698
699 2018-01-19 Tom Tromey <tom@tromey.com>
700
701 * gdb.rust/modules.rs (TWENTY_THREE): New global.
702 * gdb.rust/modules.exp: Add ::-qualified lookup test.
703
704 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
705
706 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
707 setrlimit and chdir to int.
708
709 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
710
711 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
712 function.
713 (my_tend): Likewise.
714 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
715 rationale of avoiding FP- and vector instructions.
716
717 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
718
719 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
720 "info reg" with "\[ \t\]*".
721 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
722 "\[ \t\]+".
723 * gdb.arch/s390-multiarch.exp: Ditto.
724 * gdb.base/pc-fp.exp: Ditto.
725 * gdb.reverse/i386-precsave.exp: Ditto.
726 * gdb.reverse/i386-reverse.exp: Ditto.
727 * gdb.reverse/i387-env-reverse.exp: Ditto.
728 * gdb.reverse/i387-stack-reverse.exp: Ditto.
729
730 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
731
732 * lib/gdb.exp (gdb_compile): Re-enable use of
733 universal_compile_options for languages other than Rust.
734
735 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
736
737 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
738
739 2018-01-17 Mike Gulick <mgulick@mathworks.com>
740
741 PR gdb/16577
742 * gdb.base/solib-vanish.exp: New.
743 * gdb.base/solib-vanish-main.c: New.
744 * gdb.base/solib-vanish-lib1.c: New.
745 * gdb.base/solib-vanish-lib2.c: New.
746
747 2018-01-17 Yao Qi <yao.qi@linaro.org>
748
749 * gdb.compile/compile.exp: Match the address printed for
750 frame in the output of command "bt".
751
752 2018-01-15 Tom Tromey <tom@tromey.com>
753
754 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
755 compute sp_reg.
756
757 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
758
759 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
760 to prepare.
761 (prepare): Return 0 on error, 1 on success.
762
763 2018-01-12 Pedro Alves <palves@redhat.com>
764
765 * gdb.base/continue-after-aborted-step-over.c: New.
766 * gdb.base/continue-after-aborted-step-over.exp: New.
767
768 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
769
770 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
771 options when not creating an executable.
772
773 2018-01-11 Pedro Alves <palves@redhat.com>
774
775 PR remote/22597
776 * gdb.server/stop-reply-no-thread.c: New file.
777 * gdb.server/stop-reply-no-thread.exp: New file.
778
779 2018-01-10 Pedro Alves <palves@redhat.com>
780
781 PR gdb/22670
782 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
783 functions too. Test setting breakpoints and printing C functions
784 with no debug info too.
785 * gdb.ada/bp_c_mixed_case/qux.c: New file.
786
787 2018-01-10 Pedro Alves <palves@redhat.com>
788
789 PR gdb/22670
790 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
791 a fail.
792
793 2018-01-10 Pedro Alves <palves@redhat.com>
794
795 PR gdb/22670
796 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
797
798 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
799
800 * gdb.server/unittest.exp: Match the output in non-development
801 mode.
802
803 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
804
805 * gdb.gdb/unittest.exp: Match output in non-development mode.
806
807 2018-01-08 Joel Brobecker <brobecker@adacore.com>
808
809 * gdb.ada/access_tagged_param.exp: Relax expected output
810 for value of "ObjL" in "continue" to pck.inspect breakpoint
811 test.
812
813 2018-01-08 Joel Brobecker <brobecker@adacore.com>
814
815 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
816 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
817
818 2018-01-05 Pedro Alves <palves@redhat.com>
819
820 PR gdb/18653
821 * gdb.base/libsegfault.exp: New.
822
823 2018-01-05 Joel Brobecker <brobecker@adacore.com>
824
825 PR gdb/22670
826 * gdb.ada/access_tagged_param.exp: New file.
827 * gdb.ada/access_tagged_param/foo.adb: New file.
828
829 2018-01-05 Pedro Alves <palves@redhat.com>
830
831 PR gdb/22670
832 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
833 exercise lower case too, and to exercise both full matching and
834 wild matching.
835
836 2018-01-05 Joel Brobecker <brobecker@adacore.com>
837
838 * gdb.ada/rename_subscript_param: New testcase.
839
840 2018-01-05 Jerome Guitton <guitton@adacore.com>
841
842 * gdb.ada/arr_acc_idx_w_gap: New testcase.
843
844 2018-01-05 Joel Brobecker <brobecker@adacore.com>
845
846 * gdb.ada/convvar_comp: New testcase.
847
848 2018-01-05 Xavier Roirand <roirand@adacore.com>
849
850 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
851 (My_Table): New global variable.
852 * testsuite/gdb.ada/array_char_idx.exp: Add test.
853
854 2018-01-04 Joel Brobecker <brobecker@adacore.com>
855
856 PR gdb/22670
857 * gdb.ada/maint_with_ada: New testcase.
858
859 2018-01-04 Joel Brobecker <brobecker@adacore.com>
860
861 PR gdb/22670
862 * gdb.ada/bp_c_mixed_case: New testcase.
863
864 2018-01-04 Joel Brobecker <brobecker@adacore.com>
865
866 PR gdb/22670
867 * gdb.ada/complete.exp: Add "complete break ada" test.
868
869 2018-01-04 Joel Brobecker <brobecker@adacore.com>
870
871 PR gdb/22670
872 * gdb.ada/info_addr_mixed_case: New testcase.
873
874 2018-01-03 Xavier Roirand <roirand@adacore.com>
875
876 * gdb.ada/excep_handle.exp: New testcase.
877 * gdb.ada/excep_handle/foo.adb: New file.
878 * gdb.ada/excep_handle/pck.ads: New file.
879
880 2018-01-03 Joel Brobecker <brobecker@adacore.com>
881
882 * gdb.base/step-line.c: Add extra empty line in copyright header.
883 * gdb.base/step-line.inp: Likewise.
884
885 2018-01-02 Joel Brobecker <brobecker@adacore.com>
886
887 * gdb.ada/dyn_stride.exp: Add slice test.
888
889 2018-01-02 Joel Brobecker <brobecker@adacore.com>
890
891 * gdb.ada/dyn_stride: New testcase.
892
893 2017-12-27 Stafford Horne <shorne@gmail.com>
894
895 * gdb.xml/extra-regs.xml: Add example foo reggroup.
896 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
897
898 2017-12-27 Stafford Horne <shorne@gmail.com>
899
900 * gdb.base/reggroups.c: New file.
901 * gdb.base/reggroups.exp: New file.
902
903 2017-12-18 Joel Brobecker <brobecker@adacore.com>
904
905 * gdb.dwarf2/ada-valprint-error.c: New file.
906 * gdb.dwarf2/ada-valprint-error.exp: New file.
907
908 2017-12-18 Joel Brobecker <brobecker@adacore.com>
909
910 * gdb.ada/assign_arr: New testcase.
911
912 2017-12-18 Xavier Roirand <roirand@adacore.com>
913
914 * gdb.ada/funcall_ptr: New testcase.
915
916 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
917
918 PR cli/16224
919 * gdb.base/ptype-offsets.cc: New file.
920 * gdb.base/ptype-offsets.exp: New file.
921
922 2017-12-15 Yao Qi <yao.qi@linaro.org>
923
924 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
925 if XML is disabled.
926
927 2017-12-15 Xavier Roirand <roirand@adacore.com>
928
929 * gdb.ada/same_component_name: New testcase.
930
931 2017-12-14 Joel Brobecker <brobecker@adacore.com>
932
933 * gdb.ada/str_binop_equal: New testcase.
934
935 2017-12-14 Joel Brobecker <brobecker@adacore.com>
936
937 * gdb.ada/task_switch_in_core: New testcase.
938
939 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
940
941 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
942 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
943 call test_bkpt_qualified.
944 (test_bkpt_qualified): New proc.
945
946 2017-12-13 Pedro Alves <palves@redhat.com>
947
948 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
949 Tighten regexp by matching with an anchor.
950
951 2017-12-13 Pedro Alves <palves@redhat.com>
952
953 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
954 ("expression with namespace"): New set of tests.
955 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
956 (Nested::Test_NS::qux): New.
957 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
958 defaults to 'start_quote_char' and 'end_quote_char' parameters.
959
960 2017-12-13 Joel Brobecker <brobecker@adacore.com>
961
962 * gdb.base/server-del-break.c: New file.
963 * gdb.base/server-del-break.exp: New file.
964
965 2017-12-12 Stafford Horne <shorne@gmail.com>
966
967 * gdb.xml/tdesc-regs.exp: Add or1k support.
968
969 2017-12-12 Stafford Horne <shorne@gmail.com>
970
971 * gdb.base/bp-permanent.c: Define nop of or1k.
972
973 2017-12-11 Joel Brobecker <brobecker@adacore.com>
974
975 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
976 output with components being reordered.
977
978 2017-12-11 Joel Brobecker <brobecker@adacore.com>
979
980 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
981 output with components being reordered.
982
983 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
984 Pedro Alves <palves@redhat.com>
985
986 * gdb.base/maint.exp (check for .gdb_index): Check also for
987 .debug_names.
988 * gdb.dlang/watch-loc.c (.debug_aranges): New.
989 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
990 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
991 (.gdb_index used after symbol reloading): Support also .debug_names.
992 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
993
994 2017-12-08 Yao Qi <yao.qi@linaro.org>
995
996 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
997 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
998
999 2017-12-08 Yao Qi <yao.qi@linaro.org>
1000
1001 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1002 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
1003
1004 2017-12-08 Yao Qi <yao.qi@linaro.org>
1005
1006 * gdb.arch/aarch64-tagged-pointer.c: New file.
1007 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1008
1009 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1010
1011 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1012 "int".
1013
1014 2017-12-07 Keith Seitz <keiths@redhat.com>
1015
1016 PR breakpoints/22569
1017 * gdb.linespec/ls-errs.exp: Change expected result of "break
1018 -source this file has spaces.c -line 3".
1019 Check that an explicit source file followed by whitespace is
1020 identified as an invalid explicit location.
1021
1022 2017-12-07 Keith Seitz <keiths@redhat.com>
1023
1024 * gdb.cp/nested-types.cc: New file.
1025 * gdb.cp/nested-types.exp: New file.
1026 * lib/cp-support.exp: Load data-structures.exp library.
1027 (debug_cp_test_ptype_class): New global.
1028 (cp_ptype_class_verbose, next_line): New procedures.
1029 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1030 Add and document new return value.
1031 Switch the list of lines to a queue.
1032 Add support for new `type' key for nested type definitions.
1033 Add debugging/troubleshooting messages.
1034 * lib/data-structures.exp: New file.
1035
1036 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1037
1038 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1039 with proc_with_prefix, don't use with_test_prefix.
1040
1041 2017-12-07 Tom Tromey <tom@tromey.com>
1042
1043 * gdb.base/break.exp: Add test for empty "commands".
1044
1045 2017-12-07 Yao Qi <yao.qi@linaro.org>
1046
1047 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1048 malloc and catch syscall.
1049
1050 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1051
1052 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1053 tests for explicit locations.
1054
1055 2017-12-06 Pedro Alves <palves@redhat.com>
1056
1057 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1058 force-disabling XML descriptions.
1059
1060 2017-12-04 Pedro Alves <palves@redhat.com>
1061
1062 PR gdb/22499
1063 * gdb.arch/amd64-disp-step-avx.S: New file.
1064 * gdb.arch/amd64-disp-step-avx.exp: New file.
1065
1066 2017-12-03 Pedro Alves <palves@redhat.com>
1067
1068 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1069 and <string.h>.
1070 (parent_function): Print distinct messages when waitpid fails, or
1071 the child exits with a signal, or the child exits for an unhandled
1072 reason.
1073 * gdb.threads/process-dies-while-detaching.exp
1074 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1075 it. Wait for both inferior output and GDB's prompt. Use an
1076 indirect spawn id list.
1077 (do_detach): New parameter 'child_exit'. Use it to compute
1078 expected inferior output.
1079 (test_detach, test_detach_watch, test_detach_killed_outside):
1080 Adjust to pass down the expected child exit kind.
1081
1082 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1083 Sergio Durigan Junior <sergiodj@redhat.com>
1084 Pedro Alves <palves@redhat.com>
1085
1086 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1087
1088 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1089
1090 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1091 to 'symbol-file' and 'add-symbol-file' can be
1092 position-independent.
1093
1094 2017-12-01 Yao Qi <yao.qi@linaro.org>
1095
1096 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1097 the URL in copyright header.
1098 * gdb.arch/aarch64-fp.exp: Likewise.
1099 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1100 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1101 * gdb.base/expand-psymtabs.exp: Likewise.
1102 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1103 * gdb.fortran/common-block.exp: Likewise.
1104 * gdb.fortran/common-block.f90: Likewise.
1105 * gdb.fortran/logical.exp: Likewise.
1106 * gdb.fortran/vla-datatypes.f90: Likewise.
1107 * gdb.fortran/vla-sub.f90: Likewise.
1108
1109 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1110
1111 * gdb.ada/repeat_dyn: New testcase.
1112
1113 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1114
1115 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1116 Update for changed thread numbering.
1117 * gdb.cell/bt.exp: Update for changed GDB output.
1118
1119 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1120
1121 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1122 setting isremote by hand.
1123 * boards/dwarf4-gdb-index.exp: Likewise.
1124 * boards/fission.exp: Likewise.
1125 * boards/stabs.exp: Likewise.
1126
1127 2017-11-30 Pedro Alves <palves@redhat.com>
1128
1129 * gdb.linespec/cpls-ops.exp
1130 (check_explicit_skips_function_argument): Extract the underlying
1131 type of size_t instead of hardcoding it.
1132
1133 2017-11-29 Pedro Alves <palves@redhat.com>
1134
1135 PR c++/19436
1136 * gdb.linespec/cpls-abi-tag.cc: New file.
1137 * gdb.linespec/cpls-abi-tag.exp: New file.
1138
1139 2017-11-29 Pedro Alves <palves@redhat.com>
1140
1141 * gdb.base/langs.exp: Use -qualified.
1142 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1143 it.
1144 * gdb.cp/namespace.exp: Use -qualified.
1145 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1146 (overload-3, template-overload, template-ret-type, const-overload)
1147 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1148 procedures.
1149 (test_driver): Call them.
1150 * gdb.cp/save-bp-qualified.cc: New.
1151 * gdb.cp/save-bp-qualified.exp: New.
1152 * gdb.linespec/explicit.exp: Test -qualified.
1153 * lib/completion-support.exp (completion::explicit_opts_list): Add
1154 "-qualified".
1155 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1156
1157 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1158
1159 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1160
1161 2017-11-29 Tom Tromey <tom@tromey.com>
1162
1163 * gdb.base/relocate.exp: Update invalid argument test.
1164 Add new tests for invalid arguments.
1165
1166 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1167
1168 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1169 Return 0 as a long.
1170 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1171
1172 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1173
1174 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1175 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1176 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1177 func ().
1178 * gdb.cp/shadow.cc (B.func): Return 0.
1179
1180 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1181
1182 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1183 expected output in gdb_expect call to allow the exception
1184 message to be present as well. Fix syntax confusion to avoid
1185 TCL thinking that exception_name is an array.
1186
1187 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1188
1189 * gdb.arch/spu-info.c: Include <unistd.h>.
1190 (do_signal_test): Fix broken calls to write.
1191 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1192 Fix checks for empty mailboxes. Update signal tests for corrected
1193 do_signal_test routine. Allow nonzero event status.
1194 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1195 * gdb.cell/arch.exp: Use standard_output_file.
1196 * gdb.cell/break.exp: Likewise.
1197 * gdb.cell/bt.exp: Likewise.
1198 * gdb.cell/core.exp: Likewise.
1199 * gdb.cell/dwarfaddr.exp: Likewise.
1200 * gdb.cell/ea-cache.exp: Likewise.
1201 * gdb.cell/ea-standalone.exp: Likewise.
1202 * gdb.cell/f-regs.exp: Likewise.
1203 * gdb.cell/fork.exp: Likewise.
1204 * gdb.cell/gcore.exp: Likewise.
1205 * gdb.cell/mem-access.exp: Likewise.
1206 * gdb.cell/ptype.exp: Likewise.
1207 * gdb.cell/registers.exp: Likewise.
1208 * gdb.cell/sizeof.exp: Likewise.
1209 * gdb.cell/solib-symbol.exp: Likewise.
1210 * gdb.cell/solib.exp: Likewise.
1211
1212 2017-11-25 Pedro Alves <palves@redhat.com>
1213
1214 * gdb.base/complete-empty.exp: New file.
1215 * gdb.base/completion.exp: Adjust.
1216
1217 2017-11-25 Pedro Alves <palves@redhat.com>
1218
1219 * gdb.linespec/cpls-ops.cc: New file.
1220 * gdb.linespec/cpls-ops.exp: New file.
1221 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1222 factored out from ...
1223 (test_complete_prefix_range): ... this.
1224
1225 2017-11-24 Pedro Alves <palves@redhat.com>
1226
1227 * gdb.linespec/cpcompletion.exp: New file.
1228 * gdb.linespec/cpls-hyphen.cc: New file.
1229 * gdb.linespec/cpls.cc: New file.
1230 * gdb.linespec/cpls2.cc: New file.
1231 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1232 test to use test_gdb_complete_unique. Add label completion,
1233 keyword completion and explicit location completion tests.
1234 * lib/completion-support.exp: New file.
1235
1236 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1237
1238 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1239 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1240 when hitting an exception catchpoint.
1241
1242 2017-11-22 Yao Qi <yao.qi@linaro.org>
1243
1244 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1245
1246 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1247
1248 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1249 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1250 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1251
1252 2017-11-22 Yao Qi <yao.qi@linaro.org>
1253
1254 * gdb.base/info-os.exp: Pass pthreads.
1255 * gdb.multi/multi-attach.exp: Likewise.
1256
1257 2017-11-22 Yao Qi <yao.qi@linaro.org>
1258
1259 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1260 compiler.
1261
1262 2017-11-22 Yao Qi <yao.qi@linaro.org>
1263
1264 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1265 * gdb.base/break-interp.exp: Likewise.
1266 * gdb.base/jit-attach-pie.exp: Likewise.
1267
1268 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1269
1270 * gdb.base/float128.c (large128): New variable.
1271 * gdb.base/float128.exp: Add test to print largest __float128 value.
1272
1273 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1274
1275 * gdb.arch/vsx-regs.exp: Update register content checks.
1276
1277 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1278
1279 * gdb.arch/ppc-longdouble.exp: New file.
1280 * gdb.arch/ppc-longdouble.c: Likewise.
1281
1282 2017-11-21 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1285
1286 2017-11-20 Pedro Alves <palves@redhat.com>
1287
1288 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1289 (long_double_typedef): New typedefs.
1290 Use DEF on double and long double.
1291 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1292 cases.
1293 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1294 and 'long_double_ptr_same_size' locals. Use them to decide
1295 whether cast from array/function to float is valid/invalid.
1296
1297 2017-11-17 Tom Tromey <tom@tromey.com>
1298
1299 * gdb.rust/traits.rs: New file.
1300 * gdb.rust/traits.exp: New file.
1301
1302 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1303
1304 * gdb.ada/minsyms: New testcase.
1305
1306 2017-11-16 Pedro Alves <palves@redhat.com>
1307
1308 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1309 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1310
1311 2017-11-16 Pedro Alves <palves@redhat.com>
1312
1313 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1314 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1315
1316 2017-11-16 Pedro Alves <palves@redhat.com>
1317
1318 * gdb.server/reconnect-ctrl-c.c: New file.
1319 * gdb.server/reconnect-ctrl-c.exp: New file.
1320
1321 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1322
1323 * gdb.python/py-rbreak.exp: New file.
1324 * gdb.python/py-rbreak.c: New file.
1325 * gdb.python/py-rbreak-func2.c: New file.
1326
1327 2017-11-16 Pedro Alves <palves@redhat.com>
1328
1329 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1330 pattern.
1331 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1332 GDB.
1333
1334 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1335
1336 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1337 regex.
1338
1339 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1340
1341 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1342 test names.
1343
1344 2017-11-09 Pedro Alves <palves@redhat.com>
1345
1346 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1347 factored out from ...
1348 (top level): ... here, and adjusted to avoid expecting beyond the
1349 prompt in a single gdb_test_multiple.
1350
1351 2017-11-09 Pedro Alves <palves@redhat.com>
1352
1353 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1354 output.
1355 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1356 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1357 * gdb.server/ext-run.exp ("kill" test): Likewise.
1358 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1359
1360 2017-11-09 Pedro Alves <palves@redhat.com>
1361
1362 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1363 match till end of line.
1364
1365 2017-11-09 Pedro Alves <palves@redhat.com>
1366
1367 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1368
1369 2017-11-09 Pedro Alves <palves@redhat.com>
1370
1371 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1372 New procedures, factored out from ...
1373 (top level): ... here, and adjusted to avoid expecting beyond the
1374 prompt in one go.
1375
1376 2017-11-09 Pedro Alves <palves@redhat.com>
1377
1378 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1379 output. Fix '?' match.
1380
1381 2017-11-08 Joel Brobecker <brobecker@adacore.com>
1382
1383 * gdb.ada/scoped_watch: New testcase.
1384 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1385 which is actually correct.
1386 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1387 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1388
1389 2017-11-08 Pedro Alves <palves@redhat.com>
1390
1391 * gdb.gdb/complaints.exp (test_initial_complaints)
1392 (test_serial_complaints, test_short_complaints): Call
1393 complaint_internal instead of complaint.
1394
1395 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1396
1397 * gdb.threads/tls-core.c: New file.
1398 * gdb.threads/tls-core.exp: Likewise.
1399
1400 2017-11-08 Pedro Alves <palves@redhat.com>
1401
1402 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1403 (p Exported_Capitalized): New test.
1404 (p exported_capitalized): New test.
1405
1406 2017-11-07 Pedro Alves <palves@redhat.com>
1407
1408 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1409
1410 2017-11-07 Pedro Alves <palves@redhat.com>
1411
1412 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1413 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1414 (disable_invalid, disable_inverted, disable_negative): New
1415 procedures.
1416 ("bad numbers"): New set of tests.
1417
1418 2017-11-07 Pedro Alves <palves@redhat.com>
1419
1420 * gdb.cp/ena-dis-br-range.exp: Add tests.
1421
1422 2017-11-07 Pedro Alves <palves@redhat.com>
1423
1424 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1425
1426 2017-11-07 Xavier Roirand <roirand@adacore.com>
1427 Pedro Alves <palves@redhat.com>
1428
1429 * gdb.base/ena-dis-br.exp: Add reference to
1430 gdb.cp/ena-dis-br-range.exp.
1431 * gdb.cp/ena-dis-br-range.exp: New file.
1432 * gdb.cp/ena-dis-br-range.cc: New file.
1433
1434 2017-11-06 Pedro Alves <palves@redhat.com>
1435
1436 * gdb.base/attach-non-pgrp-leader.c: New.
1437 * gdb.base/attach-non-pgrp-leader.exp: New.
1438
1439 2017-11-06 Pedro Alves <palves@redhat.com>
1440
1441 * configure.ac: No longer check for termio.h and sgtty.h.
1442 * configure: Regenerate.
1443 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1444 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1445 Remove termio and sgtty code.
1446
1447 2017-11-03 Yao Qi <yao.qi@linaro.org>
1448
1449 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1450 in GDB is disabled.
1451
1452 2017-11-03 Yao Qi <yao.qi@linaro.org>
1453
1454 * gdb.python/py-thrhandle.exp: Skip it if python is not
1455 enabled.
1456
1457 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1458
1459 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1460 as a breakpoint command.
1461
1462 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1463
1464 PR python/21213
1465 * gdb.python/py-infthread.exp: Test calling
1466 InferiorThread.inferior () multiple times in a row.
1467
1468 2017-10-27 Keith Seitz <keiths@redhat.com>
1469
1470 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1471 Test "info break" for every inlined function breakpoint.
1472
1473 2017-10-27 Yao Qi <yao.qi@linaro.org>
1474
1475 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1476
1477 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1478
1479 * gdb.cp/classes.exp (test_static_members): Test printing
1480 Outer::instance.
1481 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1482 (Inner::instance, Outer::instance): New.
1483
1484 2017-10-24 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1487 extra console" test in two stages.
1488
1489 2017-10-24 Pedro Alves <palves@redhat.com>
1490
1491 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1492
1493 2017-10-24 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1496 loop.
1497
1498 2017-10-24 Pedro Alves <palves@redhat.com>
1499
1500 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1501 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1502
1503 2017-10-24 Pedro Alves <palves@redhat.com>
1504
1505 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1506 parameter and handle it. Don't output read value in test name.
1507
1508 2017-10-24 Pedro Alves <palves@redhat.com>
1509
1510 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1511 custom test name.
1512
1513 2017-10-24 Pedro Alves <palves@redhat.com>
1514
1515 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1516 include the unstable output directory name in the test's name.
1517 (initial_setup_simple) <'set args'>: Use custom test name.
1518
1519 2017-10-24 Pedro Alves <palves@redhat.com>
1520
1521 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1522 with explicit test name.
1523
1524 2017-10-20 Pedro Alves <palves@redhat.com>
1525
1526 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1527 'wait -i'. Use gdb_assert and remote_close.
1528
1529 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1530
1531 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1532 number from variable rather than hard-coded.
1533
1534 2017-10-19 Pedro Alves <palves@redhat.com>
1535
1536 * gdb.base/long-inferior-output.c: New file.
1537 * gdb.base/long-inferior-output.exp: New file.
1538
1539 2017-11-18 Keith Seitz <keiths@redhat.com>
1540
1541 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1542 method.
1543 (main): Call it.
1544 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1545 Add additional user-defined conversion operator tests.
1546
1547 2017-10-17 Pedro Alves <palves@redhat.com>
1548
1549 * boards/native-stdio-gdbserver.exp: Load "local-board".
1550
1551 2017-10-17 Pedro Alves <palves@redhat.com>
1552
1553 * gdb.base/quit-live.c: New file.
1554 * gdb.base/quit-live.exp: New file.
1555
1556 2017-10-16 Keith Seitz <keiths@redhat.com>
1557
1558 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1559 (class_with_protected_typedef, class_with_private_typedef)
1560 (struct_with_public_typedef, struct_with_protected_typedef)
1561 (struct_with_private_typedef): New classes/structs.
1562 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1563 typedefs and access specifiers.
1564
1565 2017-10-16 Pedro Alves <palves@redhat.com>
1566 Simon Marchi <simon.marchi@polymtl.ca>
1567
1568 * README (Local vs Remote vs Native): New section.
1569 * boards/local-board.exp: New file, with bits factored out from
1570 ...
1571 * boards/native-extended-gdbserver.exp: ... here. Load
1572 "local-board".
1573 * boards/native-gdbserver.exp: Load "local-board".
1574 (${board}_spawn, ${board}_exec): Delete.
1575 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1576 ...
1577 * boards/stdio-gdbserver-base.exp: ... this new file.
1578 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1579 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1580 procedure.
1581 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1582 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1583 stdio_gdbserver_command.
1584 (${board}_get_remote_address, ${board}_get_comm_port)
1585 (${board}_download, ${board}_upload): Delete.
1586 (get_target_remote_pipe_cmd): New.
1587
1588 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1589
1590 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1591 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1592 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1593 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1594 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1595 remove with_test_prefix.
1596
1597 2017-10-13 Pedro Alves <palves@redhat.com>
1598
1599 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1600 * gdb.base/annota1.exp: Use it instead of is_remote.
1601 * gdb.base/annota3.exp: Use it instead of is_remote.
1602 * gdb.cp/annota2.exp: Use it instead of is_remote.
1603 * gdb.cp/annota3.exp: Use it instead of is_remote.
1604 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1605
1606 2017-10-13 Pedro Alves <palves@redhat.com>
1607
1608 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1609 (test_num_test_vars, run_and_count_vars, find_env)
1610 (test_set_unset_env, test_inherit_env_var): New procedures.
1611 (top level): Use them.
1612
1613 2017-10-13 Pedro Alves <palves@redhat.com>
1614
1615 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1616 also skip on stub-like targets.
1617
1618 2017-10-13 Pedro Alves <palves@redhat.com>
1619
1620 PR gdb/22293
1621 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1622 (top level): Move some tests to ...
1623 (test_not_found): ... this new procedure.
1624 (top level): Call it.
1625
1626 2017-10-13 Pedro Alves <palves@redhat.com>
1627
1628 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1629 expect different "info terminal" output if testing with a
1630 non-native target.
1631
1632 2017-10-13 Pedro Alves <palves@redhat.com>
1633 Simon Marchi <simon.marchi@polymtl.ca>
1634
1635 PR python/12966
1636 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1637
1638 2017-10-13 Pedro Alves <palves@redhat.com>
1639
1640 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1641 already.
1642
1643 2017-10-13 Pedro Alves <palves@redhat.com>
1644
1645 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1646 is_remote.
1647
1648 2017-10-13 Pedro Alves <palves@redhat.com>
1649
1650 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1651 is_remote.
1652
1653 2017-10-13 Pedro Alves <palves@redhat.com>
1654
1655 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1656 is set.
1657 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1658 instead of is_remote.
1659
1660 2017-10-13 Pedro Alves <palves@redhat.com>
1661
1662 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1663 (top level): Add comment.
1664
1665 2017-10-13 Pedro Alves <palves@redhat.com>
1666
1667 * gdb.base/remote.exp (top level): Fix comment typo and add
1668 missing return.
1669
1670 2017-10-13 Pedro Alves <palves@redhat.com>
1671 Simon Marchi <simon.marchi@polymtl.ca>
1672
1673 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1674 calls and add comments. Skip test if use_gdb_stub is set.
1675 (top level): Use "set cwd" command instead of "cd" command.
1676
1677 2017-10-13 Pedro Alves <palves@redhat.com>
1678
1679 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1680 is_remote target check.
1681
1682 2017-10-13 Pedro Alves <palves@redhat.com>
1683
1684 * gdb.base/scope.exp: Use build_executable + clean_restart +
1685 gdb_file_cmd instead of prepare_for_testing and no longer skip
1686 "before run" tests on is_remote target boards. Update comments.
1687 * boards/native-extended-gdbserver.exp
1688 (extended_gdbserver_load_last_file): New, factored out from ...
1689 (gdb_load): ... this. Move further below and add comment.
1690 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1691
1692 2017-10-12 Pedro Alves <palves@redhat.com>
1693
1694 * gdb.base/attach.exp: Remove references to gdb64.
1695 * gdb.base/dbx.exp: Remove references to gdb64.
1696
1697 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1698 Pedro Alves <palves@redhat.com>
1699
1700 * gdb.base/label.exp: Remove is_remote target check.
1701
1702 2017-10-12 Pedro Alves <palves@redhat.com>
1703
1704 * gdb.base/auvx.exp (coredir): Update comment.
1705 (top level) <core_works>: Use "set cwd" command instead of "cd"
1706 command.
1707
1708 2017-10-12 Pedro Alves <palves@redhat.com>
1709 Simon Marchi <simon.marchi@polymtl.ca>
1710
1711 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1712 target boards.
1713
1714 2017-10-12 Pedro Alves <palves@redhat.com>
1715 Simon Marchi <simon.marchi@polymtl.ca>
1716
1717 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1718 Instead skip if there's any gdb_protocol set.
1719
1720 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1721 Pedro Alves <palves@redhat.com>
1722
1723 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1724
1725 2017-10-12 Pedro Alves <palves@redhat.com>
1726 Simon Marchi <simon.marchi@polymtl.ca>
1727
1728 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1729 instead of on dejagnu remote boards.
1730
1731 2017-10-12 Pedro Alves <palves@redhat.com>
1732 Simon Marchi <simon.marchi@polymtl.ca>
1733
1734 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1735 checks. Use build_executable + clean_restart instead of
1736 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1737 of enabling non-stop after starting gdb.
1738
1739 2017-10-12 Pedro Alves <palves@redhat.com>
1740
1741 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1742 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1743 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1744 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1745
1746 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1747
1748 * gdb.arch/arc-tdesc-cpu.exp: New file.
1749 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1750
1751 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1752
1753 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1754
1755 2017-10-10 Pedro Alves <palves@redhat.com>
1756
1757 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1758 expect CLI output.
1759
1760 2017-10-10 Pedro Alves <palves@redhat.com>
1761
1762 * lib/selftest-support.exp (selftest_setup): Update for
1763 captured_command_loop's prototype change.
1764
1765 2017-10-09 Pedro Alves <palves@redhat.com>
1766
1767 Test both arch1=>arch2 and arch2=>arch1.
1768
1769 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1770 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1771 factored out to...
1772 (append_arch1_options, append_arch2_options, append_arch_options)
1773 (build_executables): New procedures.
1774 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1775 local.
1776 (top level): Add new 'first_arch' testing axis.
1777
1778 2017-10-09 Pedro Alves <palves@redhat.com>
1779
1780 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1781 (barrier): New.
1782 (thread_start, all_started): New functions.
1783 (main): Spawn new thread and wait until it is scheduled.
1784 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1785 option.
1786 (do_test): Add 'selected_thread' parameter. Run to all_started
1787 instead of main. Explicitly set the breakpoint at main. Switch
1788 to the SELECTED_THREAD thread.
1789 (top level): Test handling the exec event with either the main
1790 thread or the second thread selected.
1791
1792 2017-10-09 Pedro Alves <palves@redhat.com>
1793
1794 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1795 logic. Move STOP marker after the value checks.
1796 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1797 regexp.
1798
1799 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1800
1801 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1802
1803 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1804
1805 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1806 integer-to-dfp conversion.
1807 * gdb.base/dfp-test.exp: Likewise.
1808
1809 2017-10-04 Pedro Alves <palves@redhat.com>
1810
1811 * gdb.multi/hangout.c: Include <unistd.h>.
1812 (hangout_loop): New function.
1813 (main): Call alarm. Call hangout_loop in a loop.
1814 * gdb.multi/hello.c: Include <unistd.h>.
1815 (hello_loop): New function.
1816 (main): Call alarm. Call hangout_loop in a loop.
1817 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1818 inferior with the other selected.
1819
1820 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1821
1822 * gdb.mi/list-thread-groups-available.exp: New file.
1823 * gdb.mi/list-thread-groups-available.c: New file.
1824
1825 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1826
1827 * gdb.base/set-cwd.exp: Make it available on
1828 native-extended-gdbserver.
1829
1830 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1831
1832 * gdb.base/set-cwd.c: New file.
1833 * gdb.base/set-cwd.exp: Likewise.
1834
1835 2017-10-02 Tom Tromey <tom@tromey.com>
1836
1837 PR rust/22236:
1838 * gdb.rust/simple.rs (main): New variable "fslice".
1839 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1840
1841 2017-10-02 Tom Tromey <tom@tromey.com>
1842
1843 * gdb.rust/simple.exp: Test ptype of a slice.
1844
1845 2017-10-02 Tom Tromey <tom@tromey.com>
1846
1847 * gdb.rust/simple.exp: Test index of slice.
1848
1849 2017-09-27 Tom Tromey <tom@tromey.com>
1850
1851 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1852
1853 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1854 Pedro Alves <palves@redhat.com>
1855
1856 * gdb.base/compare-sections.exp (get value of read-only section): Read
1857 as unsigned value.
1858 (corrupt read-only section): Likewise and don't set written if patching
1859 failed.
1860
1861 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1862
1863 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1864 files.
1865
1866 2017-09-20 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1869 symbol names in gdb's output.
1870 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1871
1872 2017-09-20 Pedro Alves <palves@redhat.com>
1873
1874 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1875 Rename to ...
1876 (test_list_ambiguous_symbol): ... this and add a symbol name
1877 parameter. Adjust.
1878 (test_list_ambiguous_function): Reimplement on top of
1879 test_list_ambiguous_symbol and also test listing ambiguous
1880 variables.
1881 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1882 (ambiguous_fun): ... this.
1883 (ambiguous_var): New.
1884 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1885 (ambiguous_fun): ... this.
1886 (ambiguous_var): New.
1887
1888 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1889
1890 * gdb.base/starti.c: New file.
1891 * gdb.base/starti.exp: New file.
1892 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1893
1894 2017-09-14 Pedro Alves <palves@redhat.com>
1895
1896 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1897 (top level): Use it instead of runto.
1898
1899 2017-09-11 Tom Tromey <tom@tromey.com>
1900
1901 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1902
1903 2017-09-11 Tom Tromey <tom@tromey.com>
1904
1905 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1906 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1907
1908 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1909
1910 * gdb.fortran/printing-types.exp: New file.
1911 * gdb.fortran/printing-types.exp: New file.
1912
1913 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1914
1915 * gdb.fortran/vla-ptype.exp: Fix typos.
1916 * gdb.fortran/vla-value.exp: Same.
1917
1918 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1919
1920 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1921 * gdb.mi/mi-var-child-f.exp: Likewise.
1922 * gdb.mi/mi-vla-fortran.exp: Likewise.
1923
1924 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1925 Christoph Weinmann <christoph.t.weinmann@intel.com>
1926 Bernhard Heckel <bernhard.heckel@intel.com>
1927
1928 * gdb.fortran/ptr-indentation.f90: New file.
1929 * gdb.fortran/ptr-indentation.exp: New file.
1930
1931 2017-09-05 Tom Tromey <tom@tromey.com>
1932
1933 PR gdb/22010:
1934 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1935
1936 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1937
1938 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1939
1940 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1941
1942 * gdb.threads/tls-nodebug-pie.c: New file.
1943 * gdb.threads/tls-nodebug-pie.exp: New file.
1944
1945 2017-09-05 Tom Tromey <tom@tromey.com>
1946
1947 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1948 for rust.
1949
1950 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1951
1952 * gdb.multi/multi-arch-exec.exp: Test with different
1953 "follow-exec-mode" settings.
1954 (do_test): New procedure.
1955
1956 2017-09-04 Pedro Alves <palves@redhat.com>
1957
1958 * gdb.base/func-static.c (S::method const, S::method volatile)
1959 (S::method volatile const): New methods.
1960 (c_s, v_s, cv_s): New instances.
1961 (main): Call method() on them.
1962 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1963 (cannot_resolve): New procedure.
1964 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1965 print-quote-unquoted columns.
1966 (do_test): Test printing each scope too.
1967
1968 2017-09-04 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.base/local-static.exp: Also test with
1971 class::method::variable wholly quoted.
1972 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1973
1974 2017-09-04 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.base/local-static.c: New.
1977 * gdb.base/local-static.cc: New.
1978 * gdb.base/local-static.exp: New.
1979
1980 2017-09-04 Pedro Alves <palves@redhat.com>
1981
1982 * gdb.asm/asm-source.exp: Add casts to int.
1983 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1984 (dataglobal64_1, dataglobal64_2): New globals.
1985 * gdb.base/nodebug.exp: Test different expressions involving the
1986 new globals, with print, whatis and ptype. Add casts to int.
1987 * gdb.base/solib-display.exp: Add casts to int.
1988 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1989 * gdb.cp/m-static.exp: Add cast to int.
1990 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1991 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1992 tls variable with no debug info without a cast. Test with a cast
1993 to int too.
1994 * gdb.trace/entry-values.exp: Add casts.
1995
1996 2017-09-04 Pedro Alves <palves@redhat.com>
1997
1998 * gdb.base/nodebug.exp: Test that ptype's error about functions
1999 with unknown return type includes the function name too.
2000
2001 2017-09-04 Pedro Alves <palves@redhat.com>
2002
2003 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
2004 return type of munmap in infcall.
2005 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
2006 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
2007 type of ftell in infcall.
2008 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2009 type of getpid in infcall.
2010 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2011 infcall.
2012 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2013 Bail on failure to extract the pid.
2014 * gdb.base/nodebug.c: #include <stdint.h>.
2015 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2016 New functions.
2017 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2018 Change expected output of print/whatis/ptype with functions with
2019 no debug info. Test all supported languages. Call
2020 test_call_promotion.
2021 * gdb.compile/compile.exp: Adjust expected output to expect
2022 warning.
2023 * gdb.threads/siginfo-threads.exp: Likewise.
2024
2025 2017-09-04 Pedro Alves <palves@redhat.com>
2026
2027 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2028 "prototypes". Test calling float functions via prototyped and
2029 unprototyped function pointers.
2030 (perform_all_tests): New parameter "prototypes". Pass it down.
2031 (top level): Pass down "prototypes" parameter to
2032 perform_all_tests.
2033
2034 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2035
2036 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2037 Test with nested loops.
2038
2039 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2040
2041 * gdb.base/commands.exp: Call the new procedures.
2042 (loop_break_test, loop_continue_test): New procedures.
2043
2044 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2045
2046 * gdb.base/commands.exp: Call new procedure.
2047 (define_if_without_arg_test): New procedure.
2048
2049 2017-09-04 Pedro Alves <palves@redhat.com>
2050
2051 * gdb.base/list-ambiguous.exp: New file.
2052 * gdb.base/list-ambiguous0.c: New file.
2053 * gdb.base/list-ambiguous1.c: New file.
2054 * gdb.base/list.exp (test_list_range): Adjust expected output.
2055
2056 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2057
2058 * gdb.base/share-env-with-gdbserver.c: New file.
2059 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2060
2061 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2062
2063 * gdb.base/commands.exp (gdbvar_simple_if_test,
2064 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2065 progvar_simple_if_test, progvar_simple_while_test,
2066 progvar_complex_if_while_test, user_defined_command_test,
2067 user_defined_command_args_eval,
2068 user_defined_command_args_stack_test,
2069 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2070 temporary_breakpoint_commands,
2071 gdb_test_no_prompt, redefine_hook_test,
2072 redefine_backtrace_test): Remove "global gdb_prompt".
2073
2074 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2075
2076 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2077 New proc, call it from toplevel.
2078
2079 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2080
2081 PR remote/21852
2082 * gdb.server/normal.c: New file, copied from gdb.base.
2083 * gdb.server/run-without-local-binary.exp: New file.
2084
2085 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2086
2087 * gdb.arch/sparc64-adi.exp: New file.
2088 * gdb.arch/sparc64-adi.c: New file.
2089
2090 2017-08-22 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2093 (top level): Add "list all overloads" tests.
2094
2095 2017-08-22 Tom Tromey <tom@tromey.com>
2096
2097 * gdb.gdb/xfullpath.exp: Remove.
2098
2099 2017-08-21 Pedro Alves <palves@redhat.com>
2100
2101 PR gdb/19487
2102 * gdb.base/symbol-alias.c: New.
2103 * gdb.base/symbol-alias2.c: New.
2104 * gdb.base/symbol-alias.exp: New.
2105
2106 2017-08-21 Pedro Alves <palves@redhat.com>
2107
2108 * gdb.base/dfp-test.c
2109 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2110 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2111 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2112 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2113 * gdb.base/whatis-ptype-typedefs.c: New.
2114 * gdb.base/whatis-ptype-typedefs.exp: New.
2115 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2116 (an_int, an_int_type, an_int_type2): New globals.
2117 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2118 involving typedefs and cast expressions.
2119 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2120 (lookup_typedefs_function): New.
2121 (typedefs_pretty_printers_dict): New.
2122 (top level): Register lookup_typedefs_function in
2123 gdb.pretty_printers.
2124
2125 2017-08-18 Yao Qi <yao.qi@linaro.org>
2126
2127 * gdb.server/unittest.exp: New.
2128
2129 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2130
2131 PR gdb/21954
2132 * gdb.base/environ.exp: Add test to check if 'unset environment'
2133 works.
2134
2135 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2136
2137 * lib/gdb.exp (universal_compile_options): New caching proc.
2138 (gdb_compile): Suppress GCC's coloring of messages.
2139
2140 2017-08-14 Tom Tromey <tom@tromey.com>
2141
2142 PR gdb/21675:
2143 * gdb.base/printcmds.exp (test_radices): New function.
2144 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2145 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2146 * lib/gdb.exp (get_integer_valueof): Use p/d.
2147
2148 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2149
2150 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2151 characters.
2152
2153 2017-08-05 Tom Tromey <tom@tromey.com>
2154
2155 * gdb.rust/simple.exp: Allow String to appear in a different
2156 namespace.
2157
2158 2017-07-26 Yao Qi <yao.qi@linaro.org>
2159
2160 * gdb.gdb/unittest.exp: Invoke command
2161 "maintenance check xml-descriptions".
2162
2163 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2164
2165 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2166 calling context.
2167 (hex128): Drop erroneous calculation of parameters.
2168
2169 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2170
2171 * gdb.python/py-unwind.exp: Disable stack protection when
2172 building test file.
2173
2174 2017-07-20 Pedro Alves <palves@redhat.com>
2175
2176 * gdb.base/default.exp (set language): Adjust expected output.
2177
2178 2017-07-20 Pedro Alves <palves@redhat.com>
2179
2180 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2181 (test_minsym): ... this, and make static.
2182 (get_pck__foo__bar__minsym): Rename to ...
2183 (get_test_minsym): ... this.
2184 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2185 symbol names and comments.
2186 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2187 (get_test_minsym): ... this.
2188 (pck__foo__bar__minsym__2): Rename to ...
2189 (test_minsym): ... this.
2190 (main): Adjust.
2191
2192 2017-07-17 Pedro Alves <palves@redhat.com>
2193
2194 * gdb.base/completion.exp: Adjust expected output.
2195 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2196 the completer works.
2197
2198 2017-07-17 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2201
2202 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2203
2204 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2205
2206 2017-07-14 Tom Tromey <tom@tromey.com>
2207
2208 PR rust/21764:
2209 * gdb.rust/simple.exp: Add tests.
2210
2211 2017-07-14 Tom Tromey <tom@tromey.com>
2212
2213 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2214
2215 2017-07-14 Pedro Alves <palves@redhat.com>
2216
2217 * gdb.linespec/base/one/thefile.cc (z1): New function.
2218 * gdb.linespec/base/two/thefile.cc (z2): New function.
2219 * gdb.linespec/linespec.exp: Add tests.
2220
2221 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2222
2223 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2224 to mi_create_breakpoint.
2225
2226 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2227
2228 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2229 mi_create_breakpoint.
2230
2231 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2232
2233 * gdb.dlang/demangle.exp: Update for demangling changes.
2234
2235 2017-07-09 Tom Tromey <tom@tromey.com>
2236
2237 * gdb.dwarf2/shortpiece.exp: New file.
2238
2239 2017-07-06 David Blaikie <dblaikie@gmail.com>
2240
2241 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2242 built from fissiont-multi-cu{1,2}.c.
2243 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2244 except putting 'main' and 'func' in separate CUs in the same DWO file.
2245 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2246 test.
2247 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2248 test.
2249
2250 2017-07-06 Pedro Alves <palves@redhat.com>
2251
2252 * gdb.python/py-unwind.exp: Test flushregs.
2253
2254 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2255
2256 PR cli/21688
2257 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2258 tests for alias commands and trailing whitespace.
2259
2260 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2261
2262 PR cli/21688
2263 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2264 procedure. Call it.
2265
2266 2017-06-29 Pedro Alves <palves@redhat.com>
2267
2268 * gdb.base/printcmds.exp: Add tests.
2269
2270 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2271
2272 PR gdb/21337
2273 * gdb.base/reread-readsym.exp: New file.
2274 * gdb.base/reread-readsym.c: New file.
2275
2276 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2277
2278 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2279 subpattern.
2280
2281 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2282
2283 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2284 extended mnemonic.
2285 * gdb.arch/powerpc-power9.s: Likewise.
2286
2287 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2288
2289 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2290 on 32-bit x86 targets. Exploit is_*_target macros where
2291 appropriate.
2292
2293 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2294
2295 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2296 register pieces.
2297
2298 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2299
2300 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2301 located in one or more DWARF pieces.
2302
2303 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2304
2305 * lib/gdb.exp (get_endianness): New proc.
2306 * gdb.arch/aarch64-fp.exp: Use it.
2307 * gdb.arch/altivec-regs.exp: Likewise.
2308 * gdb.arch/e500-regs.exp: Likewise.
2309 * gdb.arch/vsx-regs.exp: Likewise.
2310 * gdb.base/dump.exp: Likewise.
2311 * gdb.base/funcargs.exp: Likewise.
2312 * gdb.base/gnu_vector.exp: Likewise.
2313 * gdb.dwarf2/formdata16.exp: Likewise.
2314 * gdb.dwarf2/implptrpiece.exp: Likewise.
2315 * gdb.dwarf2/nonvar-access.exp: Likewise.
2316 * gdb.python/py-inferior.exp: Likewise.
2317 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2318
2319 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2320
2321 PR gdb/21226
2322 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2323 stack value pieces are taken from the LSB end.
2324
2325 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2326
2327 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2328 variable at nonzero offset.
2329
2330 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2331
2332 * gdb.dwarf2/var-access.c: New file.
2333 * gdb.dwarf2/var-access.exp: New test.
2334 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2335
2336 2017-06-12 Tom Tromey <tom@tromey.com>
2337
2338 * gdb.dwarf2/formdata16.exp: Add tests.
2339
2340 2017-06-12 Tom Tromey <tom@tromey.com>
2341
2342 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2343
2344 2017-06-12 Tom Tromey <tom@tromey.com>
2345
2346 PR exp/16225:
2347 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2348 * gdb.arch/vsx-regs.exp: Update tests.
2349 * gdb.arch/s390-vregs.exp (hex128): New proc.
2350 Update test.
2351 * gdb.arch/altivec-regs.exp: Update tests.
2352
2353 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2354
2355 * gdb.base/startup-with-shell.c: New file.
2356 * gdb.base/startup-with-shell.exp: Likewise.
2357
2358 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2359
2360 * gdb.server/non-existing-program.exp: Update regex in order to
2361 reflect the fact that gdbserver is now using fork_inferior (with a
2362 shell) to startup the inferior.
2363
2364 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2365
2366 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2367 support function calls from GDB.
2368
2369 2017-05-21 Tom Tromey <tom@tromey.com>
2370
2371 PR rust/21466:
2372 * gdb.rust/unsized.exp: New file.
2373 * gdb.rust/unsized.rs: New file.
2374
2375 2017-05-19 Tom Tromey <tom@tromey.com>
2376
2377 PR rust/21484:
2378 * gdb.rust/watch.exp: New file.
2379 * gdb.rust/watch.rs: New file.
2380
2381 2017-05-18 Tom Tromey <tom@tromey.com>
2382
2383 * gdb.rust/simple.exp: Allow Box to be qualified.
2384
2385 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2386
2387 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2388
2389 2017-05-18 Pedro Alves <palves@redhat.com>
2390
2391 * gdb.base/fileio.c (test_write, test_read, test_close)
2392 (test_fstat): Don't print 'ret' in the fail path.
2393
2394 2017-05-18 Pedro Alves <palves@redhat.com>
2395
2396 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2397 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2398 (test_system, test_rename, test_unlink, test_time): Change
2399 prototypes.
2400 * gdb.base/fileio.exp (stop_msg): Adjust.
2401
2402 2017-05-18 Pedro Alves <palves@redhat.com>
2403
2404 * gdb.base/fileio.c (null_str): New global.
2405 (test_stat): Use it.
2406 * gdb.base/fileio.exp: Remove nowarnings.
2407
2408 2017-05-17 Yao Qi <yao.qi@linaro.org>
2409
2410 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2411
2412 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2413
2414 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2415 argument command.
2416 (top-level): Invoke test_set_inferior_tty.
2417
2418 2017-05-04 Pedro Alves <palves@redhat.com>
2419
2420 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2421 Add parens to print call for Python 3.
2422
2423 2017-05-03 Keith Seitz <keiths@redhat.com>
2424
2425 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2426 (main): Call it.
2427
2428 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2429
2430 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2431 to prev and next.
2432
2433 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2434
2435 * gdb.python/py-record-btrace.exp: Remove test for
2436 gdb.BtraceInstruction.error.
2437
2438 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2439
2440 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2441
2442 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2443
2444 * gdb.python/py-record-btrace-threads.c: New file.
2445 * gdb.python/py-record-btrace-threads.exp: New file.
2446
2447 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2448
2449 PR testsuite/8595
2450 * gdb.base/environ.exp: Make test available in all architectures.
2451 Move bits related to "info program" testing to
2452 gdb.base/info-program.exp. Rewrite tests to use the two new
2453 procedures mentione below.
2454 (test_set_show_env_var) New procedure.
2455 (test_set_show_env_var_equal): Likewise.
2456 * gdb.base/info-program.exp: New file.
2457
2458 2017-04-27 Keith Seitz <keiths@redhat.com>
2459
2460 * gdb.cp/oranking.cc (test15): New function.
2461 (main): Call test15 and declare additional variables for testing.
2462 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2463 "p foo101('abc')" tests.
2464 Add tests for cv qualifier overloads.
2465 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2466 "lvalue reference overload" test.
2467 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2468 "print value of f1 on Child&& in f2" test.
2469
2470 2017-04-19 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2473 procedure.
2474 (top level): Call it.
2475 * lib/gdb.exp (gdb_define_cmd): New procedure.
2476
2477 2017-04-12 Pedro Alves <palves@redhat.com>
2478
2479 PR gdb/21323
2480 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2481 (wchar): New global.
2482 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2483 (do_test_wide_char, wide_char_types_no_program, top level): Add
2484 wchar_t testing.
2485
2486 2017-04-12 Pedro Alves <palves@redhat.com>
2487
2488 PR c++/21323
2489 * gdb.cp/wide_char_types.c: New file.
2490 * gdb.cp/wide_char_types.exp: New file.
2491
2492 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2493
2494 PR gdb/21352
2495 * gdb.trace/tsv.exp: Add test for "tsave -r".
2496
2497 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2498
2499 * gdb.dlang/watch-loc.c: New file.
2500 * gdb.dlang/watch-loc.exp: New file.
2501
2502 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2503
2504 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2505
2506 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2507
2508 * gdb.arch/arc-analyze-prologue.S: New file.
2509 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2510
2511 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2512
2513 * gdb.arch/arc-decode-insn.S: New file.
2514 * gdb.arch/arc-decode-insn.exp: Likewise.
2515
2516 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2517
2518 PR tdep/20928
2519 * gdb.arch/sparc64-regs.exp: New file.
2520 * gdb.arch/sparc64-regs.S: Likewise.
2521
2522 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2523
2524 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2525 and memory view on Python 3.
2526
2527 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2528 Keith Seitz <keiths@redhat.com>
2529
2530 PR gdb/14441
2531 * gdb.cp/demangle.exp: Add rvalue reference tests.
2532 * gdb.cp/rvalue-ref-casts.cc: New file.
2533 * gdb.cp/rvalue-ref-casts.exp: New file.
2534 * gdb.cp/rvalue-ref-overload.cc: New file.
2535 * gdb.cp/rvalue-ref-overload.exp: New file.
2536 * gdb.cp/rvalue-ref-params.cc: New file.
2537 * gdb.cp/rvalue-ref-params.exp: New file.
2538 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2539 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2540 * gdb.cp/rvalue-ref-types.cc: New file.
2541 * gdb.cp/rvalue-ref-types.exp: New file.
2542 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2543 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2544
2545 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2546
2547 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2548 New procedure.
2549
2550 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2551
2552 * lib/mi-support.exp (mi_gdb_test): Add additional message
2553 for unexpected output.
2554
2555 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2556
2557 * gdb.base/examine-backward.c (Barrier): New character array
2558 constant, to ensure that TestStrings is preceded by a string
2559 terminator.
2560
2561 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2562
2563 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2564 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2565 and implicit pointer into such a location.
2566
2567 2017-03-16 Doug Evans <dje@google.com>
2568
2569 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2570
2571 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2572
2573 * gdb.cp/m-static.exp: Fix expectation for prototype of
2574 test5.single_constructor and single_constructor::single_constructor.
2575
2576 2017-03-16 Doug Evans <dje@google.com>
2577
2578 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2579 * gdb.guile/scm-lazy-string.c: New file.
2580 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2581 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2582 for pointer, array, typedef lazy strings.
2583
2584 2017-03-16 Doug Evans <dje@google.com>
2585
2586 PR python/17728, python/18439, python/18779
2587 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2588 * gdb.python/py-lazy-string.c (pointer): New typedef.
2589 (main): New locals ptr, array, typedef_ptr.
2590 * gdb.python/py-value.exp: Move lazy string tests to ...
2591 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2592 array, typedef lazy strings.
2593
2594 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2595
2596 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2597 Add optional 'test' parameter.
2598
2599 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2600
2601 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2602 Skip for versions of DejaGnu < 1.5.
2603
2604 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2605
2606 * lib/gdb.exp (dejagnu_version): New proc.
2607 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2608 Use dejagnu_version.
2609
2610 2017-03-10 Keith Seitz <keiths@redhat.com>
2611
2612 PR c++/8128
2613 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2614 type from destructor regexps.
2615 Add a branch which actually passes the test.
2616 Adjust "ptype t5i" test names.
2617
2618 2017-03-08 Pedro Alves <palves@redhat.com>
2619
2620 * gdb.base/step-over-exit.exp: Add explicit test message.
2621
2622 2017-03-08 Pedro Alves <palves@redhat.com>
2623
2624 PR gdb/18360
2625 * gdb.threads/interrupt-while-step-over.c: New file.
2626 * gdb.threads/interrupt-while-step-over.exp: New file.
2627
2628 2017-03-08 Pedro Alves <palves@redhat.com>
2629
2630 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2631 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2632
2633 2017-03-08 Pedro Alves <palves@redhat.com>
2634
2635 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2636 PKRU as not supported as a PASS.
2637
2638 2017-03-08 Pedro Alves <palves@redhat.com>
2639
2640 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2641 prefix instead of $binfile1/$binfile2.
2642 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2643 in test message.
2644 * gdb.python/py-completion.exp: Use "load python file" as test
2645 messages instead of unstable path names.
2646
2647 2017-03-08 Pedro Alves <palves@redhat.com>
2648 Jan Kratochvil <jan.kratochvil@redhat.com>
2649
2650 PR cli/21218
2651 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2652 New proc.
2653 (top level): Call it.
2654
2655 2017-03-08 Pedro Alves <palves@redhat.com>
2656
2657 PR tui/21216
2658 * gdb.tui/tui-nl-filtered-output.exp: New file.
2659
2660 2017-03-08 Pedro Alves <palves@redhat.com>
2661
2662 * gdb.base/completion.exp: Move TUI completion tests to ...
2663 * gdb.tui/completion.exp: ... this new file.
2664
2665 2017-03-08 Pedro Alves <palves@redhat.com>
2666
2667 * gdb.base/tui-disasm-long-lines.c,
2668 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2669 gdb.base/tui-layout.exp: Move to ...
2670 * gdb.tui/: ... this new directory.
2671
2672 2017-03-07 Pedro Alves <palves@redhat.com>
2673
2674 * gdb.base/tui-layout.c: New file.
2675 * gdb.base/tui-layout.exp: New file.
2676
2677 2017-03-07 Pedro Alves <palves@redhat.com>
2678
2679 * gdb.base/tui-layout.c: Rename to ...
2680 * gdb.base/tui-disasm-long-lines.c: ... this.
2681 * gdb.base/tui-layout.exp: Rename to ...
2682 * gdb.base/tui-disasm-long-lines.exp: ... this.
2683
2684 2017-03-07 Pedro Alves <palves@redhat.com>
2685
2686 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2687
2688 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2689
2690 * i386-mpx-call.c: New file.
2691 * i386-mpx-call.exp: New file.
2692
2693 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2694
2695 * gdb.arch/powerpc-power.exp: Delete test.
2696 * gdb.arch/powerpc-power.s: Likewise.
2697 * gdb.disasm/disassembler-options.exp: New test.
2698 * gdb.arch/powerpc-altivec.exp: Likewise.
2699 * gdb.arch/powerpc-altivec.s: Likewise.
2700 * gdb.arch/powerpc-altivec2.exp: Likewise.
2701 * gdb.arch/powerpc-altivec2.s: Likewise.
2702 * gdb.arch/powerpc-altivec3.exp: Likewise.
2703 * gdb.arch/powerpc-altivec3.s: Likewise.
2704 * gdb.arch/powerpc-power7.exp: Likewise.
2705 * gdb.arch/powerpc-power7.s: Likewise.
2706 * gdb.arch/powerpc-power8.exp: Likewise.
2707 * gdb.arch/powerpc-power8.s: Likewise.
2708 * gdb.arch/powerpc-power9.exp: Likewise.
2709 * gdb.arch/powerpc-power9.s: Likewise.
2710 * gdb.arch/powerpc-vsx.exp: Likewise.
2711 * gdb.arch/powerpc-vsx.s: Likewise.
2712 * gdb.arch/powerpc-vsx2.exp: Likewise.
2713 * gdb.arch/powerpc-vsx2.s: Likewise.
2714 * gdb.arch/powerpc-vsx3.exp: Likewise.
2715 * gdb.arch/powerpc-vsx3.s: Likewise.
2716 * gdb.arch/arm-disassembler-options.exp: Likewise.
2717 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2718 * gdb.arch/s390-disassembler-options.exp: Likewise.
2719
2720 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2721
2722 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2723 (check_supported_features): ... this. Changed return type to void.
2724 (supports_rdseed): New static global.
2725 (rdseed): Check supports_rdseed.
2726 (initialize): Call check_supported_features.
2727
2728 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2729
2730 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2731 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2732 and lqarx/stqcx.
2733 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2734 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2735
2736 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2737
2738 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2739 uppercase.
2740
2741 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2742
2743 * gdb.dwarf2/formdata16.c: New file.
2744 * gdb.dwarf2/formdata16.exp: New file.
2745 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2746
2747 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2748
2749 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2750 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2751 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2752 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2753 DW_AT_GNU_*.
2754
2755 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2756
2757 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2758
2759 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2760
2761 PR gdb/21164
2762 * gdb.base/maint.exp: Add testcases for when the commands do
2763 not have arguments.
2764
2765 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2766
2767 * gdb.cp/chained-calls.exp: Use p instead of P.
2768
2769 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2770
2771 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2772 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2773
2774 2017-02-14 Tom Tromey <tom@tromey.com>
2775
2776 PR python/13598:
2777 * gdb.python/py-events.exp: Add before_prompt event tests.
2778
2779 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2780
2781 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2782
2783 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2784
2785 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2786 (main): Call my_unique_function_name.
2787 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2788 completion of patterns with a single match.
2789 Add missing -re switches to gdb_test_multiple calls.
2790
2791 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2792
2793 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2794 return if core file is not recognized.
2795
2796 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2797
2798 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2799 and extra UIs.
2800
2801 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2802
2803 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2804 proc_with_prefix.
2805
2806 2017-02-10 Tom Tromey <tom@tromey.com>
2807
2808 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2809
2810 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2811
2812 PR gdb/21122
2813 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2814
2815 2017-02-08 Jerome Guitton <guitton@adacore.com>
2816
2817 * gdb.base/define.exp: Add test for command abbreviations
2818 in define.
2819
2820 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2821
2822 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2823 * gdb.reverse/insn-reverse-x86.c: New file.
2824
2825 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2826
2827 PR tdep/20936
2828 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2829
2830 2017-02-03 Tom Tromey <tom@tromey.com>
2831
2832 PR rust/21097:
2833 * gdb.rust/simple.exp: Add new tests.
2834
2835 2017-02-02 Pedro Alves <palves@redhat.com>
2836
2837 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2838 tests.
2839
2840 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2841
2842 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2843 taking a 2-byte value out of a 4-byte DWARF implicit value on
2844 big-endian targets.
2845 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2846 logic. Add test cases for DW_OP_implicit.
2847
2848 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2849
2850 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2851
2852 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2853
2854 * gdb.btrace/enable.exp: Call gdb_exit before
2855 skip_gdbserver_tests.
2856
2857 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2858
2859 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2860 GDBFLAGS.
2861
2862 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2863
2864 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2865 the test is skipped.
2866 * gdb.btrace/data.exp: Likewise.
2867 * gdb.btrace/delta.exp: Likewise.
2868 * gdb.btrace/dlopen.exp: Likewise.
2869 * gdb.btrace/enable-running.exp: Likewise.
2870 * gdb.btrace/enable.exp: Likewise.
2871 * gdb.btrace/exception.exp: Likewise.
2872 * gdb.btrace/function_call_history.exp: Likewise.
2873 * gdb.btrace/gcore.exp: Likewise.
2874 * gdb.btrace/instruction_history.exp: Likewise.
2875 * gdb.btrace/multi-thread-step.exp: Likewise.
2876 * gdb.btrace/nohist.exp: Likewise.
2877 * gdb.btrace/non-stop.exp: Likewise.
2878 * gdb.btrace/reconnect.exp: Likewise.
2879 * gdb.btrace/record_goto-step.exp: Likewise.
2880 * gdb.btrace/record_goto.exp: Likewise.
2881 * gdb.btrace/rn-dl-bind.exp: Likewise.
2882 * gdb.btrace/segv.exp: Likewise.
2883 * gdb.btrace/step.exp: Likewise.
2884 * gdb.btrace/stepi.exp: Likewise.
2885 * gdb.btrace/tailcall-only.exp: Likewise.
2886 * gdb.btrace/tailcall.exp: Likewise.
2887 * gdb.btrace/tsx.exp: Likewise.
2888 * gdb.btrace/unknown_functions.exp: Likewise.
2889 * gdb.btrace/vdso.exp: Likewise.
2890
2891 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2892
2893 * gdb.btrace/enable-running.c: New.
2894 * gdb.btrace/enable-running.exp: New.
2895
2896 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2897
2898 * gdb.arch/amd64-gs_base.c: New file.
2899 * gdb.arch/amd64-gs_base.exp: New file.
2900
2901 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2902
2903 * lib/memory.exp: Remove spurious empty newlines.
2904
2905 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2906
2907 * gdb.python/py-bad-printers.exp: Load python file using "source".
2908 * gdb.python/py-events.exp: Likewise.
2909 * gdb.python/py-evsignal.exp: Likewise.
2910 * gdb.python/py-evthreads.exp: Likewise.
2911 * gdb.python/py-frame-args.exp: Likewise.
2912 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2913 * gdb.python/py-framefilter-mi.exp: Likewise.
2914 * gdb.python/py-framefilter.exp: Likewise.
2915 * gdb.python/py-mi.exp: Likewise.
2916 * gdb.python/py-pp-maint.exp: Likewise.
2917 * gdb.python/py-pp-registration.exp: Likewise.
2918 * gdb.python/py-prettyprint.exp: Likewise.
2919 (run_lang_tests): Likewise.
2920 * gdb.python/py-typeprint.exp: Likewise.
2921
2922 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2923
2924 * lib/memory.exp: New file.
2925 * lib/gdb.exp: Load memory.exp.
2926 * gdb.base/memattr.exp (delete_memory): Move proc to
2927 lib/memory.exp and rename to delete_memory_regions.
2928 Replace delete_memory with delete_memory_regions.
2929 Cleanup memory regions before tests.
2930 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2931 before tests.
2932
2933 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2934
2935 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2936 files.
2937 (initialize): New function conditionally defined.
2938 (testcases): Move within conditional block.
2939 (main): Call initialize.
2940 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2941 of gdb.reverse/insn-reverse.c.
2942 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2943 gdb.reverse/insn-reverse.c.
2944
2945 2017-01-26 Yao Qi <yao.qi@linaro.org>
2946
2947 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2948 disassemble on address 0.
2949
2950 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2951 Yao Qi <yao.qi@linaro.org>
2952
2953 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2954 * gdb.dwarf2/implptr-64bit.S: Remove.
2955 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2956 variables in caller's context. Add DW_OP_implicit_value.
2957
2958 2017-01-25 Yao Qi <yao.qi@linaro.org>
2959
2960 * lib/dwarf.exp (Dwarf::_location): Handle
2961 DW_OP_GNU_implicit_pointer with proper size.
2962
2963 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2964
2965 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2966 and add untested calls.
2967
2968 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2969
2970 * gdb.python/python.exp: Check line number against what GDB thinks
2971 the line number is for func1.
2972
2973 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2974
2975 * gdb.dlang/debug-expr.exp: New file.
2976
2977 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2978
2979 Fix test names for the following files:
2980
2981 * gdb.ada/exec_changed.exp
2982 * gdb.ada/info_types.exp
2983 * gdb.arch/aarch64-atomic-inst.exp
2984 * gdb.arch/aarch64-fp.exp
2985 * gdb.arch/altivec-abi.exp
2986 * gdb.arch/altivec-regs.exp
2987 * gdb.arch/amd64-byte.exp
2988 * gdb.arch/amd64-disp-step.exp
2989 * gdb.arch/amd64-dword.exp
2990 * gdb.arch/amd64-entry-value-inline.exp
2991 * gdb.arch/amd64-entry-value-param.exp
2992 * gdb.arch/amd64-entry-value-paramref.exp
2993 * gdb.arch/amd64-entry-value.exp
2994 * gdb.arch/amd64-i386-address.exp
2995 * gdb.arch/amd64-invalid-stack-middle.exp
2996 * gdb.arch/amd64-invalid-stack-top.exp
2997 * gdb.arch/amd64-optimout-repeat.exp
2998 * gdb.arch/amd64-prologue-skip.exp
2999 * gdb.arch/amd64-prologue-xmm.exp
3000 * gdb.arch/amd64-stap-special-operands.exp
3001 * gdb.arch/amd64-stap-wrong-subexp.exp
3002 * gdb.arch/amd64-tailcall-cxx.exp
3003 * gdb.arch/amd64-tailcall-noret.exp
3004 * gdb.arch/amd64-tailcall-ret.exp
3005 * gdb.arch/amd64-tailcall-self.exp
3006 * gdb.arch/amd64-word.exp
3007 * gdb.arch/arm-bl-branch-dest.exp
3008 * gdb.arch/arm-disp-step.exp
3009 * gdb.arch/arm-neon.exp
3010 * gdb.arch/arm-single-step-kernel-helper.exp
3011 * gdb.arch/avr-flash-qualifier.exp
3012 * gdb.arch/disp-step-insn-reloc.exp
3013 * gdb.arch/e500-abi.exp
3014 * gdb.arch/e500-regs.exp
3015 * gdb.arch/ftrace-insn-reloc.exp
3016 * gdb.arch/i386-avx512.exp
3017 * gdb.arch/i386-bp_permanent.exp
3018 * gdb.arch/i386-byte.exp
3019 * gdb.arch/i386-cfi-notcurrent.exp
3020 * gdb.arch/i386-disp-step.exp
3021 * gdb.arch/i386-dr3-watch.exp
3022 * gdb.arch/i386-float.exp
3023 * gdb.arch/i386-gnu-cfi.exp
3024 * gdb.arch/i386-mpx-map.exp
3025 * gdb.arch/i386-mpx-sigsegv.exp
3026 * gdb.arch/i386-mpx-simple_segv.exp
3027 * gdb.arch/i386-mpx.exp
3028 * gdb.arch/i386-permbkpt.exp
3029 * gdb.arch/i386-prologue.exp
3030 * gdb.arch/i386-signal.exp
3031 * gdb.arch/i386-size-overlap.exp
3032 * gdb.arch/i386-unwind.exp
3033 * gdb.arch/i386-word.exp
3034 * gdb.arch/mips-fcr.exp
3035 * gdb.arch/powerpc-d128-regs.exp
3036 * gdb.arch/powerpc-stackless.exp
3037 * gdb.arch/ppc64-atomic-inst.exp
3038 * gdb.arch/s390-stackless.exp
3039 * gdb.arch/s390-tdbregs.exp
3040 * gdb.arch/s390-vregs.exp
3041 * gdb.arch/sparc-sysstep.exp
3042 * gdb.arch/thumb-bx-pc.exp
3043 * gdb.arch/thumb-singlestep.exp
3044 * gdb.arch/thumb2-it.exp
3045 * gdb.arch/vsx-regs.exp
3046 * gdb.asm/asm-source.exp
3047 * gdb.base/a2-run.exp
3048 * gdb.base/advance.exp
3049 * gdb.base/all-bin.exp
3050 * gdb.base/anon.exp
3051 * gdb.base/args.exp
3052 * gdb.base/arithmet.exp
3053 * gdb.base/async-shell.exp
3054 * gdb.base/async.exp
3055 * gdb.base/attach-pie-noexec.exp
3056 * gdb.base/attach-twice.exp
3057 * gdb.base/auto-load.exp
3058 * gdb.base/bang.exp
3059 * gdb.base/bitfields.exp
3060 * gdb.base/break-always.exp
3061 * gdb.base/break-caller-line.exp
3062 * gdb.base/break-entry.exp
3063 * gdb.base/break-inline.exp
3064 * gdb.base/break-on-linker-gcd-function.exp
3065 * gdb.base/break-probes.exp
3066 * gdb.base/break.exp
3067 * gdb.base/breakpoint-shadow.exp
3068 * gdb.base/call-ar-st.exp
3069 * gdb.base/call-sc.exp
3070 * gdb.base/call-signal-resume.exp
3071 * gdb.base/call-strs.exp
3072 * gdb.base/callfuncs.exp
3073 * gdb.base/catch-fork-static.exp
3074 * gdb.base/catch-gdb-caused-signals.exp
3075 * gdb.base/catch-load.exp
3076 * gdb.base/catch-signal-fork.exp
3077 * gdb.base/catch-signal.exp
3078 * gdb.base/catch-syscall.exp
3079 * gdb.base/charset.exp
3080 * gdb.base/checkpoint.exp
3081 * gdb.base/chng-syms.exp
3082 * gdb.base/code-expr.exp
3083 * gdb.base/code_elim.exp
3084 * gdb.base/commands.exp
3085 * gdb.base/completion.exp
3086 * gdb.base/complex.exp
3087 * gdb.base/cond-expr.exp
3088 * gdb.base/condbreak.exp
3089 * gdb.base/consecutive.exp
3090 * gdb.base/continue-all-already-running.exp
3091 * gdb.base/coredump-filter.exp
3092 * gdb.base/corefile.exp
3093 * gdb.base/dbx.exp
3094 * gdb.base/debug-expr.exp
3095 * gdb.base/define.exp
3096 * gdb.base/del.exp
3097 * gdb.base/disabled-location.exp
3098 * gdb.base/disasm-end-cu.exp
3099 * gdb.base/disasm-optim.exp
3100 * gdb.base/display.exp
3101 * gdb.base/duplicate-bp.exp
3102 * gdb.base/ena-dis-br.exp
3103 * gdb.base/ending-run.exp
3104 * gdb.base/enumval.exp
3105 * gdb.base/environ.exp
3106 * gdb.base/eu-strip-infcall.exp
3107 * gdb.base/eval-avoid-side-effects.exp
3108 * gdb.base/eval-skip.exp
3109 * gdb.base/exitsignal.exp
3110 * gdb.base/expand-psymtabs.exp
3111 * gdb.base/filesym.exp
3112 * gdb.base/find-unmapped.exp
3113 * gdb.base/finish.exp
3114 * gdb.base/float.exp
3115 * gdb.base/foll-exec-mode.exp
3116 * gdb.base/foll-exec.exp
3117 * gdb.base/foll-fork.exp
3118 * gdb.base/fortran-sym-case.exp
3119 * gdb.base/freebpcmd.exp
3120 * gdb.base/func-ptr.exp
3121 * gdb.base/func-ptrs.exp
3122 * gdb.base/funcargs.exp
3123 * gdb.base/gcore-buffer-overflow.exp
3124 * gdb.base/gcore-relro-pie.exp
3125 * gdb.base/gcore-relro.exp
3126 * gdb.base/gcore.exp
3127 * gdb.base/gdb1090.exp
3128 * gdb.base/gdb11530.exp
3129 * gdb.base/gdb11531.exp
3130 * gdb.base/gdb1821.exp
3131 * gdb.base/gdbindex-stabs.exp
3132 * gdb.base/gdbvars.exp
3133 * gdb.base/hbreak.exp
3134 * gdb.base/hbreak2.exp
3135 * gdb.base/included.exp
3136 * gdb.base/infcall-input.exp
3137 * gdb.base/inferior-died.exp
3138 * gdb.base/infnan.exp
3139 * gdb.base/info-macros.exp
3140 * gdb.base/info-os.exp
3141 * gdb.base/info-proc.exp
3142 * gdb.base/info-shared.exp
3143 * gdb.base/info-target.exp
3144 * gdb.base/infoline.exp
3145 * gdb.base/interp.exp
3146 * gdb.base/interrupt.exp
3147 * gdb.base/jit-reader.exp
3148 * gdb.base/jit-simple.exp
3149 * gdb.base/kill-after-signal.exp
3150 * gdb.base/kill-detach-inferiors-cmd.exp
3151 * gdb.base/label.exp
3152 * gdb.base/langs.exp
3153 * gdb.base/ldbl_e308.exp
3154 * gdb.base/line-symtabs.exp
3155 * gdb.base/linespecs.exp
3156 * gdb.base/list.exp
3157 * gdb.base/long_long.exp
3158 * gdb.base/longest-types.exp
3159 * gdb.base/maint.exp
3160 * gdb.base/max-value-size.exp
3161 * gdb.base/memattr.exp
3162 * gdb.base/mips_pro.exp
3163 * gdb.base/morestack.exp
3164 * gdb.base/moribund-step.exp
3165 * gdb.base/multi-forks.exp
3166 * gdb.base/nested-addr.exp
3167 * gdb.base/nextoverexit.exp
3168 * gdb.base/noreturn-finish.exp
3169 * gdb.base/noreturn-return.exp
3170 * gdb.base/nostdlib.exp
3171 * gdb.base/offsets.exp
3172 * gdb.base/opaque.exp
3173 * gdb.base/pc-fp.exp
3174 * gdb.base/permissions.exp
3175 * gdb.base/print-symbol-loading.exp
3176 * gdb.base/prologue-include.exp
3177 * gdb.base/psymtab.exp
3178 * gdb.base/ptype.exp
3179 * gdb.base/random-signal.exp
3180 * gdb.base/randomize.exp
3181 * gdb.base/range-stepping.exp
3182 * gdb.base/readline-ask.exp
3183 * gdb.base/recpar.exp
3184 * gdb.base/recurse.exp
3185 * gdb.base/relational.exp
3186 * gdb.base/restore.exp
3187 * gdb.base/return-nodebug.exp
3188 * gdb.base/return.exp
3189 * gdb.base/run-after-attach.exp
3190 * gdb.base/save-bp.exp
3191 * gdb.base/scope.exp
3192 * gdb.base/sect-cmd.exp
3193 * gdb.base/set-lang-auto.exp
3194 * gdb.base/set-noassign.exp
3195 * gdb.base/setvar.exp
3196 * gdb.base/sigall.exp
3197 * gdb.base/sigbpt.exp
3198 * gdb.base/siginfo-addr.exp
3199 * gdb.base/siginfo-infcall.exp
3200 * gdb.base/siginfo-obj.exp
3201 * gdb.base/siginfo.exp
3202 * gdb.base/signals-state-child.exp
3203 * gdb.base/signest.exp
3204 * gdb.base/sigstep.exp
3205 * gdb.base/sizeof.exp
3206 * gdb.base/skip.exp
3207 * gdb.base/solib-corrupted.exp
3208 * gdb.base/solib-nodir.exp
3209 * gdb.base/solib-search.exp
3210 * gdb.base/stack-checking.exp
3211 * gdb.base/stale-infcall.exp
3212 * gdb.base/stap-probe.exp
3213 * gdb.base/start.exp
3214 * gdb.base/step-break.exp
3215 * gdb.base/step-bt.exp
3216 * gdb.base/step-line.exp
3217 * gdb.base/step-over-exit.exp
3218 * gdb.base/step-over-syscall.exp
3219 * gdb.base/step-resume-infcall.exp
3220 * gdb.base/step-test.exp
3221 * gdb.base/store.exp
3222 * gdb.base/structs3.exp
3223 * gdb.base/sym-file.exp
3224 * gdb.base/symbol-without-target_section.exp
3225 * gdb.base/term.exp
3226 * gdb.base/testenv.exp
3227 * gdb.base/ui-redirect.exp
3228 * gdb.base/until.exp
3229 * gdb.base/unwindonsignal.exp
3230 * gdb.base/value-double-free.exp
3231 * gdb.base/vla-datatypes.exp
3232 * gdb.base/vla-ptr.exp
3233 * gdb.base/vla-sideeffect.exp
3234 * gdb.base/volatile.exp
3235 * gdb.base/watch-cond-infcall.exp
3236 * gdb.base/watch-cond.exp
3237 * gdb.base/watch-non-mem.exp
3238 * gdb.base/watch-read.exp
3239 * gdb.base/watch-vfork.exp
3240 * gdb.base/watchpoint-cond-gone.exp
3241 * gdb.base/watchpoint-delete.exp
3242 * gdb.base/watchpoint-hw-hit-once.exp
3243 * gdb.base/watchpoint-hw.exp
3244 * gdb.base/watchpoint-stops-at-right-insn.exp
3245 * gdb.base/watchpoints.exp
3246 * gdb.base/wchar.exp
3247 * gdb.base/whatis-exp.exp
3248 * gdb.btrace/buffer-size.exp
3249 * gdb.btrace/data.exp
3250 * gdb.btrace/delta.exp
3251 * gdb.btrace/dlopen.exp
3252 * gdb.btrace/enable.exp
3253 * gdb.btrace/exception.exp
3254 * gdb.btrace/function_call_history.exp
3255 * gdb.btrace/gcore.exp
3256 * gdb.btrace/instruction_history.exp
3257 * gdb.btrace/nohist.exp
3258 * gdb.btrace/reconnect.exp
3259 * gdb.btrace/record_goto-step.exp
3260 * gdb.btrace/record_goto.exp
3261 * gdb.btrace/rn-dl-bind.exp
3262 * gdb.btrace/segv.exp
3263 * gdb.btrace/step.exp
3264 * gdb.btrace/stepi.exp
3265 * gdb.btrace/tailcall-only.exp
3266 * gdb.btrace/tailcall.exp
3267 * gdb.btrace/tsx.exp
3268 * gdb.btrace/unknown_functions.exp
3269 * gdb.btrace/vdso.exp
3270 * gdb.compile/compile-ifunc.exp
3271 * gdb.compile/compile-ops.exp
3272 * gdb.compile/compile-print.exp
3273 * gdb.compile/compile-setjmp.exp
3274 * gdb.cp/abstract-origin.exp
3275 * gdb.cp/ambiguous.exp
3276 * gdb.cp/annota2.exp
3277 * gdb.cp/annota3.exp
3278 * gdb.cp/anon-ns.exp
3279 * gdb.cp/anon-struct.exp
3280 * gdb.cp/anon-union.exp
3281 * gdb.cp/arg-reference.exp
3282 * gdb.cp/baseenum.exp
3283 * gdb.cp/bool.exp
3284 * gdb.cp/breakpoint.exp
3285 * gdb.cp/bs15503.exp
3286 * gdb.cp/call-c.exp
3287 * gdb.cp/casts.exp
3288 * gdb.cp/chained-calls.exp
3289 * gdb.cp/class2.exp
3290 * gdb.cp/classes.exp
3291 * gdb.cp/cmpd-minsyms.exp
3292 * gdb.cp/converts.exp
3293 * gdb.cp/cp-relocate.exp
3294 * gdb.cp/cpcompletion.exp
3295 * gdb.cp/cpexprs.exp
3296 * gdb.cp/cplabel.exp
3297 * gdb.cp/cplusfuncs.exp
3298 * gdb.cp/cpsizeof.exp
3299 * gdb.cp/ctti.exp
3300 * gdb.cp/derivation.exp
3301 * gdb.cp/destrprint.exp
3302 * gdb.cp/dispcxx.exp
3303 * gdb.cp/enum-class.exp
3304 * gdb.cp/exception.exp
3305 * gdb.cp/exceptprint.exp
3306 * gdb.cp/expand-psymtabs-cxx.exp
3307 * gdb.cp/expand-sals.exp
3308 * gdb.cp/extern-c.exp
3309 * gdb.cp/filename.exp
3310 * gdb.cp/formatted-ref.exp
3311 * gdb.cp/fpointer.exp
3312 * gdb.cp/gdb1355.exp
3313 * gdb.cp/gdb2495.exp
3314 * gdb.cp/hang.exp
3315 * gdb.cp/impl-this.exp
3316 * gdb.cp/infcall-dlopen.exp
3317 * gdb.cp/inherit.exp
3318 * gdb.cp/iostream.exp
3319 * gdb.cp/koenig.exp
3320 * gdb.cp/local.exp
3321 * gdb.cp/m-data.exp
3322 * gdb.cp/m-static.exp
3323 * gdb.cp/mb-ctor.exp
3324 * gdb.cp/mb-inline.exp
3325 * gdb.cp/mb-templates.exp
3326 * gdb.cp/member-name.exp
3327 * gdb.cp/member-ptr.exp
3328 * gdb.cp/meth-typedefs.exp
3329 * gdb.cp/method.exp
3330 * gdb.cp/method2.exp
3331 * gdb.cp/minsym-fallback.exp
3332 * gdb.cp/misc.exp
3333 * gdb.cp/namelessclass.exp
3334 * gdb.cp/namespace-enum.exp
3335 * gdb.cp/namespace-nested-import.exp
3336 * gdb.cp/namespace.exp
3337 * gdb.cp/nextoverthrow.exp
3338 * gdb.cp/no-dmgl-verbose.exp
3339 * gdb.cp/non-trivial-retval.exp
3340 * gdb.cp/noparam.exp
3341 * gdb.cp/nsdecl.exp
3342 * gdb.cp/nsimport.exp
3343 * gdb.cp/nsnested.exp
3344 * gdb.cp/nsnoimports.exp
3345 * gdb.cp/nsrecurs.exp
3346 * gdb.cp/nsstress.exp
3347 * gdb.cp/nsusing.exp
3348 * gdb.cp/operator.exp
3349 * gdb.cp/oranking.exp
3350 * gdb.cp/overload-const.exp
3351 * gdb.cp/overload.exp
3352 * gdb.cp/ovldbreak.exp
3353 * gdb.cp/ovsrch.exp
3354 * gdb.cp/paren-type.exp
3355 * gdb.cp/parse-lang.exp
3356 * gdb.cp/pass-by-ref.exp
3357 * gdb.cp/pr-1023.exp
3358 * gdb.cp/pr-1210.exp
3359 * gdb.cp/pr-574.exp
3360 * gdb.cp/pr10687.exp
3361 * gdb.cp/pr12028.exp
3362 * gdb.cp/pr17132.exp
3363 * gdb.cp/pr17494.exp
3364 * gdb.cp/pr9067.exp
3365 * gdb.cp/pr9167.exp
3366 * gdb.cp/pr9631.exp
3367 * gdb.cp/printmethod.exp
3368 * gdb.cp/psmang.exp
3369 * gdb.cp/psymtab-parameter.exp
3370 * gdb.cp/ptype-cv-cp.exp
3371 * gdb.cp/ptype-flags.exp
3372 * gdb.cp/re-set-overloaded.exp
3373 * gdb.cp/ref-types.exp
3374 * gdb.cp/rtti.exp
3375 * gdb.cp/scope-err.exp
3376 * gdb.cp/shadow.exp
3377 * gdb.cp/smartp.exp
3378 * gdb.cp/static-method.exp
3379 * gdb.cp/static-print-quit.exp
3380 * gdb.cp/temargs.exp
3381 * gdb.cp/templates.exp
3382 * gdb.cp/try_catch.exp
3383 * gdb.cp/typedef-operator.exp
3384 * gdb.cp/typeid.exp
3385 * gdb.cp/userdef.exp
3386 * gdb.cp/using-crash.exp
3387 * gdb.cp/var-tag.exp
3388 * gdb.cp/virtbase.exp
3389 * gdb.cp/virtfunc.exp
3390 * gdb.cp/virtfunc2.exp
3391 * gdb.cp/vla-cxx.exp
3392 * gdb.disasm/t01_mov.exp
3393 * gdb.disasm/t02_mova.exp
3394 * gdb.disasm/t03_add.exp
3395 * gdb.disasm/t04_sub.exp
3396 * gdb.disasm/t05_cmp.exp
3397 * gdb.disasm/t06_ari2.exp
3398 * gdb.disasm/t07_ari3.exp
3399 * gdb.disasm/t08_or.exp
3400 * gdb.disasm/t09_xor.exp
3401 * gdb.disasm/t10_and.exp
3402 * gdb.disasm/t11_logs.exp
3403 * gdb.disasm/t12_bit.exp
3404 * gdb.disasm/t13_otr.exp
3405 * gdb.dlang/circular.exp
3406 * gdb.dwarf2/arr-stride.exp
3407 * gdb.dwarf2/arr-subrange.exp
3408 * gdb.dwarf2/atomic-type.exp
3409 * gdb.dwarf2/bad-regnum.exp
3410 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3411 * gdb.dwarf2/callframecfa.exp
3412 * gdb.dwarf2/clztest.exp
3413 * gdb.dwarf2/corrupt.exp
3414 * gdb.dwarf2/data-loc.exp
3415 * gdb.dwarf2/dup-psym.exp
3416 * gdb.dwarf2/dw2-anon-mptr.exp
3417 * gdb.dwarf2/dw2-anonymous-func.exp
3418 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3419 * gdb.dwarf2/dw2-bad-unresolved.exp
3420 * gdb.dwarf2/dw2-basic.exp
3421 * gdb.dwarf2/dw2-canonicalize-type.exp
3422 * gdb.dwarf2/dw2-case-insensitive.exp
3423 * gdb.dwarf2/dw2-common-block.exp
3424 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3425 * gdb.dwarf2/dw2-compressed.exp
3426 * gdb.dwarf2/dw2-const.exp
3427 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3428 * gdb.dwarf2/dw2-cu-size.exp
3429 * gdb.dwarf2/dw2-dup-frame.exp
3430 * gdb.dwarf2/dw2-entry-value.exp
3431 * gdb.dwarf2/dw2-icycle.exp
3432 * gdb.dwarf2/dw2-ifort-parameter.exp
3433 * gdb.dwarf2/dw2-inline-break.exp
3434 * gdb.dwarf2/dw2-inline-param.exp
3435 * gdb.dwarf2/dw2-intercu.exp
3436 * gdb.dwarf2/dw2-intermix.exp
3437 * gdb.dwarf2/dw2-lexical-block-bare.exp
3438 * gdb.dwarf2/dw2-linkage-name-trust.exp
3439 * gdb.dwarf2/dw2-minsym-in-cu.exp
3440 * gdb.dwarf2/dw2-noloc.exp
3441 * gdb.dwarf2/dw2-op-call.exp
3442 * gdb.dwarf2/dw2-op-out-param.exp
3443 * gdb.dwarf2/dw2-opt-structptr.exp
3444 * gdb.dwarf2/dw2-param-error.exp
3445 * gdb.dwarf2/dw2-producer.exp
3446 * gdb.dwarf2/dw2-ranges-base.exp
3447 * gdb.dwarf2/dw2-ref-missing-frame.exp
3448 * gdb.dwarf2/dw2-reg-undefined.exp
3449 * gdb.dwarf2/dw2-regno-invalid.exp
3450 * gdb.dwarf2/dw2-restore.exp
3451 * gdb.dwarf2/dw2-restrict.exp
3452 * gdb.dwarf2/dw2-single-line-discriminators.exp
3453 * gdb.dwarf2/dw2-strp.exp
3454 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3455 * gdb.dwarf2/dw2-unresolved.exp
3456 * gdb.dwarf2/dw2-var-zero-addr.exp
3457 * gdb.dwarf2/dw4-sig-types.exp
3458 * gdb.dwarf2/dwz.exp
3459 * gdb.dwarf2/dynarr-ptr.exp
3460 * gdb.dwarf2/enum-type.exp
3461 * gdb.dwarf2/gdb-index.exp
3462 * gdb.dwarf2/implptr-64bit.exp
3463 * gdb.dwarf2/implptr-optimized-out.exp
3464 * gdb.dwarf2/implptr.exp
3465 * gdb.dwarf2/implref-array.exp
3466 * gdb.dwarf2/implref-const.exp
3467 * gdb.dwarf2/implref-global.exp
3468 * gdb.dwarf2/implref-struct.exp
3469 * gdb.dwarf2/mac-fileno.exp
3470 * gdb.dwarf2/main-subprogram.exp
3471 * gdb.dwarf2/member-ptr-forwardref.exp
3472 * gdb.dwarf2/method-ptr.exp
3473 * gdb.dwarf2/missing-sig-type.exp
3474 * gdb.dwarf2/nonvar-access.exp
3475 * gdb.dwarf2/opaque-type-lookup.exp
3476 * gdb.dwarf2/pieces-optimized-out.exp
3477 * gdb.dwarf2/pieces.exp
3478 * gdb.dwarf2/pr10770.exp
3479 * gdb.dwarf2/pr13961.exp
3480 * gdb.dwarf2/staticvirtual.exp
3481 * gdb.dwarf2/subrange.exp
3482 * gdb.dwarf2/symtab-producer.exp
3483 * gdb.dwarf2/trace-crash.exp
3484 * gdb.dwarf2/typeddwarf.exp
3485 * gdb.dwarf2/valop.exp
3486 * gdb.dwarf2/watch-notconst.exp
3487 * gdb.fortran/array-element.exp
3488 * gdb.fortran/charset.exp
3489 * gdb.fortran/common-block.exp
3490 * gdb.fortran/complex.exp
3491 * gdb.fortran/derived-type-function.exp
3492 * gdb.fortran/derived-type.exp
3493 * gdb.fortran/logical.exp
3494 * gdb.fortran/module.exp
3495 * gdb.fortran/multi-dim.exp
3496 * gdb.fortran/nested-funcs.exp
3497 * gdb.fortran/print-formatted.exp
3498 * gdb.fortran/subarray.exp
3499 * gdb.fortran/vla-alloc-assoc.exp
3500 * gdb.fortran/vla-datatypes.exp
3501 * gdb.fortran/vla-history.exp
3502 * gdb.fortran/vla-ptr-info.exp
3503 * gdb.fortran/vla-ptype-sub.exp
3504 * gdb.fortran/vla-ptype.exp
3505 * gdb.fortran/vla-sizeof.exp
3506 * gdb.fortran/vla-type.exp
3507 * gdb.fortran/vla-value-sub-arbitrary.exp
3508 * gdb.fortran/vla-value-sub-finish.exp
3509 * gdb.fortran/vla-value-sub.exp
3510 * gdb.fortran/vla-value.exp
3511 * gdb.fortran/whatis_type.exp
3512 * gdb.go/chan.exp
3513 * gdb.go/handcall.exp
3514 * gdb.go/hello.exp
3515 * gdb.go/integers.exp
3516 * gdb.go/methods.exp
3517 * gdb.go/package.exp
3518 * gdb.go/strings.exp
3519 * gdb.go/types.exp
3520 * gdb.go/unsafe.exp
3521 * gdb.guile/scm-arch.exp
3522 * gdb.guile/scm-block.exp
3523 * gdb.guile/scm-breakpoint.exp
3524 * gdb.guile/scm-cmd.exp
3525 * gdb.guile/scm-disasm.exp
3526 * gdb.guile/scm-equal.exp
3527 * gdb.guile/scm-frame-args.exp
3528 * gdb.guile/scm-frame-inline.exp
3529 * gdb.guile/scm-frame.exp
3530 * gdb.guile/scm-iterator.exp
3531 * gdb.guile/scm-math.exp
3532 * gdb.guile/scm-objfile.exp
3533 * gdb.guile/scm-ports.exp
3534 * gdb.guile/scm-symbol.exp
3535 * gdb.guile/scm-symtab.exp
3536 * gdb.guile/scm-value-cc.exp
3537 * gdb.guile/types-module.exp
3538 * gdb.linespec/break-ask.exp
3539 * gdb.linespec/cpexplicit.exp
3540 * gdb.linespec/explicit.exp
3541 * gdb.linespec/keywords.exp
3542 * gdb.linespec/linespec.exp
3543 * gdb.linespec/ls-dollar.exp
3544 * gdb.linespec/ls-errs.exp
3545 * gdb.linespec/skip-two.exp
3546 * gdb.linespec/thread.exp
3547 * gdb.mi/mi-async.exp
3548 * gdb.mi/mi-basics.exp
3549 * gdb.mi/mi-break.exp
3550 * gdb.mi/mi-catch-load.exp
3551 * gdb.mi/mi-cli.exp
3552 * gdb.mi/mi-cmd-param-changed.exp
3553 * gdb.mi/mi-console.exp
3554 * gdb.mi/mi-detach.exp
3555 * gdb.mi/mi-disassemble.exp
3556 * gdb.mi/mi-eval.exp
3557 * gdb.mi/mi-file-transfer.exp
3558 * gdb.mi/mi-file.exp
3559 * gdb.mi/mi-fill-memory.exp
3560 * gdb.mi/mi-inheritance-syntax-error.exp
3561 * gdb.mi/mi-linespec-err-cp.exp
3562 * gdb.mi/mi-logging.exp
3563 * gdb.mi/mi-memory-changed.exp
3564 * gdb.mi/mi-read-memory.exp
3565 * gdb.mi/mi-record-changed.exp
3566 * gdb.mi/mi-reg-undefined.exp
3567 * gdb.mi/mi-regs.exp
3568 * gdb.mi/mi-return.exp
3569 * gdb.mi/mi-reverse.exp
3570 * gdb.mi/mi-simplerun.exp
3571 * gdb.mi/mi-solib.exp
3572 * gdb.mi/mi-stack.exp
3573 * gdb.mi/mi-stepi.exp
3574 * gdb.mi/mi-syn-frame.exp
3575 * gdb.mi/mi-until.exp
3576 * gdb.mi/mi-var-block.exp
3577 * gdb.mi/mi-var-child.exp
3578 * gdb.mi/mi-var-cmd.exp
3579 * gdb.mi/mi-var-cp.exp
3580 * gdb.mi/mi-var-display.exp
3581 * gdb.mi/mi-var-invalidate.exp
3582 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3583 * gdb.mi/mi-vla-fortran.exp
3584 * gdb.mi/mi-watch.exp
3585 * gdb.mi/mi2-var-child.exp
3586 * gdb.mi/user-selected-context-sync.exp
3587 * gdb.modula2/unbounded-array.exp
3588 * gdb.multi/dummy-frame-restore.exp
3589 * gdb.multi/multi-arch-exec.exp
3590 * gdb.multi/multi-arch.exp
3591 * gdb.multi/tids.exp
3592 * gdb.multi/watchpoint-multi.exp
3593 * gdb.opencl/callfuncs.exp
3594 * gdb.opencl/convs_casts.exp
3595 * gdb.opencl/datatypes.exp
3596 * gdb.opencl/operators.exp
3597 * gdb.opencl/vec_comps.exp
3598 * gdb.opt/clobbered-registers-O2.exp
3599 * gdb.opt/inline-break.exp
3600 * gdb.opt/inline-bt.exp
3601 * gdb.opt/inline-cmds.exp
3602 * gdb.opt/inline-locals.exp
3603 * gdb.pascal/case-insensitive-symbols.exp
3604 * gdb.pascal/floats.exp
3605 * gdb.pascal/gdb11492.exp
3606 * gdb.python/lib-types.exp
3607 * gdb.python/py-arch.exp
3608 * gdb.python/py-as-string.exp
3609 * gdb.python/py-bad-printers.exp
3610 * gdb.python/py-block.exp
3611 * gdb.python/py-breakpoint-create-fail.exp
3612 * gdb.python/py-breakpoint.exp
3613 * gdb.python/py-caller-is.exp
3614 * gdb.python/py-cmd.exp
3615 * gdb.python/py-explore-cc.exp
3616 * gdb.python/py-explore.exp
3617 * gdb.python/py-finish-breakpoint.exp
3618 * gdb.python/py-finish-breakpoint2.exp
3619 * gdb.python/py-frame-args.exp
3620 * gdb.python/py-frame-inline.exp
3621 * gdb.python/py-frame.exp
3622 * gdb.python/py-framefilter-mi.exp
3623 * gdb.python/py-infthread.exp
3624 * gdb.python/py-lazy-string.exp
3625 * gdb.python/py-linetable.exp
3626 * gdb.python/py-mi-events.exp
3627 * gdb.python/py-mi-objfile.exp
3628 * gdb.python/py-mi.exp
3629 * gdb.python/py-objfile.exp
3630 * gdb.python/py-pp-integral.exp
3631 * gdb.python/py-pp-maint.exp
3632 * gdb.python/py-pp-re-notag.exp
3633 * gdb.python/py-pp-registration.exp
3634 * gdb.python/py-recurse-unwind.exp
3635 * gdb.python/py-strfns.exp
3636 * gdb.python/py-symbol.exp
3637 * gdb.python/py-symtab.exp
3638 * gdb.python/py-sync-interp.exp
3639 * gdb.python/py-typeprint.exp
3640 * gdb.python/py-unwind-maint.exp
3641 * gdb.python/py-unwind.exp
3642 * gdb.python/py-value-cc.exp
3643 * gdb.python/py-xmethods.exp
3644 * gdb.reverse/amd64-tailcall-reverse.exp
3645 * gdb.reverse/break-precsave.exp
3646 * gdb.reverse/break-reverse.exp
3647 * gdb.reverse/consecutive-precsave.exp
3648 * gdb.reverse/consecutive-reverse.exp
3649 * gdb.reverse/finish-precsave.exp
3650 * gdb.reverse/finish-reverse-bkpt.exp
3651 * gdb.reverse/finish-reverse.exp
3652 * gdb.reverse/fstatat-reverse.exp
3653 * gdb.reverse/getresuid-reverse.exp
3654 * gdb.reverse/i386-precsave.exp
3655 * gdb.reverse/i386-reverse.exp
3656 * gdb.reverse/i386-sse-reverse.exp
3657 * gdb.reverse/i387-env-reverse.exp
3658 * gdb.reverse/i387-stack-reverse.exp
3659 * gdb.reverse/insn-reverse.exp
3660 * gdb.reverse/machinestate-precsave.exp
3661 * gdb.reverse/machinestate.exp
3662 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3663 * gdb.reverse/pipe-reverse.exp
3664 * gdb.reverse/readv-reverse.exp
3665 * gdb.reverse/recvmsg-reverse.exp
3666 * gdb.reverse/rerun-prec.exp
3667 * gdb.reverse/s390-mvcle.exp
3668 * gdb.reverse/step-precsave.exp
3669 * gdb.reverse/step-reverse.exp
3670 * gdb.reverse/time-reverse.exp
3671 * gdb.reverse/until-precsave.exp
3672 * gdb.reverse/until-reverse.exp
3673 * gdb.reverse/waitpid-reverse.exp
3674 * gdb.reverse/watch-precsave.exp
3675 * gdb.reverse/watch-reverse.exp
3676 * gdb.rust/generics.exp
3677 * gdb.rust/methods.exp
3678 * gdb.rust/modules.exp
3679 * gdb.rust/simple.exp
3680 * gdb.server/connect-with-no-symbol-file.exp
3681 * gdb.server/ext-attach.exp
3682 * gdb.server/ext-restart.exp
3683 * gdb.server/ext-wrapper.exp
3684 * gdb.server/file-transfer.exp
3685 * gdb.server/server-exec-info.exp
3686 * gdb.server/server-kill.exp
3687 * gdb.server/server-mon.exp
3688 * gdb.server/wrapper.exp
3689 * gdb.stabs/exclfwd.exp
3690 * gdb.stabs/gdb11479.exp
3691 * gdb.threads/clone-new-thread-event.exp
3692 * gdb.threads/corethreads.exp
3693 * gdb.threads/current-lwp-dead.exp
3694 * gdb.threads/dlopen-libpthread.exp
3695 * gdb.threads/gcore-thread.exp
3696 * gdb.threads/sigstep-threads.exp
3697 * gdb.threads/watchpoint-fork.exp
3698 * gdb.trace/actions-changed.exp
3699 * gdb.trace/backtrace.exp
3700 * gdb.trace/change-loc.exp
3701 * gdb.trace/circ.exp
3702 * gdb.trace/collection.exp
3703 * gdb.trace/disconnected-tracing.exp
3704 * gdb.trace/ftrace.exp
3705 * gdb.trace/mi-trace-frame-collected.exp
3706 * gdb.trace/mi-trace-unavailable.exp
3707 * gdb.trace/mi-traceframe-changed.exp
3708 * gdb.trace/mi-tsv-changed.exp
3709 * gdb.trace/no-attach-trace.exp
3710 * gdb.trace/passc-dyn.exp
3711 * gdb.trace/qtro.exp
3712 * gdb.trace/range-stepping.exp
3713 * gdb.trace/read-memory.exp
3714 * gdb.trace/save-trace.exp
3715 * gdb.trace/signal.exp
3716 * gdb.trace/status-stop.exp
3717 * gdb.trace/tfile.exp
3718 * gdb.trace/trace-break.exp
3719 * gdb.trace/trace-buffer-size.exp
3720 * gdb.trace/trace-condition.exp
3721 * gdb.trace/tracefile-pseudo-reg.exp
3722 * gdb.trace/tstatus.exp
3723 * gdb.trace/unavailable.exp
3724 * gdb.trace/while-dyn.exp
3725 * gdb.trace/while-stepping.exp
3726
3727 2016-12-22 Doug Evans <xdje42@gmail.com>
3728
3729 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3730 and msymbols.
3731
3732 2016-12-19 Yao Qi <yao.qi@linaro.org>
3733
3734 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3735 (test_with_self): Don't call do_steps_and_nexts, and remove
3736 code about stepping into xmalloc.
3737
3738 2016-12-09 Yao Qi <yao.qi@linaro.org>
3739
3740 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3741
3742 2016-12-09 Yao Qi <yao.qi@linaro.org>
3743
3744 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3745
3746 2016-12-09 Pedro Alves <palves@redhat.com>
3747
3748 * gdb.base/all-architectures-0.exp: New file.
3749 * gdb.base/all-architectures-1.exp: New file.
3750 * gdb.base/all-architectures-2.exp: New file.
3751 * gdb.base/all-architectures-3.exp: New file.
3752 * gdb.base/all-architectures-4.exp: New file.
3753 * gdb.base/all-architectures-5.exp: New file.
3754 * gdb.base/all-architectures-6.exp: New file.
3755 * gdb.base/all-architectures-7.exp: New file.
3756 * gdb.base/all-architectures.exp.in: New file.
3757
3758 2016-12-09 Yao Qi <yao.qi@linaro.org>
3759
3760 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3761
3762 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3763
3764 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3765 possible.
3766 Remove useless pattern-matching code.
3767
3768 2016-12-02 Pedro Alves <palves@redhat.com>
3769
3770 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3771 procedure.
3772 (top level): Call it.
3773
3774 2016-12-02 Pedro Alves <palves@redhat.com>
3775
3776 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3777 New procedure.
3778 (top level): Call it.
3779
3780 2016-12-02 Pedro Alves <palves@redhat.com>
3781
3782 PR cli/20559
3783 * gdb.base/commands.exp (user_defined_command_args_eval): New
3784 procedure.
3785 (top level): Call it.
3786
3787 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3788
3789 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3790 timeout handling.
3791
3792 2016-12-02 Tom Tromey <tom@tromey.com>
3793
3794 * gdb.dwarf2/main-subprogram.c: New file.
3795 * gdb.dwarf2/main-subprogram.exp: New file.
3796
3797 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3798
3799 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3800 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3801 gdb_test_no_output for a couple of cases.
3802 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3803
3804 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3805
3806 Fix test names and standardize compilation error messages throughout
3807 the following files:
3808
3809 * gdb.ada/start.exp
3810 * gdb.arch/alpha-step.exp
3811 * gdb.arch/e500-prologue.exp
3812 * gdb.arch/ftrace-insn-reloc.exp
3813 * gdb.arch/gdb1291.exp
3814 * gdb.arch/gdb1431.exp
3815 * gdb.arch/gdb1558.exp
3816 * gdb.arch/i386-dr3-watch.exp
3817 * gdb.arch/i386-sse-stack-align.exp
3818 * gdb.arch/ia64-breakpoint-shadow.exp
3819 * gdb.arch/pa-nullify.exp
3820 * gdb.arch/powerpc-aix-prologue.exp
3821 * gdb.arch/thumb-bx-pc.exp
3822 * gdb.base/annota1.exp
3823 * gdb.base/annota3.exp
3824 * gdb.base/arrayidx.exp
3825 * gdb.base/assign.exp
3826 * gdb.base/attach.exp
3827 * gdb.base/auxv.exp
3828 * gdb.base/bang.exp
3829 * gdb.base/bfp-test.exp
3830 * gdb.base/bigcore.exp
3831 * gdb.base/bitfields2.exp
3832 * gdb.base/break-fun-addr.exp
3833 * gdb.base/break-probes.exp
3834 * gdb.base/call-rt-st.exp
3835 * gdb.base/callexit.exp
3836 * gdb.base/catch-fork-kill.exp
3837 * gdb.base/charset.exp
3838 * gdb.base/checkpoint.exp
3839 * gdb.base/comprdebug.exp
3840 * gdb.base/constvars.exp
3841 * gdb.base/coredump-filter.exp
3842 * gdb.base/cursal.exp
3843 * gdb.base/cvexpr.exp
3844 * gdb.base/detach.exp
3845 * gdb.base/display.exp
3846 * gdb.base/dmsym.exp
3847 * gdb.base/dprintf-pending.exp
3848 * gdb.base/dso2dso.exp
3849 * gdb.base/dtrace-probe.exp
3850 * gdb.base/dump.exp
3851 * gdb.base/enum_cond.exp
3852 * gdb.base/exe-lock.exp
3853 * gdb.base/exec-invalid-sysroot.exp
3854 * gdb.base/execl-update-breakpoints.exp
3855 * gdb.base/exprs.exp
3856 * gdb.base/fileio.exp
3857 * gdb.base/find.exp
3858 * gdb.base/finish.exp
3859 * gdb.base/fixsection.exp
3860 * gdb.base/foll-vfork.exp
3861 * gdb.base/frame-args.exp
3862 * gdb.base/gcore.exp
3863 * gdb.base/gdb1250.exp
3864 * gdb.base/global-var-nested-by-dso.exp
3865 * gdb.base/gnu-ifunc.exp
3866 * gdb.base/hashline1.exp
3867 * gdb.base/hashline2.exp
3868 * gdb.base/hashline3.exp
3869 * gdb.base/hbreak-in-shr-unsupported.exp
3870 * gdb.base/huge.exp
3871 * gdb.base/infcall-input.exp
3872 * gdb.base/info-fun.exp
3873 * gdb.base/info-shared.exp
3874 * gdb.base/jit-simple.exp
3875 * gdb.base/jit-so.exp
3876 * gdb.base/jit.exp
3877 * gdb.base/jump.exp
3878 * gdb.base/label.exp
3879 * gdb.base/lineinc.exp
3880 * gdb.base/logical.exp
3881 * gdb.base/longjmp.exp
3882 * gdb.base/macscp.exp
3883 * gdb.base/miscexprs.exp
3884 * gdb.base/new-ui-echo.exp
3885 * gdb.base/new-ui-pending-input.exp
3886 * gdb.base/new-ui.exp
3887 * gdb.base/nodebug.exp
3888 * gdb.base/nofield.exp
3889 * gdb.base/offsets.exp
3890 * gdb.base/overlays.exp
3891 * gdb.base/pending.exp
3892 * gdb.base/pointers.exp
3893 * gdb.base/pr11022.exp
3894 * gdb.base/printcmds.exp
3895 * gdb.base/prologue.exp
3896 * gdb.base/ptr-typedef.exp
3897 * gdb.base/realname-expand.exp
3898 * gdb.base/relativedebug.exp
3899 * gdb.base/relocate.exp
3900 * gdb.base/remote.exp
3901 * gdb.base/reread.exp
3902 * gdb.base/return2.exp
3903 * gdb.base/savedregs.exp
3904 * gdb.base/sep.exp
3905 * gdb.base/sepdebug.exp
3906 * gdb.base/sepsymtab.exp
3907 * gdb.base/set-inferior-tty.exp
3908 * gdb.base/setshow.exp
3909 * gdb.base/shlib-call.exp
3910 * gdb.base/sigaltstack.exp
3911 * gdb.base/siginfo-addr.exp
3912 * gdb.base/signals.exp
3913 * gdb.base/signull.exp
3914 * gdb.base/sigrepeat.exp
3915 * gdb.base/so-impl-ld.exp
3916 * gdb.base/solib-display.exp
3917 * gdb.base/solib-overlap.exp
3918 * gdb.base/solib-search.exp
3919 * gdb.base/solib-symbol.exp
3920 * gdb.base/structs.exp
3921 * gdb.base/structs2.exp
3922 * gdb.base/symtab-search-order.exp
3923 * gdb.base/twice.exp
3924 * gdb.base/unload.exp
3925 * gdb.base/varargs.exp
3926 * gdb.base/watchpoint-solib.exp
3927 * gdb.base/watchpoint.exp
3928 * gdb.base/whatis.exp
3929 * gdb.base/wrong_frame_bt_full.exp
3930 * gdb.btrace/dlopen.exp
3931 * gdb.cell/ea-standalone.exp
3932 * gdb.cell/ea-test.exp
3933 * gdb.cp/dispcxx.exp
3934 * gdb.cp/gdb2384.exp
3935 * gdb.cp/method2.exp
3936 * gdb.cp/nextoverthrow.exp
3937 * gdb.cp/pr10728.exp
3938 * gdb.disasm/am33.exp
3939 * gdb.disasm/h8300s.exp
3940 * gdb.disasm/mn10300.exp
3941 * gdb.disasm/sh3.exp
3942 * gdb.dwarf2/dw2-dir-file-name.exp
3943 * gdb.fortran/complex.exp
3944 * gdb.fortran/library-module.exp
3945 * gdb.guile/scm-pretty-print.exp
3946 * gdb.guile/scm-symbol.exp
3947 * gdb.guile/scm-type.exp
3948 * gdb.guile/scm-value.exp
3949 * gdb.linespec/linespec.exp
3950 * gdb.mi/gdb701.exp
3951 * gdb.mi/gdb792.exp
3952 * gdb.mi/mi-breakpoint-changed.exp
3953 * gdb.mi/mi-dprintf-pending.exp
3954 * gdb.mi/mi-dprintf.exp
3955 * gdb.mi/mi-exit-code.exp
3956 * gdb.mi/mi-pending.exp
3957 * gdb.mi/mi-solib.exp
3958 * gdb.mi/new-ui-mi-sync.exp
3959 * gdb.mi/pr11022.exp
3960 * gdb.mi/user-selected-context-sync.exp
3961 * gdb.opt/solib-intra-step.exp
3962 * gdb.python/py-events.exp
3963 * gdb.python/py-finish-breakpoint.exp
3964 * gdb.python/py-mi.exp
3965 * gdb.python/py-prettyprint.exp
3966 * gdb.python/py-shared.exp
3967 * gdb.python/py-symbol.exp
3968 * gdb.python/py-template.exp
3969 * gdb.python/py-type.exp
3970 * gdb.python/py-value.exp
3971 * gdb.reverse/solib-precsave.exp
3972 * gdb.reverse/solib-reverse.exp
3973 * gdb.server/solib-list.exp
3974 * gdb.stabs/weird.exp
3975 * gdb.threads/reconnect-signal.exp
3976 * gdb.threads/stepi-random-signal.exp
3977 * gdb.trace/actions.exp
3978 * gdb.trace/ax.exp
3979 * gdb.trace/backtrace.exp
3980 * gdb.trace/change-loc.exp
3981 * gdb.trace/deltrace.exp
3982 * gdb.trace/ftrace-lock.exp
3983 * gdb.trace/ftrace.exp
3984 * gdb.trace/infotrace.exp
3985 * gdb.trace/mi-tracepoint-changed.exp
3986 * gdb.trace/packetlen.exp
3987 * gdb.trace/passcount.exp
3988 * gdb.trace/pending.exp
3989 * gdb.trace/range-stepping.exp
3990 * gdb.trace/report.exp
3991 * gdb.trace/stap-trace.exp
3992 * gdb.trace/tfind.exp
3993 * gdb.trace/trace-break.exp
3994 * gdb.trace/trace-condition.exp
3995 * gdb.trace/trace-enable-disable.exp
3996 * gdb.trace/trace-mt.exp
3997 * gdb.trace/tracecmd.exp
3998 * gdb.trace/tspeed.exp
3999 * gdb.trace/tsv.exp
4000 * lib/perftest.exp
4001
4002 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4003
4004 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
4005 with gdb_test_no_output.
4006 Use command as test name.
4007
4008 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4009
4010 Fix test names starting with uppercase throughout the files.
4011
4012 * gdb.ada/assign_1.exp
4013 * gdb.ada/boolean_expr.exp
4014 * gdb.base/arrayidx.exp
4015 * gdb.base/del.exp
4016 * gdb.base/gcore-buffer-overflow.exp
4017 * gdb.base/testenv.exp
4018 * gdb.compile/compile.exp
4019 * gdb.python/py-framefilter-invalidarg.exp
4020 * gdb.python/py-framefilter.exp
4021
4022 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4023
4024 Fix test names starting with uppercase throughout the files.
4025
4026 * gdb.ada/array_return.exp
4027 * gdb.ada/expr_delims.exp
4028 * gdb.ada/mi_dyn_arr.exp
4029 * gdb.ada/mi_interface.exp
4030 * gdb.ada/mi_var_array.exp
4031 * gdb.ada/watch_arg.exp
4032 * gdb.arch/alpha-step.exp
4033 * gdb.arch/altivec-regs.exp
4034 * gdb.arch/e500-regs.exp
4035 * gdb.arch/powerpc-d128-regs.exp
4036 * gdb.base/arrayidx.exp
4037 * gdb.base/break.exp
4038 * gdb.base/checkpoint.exp
4039 * gdb.base/debug-expr.exp
4040 * gdb.base/dmsym.exp
4041 * gdb.base/radix.exp
4042 * gdb.base/sepdebug.exp
4043 * gdb.base/testenv.exp
4044 * gdb.base/watch_thread_num.exp
4045 * gdb.base/watchpoint-cond-gone.exp
4046 * gdb.cell/break.exp
4047 * gdb.cell/ea-cache.exp
4048 * gdb.compile/compile.exp
4049 * gdb.cp/gdb2495.exp
4050 * gdb.gdb/selftest.exp
4051 * gdb.gdb/xfullpath.exp
4052 * gdb.go/hello.exp
4053 * gdb.go/integers.exp
4054 * gdb.objc/basicclass.exp
4055 * gdb.pascal/hello.exp
4056 * gdb.pascal/integers.exp
4057 * gdb.python/py-breakpoint.exp
4058 * gdb.python/py-cmd.exp
4059 * gdb.python/py-linetable.exp
4060 * gdb.python/py-xmethods.exp
4061 * gdb.python/python.exp
4062 * gdb.reverse/consecutive-precsave.exp
4063 * gdb.reverse/finish-precsave.exp
4064 * gdb.reverse/i386-precsave.exp
4065 * gdb.reverse/machinestate-precsave.exp
4066 * gdb.reverse/sigall-precsave.exp
4067 * gdb.reverse/solib-precsave.exp
4068 * gdb.reverse/step-precsave.exp
4069 * gdb.reverse/until-precsave.exp
4070 * gdb.reverse/watch-precsave.exp
4071 * gdb.threads/leader-exit.exp
4072 * gdb.threads/pthreads.exp
4073 * gdb.threads/wp-replication.exp
4074 * gdb.trace/actions.exp
4075 * gdb.trace/mi-tsv-changed.exp
4076 * gdb.trace/tsv.exp
4077
4078 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4079
4080 Fix test names starting with uppercase throughout the files.
4081
4082 * gdb.arch/i386-bp_permanent.exp
4083 * gdb.arch/i386-gnu-cfi.exp
4084 * gdb.base/disasm-end-cu.exp
4085 * gdb.base/macscp.exp
4086 * gdb.base/pending.exp
4087 * gdb.base/watch_thread_num.exp
4088 * gdb.cp/exception.exp
4089 * gdb.cp/gdb2495.exp
4090 * gdb.cp/local.exp
4091 * gdb.python/py-evsignal.exp
4092 * gdb.python/python.exp
4093 * gdb.trace/tracecmd.exp
4094
4095 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4096
4097 Fix test names starting with uppercase throughout the files.
4098
4099 * gdb.base/charset.exp
4100 * gdb.base/eval.exp
4101 * gdb.base/multi-forks.exp
4102 * gdb.guile/scm-progspace.exp
4103 * gdb.opencl/datatypes.exp
4104 * gdb.python/py-block.exp
4105 * gdb.python/py-function.exp
4106 * gdb.python/py-symbol.exp
4107 * gdb.python/py-symtab.exp
4108 * gdb.python/py-xmethods.exp
4109 * gdb.reverse/break-precsave.exp
4110 * gdb.reverse/break-reverse.exp
4111 * gdb.reverse/consecutive-precsave.exp
4112 * gdb.reverse/consecutive-reverse.exp
4113 * gdb.reverse/finish-precsave.exp
4114 * gdb.reverse/finish-reverse-bkpt.exp
4115 * gdb.reverse/finish-reverse.exp
4116 * gdb.reverse/fstatat-reverse.exp
4117 * gdb.reverse/getresuid-reverse.exp
4118 * gdb.reverse/i386-precsave.exp
4119 * gdb.reverse/i386-reverse.exp
4120 * gdb.reverse/i386-sse-reverse.exp
4121 * gdb.reverse/i387-stack-reverse.exp
4122 * gdb.reverse/insn-reverse.exp
4123 * gdb.reverse/machinestate-precsave.exp
4124 * gdb.reverse/machinestate.exp
4125 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4126 * gdb.reverse/pipe-reverse.exp
4127 * gdb.reverse/readv-reverse.exp
4128 * gdb.reverse/recvmsg-reverse.exp
4129 * gdb.reverse/rerun-prec.exp
4130 * gdb.reverse/s390-mvcle.exp
4131 * gdb.reverse/sigall-precsave.exp
4132 * gdb.reverse/sigall-reverse.exp
4133 * gdb.reverse/solib-precsave.exp
4134 * gdb.reverse/solib-reverse.exp
4135 * gdb.reverse/step-precsave.exp
4136 * gdb.reverse/step-reverse.exp
4137 * gdb.reverse/time-reverse.exp
4138 * gdb.reverse/until-precsave.exp
4139 * gdb.reverse/until-reverse.exp
4140 * gdb.reverse/waitpid-reverse.exp
4141 * gdb.reverse/watch-precsave.exp
4142 * gdb.reverse/watch-reverse.exp
4143
4144 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4145
4146 Fix test names starting with uppercase throughout the files.
4147
4148 * gdb.arch/i386-mpx-simple_segv.exp
4149 * gdb.arch/i386-mpx.exp
4150 * gdb.arch/i386-permbkpt.exp
4151 * gdb.arch/pa-nullify.exp
4152 * gdb.arch/powerpc-d128-regs.exp
4153 * gdb.arch/vsx-regs.exp
4154 * gdb.base/bfp-test.exp
4155 * gdb.base/break.exp
4156 * gdb.base/breakpoint-shadow.exp
4157 * gdb.base/callfuncs.exp
4158 * gdb.base/charset.exp
4159 * gdb.base/commands.exp
4160 * gdb.base/completion.exp
4161 * gdb.base/dfp-test.exp
4162 * gdb.base/echo.exp
4163 * gdb.base/ending-run.exp
4164 * gdb.base/eval.exp
4165 * gdb.base/expand-psymtabs.exp
4166 * gdb.base/float128.exp
4167 * gdb.base/floatn.exp
4168 * gdb.base/foll-exec-mode.exp
4169 * gdb.base/gdb1056.exp
4170 * gdb.base/gdb11531.exp
4171 * gdb.base/kill-after-signal.exp
4172 * gdb.base/multi-forks.exp
4173 * gdb.base/overlays.exp
4174 * gdb.base/pending.exp
4175 * gdb.base/sepdebug.exp
4176 * gdb.base/testenv.exp
4177 * gdb.base/valgrind-db-attach.exp
4178 * gdb.base/watch_thread_num.exp
4179 * gdb.base/watchpoint-cond-gone.exp
4180 * gdb.base/watchpoint.exp
4181 * gdb.base/watchpoints.exp
4182 * gdb.cp/arg-reference.exp
4183 * gdb.cp/baseenum.exp
4184 * gdb.cp/operator.exp
4185 * gdb.cp/shadow.exp
4186 * gdb.dwarf2/dw2-op-out-param.exp
4187 * gdb.dwarf2/dw2-reg-undefined.exp
4188 * gdb.go/chan.exp
4189 * gdb.go/hello.exp
4190 * gdb.go/integers.exp
4191 * gdb.go/methods.exp
4192 * gdb.go/package.exp
4193 * gdb.guile/scm-parameter.exp
4194 * gdb.guile/scm-progspace.exp
4195 * gdb.guile/scm-value.exp
4196 * gdb.mi/mi-pending.exp
4197 * gdb.mi/user-selected-context-sync.exp
4198 * gdb.multi/multi-attach.exp
4199 * gdb.multi/tids.exp
4200 * gdb.opt/clobbered-registers-O2.exp
4201 * gdb.pascal/floats.exp
4202 * gdb.pascal/integers.exp
4203 * gdb.python/py-block.exp
4204 * gdb.python/py-events.exp
4205 * gdb.python/py-parameter.exp
4206 * gdb.python/py-symbol.exp
4207 * gdb.python/py-symtab.exp
4208 * gdb.python/py-type.exp
4209 * gdb.python/py-value.exp
4210 * gdb.python/py-xmethods.exp
4211 * gdb.python/python.exp
4212 * gdb.reverse/break-precsave.exp
4213 * gdb.reverse/consecutive-precsave.exp
4214 * gdb.reverse/finish-precsave.exp
4215 * gdb.reverse/i386-precsave.exp
4216 * gdb.reverse/machinestate-precsave.exp
4217 * gdb.reverse/sigall-precsave.exp
4218 * gdb.reverse/solib-precsave.exp
4219 * gdb.reverse/step-precsave.exp
4220 * gdb.reverse/until-precsave.exp
4221 * gdb.reverse/watch-precsave.exp
4222 * gdb.server/ext-attach.exp
4223 * gdb.server/ext-restart.exp
4224 * gdb.server/ext-run.exp
4225 * gdb.server/ext-wrapper.exp
4226 * gdb.stabs/gdb11479.exp
4227 * gdb.stabs/weird.exp
4228 * gdb.threads/attach-many-short-lived-threads.exp
4229 * gdb.threads/kill.exp
4230 * gdb.threads/watchpoint-fork.exp
4231
4232 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4233
4234 Fix test names starting with uppercase throughout all the files below.
4235
4236 * gdb.ada/array_return.exp
4237 * gdb.ada/catch_ex.exp
4238 * gdb.ada/info_exc.exp
4239 * gdb.ada/mi_catch_ex.exp
4240 * gdb.ada/mi_dyn_arr.exp
4241 * gdb.ada/mi_ex_cond.exp
4242 * gdb.ada/mi_exc_info.exp
4243 * gdb.ada/mi_interface.exp
4244 * gdb.ada/mi_task_arg.exp
4245 * gdb.ada/mi_task_info.exp
4246 * gdb.ada/mi_var_array.exp
4247 * gdb.arch/alpha-step.exp
4248 * gdb.arch/amd64-disp-step.exp
4249 * gdb.arch/arm-disp-step.exp
4250 * gdb.arch/disp-step-insn-reloc.exp
4251 * gdb.arch/e500-prologue.exp
4252 * gdb.arch/ftrace-insn-reloc.exp
4253 * gdb.arch/gdb1558.exp
4254 * gdb.arch/i386-bp_permanent.exp
4255 * gdb.arch/i386-disp-step.exp
4256 * gdb.arch/i386-float.exp
4257 * gdb.arch/i386-gnu-cfi.exp
4258 * gdb.arch/ia64-breakpoint-shadow.exp
4259 * gdb.arch/mips16-thunks.exp
4260 * gdb.arch/pa-nullify.exp
4261 * gdb.arch/powerpc-aix-prologue.exp
4262 * gdb.arch/powerpc-power.exp
4263 * gdb.arch/ppc-dfp.exp
4264 * gdb.arch/s390-tdbregs.exp
4265 * gdb.arch/spu-info.exp
4266 * gdb.arch/spu-ls.exp
4267 * gdb.arch/thumb-bx-pc.exp
4268 * gdb.base/advance.exp
4269 * gdb.base/annota-input-while-running.exp
4270 * gdb.base/arrayidx.exp
4271 * gdb.base/asmlabel.exp
4272 * gdb.base/async.exp
4273 * gdb.base/attach-wait-input.exp
4274 * gdb.base/auto-connect-native-target.exp
4275 * gdb.base/batch-preserve-term-settings.exp
4276 * gdb.base/bfp-test.exp
4277 * gdb.base/bigcore.exp
4278 * gdb.base/bp-permanent.exp
4279 * gdb.base/break-always.exp
4280 * gdb.base/break-fun-addr.exp
4281 * gdb.base/break-idempotent.exp
4282 * gdb.base/break-main-file-remove-fail.exp
4283 * gdb.base/break-probes.exp
4284 * gdb.base/break-unload-file.exp
4285 * gdb.base/break.exp
4286 * gdb.base/call-ar-st.exp
4287 * gdb.base/call-rt-st.exp
4288 * gdb.base/call-sc.exp
4289 * gdb.base/call-signal-resume.exp
4290 * gdb.base/call-strs.exp
4291 * gdb.base/callexit.exp
4292 * gdb.base/callfuncs.exp
4293 * gdb.base/catch-gdb-caused-signals.exp
4294 * gdb.base/catch-signal-siginfo-cond.exp
4295 * gdb.base/catch-syscall.exp
4296 * gdb.base/compare-sections.exp
4297 * gdb.base/cond-eval-mode.exp
4298 * gdb.base/condbreak-call-false.exp
4299 * gdb.base/consecutive-step-over.exp
4300 * gdb.base/cursal.exp
4301 * gdb.base/disabled-location.exp
4302 * gdb.base/disasm-end-cu.exp
4303 * gdb.base/display.exp
4304 * gdb.base/double-prompt-target-event-error.exp
4305 * gdb.base/dprintf-bp-same-addr.exp
4306 * gdb.base/dprintf-detach.exp
4307 * gdb.base/dprintf-next.exp
4308 * gdb.base/dprintf-non-stop.exp
4309 * gdb.base/dprintf-pending.exp
4310 * gdb.base/dso2dso.exp
4311 * gdb.base/ending-run.exp
4312 * gdb.base/enum_cond.exp
4313 * gdb.base/examine-backward.exp
4314 * gdb.base/exe-lock.exp
4315 * gdb.base/exec-invalid-sysroot.exp
4316 * gdb.base/execl-update-breakpoints.exp
4317 * gdb.base/execution-termios.exp
4318 * gdb.base/fileio.exp
4319 * gdb.base/fixsection.exp
4320 * gdb.base/foll-exec-mode.exp
4321 * gdb.base/foll-exec.exp
4322 * gdb.base/fork-running-state.exp
4323 * gdb.base/frame-args.exp
4324 * gdb.base/fullpath-expand.exp
4325 * gdb.base/func-ptr.exp
4326 * gdb.base/gcore-relro-pie.exp
4327 * gdb.base/gdb1090.exp
4328 * gdb.base/gdb1555.exp
4329 * gdb.base/global-var-nested-by-dso.exp
4330 * gdb.base/gnu-ifunc.exp
4331 * gdb.base/hbreak-in-shr-unsupported.exp
4332 * gdb.base/hbreak-unmapped.exp
4333 * gdb.base/hook-stop.exp
4334 * gdb.base/infcall-input.exp
4335 * gdb.base/info-fun.exp
4336 * gdb.base/info-shared.exp
4337 * gdb.base/interrupt-noterm.exp
4338 * gdb.base/jit-so.exp
4339 * gdb.base/jit.exp
4340 * gdb.base/line-symtabs.exp
4341 * gdb.base/list.exp
4342 * gdb.base/longjmp.exp
4343 * gdb.base/macscp.exp
4344 * gdb.base/max-value-size.exp
4345 * gdb.base/nodebug.exp
4346 * gdb.base/nofield.exp
4347 * gdb.base/overlays.exp
4348 * gdb.base/paginate-after-ctrl-c-running.exp
4349 * gdb.base/paginate-bg-execution.exp
4350 * gdb.base/paginate-inferior-exit.exp
4351 * gdb.base/pending.exp
4352 * gdb.base/pr11022.exp
4353 * gdb.base/printcmds.exp
4354 * gdb.base/ptr-typedef.exp
4355 * gdb.base/ptype.exp
4356 * gdb.base/randomize.exp
4357 * gdb.base/range-stepping.exp
4358 * gdb.base/realname-expand.exp
4359 * gdb.base/relativedebug.exp
4360 * gdb.base/remote.exp
4361 * gdb.base/savedregs.exp
4362 * gdb.base/sepdebug.exp
4363 * gdb.base/set-noassign.exp
4364 * gdb.base/shlib-call.exp
4365 * gdb.base/shreloc.exp
4366 * gdb.base/sigaltstack.exp
4367 * gdb.base/sigbpt.exp
4368 * gdb.base/siginfo-addr.exp
4369 * gdb.base/siginfo-obj.exp
4370 * gdb.base/siginfo-thread.exp
4371 * gdb.base/signest.exp
4372 * gdb.base/signull.exp
4373 * gdb.base/sigrepeat.exp
4374 * gdb.base/skip.exp
4375 * gdb.base/so-impl-ld.exp
4376 * gdb.base/solib-corrupted.exp
4377 * gdb.base/solib-disc.exp
4378 * gdb.base/solib-display.exp
4379 * gdb.base/solib-overlap.exp
4380 * gdb.base/solib-search.exp
4381 * gdb.base/solib-symbol.exp
4382 * gdb.base/source-execution.exp
4383 * gdb.base/sss-bp-on-user-bp-2.exp
4384 * gdb.base/sss-bp-on-user-bp.exp
4385 * gdb.base/stack-checking.exp
4386 * gdb.base/stale-infcall.exp
4387 * gdb.base/step-break.exp
4388 * gdb.base/step-line.exp
4389 * gdb.base/step-over-exit.exp
4390 * gdb.base/step-test.exp
4391 * gdb.base/structs.exp
4392 * gdb.base/sym-file.exp
4393 * gdb.base/symtab-search-order.exp
4394 * gdb.base/term.exp
4395 * gdb.base/type-opaque.exp
4396 * gdb.base/unload.exp
4397 * gdb.base/until-nodebug.exp
4398 * gdb.base/until.exp
4399 * gdb.base/unwindonsignal.exp
4400 * gdb.base/watch-cond.exp
4401 * gdb.base/watch-non-mem.exp
4402 * gdb.base/watch_thread_num.exp
4403 * gdb.base/watchpoint-reuse-slot.exp
4404 * gdb.base/watchpoint-solib.exp
4405 * gdb.base/watchpoint.exp
4406 * gdb.btrace/dlopen.exp
4407 * gdb.cell/arch.exp
4408 * gdb.cell/break.exp
4409 * gdb.cell/bt.exp
4410 * gdb.cell/core.exp
4411 * gdb.cell/data.exp
4412 * gdb.cell/dwarfaddr.exp
4413 * gdb.cell/ea-cache.exp
4414 * gdb.cell/ea-standalone.exp
4415 * gdb.cell/ea-test.exp
4416 * gdb.cell/f-regs.exp
4417 * gdb.cell/fork.exp
4418 * gdb.cell/gcore.exp
4419 * gdb.cell/mem-access.exp
4420 * gdb.cell/ptype.exp
4421 * gdb.cell/registers.exp
4422 * gdb.cell/sizeof.exp
4423 * gdb.cell/solib-symbol.exp
4424 * gdb.cell/solib.exp
4425 * gdb.compile/compile-tls.exp
4426 * gdb.cp/exception.exp
4427 * gdb.cp/gdb2495.exp
4428 * gdb.cp/local.exp
4429 * gdb.cp/mb-inline.exp
4430 * gdb.cp/mb-templates.exp
4431 * gdb.cp/pr10687.exp
4432 * gdb.cp/pr9167.exp
4433 * gdb.cp/scope-err.exp
4434 * gdb.cp/templates.exp
4435 * gdb.cp/virtfunc.exp
4436 * gdb.dwarf2/dw2-dir-file-name.exp
4437 * gdb.dwarf2/dw2-single-line-discriminators.exp
4438 * gdb.fortran/complex.exp
4439 * gdb.fortran/library-module.exp
4440 * gdb.guile/guile.exp
4441 * gdb.guile/scm-cmd.exp
4442 * gdb.guile/scm-frame-inline.exp
4443 * gdb.guile/scm-objfile.exp
4444 * gdb.guile/scm-pretty-print.exp
4445 * gdb.guile/scm-symbol.exp
4446 * gdb.guile/scm-type.exp
4447 * gdb.guile/scm-value.exp
4448 * gdb.linespec/keywords.exp
4449 * gdb.linespec/ls-errs.exp
4450 * gdb.linespec/macro-relative.exp
4451 * gdb.linespec/thread.exp
4452 * gdb.mi/mi-breakpoint-changed.exp
4453 * gdb.mi/mi-dprintf-pending.exp
4454 * gdb.mi/mi-fullname-deleted.exp
4455 * gdb.mi/mi-logging.exp
4456 * gdb.mi/mi-pending.exp
4457 * gdb.mi/mi-solib.exp
4458 * gdb.mi/new-ui-mi-sync.exp
4459 * gdb.mi/user-selected-context-sync.exp
4460 * gdb.multi/dummy-frame-restore.exp
4461 * gdb.multi/multi-arch-exec.exp
4462 * gdb.multi/remove-inferiors.exp
4463 * gdb.multi/watchpoint-multi-exit.exp
4464 * gdb.opt/solib-intra-step.exp
4465 * gdb.perf/backtrace.exp
4466 * gdb.perf/single-step.exp
4467 * gdb.perf/skip-command.exp
4468 * gdb.perf/skip-prologue.exp
4469 * gdb.perf/solib.exp
4470 * gdb.python/lib-types.exp
4471 * gdb.python/py-as-string.exp
4472 * gdb.python/py-bad-printers.exp
4473 * gdb.python/py-block.exp
4474 * gdb.python/py-breakpoint.exp
4475 * gdb.python/py-cmd.exp
4476 * gdb.python/py-events.exp
4477 * gdb.python/py-evthreads.exp
4478 * gdb.python/py-finish-breakpoint.exp
4479 * gdb.python/py-finish-breakpoint2.exp
4480 * gdb.python/py-frame-inline.exp
4481 * gdb.python/py-frame.exp
4482 * gdb.python/py-inferior.exp
4483 * gdb.python/py-infthread.exp
4484 * gdb.python/py-mi.exp
4485 * gdb.python/py-objfile.exp
4486 * gdb.python/py-pp-maint.exp
4487 * gdb.python/py-pp-registration.exp
4488 * gdb.python/py-prettyprint.exp
4489 * gdb.python/py-recurse-unwind.exp
4490 * gdb.python/py-shared.exp
4491 * gdb.python/py-symbol.exp
4492 * gdb.python/py-symtab.exp
4493 * gdb.python/py-template.exp
4494 * gdb.python/py-type.exp
4495 * gdb.python/py-unwind-maint.exp
4496 * gdb.python/py-unwind.exp
4497 * gdb.python/py-value.exp
4498 * gdb.python/python.exp
4499 * gdb.reverse/finish-reverse-bkpt.exp
4500 * gdb.reverse/insn-reverse.exp
4501 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4502 * gdb.reverse/solib-precsave.exp
4503 * gdb.reverse/solib-reverse.exp
4504 * gdb.stabs/gdb11479.exp
4505 * gdb.stabs/weird.exp
4506 * gdb.threads/fork-child-threads.exp
4507 * gdb.threads/fork-plus-threads.exp
4508 * gdb.threads/fork-thread-pending.exp
4509 * gdb.threads/forking-threads-plus-breakpoint.exp
4510 * gdb.threads/hand-call-in-threads.exp
4511 * gdb.threads/interrupted-hand-call.exp
4512 * gdb.threads/linux-dp.exp
4513 * gdb.threads/local-watch-wrong-thread.exp
4514 * gdb.threads/next-while-other-thread-longjmps.exp
4515 * gdb.threads/non-ldr-exit.exp
4516 * gdb.threads/pending-step.exp
4517 * gdb.threads/print-threads.exp
4518 * gdb.threads/process-dies-while-detaching.exp
4519 * gdb.threads/process-dies-while-handling-bp.exp
4520 * gdb.threads/pthreads.exp
4521 * gdb.threads/queue-signal.exp
4522 * gdb.threads/reconnect-signal.exp
4523 * gdb.threads/signal-command-handle-nopass.exp
4524 * gdb.threads/signal-command-multiple-signals-pending.exp
4525 * gdb.threads/signal-delivered-right-thread.exp
4526 * gdb.threads/signal-sigtrap.exp
4527 * gdb.threads/sigthread.exp
4528 * gdb.threads/staticthreads.exp
4529 * gdb.threads/stepi-random-signal.exp
4530 * gdb.threads/thread-unwindonsignal.exp
4531 * gdb.threads/thread_check.exp
4532 * gdb.threads/thread_events.exp
4533 * gdb.threads/tid-reuse.exp
4534 * gdb.threads/tls-nodebug.exp
4535 * gdb.threads/tls-shared.exp
4536 * gdb.threads/tls-so_extern.exp
4537 * gdb.threads/tls.exp
4538 * gdb.threads/wp-replication.exp
4539 * gdb.trace/actions-changed.exp
4540 * gdb.trace/actions.exp
4541 * gdb.trace/backtrace.exp
4542 * gdb.trace/change-loc.exp
4543 * gdb.trace/collection.exp
4544 * gdb.trace/deltrace.exp
4545 * gdb.trace/disconnected-tracing.exp
4546 * gdb.trace/entry-values.exp
4547 * gdb.trace/ftrace-lock.exp
4548 * gdb.trace/ftrace.exp
4549 * gdb.trace/infotrace.exp
4550 * gdb.trace/mi-trace-frame-collected.exp
4551 * gdb.trace/mi-trace-unavailable.exp
4552 * gdb.trace/mi-traceframe-changed.exp
4553 * gdb.trace/mi-tracepoint-changed.exp
4554 * gdb.trace/mi-tsv-changed.exp
4555 * gdb.trace/no-attach-trace.exp
4556 * gdb.trace/packetlen.exp
4557 * gdb.trace/passc-dyn.exp
4558 * gdb.trace/passcount.exp
4559 * gdb.trace/pending.exp
4560 * gdb.trace/pr16508.exp
4561 * gdb.trace/qtro.exp
4562 * gdb.trace/range-stepping.exp
4563 * gdb.trace/read-memory.exp
4564 * gdb.trace/report.exp
4565 * gdb.trace/save-trace.exp
4566 * gdb.trace/signal.exp
4567 * gdb.trace/stap-trace.exp
4568 * gdb.trace/status-stop.exp
4569 * gdb.trace/strace.exp
4570 * gdb.trace/tfile.exp
4571 * gdb.trace/tfind.exp
4572 * gdb.trace/trace-break.exp
4573 * gdb.trace/trace-condition.exp
4574 * gdb.trace/trace-enable-disable.exp
4575 * gdb.trace/trace-mt.exp
4576 * gdb.trace/tracecmd.exp
4577 * gdb.trace/tracefile-pseudo-reg.exp
4578 * gdb.trace/tspeed.exp
4579 * gdb.trace/tstatus.exp
4580 * gdb.trace/tsv.exp
4581 * gdb.trace/unavailable.exp
4582 * gdb.trace/while-dyn.exp
4583 * gdb.trace/while-stepping.exp
4584 * lib/gdb-guile.exp
4585 * lib/gdb.exp
4586 * lib/mi-support.exp
4587 * lib/pascal.exp
4588 * lib/perftest.exp
4589 * lib/prelink-support.exp
4590 * lib/selftest-support.exp
4591
4592 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4593
4594 * Makefile.in: Include disable-implicit-rules.mk.
4595
4596 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4597
4598 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4599 non-byte-aligned bit fields.
4600
4601 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4602
4603 PR gdb/12616
4604 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4605 respects the DW_AT_data_bit_offset attribute.
4606
4607 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4608
4609 * gdb.base/default.exp: Fix output of "set language".
4610
4611 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4612
4613 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4614 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4615 make.
4616 * configure.ac: Remove checks for the make program.
4617 * configure: Re-generate.
4618
4619 2016-11-16 Kevin Buettner <kevinb@redhat.com>
4620
4621 * gdb.python/py-recurse-unwind.c (main): Add loop.
4622 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4623 to read_register() and gdb.parse_and_eval(). Make each code
4624 call a separate case that can be individually tested.
4625 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4626 proc. Call cont_and_backtrace for each of the code paths that
4627 we want to test in the unwinder.
4628
4629 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4630
4631 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4632 the definition of struct S.
4633
4634 2016-11-11 Catherine Moore <clm@codesourcery.com>
4635
4636 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4637
4638 2016-11-09 Pedro Alves <palves@redhat.com>
4639
4640 * gdb.base/commands.exp (runto_or_return): New procedure.
4641 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4642 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4643 (progvar_simple_while_test, progvar_complex_if_while_test)
4644 (if_while_breakpoint_command_test)
4645 (infrun_breakpoint_command_test, breakpoint_command_test)
4646 (user_defined_command_test, watchpoint_command_test)
4647 (test_command_prompt_position, redefine_hook_test)
4648 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4649 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4650 multi_line_input and multi_line. Remove gdb_expect and
4651 gdb_stop_suppressing_tests uses.
4652 * lib/gdb.exp (valnum_re): New global.
4653 (multi_line_input): New procedure.
4654
4655 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4656
4657 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4658 Remove.
4659 (test_setup): Define with proc_with_prefix.
4660 (test_cli_inferior): Likewise.
4661 (test_cli_thread): Likewise.
4662 (test_cli_frame): Likewise.
4663 (test_cli_select_frame): Likewise.
4664 (test_cli_up_down): Likewise.
4665 (test_mi_thread_select): Likewise.
4666 (test_mi_stack_select_frame): Likewise.
4667 (test_cli_in_mi_inferior): Likewise.
4668 (test_cli_in_mi_thread): Likewise.
4669 (test_cli_in_mi_frame): Likewise.
4670 (top level): Do not use with_test_prefix_procname.
4671
4672 2016-11-09 Pedro Alves <palves@redhat.com>
4673
4674 * gdb.base/commands.exp (gdbvar_simple_if_test)
4675 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4676 (progvar_simple_if_test, progvar_simple_while_test)
4677 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4678 (infrun_breakpoint_command_test, breakpoint_command_test)
4679 (user_defined_command_test, watchpoint_command_test)
4680 (test_command_prompt_position, deprecated_command_test)
4681 (bp_deleted_in_command, temporary_breakpoint_commands)
4682 (stray_arg0_test, source_file_with_indented_comment)
4683 (recursive_source_test, if_commands_test)
4684 (error_clears_commands_left, redefine_hook_test)
4685 (redefine_backtrace_test): Use proc_with_prefix.
4686 * lib/gdb.exp (proc_with_prefix): New proc.
4687
4688 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4689
4690 * gdb.base/tui-layout.c: New file.
4691 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4692 disassembly window contains very long lines.
4693
4694 2016-11-08 Tom Tromey <tom@tromey.com>
4695
4696 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4697 depend on Python 2.
4698
4699 2016-11-08 Tom Tromey <tom@tromey.com>
4700
4701 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4702 New method.
4703
4704 2016-10-29 Manish Goregaokar <manish@mozilla.com>
4705
4706 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
4707
4708 2016-10-27 Manish Goregaokar <manish@mozilla.com>
4709
4710 * gdb.rust/simple.rs: Add test for univariant enums without
4711 discriminants and for encoded struct-like enums.
4712
4713 2016-10-28 Pedro Alves <palves@redhat.com>
4714
4715 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4716 gdb_test_multiple, tighten regexps and match symtabs and line
4717 tables incrementally.
4718
4719 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
4720
4721 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4722 general.
4723
4724 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
4725
4726 * gdb.base/exec-invalid-sysroot.exp: New file.
4727
4728 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4729
4730 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4731
4732 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4733
4734 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4735
4736 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4737
4738 * gdb.base/killed-outside.exp: Remove $options from a call to
4739 `prepare_for_testing'.
4740
4741 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4742
4743 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4744 Change test message.
4745
4746 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4747
4748 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4749 Update comment.
4750
4751 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4752
4753 * gdb.trace/mi-trace-save.exp: New file.
4754
4755 2016-10-13 Yao Qi <yao.qi@linaro.org>
4756
4757 * gdb.base/code_elim.exp (get_var_address): Remove.
4758 * gdb.base/relocate.exp: Likewise.
4759 * gdb.base/shreloc.exp: Likewise.
4760 * lib/gdb.exp (get_var_address): New.
4761
4762 2016-10-13 Yao Qi <yao.qi@linaro.org>
4763
4764 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4765 floating point tests if $skip_float_test is false.
4766
4767 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4768
4769 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4770 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4771 argc values.
4772 Add 1 to argc so we guarantee distinct initial/modified argc values.
4773
4774 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4775
4776 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4777
4778 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4779
4780 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4781 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4782 * gdb.arch/vsx-regs.exp: Likewise.
4783
4784 2016-10-07 Yao Qi <yao.qi@linaro.org>
4785
4786 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4787
4788 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4789
4790 * gdb.python/python.exp: Test decode_line("*0").
4791
4792 2016-10-06 Doug Evans <dje@google.com>
4793
4794 * gdb.python/py-value.exp (test_value_creation): Add test for large
4795 unsigned 64-bit value.
4796
4797 2016-10-06 Tom Tromey <tom@tromey.com>
4798
4799 * gdb.compile/compile.exp: Change java tests to rust.
4800 * gdb.base/setshow.exp: Change java tests to rust.
4801 * gdb.base/default.exp: Remove java from language list.
4802 * README (Examples): Update language example.
4803 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4804 test.
4805 * lib/gdb.exp (skip_java_tests): Remove.
4806 * lib/java.exp: Remove.
4807 * gdb.java: Remove.
4808
4809 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4810
4811 * gdb.arch/mips-fcr.exp: New test.
4812 * gdb.arch/mips-fcr.c: Source for the new test.
4813
4814 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4815
4816 * gdb.base/solib-disc.exp: Use `standard_output_file'
4817 throughout.
4818
4819 2016-10-06 Pedro Alves <palves@redhat.com>
4820
4821 * gdb.base/jit-simple-dl.c: New file.
4822 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4823 * gdb.base/jit-simple.c: ... this.
4824 * gdb.base/jit-simple.exp (jit_run): Delete.
4825 (build_jit): New proc.
4826 (jit_test_reread): Recompile either the main program or the shared
4827 library, depending on what is being tested. Skip changing address
4828 if caller wants to. Compare before/after addresses. If testing
4829 standalone, explicitly load the binary. Test "maint info
4830 breakpoints".
4831 (top level): Add "standalone vs shared lib" and "change address"
4832 vs "same address" axes.
4833
4834 2016-10-06 Pedro Alves <palves@redhat.com>
4835
4836 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4837 call.
4838 (jit_run): Delete.
4839 (jit_test_reread): Use with_test_prefix. Reload the main binary
4840 explicitly. Compare the before/after addresses of the JIT
4841 descriptor.
4842
4843 2016-08-15 Doug Evans <dje@google.com>
4844
4845 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4846 for single bitfields is bool.
4847 * gdb.xml/tdesc-regs.exp: Ditto.
4848
4849 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4850
4851 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4852
4853 2016-10-05 Yao Qi <yao.qi@linaro.org>
4854
4855 * lib/gdb.exp (support_complex_tests): Return zero if
4856 gdb_skip_float_test return true.
4857
4858 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4859 Simon Marchi <simon.marchi@ericsson.com>
4860
4861 PR gdb/20487
4862 * gdb.mi/user-selected-context-sync.exp: New file.
4863 * gdb.mi/user-selected-context-sync.c: New file.
4864
4865 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4866 Simon Marchi <simon.marchi@ericsson.com>
4867
4868 PR gdb/20487
4869 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4870 =thread-select-event check.
4871
4872 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4873
4874 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4875 the compulsory L operand changes.
4876 * gdb.arch/powerpc-power.s: Likewise.
4877
4878 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4879
4880 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4881 * gdb.base/jit-attach-pie.c: New file.
4882 * gdb.base/jit-attach-pie.exp: New file.
4883
4884 2016-09-28 Pedro Alves <palves@redhat.com>
4885
4886 * gdb.base/infcall-input.c: New file.
4887 * gdb.base/infcall-input.exp: New file.
4888
4889 2016-09-22 Yao Qi <yao.qi@linaro.org>
4890
4891 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4892 (gdb_exit): Rename it to ...
4893 (gdbserver_gdb_exit): ... Close GDBserver.
4894 (gdb_exit): New proc, call gdbserver_gdb_exit.
4895 (mi_gdb_exit): Likewise.
4896
4897 2016-09-22 Yao Qi <yao.qi@linaro.org>
4898
4899 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4900 path.
4901 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4902 Remove duplication.
4903
4904 2016-09-22 Yao Qi <yao.qi@linaro.org>
4905
4906 * lib/gdbserver-support.exp: Check the existence of
4907 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4908
4909 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4910
4911 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4912
4913 2016-09-21 Tom Tromey <tom@tromey.com>
4914
4915 PR gdb/20604:
4916 * gdb.base/quit.exp: New file.
4917
4918 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4919
4920 * .gitignore: New file.
4921
4922 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4923
4924 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4925 throughout.
4926
4927 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4928
4929 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4930
4931 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4932
4933 * gdb.cp/casts.cc (decltype): Move it ...
4934 (main): ... with its call to ...
4935 * gdb.cp/casts03.cc: ... a new file.
4936 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4937
4938 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4939
4940 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4941
4942 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4943
4944 * gdb.arch/powerpc-power.s: Update 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-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4949
4950 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4951
4952 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4953 Jan Kratochvil <jan.kratochvil@redhat.com>
4954
4955 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4956 make m1's definition to be different from m2's. Use 'dummy' as an
4957 argument for probe 'two'.
4958
4959 2016-09-10 Jon Beniston <jon@beniston.com>
4960
4961 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4962 for sim target.
4963
4964 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4965
4966 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4967 variable declaration.
4968 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4969 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4970 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4971 received HWCAP as its argument.
4972
4973 2016-09-06 Pedro Alves <palves@redhat.com>
4974
4975 * gdb.base/new-ui-pending-input.c: New file.
4976 * gdb.base/new-ui-pending-input.exp: New file.
4977 * gdb.exp (clear_gdb_spawn_id): New procedure.
4978 (with_spawn_id): Check whether gdb_spawn_id exists before
4979 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4980 on exit.
4981
4982 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4983
4984 * gdb.base/float128.c: New file.
4985 * gdb.base/float128.exp: Likewise.
4986 * gdb.base/floatn.c: Likewise.
4987 * gdb.base/floatn.exp: Likewise.
4988
4989 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4990
4991 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4992
4993 2016-09-05 Pedro Alves <palves@redhat.com>
4994
4995 PR backtrace/19927
4996 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4997 unwinders are immediately called as side effect of "source" or
4998 "disable unwinder" commands.
4999 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
5000
5001 2016-09-02 Yao Qi <yao.qi@linaro.org>
5002
5003 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
5004 is true and $type is "float" or "double".
5005
5006 2016-09-02 Yao Qi <yao.qi@linaro.org>
5007
5008 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5009 true.
5010 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5011 * gdb.base/call-rt-st.exp: Likewise.
5012 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5013 return value instead of gdb,skip_float_test.
5014 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5015 (do_function_calls): Use its return value instead of
5016 gdb,skip_float_test.
5017 * gdb.base/finish.exp: Likewise.
5018 * gdb.base/funcargs.exp: Likewise.
5019 * gdb.base/return.exp: Likewise.
5020 * gdb.base/return2.exp: Likewise.
5021 * gdb.base/varargs.exp: Likewise.
5022 * lib/gdb.exp (gdb_skip_float_test): Change it to
5023 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5024
5025 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5026
5027 * gdb.multi/tids.exp: Test "thread apply all".
5028
5029 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5030
5031 * gdb.base/default.exp (tty): Remove.
5032
5033 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5034
5035 * gdb.python/py-recurse-unwind.c: New file.
5036 * gdb.python/py-recurse-unwind.py: New file.
5037 * gdb.python/py-recurse-unwind.exp: New file.
5038
5039 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5040
5041 * gdb.base/set-inferior-tty.exp: New file.
5042 * gdb.base/set-inferior-tty.c: New file.
5043
5044 2016-08-23 Pedro Alves <palves@redhat.com>
5045
5046 PR gdb/20494
5047 * gdb.base/new-ui-echo.c: New file.
5048 * gdb.base/new-ui-echo.exp: New file.
5049
5050 2016-08-23 Yao Qi <yao.qi@linaro.org>
5051
5052 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5053 gdbserver_spawn.
5054 * gdb.server/connect-without-multi-process.exp (do_test):
5055 Likewise.
5056
5057 2016-08-23 Yao Qi <yao.qi@linaro.org>
5058
5059 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5060 standalone_txt. Delete gdb_txt and standalone_txt on host
5061 and target. Spawn the binary on target. Copy files from
5062 target to host.
5063
5064 2016-08-22 Pedro Alves <palves@redhat.com>
5065
5066 PR gdb/20505
5067 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5068 with_test_prefix. Factor out bits to ...
5069 (test_no_vdso): ... this new procedure.
5070
5071 2016-08-19 Carl Love <cel@us.ibm.com>
5072
5073 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5074 maintaining separate logic for constructing the output path.
5075 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5076 * gdb.arch/ppc-dfp.exp: Likewise.
5077 * gdb.arch/ppc-fp.exp: Likewise.
5078 * gdb.arch/vsx-regs.exp: Likewise.
5079 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5080 binprefix for generating the additional binary files.
5081
5082 2016-08-19 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.trace/mi-trace-frame-collected.exp
5085 (test_trace_frame_collected): On x32, expect two registers.
5086
5087 2016-08-18 Carl Love <cel@us.ibm.com>
5088
5089 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5090 and sync up the test with tests in gas/testsuite/gas/ppc.
5091 * gdb.arch/powerpc-power.exp: Likewise.
5092
5093 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5094
5095 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5096 expected error message.
5097
5098 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5099
5100 * gdb.multi/remove-inferiors.exp: New file.
5101 * gdb.multi/remove-inferiors.c: New file.
5102
5103 2016-08-12 Yao Qi <yao.qi@linaro.org>
5104
5105 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5106 argument list.
5107
5108 2016-08-10 Pedro Alves <palves@redhat.com>
5109
5110 PR gdb/19187
5111 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5112 setup_kfails.
5113
5114 2016-08-09 Pedro Alves <palves@redhat.com>
5115 Simon Marchi <simon.marchi@ericsson.com>
5116
5117 PR gdb/20418
5118 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5119 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5120
5121 2016-08-09 Pedro Alves <palves@redhat.com>
5122
5123 PR mi/20431
5124 * gdb.mi/mi-cmd-error.exp: New file.
5125
5126 2016-08-09 Pedro Alves <palves@redhat.com>
5127
5128 PR gdb/18653
5129 * gdb.base/signals-state-child.c: New file.
5130 * gdb.base/signals-state-child.exp: New file.
5131 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5132
5133 2016-08-09 Pedro Alves <palves@redhat.com>
5134
5135 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5136
5137 2016-08-03 Tom Tromey <tom@tromey.com>
5138
5139 PR python/18565:
5140 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5141
5142 2016-08-01 Yao Qi <yao.qi@linaro.org>
5143
5144 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5145 variable mode to "multi-process" if $multi_process is 1, otherwise
5146 set it to "single-process".
5147
5148 2016-08-01 Yao Qi <yao.qi@linaro.org>
5149
5150 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5151 * gdb.cp/cpexprs.exp: Likewise.
5152 * gdb.cp/m-static.exp: Likewise.
5153
5154 2016-07-26 Tom Tromey <tom@tromey.com>
5155
5156 PR python/20190:
5157 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5158 test.
5159
5160 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5161
5162 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5163 selecting assembly source files.
5164 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5165 assembly source files.
5166 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5167 assembly source files.
5168 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5169 selecting assembly source files.
5170
5171 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5172
5173 * gdb.base/new-ui.exp (do_test_invalid_args): New
5174 procedure.
5175
5176 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5177
5178 * gdb.btrace/reconnect.c: New file.
5179 * gdb.btrace/reconnect.exp: New file.
5180
5181 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5182
5183 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5184 to test_catch_syscall_group.
5185 (test_catch_syscall_group): New.
5186
5187 2016-07-21 Tom Tromey <tom@tromey.com>
5188
5189 * gdb.rust/simple.rs (main): Use empty struct expression.
5190 * gdb.rust/simple.exp: Add tests for empty struct expression.
5191
5192 2016-07-21 Yao Qi <yao.qi@linaro.org>
5193
5194 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5195 if gdb_skip_xml_test is true on some targets.
5196
5197 2016-07-21 Yao Qi <yao.qi@linaro.org>
5198
5199 * gdb.server/solib-list.exp: Unset last_loaded_file.
5200
5201 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5204 "step into captured_main (args)".
5205
5206 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5207
5208 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5209
5210 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5211
5212 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5213
5214 2016-07-19 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5217 * gdb.opt/inline-bt.exp: Likewise.
5218 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5219 additional_flags=-Winline.
5220 * gdb.opt/inline-locals.exp: Likewise.
5221 * gdb.opt/inline-markers.c (ATTR): Define.
5222 (inlined_fn): Use it.
5223
5224 2016-07-19 Yao Qi <yao.qi@linaro.org>
5225
5226 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5227 (test_with_self): Remove some code. Remove argument executable.
5228 (top-level): Use do_self_tests.
5229
5230 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5231 Don Breazeal <donb@codesourcery.com>
5232
5233 * gdb.base/maint.exp: Escape paths used in regular expressions.
5234 * gdb.stabs/weird.exp: Likewise.
5235
5236 2016-07-13 Tom Tromey <tom@tromey.com>
5237
5238 PR python/15620, PR python/18620:
5239 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5240 (test_bkpt_events): New procs.
5241
5242 2016-07-13 Tom Tromey <tom@tromey.com>
5243
5244 PR python/17698:
5245 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5246 test.
5247 (test_watchpoints): Likewise.
5248 (test_bkpt_pending): New proc.
5249
5250 2016-07-13 Tom Tromey <tom@tromey.com>
5251
5252 PR cli/18053:
5253 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5254 completion test.
5255
5256 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5257
5258 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5259 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5260 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5261 f_label.
5262 (g): Rename g_end_lbl to g_label.
5263 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5264 low_pc and high_pc.
5265 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5266
5267 2016-07-12 Tom Tromey <tom@tromey.com>
5268
5269 PR python/19293:
5270 * gdb.python/py-unwind-maint.exp: Update tests.
5271
5272 2016-07-12 Yao Qi <yao.qi@linaro.org>
5273
5274 * lib/selftest-support.exp (selftest_setup): Match the output
5275 when captured_main is inlined.
5276
5277 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5278
5279 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5280 New variables.
5281 (print this%a, print this%b, print this): New tests.
5282 * gdb.fortran/derived-types.f90 (this): New object and
5283 initialization.
5284
5285 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5286
5287 * gdb.ada/arraydim.exp: Remove extra directory level in build
5288 directory.
5289
5290 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5291
5292 * lib/ada.exp: Remove extra directory level in build directory.
5293 * gdb.ada/cond_lang.exp: Likewise.
5294 * gdb.ada/exec_changed.exp: Likewise.
5295 * gdb.ada/lang_switch.exp: Likewise.
5296
5297 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5298
5299 * simple.rs: Add test for raw pointer subscripting.
5300 * simple.exp: Add test expectations.
5301
5302 2016-07-05 Yao Qi <yao.qi@linaro.org>
5303
5304 * gdb.mi/mi-reverse.exp: Match =record-started output.
5305
5306 2016-07-01 Pedro Alves <palves@redhat.com>
5307
5308 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5309 procedure.
5310 (jit_reader_test): Test the jit reader's unwinder.
5311 * gdb.base/jithost.c (jit_function_00_code): New global.
5312 (main): Use memcpy to fill in the mmapped code, instead of poking
5313 bytes manually here.
5314 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5315 value.
5316 (read_debug_info): Save the function's range.
5317 (read_sp): New function.
5318 (unwind_frame): Use it. Also unwind RBP.
5319 (get_frame_id): Use read_sp.
5320 (gdb_init_reader): Use calloc instead of malloc.
5321 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5322 parameter. Use gdb_test_multiple.
5323
5324 2016-07-01 Pedro Alves <palves@redhat.com>
5325 Antoine Tremblay <antoine.tremblay@ericsson.com>
5326
5327 * gdb.threads/process-dies-while-detaching.c: New file.
5328 * gdb.threads/process-dies-while-detaching.exp: New file.
5329
5330 2016-07-01 Pedro Alves <palves@redhat.com>
5331
5332 * gdb.multi/watchpoint-multi-exit.c: New file.
5333 * gdb.multi/watchpoint-multi-exit.exp: New file.
5334
5335 2016-06-30 Pedro Alves <palves@redhat.com>
5336
5337 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5338 unset inferior_spawn_id.
5339
5340 2016-06-30 Pedro Alves <palves@redhat.com>
5341
5342 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5343 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5344
5345 2016-06-29 Yao Qi <yao.qi@linaro.org>
5346
5347 * gdb.base/return.c: Add copyright header.
5348
5349 2016-06-29 Tom Tromey <tom@tromey.com>
5350
5351 PR python/20129:
5352 * gdb.python/py-framefilter.exp: Add tests for setting priority
5353 and disabling of non-existent frame filter.
5354
5355 2016-06-29 Yao Qi <yao.qi@linaro.org>
5356
5357 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5358 0x0f07ff.
5359
5360 2016-06-28 Yao Qi <yao.qi@linaro.org>
5361
5362 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5363 triplets. Start gdb, execute catch syscall, and continue. Check
5364 gdb's output to determine catch syscall is supported.
5365
5366 2016-06-27 Manish Goregaokar <manish@mozilla.com>
5367
5368 * gdb.rust/simple.rs: Add test for returning unit in a function.
5369 * gdb.rust/simple.exp: Add expectation for functions returning
5370 unit.
5371
5372 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5373
5374 * gdb.python/py-breakpoint-create-fail.c,
5375 gdb.python/py-breakpoint-create-fail.exp,
5376 gdb.python/py-breakpoint-create-fail.py: New testcase.
5377
5378 2016-06-25 Manish Goregaokar <manish@mozilla.com>
5379
5380 PR gdb/20239
5381 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
5382 * gdb.rust/simple.exp: Add test expectations for new NonZero
5383 tests.
5384
5385 2016-06-24 David Taylor <dtaylor@emc.com>
5386
5387 * gdb.base/offsets.exp: New file.
5388 * gdb.base/offsets.c: New file.
5389
5390 2016-06-23 Tom Tromey <tom@tromey.com>
5391
5392 PR gdb/16483:
5393 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5394 before any filters are loaded.
5395
5396 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5397
5398 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5399 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5400 structs.
5401 * gdb.fortran/derived-type-function.exp: New file.
5402 * gdb.fortran/derived-type-function.f90: New file.
5403
5404
5405 2016-06-21 Pedro Alves <palves@redhat.com>
5406
5407 * gdb.base/new-ui.exp: New file.
5408 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5409 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5410 (with_spawn_id): New procedure.
5411
5412 2016-06-21 Pedro Alves <palves@redhat.com>
5413
5414 * gdb.mi/mi-exec-run.exp: New file.
5415
5416 2016-06-21 Pedro Alves <palves@redhat.com>
5417
5418 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5419 breakpoint command's output on the main UI.
5420 (test_break): New procedure, factored out from calls in the top
5421 level.
5422 (top level): Use foreach_with_prefix to test MI as main UI and as
5423 separate UI.
5424
5425 2016-06-21 Pedro Alves <palves@redhat.com>
5426
5427 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5428 (test_awatch_creation_and_listing)
5429 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5430 Remove 'type' parameter.
5431 (test_watchpoint_all): New parameter mi_mode. Remove
5432 with_test_prefix.
5433 (top level): Use foreach_with_prefix, and add main/separate UI MI
5434 testing axis.
5435
5436 2016-06-21 Pedro Alves <palves@redhat.com>
5437
5438 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5439 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5440 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5441 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5442 (gdb_main_spawn_id, mi_spawn_id): Declare and
5443 comment.
5444 (mi_create_inferior_pty): New procedure,
5445 factored out from default_mi_gdb_start.
5446 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5447 procedures.
5448 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5449 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5450 Use mi_create_inferior_pty.
5451 (mi_gdb_start): Use eval to pass down args list.
5452
5453 2016-06-21 Pedro Alves <palves@redhat.com>
5454
5455 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5456 * gdb.opt/inline-cmds.exp: Add MI tests.
5457
5458 2016-06-21 Pedro Alves <palves@redhat.com>
5459
5460 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5461
5462 2016-06-21 Pedro Alves <palves@redhat.com>
5463
5464 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5465 (top level): Use it instead of mi_execute_to.
5466
5467 2016-06-21 Pedro Alves <palves@redhat.com>
5468
5469 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5470 (cont_handler_str): New.
5471 (signal_stop_handler): Set stop_handler_str instead of printing to
5472 stdout.
5473 (continue_handler): Set cont_handler_str instead of printing to
5474 stdout.
5475 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5476 mi_send_resuming_command. Print stop_handler_str and
5477 cont_handler_str instead of expecting the python events print
5478 directly.
5479
5480 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5481
5482 * gdb.base/jit-reader.exp: New file.
5483 * gdb.base/jithost.c: New file.
5484 * gdb.base/jithost.h: New file.
5485 * gdb.base/jitreader.c : New file.
5486 * gdb.base/jit-protocol.h: New file.
5487
5488 2016-06-17 Yao Qi <yao.qi@linaro.org>
5489
5490 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5491 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5492 and detach-on-fork. Adjust tests.
5493 (top level): Invoke break_cond_on_syscall with combinations of
5494 syscall, follow-fork-mode and detach-on-fork.
5495
5496 2016-06-17 Yao Qi <yao.qi@linaro.org>
5497
5498 * gdb.base/step-over-exit.c: New.
5499 * gdb.base/step-over-exit.exp: New.
5500
5501 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5502
5503 * gdb.base/float.exp: Add target check for nds32*-*-*.
5504 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5505
5506 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5507
5508 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5509 for unsupported target features.
5510 * gdb.base/call-rt-st.exp: Likewise.
5511 * gdb.base/call-sc.exp: Likewise.
5512 * gdb.base/call-signal-resume.exp: Likewise.
5513 * gdb.base/call-strs.exp: Likewise.
5514 * gdb.base/callexit.exp: Likewise.
5515 * gdb.base/callfuncs.exp: Likewise.
5516 * gdb.base/nodebug.exp: Likewise.
5517 * gdb.base/printcmds.exp: Likewise.
5518 * gdb.base/ptype.exp: Likewise.
5519 * gdb.base/structs.exp: Likewise.
5520 * gdb.base/unwindonsignal.exp: Likewise.
5521 * gdb.cp/gdb2495.exp: Likewise.
5522 * gdb.cp/templates.exp: Likewise.
5523 * gdb.cp/virtfunc.exp: Likewise.
5524 * gdb.threads/hand-call-in-threads.exp: Likewise.
5525 * gdb.threads/interrupted-hand-call.exp: Likewise.
5526 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5527
5528 2016-06-10 Tom Tromey <tom@tromey.com>
5529
5530 PR rust/20110:
5531 * gdb.rust/expr.exp: Add test for integer constant larger than
5532 i32.
5533
5534 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5535
5536 * gdb.fortran/nested-funcs.exp: New.
5537 * gdb.fortran/nested-funcs.f90: New.
5538
5539 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5540
5541 * gdb.base/examine-backward.c: New file.
5542 * gdb.base/examine-backward.exp: New file.
5543
5544 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5545
5546 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5547 matching.
5548
5549 2016-06-02 Tom Tromey <tom@tromey.com>
5550
5551 PR python/18984:
5552 * gdb.python/py-shared.exp: Add solib_name test.
5553
5554 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5555
5556 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5557
5558 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5559
5560 PR c++/19893
5561 * gdb.dwarf2/implref.exp: Rename to...
5562 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5563 * gdb.dwarf2/implref-array.c: New file.
5564 * gdb.dwarf2/implref-array.exp: Likewise.
5565 * gdb.dwarf2/implref-global.c: Likewise.
5566 * gdb.dwarf2/implref-global.exp: Likewise.
5567 * gdb.dwarf2/implref-struct.c: Likewise.
5568 * gdb.dwarf2/implref-struct.exp: Likewise.
5569
5570 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5571
5572 * gdb.trace/trace-condition.exp: Add 64bit tests.
5573
5574 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5575
5576 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5577 bits types.
5578 (main): Adapt to 8 to 64 bits types.
5579 * gdb.trace/trace-condition.exp: Add new tests.
5580
5581 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5582
5583 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5584
5585 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5586
5587 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5588 Move condition tests...
5589 * gdb.trace/trace-condition.exp: Here.
5590
5591 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5592
5593 * gdb.trace/trace-condition.exp: Add counter-case tests.
5594
5595 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5596
5597 PR c++/15231
5598 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5599 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5600
5601 2016-05-27 Pedro Alves <palves@redhat.com>
5602
5603 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5604 New procedure.
5605 (top level): Call it, and bail out of DejaGnu is known to be bad.
5606
5607 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5608
5609 * gdb.base/whatis.c: Extend the test case.
5610 * gdb.base/whatis.exp: Add additional tests.
5611
5612 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5613
5614 * gdb.fortran/type.f90: Add pointer variable.
5615 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5616
5617 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5618
5619 * gdb.fortran/vla-type.exp: Fix testcase name.
5620
5621 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5622
5623 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5624
5625 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5626
5627 * gdb.fortran/type.f90: Add nested structures.
5628 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5629 * gdb.fortran/derived-type.exp: Adapt expected output.
5630 * gdb.fortran/vla-type.exp: Adapt expected output.
5631
5632 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5633
5634 * gdb.fortran/whatis_type.exp: Adapt expected output.
5635
5636 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5637
5638 * gdb.fortran/print_type.exp: Fix expected output.
5639 * gdb.fortran/whatis_type.exp: Fix expected output.
5640
5641 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5642
5643 * gdb.fortran/whatis_type.exp: Use multi_line.
5644
5645 2016-05-24 Tom Tromey <tom@tromey.com>
5646
5647 PR python/17386:
5648 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5649 use value as an index.
5650
5651 2016-05-23 Tom Tromey <tom@tromey.com>
5652
5653 PR python/17981:
5654 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5655 no-breakpoint case.
5656
5657 2016-05-24 Pedro Alves <palves@redhat.com>
5658
5659 PR gdb/19828
5660 * gdb.threads/clone-attach-detach.c: New file.
5661 * gdb.threads/clone-attach-detach.exp: New file.
5662
5663 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5664
5665 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5666
5667 2016-05-23 Tom Tromey <tom@tromey.com>
5668
5669 PR python/19438, PR python/18393:
5670 * gdb.python/py-progspace.exp: Add "dir" test.
5671 * gdb.python/py-objfile.exp: Add "dir" test.
5672
5673 2016-05-23 Yao Qi <yao.qi@linaro.org>
5674
5675 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5676 * gdb.arch/thumb2-it.exp: Likewise.
5677
5678 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5679
5680 * gdb.mi/mi-threads-interrupt.c: New file.
5681 * gdb.mi/mi-threads-interrupt.exp: New file.
5682
5683 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5684
5685 PR gdb/18077
5686 * gdb.mi/mi-async-run.exp: New file.
5687 * gdb.mi/mi-async-run.c: New file.
5688
5689 2016-05-17 Tom Tromey <tom@tromey.com>
5690 Manish Goregaokar <manishsmail@gmail.com>
5691
5692 * lib/rust-support.exp: New file.
5693 * lib/gdb.exp (skip_rust_tests): New proc.
5694 (build_executable_from_specs): Handle rust.
5695 * lib/future.exp (gdb_find_rustc): New proc.
5696 (gdb_default_target_compile): Handle rust.
5697 * gdb.rust/expr.exp: New file.
5698 * gdb.rust/generics.exp: New file.
5699 * gdb.rust/generics.rs: New file.
5700 * gdb.rust/methods.exp: New file.
5701 * gdb.rust/methods.rs: New file.
5702 * gdb.rust/modules.exp: New file.
5703 * gdb.rust/modules.rs: New file.
5704 * gdb.rust/simple.exp: New file.
5705 * gdb.rust/simple.rs: New file.
5706
5707 2016-05-17 Tom Tromey <tom@tromey.com>
5708
5709 * gdb.base/default.exp (set language): Add rust.
5710
5711 2016-05-17 Tom Tromey <tom@tromey.com>
5712
5713 * gdb.gdb/unittest.exp: New file.
5714
5715 2016-05-16 Yao Qi <yao.qi@linaro.org>
5716
5717 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5718 shell_prompt. Update shell_prompt_re.
5719
5720 2016-05-12 Doug Evans <dje@google.com>
5721
5722 PR symtab/19999
5723 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5724 $options when building executable.
5725 * gdb.dwarf2/fission-loclists-pie.S: New file.
5726 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5727
5728 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5729
5730 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
5731 of [is_remote target],
5732
5733 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5734
5735 * lib/gdb.exp (use_gdb_stub): New procedure.
5736
5737 2016-05-03 Yunlian Jiang <yunlian@google.com>
5738 Doug Evans <dje@google.com>
5739
5740 PR symtab/19914
5741 * gdb.dwarf2/dwp-sepdebug.c: New file.
5742 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5743
5744 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5745
5746 * gdb.base/detach.exp: Remove is_remote check.
5747
5748 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5749
5750 * gdb.base/annota-input-while-running.exp: Don't check for
5751 [is_remote target]. Enable annotations after running to main.
5752 Remove unused "set test..." line.
5753
5754 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5755
5756 * gdb.trace/trace-enable-disable.exp: New file.
5757 * gdb.trace/trace-enable-disable.c: New file.
5758
5759 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5760
5761 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5762 use it in info sharedlibrary test.
5763 * gdb.trace/ftrace-lock.exp: Likewise.
5764 * gdb.trace/ftrace.exp: Likewise.
5765 * gdb.trace/range-stepping.exp: Likewise.
5766 * gdb.trace/trace-break.exp: Likewise.
5767 * gdb.trace/trace-condition.exp: Likewise.
5768 * gdb.trace/trace-mt.exp: Likewise.
5769
5770 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5771
5772 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5773 (gdb_load_shlib): ... this.
5774 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5775 gdb_load_shlib.
5776 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5777 * gdb.base/ctxobj.exp: Likewise.
5778 * gdb.base/dprintf-pending.exp: Likewise.
5779 * gdb.base/dso2dso.exp: Likewise.
5780 * gdb.base/fixsection.exp: Likewise.
5781 * gdb.base/gcore-relro.exp: Likewise.
5782 * gdb.base/gdb1555.exp: Likewise.
5783 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5784 * gdb.base/gnu-ifunc.exp: Likewise.
5785 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5786 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5787 * gdb.base/pending.exp: Likewise.
5788 * gdb.base/print-file-var.exp: Likewise.
5789 * gdb.base/print-symbol-loading.exp: Likewise.
5790 * gdb.base/shlib-call.exp: Likewise.
5791 * gdb.base/shreloc.exp: Likewise.
5792 * gdb.base/so-impl-ld.exp: Likewise.
5793 * gdb.base/solib-disc.exp: Likewise.
5794 * gdb.base/solib-nodir.exp: Likewise.
5795 * gdb.base/solib-overlap.exp: Likewise.
5796 * gdb.base/solib-symbol.exp: Likewise.
5797 * gdb.base/solib-weak.exp (do_test): Likewise.
5798 * gdb.base/sym-file.exp: Likewise.
5799 * gdb.base/symtab-search-order.exp: Likewise.
5800 * gdb.base/type-opaque.exp: Likewise.
5801 * gdb.base/unload.exp: Likewise.
5802 * gdb.base/watchpoint-solib.exp: Likewise.
5803 * gdb.compile/compile.exp: Likewise.
5804 * gdb.cp/gdb2384.exp: Likewise.
5805 * gdb.cp/infcall-dlopen.exp: Likewise.
5806 * gdb.cp/re-set-overloaded.exp: Likewise.
5807 * gdb.fortran/library-module.exp: Likewise.
5808 * gdb.opt/solib-intra-step.exp: Likewise.
5809 * gdb.python/py-finish-breakpoint.exp: Likewise.
5810 * gdb.python/py-shared.exp: Likewise.
5811 * gdb.reverse/solib-precsave.exp: Likewise.
5812 * gdb.reverse/solib-reverse.exp: Likewise.
5813 * gdb.server/solib-list.exp: Likewise.
5814 * gdb.threads/dlopen-libpthread.exp: Likewise.
5815 * gdb.threads/tls-shared.exp: Likewise.
5816 * gdb.threads/tls-so_extern.exp: Likewise.
5817 * gdb.trace/change-loc.exp: Likewise.
5818 * gdb.trace/ftrace-lock.exp: Likewise.
5819 * gdb.trace/ftrace.exp: Likewise.
5820 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5821 * gdb.trace/pending.exp: Likewise.
5822 * gdb.trace/range-stepping.exp: Likewise.
5823 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5824 (strace_info_marker): Likewise.
5825 (strace_probe_marker): Likewise.
5826 (strace_trace_on_same_addr): Likewise.
5827 (strace_trace_on_diff_addr): Likewise.
5828 * gdb.trace/trace-break.exp: Likewise.
5829 * gdb.trace/trace-condition.exp: Likewise.
5830 * gdb.trace/trace-mt.exp: Likewise.
5831
5832 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5833
5834 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5835 result of gdb_remote_download.
5836 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5837 * gdb.base/dso2dso.exp: Likewise.
5838 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5839 * gdb.base/print-file-var.exp: Likewise.
5840 * gdb.base/shlib-call.exp: Likewise.
5841 * gdb.base/shreloc.exp: Likewise.
5842 * gdb.base/solib-overlap.exp: Likewise.
5843 * gdb.base/solib-weak.exp (do_test): Likewise.
5844 * gdb.base/unload.exp: Likewise.
5845
5846 2016-04-27 Yao Qi <yao.qi@linaro.org>
5847
5848 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5849 exists.
5850
5851 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5852
5853 * vla-type.exp: Print structure from toplevel.
5854
5855 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5856
5857 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5858 of dynamic types.
5859 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5860 of dynamic types.
5861
5862 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5863
5864 * gdb.fortran/vla-type.f90: New file.
5865 * gdb.fortran/vla-type.exp: New file.
5866
5867 2016-04-25 Yao Qi <yao.qi@linaro.org>
5868
5869 * gdb.base/branch-to-self.c: New file.
5870 * gdb.base/branch-to-self.exp: New file.
5871
5872 2016-04-22 Yao Qi <yao.qi@linaro.org>
5873
5874 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5875 more after $hex.
5876
5877 2016-04-22 Yao Qi <yao.qi@linaro.org>
5878
5879 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5880 * gdb.base/annota3.exp: Likewise.
5881
5882 2016-04-22 Yao Qi <yao.qi@linaro.org>
5883
5884 * gdb.reverse/step-precsave.exp: Do one step and test program
5885 stops in "callee" and do multiple steps until program goes out
5886 of "callee".
5887 * gdb.reverse/step-reverse.exp: Likewise.
5888
5889 2016-04-22 Yao Qi <yao.qi@linaro.org>
5890
5891 * gdb.trace/signal.exp: Also pass if
5892 $tracepoint_hits($i) > $iterations.
5893
5894 2016-04-22 Yao Qi <yao.qi@linaro.org>
5895
5896 * gdb.trace/signal.c: New file.
5897 * gdb.trace/signal.exp: New file.
5898
5899 2016-04-19 Doug Evans <xdje42@gmail.com>
5900
5901 * gdb.base/bad-file.exp: New file.
5902
5903 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5904
5905 * gdb.dwarf2/implref.exp: New file.
5906
5907 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5908
5909 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5910 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5911 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5912 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5913 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5914 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5915 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5916 * lib/fortran.exp (fortran_int4): New procedure.
5917 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5918 (fortran_logical4): Likewise.
5919
5920 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5921
5922 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5923
5924 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5925
5926 * lib/compiler.c: Add Intel specific preprocessor macros.
5927 * lib/compiler.cc: Likewise.
5928
5929 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5930
5931 * gdb.server/connect-with-no-symbol-file.c: New file.
5932 * gdb.server/connect-with-no-symbol-file.exp: New file.
5933
5934 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5935
5936 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5937
5938 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5939
5940 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5941 standard output directory.
5942
5943 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5944
5945 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5946
5947 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5948
5949 * gdb.btrace/instruction_history.c (loop): Add declaration.
5950
5951 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5952
5953 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5954
5955 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5956
5957 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5958 parentheses to print.
5959 (continue_handler): Likewise.
5960
5961 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5962
5963 * gdb.server/solib-list.exp: Remove is_remote check.
5964 Pass shlib= to gdb_compile. Don't link shared library with
5965 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5966 Run binary filename through "readlink -f" on the target.
5967
5968 2016-04-08 Pedro Alves <palves@redhat.com>
5969
5970 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5971 interpreter filename as argument to gdbserver_spawn.
5972 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5973 Return empty if $last_loaded_file does not exist.
5974
5975 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5976
5977 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5978 * gdb.base/jit-main.c: Use exit after usage.
5979
5980 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5981
5982 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5983 GDBHISTSIZE prior to the tests.
5984 * gdb.base/gdbinit-history.exp: Likewise.
5985
5986 2016-04-07 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5989 instead of build_executable. Use gdb_load_shlibs.
5990
5991 2016-04-07 Yao Qi <yao.qi@linaro.org>
5992
5993 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5994 Execute "si" command.
5995
5996 2016-04-07 Yao Qi <yao.qi@linaro.org>
5997
5998 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5999 number instead of the comments on some line.
6000
6001 2016-04-06 Don Breazeal <donb@codesourcery.com>
6002
6003 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
6004 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
6005
6006 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
6007
6008 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6009 standard_output_file. Remove unused binfile variable.
6010
6011 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6012
6013 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6014 * gdb.python/py-mi-objfile.exp: Match "list main" output
6015 in console format.
6016
6017 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6018
6019 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6020 absolute.
6021
6022 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6023
6024 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6025 absolute.
6026 * gdb.trace/ftrace.exp: Likewise.
6027 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6028 targets as well.
6029 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6030 (gdb_load_shlibs): Copy libraries to test directory when testing
6031 natively. Only set solib-search-path if testing remotely.
6032 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6033
6034 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6035
6036 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6037 gdb_download. Use it even if the target is not remote.
6038 * gdb.base/jit.exp (compile_jit_test): Likewise.
6039 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6040 output directory if the destination board is local, otherwise use
6041 the standard remote_download from DejaGnu.
6042 (gdb_download): Remove.
6043 (gdb_load_shlibs): Use gdb_remote_download instead of
6044 gdb_download.
6045 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6046 Use gdb_remote_download instead of gdb_download. Use it even if
6047 the target is not remote.
6048 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6049 instead of gdb_download.
6050
6051 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6052
6053 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6054 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6055 run.
6056
6057 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6058
6059 PR gdb/19820
6060 * gdb.base/printcmds.exp: Add artificial arrays tests.
6061
6062 2016-03-31 Pedro Alves <palves@redhat.com>
6063
6064 PR gdb/19858
6065 * gdb.base/jit-main.c: Include unistd.h.
6066 (ATTACH): Define to 0 if not already defined.
6067 (wait_for_gdb, mypid): New globals.
6068 (WAIT_FOR_GDB): New macro.
6069 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6070 some breakpoint locations.
6071 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6072 New procedures.
6073 (one_jit_test): Add REATTACH parameter, and handle it. Use
6074 continue_to_test_location.
6075 (top level): Test attach, and adjusts calls to one_jit_test.
6076
6077 2016-03-31 Pedro Alves <palves@redhat.com>
6078
6079 PR gdb/19858
6080 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6081 BINSUFFIX parameter, and handle it.
6082 (top level): Adjust calls compile_jit_test.
6083
6084 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6085
6086 PR python/19743
6087 * gdb.python/py-mi-events-gdb.py: New file.
6088 * gdb.python/py-mi-events.c: New file.
6089 * gdb.python/py-mi-events.exp: New file.
6090
6091 2016-03-30 Yao Qi <yao.qi@linaro.org>
6092
6093 * gdb.reverse/until-precsave.exp: Match function name only.
6094 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6095 Move malloc to a condition block.
6096 * gdb.reverse/until-reverse.exp: Match function name only.
6097
6098 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6099
6100 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6101 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6102 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6103 variable for GPR 0 instead of assuming it is register 0.
6104 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6105 * lib/trace-support.exp: Add s390 registers.
6106
6107 2016-03-29 Yao Qi <yao.qi@linaro.org>
6108
6109 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6110
6111 2016-03-24 Yao Qi <yao.qi@linaro.org>
6112
6113 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6114 test message.
6115
6116 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6117
6118 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6119 maintaining separate logic for constructing the output path.
6120
6121 2016-03-16 Don Breazeal <donb@codesourcery.com>
6122
6123 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6124 Retry fork and waitpid on interrupted system call errors.
6125 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6126 Use with_timeout_factor to increase timeout by factor of 10.
6127
6128 2016-03-15 Don Breazeal <donb@codesourcery.com>
6129
6130 * gdb.cp/scope-err.cc: New test program.
6131 * gdb.cp/scope-err.exp: New test script.
6132 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6133 lines and "set breakpoint here" comment.
6134 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6135 Fixed some whitespace and format issues.
6136 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6137 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6138
6139 2016-03-15 Doug Evans <dje@google.com>
6140
6141 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6142 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6143 All callers updated. Add tests for enums, mixed flags register.
6144
6145 2016-03-15 Doug Evans <dje@google.com>
6146
6147 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6148 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6149
6150 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6151
6152 * gdb.base/default.exp: Add $_as_string to the list of expected
6153 convenience functions.
6154
6155 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6156
6157 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6158
6159 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6160
6161 * gdb.python/py-as-string.exp: New file.
6162 * gdb.python/py-as-string.c: New file.
6163
6164 2016-03-09 Pedro Alves <palves@redhat.com>
6165
6166 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6167 signal" -> "Thread NN received signal" output change.
6168 * gdb.threads/ia64-sigill.exp: Likewise.
6169 * gdb.threads/linux-dp.exp: Likewise.
6170 * gdb.threads/manythreads.exp: Likewise.
6171 * gdb.threads/pending-step.exp: Likewise.
6172 * gdb.threads/print-threads.exp: Likewise.
6173 * gdb.threads/sigstep-threads.exp: Likewise.
6174 * gdb.threads/staticthreads.exp: Likewise.
6175 * gdb.threads/tls.exp: Likewise.
6176
6177 2016-03-09 Pedro Alves <palves@redhat.com>
6178
6179 * gdb.base/command-line-input.exp: New file.
6180
6181 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6182
6183 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6184 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6185 * gdb.trace/pending.exp: Accept leading dot before function name.
6186 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6187 * lib/trace-support.exp: Set registers for ppc.
6188
6189 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6190
6191 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6192 use it for disassembly; accept .main in addition to main in backtrace.
6193
6194 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6195 Marcin Kościelnicki <koriakin@0x04.net>
6196
6197 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6198 (gdb_recursion_test_ptr): New global variable.
6199 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6200 gdb_recursion_test.
6201 (gdb_c_test): Ditto.
6202
6203 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6204
6205 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6206 ordering.
6207
6208 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6209
6210 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6211 (bar): Add bar_start_lbl label.
6212 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6213 of foo/bar for emitting DWARF and tracing.
6214
6215 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6216
6217 * analyze-racy-logs.py: Set executable bit.
6218
6219 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6220
6221 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6222 (CHECK_TARGET_TMP): Likewise.
6223 (check-single-racy): New rule.
6224 (check-parallel-racy): Likewise.
6225 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6226 (do-check-parallel-racy): New rule.
6227 (check-racy/%.exp): Likewise.
6228 * README (Racy testcases): New section.
6229 * analyze-racy-logs.py: New file.
6230
6231 2016-03-03 Doug Evans <dje@google.com>
6232
6233 * gdb.base/skip.exp: Use with_test_prefix.
6234
6235 2016-03-03 Yao Qi <yao.qi@linaro.org>
6236
6237 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6238 Invoke step_over_syscall "clone" and break_cond_on_syscall
6239 "clone".
6240 * gdb.base/step-over-clone.c: New file.
6241
6242 2016-03-03 Yao Qi <yao.qi@linaro.org>
6243
6244 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6245 code format.
6246
6247 2016-03-03 Yao Qi <yao.qi@linaro.org>
6248
6249 * gdb.base/disp-step-fork.c: Rename to ...
6250 * gdb.base/step-over-fork.c: ... it. New file.
6251 * gdb.base/disp-step-vfork.c: Rename to ...
6252 * gdb.base/step-over-vfork.c: ... it. New file.
6253 * gdb.base/disp-step-syscall.exp: Rename to ...
6254 * gdb.base/step-over-syscall.exp: ... it. New file.
6255 (disp_step_cross_syscall): Rename to ...
6256 (step_over_syscall): ... it.
6257
6258 2016-03-03 Yao Qi <yao.qi@linaro.org>
6259
6260 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6261 If target supports condition evaluation on target, invoke
6262 break_cond_on_syscall for fork and vfork.
6263
6264 2016-03-03 Yao Qi <yao.qi@linaro.org>
6265
6266 * gdb.base/disp-step-syscall.exp: Don't invoke
6267 support_displaced_stepping.
6268 (disp_step_cross_syscall): Test with displaced stepping off and
6269 on if supported.
6270
6271 2016-03-03 Yao Qi <yao.qi@linaro.org>
6272
6273 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6274 proc.
6275 (setup): New proc.
6276 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6277 and setup.
6278
6279 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6280
6281 * gdb.fortran/vla-history.exp: Remove breakpoint.
6282
6283 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6284
6285 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6286 exceeds timeout.
6287
6288 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6289
6290 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6291 breakpoint.
6292
6293 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6294
6295 * gdb.mi/vla.f90: Nullify pointer after declaration.
6296
6297 2016-03-01 Pedro Alves <palves@redhat.com>
6298
6299 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6300
6301 2016-03-01 Pedro Alves <palves@redhat.com>
6302
6303 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6304 before anything else.
6305 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6306 _GNU_SOURCE here.
6307 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6308 before anything else.
6309 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6310
6311 2016-03-01 Pedro Alves <palves@redhat.com>
6312
6313 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6314
6315 2016-03-01 Yao Qi <yao.qi@linaro.org>
6316
6317 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6318 prepare_for_testing.
6319
6320 2016-03-01 Yao Qi <yao.qi@linaro.org>
6321
6322 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6323
6324 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6325
6326 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6327 manually constructing the output path.
6328
6329 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6330
6331 * gdb.arch/s390-stackless.S: New.
6332 * gdb.arch/s390-stackless.exp: New.
6333
6334 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6335
6336 * gdb.dlang/circular.c: New file.
6337 * gdb.dlang/circular.exp: New file.
6338
6339 2016-02-26 Yao Qi <yao.qi@linaro.org>
6340
6341 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6342 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6343 (testcases): Update.
6344
6345 2016-02-26 Yao Qi <yao.qi@linaro.org>
6346
6347 * gdb.reverse/aarch64.c: Rename to ...
6348 * gdb.reverse/insn-reverse.c: ... it.
6349 * gdb.reverse/aarch64.exp: Rename to ...
6350 * gdb.reverse/insn-reverse.exp: ... it.
6351
6352 2016-02-26 Yao Qi <yao.qi@linaro.org>
6353
6354 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6355 (testcase_ftype): New.
6356 (testcases): New array.
6357 (n_testcases): New.
6358 (main): Call each element in testcases.
6359 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6360 (read_testcase): New.
6361 Do the tests in a loop.
6362
6363 2016-02-25 Yao Qi <yao.qi@linaro.org>
6364
6365 * gdb.base/branches.c: Remove.
6366
6367 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6368
6369 PR gdb/13808
6370 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6371
6372 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6373
6374 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6375
6376 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6377
6378 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6379 change x86_64 call_insn to 'callq'.
6380
6381 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6382
6383 * gdb.trace/tfile-avx.c: Move to...
6384 * gdb.trace/tracefile-pseudo-reg.c: Here.
6385 * gdb.trace/tfile-avx.exp: Move to...
6386 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6387
6388 2016-02-24 Gary Benson <gbenson@redhat.com>
6389
6390 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6391 message on attach.
6392
6393 2016-02-23 Doug Evans <dje@google.com>
6394
6395 * gdb.base/skip.c (test_skip): New function.
6396 (end_test_skip_file_and_function): New function.
6397 (test_skip_file_and_function): New function.
6398 * gdb.base/skip1.c (test_skip): New function.
6399 (skip1_test_skip_file_and_function): New function.
6400 * gdb.base/skip.exp: Add tests for new skip options.
6401 * gdb.base/skip-solib.exp: Update expected output.
6402 * gdb.perf/skip-command.cc: New file.
6403 * gdb.perf/skip-command.exp: New file.
6404 * gdb.perf/skip-command.py: New file.
6405
6406 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6407
6408 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6409 info registers pattern.
6410
6411 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6412
6413 * lib/future.exp: Add D support.
6414 (gdb_find_gdc): New proc.
6415 (gdb_default_target_compile): Add D support.
6416
6417 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
6418
6419 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6420 user+system time.
6421 (trace_speed_test): Determine the iteration count for a time
6422 between 15..30 seconds.
6423
6424 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6425
6426 * gdb.arch/i386-mpx-sigsegv.c: New file.
6427 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6428 * gdb.arch/i386-mpx-simple_segv.c: New file.
6429 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6430
6431 2016-02-18 Yao Qi <yao.qi@linaro.org>
6432
6433 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6434 Don't call setup_kfail.
6435
6436 2016-02-18 Yao Qi <yao.qi@linaro.org>
6437
6438 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6439 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6440
6441 2016-02-16 Doug Evans <dje@google.com>
6442
6443 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6444 * gdb.base/skip1.c: Ditto.
6445 * gdb.base/skip.exp: Whitespace cleanup.
6446
6447 2016-02-16 Don Breazeal <donb@codesourcery.com>
6448
6449 PR remote/19496
6450 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6451 Remove kfail for PR remote/19496.
6452
6453 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6454
6455 * lib/gdb.exp (standard_temp_file): Return a path specific to
6456 the runtest invocation.
6457
6458 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6459
6460 * gdb.trace/save-trace.exp: Change relative path to be in the
6461 standard output directory.
6462
6463 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6464
6465 * gdb.arch/i386-prologue.c: Add missing prototypes.
6466
6467 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6468
6469 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6470 * gdb.arch/i386-prologue.exp: Likewise.
6471 * gdb.arch/i386-size.exp: Likewise.
6472
6473 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6474
6475 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6476 define object file path.
6477 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6478 file path.
6479 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6480 standard_output_file to define binfile.
6481
6482 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6483
6484 Fix compatibility with recent gfortran-5.3.1.
6485 * gdb.fortran/vla-history.exp (print vla1 allocated)
6486 (print vla2 allocated, print $2, print $3): Remove
6487 (print $4): Rename to ...
6488 (print $2): ... here.
6489 (print $9): Rename to ...
6490 (print $5): ... here.
6491 (print $10): Rename to ...
6492 (print $6): ... here.
6493 * gdb.fortran/vla.f90: Add pvla initialization.
6494
6495 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6496
6497 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6498 New test.
6499 * gdb.fortran/vla-value-sub.exp: Likewise.
6500
6501 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6502
6503 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6504
6505 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6506
6507 * i386-biarch-core.exp: Define corefile using
6508 standard_output_file.
6509
6510 2016-02-12 Yao Qi <yao.qi@linaro.org>
6511
6512 * gdb.arch/arm-single-step-kernel-helper.c: New.
6513 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6514
6515 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6516
6517 * gdb.btrace/tailcall-only.exp: New.
6518 * gdb.btrace/tailcall-only.c: New.
6519 * gdb.btrace/x86_64-tailcall-only.S: New.
6520 * gdb.btrace/i686-tailcall-only.S: New.
6521
6522 2016-02-11 Pedro Alves <palves@redhat.com>
6523
6524 * README (Parallel testing): Add missing double quotes.
6525
6526 2016-02-11 Pedro Alves <palves@redhat.com>
6527
6528 * README (Parallel testing): New section.
6529 (GDB_PARALLEL): Rewrite.
6530 (FORCE_PARALLEL): Document.
6531
6532 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6533
6534 * gdb.trace/tfile-avx.c: New test.
6535 * gdb.trace/tfile-avx.exp: New test.
6536
6537 2016-02-09 Keith Seitz <keiths@redhat.com>
6538
6539 PR breakpoints/19546
6540 * gdb.base/infcall-exec.c: New file.
6541 * gdb.base/infcall-exec2.c: New file.
6542 * gdb.base/infcall-exec.exp: New file.
6543
6544 2016-02-09 Keith Seitz <keiths@redhat.com>
6545
6546 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6547 (toplevel): Call test_bkpt_address.
6548
6549 2016-02-09 Keith Seitz <keiths@redhat.com>
6550
6551 PR python/19506
6552 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6553 (toplevel): Call test_bkpt_address.
6554
6555 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6556
6557 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6558 to AC_OUTPUT.
6559 * configure: Regenerate.
6560
6561 2016-02-09 Pedro Alves <palves@redhat.com>
6562
6563 PR breakpoints/19548
6564 * gdb.base/execl-update-breakpoints.c (some_function): New
6565 function.
6566 (main): Call it.
6567 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6568 Tighten expected GDB output.
6569
6570 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6571
6572 * Makefile.in (ALL_SUBDIRS): Remove.
6573 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6574 (distclean maintainer-clean realclean): Likewise.
6575 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6576 * configure: Regenerate.
6577 * gdb.ada/Makefile.in: Delete.
6578 * gdb.arch/Makefile.in: Likewise.
6579 * gdb.asm/Makefile.in: Likewise.
6580 * gdb.base/Makefile.in: Likewise.
6581 * gdb.btrace/Makefile.in: Likewise.
6582 * gdb.cell/Makefile.in: Likewise.
6583 * gdb.compile/Makefile.in: Likewise.
6584 * gdb.cp/Makefile.in: Likewise.
6585 * gdb.disasm/Makefile.in: Likewise.
6586 * gdb.dlang/Makefile.in: Likewise.
6587 * gdb.dwarf2/Makefile.in: Likewise.
6588 * gdb.fortran/Makefile.in: Likewise.
6589 * gdb.gdb/Makefile.in: Likewise.
6590 * gdb.go/Makefile.in: Likewise.
6591 * gdb.guile/Makefile.in: Likewise.
6592 * gdb.java/Makefile.in: Likewise.
6593 * gdb.linespec/Makefile.in: Likewise.
6594 * gdb.mi/Makefile.in: Likewise.
6595 * gdb.modula2/Makefile.in: Likewise.
6596 * gdb.multi/Makefile.in: Likewise.
6597 * gdb.objc/Makefile.in: Likewise.
6598 * gdb.opencl/Makefile.in: Likewise.
6599 * gdb.opt/Makefile.in: Likewise.
6600 * gdb.pascal/Makefile.in: Likewise.
6601 * gdb.perf/Makefile.in: Likewise.
6602 * gdb.python/Makefile.in: Likewise.
6603 * gdb.reverse/Makefile.in: Likewise.
6604 * gdb.server/Makefile.in: Likewise.
6605 * gdb.stabs/Makefile.in: Likewise.
6606 * gdb.threads/Makefile.in: Likewise.
6607 * gdb.trace/Makefile.in: Likewise.
6608 * gdb.xml/Makefile.in: Likewise.
6609 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6610 GDB_PARALLEL.
6611 (standard_output_file): Remove check for GDB_PARALLEL, always
6612 return path in outputs/$subdir/$testname.
6613
6614 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6615
6616 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6617 (site.exp): Assign abs_srcdir to tcl's srcdir.
6618
6619 2016-02-04 Yao Qi <yao.qi@linaro.org>
6620
6621 * gdb.base/foll-exec-mode.c: Include limits.h.
6622 (main): Add parameters argc and argv. Get directory from
6623 argv[0].
6624 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6625 compilation.
6626 * gdb.base/foll-exec.c: Include limits.h.
6627 (main): Add parameters argc and argv.
6628 Get directory from argv[0].
6629 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6630 Adjust tests on the number of lines as source code changed.
6631 * gdb.base/foll-vfork-exit.c: Include limits.h.
6632 (main): Add one line of statement before vfork.
6633 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6634 (main): Add parameters argc and argv. Get directory from
6635 argv[0].
6636 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6637 (setup_gdb): Set tbreak to skip some source lines.
6638 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6639 (main): Add parameters argc and argv. Get directory from
6640 argv[0].
6641 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6642 compilation.
6643 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6644 (main): Add parameters argc and argv. Get directory from
6645 argv[0].
6646 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6647 compilation.
6648
6649 2016-02-01 Doug Evans <dje@google.com>
6650
6651 * gdb.base/skip.exp: Clean up multiple references to same test name.
6652
6653 2016-02-01 Pedro Alves <palves@redhat.com>
6654
6655 PR remote/19496
6656 * gdb.threads/forking-threads-plus-breakpoint.exp
6657 (displaced_stepping_supported): New global.
6658 (probe_displaced_stepping_support): New procedure.
6659 (do_test): Add 'displaced' parameter, and use it.
6660 (top level): Check for displaced stepping support. Add displaced
6661 stepping on/off testing axis.
6662
6663 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6664
6665 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6666 pointer. Don't perform further tests on the unassociated pointer
6667 if the first test fails.
6668
6669 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6670
6671 * gdb.base/max-value-size.c: New file.
6672 * gdb.base/max-value-size.exp: New file.
6673 * gdb.base/huge.exp: Disable max-value-size for this test.
6674
6675 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6676
6677 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6678
6679 2016-01-28 Yao Qi <yao.qi@linaro.org>
6680
6681 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6682
6683 2016-01-25 Pedro Alves <palves@redhat.com>
6684
6685 PR threads/19461
6686 * gdb.base/fork-running-state.c: New file.
6687 * gdb.base/fork-running-state.exp: New file.
6688
6689 2016-01-25 Pedro Alves <palves@redhat.com>
6690
6691 PR gdb/19494
6692 * gdb.base/catch-fork-kill.c: New file.
6693 * gdb.base/catch-fork-kill.exp: New file.
6694
6695 2016-01-25 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6698 Delete, moved to lib/gdb.exp.
6699 * gdb.threads/forking-threads-plus-breakpoint.exp
6700 (foreach_with_prefix): Likewise.
6701 * gdb.threads/process-dies-while-handling-bp.exp
6702 (foreach_with_prefix): Likewise.
6703 * lib/gdb.exp (foreach_with_prefix): New procedure.
6704
6705 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6706
6707 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6708 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6709
6710 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6711
6712 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6713 endian targets.
6714
6715 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6716 Pedro Alves <palves@redhat.com>
6717
6718 Fix testsuite compatibility with Guile.
6719 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6720 number.
6721
6722 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6723
6724 Fix testsuite compatibility with Guile.
6725 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6726 (thread 1): New test for backtrace through signal handler.
6727
6728 2016-01-22 Yao Qi <yao.qi@linaro.org>
6729
6730 PR testsuite/19491
6731 * gdb.base/multi-forks.c: Include
6732 ../lib/unbuffer_output.c
6733 (main): Call gdb_unbuffer_output.
6734
6735 2016-01-21 Doug Evans <dje@google.com>
6736
6737 * lib/ada.exp (gdb_compile_ada): Fix typo.
6738
6739 2016-01-21 Joel Brobecker <brobecker@adacore.com>
6740
6741 * gdb.base/break-fun-addr.exp: New file.
6742 * gdb.base/break-fun-addr1.c: New file.
6743 * gdb.base/break-fun-addr2.c: New file.
6744
6745 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6746
6747 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6748 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6749 enum flag values.
6750
6751 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6752
6753 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6754 when GDB can not set the vector return value. Add more comments
6755 for clarification.
6756
6757 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6758
6759 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6760 command.
6761
6762 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6763
6764 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6765
6766 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6767
6768 * Makefile.in (check-single): Pass --status to runtest.
6769 (check/%.exp): Likewise.
6770
6771 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6772
6773 * Makefile.in (check-parallel): Propagate return code from make
6774 do-check-parallel.
6775
6776 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6777
6778 * gdb.trace/ftrace.exp: Fix expected message on continue.
6779 * gdb.trace/pending.exp: Fix expected message on continue.
6780 * gdb.trace/trace-break.exp: Fix expected message on continue.
6781
6782 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6783
6784 * lib/gdb.exp (gdb_test): Remove unused global references.
6785
6786 2016-01-18 Pedro Alves <palves@redhat.com>
6787
6788 * gdb.base/async-shell.exp: Adjust expected output.
6789 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6790 * gdb.base/siginfo-thread.exp: Adjust expected output.
6791 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6792 * gdb.java/jnpe.exp: Adjust expected output.
6793 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6794 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6795 * gdb.threads/leader-exit.exp: Adjust expected output.
6796 * gdb.threads/manythreads.exp: Adjust expected output.
6797 * gdb.threads/pthreads.exp: Adjust expected output.
6798 * gdb.threads/schedlock.exp: Adjust expected output.
6799 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6800 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6801 expected output.
6802 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6803 output.
6804 * gdb.threads/sigthread.exp: Adjust expected output.
6805 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6806
6807 2016-01-18 Yao Qi <yao.qi@linaro.org>
6808
6809 * gdb.guile/scm-section-script.c: Replace @progbits with
6810 %progbits.
6811 * gdb.python/py-section-script.c: Likewise.
6812
6813 2016-01-15 Pedro Alves <palves@redhat.com>
6814
6815 * gdb.multi/tids.exp: Test star wildcard ranges.
6816
6817 2016-01-15 Pedro Alves <palves@redhat.com>
6818
6819 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6820 command from "thread apply" invocation.
6821 (thr_apply_info_thr_invalid): Default the expected output to the
6822 input tid list.
6823 (top level): Add tests that use convenience variables. Add tests
6824 for "thread apply" with a valid TID list, but missing the command.
6825
6826 2016-01-13 Pedro Alves <palves@redhat.com>
6827
6828 * gdb.base/default.exp: Expect $_gthread as well.
6829 * gdb.multi/tids.exp: Test $_gthread.
6830 * gdb.threads/thread-specific.exp: Test $_gthread.
6831
6832 2016-01-13 Pedro Alves <palves@redhat.com>
6833
6834 * gdb.multi/tids.exp: Test "info threads -gid".
6835
6836 2016-01-13 Pedro Alves <palves@redhat.com>
6837
6838 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6839 Breakpoint.thread.
6840 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6841
6842 2016-01-07 Pedro Alves <palves@redhat.com>
6843
6844 * gdb.base/break.exp: Adjust to output changes.
6845 * gdb.base/hbreak2.exp: Likewise.
6846 * gdb.base/sepdebug.exp: Likewise.
6847 * gdb.base/watch_thread_num.exp: Likewise.
6848 * gdb.linespec/keywords.exp: Likewise.
6849 * gdb.multi/info-threads.exp: Likewise.
6850 * gdb.threads/thread-find.exp: Likewise.
6851 * gdb.multi/tids.c: New file.
6852 * gdb.multi/tids.exp: New file.
6853
6854 2016-01-13 Pedro Alves <palves@redhat.com>
6855
6856 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6857
6858 2016-01-13 Pedro Alves <palves@redhat.com>
6859
6860 * gdb.base/default.exp: Expect $_inferior as well.
6861 * gdb.multi/base.exp: Test $_inferior.
6862
6863 2016-01-13 Pedro Alves <palves@redhat.com>
6864
6865 PR breakpoints/19388
6866 * gdb.base/catch-signal-siginfo-cond.c: New file.
6867 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6868
6869 2016-01-12 Josh Stone <jistone@redhat.com>
6870 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6871
6872 * gdb.base/catch-syscall.c (do_execve): New variable.
6873 (main): Conditionally trigger an execve.
6874 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6875 (test_catch_syscall_execve): New, check entry/return across execve.
6876 (do_syscall_tests): Call test_catch_syscall_execve.
6877
6878 2016-01-12 Pedro Alves <palves@redhat.com>
6879
6880 * gdb.base/random-signal.exp (do_test): New procedure, with body
6881 of testcase moved in.
6882
6883 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6884 Pedro Alves <palves@redhat.com>
6885
6886 * gdb.base/funcargs.exp (finish from indirectly called function):
6887 Reintroduce the case for 'First'.
6888
6889 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6890 Pedro Alves <palves@redhat.com>
6891
6892 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6893 (tcatch_vfork_then_child_follow_exec)
6894 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6895 identification.
6896
6897 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6898
6899 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6900 and repeats to unlimited.
6901 * gdb.python/py-value.exp: Likewise.
6902 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6903 and repeats to unlimited.
6904
6905 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6906
6907 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6908 and reordering the functions.
6909 * gdb.multi/hangout.c: Likewise.
6910 * gdb.multi/hello.c: Likewise.
6911
6912 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6913
6914 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6915 absolute.
6916 (SingleStatisticTestResult.report): Use dict.keys instead of
6917 dict.iterkeys.
6918
6919 2016-01-06 Pedro Alves <palves@redhat.com>
6920
6921 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6922
6923 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6924
6925 * gdb.btrace/dlopen.exp: New.
6926 * gdb.btrace/dlopen.c: New.
6927 * gdb.btrace/dlopen-dso.c: New.
6928
6929 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6930
6931 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6932 PATTERN argument is optional.
6933
6934 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6935
6936 * lib/ada.exp (target_compile_ada_from_dir): New function.
6937 (gdb_compile_ada): Reimplement avoiding the use of project files.
6938 * gdb.ada/gnat_ada.gpr: Delete.
6939 * gdb.ada/cond_lang.exp: Adjust test to make path before
6940 filename optional.
6941 * gdb.ada/small_reg_param.exp: Likewise.
6942
6943 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6944
6945 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6946
6947 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6948
6949 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6950 case.
6951
6952 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6953
6954 * gdb.base/break.exp: Remove dead code.
6955 * gdb.base/sepdebug.exp: Likewise.
6956
6957 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6958
6959 * gdb.asm/asm-source.exp: Remove HP-UX references.
6960 * gdb.base/annota1.exp: Likewise.
6961 * gdb.base/annota3.exp: Likewise.
6962 * gdb.base/attach.exp: Likewise.
6963 * gdb.base/bigcore.exp: Likewise.
6964 * gdb.base/break.exp: Likewise.
6965 * gdb.base/call-ar-st.exp: Likewise.
6966 * gdb.base/callfuncs.exp: Likewise.
6967 * gdb.base/catch-fork-static.exp: Likewise.
6968 * gdb.base/display.exp: Likewise.
6969 * gdb.base/foll-exec-mode.exp: Likewise.
6970 * gdb.base/foll-exec.exp: Likewise.
6971 * gdb.base/foll-fork.exp: Likewise.
6972 * gdb.base/foll-vfork.exp: Likewise.
6973 * gdb.base/funcargs.exp: Likewise.
6974 * gdb.base/hbreak2.exp: Likewise.
6975 * gdb.base/inferior-died.exp: Likewise.
6976 * gdb.base/interrupt.exp: Likewise.
6977 * gdb.base/multi-forks.exp: Likewise.
6978 * gdb.base/nodebug.exp: Likewise.
6979 * gdb.base/sepdebug.exp: Likewise.
6980 * gdb.base/solib1.c: Likewise.
6981 * gdb.base/step-test.exp: Likewise.
6982 * gdb.mi/non-stop.c: Likewise.
6983 * gdb.mi/pthreads.c: Likewise.
6984 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6985 * gdb.threads/pthreads.c: Likewise.
6986 * gdb.threads/staticthreads.exp: Likewise.
6987 * lib/future.exp: Likewise.
6988 * lib/gdb.exp: Likewise.
6989 * gdb.base/so-indr-cl.c: Remove.
6990 * gdb.base/so-indr-cl.exp: Likewise.
6991 * gdb.base/solib.c: Likewise.
6992 * gdb.base/solib.exp: Likewise.
6993 * gdb.base/solib2.c: Likewise.
6994
6995 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6996
6997 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6998 * gdb.base/call-ar-st.exp: Likewise.
6999 * gdb.base/callfuncs.exp: Likewise.
7000 * gdb.base/condbreak.exp: Likewise.
7001 * gdb.base/constvars.exp: Likewise.
7002 * gdb.base/hbreak2.exp: Likewise.
7003 * gdb.base/langs.exp: Likewise.
7004 * gdb.base/list.exp: Likewise.
7005 * gdb.base/long_long.exp: Likewise.
7006 * gdb.base/ptype.exp: Likewise.
7007 * gdb.base/scope.exp: Likewise.
7008 * gdb.base/signals.exp: Likewise.
7009 * gdb.base/so-impl-ld.exp: Likewise.
7010 * gdb.base/varargs.exp: Likewise.
7011 * gdb.base/volatile.exp: Likewise.
7012 * gdb.base/whatis.exp: Likewise.
7013 * gdb.cp/cplusfuncs.exp: Likewise.
7014 * gdb.cp/inherit.exp: Likewise.
7015 * gdb.cp/local.exp: Likewise.
7016 * gdb.cp/member-ptr.exp: Likewise.
7017 * gdb.cp/method.exp: Likewise.
7018 * gdb.cp/overload.exp: Likewise.
7019 * gdb.cp/templates.exp: Likewise.
7020 * gdb.stabs/weird.exp: Likewise.
7021 * lib/compiler.c: Likewise.
7022 * lib/compiler.cc: Likewise.
7023 * lib/cp-support.exp: Likewise.
7024 * lib/gdb.exp: Likewise.
7025
7026 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7027
7028 * configure.ac: Remove HP-UX case.
7029 * configure: Regenerate.
7030
7031 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7032
7033 * lib/gdb.exp (gdb_compile): Add function doc.
7034
7035 2015-12-17 Pedro Alves <palves@redhat.com>
7036
7037 PR threads/19354
7038 * gdb.multi/info-threads.exp: New file.
7039
7040 2015-12-15 Yao Qi <yao.qi@linaro.org>
7041
7042 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7043 is aarch64*-*-*.
7044
7045 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7046
7047 * gdb.base/history-duplicates.exp: Skip if no readline support.
7048
7049 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7050
7051 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7052
7053 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7054
7055 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7056
7057 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7058
7059 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7060 ctrl-C if nointerrupts target property is set.
7061 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7062 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7063 * gdb.base/paginate-bg-execution.exp: Likewise.
7064 * gdb.base/paginate-execution-startup.exp: Likewise.
7065 * gdb.base/random-signal.exp: Likewise.
7066 * gdb.base/range-stepping.exp: Likewise.
7067 * gdb.cp/annota2.exp: Likewise.
7068 * gdb.cp/annota3.exp: Likewise.
7069 * gdb.gdb/selftest.exp: Likewise.
7070 * gdb.threads/continue-pending-status.exp: Likewise.
7071 * gdb.threads/leader-exit.exp: Likewise.
7072 * gdb.threads/manythreads.exp: Likewise.
7073 * gdb.threads/pthreads.exp: Likewise.
7074 * gdb.threads/schedlock.exp: Likewise.
7075 * gdb.threads/sigthread.exp: Likewise.
7076
7077 2015-12-11 Don Breazeal <donb@codesourcery.com>
7078
7079 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7080 remote.
7081 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7082 * gdb.base/foll-exec.exp (main): Enable for target remote.
7083 * gdb.base/foll-fork.exp (main): Likewise.
7084 * gdb.base/foll-vfork.exp (main): Likewise.
7085 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7086 (proc continue_to_exit_bp_loc): Use clean_restart.
7087 * gdb.base/pie-execl.exp (main): Disable for target remote.
7088 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7089 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7090 * gdb.threads/execl.exp (main): Likewise.
7091 * gdb.threads/fork-child-threads.exp (main): Likewise.
7092 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7093 remote.
7094 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7095 remote.
7096 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7097 pid.tid style ptids, instead of just tid.
7098 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7099 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7100 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7101 ptids, instead of just tid.
7102
7103 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7104
7105 * gdb.base/list.exp (test_list_forward): Add end of file error
7106 test.
7107 (test_repeat_list_command): Add end of file error test.
7108 (test_list_backwards): Add beginning of file error test.
7109
7110 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7111
7112 * gdb.base/list.exp (test_list_invalid_args): New function,
7113 defined, and called.
7114
7115 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7116
7117 * gdb.base/list.exp (test_list): Make test names unique.
7118
7119 2015-12-11 Yao Qi <yao.qi@linaro.org>
7120
7121 * gdb.base/coremaker2.c: Remove.
7122
7123 2015-12-10 Pedro Alves <palves@redhat.com>
7124
7125 * gdb.multi/base.exp: Remove stale "spaces" references.
7126
7127 2015-12-10 Pedro Alves <palves@redhat.com>
7128
7129 * gdb.multi/base.exp: Don't use nowarnings.
7130 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7131 * gdb.multi/hangout.c: Include stdio.h.
7132 * gdb.multi/hello.c: Include stdlib.h.
7133 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7134 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7135 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7136
7137 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7138
7139 * gdb.dwarf2/dw2-ranges-base.c: New file.
7140 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7141 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7142 support additional line table, and debug ranges generation.
7143 (Dwarf::ranges): New function, generate .debug_ranges.
7144 (Dwarf::lines): Support generating simple line table programs.
7145 (Dwarf::assemble): Initialise new namespace variables.
7146
7147 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7148
7149 * gdb.base/async.exp (proc test_background): Add case for
7150 asynchronous execution not supported.
7151
7152 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7153
7154 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7155 format and change test names to make them unique.
7156
7157 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7158 Pedro Alves <pedro@redhat.com>
7159
7160 PR gdb/18702
7161 Add checking of floatformats setup on x86_64 hosts.
7162 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7163 (smallval, bigval): New labels/constants.
7164 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7165 float" after loading bigval and smallval.
7166
7167 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7168
7169 * gdb.ada/fun_overload_menu.exp: New testcase.
7170 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7171
7172 2015-12-04 Josh Stone <jistone@redhat.com>
7173
7174 * gdb.base/catch-fork-static.exp: New.
7175
7176 2015-12-03 Yao Qi <yao.qi@linaro.org>
7177
7178 * gdb.base/sizeof.c: Don't include stdio.h and
7179 ../lib/unbuffer_output.c.
7180 (main): New variable 'size' and 'value'. Remove printf and
7181 gdb_unbuffer_output. Assign return value to size and value.
7182 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7183 at the beginning.
7184 (check_sizeof): Check the result by printing variable 'size'.
7185 (check_valueof): Check the result by printing variable 'value'.
7186
7187 2015-12-01 Yao Qi <yao.qi@linaro.org>
7188
7189 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7190 for aarch64*-*-linux* target.
7191
7192 2015-11-30 Pedro Alves <palves@redhat.com>
7193
7194 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7195
7196 2015-11-30 Pedro Alves <palves@redhat.com>
7197
7198 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7199 Handle non-stop mode vCont replies.
7200
7201 2015-11-30 Pedro Alves <palves@redhat.com>
7202
7203 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7204 prepare_for_testing. Start gdb with "set non-stop on" appended to
7205 GDBFLAGS. Lax expected stop output.
7206
7207 2015-11-27 Yao Qi <yao.qi@linaro.org>
7208
7209 * gdb.arch/arm-neon.exp: New.
7210 * gdb.arch/arm-neon.c: New.
7211
7212 2015-11-27 Yao Qi <yao.qi@linaro.org>
7213
7214 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7215
7216 2015-11-27 Yao Qi <yao.qi@linaro.org>
7217
7218 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7219 frames-invalid annotation.
7220
7221 2015-11-27 Yao Qi <yao.qi@linaro.org>
7222
7223 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7224
7225 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7226
7227 * gdb.threads/names.exp: New file.
7228 * gdb.threads/names.c: New file.
7229 * README: Mention gdb,no_thread_names.
7230
7231 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7232
7233 PR 19297
7234 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7235 support" error.
7236
7237 2015-11-24 Pedro Alves <palves@redhat.com>
7238
7239 PR 17539
7240 * gdb.base/display.exp: Expect displays to be sorted in ascending
7241 order. Use multi_line.
7242 * gdb.base/solib-display.exp: Likewise.
7243
7244 2015-11-24 Pedro Alves <palves@redhat.com>
7245
7246 PR 17539
7247 * gdb.base/display.exp: Expect displays to be sorted in ascending
7248 order. Use multi_line.
7249 * gdb.base/solib-display.exp: Likewise.
7250
7251 2015-11-24 Pedro Alves <palves@redhat.com>
7252
7253 PR 17539
7254 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7255 threads in ascending order.
7256 * gdb.base/foll-fork.exp: Likewise.
7257 * gdb.base/foll-vfork.exp: Likewise.
7258 * gdb.base/multi-forks.exp: Likewise.
7259 * gdb.mi/mi-nonstop.exp: Likewise.
7260 * gdb.mi/mi-nsintrall.exp: Likewise.
7261 * gdb.multi/base.exp: Likewise.
7262 * gdb.multi/multi-arch.exp: Likewise.
7263 * gdb.python/py-inferior.exp: Likewise.
7264 * gdb.threads/break-while-running.exp: Likewise.
7265 * gdb.threads/execl.exp: Likewise.
7266 * gdb.threads/gcore-thread.exp: Likewise.
7267 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7268 * gdb.threads/kill.exp: Likewise.
7269 * gdb.threads/linux-dp.exp: Likewise.
7270 * gdb.threads/multiple-step-overs.exp: Likewise.
7271 * gdb.threads/next-bp-other-thread.exp: Likewise.
7272 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7273 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7274 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7275 * gdb.threads/thread-find.exp: Likewise.
7276 * gdb.threads/tls.exp: Likewise.
7277 * lib/mi-support.exp (mi_reverse_list): Delete.
7278 (mi_check_thread_states): No longer reverse list.
7279
7280 2015-11-24 Pedro Alves <palves@redhat.com>
7281
7282 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7283 use lowercase.
7284
7285 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7286
7287 * gdb.trace/actions.c: Include trace-common.h.
7288 (main): Add a location for a fast tracepoint.
7289 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7290 the normal tracepoints.
7291 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7292
7293 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7294
7295 * save-trace.exp: Factor out code to these...
7296 (gdb_save_tracepoints): New.
7297 (gdb_load_tracepoints): New.
7298 (do_save_load_test): New.
7299
7300 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7301
7302 * gdb.base/asmlabel.exp: New test.
7303 * gdb.base/asmlabel.c: New test case.
7304
7305 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7306
7307 * gdb.base/wrong_frame_bt_full-main.c: New file.
7308 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7309 * gdb.base/wrong_frame_bt_full.exp: New file.
7310
7311 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7312
7313 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7314
7315 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7316
7317 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7318 pstate register when comparing registers values in
7319 sparc64-*-linux-gnu targets to avoid spurious differences.
7320
7321 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7322
7323 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7324
7325 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7326
7327 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7328 as type argument to gdb_compile.
7329 * gdb.base/nested-subp2.exp: Likewise.
7330 * gdb.base/nested-subp3.exp: Likewise.
7331
7332 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7333
7334 * lib/dwarf.exp (_note): Fix left shift of negative value.
7335 * gdb.trace/trace-condition.exp: Likewise.
7336
7337 2015-11-13 Yao Qi <yao.qi@linaro.org>
7338
7339 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7340 comments about d10v.
7341 (test_scalar_returns): Likewise.
7342 * gdb.base/d10v.ld: Remove.
7343 * gdb.base/overlays.exp: Remove the target triplet checking for
7344 d10v-*-*.
7345 * gdb.base/structs.exp (test_struct_returns): Remove the
7346 comments about d10v.
7347 (test_struct_calls): Likewise.
7348
7349 2015-11-13 Yao Qi <yao.qi@linaro.org>
7350
7351 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7352 * gdb.base/gnu_vector.c: Don't include stdio.h.
7353 (main): Don't print res and call add_some_intvecs.
7354
7355 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7356
7357 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7358 macro.
7359 (func5): Removed.
7360 (func4): Use FAST_TRACEPOINT_LABEL.
7361 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7362 macro.
7363 (func): Removed.
7364 (thread_function): Use FAST_TRACEPOINT_LABEL.
7365 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7366 (func): Remove.
7367 (marker): Use FAST_TRACEPOINT_LABEL.
7368 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7369 (pendfunc1): Remove.
7370 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7371 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7372 (foo): Remove.
7373 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7374 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7375 macro.
7376 (func): Remove.
7377 (marker): Use FAST_TRACEPOINT_LABEL.
7378 * gdb.trace/trace-common.h: New header.
7379 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7380 macro.
7381 (func): Remove.
7382 (marker): Use FAST_TRACEPOINT_LABEL.
7383 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7384 (func): Remove.
7385 (thread_function): Use FAST_TRACEPOINT_LABEL.
7386
7387 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7388
7389 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7390 in front.
7391 * gdb.trace/change-loc.exp: Use global pcreg definition.
7392 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7393 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7394 in front.
7395 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7396 * gdb.trace/pending.exp: Likewise.
7397 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7398 * gdb.trace/trace-break.exp: Likewise.
7399 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7400 in front.
7401 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7402 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7403 in front.
7404 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7405
7406 2015-11-09 Joel Brobecker <brobecker@adacore.com>
7407
7408 * gdb.ada/fin_fun_out: New testcase.
7409
7410 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7411
7412 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7413 value associated with DW_AT_byte_size.
7414 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7415 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7416 DW_AT_upper_bound.
7417
7418 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7419
7420 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7421 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7422 version.
7423 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7424 gdb.dwarf2/dw2-canonicalize-type.exp,
7425 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7426 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7427 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7428 provided by gdb_target_symbol_prefix_flags_asm.
7429 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7430 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7431 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7432 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7433 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7434 macros where needed). Use this macro for symbols which require
7435 the prefix provided by SYMBOL_PREFIX.
7436
7437 2015-11-05 Kevin Buettner <kevinb@redhat.com>
7438
7439 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7440 New procs.
7441 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7442 representing expressions, of more than one list element.
7443 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7444 to prepend linker symbol prefix to f.
7445 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7446 table_1 and table_2.
7447 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7448 Likewise, for f and g.
7449 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7450 for ptr.
7451 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7452 for main.
7453 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7454 table_1_ptr and table_2_ptr.
7455
7456 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7457 Joel Brobecker <brobecker@adacore.com>
7458
7459 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7460
7461 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7462
7463 * gdb.reverse/s390-mvcle.c: New test.
7464 * gdb.reverse/s390-mvcle.exp: New file.
7465 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7466
7467 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7468
7469 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7470
7471 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7472
7473 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7474 reaching marker2.
7475 * gdb.reverse/getresuid-reverse.exp: Likewise.
7476 * gdb.reverse/pipe-reverse.exp: Likewise.
7477 * gdb.reverse/readv-reverse.exp: Likewise.
7478 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7479 * gdb.reverse/time-reverse.exp: Likewise.
7480 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7481
7482 2015-10-30 Yao Qi <yao.qi@linaro.org>
7483
7484 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7485 (empty_cycle): Remove.
7486 (main): Don't call empty_cycle. Don't use watch_count_done.
7487 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7488 empty_cycle. Rewrite the code counting HW watchpoints.
7489
7490 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7491
7492 * gdb.reverse/fstatat-reverse.c: New test.
7493 * gdb.reverse/fstatat-reverse.exp: New file.
7494 * gdb.reverse/getresuid-reverse.c: New test.
7495 * gdb.reverse/getresuid-reverse.exp: New file.
7496 * gdb.reverse/pipe-reverse.c: New test.
7497 * gdb.reverse/pipe-reverse.exp: New file.
7498 * gdb.reverse/readv-reverse.c: New test.
7499 * gdb.reverse/readv-reverse.exp: New file.
7500 * gdb.reverse/recvmsg-reverse.c: New test.
7501 * gdb.reverse/recvmsg-reverse.exp: New file.
7502 * gdb.reverse/time-reverse.c: New test.
7503 * gdb.reverse/time-reverse.exp: New file.
7504 * gdb.reverse/waitpid-reverse.c: New test.
7505 * gdb.reverse/waitpid-reverse.exp: New file.
7506
7507 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7508
7509 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7510
7511 2015-10-26 Doug Evans <dje@google.com>
7512
7513 PR symtab/17391
7514 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7515 * gdb.dwarf2/bad-regnum.c: New file.
7516 * gdb.dwarf2/bad-regnum.exp: New file.
7517
7518 2015-10-26 Doug Evans <dje@google.com>
7519
7520 PR python/18938
7521 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7522 file.
7523
7524 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7525
7526 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7527 for a change by "Mention language in compile error message".
7528
7529 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7530
7531 PR python/18073
7532 * gdb.python/py-type.c (C::a_method): New.
7533 (C::a_const_method): New.
7534 (C::a_static_method): New.
7535 (a_function): New.
7536 * gdb.python/py-type.exp (test_fields): Test getting fields
7537 from function and method.
7538
7539 2015-10-21 Keven Boell <keven.boell@intel.com>
7540
7541 * gdb.fortran/vla-alloc-assoc.exp: New file.
7542 * gdb.fortran/vla-datatypes.exp: New file.
7543 * gdb.fortran/vla-datatypes.f90: New file.
7544 * gdb.fortran/vla-history.exp: New file.
7545 * gdb.fortran/vla-ptype-sub.exp: New file.
7546 * gdb.fortran/vla-ptype.exp: New file.
7547 * gdb.fortran/vla-sizeof.exp: New file.
7548 * gdb.fortran/vla-sub.f90: New file.
7549 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7550 * gdb.fortran/vla-value-sub-finish.exp: New file.
7551 * gdb.fortran/vla-value-sub.exp: New file.
7552 * gdb.fortran/vla-value.exp: New file.
7553 * gdb.fortran/vla-ptr-info.exp: New file.
7554 * gdb.mi/mi-vla-fortran.exp: New file.
7555 * gdb.mi/vla.f90: New file.
7556
7557 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7558
7559 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7560 of hardwired timeout value.
7561
7562 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7563 Pedro Alves <palves@redhat.com>
7564
7565 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7566 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7567
7568 2015-10-19 Josh Stone <jistone@redhat.com>
7569
7570 * gdb.base/catch-syscall.c: Include <sched.h>.
7571 (unknown_syscall): New variable.
7572 (main): Trigger a vfork and an unknown syscall.
7573 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7574 (unknown_syscall_number): Likewise.
7575 (check_call_to_syscall): Accept an optional syscall pattern.
7576 (check_return_from_syscall): Likewise.
7577 (check_continue): Likewise.
7578 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7579 (test_catch_syscall_skipping_return): New test toggling off 'catch
7580 syscall' to step over the syscall return, then toggling back on.
7581 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7582 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7583 (do_syscall_tests): Call test_catch_syscall_without_args and
7584 test_catch_syscall_mid_vfork.
7585 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7586 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7587
7588 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
7589
7590 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7591 print g_vE): Add new pass patterns.
7592 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7593 print various symbol names for vptr fields.
7594
7595 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7596
7597 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7598 results.
7599
7600 2015-10-12 Yao Qi <yao.qi@linaro.org>
7601
7602 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7603
7604 2015-10-12 Yao Qi <yao.qi@linaro.org>
7605
7606 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7607 is aarch64*-*-linux*.
7608
7609 2015-10-12 Yao Qi <yao.qi@linaro.org>
7610
7611 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7612 (can_relocate_bcond_true): ... it.
7613 (can_relocate_bcond_false): New function.
7614 (foo): Likewise.
7615 (can_relocate_bl): Likewise.
7616 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7617 can_relocate_bl.
7618
7619 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7620
7621 * gdb.base/nested-addr.c: New file.
7622 * gdb.base/nested-addr.exp: New testcase.
7623
7624 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7625
7626 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7627 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7628 its output. Ignore the output of "record goto begin" and instead
7629 check that GDB is replaying.
7630
7631 2015-10-09 Pedro Alves <palves@redhat.com>
7632
7633 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7634 (top level): Use it in the run with no args test.
7635
7636 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7637
7638 * gdb.dlang/properties.exp: New file.
7639
7640 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7641
7642 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7643 whether or not address 0x1000 is mapped on the target.
7644
7645 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7646
7647 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7648 build.
7649
7650 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7651
7652 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7653 instruction-history test.
7654
7655 2015-09-28 Doug Evans <dje@google.com>
7656
7657 * gdb.base/gcore.c (array_func): Add reference to static_array.
7658
7659 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7660
7661 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7662 source line.
7663
7664 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7665
7666 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7667 short or char as base type.
7668
7669 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7670
7671 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7672 to allow any size enum.
7673
7674 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7675
7676 * gdb.ada/array_ptr_renaming.exp: New testcase.
7677 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7678 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7679
7680 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7681
7682 * gdb.trace/ftrace-lock.c: New file.
7683 * gdb.trace/ftrace-lock.exp: New file.
7684
7685 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7686
7687 * gdb.arch/insn-reloc.c: New file.
7688 * gdb.arch/ftrace-insn-reloc.exp: New file.
7689
7690 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7691
7692 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7693 instruction.
7694 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7695 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7696 * gdb.trace/range-stepping.c: Likewise.
7697 * gdb.trace/trace-break.c: Likewise.
7698 * gdb.trace/trace-mt.c (thread_function): Likewise.
7699 * gdb.trace/ftrace.c (marker): Likewise.
7700 * gdb.trace/trace-condition.c (marker): Likewise.
7701 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7702 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7703 is_aarch64_target.
7704
7705 2015-09-18 Doug Evans <xdje42@gmail.com>
7706
7707 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7708 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7709
7710 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7711
7712 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7713 the breakpoint.
7714
7715 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7716
7717 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7718 the pending breakpoint. Remove timeout override for "Run till
7719 MI pending breakpoint on pendfunc3 on thread 2" test.
7720
7721 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7722
7723 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7724 filename pattern.
7725
7726 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7727
7728 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7729 in breakpoint filename pattern.
7730
7731 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7732
7733 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7734
7735 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7736
7737 * gdb.linespec/explicit.exp: Check for readline support for
7738 tab-completion tests. Fix obvious typo.
7739
7740 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7741
7742 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7743 and replay.
7744
7745 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7746
7747 * gdb.btrace/non-stop.c: New.
7748 * gdb.btrace/non-stop.exp: New.
7749
7750 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7751 Yao Qi <yao.qi@linaro.org>
7752
7753 * gdb.trace/trace-condition.c: New file.
7754 * gdb.trace/trace-condition.exp: New file.
7755
7756 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
7757
7758 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7759 for testing bytecode compilation.
7760
7761 2015-09-16 Pedro Alves <palves@redhat.com>
7762 Sandra Loosemore <sandra@codesourcery.com>
7763
7764 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7765 (SECONDS): Redefine.
7766 (main): Call pthread_kill and alarm early.
7767 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7768 support.
7769 (test): If the target can't hardware step and doesn't support
7770 displaced stepping, increase the timeout.
7771
7772 2015-09-16 Pedro Alves <palves@redhat.com>
7773
7774 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7775 (enable_debug): New procedures.
7776 (test): Use them. Bail out if waiting for threads fails.
7777 (top level): Bail out if a test fails.
7778
7779 2015-09-16 Yao Qi <yao.qi@linaro.org>
7780
7781 * gdb.asm/asm-source.exp: Set asm-arch for
7782 aarch64*-*-* target.
7783 * gdb.asm/aarch64.inc: New file.
7784
7785 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7786
7787 * gdb.ada/array_of_variable_length.exp: New testcase.
7788 * gdb.ada/array_of_variable_length/foo.adb: New file.
7789 * gdb.ada/array_of_variable_length/pck.adb: New file.
7790 * gdb.ada/array_of_variable_length/pck.ads: New file.
7791
7792 2015-09-15 Doug Evans <dje@google.com>
7793
7794 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7795 of function static local variable.
7796
7797 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7798
7799 * gdb.threads/tls-so_extern.exp: New test file.
7800 * gdb.threads/tls-so_extern.c: New test file.
7801 * gdb.threads/tls-so_extern_main.c: New test file.
7802
7803 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7804
7805 * gdb.opt/solib-intra-step-lib.c: New file.
7806 * gdb.opt/solib-intra-step-main.c: New file.
7807 * gdb.opt/solib-intra-step.exp: New file.
7808
7809 2015-09-15 Pedro Alves <palves@redhat.com>
7810
7811 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7812 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7813
7814 2015-09-14 Pedro Alves <palves@redhat.com>
7815
7816 * gdb.base/hook-stop-continue.c: Delete.
7817 * gdb.base/hook-stop-continue.exp: Delete.
7818 * gdb.base/hook-stop-frame.c: Delete.
7819 * gdb.base/hook-stop-frame.exp: Delete.
7820 * gdb.base/hook-stop.c: New file.
7821 * gdb.base/hook-stop.exp: New file.
7822
7823 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7824
7825 * gdb.ada/access_to_packed_array.exp: New testcase.
7826 * gdb.ada/access_to_packed_array/foo.adb: New file.
7827 * gdb.ada/access_to_packed_array/pack.adb: New file.
7828 * gdb.ada/access_to_packed_array/pack.ads: New file.
7829
7830 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7831
7832 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7833 buffer size test.
7834
7835 2015-09-11 Don Breazeal <donb@codesourcery.com>
7836
7837 * gdb.base/foll-exec.c: Add copyright header. Fix
7838 formatting issues.
7839 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7840 (do_exec_tests): Use clean_restart in place of zap_session,
7841 and for test initialization. Fix formatting issues. Use
7842 fail in place of perror.
7843 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7844 an expect statement to match an expression with output from
7845 the program under debug.
7846 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7847 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7848 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7849 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7850 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7851
7852 2015-09-09 Doug Evans <dje@google.com>
7853
7854 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7855
7856 2015-09-09 Doug Evans <dje@google.com>
7857
7858 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7859
7860 2015-09-09 Doug Evans <dje@google.com>
7861
7862 * gdb.base/savedregs.exp: Fix typo.
7863
7864 2015-09-09 Pedro Alves <palves@redhat.com>
7865
7866 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7867
7868 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7869
7870 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7871 command actually switches threads. Give up on remaining
7872 tests if target fails to stop at breakpoint.
7873
7874 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7875
7876 * gdb.ada/funcall_char.exp: New testcase.
7877 * gdb.ada/funcall_char/foo.adb: New file.
7878
7879 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7880
7881 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7882 expected outputs. Add two testcases for completing ambiguous
7883 functions.
7884 * gdb.ada/complete/aux_pck.adb: New file.
7885 * gdb.ada/complete/aux_pck.ads: New file.
7886 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7887 Ambiguous_Func functions.
7888 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7889 * gdb.ada/complete/pck.adb: Likewise.
7890
7891 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7892
7893 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7894 failures to run the test program under GDB.
7895
7896 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7897
7898 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7899 to C.
7900
7901 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7902
7903 * gdb.base/run-after-attach.exp: New test file.
7904 * gdb.base/run-after-attach.c: New test file.
7905
7906 2015-08-26 Don Breazeal <donb@codesourcery.com>
7907
7908 * gdb.base/foll-exec-2.c: New test program.
7909 * gdb.base/foll-exec-2.exp: New test.
7910
7911 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7912
7913 * gdb.base/nested-subp1.exp: New file.
7914 * gdb.base/nested-subp1.c: New file.
7915 * gdb.base/nested-subp2.exp: New file.
7916 * gdb.base/nested-subp2.c: New file.
7917 * gdb.base/nested-subp3.exp: New file.
7918 * gdb.base/nested-subp3.c: New file.
7919
7920 2015-08-24 Pedro Alves <palves@redhat.com>
7921
7922 * gdb.server/connect-without-multi-process.c: New file.
7923 * gdb.server/connect-without-multi-process.exp: New file.
7924
7925 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7926
7927 * gdb.opt/inline-markers.c: Make z int.
7928
7929 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7930
7931 * gdb.opt/inline-markers.c: Make z volatile.
7932
7933 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7934
7935 * gdb.opt/inline-bt.c: New volatile global z.
7936 * gdb.opt/inline-cmds.c: Likewise.
7937 * gdb.opt/inline-locals.c: Likewise.
7938 * gdb.opt/inline-markers.c: New extern global z.
7939 (marker): Use z.
7940 (inline_fn): Likewise.
7941
7942 2015-08-24 Pedro Alves <palves@redhat.com>
7943
7944 * config/m32r-stub.exp: Remove file.
7945 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7946 * gdb.base/call-rt-st.exp: Likewise.
7947 * gdb.base/call-strs.exp: Likewise.
7948 * gdb.base/default.exp: Remove references to h8300-*-hms and
7949 *-*-udi*.
7950 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7951
7952 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7953
7954 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7955 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7956 and "return" use KFAIL when GDB can not read/write the vector
7957 return value.
7958
7959 2015-08-21 Gary Benson <gbenson@redhat.com>
7960
7961 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7962
7963 2015-08-20 Pedro Alves <palves@redhat.com>
7964
7965 * gdb.server/solib-list.exp: No longer expect an interior stop in
7966 non-stop mode.
7967
7968 2015-08-20 Pedro Alves <palves@redhat.com>
7969
7970 * gdb.server/connect-stopped-target.c: New file.
7971 * gdb.server/connect-stopped-target.exp: New file.
7972
7973 2015-08-20 Pedro Alves <palves@redhat.com>
7974
7975 * gdb.dwarf2/comp-unit-lang.exp: New file.
7976 * gdb.dwarf2/comp-unit-lang.c: New file.
7977
7978 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7979
7980 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7981 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7982
7983 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7984
7985 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7986 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7987
7988 2015-08-18 Doug Evans <dje@google.com>
7989 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7990
7991 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7992 skip_python_tests. New arg prompt_regexp.
7993 (skip_python_tests): New function.
7994 * lib/mi-support.exp (mi_skip_python_tests): New function.
7995 * gdb.python/py-mi-objfile-gdb.py: New file.
7996 * gdb.python/py-mi-objfile.c: New file.
7997 * gdb.python/py-mi-objfile.exp: New file.
7998
7999 2015-08-17 Keith Seitz <keiths@redhat.com>
8000
8001 * gdb.linespec/explicit.exp: Move strace test from here ...
8002 * gdb.trace/strace.exp: ... to here.
8003
8004 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
8005
8006 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
8007 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8008
8009 2015-08-14 Doug Evans <xdje42@gmail.com>
8010
8011 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8012 inferior before selecting a new file.
8013
8014 2015-08-14 Doug Evans <xdje42@gmail.com>
8015
8016 * gdb.mi/mi-disassemble.exp: Update.
8017 * gdb.base/disasm-optim.S: New file.
8018 * gdb.base/disasm-optim.c: New file.
8019 * gdb.base/disasm-optim.h: New file.
8020 * gdb.base/disasm-optim.exp: New file.
8021
8022 2015-08-14 Keith Seitz <keiths@redhat.com>
8023
8024 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8025 "evaluated-by".
8026
8027 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8028
8029 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8030
8031 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8032
8033 * gdb.ada/fun_renaming.exp: New testcase.
8034 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8035 * gdb.ada/fun_renaming/pack.adb: New file.
8036 * gdb.ada/fun_renaming/pack.ads: New file.
8037
8038 2015-08-12 Keith Seitz <keiths@redhat.com>
8039
8040 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8041 gdb_get_line_number.
8042
8043 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8044
8045 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8046 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8047 gdb.base/dso2dso.exp: New files.
8048
8049 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8050 Pedro Alves <palves@redhat.com>
8051 Keith Seitz <keiths@redhat.com>
8052
8053 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8054 GDBFLAGS.
8055
8056 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8057
8058 * gdb.base/gdbhistsize-history.exp
8059 (test_histsize_history_setting): Use save_vars.
8060 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8061 Use save_vars.
8062 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8063 * gdb.base/readline.exp: Use save_vars.
8064
8065 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8066
8067 * lib/gdb.exp (save_vars): New proc.
8068
8069 2015-08-11 Keith Seitz <keiths@redhat.com>
8070
8071 * gdb.base/help.exp: Update help_breakpoint_text.
8072
8073 2015-08-11 Keith Seitz <keiths@redhat.com>
8074
8075 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8076 (at toplevel): Call test_explicit_breakpoints.
8077 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8078 breakpoints.
8079 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8080 breakpoint conditions, "-cond".
8081
8082 2015-08-11 Keith Seitz <keiths@redhat.com>
8083
8084 * gdb.linespec/3explicit.c: New file.
8085 * gdb.linespec/cpexplicit.cc: New file.
8086 * gdb.linespec/cpexplicit.exp: New file.
8087 * gdb.linespec/explicit.c: New file.
8088 * gdb.linespec/explicit.exp: New file.
8089 * gdb.linespec/explicit2.c: New file.
8090 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8091 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8092 before using in the matching pattern.
8093 Clarify that `prefix' is a regular expression.
8094
8095 2015-08-11 Keith Seitz <keiths@redhat.com>
8096
8097 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8098 test.
8099 Add tests for missing ",FMT" and ",".
8100
8101 2015-08-10 Doug Evans <dje@google.com>
8102 Keith Seitz <keiths@redhat.com>
8103
8104 PR gdb/17960
8105 * gdb.base/completion.exp: Add location completer tests.
8106
8107 2015-08-07 Pedro Alves <palves@redhat.com>
8108
8109 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8110 tests here.
8111 (top level): Run do_test with and without displaced stepping.
8112
8113 2015-08-07 Pedro Alves <palves@redhat.com>
8114
8115 * gdb.base/valgrind-disp-step.c: New file.
8116 * gdb.base/valgrind-disp-step.exp: New file.
8117
8118 2015-08-07 Pedro Alves <palves@redhat.com>
8119
8120 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8121 Delete function.
8122 (main): Add alarm. Run an infinite loop instead of calling
8123 wait_threads.
8124 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8125 comment.
8126 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8127 Delete function.
8128 (main): Add alarm. Run an infinite loop instead of calling
8129 wait_threads.
8130 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8131 comment.
8132
8133 2015-08-07 Pedro Alves <palves@redhat.com>
8134
8135 * gdb.base/checkpoint-ns.exp: New file.
8136 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8137 standard_testfile.
8138
8139 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8140
8141 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8142 * gdb.btrace/instruction_history.exp: Update.
8143 * gdb.btrace/tsx.exp: New.
8144 * gdb.btrace/tsx.c: New.
8145
8146 2015-08-06 Pedro Alves <palves@redhat.com>
8147
8148 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8149 increase timeout.
8150 * gdb.reverse/until-precsave.exp: Bump timeouts.
8151
8152 2015-08-06 Pedro Alves <palves@redhat.com>
8153
8154 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8155
8156 2015-08-06 Pedro Alves <palves@redhat.com>
8157
8158 PR gdb/18749
8159 * gdb.threads/process-dies-while-handling-bp.c: New file.
8160 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8161
8162 2015-08-06 Pedro Alves <palves@redhat.com>
8163
8164 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8165 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8166
8167 2015-08-05 Pedro Alves <palves@redhat.com>
8168
8169 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8170 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8171
8172 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8173
8174 * gdb.base/bp-permanent.exp: Report test as unsupported if
8175 the target cannot stop at the permanent breakpoint.
8176
8177 2015-08-03 Doug Evans <dje@google.com>
8178
8179 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8180 10000.
8181
8182 2015-08-03 Doug Evans <dje@google.com>
8183
8184 * Makefile.in (workers/%.worker, build-perf): New rule.
8185 (GDB_PERFTEST_MODE): New variable.
8186 (check-perf): Use it.
8187 (clean): Clean up gdb.perf parallel build subdirs.
8188 * lib/build-piece.exp: New file.
8189 * lib/gdb.exp (make_gdb_parallel_path): New function
8190 (standard_output_file, standard_temp_file): Call it.
8191 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8192 of $GDB_PARALLEL.
8193 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8194
8195 2015-08-03 Doug Evans <dje@google.com>
8196
8197 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8198 (LOG_FILE_NAME): New global.
8199 (TextReporter.__init__): Initialize self.txt_sum.
8200 (TextReporter.report): Add support for multiple data-points.
8201 Move report to perftest.sum, put raw data in perftest.log.
8202 (TextReporter.start): Open sum and log files.
8203 (TextReporter.end): Close sum and log files.
8204 * gdb.perf/lib/perftest/testresult.py
8205 (SingleStatisticTestResult.record): Handle multiple data-points.
8206
8207 2015-07-31 Pedro Alves <palves@redhat.com>
8208
8209 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8210 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8211 kill_wait_spawned_process instead of explicit "kill -9".
8212 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8213 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8214 kill_wait_spawned_process.
8215 * gdb.base/attach-twice.exp: Likewise.
8216 * gdb.base/attach.exp: Likewise.
8217 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8218 gdb_test_multiple.
8219 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8220 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8221 kill_wait_spawned_process.
8222 * gdb.base/valgrind-infcall.exp: Likewise.
8223 * gdb.multi/multi-attach.exp: Likewise.
8224 * gdb.python/py-prompt.exp: Likewise.
8225 * gdb.python/py-sync-interp.exp: Likewise.
8226 * gdb.server/ext-attach.exp: Likewise.
8227 * gdb.threads/attach-into-signal.exp (corefunc): Use
8228 spawn_wait_for_attach, spawn_id_get_pid and
8229 kill_wait_spawned_process.
8230 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8231 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8232 spawn_id_get_pid and kill_wait_spawned_process.
8233 * gdb.threads/attach-stopped.exp (corefunc): Use
8234 spawn_wait_for_attach, spawn_id_get_pid and
8235 kill_wait_spawned_process.
8236 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8237 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8238 kill_wait_spawned_process instead of explicit "kill -9".
8239 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8240 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8241 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8242 processes. Don't map cygwin/windows pids here. Now returns a
8243 spawn id list.
8244
8245 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8246
8247 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8248 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8249 correct patch.
8250
8251 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8252
8253 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8254
8255 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8256
8257 Reapply:
8258 2014-05-21 Mark Wielaard <mjw@redhat.com>
8259
8260 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8261
8262 2015-07-30 Pedro Alves <palves@redhat.com>
8263
8264 * linux-low.c (handle_extended_wait): Set the child's last
8265 reported status to TARGET_WAITKIND_STOPPED.
8266
8267 2015-07-30 Pedro Alves <palves@redhat.com>
8268
8269 PR threads/18600
8270 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8271 only shows inferior 1.
8272
8273 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8274 Pedro Alves <palves@redhat.com>
8275
8276 PR threads/18600
8277 * gdb.threads/fork-plus-threads.c: New file.
8278 * gdb.threads/fork-plus-threads.exp: New file.
8279
8280 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8281
8282 * gdb.base/batch-preserve-term-settings.exp
8283 (test_terminal_settings_preserved_after_cli_exit): Use
8284 send_quit_command.
8285
8286 2015-07-29 Pedro Alves <palves@redhat.com>
8287 Don Breazeal <donb@codesourcery.com>
8288
8289 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8290 output from both inferior_spawn_id and gdb_spawn_id.
8291
8292 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8293
8294 * gdb.threads/attach-into-signal.exp (corefunc): Use
8295 with_test_prefix on nested loops, uniquefying the test messages.
8296
8297 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8298
8299 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8300 commit.
8301
8302 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8303
8304 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8305 New proc.
8306 (test_terminal_settings_preserved_after_sigterm): New test.
8307
8308 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8309
8310 * gdb.base/batch-preserve-term-settings.exp
8311 (test_terminal_settings_preserved_after_cli_exit): New test.
8312
8313 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8314
8315 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8316 manipulation of saved_gdbflags.
8317 (test_terminal_settings_preserved): Remove global declaration of
8318 the unused variable pagination_prompt. Remove manipulation of
8319 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8320 GDBFLAGS.
8321
8322 2015-07-29 Pedro Alves <palves@redhat.com>
8323
8324 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8325
8326 2015-07-29 Pedro Alves <palves@redhat.com>
8327
8328 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8329 at the top.
8330
8331 2015-07-29 Pedro Alves <palves@redhat.com>
8332
8333 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8334 (main): Call gdb_unbuffer_output.
8335 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8336 (main): Call gdb_unbuffer_output.
8337 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8338 (main): Call gdb_unbuffer_output.
8339 * gdb.base/call-strs.exp: Adjust to step over the
8340 gdb_unbuffer_output call.
8341 * gdb.base/catch-gdb-caused-signals.c: Include
8342 "../lib/unbuffer_output.c".
8343 (main): Call gdb_unbuffer_output.
8344 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8345 (main): Call gdb_unbuffer_output.
8346 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8347 (main): Call gdb_unbuffer_output.
8348 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8349 (main): Call gdb_unbuffer_output.
8350 * gdb.base/shlib-call.exp: Adjust to step over the
8351 gdb_unbuffer_output call.
8352 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8353 (main): Call gdb_unbuffer_output.
8354 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8355 (main): Call gdb_unbuffer_output.
8356 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8357 (main): Rename to ...
8358 (test): ... this.
8359 (main): Reimplement.
8360 * gdb.base/varargs.exp: Run to test instead of to main.
8361 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8362 (main): Call gdb_unbuffer_output.
8363
8364 2015-07-29 Pedro Alves <palves@redhat.com>
8365
8366 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8367 factore out from mi_continue_dprintf. For call-style dprintfs,
8368 expect dprintf output out of $inferior_spawn_id.
8369 (mi_continue_dprintf): Use mi_expect_dprintf.
8370 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8371 (main): Call gdb_unbuffer_output.
8372
8373 2015-07-29 Pedro Alves <palves@redhat.com>
8374
8375 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8376 (default_mi_gdb_start): Set inferior_spawn_id instead of
8377 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8378 gdb_spawn_id.
8379 (mi_gdb_test): Always expect inferior output from both
8380 $inferior_spawn_id and $gdb_spawn_id.
8381
8382 2015-07-29 Pedro Alves <palves@redhat.com>
8383
8384 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8385 send_inferior and $inferior_spawn_id.
8386
8387 2015-07-29 Pedro Alves <palves@redhat.com>
8388
8389 * gdb.gdb/complaints.exp (test_initial_complaints)
8390 (test_serial_complaints, test_short_complaints): Use
8391 gdb_test_stdio.
8392 (test_empty_complaint): Handle $inferior_spawn_id !=
8393 $gdb_spawn_id.
8394
8395 2015-07-29 Pedro Alves <palves@redhat.com>
8396
8397 * gdb.base/varargs.exp: Use gdb_test_stdio.
8398
8399 2015-07-29 Pedro Alves <palves@redhat.com>
8400
8401 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8402
8403 2015-07-29 Pedro Alves <palves@redhat.com>
8404
8405 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8406
8407 2015-07-29 Pedro Alves <palves@redhat.com>
8408
8409 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8410 parameter into two new parameters, "inf_result" and "gdb_result".
8411 Expect inferior output and gdb output from $inferior_spawn_id and
8412 $gdb_spawn_id, respectively. Adjust all callers.
8413
8414 2015-07-29 Pedro Alves <palves@redhat.com>
8415
8416 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8417 of gdb_test_sequence.
8418
8419 2015-07-29 Pedro Alves <palves@redhat.com>
8420
8421 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8422 (saw_spurious_output): Expect inferior output from
8423 $inferior_spawn_id. Use gdb_test_stdio.
8424
8425 2015-07-29 Pedro Alves <palves@redhat.com>
8426
8427 * gdb.base/dprintf.exp: Use standard_testfile. Change
8428 prepare_for_testing call.
8429 (srcfile): Don't set.
8430 (restart): New procedure.
8431 (test_dprintf): New procecure, use to continue over dprintfs.
8432 (test_call, test_agent): New procedures, tests moved here.
8433 Restart gdb and recreate dprintfs. Adjust expected output.
8434
8435 2015-07-29 Pedro Alves <palves@redhat.com>
8436
8437 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8438
8439 2015-07-29 Pedro Alves <palves@redhat.com>
8440
8441 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8442
8443 2015-07-29 Pedro Alves <palves@redhat.com>
8444
8445 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8446 gdb_test_stdio.
8447
8448 2015-07-29 Pedro Alves <palves@redhat.com>
8449
8450 * lib/gdb.exp (gdb_test_stdio): New procedure.
8451
8452 2015-07-29 Pedro Alves <palves@redhat.com>
8453
8454 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8455
8456 2015-07-29 Pedro Alves <palves@redhat.com>
8457
8458 * gdb.base/call-signal-resume.exp: Remove check for
8459 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8460 * gdb.base/unwindonsignal.exp: Likewise.
8461 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8462 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8463
8464 2015-07-29 Pedro Alves <palves@redhat.com>
8465
8466 * gdb.base/siginfo-addr.c (pass): New function.
8467 (handler): Call it iff si_addr is correct.
8468 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8469 Set a breakpoint at "pass" and continue to it.
8470
8471 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8472
8473 * gdb.python/py-objfile.exp: Make some tests have unique names.
8474 * gdb.python/py-pp-registration.exp: Likewise.
8475
8476 2015-07-28 Pedro Alves <palves@redhat.com>
8477
8478 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8479
8480 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8481
8482 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8483
8484 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8485
8486 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8487
8488 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8489
8490 * gdb.base/gdb-sigterm-2.exp: New test.
8491
8492 2015-07-25 Doug Evans <xdje42@gmail.com>
8493
8494 Revert:
8495 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8496 (workers/%.worker, build-perf): New rule.
8497 (GDB_PERFTEST_MODE): New variable.
8498 (check-perf): Use it.
8499 (clean): Clean up gdb.perf parallel build subdirs.
8500 * lib/build-piece.exp: New file.
8501 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8502 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8503 name.
8504 (standard_temp_file): Ditto.
8505 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8506 of $GDB_PARALLEL.
8507
8508 2015-07-24 Doug Evans <dje@google.com>
8509
8510 * gdb.perf/lib/perftest/utils.py: New file.
8511 * gdb.perf/gm-hello.cc: New file.
8512 * gdb.perf/gm-pervasive-typedef.cc: New file.
8513 * gdb.perf/gm-pervasive-typedef.h: New file.
8514 * gdb.perf/gm-std.cc: New file.
8515 * gdb.perf/gm-std.h: New file.
8516 * gdb.perf/gm-use-cerr.cc: New file.
8517 * gdb.perf/gm-utils.h: New file.
8518 * gdb.perf/gmonster-null-lookup.py: New file.
8519 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8520 * gdb.perf/gmonster-print-cerr.py: New file.
8521 * gdb.perf/gmonster-ptype-string.py: New file.
8522 * gdb.perf/gmonster-runto-main.py: New file.
8523 * gdb.perf/gmonster-select-file.py: New file.
8524 * gdb.perf/gmonster1-null-lookup.exp: New file.
8525 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8526 * gdb.perf/gmonster1-print-cerr.exp: New file.
8527 * gdb.perf/gmonster1-ptype-string.exp: New file.
8528 * gdb.perf/gmonster1-runto-main.exp: New file.
8529 * gdb.perf/gmonster1-select-file.exp: New file.
8530 * gdb.perf/gmonster1.cc: New file.
8531 * gdb.perf/gmonster1.exp: New file.
8532 * gdb.perf/gmonster2-null-lookup.exp: New file.
8533 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8534 * gdb.perf/gmonster2-print-cerr.exp: New file.
8535 * gdb.perf/gmonster2-ptype-string.exp: New file.
8536 * gdb.perf/gmonster2-runto-main.exp: New file.
8537 * gdb.perf/gmonster2-select-file.exp: New file.
8538 * gdb.perf/gmonster2.cc: New file.
8539 * gdb.perf/gmonster2.exp: New file.
8540
8541 2015-07-24 Doug Evans <dje@google.com>
8542
8543 * gdb.perf/README: New file.
8544 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8545 * lib/gen-perf-test.exp: New file.
8546
8547 2015-07-24 Doug Evans <dje@google.com>
8548
8549 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8550 (PerfTest::startup): New function.
8551 (PerfTest::run): Return result of calling body.
8552 (PerfTest::assemble): Rewrite.
8553 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8554 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8555 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8556 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8557 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8558
8559 2015-07-24 Doug Evans <dje@google.com>
8560
8561 * lib/gdb.exp (clean_restart): Make executable optional.
8562
8563 2015-07-24 Doug Evans <dje@google.com>
8564
8565 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8566 compiler_info references.
8567 * gdb.cp/temargs.exp: Ditto.
8568 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8569 (get_compiler_info): Early exit if already computed. Set compiler_info
8570 to "unknown" if there was a problem.
8571 (test_compiler_info): Add function comment. Call get_compiler_info.
8572
8573 2015-07-24 Doug Evans <dje@google.com>
8574
8575 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8576 (workers/%.worker, build-perf): New rule.
8577 (GDB_PERFTEST_MODE): New variable.
8578 (check-perf): Use it.
8579 (clean): Clean up gdb.perf parallel build subdirs.
8580 * lib/build-piece.exp: New file.
8581 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8582 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8583 name.
8584 (standard_temp_file): Ditto.
8585 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8586 of $GDB_PARALLEL.
8587
8588 2015-07-24 Doug Evans <dje@google.com>
8589
8590 * lib/future.exp (gdb_default_target_compile): New option
8591 "early_flags".
8592 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8593 --as-needed.
8594
8595 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8596
8597 * gdb.base/catch-syscall.exp: Call gdb_exit before
8598 gdb_skip_xml_test.
8599
8600 2015-07-24 Pedro Alves <palves@redhat.com>
8601
8602 * gdb.python/py-events.exp: Accept output between the stop event
8603 and the prompt.
8604 * gdb.python/py-evsignal.exp: Likewise.
8605 * gdb.python/py-evthreads.exp: Likewise.
8606
8607 2015-07-24 Pedro Alves <palves@redhat.com>
8608
8609 PR gdb/18717
8610 * gdb.threads/non-ldr-exit.c: New file.
8611 * gdb.threads/non-ldr-exit.exp: New file.
8612
8613 2015-07-24 Yao Qi <yao.qi@linaro.org>
8614
8615 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8616 restarting process.
8617
8618 2015-07-24 Yao Qi <yao.qi@linaro.org>
8619
8620 * gdb.server/ext-restart.exp: New file.
8621
8622 2015-07-24 Yao Qi <yao.qi@linaro.org>
8623
8624 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8625 argument options.
8626 * gdb.server/ext-wrapper.exp: New file.
8627
8628 2015-07-23 Doug Evans <dje@google.com>
8629
8630 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8631 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8632
8633 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8634
8635 * gdb.ada/var_arr_typedef.exp: New testcase.
8636 * gdb.ada/var_arr_typedef/pack.adb: New file.
8637 * gdb.ada/var_arr_typedef/pack.ads: New file.
8638 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8639
8640 2015-07-20 Joel Brobecker <brobecker@adacore.com>
8641
8642 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8643
8644 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8645
8646 * gdb.arch/i386-biarch-core.exp: Replace istarget
8647 by "complete set gnutarget". Remove expectation for the "core-file"
8648 command.
8649
8650 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8651
8652 Revert the previous commit:
8653 Tests for validate symbol file using build-id.
8654
8655 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8656
8657 Tests for validate symbol file using build-id.
8658 * gdb.base/solib-mismatch-lib.c: New file.
8659 * gdb.base/solib-mismatch-libmod.c: New file.
8660 * gdb.base/solib-mismatch.c: New file.
8661 * gdb.base/solib-mismatch.exp: New file.
8662
8663 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8664
8665 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8666 nios2-*-linux*.
8667 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8668 * gdb.base/siginfo.exp: Likewise.
8669 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8670
8671 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8672
8673 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8674 Move it to ...
8675 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8676 ... here.
8677 * gdb.trace/range-stepping.exp: Check that the target supports
8678 range stepping.
8679
8680 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8681
8682 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8683
8684 2015-07-14 Pedro Alves <palves@redhat.com>
8685
8686 * gdb.base/killed-outside.exp: New file.
8687 * gdb.base/killed-outside.c: New file.
8688
8689 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8692 (n at main): New.
8693 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8694
8695 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8696
8697 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8698 infcall tests instead of setting up for KFAIL.
8699
8700 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8701
8702 * gdb.btrace/record_goto-step.exp: New.
8703
8704 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8705
8706 PR compile/18484
8707 * gdb.compile/compile.c (struct struct_type): Add volatile to
8708 selffield's type.
8709 * gdb.compile/compile.exp
8710 (compile code struct_object.selffield = &struct_object): Skip further
8711 struct_object tests if this one xfails.
8712
8713 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
8714
8715 PR exp/18617
8716 * gdb.trace/ax.exp: Add test.
8717
8718 2015-07-07 Yao Qi <yao.qi@linaro.org>
8719
8720 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8721 instead of istarget "aarch64*-*-*".
8722 * gdb.arch/aarch64-fp.exp: Likewise.
8723 * gdb.base/float.exp: Likewise.
8724 * gdb.reverse/aarch64.exp: Likewise.
8725 * lib/gdb.exp (is_aarch64_target): New proc.
8726
8727 2015-07-07 Yao Qi <yao.qi@linaro.org>
8728
8729 * lib/gdb.exp (is_aarch32_target): New proc.
8730 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8731 instead of "istarget "arm*-*-*"".
8732 * gdb.arch/arm-disp-step.exp: Likewise.
8733 * gdb.arch/thumb-bx-pc.exp: Likewise.
8734 * gdb.arch/thumb-prologue.exp: Likewise.
8735 * gdb.arch/thumb-singlestep.exp: Likewise.
8736 * gdb.base/disp-step-syscall.exp: Likewise.
8737 * gdb.base/float.exp: Likewise.
8738
8739 2015-07-07 Yao Qi <yao.qi@linaro.org>
8740
8741 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8742 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8743
8744 2015-07-07 Yao Qi <yao.qi@linaro.org>
8745
8746 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8747 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8748 if it exists.
8749 * gdb.multi/multi-arch.exp: Likewise.
8750
8751 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8752
8753 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8754 print.
8755
8756 2015-07-07 Yao Qi <yao.qi@linaro.org>
8757
8758 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8759
8760 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8761
8762 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8763 '[' and ']' characters.
8764
8765 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8766
8767 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8768
8769 2015-06-29 Pedro Alves <palves@redhat.com>
8770
8771 PR threads/18127
8772 * gdb.threads/hand-call-new-thread.c: New file.
8773 * gdb.threads/hand-call-new-thread.c: New file.
8774
8775 2015-06-26 Keith Seitz <keiths@redhat.com>
8776 Doug Evans <dje@google.com>
8777
8778 PR 16253
8779 * gdb.cp/var-tag-2.cc: New file.
8780 * gdb.cp/var-tag-3.cc: New file.
8781 * gdb.cp/var-tag-4.cc: New file.
8782 * gdb.cp/var-tag.cc: New file.
8783 * gdb.cp/var-tag.exp: New file.
8784
8785 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8786
8787 * gdb.base/history-duplicates.exp: New test.
8788
8789 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8790
8791 * gdb.base/completion.exp: Test the completion of the "focus"
8792 command.
8793
8794 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8795
8796 * gdb.arch/amd64-prologue-skip.S: New file.
8797 * gdb.arch/amd64-prologue-skip.exp: New file.
8798
8799 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8800
8801 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8802 is_address_zero_readable check.
8803
8804 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8805
8806 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8807 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8808
8809 2015-06-24 Yao Qi <yao.qi@linaro.org>
8810
8811 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8812 linux targets.
8813
8814 2015-06-24 Yao Qi <yao.qi@linaro.org>
8815
8816 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8817 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8818 * gdb.base/siginfo-thread.exp: Likewise.
8819
8820 2015-06-22 Yao Qi <yao.qi@linaro.org>
8821
8822 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8823
8824 2015-06-22 Yao Qi <yao.qi@linaro.org>
8825
8826 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8827 aarch64*-*-*.
8828 (skip_hw_watchpoint_tests): Likewise.
8829
8830 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8831
8832 * gdb.base/gdbinit-history.exp: Test the interaction between
8833 setting GDBHISTSIZE and setting the history size via .gdbinit.
8834
8835 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8836
8837 PR gdb/16999
8838 * gdb.base/gdbhistsize-history.exp: New test.
8839
8840 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8841
8842 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8843 with GDBHISTSIZE.
8844 * gdb.base/readline.exp: Likewise.
8845
8846 2015-06-17 Yao Qi <yao.qi@linaro.org>
8847
8848 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8849 line.
8850
8851 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8852
8853 * gdb.base/gdbinit-history.exp: Add test case to check that
8854 an unlimited history file does not get truncated on exit.
8855
8856 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8857
8858 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8859 (VECTOR): New macro. Use it...
8860 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8861 ...for these typedefs.
8862 (int8, char1, int1, double1): New typedefs.
8863 (struct just_int2, struct two_int2): New structures.
8864 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8865 (add_structvecs, add_singlevecs): New functions.
8866 (main): Call add_some_intvecs twice.
8867 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8868 the compile and exit upon failure. Try compiling for the "native"
8869 architecture. Test inferior function calls with vector arguments
8870 and vector return value handling with "finish" and "return".
8871
8872 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8873
8874 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8875 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8876 PE file.
8877 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8878
8879 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8880
8881 PR breakpoints/16465
8882 * gdb.mi/mi-dprintf-pending.c: New file.
8883 * gdb.mi/mi-dprintf-pending.exp: New test.
8884 * gdb.mi/mi-dprintf-pendshr.c: New file.
8885
8886 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8887 Mircea Gherzan <mircea.gherzan@intel.com>
8888
8889 * gdb.arch/i386-mpx-map.c: New file.
8890 * gdb.arch/i386-mpx-map.exp: New File.
8891
8892 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8893
8894 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8895 * gdb.arch/i386-mpx.exp: Indentation fixed.
8896
8897 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8898
8899 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8900 function and improved indentation.
8901 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8902 gdb_test_multiple. Added additional tests to skip the test.
8903
8904 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8905
8906 * gdb.arch/i386-avx512.c: Change path in include file.
8907 * gdb.arch/i386-avx512.exp: Change include dir path
8908 compilation flag.
8909 * gdb.arch/i386-mpx.c: Change path in include file.
8910 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8911 flag.
8912
8913 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8914
8915 * gdb.compile/compile-print.exp (compile print *vararray@3)
8916 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8917
8918 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8919
8920 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8921 (do not keep jit in memory): ... this.
8922 (expect 5): Change it to ...
8923 (expect no 5): ... this.
8924
8925 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8926
8927 PR gdb/15564
8928 * gdb.mi/mi-detach.exp: New file.
8929
8930 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8931
8932 PR symtab/18392
8933 * gdb.arch/amd64-tailcall-self.S: New file.
8934 * gdb.arch/amd64-tailcall-self.c: New file.
8935 * gdb.arch/amd64-tailcall-self.exp: New file.
8936
8937 2015-05-28 Don Breazeal <donb@codesourcery.com>
8938
8939 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8940 tests for remote targets by checking is_target_gdbserver.
8941
8942 2015-05-27 Doug Evans <dje@google.com>
8943
8944 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8945 * gdb.dwarf2/opaque-type-lookup.c: New file.
8946 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8947
8948 2015-05-26 Doug Evans <dje@google.com>
8949
8950 * gdb.cp/iostream.cc: New file.
8951 * gdb.cp/iostream.exp: New file.
8952
8953 2015-05-26 Doug Evans <dje@google.com>
8954
8955 * gdb.dwarf2/dw2-op-call.exp: Update.
8956 * gdb.dwarf2/dw4-sig-types.exp: Update.
8957 * gdb.dwarf2/implptr.exp: Update.
8958 * gdb.mi/mi-cmd-param-changed.exp: Update.
8959
8960 2015-05-26 Doug Evans <dje@google.com>
8961
8962 * gdb.python/py-lazy-string.c: New file.
8963 * gdb.python/py-lazy-string.exp: New file.
8964 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8965 (main): Update. Add estring3.
8966 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8967 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8968
8969 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8970 Yao Qi <yao.qi@linaro.org>
8971
8972 * gdb.reverse/aarch64.c: New.
8973 * gdb.reverse/aarch64.exp: New.
8974
8975 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8976
8977 * lib/gdb.exp (supports_process_record): Return true for
8978 aarch64*-linux*.
8979 (supports_reverse): Likewise.
8980
8981 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8982
8983 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8984 Use with_test_prefix.
8985
8986 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8987
8988 * gdb.base/completion.exp: Add test for completion of layout
8989 names.
8990
8991 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8992
8993 * lib/gdb.exp (skip_tui_tests): New proc.
8994 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8995
8996 2015-05-19 Pedro Alves <palves@redhat.com>
8997
8998 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8999 Save the whole env array instead of just HOME. Unset HISTSIZE in
9000 the environment while testing. Restore whole environment
9001 afterwards.
9002
9003 2015-05-16 Doug Evans <xdje42@gmail.com>
9004
9005 * gdb.guile/scm-ports.c: New file.
9006 * gdb.guile/scm-ports.exp: Add memory port tests.
9007
9008 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9009
9010 * gdb.compile/compile-print.c: New file.
9011 * gdb.compile/compile-print.exp: New file.
9012
9013 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9014
9015 * gdb.compile/compile-ops.exp: Cast param to void.
9016 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9017 (compile code struct_object.selffield = &struct_object): Add xfail.
9018
9019 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9020
9021 * gdb.ada/arr_enum_with_gap: New testcase.
9022
9023 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9024
9025 * gdb.ada/byte_packed_arr: New testcase.
9026
9027 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9028
9029 * gdb.ada/pckd_neg: New testcase.
9030
9031 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9032
9033 PR gdb/17820
9034 * gdb.base/gdbinit-history.exp: New test.
9035 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9036 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9037
9038 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9039
9040 * gdb.python/py-xmethods.cc: Enhance test case.
9041 * gdb.python/py-xmethods.exp: New tests.
9042 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9043 function.
9044 (B_indexoper): Likewise.
9045 (global_dm_list) : Add new xmethod worker functions.
9046
9047 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9048
9049 * gdb.base/coredump-filter.exp: Correctly unset
9050 "coredump_var_addr" array.
9051
9052 2015-05-08 Pedro Alves <palves@redhat.com>
9053
9054 * gdb.server/non-existing-program.exp: Unset spawn_id.
9055
9056 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9057
9058 PR python/18291
9059 * gdb.python/py-xmethods.exp: Add tests.
9060
9061 2015-05-08 Yao Qi <yao.qi@linaro.org>
9062
9063 PR gdb/18208
9064 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9065 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9066 function set_coredump_filter, and remove remote_exec call.
9067 Remove argument ipid. Callers update.
9068 (top level): Don't get inferior's PID.
9069
9070 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9071
9072 * gdb.base/watch_thread_num.exp: Skip test on targets without
9073 access watchpoints.
9074
9075 2015-05-06 Pedro Alves <palves@redhat.com>
9076
9077 PR server/18081
9078 * gdb.server/non-existing-program.exp: New file.
9079
9080 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9081
9082 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9083
9084 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9085
9086 * gdb.ada/out_of_line_in_inlined: New testcase.
9087
9088 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9089
9090 * gdb.ada/var_rec_arr: New testcase.
9091
9092 2015-04-30 Yao Qi <yao.qi@linaro.org>
9093
9094 * gdb.base/break-idempotent.exp: If
9095 skip_hw_watchpoint_multi_tests returns true, skip the tests
9096 on "rwatch" and "awatch".
9097
9098 2015-04-30 Yao Qi <yao.qi@linaro.org>
9099
9100 * gdb.base/relativedebug.exp: Invoke gdb command
9101 "info sharedlibrary", and if libc.so doesn't have debug info,
9102 skip the test.
9103
9104 2015-04-29 Doug Evans <dje@google.com>
9105
9106 * gdb.python/py-xmethods.exp: Add ptype tests.
9107 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9108 get_result_type method.
9109
9110 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9111
9112 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9113 the target does not support hardware watchpoints.
9114
9115 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9116
9117 * gdb.base/break-always.exp: Abort testing if writing to memory
9118 causes an error.
9119
9120 2015-04-28 Doug Evans <dje@google.com>
9121
9122 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9123 * gdb.python/py-pp-registration.exp: ... here. New file.
9124 * gdb.python/py-pp-registration.c: New file.
9125 * gdb.python/py-pp-registration.py: New file.
9126
9127 2015-04-28 Doug Evans <dje@google.com>
9128
9129 * gdb.python/py-bad-printers.c: New file.
9130 * gdb.python/py-bad-printers.py: New file.
9131 * gdb.python/py-bad-printers.exp: New file.
9132
9133 2015-04-28 Sasha Smundak <asmundak@google.com>
9134
9135 * gdb.python/py-type.exp: New test.
9136
9137 2015-04-28 Andy Wingo <wingo@igalia.com>
9138
9139 * gdb.python/py-parameter.exp:
9140 * gdb.guile/scm-parameter.exp: Escape the path that we are
9141 matching against, as it might contain characters that are special
9142 to regular expressions.
9143
9144 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9145
9146 * gdb.ada/rec_comp: New testcase.
9147
9148 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9149
9150 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9151 before using it.
9152
9153 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9154
9155 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9156 new tests for verilog output.
9157
9158 2015-04-24 Yao Qi <yao.qi@linaro.org>
9159
9160 * boards/remote-gdbserver-on-localhost.exp: New file.
9161
9162 2015-04-23 Pedro Alves <palves@redhat.com>
9163
9164 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9165 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9166 "end of file", remove $inferior_spawn_id from the indirect list.
9167
9168 2015-04-23 Pedro Alves <palves@redhat.com>
9169
9170 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9171
9172 2015-04-23 Pedro Alves <palves@redhat.com>
9173
9174 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9175 on $any_spawn_id instead of only on $gdb_spawn_id.
9176
9177 2015-04-21 Pierre Muller <muller@sourceware.org>
9178
9179 PR pascal/17815
9180 * lib/pascal.exp (gpc_compile): Add new option "class".
9181 (fpc_compile): Likewise.
9182 * gdb.pascal/case-insensitive-symbols.pas: New file.
9183 * gdb.pascal/case-insensitive-symbols.exp: New file.
9184
9185 2015-04-20 Gary Benson <gbenson@redhat.com>
9186
9187 * gdb.base/attach.exp: Fix three extended remote failures.
9188
9189 2015-04-17 Gary Benson <gbenson@redhat.com>
9190
9191 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9192 the main executable over the remote protocol.
9193
9194 2015-04-16 Pedro Alves <palves@redhat.com>
9195
9196 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9197 a new gdbserver if gdbserver_reconnect_p is set.
9198
9199 2015-04-16 Pedro Alves <palves@redhat.com>
9200
9201 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9202 is set, don't exit gdbserver.
9203
9204 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9205
9206 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9207 appropriate .insn, such that an older assembler can be used.
9208 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9209 the z/Architecture instruction set on 31-bit targets as well.
9210
9211 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9212
9213 * gdb.go/handcall.exp: Remove all logic related to the first
9214 breakpoint and rely on go_runto_main instead.
9215 * gdb.go/strings.exp: Likewise.
9216 * gdb.go/unsafe.exp: Likewise.
9217 * gdb.go/hello.exp: Likewise. Also rename the remaining
9218 breakpoint marker to "breakpoint 1".
9219 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9220 * gdb.go/strings.go: Likewise.
9221 * gdb.go/unsafe.go: Likewise.
9222 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9223 "set breakpoint 2 here" and rename the remaining breakpoint marker
9224 to "breakpoint 1".
9225
9226 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9227
9228 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9229 if itertools.imap is not present.
9230 * gdb.python/py-objfile.exp: Add parentheses.
9231 * gdb.python/py-type.exp: Same.
9232 * gdb.python/py-unwind-maint.py: Same.
9233
9234 2015-04-15 Yao Qi <yao.qi@linaro.org>
9235
9236 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9237 of ":$ptr_size" and set its form explicitly.
9238
9239 2015-04-15 Pedro Alves <palves@redhat.com>
9240 Yao Qi <yao.qi@linaro.org>
9241
9242 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9243 timeout by factor of 4.
9244 (test_regular_watch): Likewise.
9245 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9246 * gdb.reverse/sigall-reverse.exp: Likewise.
9247 * gdb.reverse/until-precsave.exp: Likewise.
9248 * lib/gdb.exp (with_timeout_factor): New proc.
9249 (gdb_expect): Move some code to ...
9250 (get_largest_timeout): ... here. New procedure.
9251
9252 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9253
9254 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9255
9256 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9257
9258 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9259 to write to the .text section.
9260
9261 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9262
9263 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9264 Handle the case of targets that do not provide PID information.
9265
9266 2015-04-13 Yao Qi <yao.qi@linaro.org>
9267
9268 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9269 and use expect instead of gdb_expect.
9270
9271 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9272
9273 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9274 "coredump_var_addr" to avoid naming conflict with other testcases.
9275
9276 2015-04-10 Pedro Alves <palves@redhat.com>
9277
9278 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9279 gdb_test_sequence and gdb_assert.
9280
9281 2015-04-10 Pedro Alves <palves@redhat.com>
9282
9283 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9284 test messages that don't include the breakpoint address.
9285
9286 2015-04-10 Yao Qi <yao.qi@linaro.org>
9287
9288 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9289 false for some offset and width combinations which aren't
9290 supported by linux kernel.
9291
9292 2015-04-10 Pedro Alves <palves@redhat.com>
9293
9294 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9295 procedure, factored out from ...
9296 (top level): ... here. Add "set displaced-stepping" testing axis.
9297 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9298 parameter "displaced". Use it.
9299 (top level): Use foreach and add "set displaced-stepping" testing
9300 axis.
9301
9302 2015-04-10 Pedro Alves <palves@redhat.com>
9303
9304 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9305 Remove comment.
9306 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9307 both the address of the instruction that triggers the watchpoint
9308 and the address of the instruction immediately after, and use
9309 those addresses for the test. Fix comment.
9310
9311 2015-04-10 Pedro Alves <palves@redhat.com>
9312
9313 * gdb.base/sigstep.exp (breakpoint_to_handler)
9314 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9315 Test "backtrace" in handler.
9316 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9317 (top level): Add new "displaced" test axis to
9318 breakpoint_to_handler, breakpoint_to_handler_entry and
9319 breakpoint_over_handler.
9320
9321 2015-04-10 Pedro Alves <palves@redhat.com>
9322
9323 PR gdb/18216
9324 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9325
9326 2015-04-10 Yao Qi <yao.qi@linaro.org>
9327
9328 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9329 (test_add_rn_pc): New function.
9330 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9331 (top level): Invoke test_add_rn_pc.
9332
9333 2015-04-10 Pedro Alves <palves@redhat.com>
9334
9335 PR gdb/13858
9336 * gdb.base/step-over-no-symbols.exp: New file.
9337
9338 2015-04-09 Andy Wingo <wingo@igalia.com>
9339
9340 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9341 after the Python tests.
9342
9343 2015-04-08 Keith Seitz <keiths@redhat.com>
9344
9345 PR python/16699
9346 * gdb.python/py-completion.exp: New tests for completion.
9347 * gdb.python/py-completion.py (CompleteLimit1): New class.
9348 (CompleteLimit2): Likewise.
9349 (CompleteLimit3): Likewise.
9350 (CompleteLimit4): Likewise.
9351 (CompleteLimit5): Likewise.
9352 (CompleteLimit6): Likewise.
9353 (CompleteLimit7): Likewise.
9354
9355 2015-04-08 Pedro Alves <palves@redhat.com>
9356
9357 PR gdb/18214
9358 PR gdb/18216
9359 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9360 function.
9361 (main): Install it as SIGUSR1 handler.
9362 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9363 parameter. Always use "setup" as prefix. Toggle "set
9364 displaced-stepping" off/on depending on global. Don't switch to
9365 thread 1 here.
9366 (top level): Add displaced stepping "off/on" test axis. Update
9367 "setup" calls. Wrap each subtest with with_test_prefix. Test
9368 continuing with a queued signal in each thread.
9369
9370 2015-04-08 Pedro Alves <palves@redhat.com>
9371
9372 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9373 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9374 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9375 Return early if running to main fails.
9376 * gdb.trace/while-stepping.exp: Likewise.
9377
9378 2015-04-07 Pedro Alves <palves@redhat.com>
9379
9380 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9381 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9382 interact with inferior program.
9383
9384 2015-04-07 Pedro Alves <palves@redhat.com>
9385
9386 * lib/gdb.exp (inferior_spawn_id): New global.
9387 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9388 spawn id after processing the user code.
9389 (default_gdb_start): Set inferior_spawn_id.
9390 (send_inferior): New procedure.
9391 * lib/gdbserver-support.exp (gdbserver_start): Set
9392 inferior_spawn_id.
9393 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9394
9395 2015-04-07 Pedro Alves <palves@redhat.com>
9396
9397 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9398 * lib/gdbserver-support.exp (gdbserver_start): Make
9399 $server_spawn_id global.
9400 (gdbserver_start): Don't wait for gdbserver's spawn id with
9401 expect_background.
9402 (close_gdbserver): New procedure.
9403 (gdb_exit): Rename the default version and reimplement.
9404
9405 2015-04-07 Pedro Alves <palves@redhat.com>
9406
9407 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
9408 append the substituted item, not the original item.
9409
9410 2015-04-07 Pedro Alves <palves@redhat.com>
9411
9412 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9413 gdb_expect.
9414
9415 2015-04-07 Pedro Alves <palves@redhat.com>
9416
9417 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9418 output appearing once only.
9419
9420 2015-04-07 Pedro Alves <palves@redhat.com>
9421
9422 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9423 that doesn't expect anything. Return early if running to main
9424 fails.
9425
9426 2015-04-07 Yao Qi <yao.qi@linaro.org>
9427
9428 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9429 (child_function): Call alarm.
9430 (main): Move call to alarm into the loop.
9431 * gdb.threads/non-stop-fair-events.exp: Build program with
9432 -DTIMEOUT=$timeout.
9433
9434 2015-04-06 Doug Evans <xdje42@gmail.com>
9435
9436 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9437 Fix dest parameter to board_info.
9438 (fpc_compile): Ditto.
9439 (gdb_compile_pascal): Rename dest arg to destfile.
9440
9441 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9442
9443 * gdb.ada/funcall_ref.exp: New file.
9444 * gdb.ada/funcall_ref/foo.adb: New file.
9445
9446 2015-04-02 Yao Qi <yao.qi@linaro.org>
9447
9448 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9449 is remote.
9450
9451 2015-04-02 Gary Benson <gbenson@redhat.com>
9452
9453 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9454
9455 2015-04-01 Sasha Smundak <asmundak@google.com>
9456
9457 * gdb.python/py-unwind-maint.c: New file.
9458 * gdb.python/py-unwind-maint.exp: New test.
9459 * gdb.python/py-unwind-maint.py: New file.
9460 * gdb.python/py-unwind.c: New file.
9461 * gdb.python/py-unwind.exp: New test.
9462 * gdb.python/py-unwind.py: New test.
9463
9464 2015-04-01 Pedro Alves <palves@redhat.com>
9465
9466 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9467 to fail instead of non-existent $test.
9468
9469 2015-04-01 Pedro Alves <palves@redhat.com>
9470
9471 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9472 GDBFLAGS if not empty.
9473
9474 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9475
9476 * gdb.ada/complete.exp: Remove "multi_line".
9477 * gdb.ada/info_exc.exp: Remove "multi_line".
9478 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9479 * gdb.ada/ptype_field.exp: Remove "multi_line".
9480 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9481 * gdb.ada/tagged.exp: Remove "multi_line".
9482 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9483 [multi_line ...]
9484 * gdb.btrace/delta.exp: Likewise.
9485 * gdb.btrace/exception.exp: Likewise.
9486 * gdb.btrace/function_call_history.exp: Likewise.
9487 * gdb.btrace/instruction_history.exp: Likewise.
9488 * gdb.btrace/nohist.exp: Likewise.
9489 * gdb.btrace/record_goto.exp: Likewise.
9490 * gdb.btrace/segv.exp: Likewise.
9491 * gdb.btrace/stepi.exp: Likewise.
9492 * gdb.btrace/tailcall.exp: Likewise.
9493 * gdb.btrace/unknown_functions.exp: Likewise.
9494 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9495 * lib/gdb.exp: Add the "multi_line" helper.
9496
9497 2015-04-01 Pedro Alves <palves@redhat.com>
9498
9499 * gdb.threads/tid-reuse.c: New file.
9500 * gdb.threads/tid-reuse.exp: New file.
9501
9502 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9503
9504 PR corefiles/16092
9505 * gdb.base/coredump-filter.c: New file.
9506 * gdb.base/coredump-filter.exp: Likewise.
9507
9508 2015-03-27 Petr Machata <pmachata@redhat.com>
9509
9510 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9511 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9512 (Dwarf::assemble): Initialize them.
9513 (Dwarf::lines): New function.
9514
9515 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9516
9517 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9518 SYMBOL_PREFIX for x86_64-*-cygwin.
9519
9520 2015-03-26 Andy Wingo <wingo@igalia.com>
9521
9522 PR symtab/18148
9523 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9524 const_value but not a location.
9525 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9526 location defined in non-main CUs are visible.
9527
9528 2015-03-26 Yao Qi <yao.qi@linaro.org>
9529
9530 PR testsuite/18139
9531 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9532 Add a line number entry for the same line.
9533 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9534 Add a line number entry for the same line.
9535
9536 2015-03-26 Yao Qi <yao.qi@linaro.org>
9537
9538 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9539 .int 0.
9540 (func): Likewise. Add .Lfunc_1 label.
9541 Use .Lfunc_1 label.
9542 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9543 .int 0.
9544 (func): Likewise.
9545 Use .Lfunc_1 label.
9546
9547 2015-03-26 Yao Qi <yao.qi@linaro.org>
9548
9549 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9550 Call gdb_compile instead to compile each .s files without debug
9551 information.
9552
9553 2015-03-26 Yao Qi <yao.qi@linaro.org>
9554
9555 * gdb.base/savedregs.exp (process_saved_regs): Make
9556 "Saved registers:" optional in the pattern.
9557
9558 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9559
9560 * gdb.btrace/next.exp: Merged into step.exp.
9561 * gdb.btrace/finish.exp: Merged into step.exp.
9562 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9563 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9564 "record goto" and checking the exact replay position.
9565 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9566 check for "Recording format" in "info record" output.
9567 * gdb.btrace/record_goto.exp: Choose test file based on target.
9568 * gdb.btrace/x86-record_goto.S: Renamed into ...
9569 * gdb.btrace/x86_64-record_goto.S: ... this.
9570 * gdb.btrace/i686-record_goto.S: New.
9571 * gdb.btrace/x86-tailcall.S: Renamed into ...
9572 * gdb.btrace/x86_64-tailcall.S: ... this.
9573 * gdb.btrace/i686-tailcall.S: New.
9574 * gdb.btrace/x86-tailcall.c: Renamed into ...
9575 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9576 separate statements. Update test.
9577 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9578 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9579 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9580 * gdb.btrace/tailcall.exp: Choose test file based on target.
9581 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9582
9583 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9584
9585 * gdb.btrace/exception.exp: Increase BTS buffer size.
9586
9587 2015-03-24 Pedro Alves <palves@redhat.com>
9588
9589 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9590
9591 2015-03-24 Pedro Alves <palves@redhat.com>
9592
9593 * gdb.threads/schedlock.exp (test_step): No longer expect that
9594 "set scheduler-locking step" with "next" over a function call runs
9595 threads unlocked.
9596
9597 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9598
9599 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9600
9601 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9602
9603 PR breakpoints/16466
9604 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9605 * gdb.mi/mi-pending.c (thread_func): New function.
9606 (int main): Add threading support required.
9607 * gdb.mi/mi-pending.exp: Add tests for this issue.
9608 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9609 (pendfunc2): Remove stdio dependency.
9610 * gdb.mi/mi-pendshr2.c: New file.
9611
9612 2015-03-23 Keith Seitz <keiths@redhat.com>
9613
9614 * gdb.linespec/keywords.c: New file.
9615 * gdb.linespec/keywords.exp: New file.
9616
9617 2015-03-23 Keith Seitz <keiths@redhat.com>
9618
9619 PR gdb/18021
9620 * gdb.dwarf2/staticvirtual.exp: New test.
9621
9622 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9623
9624 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9625 * README: Remove HP-UX and gdb.hp.
9626 (configuration):
9627 * configure: Regenerate.
9628 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9629 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9630 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9631 gdb.hp/gdb.defects/Makefile.
9632 * gdb.hp/Makefile.in: File deleted.
9633 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9634 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9635 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9636 * gdb.hp/gdb.aCC/run.c: File deleted.
9637 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9638 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9639 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9640 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9641 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9642 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9643 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9644 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9645 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9646 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9647 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9648 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9649 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9650 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9651 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9652 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9653 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9654 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9655 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9656 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9657 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9658 * gdb.hp/gdb.compat/average.c: File deleted.
9659 * gdb.hp/gdb.compat/sum.c: File deleted.
9660 * gdb.hp/gdb.compat/xdb.c: File deleted.
9661 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9662 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9663 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9664 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9665 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9666 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9667 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9668 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9669 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9670 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9671 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9672 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9673 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9674 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9675 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9676 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9677 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9678 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9679 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9680 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9681 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9682 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9683 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9684 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9685 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9686 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9687 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9688 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9689 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9690 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9691 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9692 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9693 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9694 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9695 * gdb.hp/tools/odump: File deleted.
9696
9697 2015-03-19 Pedro Alves <palves@redhat.com>
9698
9699 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9700 (saw_thread_3): New globals.
9701 (top level): Increment them when an event for the corresponding
9702 thread is seen.
9703 (no thread starvation): New test.
9704
9705 2015-03-19 Pedro Alves <palves@redhat.com>
9706
9707 * gdb.threads/continue-pending-status.c: New file.
9708 * gdb.threads/continue-pending-status.exp: New file.
9709
9710 2015-03-18 Pedro Alves <palves@redhat.com>
9711
9712 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9713 Use gdb_is_target_remote instead of is_remote. Use
9714 gdb_test_multiple instead of gdb_expect. Exit early if
9715 gdb_test_multiple hits its internal matches. Tighten stepi tests
9716 expected output. Fail on exit with any signal, instead of just
9717 SIGILL.
9718
9719 2015-03-18 Yao Qi <yao.qi@linaro.org>
9720
9721 PR tdep/18107
9722 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9723 variable.
9724 * gdb.base/catch-syscall.exp: Don't skip it on
9725 aarch64*-*-linux* target. Remove elements in all_syscalls.
9726 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9727 target.
9728 (setup_all_syscalls): New proc.
9729
9730 2015-03-16 Yao Qi <yao.qi@linaro.org>
9731
9732 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9733 (top level): Skip tests if valid_addr_p returns false for
9734 $cmd1 or $cmd2.
9735
9736 2015-03-11 Andy Wingo <wingo@igalia.com>
9737
9738 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9739
9740 2015-03-11 Yao Qi <yao.qi@linaro.org>
9741
9742 * gdb.base/catch-syscall.exp: Fix typo in comments.
9743
9744 2015-03-11 Yao Qi <yao.qi@linaro.org>
9745
9746 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9747
9748 2015-03-09 Pedro Alves <palves@redhat.com>
9749
9750 * dg-extract-results.py: Delete.
9751
9752 2015-03-09 Pedro Alves <palves@redhat.com>
9753
9754 Merge dg-extract-results.sh from GCC upstream (r218843).
9755
9756 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9757 * dg-extract-results.sh: Use --text with grep to avoid issues with
9758 binary files. Fall back to cat -v, if that doesn't work.
9759
9760 2015-03-05 Pedro Alves <palves@redhat.com>
9761
9762 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9763
9764 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9765
9766 * lib/mi-support.exp (mi_expect_interrupt): Accept
9767 alternative event for when in all-stop mode.
9768
9769 2015-03-04 Pedro Alves <palves@redhat.com>
9770
9771 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9772
9773 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9774
9775 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9776
9777 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9778
9779 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9780 regexps for GDB's current line display, accept a hex address
9781 preceding the line number.
9782
9783 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9784
9785 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9786 the 'arch1' variable for "s390*-linux*" targets.
9787
9788 2015-03-04 Pedro Alves <palves@redhat.com>
9789
9790 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9791 (main): Pass missing retval argument to pthread_join call.
9792
9793 2015-03-02 Pedro Alves <palves@redhat.com>
9794
9795 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9796 (top level): Call do_test with non-stop as well.
9797
9798 2015-03-02 Pedro Alves <palves@redhat.com>
9799
9800 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9801 -1.
9802
9803 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9804
9805 * gdb.arch/s390-vregs.exp: New test.
9806 * gdb.arch/s390-vregs.S: New file.
9807
9808 2015-02-27 Pedro Alves <palves@redhat.com>
9809
9810 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9811 call to catch_command_errors.
9812 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9813 catch_command_errors.
9814
9815 2015-02-27 Pedro Alves <palves@redhat.com>
9816
9817 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9818 "true" for boolean result.
9819 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9820 prototype of main.
9821
9822 2015-02-27 Pedro Alves <palves@redhat.com>
9823
9824 * lib/unbuffer_output.c: New file.
9825 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9826 (main): Call gdb_unbuffer_output.
9827
9828 2015-02-27 Yao Qi <yao.qi@linaro.org>
9829
9830 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9831 target.
9832
9833 2015-02-26 Doug Evans <dje@google.com>
9834
9835 * gdb.cp/class2.cc (Dbase, D): New classes.
9836 (main): New local delta.
9837 * gdb.cp/class2.exp: Test printing delta.
9838 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9839 (dynbar): New global.
9840 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9841
9842 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9843
9844 * gdb.compile/compile-ifunc.c: New file.
9845 * gdb.compile/compile-ifunc.exp: New file.
9846
9847 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9848
9849 * gdb.base/structs.exp: Check for correct struct on finish.
9850
9851 2015-02-26 Yao Qi <yao.qi@linaro.org>
9852
9853 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9854 is zero.
9855
9856 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9857
9858 * gdb.arch/cordic.ko.bz2: New file.
9859 * gdb.arch/cordic.ko.debug.bz2: New file.
9860 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9861
9862 2015-02-25 Yao Qi <yao.qi@linaro.org>
9863
9864 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9865 aarch64*-*-* target.
9866
9867 2015-02-23 Pedro Alves <palves@redhat.com>
9868
9869 * lib/gdb.exp (delete_breakpoints): Rewrite using
9870 gdb_test_multiple.
9871
9872 2015-02-23 Pedro Alves <palves@redhat.com>
9873
9874 * gdb.base/info-os.c: Include stdlib.h.
9875
9876 2015-02-22 Doug Evans <xdje42@gmail.com>
9877
9878 PR symtab/17855
9879 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9880 is read after symbols have been re-read.
9881 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9882 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9883
9884 2015-02-21 Doug Evans <dje@google.com>
9885
9886 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9887
9888 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9889
9890 PR corefiles/17808
9891 * gdb.arch/i386-biarch-core.core.bz2: New file.
9892 * gdb.arch/i386-biarch-core.exp: New file.
9893
9894 2015-02-21 Pedro Alves <palves@redhat.com>
9895
9896 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9897 runto_main fails.
9898
9899 2015-02-20 Pedro Alves <palves@redhat.com>
9900
9901 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9902 info probes.
9903
9904 2015-02-20 Pedro Alves <palves@redhat.com>
9905
9906 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9907
9908 2015-02-20 Pedro Alves <palves@redhat.com>
9909
9910 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9911 clean_restart before gdb_target_supports_trace.
9912
9913 2015-02-20 Pedro Alves <palves@redhat.com>
9914
9915 PR threads/18006
9916 * gdb.threads/clone-thread_db.c: New file.
9917 * gdb.threads/clone-thread_db.exp: New file.
9918
9919 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9920
9921 PR breakpoints/16812
9922 * gdb.base/catch-gdb-caused-signals.c: New file.
9923 * gdb.base/catch-gdb-caused-signals.exp: New file.
9924
9925 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9926
9927 * configure: Regenerated.
9928 * configure.ac: Use GDB_AC_TRANSFORM.
9929 * aclocal.m4: sinclude ../transform.m4.
9930
9931 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9932
9933 * lib/dtrace.exp: New file.
9934 * gdb.base/dtrace-probe.exp: Likewise.
9935 * gdb.base/dtrace-probe.d: Likewise.
9936 * gdb.base/dtrace-probe.c: Likewise.
9937 * lib/pdtrace.in: Likewise.
9938 * configure.ac: Output variables with the transformed names of
9939 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9940 * configure: Regenerated.
9941
9942 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9943
9944 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9945 expected message when trying to access $_probe_* convenience
9946 variables while not on a probe.
9947
9948 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9949
9950 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9951
9952 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9953
9954 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9955 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9956
9957 2015-02-10 Doug Evans <xdje42@gmail.com>
9958
9959 * lib/gdb.exp (gdb_load): Always return a result.
9960
9961 2015-02-10 Pedro Alves <palves@redhat.com>
9962
9963 * gdb.threads/signal-sigtrap.c: New file.
9964 * gdb.threads/signal-sigtrap.exp: New file.
9965
9966 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9967
9968 * gdb.trace/no-attach-trace.c: New file.
9969 * gdb.trace/no-attach-trace.exp: New file.
9970
9971 2015-02-09 Mark Wielaard <mjw@redhat.com>
9972
9973 * gdb.dwarf2/atomic.c: New file.
9974 * gdb.dwarf2/atomic-type.exp: Likewise.
9975
9976 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9977
9978 * gdb.btrace/buffer-size.exp: Update "info record" output.
9979 * gdb.btrace/delta.exp: Update "info record" output.
9980 * gdb.btrace/enable.exp: Update "info record" output.
9981 * gdb.btrace/finish.exp: Update "info record" output.
9982 * gdb.btrace/instruction_history.exp: Update "info record" output.
9983 * gdb.btrace/next.exp: Update "info record" output.
9984 * gdb.btrace/nexti.exp: Update "info record" output.
9985 * gdb.btrace/step.exp: Update "info record" output.
9986 * gdb.btrace/stepi.exp: Update "info record" output.
9987 * gdb.btrace/nohist.exp: Update "info record" output.
9988
9989 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9990
9991 * gdb.btrace/buffer-size: New.
9992
9993 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9994
9995 * gdb.btrace/delta.exp: Update "info record" output.
9996 * gdb.btrace/enable.exp: Update "info record" output.
9997 * gdb.btrace/finish.exp: Update "info record" output.
9998 * gdb.btrace/instruction_history.exp: Update "info record" output.
9999 * gdb.btrace/next.exp: Update "info record" output.
10000 * gdb.btrace/nexti.exp: Update "info record" output.
10001 * gdb.btrace/step.exp: Update "info record" output.
10002 * gdb.btrace/stepi.exp: Update "info record" output.
10003 * gdb.btrace/nohist.exp: Update "info record" output.
10004
10005 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
10006
10007 PR gdb/15678
10008 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10009
10010 2015-02-06 Pedro Alves <palves@redhat.com>
10011
10012 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10013 macro.
10014 (seconds_left, again): New globals.
10015 (main): Wait seconds_left in a 1-second sleep loop instead of
10016 sleeping 180 seconds. If 'again' is set, reset the seconds
10017 counter.
10018 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10019 'again' in the inferior before detaching. Print the seconds left.
10020 (options): New global.
10021 (top level): Build program with -DTIMEOUT=$timeout.
10022
10023 2015-02-06 Pedro Alves <palves@redhat.com>
10024
10025 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10026 determine how many seconds to pass to 'alarm'.
10027 * gdb.base/gdb-sigterm.exp (top level): Build program with
10028 -DTIMEOUT=$timeout.
10029 (do_test): Return success/failure indication. Add more verbose
10030 logging. Don't fail if 200 single steps are seen. Instead, fail
10031 when the test times out.
10032 (passes): New global.
10033 (top level): Break the testing loop if testing fails on any
10034 iteration. Use gdb_assert.
10035
10036 2015-02-04 Don Breazeal <donb@codesourcery.com>
10037
10038 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10039 and initialize them.
10040 (ipc_cleanup): New function.
10041 (main): Don't declare shmid, semid, and msqid. Add a call to
10042 atexit so that we call ipc_cleanup on exit.
10043
10044 2015-02-04 Pedro Alves <palves@redhat.com>
10045
10046 * boards/native-extended-gdbserver.exp: Remove any target variant
10047 specifications from the board name before clearing the isremote
10048 flag from board_info.
10049
10050 2015-01-31 Doug Evans <xdje42@gmail.com>
10051
10052 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10053
10054 2015-01-31 Gary Benson <gbenson@redhat.com>
10055
10056 * gdb.base/completion.exp: Disable completion limiting for
10057 existing tests. Add new tests to check completion limiting.
10058 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10059
10060 2015-01-31 Doug Evans <xdje42@gmail.com>
10061
10062 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10063
10064 2015-01-31 Doug Evans <xdje42@gmail.com>
10065
10066 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10067 entries. Duplicate file section script entries.
10068 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10069 inlined entries. Add test for safe-path rejection.
10070 * gdb.python/py-section-script.c: Add duplicate inlined section script
10071 entries. Duplicate file section script entries.
10072 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10073 inlined entries. Add test for safe-path rejection.
10074
10075 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10076
10077 * gdb.ada/disc_arr_bound: New testcase.
10078
10079 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10080
10081 * gdb.ada/mi_var_array: New testcase.
10082
10083 2015-01-27 Doug Evans <dje@google.com>
10084
10085 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10086 Add test for objfile.filename, objfile.username after objfile
10087 has been unloaded.
10088
10089 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10090
10091 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10092 the second test to print the name attribute of value
10093 returned by the call to gdb.lookup_type, and adjust
10094 the expected output accordingly.
10095
10096 2015-01-25 Mark Wielaard <mjw@redhat.com>
10097
10098 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10099 * gdb.base/disp-step-fork.c: Include unistd.h.
10100 * gdb.base/siginfo-obj.c: Include stdio.h.
10101 * gdb.base/siginfo-thread.c: Likewise.
10102 * gdb.mi/non-stop.c: Include unistd.h.
10103 * gdb.mi/nsthrexec.c: Include stdio.h.
10104 * gdb.mi/pthreads.c: Include unistd.h.
10105 * gdb.modula2/unbounded1.c (main): Declare returns int.
10106 * gdb.reverse/consecutive-reverse.c: Likewise.
10107 * gdb.threads/create-fail.c: Include unistd.h.
10108 * gdb.threads/killed.c: Likewise.
10109 * gdb.threads/linux-dp.c: Likewise.
10110 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10111 * gdb.threads/non-ldr-exc-2.c: Likewise.
10112 * gdb.threads/non-ldr-exc-3.c: Likewise.
10113 * gdb.threads/non-ldr-exc-4.c: Likewise.
10114 * gdb.threads/pthreads.c: Include unistd.h.
10115 (main): Declare returns int.
10116 * gdb.threads/tls-main.c (foo): New declaration.
10117 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10118
10119 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10120
10121 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10122 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10123
10124 2015-01-15 Mark Wielaard <mjw@redhat.com>
10125
10126 * gdb.base/noreturn-return.c: New file.
10127 * gdb.base/noreturn-return.exp: New file.
10128 * gdb.base/noreturn-finish.c: New file.
10129 * gdb.base/noreturn-finish.exp: New file.
10130
10131 2015-01-23 Pedro Alves <palves@redhat.com>
10132
10133 * gdb.threads/continue-pending-after-query.c: New file.
10134 * gdb.threads/continue-pending-after-query.exp: New file.
10135
10136 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10137 Simon Marchi <simon.marchi@ericsson.com>
10138
10139 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10140 * gdb.base/valgrind-db-attach.exp: Same.
10141 * gdb.base/valgrind-infcall.exp: Same.
10142 * lib/mi-support.exp (default_mi_gdb_start): Same.
10143 * lib/prompt.exp (default_prompt_gdb_start): Same.
10144 * lib/gdb.exp (default_gdb_spawn): Same.
10145 (gdb_interact): New.
10146
10147
10148 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10149
10150 * gdb.compile/compile.exp (pointer to jit function): New test.
10151
10152 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10153
10154 * lib/gdb.exp (supports_process_record): Return true for
10155 powerpc*-*-linux*.
10156 (supports_reverse): Likewise.
10157
10158 2015-01-15 Don Breazeal <donb@codesourcery.com>
10159
10160 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10161 instead of checking whether the target board is remote and
10162 use spawn_wait_for_attach instead of exec/sleep.
10163 * gdb.base/attach-twice.exp: Likewise.
10164
10165 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10166
10167 * gdb.ada/var_arr_attrs: New testcase.
10168
10169 2015-01-14 Pedro Alves <palves@redhat.com>
10170 Joel Brobecker <brobecker@adacore.com>
10171
10172 PR gdb/17525
10173 * gdb.base/bp-cmds-execution-x-script.c: New file.
10174 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10175 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10176
10177 2015-01-14 Pedro Alves <palves@redhat.com>
10178
10179 PR cli/17828
10180 * gdb.base/batch-preserve-term-settings.c: New file.
10181 * gdb.base/batch-preserve-term-settings.exp: New file.
10182
10183 2015-01-13 Doug Evans <dje@google.com>
10184
10185 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10186 binary.
10187
10188 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10189
10190 * Makefile.in (clean mostlyclean): Do not delete *.py.
10191
10192 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10193
10194 * gdb.python/py-lookup-type.exp: New file.
10195
10196 2015-01-12 Pedro Alves <palves@redhat.com>
10197
10198 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10199 restore GDBFLAGS before returning.
10200
10201 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10202
10203 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10204 is_amd64_regs_target and is_x86_like_target.
10205
10206 2015-01-11 Doug Evans <xdje42@gmail.com>
10207
10208 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10209 is given without an explicit form.
10210 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10211 attributes.
10212 * gdb.dwarf/corrupt.exp: Ditto.
10213 * gdb.dwarf2/enum-type.exp: Ditto.
10214 * gdb.trace/entry-values.exp: Ditto.
10215 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10216
10217 2015-01-11 Doug Evans <xdje42@gmail.com>
10218
10219 PR gdb/15830
10220 * gdb.base/maint.exp: Remove references to "maint demangle".
10221 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10222 Add tests for explicitly specifying language to demangle.
10223 * gdb.dlang/demangle.exp: Ditto.
10224
10225 2015-01-09 Pedro Alves <palves@redhat.com>
10226
10227 * gdb.threads/non-stop-fair-events.c: New file.
10228 * gdb.threads/non-stop-fair-events.exp: New file.
10229
10230 2015-01-09 Pedro Alves <palves@redhat.com>
10231
10232 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10233 the global scope. Set a breakpoint after all threads are started
10234 rather than stepping over two source lines. Expect the prompt.
10235 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10236 global.
10237 (NUM): Now 15.
10238 (main): Use threads_started_barrier to wait for all threads to
10239 start. Main thread no longer calls thread_function. Exit after
10240 180 seconds.
10241 (loop): New function.
10242 (thread_function): Wait on threads_started_barrier barrier. Call
10243 'loop' at each iteration.
10244 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10245 threads have started, instead of hardcoding number of "next"
10246 steps. Use an access watchpoint instead of a write watchpoint.
10247
10248 2015-01-09 Pedro Alves <palves@redhat.com>
10249
10250 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10251 (thread_func): Wait on barrier.
10252 (main): Wait for all threads to start before stopping GDB.
10253 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10254 global.
10255 (thread1_func, thread2_func): Wait on barrier.
10256 (main): Wait for all threads to start before stopping GDB.
10257 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10258 New global.
10259 (thread1_func, thread2_func): Wait on barrier.
10260 (main): Wait for all threads to start before stopping GDB.
10261
10262 2015-01-09 Pedro Alves <palves@redhat.com>
10263
10264 * gdb.threads/attach-many-short-lived-threads.c: New file.
10265 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10266
10267 2014-01-09 Pedro Alves <palves@redhat.com>
10268
10269 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10270 instead of to thread 2.
10271 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10272 Add barrier around each pthread_create call instead of around all
10273 calls.
10274 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10275 Set a break on thread_function and have the child threads hit it
10276 one at at a time.
10277
10278 2015-01-09 Pedro Alves <palves@redhat.com>
10279
10280 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10281 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10282 false.
10283 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10284 checking whether the target board is remote.
10285 * gdb.multi/multi-attach.exp: Likewise.
10286 * gdb.python/py-sync-interp.exp: Likewise.
10287 * gdb.server/ext-attach.exp: Likewise.
10288 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10289 tests that need to attach, instead of checking whether the target
10290 board is remote at the top of the file.
10291
10292 2015-01-08 Yao Qi <yao@codesourcery.com>
10293
10294 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10295
10296 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10297
10298 Fix testcase compilation.
10299 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10300
10301 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10302
10303 * gdb.python/py-type.exp: Add a couple test about empty
10304 array creation, and negative-length array creation.
10305
10306 2015-01-02 Doug Evans <xdje42@gmail.com>
10307
10308 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10309
10310 2015-01-02 Doug Evans <dje@google.com>
10311
10312 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10313
10314 2014-12-29 Yao Qi <yao@codesourcery.com>
10315
10316 * gdb.trace/entry-values.exp: Update comments. Rename variable
10317 bar_call_foo to returned_from_foo.
10318
10319 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10320
10321 PR gdb/17394
10322 * gdb.linespec/break-asm-file.c: New file.
10323 * gdb.linespec/break-asm-file.exp: New file.
10324 * gdb.linespec/break-asm-file0.s: New file.
10325 * gdb.linespec/break-asm-file1.s: New file.
10326
10327 2014-12-18 Nigel Stephens <nigel@mips.com>
10328 Maciej W. Rozycki <macro@codesourcery.com>
10329
10330 * gdb.base/float.exp: Handle the new output from "info float" on
10331 MIPS targets.
10332
10333 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10334
10335 Fix MinGW compilation.
10336 * gdb.compile/compile-ops.exp: Update untested message if
10337 !skip_compile_feature_tests.
10338 * gdb.compile/compile-setjmp.exp: Likewise.
10339 * gdb.compile/compile-tls.exp: Likewise.
10340 * gdb.compile/compile.exp: Likewise.
10341 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10342 supported on this host".
10343
10344 2014-12-16 Doug Evans <xdje42@gmail.com>
10345
10346 * boards/stabs.exp: New file.
10347
10348 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10349
10350 * gdb.base/completion.exp: Adjust to format changes of "maint
10351 print user-registers".
10352
10353 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
10354
10355 PR server/17457
10356 * gdb.arch/aarch64-fp.c: New file.
10357 * gdb.arch/aarch64-fp.exp: New file.
10358
10359 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10360
10361 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10362 r210637, r210913, r211666, r215400, r215817).
10363
10364 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10365 * dg-extract-results.py: New file.
10366 * dg-extract-results.sh: Use it if the environment seems
10367 suitable.
10368
10369 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10370
10371 * dg-extract-results.py (parse_run): Handle warnings that
10372 are printed before a test harness is run.
10373
10374 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10375
10376 * dg-extract-results.py (Named): Remove __cmp__ method.
10377 (output_variation): Use a key to sort variation.harnesses.
10378
10379 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10380
10381 * dg-extract-results.py: For Python 3, force sys.stdout to
10382 handle surrogate escape sequences.
10383 (safe_open): New function.
10384 (output_segment, main): Use it.
10385
10386 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10387
10388 * dg-extract-results.py (Prog.result_re): Include options
10389 in test name.
10390
10391 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10392
10393 * dg-extract-results.py (output_variation): Always sort if
10394 do_sum.
10395
10396 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10397
10398 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10399 as long as we get pagination notifications.
10400
10401 2014-12-15 Jason Merrill <jason@redhat.com>
10402
10403 * Makefile.in (check-gdb.%): Restore.
10404 * README: Mention it.
10405
10406 2014-12-13 Joel Brobecker <brobecker@adacore.com>
10407
10408 * gdb.ada/str_uninit: New testcase.
10409
10410 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10411
10412 PR symtab/17642
10413 * gdb.base/vla-stub-define.c: New file.
10414 * gdb.base/vla-stub.c: New file.
10415 * gdb.base/vla-stub.exp: New file.
10416
10417 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10418 Jan Kratochvil <jan.kratochvil@redhat.com>
10419 Tom Tromey <tromey@redhat.com>
10420
10421 * configure.ac: Add gdb.compile/.
10422 * configure: Regenerate.
10423 * gdb.compile/Makefile.in: New file.
10424 * gdb.compile/compile-ops.exp: New file.
10425 * gdb.compile/compile-ops.c: New file.
10426 * gdb.compile/compile-tls.c: New file.
10427 * gdb.compile/compile-tls.exp: New file.
10428 * gdb.compile/compile-constvar.S: New file.
10429 * gdb.compile/compile-constvar.c: New file.
10430 * gdb.compile/compile-mod.c: New file.
10431 * gdb.compile/compile-nodebug.c: New file.
10432 * gdb.compile/compile-setjmp-mod.c: New file.
10433 * gdb.compile/compile-setjmp.c: New file.
10434 * gdb.compile/compile-setjmp.exp: New file.
10435 * gdb.compile/compile-shlib.c: New file.
10436 * gdb.compile/compile.c: New file.
10437 * gdb.compile/compile.exp: New file.
10438 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10439
10440 2014-12-12 Tom Tromey <tromey@redhat.com>
10441
10442 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10443 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10444
10445 2014-12-12 Doug Evans <dje@google.com>
10446
10447 * lib/gdb-python.exp (get_python_valueof): New function.
10448 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10449
10450 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10451
10452 * gdb.base/completion.exp: Add test for completion of "info
10453 registers ".
10454
10455 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10456
10457 * gdb.base/func-ptrs.c: New file.
10458 * gdb.base/func-ptrs.exp: New file.
10459
10460 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10461
10462 PR breakpoints/17012
10463 * gdb.base/dprintf-detach.c: New file.
10464 * gdb.base/dprintf-detach.exp: New file.
10465
10466 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10467
10468 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10469 * lib/gdb.exp (target_is_gdbserver): New procedure.
10470
10471 2014-12-08 Doug Evans <dje@google.com>
10472
10473 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10474
10475 2014-12-05 Yao Qi <yao@codesourcery.com>
10476
10477 * gdb.guile/scm-error.exp: Remove the third argument to
10478 gdb_remote_download.
10479 * gdb.guile/scm-frame-args.exp: Likewise.
10480 * gdb.guile/scm-section-script.exp: Likewise.
10481
10482 2014-12-05 Yao Qi <yao@codesourcery.com>
10483
10484 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10485
10486 2014-12-04 Doug Evans <dje@google.com>
10487
10488 * gdb.python/py-objfile.exp: Add tests for
10489 objfile.add_separate_debug_file.
10490
10491 2014-12-04 Doug Evans <dje@google.com>
10492
10493 * lib/gdb.exp (get_build_id): New function.
10494 (build_id_debug_filename_get): Rewrite to use it.
10495 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10496
10497 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10498
10499 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10500 `method(long)', not just 0x0.
10501 * gdb.cp/nsalias.exp: Align code labels to 4.
10502 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10503 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10504 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10505 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10506 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10507 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10508
10509 2014-12-02 Doug Evans <dje@google.com>
10510
10511 PR symtab/17602
10512 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10513 * gdb.cp/anon-ns2.cc: ... here. New file.
10514 * gdb.cp/anon-ns.exp: Update.
10515
10516 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10517
10518 * gdb.python/py-events.py (inferior_call_handler): New.
10519 (register_changed_handler, memory_changed_handler): New.
10520 (test_events.invoke): Register new handlers.
10521 * gdb.python/py-events.exp: Add tests for inferior call,
10522 memory_changed and register_changed events.
10523
10524 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10525
10526 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10527 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10528 if the linker doesn't understand this.
10529
10530 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10531
10532 * gdb.python/python.exp: Change expected reply to help().
10533
10534 2014-12-01 Yao Qi <yao@codesourcery.com>
10535
10536 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10537 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10538 * configure: Re-generated.
10539
10540 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10541
10542 * gdb.cp/chained-calls.cc: New file.
10543 * gdb.cp/chained-calls.exp: New file.
10544 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10545
10546 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10547
10548 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10549 * gdb.dwarf2/symtab-producer.exp: Same.
10550 * gdb.gdb/python-interrupts.exp: Same.
10551 * gdb.gdb/python-selftest.exp: Same.
10552 * gdb.python/py-linetable.exp: Same.
10553 * gdb.python/py-type.exp: Same.
10554 * gdb.python/py-value-cc.exp: Same.
10555 * gdb.python/py-value.exp: Same.
10556
10557 2014-11-28 Yao Qi <yao@codesourcery.com>
10558
10559 * gdb.base/break-probes.exp: Match library name prefixed with
10560 sysroot.
10561
10562 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10563
10564 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10565 test expected output. Add parentheses for the call to print.
10566 Remove L suffix from integers.
10567
10568 2014-11-26 Doug Evans <dje@google.com>
10569
10570 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10571
10572 2014-11-22 Yao Qi <yao@codesourcery.com>
10573
10574 * gdb.trace/entry-values.c: Remove asms.
10575 (foo): Add foo_label.
10576 (bar): Add bar_label.
10577 * gdb.trace/entry-values.exp: Remove code computing foo's
10578 length and bar's length.
10579 (Dwarf::assemble): Invoke function_range for bar and use
10580 MACRO_AT_func for foo.
10581
10582 2014-11-22 Yao Qi <yao@codesourcery.com>
10583
10584 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10585 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10586 Use .Lgcc43_procstart instead of gcc43.
10587
10588 2014-11-21 Joel Brobecker <brobecker@adacore.com>
10589
10590 * gdb.ada/n_arr_bound: New testcase.
10591
10592 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10593
10594 PR breakpoints/10737
10595 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10596 test_catch_syscall_multi_arch.
10597 (test_catch_syscall_multi_arch): New function.
10598
10599 2014-11-20 Doug Evans <xdje42@gmail.com>
10600
10601 * gdb.base/maint.exp: Update expected output.
10602
10603 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10604
10605 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10606 4-byte instruction on S390.
10607
10608 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10609
10610 * gdb.ada/arr_arr: New testcase.
10611
10612 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10613
10614 * gdb.ada/pkd_arr_elem: New Testcase.
10615
10616 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
10617
10618 * gdb.reverse/break-precsave: Expect completion message for
10619 core file reads.
10620 * gdb.reverse/consecutive-precsave.exp: Likewise.
10621 * gdb.reverse/finish-precsave.exp: Likewise.
10622 * gdb.reverse/i386-precsave.exp: Likewise.
10623 * gdb.reverse/machinestate-precsave.exp: Likewise.
10624 * gdb.reverse/sigall-precsave.exp: Likewise.
10625 * gdb.reverse/solib-precsave.exp: Likewise.
10626 * gdb.reverse/step-precsave.exp: Likewise.
10627 * gdb.reverse/until-precsave.exp: Likewise.
10628 * gdb.reverse/watch-precsave.exp: Likewise.
10629
10630 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10631
10632 * gdb.base/bp-permanent.c: Include unistd.h.
10633 * gdb.python/py-framefilter-mi.c (main): Add return type.
10634 * gdb.python/py-framefilter.c (main): Likewise.
10635 * gdb.trace/actions-changed.c (main): Likewise.
10636
10637 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10638
10639 * gdb.mi/until.c: Add eye-catchers.
10640 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10641 line numbers.
10642
10643 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10644
10645 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10646 function header variants in break1.c.
10647 * gdb.base/ena-dis-br.exp: Likewise.
10648 * gdb.base/hbreak2.exp: Likewise.
10649 * gdb.reverse/until-precsave.exp: Drop references to removed
10650 non-prototype function header variants in ur1.c.
10651 * gdb.reverse/until-reverse.exp: Likewise.
10652
10653 2014-11-17 Petr Machata <pmachata@redhat.com>
10654
10655 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10656 ${_cu_offset_size} bytes abbrev offset.
10657
10658 2014-11-15 Doug Evans <xdje42@gmail.com>
10659
10660 PR symtab/17559
10661 * gdb.base/line-symtabs.exp: New file.
10662 * gdb.base/line-symtabs.c: New file.
10663 * gdb.base/line-symtabs.h: New file.
10664
10665 2014-11-14 Yao Qi <yao@codesourcery.com>
10666
10667 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10668 (func): Add label func_label.
10669 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10670 Replace low_pc and high_pc with MACRO_AT_range.
10671 Replace name, low_pc and high_pc with MACRO_AT_func.
10672
10673 2014-11-14 Yao Qi <yao@codesourcery.com>
10674
10675 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10676 Replace name, low_pc and high_pc with MACRO_AT_func.
10677
10678 2014-11-14 Yao Qi <yao@codesourcery.com>
10679
10680 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10681 produce debug information.
10682 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10683
10684 2014-11-14 Yao Qi <yao@codesourcery.com>
10685
10686 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10687 object and get function length.
10688 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10689 with MACRO_AT_func.
10690 (top-level): Replace gdb_compile and clean_restart with
10691 prepare_for_testing.
10692 * gdb.dwarf2/main.c (main): Add label main_label.
10693
10694 2014-11-14 Yao Qi <yao@codesourcery.com>
10695
10696 * lib/dwarf.exp (function_range): New procedure.
10697 (Dwarf::_handle_macro_at_func): New procedure.
10698 (Dwarf::_handle_macro_at_range): New procedure.
10699 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10700
10701 2014-11-14 Yao Qi <yao@codesourcery.com>
10702
10703 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10704 (_handle_attribute): New procedure.
10705
10706 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10707
10708 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10709 * gdb.base/call-sc.c (zed): Likewise.
10710 * gdb.base/checkpoint.c (main): Likewise.
10711 * gdb.base/dump.c (main): Likewise.
10712 * gdb.base/gcore.c (main): Likewise.
10713 * gdb.base/huge.c (main): Likewise.
10714 * gdb.base/multi-forks.c (main): Likewise.
10715 * gdb.base/pr10179-a.c (main): Likewise.
10716 * gdb.base/savedregs.c (main): Likewise.
10717 * gdb.base/sigaltstack.c (main): Likewise.
10718 * gdb.base/siginfo.c (main): Likewise.
10719 * gdb.base/structs.c (zed): Likewise.
10720 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10721 * gdb.mi/mi-syn-frame.c (main): Likewise.
10722 * gdb.mi/until.c (foo, main): Likewise.
10723 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10724 * gdb.base/solib-weak.c (foo): Declare.
10725 * gdb.base/attach-twice.c: Include stdio.h.
10726 * gdb.base/weaklib1.c: Likewise.
10727 * gdb.base/weaklib2.c: Likewise.
10728 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10729 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10730 unistd.h.
10731 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10732 * gdb.mi/mi-exit-code.c: Likewise.
10733 * gdb.base/break-interp-lib.c: Include string.h.
10734 * gdb.base/coremaker.c: Likewise.
10735 * gdb.base/testenv.c: Likewise.
10736 * gdb.python/py-finish-breakpoint.c: Likewise.
10737 * gdb.base/inferior-died.c: Include sys/wait.h.
10738 * gdb.base/fileio.c: Include time.h.
10739 * gdb.base/async-shell.c: Include unistd.h.
10740 * gdb.base/dprintf-non-stop.c: Likewise.
10741 * gdb.base/info-os.c: Likewise.
10742 * gdb.mi/mi-console.c: Likewise.
10743 * gdb.mi/watch-nonstop.c: Likewise.
10744 * gdb.python/py-events.c: Likewise.
10745 * gdb.base/async.c (baz): Move up before its invocation.
10746 * gdb.base/code_elim2.c (my_global_func): Likewise.
10747 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10748 * gdb.base/advance.c (func2): Likewise.
10749
10750 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10751
10752 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10753 variant.
10754 * gdb.base/annota3.c: Likewise.
10755 * gdb.base/async.c: Likewise.
10756 * gdb.base/average.c: Likewise.
10757 * gdb.base/call-ar-st.c: Likewise.
10758 * gdb.base/call-rt-st.c: Likewise.
10759 * gdb.base/call-sc.c: Likewise.
10760 * gdb.base/call-strs.c: Likewise.
10761 * gdb.base/ending-run.c: Likewise.
10762 * gdb.base/execd-prog.c: Likewise.
10763 * gdb.base/exprs.c: Likewise.
10764 * gdb.base/foll-exec.c: Likewise.
10765 * gdb.base/foll-fork.c: Likewise.
10766 * gdb.base/foll-vfork.c: Likewise.
10767 * gdb.base/funcargs.c: Likewise.
10768 * gdb.base/gcore.c: Likewise.
10769 * gdb.base/jump.c: Likewise.
10770 * gdb.base/langs0.c: Likewise.
10771 * gdb.base/langs1.c: Likewise.
10772 * gdb.base/langs2.c: Likewise.
10773 * gdb.base/mips_pro.c: Likewise.
10774 * gdb.base/nodebug.c: Likewise.
10775 * gdb.base/opaque0.c: Likewise.
10776 * gdb.base/opaque1.c: Likewise.
10777 * gdb.base/recurse.c: Likewise.
10778 * gdb.base/run.c: Likewise.
10779 * gdb.base/scope0.c: Likewise.
10780 * gdb.base/scope1.c: Likewise.
10781 * gdb.base/setshow.c: Likewise.
10782 * gdb.base/setvar.c: Likewise.
10783 * gdb.base/shmain.c: Likewise.
10784 * gdb.base/shr1.c: Likewise.
10785 * gdb.base/shr2.c: Likewise.
10786 * gdb.base/sigall.c: Likewise.
10787 * gdb.base/signals.c: Likewise.
10788 * gdb.base/so-indr-cl.c: Likewise.
10789 * gdb.base/solib2.c: Likewise.
10790 * gdb.base/structs.c: Likewise.
10791 * gdb.base/sum.c: Likewise.
10792 * gdb.base/vforked-prog.c: Likewise.
10793 * gdb.base/watchpoint.c: Likewise.
10794 * gdb.reverse/shr2.c: Likewise.
10795 * gdb.reverse/until-reverse.c: Likewise.
10796 * gdb.reverse/ur1.c: Likewise.
10797 * gdb.reverse/watch-reverse.c: Likewise.
10798
10799 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10800
10801 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10802 variant.
10803 * gdb.base/sepdebug.exp: Drop references to removed code.
10804
10805 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10806
10807 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10808 variant. Preserve original line numbering.
10809 * gdb.base/list1.c: Likewise.
10810
10811 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10812
10813 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10814 variant.
10815 * gdb.base/break1.c: Likewise.
10816 * gdb.base/break.exp: Drop references to removed code.
10817
10818 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10819
10820 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10821 variant.
10822
10823 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10824
10825 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10826
10827 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10828
10829 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10830 logic into perform_all_tests() and invoke it with and without
10831 function header prototypes.
10832 (do_function_calls): Remove conditional XFAIL for PR 5318.
10833 (rerun_and_prepare): Remove duplicate code.
10834 (perform_all_tests): New. Main logic moved here.
10835
10836 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10837
10838 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10839 code guarded by #ifdef NO_PROTOTYPES.
10840 (t_double_many_args): Likewise.
10841 (DEF_FUNC_MANY_ARGS_1): Likewise.
10842 (DEF_FUNC_VALUES_1): Likewise.
10843 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10844 guarded by #ifdef PROTOTYPES.
10845
10846 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10847
10848 * gdb.mi/mi-console.c: Add eye-catcher.
10849 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10850 instead of literal line number.
10851
10852 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10853
10854 * gdb.base/shr2.c: Add eye-catcher.
10855 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10856 line number.
10857
10858 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10859
10860 * gdb.base/jump.c: Add eye-catchers.
10861 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10862 numbers.
10863
10864 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10865
10866 * gdb.base/execd-prog.c: Add eye-catchers.
10867 * gdb.base/foll-exec.c: Likewise.
10868 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10869 line numbers.
10870
10871 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10872
10873 * gdb.base/ending-run.c: Add eye-catchers.
10874 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10875 literal line numbers.
10876
10877 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10878
10879 * gdb.base/call-rt-st.c: Add eye-catchers.
10880 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10881 literal line numbers.
10882
10883 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10884
10885 * gdb.base/call-ar-st.c: Add eye-catchers.
10886 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10887 literal line numbers.
10888
10889 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10890
10891 * gdb.base/average.c: Add eye-catchers.
10892 * gdb.base/sum.c: Likewise.
10893 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10894 regexps dynamically.
10895
10896 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10897
10898 * gdb.base/solib1.c: Add eye-catchers.
10899 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10900 literal line numbers.
10901
10902 2014-11-12 Pedro Alves <palves@redhat.com>
10903
10904 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10905 leader has exited.
10906
10907 2014-11-12 Pedro Alves <palves@redhat.com>
10908
10909 * gdb.arch/i386-bp_permanent.c: New file.
10910 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10911 (srcfile): Set to i386-bp_permanent.c.
10912 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10913 that stepi does not execute the 'leave' instruction, instead of
10914 testing it does execute.
10915 * gdb.base/bp-permanent.c: New file.
10916 * gdb.base/bp-permanent.exp: New file.
10917
10918 2014-11-10 Doug Evans <xdje42@gmail.com>
10919
10920 PR symtab/17564
10921 * gdb.base/symtab-search-order.exp: New file.
10922 * gdb.base/symtab-search-order.c: New file.
10923 * gdb.base/symtab-search-order-1.c: New file.
10924 * gdb.base/symtab-search-order-shlib-1.c: New file.
10925
10926 2014-11-07 Pedro Alves <palves@redhat.com>
10927
10928 PR gdb/17511
10929 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10930 i?86-*-linux*.
10931
10932 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10933
10934 PR c++/17494
10935 * gdb.cp/pr17494.cc: New file.
10936 * gdb.cp/pr17494.exp: New file.
10937
10938 2014-11-02 Yao Qi <yao@codesourcery.com>
10939
10940 * gdb.python/python.exp: Get working directory and match the
10941 output of "set extended-prompt \\w " with it.
10942
10943 2014-10-30 Doug Evans <dje@google.com>
10944
10945 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10946 in objfiles.
10947 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10948 in progspaces.
10949
10950 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10951
10952 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10953 * gdb.base/realname-expand.exp: Likewise.
10954 * gdb.linespec/macro-relative.exp: Likewise.
10955
10956 2014-10-29 Pedro Alves <palves@redhat.com>
10957
10958 PR gdb/17408
10959 * gdb.threads/schedlock.c (some_function): New function.
10960 (call_function): New global.
10961 (MAYBE_CALL_SOME_FUNCTION): New macro.
10962 (thread_function): Call it.
10963 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10964 and use it instead of a global counter. Adjust all callers.
10965 (get_current_thread): Use "find current thread" for test message
10966 here rather than having all callers pass down the same string.
10967 (goto_loop): New procedure, factored out from ...
10968 (my_continue): ... this.
10969 (step_ten_loops): Change parameter from test message to command to
10970 use. Adjust.
10971 (list_count): Delete global.
10972 (check_result): New procedure, factored out from duplicate top
10973 level code.
10974 (continue tests): Wrap in with_test_prefix.
10975 (test_step): New procedure, factored out from duplicate top level
10976 code.
10977 (top level): Test "step" in combination with all scheduler-locking
10978 modes. Test "next" in combination with all scheduler-locking
10979 modes, and in combination with stepping over a function call or
10980 not.
10981 * gdb.threads/next-bp-other-thread.c: New file.
10982 * gdb.threads/next-bp-other-thread.exp: New file.
10983
10984 2014-10-29 Pedro Alves <palves@redhat.com>
10985
10986 PR python/17372
10987 * gdb.python/python.exp: Test a multi-line command that spawns
10988 interactive Python.
10989 * gdb.base/multi-line-starts-subshell.exp: New file.
10990
10991 2014-10-29 Yao Qi <yao@codesourcery.com>
10992
10993 * gdb.base/fileio.exp: Make directories on host.
10994
10995 2014-10-29 Yao Qi <yao@codesourcery.com>
10996
10997 * gdb.base/fileio.c (test_write): Close the file.
10998
10999 2014-10-28 Pedro Alves <palves@redhat.com>
11000
11001 PR gdb/12623
11002 * gdb.base/sigstep.c (no_handler): New global.
11003 (main): If 'no_handler is true, set the signal handlers to
11004 SIG_IGN.
11005 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
11006 with_sw_watch and no_handler parameters. Handle them.
11007 (top level) <stepping over handler when stopped at a breakpoint
11008 test>: Add a test axis for testing with a software watchpoint, and
11009 another for testing with the signal handler set to SIG_IGN.
11010 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11011 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11012
11013 2014-10-28 Pedro Alves <palves@redhat.com>
11014
11015 PR gdb/17511
11016 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11017 * gdb.base/sigstep.exp (other_handler_location): New global.
11018 (advance): Support stepping into the signal handler, and running
11019 commands while in the handler.
11020 (in_handler_map): New global.
11021 (top level): In the advance test, add combinations for getting
11022 into the handler with stepping commands, and for running commands
11023 in the handler. Add comment descripting the advancei tests.
11024
11025 2014-10-28 Pedro Alves <palves@redhat.com>
11026
11027 * gdb.base/sigstep.exp: Use build_executable instead of
11028 prepare_for_testing.
11029 (top level): Move code that starts GDB, runs to main and creates a
11030 display to ...
11031 (restart): ... this new procedure.
11032 (top level): Move backtrace from signal handler test to ...
11033 (validate_backtrace): ... this new procedure.
11034 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11035 with_test_prefix. Always restart GDB.
11036 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11037 with_test_prefix. Always restart GDB. No need to delete
11038 breakpoints after the test.
11039 (test_skip_handler): Remove prefix parameter.
11040 (skip_over_handler, breakpoint_to_handler)
11041 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11042 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11043 restart GDB. No need to delete breakpoints after the test.
11044 (top level): Use foreach to call the test procedures with
11045 different commands.
11046
11047 2014-10-28 Pedro Alves <palves@redhat.com>
11048
11049 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11050 instead of GNATS numbers.
11051 * gdb.base/sigbpt.exp: Likewise.
11052 * gdb.base/siginfo.exp: Likewise.
11053 * gdb.base/sigstep.exp: Likewise.
11054
11055 2014-10-27 Pedro Alves <palves@redhat.com>
11056
11057 * gdb.base/sigstep.c (dummy): New global.
11058 (main): Issue a couple writes to the new global.
11059 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11060 procedures.
11061 (skip_over_handler): Use test_skip_handler.
11062 (top level): Call skip_over_handler for stepi and nexti too.
11063 (breakpoint_over_handler): Use test_skip_handler.
11064 (top level): Call breakpoint_over_handler for stepi and nexti too.
11065
11066 2014-10-27 Yao Qi <yao@codesourcery.com>
11067
11068 * gdb.trace/tfile.c (adjust_function_address)
11069 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11070 function descriptor.
11071
11072 2014-10-24 Don Breazeal <donb@codesourcery.com>
11073
11074 * gdb.base/foll-fork.exp (test_follow_fork,
11075 catch_fork_child_follow): Check for updated fork messages emitted
11076 from infrun.c.
11077 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11078 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11079 vfork_and_exec_child_follow_through_step): Check for updated vfork
11080 messages emitted from infrun.c.
11081
11082 2014-10-24 Pedro Alves <palves@redhat.com>
11083
11084 * gdb.base/corefile.exp: Remove references to ultrix.
11085 * gdb.base/interrupt.exp: Likewise.
11086 * gdb.base/whatis.exp: Likewise.
11087 * gdb.gdb/selftest.exp: Likewise.
11088 * gdb.threads/manythreads.exp: Likewise.
11089 * gdb.threads/print-threads.exp: Likewise.
11090 * gdb.threads/pthreads.exp:: Likewise.
11091 * gdb.threads/schedlock.exp: Likewise.
11092
11093 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11094
11095 * gdb.cp/non-trivial-retval.cc: Add a test case.
11096 * gdb.cp/non-trivial-retval.exp: Add a test.
11097
11098 2014-10-20 Yao Qi <yao@codesourcery.com>
11099
11100 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11101 * gdb.python/py-objfile-script-gdb.py: New file.
11102 * gdb.python/py-objfile-script.exp: Update reference to
11103 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11104 of remote_download. Remove the dest file.
11105
11106 2014-10-20 Yao Qi <yao@codesourcery.com>
11107
11108 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11109 * gdb.base/step-line.exp: Likewise.
11110 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11111 * gdb.dwarf2/dw2-basic.exp: Likewise.
11112 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11113 * gdb.dwarf2/dw2-filename.exp: Likewise.
11114 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11115 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11116 * gdb.dwarf2/dw2-producer.exp: Likewise.
11117 * gdb.dwarf2/mac-fileno.exp: Likewise.
11118 * gdb.python/py-frame-args.exp: Likewise.
11119 * gdb.python/py-framefilter.exp: Likewise.
11120 * gdb.python/py-mi.exp: Likewise.
11121 * gdb.python/py-objfile-script.exp: Likewise
11122 * gdb.python/py-pp-integral.exp: Likewise.
11123 * gdb.python/py-pp-re-notag.exp: Likewise.
11124 * gdb.python/py-prettyprint.exp: Likewise.
11125 * gdb.python/py-section-script.exp: Likewise.
11126 * gdb.python/py-typeprint.exp: Likewise.
11127 * gdb.python/py-xmethods.exp: Likewise.
11128 * gdb.stabs/weird.exp: Likewise.
11129 * gdb.xml/tdesc-regs.exp: Likewise.
11130
11131 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11132
11133 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11134 (out_cu): Use addr_len for the size of addresses.
11135 (out_line): Likewise. Size DW_LNE_set_address instruction
11136 according to addr_len.
11137 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11138 (FUNC): Add START_INSNS to definition.
11139
11140 2014-10-18 Yao Qi <yao@codesourcery.com>
11141
11142 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11143 gdb_has_argv0 return true.
11144 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11145 check [target_info exists noargs], check [gdb_has_argv0]
11146 instead.
11147 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11148 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11149 procedures.
11150
11151 2014-10-17 Doug Evans <dje@google.com>
11152
11153 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11154 event.
11155 * gdb.python/py-events.py: Add clear_objfiles event.
11156
11157 2014-10-17 Doug Evans <dje@google.com>
11158
11159 * gdb.python/py-objfile.exp: Test progspace attribute.
11160
11161 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11162
11163 * gdb.guile/scm-breakpoint.exp: Do not assume any
11164 directory separators when matching source file paths.
11165 * gdb.python/py-breakpoint.exp: Likewise.
11166 * gdb.reverse/break-precsave.exp: Likewise.
11167 * gdb.reverse/break-reverse.exp: Likewise.
11168 * gdb.reverse/consecutive-precsave.exp: Likewise.
11169 * gdb.reverse/finish-precsave.exp: Likewise.
11170 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11171 * gdb.reverse/finish-reverse.exp: Likewise.
11172 * gdb.reverse/i386-precsave.exp: Likewise.
11173 * gdb.reverse/i387-env-reverse.exp: Likewise.
11174 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11175 * gdb.reverse/machinestate-precsave.exp: Likewise.
11176 * gdb.reverse/machinestate.exp: Likewise.
11177 * gdb.reverse/sigall-precsave.exp: Likewise.
11178 * gdb.reverse/solib-precsave.exp: Likewise.
11179 * gdb.reverse/step-precsave.exp: Likewise.
11180 * gdb.reverse/until-precsave.exp: Likewise.
11181 * gdb.reverse/watch-precsave.exp: Likewise.
11182 * gdb.reverse/watch-reverse.exp: Likewise.
11183
11184 2014-10-17 Yao Qi <yao@codesourcery.com>
11185
11186 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11187 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11188
11189 2014-10-17 Pedro Alves <palves@redhat.com>
11190
11191 PR gdb/17471
11192 * gdb.base/bg-execution-repeat.c: New file.
11193 * gdb.base/bg-execution-repeat.exp: New file.
11194
11195 2014-10-17 Pedro Alves <palves@redhat.com>
11196
11197 PR gdb/17300
11198 * gdb.base/continue-all-already-running.c: New file.
11199 * gdb.base/continue-all-already-running.exp: New file.
11200
11201 2014-10-17 Pedro Alves <palves@redhat.com>
11202
11203 PR gdb/17472
11204 * gdb.base/annota-input-while-running.c: New file.
11205 * gdb.base/annota-input-while-running.exp: New file.
11206
11207 2014-10-17 Pedro Alves <palves@redhat.com>
11208
11209 * gdb.base/callfuncs.exp: emove references to osf.
11210 * gdb.base/sigall.exp: Likewise.
11211 * gdb.gdb/selftest.exp: Likewise.
11212 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11213 * gdb.mi/non-stop.c: Likewise.
11214 * gdb.mi/pthreads.c: Likewise.
11215 * gdb.reverse/sigall-precsave.exp: Likewise.
11216 * gdb.reverse/sigall-reverse.exp: Likewise.
11217 * gdb.threads/pthreads.c: Likewise.
11218 * gdb.threads/pthreads.exp: Likewise.
11219
11220 2014-10-17 Yao Qi <yao@codesourcery.com>
11221
11222 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11223 check 'target_info exists noargs'.
11224 (test_command_prompt_position): Likewise.
11225 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11226 Remove "set args".
11227 (progvar_simple_while_test): Likewise.
11228 (progvar_complex_if_while_test): Likewise.
11229 (if_while_breakpoint_command_test): Likewise.
11230 (infrun_breakpoint_command_test): Likewise.
11231 (breakpoint_command_test): Likewise.
11232 (watchpoint_command_test): Likewise.
11233 (bp_deleted_in_command_test): Likewise.
11234 (temporary_breakpoint_commands): Likewise.
11235
11236 2014-10-16 Yao Qi <yao@codesourcery.com>
11237
11238 * gdb.base/remotetimeout.exp: Remove noargs checking.
11239
11240 2014-10-15 Pedro Alves <palves@redhat.com>
11241
11242 PR breakpoints/9649
11243 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11244 * gdb.base/breakpoint-in-ro-region.exp
11245 (probe_target_hardware_step): New procedure.
11246 (top level): Probe hardware stepping and hardware breakpoint
11247 support. Test stepping through a read-only region, with both
11248 "breakpoint auto-hw" on and off and both "always-inserted" on and
11249 off.
11250
11251 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11252
11253 * gdb.dlang/demangle.exp: Update for demangling changes.
11254
11255 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11256
11257 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11258 * gdb.cp/non-trivial-retval.exp: Add new tests.
11259
11260 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11261
11262 PR c++/13403
11263 PR c++/15154
11264 * gdb.cp/non-trivial-retval.cc: New file.
11265 * gdb.cp/non-trivial-retval.exp: New file.
11266
11267 2014-10-15 Yao Qi <yao@codesourcery.com>
11268
11269 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11270 remote host.
11271
11272 2014-10-15 Yao Qi <yao@codesourcery.com>
11273
11274 * gdb.python/py-symbol.exp: Match file base name if host is
11275 remote, otherwise match file name with dir name.
11276 * gdb.python/py-symtab.exp: Likewise.
11277 * gdb.python/python.exp: Likewise.
11278
11279 2014-10-15 Yao Qi <yao@codesourcery.com>
11280
11281 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11282 pattern.
11283 * gdb.python/py-symtab.exp: Likewise.
11284 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11285 locationn.
11286
11287 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11288
11289 * gdb.ada/addr_arith: New testcase.
11290
11291 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11292
11293 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11294 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11295 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11296 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11297
11298 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11299
11300 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11301 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11302 * gdb.arch/stap-eval-lang-ada.exp: New file.
11303
11304 2014-10-14 Yao Qi <yao@codesourcery.com>
11305
11306 * gdb.mi/mi-var-child.c (nothing1): New function.
11307 (nothing2): New function.
11308 (do_children_tests): Set function pointers by nothing1 and
11309 nothing2.
11310 * gdb.mi/mi-var-child.exp: Step over new added statements.
11311 Update test to match the new output.
11312 * gdb.mi/var-cmd.c (nothing1): New function.
11313 (nothing2): New function.
11314 (do_children_tests): Set function pointers by nothing1 and
11315 nothing2.
11316 * gdb.mi/mi-var-display.exp: Update test to match output.
11317 Step to the line specified by $line_dct_nothing.
11318 Increase the number of lines to step.
11319
11320 2014-10-14 Yao Qi <yao@codesourcery.com>
11321
11322 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11323 tests.
11324 * gdb.mi/mi2-var-child.exp: Likewise.
11325
11326 2014-10-13 Doug Evans <dje@google.com>
11327
11328 * gdb.python/py-objfile.exp: Change name of file name test.
11329
11330 2014-10-13 Doug Evans <dje@google.com>
11331
11332 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11333 from the start of the CU.
11334
11335 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11336 Yao Qi <yao@codesourcery.com>
11337
11338 Fix "save breakpoints" for "catch" command.
11339 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11340 Remove -nonewline. Match also the added "main" line.
11341
11342 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11343
11344 Fix "save breakpoints" for "disable $bpnum" command.
11345 * gdb.base/save-bp.c (main): Add label.
11346 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11347
11348 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11349
11350 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11351
11352 2014-10-11 Yao Qi <yao@codesourcery.com>
11353
11354 * gdb.server/server-kill.exp: Execute command
11355 "set remote trace-status-packet on" before "tstatus".
11356
11357 2014-10-11 Yao Qi <yao@codesourcery.com>
11358
11359 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11360 (main): Call getppid.
11361 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11362 and continue to it. Read variable "server_pid".
11363
11364 2014-10-11 Yao Qi <yao@codesourcery.com>
11365
11366 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11367
11368 2014-10-11 Yao Qi <yao@codesourcery.com>
11369
11370 * gdb.threads/thread-find.exp: Don't execute command
11371 "info threads".
11372 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11373 * gdb.threads/linux-dp.exp: Don't check the condition
11374 $threads_created equals to zero.
11375
11376 2014-10-10 Pedro Alves <palves@redhat.com>
11377
11378 * gdb.base/bigcore.exp: Remove references to IRIX.
11379 * gdb.base/funcargs.exp: Likewise.
11380 * gdb.base/interrupt.exp: Likewise.
11381 * gdb.base/mips_pro.exp: Likewise.
11382 * gdb.base/nodebug.exp: Likewise.
11383 * gdb.base/setvar.exp: Likewise.
11384 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11385
11386 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11387 Pedro Alves <palves@redhat.com>
11388
11389 PR symtab/14466
11390 * gdb.base/vdso-warning.c: New file.
11391 * gdb.base/vdso-warning.exp: New file.
11392
11393 2014-10-02 Doug Evans <dje@google.com>
11394
11395 * gdb.base/structs.c (main): Don't run forever.
11396
11397 2014-10-02 Pedro Alves <palves@redhat.com>
11398
11399 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11400 (top level) <stop threads 1, stop threads 2>: Use it.
11401
11402 2014-10-02 Pedro Alves <palves@redhat.com>
11403
11404 * gdb.threads/break-while-running.exp (test): Add new
11405 'update_thread_list' argument. Skip "info threads" if false.
11406 (top level): Add new 'update_thread_list' axis.
11407
11408 2014-10-02 Pedro Alves <palves@redhat.com>
11409
11410 PR breakpoints/17431
11411 * gdb.base/execl-update-breakpoints.c: New file.
11412 * gdb.base/execl-update-breakpoints.exp: New file.
11413
11414 2014-10-01 Pedro Alves <palves@redhat.com>
11415
11416 * gdb.base/breakpoint-in-ro-region.c: New file.
11417 * gdb.base/breakpoint-in-ro-region.exp: New file.
11418
11419 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11420
11421 * gdb.mi/mi-exit-code.exp: New file.
11422 * gdb.mi/mi-exit-code.c: New file.
11423
11424 2014-09-30 Yao Qi <yao@codesourcery.com>
11425
11426 * lib/prelink-support.exp (build_executable_own_libs): Error if
11427 the target isn't native.
11428
11429 2014-09-30 Yao Qi <yao@codesourcery.com>
11430
11431 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11432 false.
11433
11434 2014-09-22 Pedro Alves <palves@redhat.com>
11435
11436 * gdb.threads/break-while-running.exp: New file.
11437 * gdb.threads/break-while-running.c: New file.
11438
11439 2014-09-19 Yao Qi <yao@codesourcery.com>
11440
11441 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11442 Invoke test. Restart GDB with --readnow and invoke test again.
11443
11444 2014-09-19 Yao Qi <yao@codesourcery.com>
11445
11446 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11447 proc set_breakpoint_on_gcd_function. Invoke
11448 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11449 invoke set_breakpoint_on_gcd_function again.
11450
11451 2014-09-18 Doug Evans <dje@google.com>
11452
11453 * gdb.dwarf2/symtab-producer.exp: New file.
11454
11455 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11456
11457 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11458 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11459 * gdb.base/global-var-nested-by-dso.c: Likewise.
11460 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11461
11462 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11463 Pedro Alves <palves@redhat.com>
11464
11465 * gdb.base/watch-bitfields.exp: Pass string other than test file
11466 name to prepare_for_testing.
11467 (watch): New procedure.
11468 (expect_watchpoint): Use with_test_prefix.
11469 (top level): Factor out tests to ...
11470 (test_watch_location, test_regular_watch): ... these new
11471 procedures, and use with_test_prefix and gdb_continue_to_end.
11472
11473 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11474
11475 PR breakpoints/12526
11476 * gdb.base/watch-bitfields.exp: New file.
11477 * gdb.base/watch-bitfields.c: New file.
11478
11479 2014-09-16 Pedro Alves <palves@redhat.com>
11480
11481 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11482 software and hardware addresses, not software address against
11483 itself.
11484
11485 2014-09-16 Pedro Alves <palves@redhat.com>
11486
11487 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11488 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11489
11490 2014-09-16 Pedro Alves <palves@redhat.com>
11491
11492 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11493 files.
11494 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11495 "*-*-vxworks*" throughout.
11496 * gdb.base/break.exp: Likewise.
11497 * gdb.base/default.exp: Likewise.
11498 * gdb.base/scope.exp: Likewise.
11499 * gdb.base/sepdebug.exp: Likewise.
11500 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11501 throughout.
11502 * gdb.base/run.c: Likewise.
11503 * gdb.base/sepdebug.c: Likewise.
11504 * gdb.hp/gdb.aCC/run.c: Likewise.
11505 * gdb.reverse/until-reverse.c: Likewise.
11506 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11507
11508 2014-09-16 Yao Qi <yao@codesourcery.com>
11509
11510 * boards/local-remote-host-native.exp: New file.
11511
11512 2014-09-14 Doug Evans <xdje42@gmail.com>
11513
11514 * gdb.threads/queue-signal.c (thread_count): New variable.
11515 (thread_count_mutex, thread_count_condvar): New variables.
11516 (incr_thread_count, wait_all_threads_running): New functions.
11517 (main): Wait for all threads to be in their thread functions.
11518
11519 2014-09-13 Doug Evans <xdje42@gmail.com>
11520
11521 * gdb.threads/queue-signal.c: New file.
11522 * gdb.threads/queue-signal.exp: New file.
11523
11524 2014-09-13 Doug Evans <xdje42@gmail.com>
11525
11526 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11527 be consistent with what default_gdb_init uses.
11528 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11529 the plain text of the prompt. Add some logging printfs.
11530 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11531
11532 2014-09-12 Pedro Alves <palves@redhat.com>
11533
11534 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11535 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11536 * gdb.arch/i386-size-overlap.exp: Likewise.
11537 * gdb.arch/i386-size.exp: Likewise.
11538 * gdb.arch/i386-unwind.exp: Likewise.
11539 * gdb.base/a2-run.exp: Likewise.
11540 * gdb.base/break.exp: Likewise.
11541 * gdb.base/charset.exp: Likewise.
11542 * gdb.base/chng-syms.exp: Likewise.
11543 * gdb.base/commands.exp: Likewise.
11544 * gdb.base/dbx.exp: Likewise.
11545 * gdb.base/find.exp: Likewise.
11546 * gdb.base/funcargs.exp: Likewise.
11547 * gdb.base/jit-simple.exp: Likewise.
11548 * gdb.base/reread.exp: Likewise.
11549 * gdb.base/sepdebug.exp: Likewise.
11550 * gdb.base/step-bt.exp: Likewise.
11551 * gdb.cp/mb-inline.exp: Likewise.
11552 * gdb.cp/mb-templates.exp: Likewise.
11553 * gdb.objc/basicclass.exp: Likewise.
11554 * gdb.threads/killed.exp: Likewise.
11555
11556 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11557
11558 PR tdep/17379
11559 * gdb.arch/powerpc-stackless.S: New file.
11560 * gdb.arch/powerpc-stackless.exp: New file.
11561
11562 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11563
11564 * gdb.base/attach.c: Include unistd.h.
11565 (main): Call alarm. Add label postloop.
11566 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11567 gdb_breakpoint, gdb_continue_to_breakpoint.
11568 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11569
11570 2014-09-11 Pedro Alves <palves@redhat.com>
11571
11572 PR gdb/17347
11573 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11574 * gdb.base/attach.exp (test_command_line_attach_run): New
11575 procedure.
11576 (top level): Call it.
11577
11578 2014-09-11 Pedro Alves <palves@redhat.com>
11579
11580 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11581 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11582 (do_command_attach_tests): Use spawn_wait_for_attach.
11583 * gdb.base/solib-overlap.exp: Likewise.
11584 * gdb.multi/multi-attach.exp: Likewise.
11585 * gdb.python/py-prompt.exp: Likewise.
11586 * gdb.python/py-sync-interp.exp: Likewise.
11587 * gdb.server/ext-attach.exp: Likewise.
11588
11589 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11590
11591 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11592 command in testcase. Simplify testcase.
11593
11594 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11595
11596 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11597
11598 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11599
11600 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11601
11602 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11603
11604 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11605
11606 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11607
11608 * gdb.dwarf2/dynarr-ptr.c: New file.
11609 * gdb.dwarf2/dynarr-ptr.exp: New file.
11610
11611 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11612
11613 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11614 of 30 rather than hardcoding 120 for a slow test case. Take the
11615 `gdb,timeout' target setting into account for this calculation.
11616 Don't extend the timeout for the test cases that don't need it.
11617
11618 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11619
11620 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11621 a factor of 2 for a slow test case. Take the `gdb,timeout'
11622 target setting into account for this calculation.
11623 * gdb.reverse/until-precsave.exp: Increase the timeout by
11624 a factor of 15 and 3 respectively rather than adding 120
11625 for a pair of slow test cases. Take the `gdb,timeout'
11626 target setting into account for this calculation.
11627
11628 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11629
11630 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11631 timeout, don't pass one down to gdb_expect.
11632 (gdb_expect): Rework timeout selection.
11633
11634 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11635
11636 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11637 exception on timeout.
11638 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11639 (gdbserver_start_extended): Catch any `gdbserver_start' error
11640 exceptions.
11641 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11642 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11643 `gdbserver_gdb_load' error exceptions.
11644
11645 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11646
11647 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11648 120 on waiting for the TCP socket to open.
11649
11650 2014-09-09 Doug Evans <xdje42@gmail.com>
11651
11652 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11653 _caller_matches, _any_caller_is, _any_caller_matches.
11654
11655 2014-09-09 Doug Evans <xdje42@gmail.com>
11656
11657 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11658
11659 2014-09-09 Yao Qi <yao@codesourcery.com>
11660
11661 * gdb.mi/mi-var-display.exp: Set print symbol off.
11662
11663 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11664
11665 PR gdb/17035
11666 * gdb.base/commands.exp: Add tests to verify user-defined
11667 commands with empty bodies.
11668 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11669 python commands in `show user command`.
11670 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11671 scheme commands in `show user command`.
11672
11673 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11674
11675 PR python/17355
11676 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11677 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11678 * gdb.python/py-framefilter-invalidarg.exp: New file.
11679 * gdb.python/py-framefilter-invalidarg.py: New file.
11680
11681 2014-09-06 Doug Evans <xdje42@gmail.com>
11682
11683 PR 15276
11684 * gdb.python/py-caller-is.c: New file.
11685 * gdb.python/py-caller-is.exp: New file.
11686
11687 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11688
11689 PR gdb/17235
11690 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11691 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11692
11693 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11694
11695 PR fortran/17237
11696 * gdb.fortran/print-formatted.exp: New file.
11697 * gdb.fortran/print-formatted.f90: Likewise.
11698
11699 2014-09-03 Sasha Smundak <asmundak@google.com>
11700
11701 * gdb.python/py-frame.exp: Test Frame.read_register.
11702
11703 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11704
11705 PR python/16699
11706 * gdb.python/py-completion.exp: New file.
11707 * gdb.python/py-completion.py: Likewise.
11708
11709 2014-08-28 Doug Evans <dje@google.com>
11710
11711 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11712 eax,etc. are live with values set by gdb and thus the compiler can't
11713 use them.
11714 * gdb.arch/i386-pseudo.c (main): Ditto.
11715
11716 2014-08-27 Doug Evans <dje@google.com>
11717
11718 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11719
11720 2014-08-25 Doug Evans <dje@google.com>
11721
11722 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11723 (main): Ditto.
11724
11725 2014-08-25 Doug Evans <dje@google.com>
11726
11727 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11728
11729 2014-08-24 Yao Qi <yao@codesourcery.com>
11730
11731 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11732 symbol off.
11733 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11734
11735 2014-08-22 Doug Evans <dje@google.com>
11736
11737 PR 17276
11738 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11739 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11740 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11741
11742 2014-08-22 Yao Qi <yao@codesourcery.com>
11743
11744 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11745 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11746 * gdb.python/python.exp: Likewise. Use .py file on the host
11747 instead of the build.
11748
11749 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11750
11751 * gdb.threads/gcore-stale-thread.c: New file.
11752 * gdb.threads/gcore-stale-thread.exp: New file.
11753
11754 2014-08-21 Pedro Alves <palves@redhat.com>
11755
11756 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11757 * gdb.base/gcore-relro-pie.exp: Likewise.
11758 * gdb.base/gcore-relro.exp: Likewise.
11759 * gdb.base/gcore.exp: Likewise.
11760 * gdb.base/print-symbol-loading.exp: Likewise.
11761 * gdb.threads/gcore-thread.exp: Likewise.
11762 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11763
11764 2014-08-20 Pedro Alves <palves@redhat.com>
11765 Jan Kratochvil <jan.kratochvil@redhat.com>
11766
11767 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11768 configure.
11769 (EXPECT): Handle READ1 being set.
11770 (all): Depend on EXTRA_RULES.
11771 (check-read1, expect-read1, read1.so, read1): New rules.
11772 * README (Testsuite Parameters): Document the READ1 make variable.
11773 (Race detection): New section.
11774 * configure: Regenerate.
11775 * configure.ac: If build==host==target, and running under a
11776 GNU/glibc system, add read1 to the extra Makefile rules.
11777 (EXTRA_RULES): AC_SUBST it.
11778 * lib/read1.c: New file.
11779
11780 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11781
11782 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11783 the handling of variables declared as a typedef to an array
11784 which a DW_AT_data_location attribute.
11785
11786 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11787 Pedro Alves <palves@redhat.com>
11788
11789 PR symtab/14604
11790 PR symtab/14605
11791 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11792 gdb_test.
11793
11794 2014-08-19 Pedro Alves <palves@redhat.com>
11795
11796 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11797
11798 2014-08-19 Yao Qi <yao@codesourcery.com>
11799
11800 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11801 right line.
11802
11803 2014-08-18 David Blaikie <dblaikie@gmail.com>
11804
11805 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11806
11807 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11808
11809 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11810 attribute in array range.
11811
11812 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11813
11814 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11815
11816 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11817
11818 PR c++/17132
11819 * gdb.cp/pr17132.cc: New file.
11820 * gdb.cp/pr17132.exp: New file.
11821
11822 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11823
11824 * gdb.python/py-xmethods.py (A_getarrayind)
11825 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11826 Use 'print' with function call syntax.
11827 (E_method_matcher.match): Fix tab vs space indentation mixup.
11828
11829 2014-08-15 Yao Qi <yao@codesourcery.com>
11830
11831 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11832 false.
11833
11834 2014-08-15 Yao Qi <yao@codesourcery.com>
11835
11836 * gdb.cp/casts.exp: Set print symbol off.
11837 * gdb.cp/class2.exp: Likewise.
11838 * gdb.cp/overload.exp: Likewise.
11839 * gdb.cp/templates.exp: Likewise.
11840
11841 2014-08-11 Doug Evans <dje@google.com>
11842
11843 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11844 (test_load_shlib): Update.
11845
11846 2014-08-09 Yao Qi <yao@codesourcery.com>
11847
11848 * gdb.base/display.exp: Invoke is_address_zero_readable.
11849 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11850 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11851 * gdb.base/hbreak-unmapped.exp: Return if
11852 is_address_zero_readable returns true.
11853 * gdb.base/signest.exp: Likewise.
11854 * gdb.base/signull.exp: Likewise.
11855 * gdb.base/sigbpt.exp: Likewise.
11856 * gdb.guile/scm-disasm.exp: Do the test if
11857 is_address_zero_readable returns false.
11858 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11859 * gdb.python/py-arch.exp: Likewise.
11860 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11861 * lib/gdb.exp (is_address_zero_readable): New proc.
11862
11863 2014-08-09 Yao Qi <yao@codesourcery.com>
11864
11865 PR testsuite/13443
11866 * gdb.mi/mi-var-display.exp: Make test messages unique.
11867
11868 2014-08-04 Tom Tromey <tromey@redhat.com>
11869
11870 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11871 target 0".
11872
11873 2014-08-04 Tom Tromey <tromey@redhat.com>
11874
11875 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11876 "target_resume".
11877
11878 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11879
11880 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11881 inner_vla_struct_object_size.
11882 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11883 as xfail.
11884
11885 2014-07-30 Pedro Alves <palves@redhat.com>
11886
11887 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11888 comment.
11889
11890 2014-07-29 Yao Qi <yao@codesourcery.com>
11891
11892 PR gdb/17206
11893 * gdb.base/until-nodebug.exp: New.
11894
11895 2014-07-28 Doug Evans <xdje42@gmail.com>
11896
11897 PR guile/17203
11898 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11899 previously existing parameter, and previously ambiguously spelled
11900 parameter.
11901
11902 2014-07-28 Will Newton <will.newton@linaro.org>
11903
11904 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11905
11906 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11907 Doug Evans <xdje42@gmail.com>
11908
11909 PR guile/17146
11910 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11911
11912 2014-07-25 Pedro Alves <palves@redhat.com>
11913
11914 * gdb.threads/signal-command-handle-nopass.c: New file.
11915 * gdb.threads/signal-command-handle-nopass.exp: New file.
11916 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11917 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11918 * gdb.threads/signal-delivered-right-thread.c: New file.
11919 * gdb.threads/signal-delivered-right-thread.exp: New file.
11920
11921 2014-07-25 Pedro Alves <palves@redhat.com>
11922
11923 * gdb.base/double-prompt-target-event-error.exp
11924 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11925 match.
11926 (cancel_pagination_in_target_event): Rework double prompt
11927 detection.
11928 * gdb.base/paginate-after-ctrl-c-running.exp
11929 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11930 <return>' match.
11931 * gdb.base/paginate-bg-execution.exp
11932 (test_bg_execution_pagination_return)
11933 (test_bg_execution_pagination_cancel): Remove '-notransfer
11934 <return>' matches.
11935 * gdb.base/paginate-execution-startup.exp
11936 (test_fg_execution_pagination_return)
11937 (test_fg_execution_pagination_cancel): Remove '-notransfer
11938 <return>' matches.
11939 * gdb.base/paginate-inferior-exit.exp
11940 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11941 match.
11942 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11943 * lib/gdb.exp (pagination_prompt): Run text through
11944 string_to_regexp.
11945 (gdb_test_multiple): Match $pagination_prompt instead of
11946 "<return>".
11947 (string_to_regexp): Move to lib/gdb-utils.exp.
11948
11949 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11950
11951 * gdb.arch/amd64-entry-value-paramref.S: New file.
11952 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11953 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11954 * gdb.arch/amd64-optimout-repeat.S: New file.
11955 * gdb.arch/amd64-optimout-repeat.c: New file.
11956 * gdb.arch/amd64-optimout-repeat.exp: New file.
11957
11958 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11959
11960 PR gdb/17170
11961 * gdb.base/statistics.exp: New file.
11962
11963 2014-07-17 Doug Evans <dje@google.com>
11964
11965 PR gdb/17170
11966 * gdb.base/maint.exp: Update testing of per-command stats.
11967
11968 2014-07-16 Pedro Alves <palves@redhat.com>
11969
11970 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11971 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11972 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11973 (tfile_write_buf): New functions.
11974 (add_memory_block): Rewrite using the above.
11975 (adjust_function_address): New function.
11976 (FUNCTION_ADDRESS): New macro.
11977 (write_basic_trace_file): Remove short_x local, and use
11978 tfile_write_16. Change type of func_addr local to unsigned long
11979 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11980 here. Cast argument of add_memory_block to char pointer.
11981 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11982 (main): Remove parameters.
11983 * gdb.trace/tfile.exp: Remove nowarnings.
11984
11985 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11986
11987 * gdb.base/debug-expr.exp: Test string evaluation with
11988 "debug expression" on.
11989
11990 2014-07-15 Pedro Alves <palves@redhat.com>
11991
11992 * gdb.base/reread.exp: Use clean_restart.
11993
11994 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11995
11996 * gdb.arch/avr-flash-qualifer.c: New.
11997 * gdb.arch/avr-flash-qualifer.exp: New.
11998
11999 2014-07-14 Pedro Alves <palves@redhat.com>
12000
12001 * gdb.base/paginate-after-ctrl-c-running.c: New file.
12002 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
12003
12004 2014-07-14 Pedro Alves <palves@redhat.com>
12005
12006 * gdb.base/double-prompt-target-event-error.c: New file.
12007 * gdb.base/double-prompt-target-event-error.exp: New file.
12008
12009 2014-07-14 Pedro Alves <palves@redhat.com>
12010
12011 PR gdb/17072
12012 * gdb.base/paginate-inferior-exit.c: New file.
12013 * gdb.base/paginate-inferior-exit.exp: New file.
12014
12015 2014-07-14 Pedro Alves <palves@redhat.com>
12016
12017 PR gdb/17072
12018 * gdb.base/paginate-bg-execution.c: New file.
12019 * gdb.base/paginate-bg-execution.exp: New file.
12020
12021 2014-07-14 Pedro Alves <palves@redhat.com>
12022
12023 PR gdb/17072
12024 * gdb.base/paginate-execution-startup.c: New file.
12025 * gdb.base/paginate-execution-startup.exp: New file.
12026 * lib/gdb.exp (pagination_prompt): New global.
12027 (default_gdb_spawn): New procedure, factored out from
12028 default_gdb_spawn.
12029 (default_gdb_start): Adjust to call default_gdb_spawn.
12030 (gdb_spawn): New procedure.
12031
12032 2014-07-14 Pedro Alves <palves@redhat.com>
12033
12034 * lib/gdb.exp (gdb_assert): New procedure.
12035 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12036
12037 2014-07-14 Pedro Alves <palves@redhat.com>
12038
12039 * gdb.base/execution-termios.c: New file.
12040 * gdb.base/execution-termios.exp: New file.
12041
12042 2014-07-14 Tom Tromey <tromey@redhat.com>
12043
12044 * gdb.cp/vla-cxx.cc: New file.
12045 * gdb.cp/vla-cxx.exp: New file.
12046
12047 2014-07-14 Tom Tromey <tromey@redhat.com>
12048
12049 * gdb.reverse/rerun-prec.c: New file.
12050 * gdb.reverse/rerun-prec.exp: New file.
12051
12052 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12053 Maciej W. Rozycki <macro@codesourcery.com>
12054
12055 * lib/gdb-utils.exp: New file.
12056 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12057 inline `gdb_init_command' processing.
12058 (gdb_start_cmd): Likewise.
12059 * lib/mi-support.exp (mi_run_cmd): Likewise.
12060 * README: Document `gdb_init_command' and `gdb_init_commands'.
12061
12062 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12063
12064 Fix false FAIL running under a very long directory name.
12065 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12066 and "set print elements 10000". Twice.
12067
12068 2014-07-11 Yao Qi <yao@codesourcery.com>
12069
12070 * gdb.base/exprs.exp: "set print symbol off".
12071
12072 2014-07-11 Pedro Alves <palves@redhat.com>
12073
12074 * gdb.threads/kill.c: New file.
12075 * gdb.threads/kill.exp: New file.
12076
12077 2014-07-10 Yao Qi <yao@codesourcery.com>
12078
12079 * gdb.trace/tfile.c (write_basic_trace_file)
12080 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12081 address written to trace file.
12082
12083 2014-07-09 Pedro Alves <palves@redhat.com>
12084
12085 * gdb.base/attach-wait-input.exp: New file.
12086 * gdb.base/attach-wait-input.c: New file.
12087
12088 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12089
12090 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12091 setting up test structures.
12092 (main): Call new test function.
12093 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12094 test function, continue into test function and walk test
12095 structures.
12096
12097 2014-07-02 Yao Qi <yao@codesourcery.com>
12098
12099 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12100 'bar_start' at the beginning of functions 'foo' and 'bar'
12101 respectively.
12102 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12103 instead of 'foo' and 'bar'.
12104
12105 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12106
12107 * gdb.btrace/segv.exp: New.
12108 * gdb.btrace/segv.c: New.
12109
12110 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12111
12112 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12113 instruction.
12114
12115 2014-06-30 Mark Wielaard <mjw@redhat.com>
12116
12117 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12118 vulture, vilify, villar): New volatile array constants.
12119 (vindictive, vegetation): New const volatile array constants.
12120 * gdb.base/volatile.exp: Test volatile and const volatile array
12121 types.
12122
12123 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12124
12125 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12126 target lacks support for awatch, rwatch, or hbreak.
12127
12128 2014-06-27 Yao Qi <yao@codesourcery.com>
12129
12130 * gdb.multi/dummy-frame-restore.exp: New.
12131 * gdb.multi/dummy-frame-restore.c: New.
12132
12133 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12134
12135 * gdb.btrace/gcore.exp: New.
12136
12137 2014-06-23 Pedro Alves <palves@redhat.com>
12138
12139 * gdb.base/watchpoint-reuse-slot.c: New file.
12140 * gdb.base/watchpoint-reuse-slot.exp: New file.
12141
12142 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12143
12144 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12145 progspace's filename in 'info', 'enable' and 'disable' command
12146 tests.
12147
12148 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12149
12150 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12151 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12152 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12153
12154 2014-06-20 Gary Benson <gbenson@redhat.com>
12155
12156 * gdb.arch/i386-avx.exp: Fix include file location.
12157 * gdb.arch/i386-sse.exp: Likewise.
12158
12159 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12160
12161 * gdb.dlang/expression.exp: New file.
12162
12163 2014-06-19 Pedro Alves <palves@redhat.com>
12164
12165 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12166 out from ...
12167 (top level): ... here. Iterate running tests under different
12168 scheduler-locking settings.
12169
12170 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12171
12172 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12173 to DW_FORM_addr and use non-zero addresses.
12174
12175 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12176
12177 PR gdb/17017
12178 * gdb.python/py-xmethods.cc: Add global function call counters and
12179 increment them in their respective functions. Remove "cout"
12180 statements.
12181 * gdb.python/py-xmethods.exp: Make tests check the global function
12182 call counters instead of depending on inferior IO.
12183
12184 2014-06-18 Don Breazeal <donb@codesourcery.com>
12185
12186 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12187 Deleted procedure.
12188 (explicit_fork_parent_follow): Deleted procedure.
12189 (explicit_fork_child_follow): Deleted procedure.
12190 (test_follow_fork): New procedure.
12191 (do_fork_tests): Replace calls to deleted procedures with
12192 calls to test_follow_fork and reset GDB for subsequent
12193 procedure calls.
12194
12195 2014-06-17 Yao Qi <yao@codesourcery.com>
12196
12197 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12198 CP1252.
12199
12200 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12201
12202 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12203 Initialize ptr and S explicitly.
12204 (skip_type_update_when_not_use_rtti_test): Likewise.
12205
12206 2014-06-16 Keith Seitz <keiths@redhat.com>
12207
12208 PR mi/15863
12209 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12210 the inferior is started.
12211
12212 2014-06-16 Pedro Alves <palves@redhat.com>
12213
12214 * gdb.base/break-main-file-remove-fail.c: New file.
12215 * gdb.base/break-main-file-remove-fail.exp: New file.
12216 * gdb.base/break-unload-file.exp: Use build_executable instead of
12217 prepare_for_testing.
12218 (test_break): New parameter "initial_load". Handle it.
12219 (top level): Add initial_load cmdline/file axis.
12220
12221 2014-06-12 Tom Tromey <tromey@redhat.com>
12222
12223 * gdb.base/completion.exp: Don't use directory name in test.
12224
12225 2014-06-09 Gary Benson <gbenson@redhat.com>
12226
12227 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12228 separate the always-available ANSI-standard signals from the
12229 signals that require checking.
12230 (main): Likewise.
12231 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12232 Likewise.
12233 (main): Likewise.
12234
12235 2014-06-07 Keith Seitz <keiths@redhat.com>
12236
12237 Revert:
12238 PR c++/16253
12239 * gdb.cp/var-tag.cc: New file.
12240 * gdb.cp/var-tag.exp: New file.
12241 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12242 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12243 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12244 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12245
12246 2014-06-06 Doug Evans <xdje42@gmail.com>
12247
12248 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12249
12250 2014-06-06 Pedro Alves <palves@redhat.com>
12251
12252 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12253 in target debug output instead of looking at RSP packets,
12254 disabling the test on any target that uses hardware stepping.
12255 Update comments.
12256
12257 2014-06-06 Pedro Alves <palves@redhat.com>
12258
12259 * gdb.base/break-unload-file.exp: Fix typo.
12260
12261 2014-06-06 Yao Qi <yao@codesourcery.com>
12262
12263 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12264 from "jit_function" to "^jit_function".
12265
12266 2014-06-06 Yao Qi <yao@codesourcery.com>
12267
12268 * gdb.base/async.c (foo): Add one statement.
12269 * gdb.base/async.exp: Get the next instruction address and
12270 match the output of "nexti" by instruction address. Match
12271 the hex address in the output of "finish".
12272
12273 2014-06-06 Gary Benson <gbenson@redhat.com>
12274
12275 * gdb.base/call-signals.c: Remove preprocessor conditionals
12276 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12277 SIGSEGV and SIGTERM.
12278 * gdb.base/sigall.c: Likewise.
12279 * gdb.base/unwindonsignal.c: Likewise.
12280 * gdb.reverse/sigall-reverse.c: Likewise.
12281
12282 2014-06-06 Yao Qi <yao@codesourcery.com>
12283
12284 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12285 readable, skip the test.
12286
12287 2014-06-06 Yao Qi <yao@codesourcery.com>
12288
12289 * gdb.threads/staticthreads.c (thread_function): Move the line
12290 setting breakpoint on forward.
12291 * gdb.threads/staticthreads.exp: Update comments.
12292
12293 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12294
12295 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12296 "history-append! type error".
12297
12298 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12299
12300 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12301 erroneous dprintf expected input.
12302
12303 2014-06-04 Doug Evans <xdje42@gmail.com>
12304
12305 * gdb.guile/scm-generics.exp: Delete.
12306
12307 2014-06-04 Doug Evans <xdje42@gmail.com>
12308
12309 * gdb.guile/scm-breakpoint.exp: Update.
12310 Add tests for breakpoint registration.
12311
12312 2014-06-04 Tom Tromey <tromey@redhat.com>
12313
12314 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12315 VLA-in-union.
12316 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12317 inner_vla_struct, vla_union types. Initialize objects of those
12318 types and compute their sizes.
12319
12320 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12321 Hui Zhu <hui@codesourcery.com>
12322
12323 * gdb.base/fileio.exp: Add test for shell not available as well as
12324 available.
12325 * gdb.base/fileio.c (test_system): Check for shell twice.
12326
12327 2014-06-04 Yao Qi <yao@codesourcery.com>
12328
12329 * gdb.base/auto-connect-native-target.exp: Remove redundant
12330 space from the regexp pattern.
12331
12332 2014-06-04 Yao Qi <yao@codesourcery.com>
12333
12334 * gdb.base/default.exp: Replace "child" with "native" in
12335 regexp pattern.
12336
12337 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12338
12339 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12340 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12341 * gdb.python/py-xmethods.py: Python script supporting the
12342 new testcase and tests.
12343
12344 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12345 Pedro Alves <palves@redhat.com>
12346
12347 PR breakpoints/17000
12348 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12349 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12350
12351 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12352
12353 * gdb.base/subst.exp: Add tests to verify partial path matching
12354 output.
12355
12356 2014-06-03 Pedro Alves <palves@redhat.com>
12357
12358 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12359 target that doesn't use software single-stepping.
12360
12361 2014-06-03 Pedro Alves <palves@redhat.com>
12362
12363 PR breakpoints/17000
12364 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12365 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12366
12367 2014-06-02 Doug Evans <xdje42@gmail.com>
12368
12369 * gdb.guile/scm-parameter.exp: New file.
12370
12371 2014-06-02 Doug Evans <xdje42@gmail.com>
12372
12373 * gdb.guile/scm-cmd.c: New file.
12374 * gdb.guile/scm-cmd.exp: New file.
12375
12376 2014-06-02 Doug Evans <xdje42@gmail.com>
12377
12378 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12379 pretty-printer lookup.
12380 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12381 (make-pp_s-printer): Call it.
12382 (make-pretty-printer-from-dict): New function.
12383 (lookup-pretty-printer-maker-from-dict): New function.
12384 (*pretty-printer*): Simplify.
12385 (make-objfile-pp_s-printer): New function.
12386 (install-objfile-pretty-printers!): New function.
12387 (make-progspace-pp_s-printer): New function.
12388 (install-progspace-pretty-printers!): New function.
12389 * gdb.guile/scm-progspace.c: New file.
12390 * gdb.guile/scm-progspace.exp: New file.
12391
12392 2014-06-02 Pedro Alves <palves@redhat.com>
12393
12394 * gdb.base/dprintf-bp-same-addr.c: New file.
12395 * gdb.base/dprintf-bp-same-addr.exp: New file.
12396
12397 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12398
12399 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12400 * gdb.arch/powerpc-power.s: Likewise.
12401
12402 2014-06-02 Joel Brobecker <brobecker@adacore.com>
12403
12404 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12405
12406 2014-06-01 Yao Qi <yao@codesourcery.com>
12407
12408 * gdb.base/watchpoint.exp (test_watch_location): Check null
12409 pointer can be dereferenced. If not, do the test, otherwise
12410 skip it.
12411
12412 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12413
12414 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12415 results.
12416 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12417
12418 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12419
12420 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12421 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12422 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12423 * gdb.arch/amd64-invalid-stack-top.c: New file.
12424 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12425
12426 2014-05-30 Pedro Alves <palves@redhat.com>
12427
12428 PR breakpoints/17000
12429 * gdb.base/sss-bp-on-user-bp.c: New file.
12430 * gdb.base/sss-bp-on-user-bp.exp: New file.
12431
12432 2014-05-30 David Blaikie <dblaikie@gmail.com>
12433
12434 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12435 gnu_inline semantics via attribute.
12436 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12437 source explicitly specifies the required semantics.
12438
12439 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12440
12441 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12442
12443 2014-05-29 Pedro Alves <palves@redhat.com>
12444 Tom Tromey <tromey@redhat.com>
12445
12446 * gdb.base/async-shell.exp: Don't enable target-async.
12447 * gdb.base/async.exp
12448 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12449 parameter. Adjust.
12450 (top level): Don't test with "target-async".
12451 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12452 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12453 * gdb.base/inferior-died.exp: Don't enable target-async.
12454 * gdb.base/interrupt-noterm.exp: Likewise.
12455 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12456 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12457 * gdb.mi/mi-nonstop.exp: Likewise.
12458 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12459 * gdb.mi/mi-nsintrall.exp: Likewise.
12460 * gdb.mi/mi-nsmoribund.exp: Likewise.
12461 * gdb.mi/mi-nsthrexec.exp: Likewise.
12462 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12463 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12464 * gdb.python/py-evsignal.exp: Don't enable target-async.
12465 * gdb.python/py-evthreads.exp: Likewise.
12466 * gdb.python/py-prompt.exp: Likewise.
12467 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12468 * gdb.server/solib-list.exp: Don't enable target-async.
12469 * gdb.threads/thread-specific-bp.exp: Likewise.
12470 * lib/mi-support.exp: Adjust to use mi-async.
12471
12472 2014-05-29 Pedro Alves <palves@redhat.com>
12473
12474 PR gdb/13860
12475 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12476 reason, even in sync mode.
12477
12478 2014-05-29 Pedro Alves <palves@redhat.com>
12479 Hui Zhu <hui@codesourcery.com>
12480
12481 PR PR15693
12482 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12483 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12484 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12485 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12486
12487 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12488
12489 * config/monitor.exp (gdb_target_monitor): Replace use of
12490 "set remotebaud" by "set serial baud".
12491
12492 2014-05-26 Andy Wingo <wingo@igalia.com>
12493
12494 * gdb.guile/scm-breakpoint.exp:
12495 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12496 properties instead of gdb-object-properties.
12497
12498 2014-05-26 Yao Qi <yao@codesourcery.com>
12499
12500 * gdb.server/no-thread-db.exp: Specify source file name
12501 explicitly when setting a breakpoint.
12502
12503 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12504
12505 * gdb.btrace/vdso.c: New.
12506 * gdb.btrace/vdso.exp: New.
12507
12508 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12509
12510 * gdb.base/gcore.exp (capture_command_output): Move ...
12511 * lib/gdb.exp (capture_command_output): ... here.
12512
12513 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12514
12515 * gdb.btrace/data.exp: Test memory access during btrace replay.
12516
12517 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12518
12519 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12520
12521 2014-05-21 Pedro Alves <palves@redhat.com>
12522
12523 PR gdb/13860
12524 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12525 (top level): Test that output related to execution commands is
12526 sent to the console with CLI commands, but not with MI commands.
12527 Test that breakpoint events are always mirrored to the console.
12528 Also expect the new source line to be output after a "next" in
12529 async mode too. Make it a pass/fail test.
12530 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12531 output.
12532 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12533
12534 2014-05-21 Pedro Alves <palves@redhat.com>
12535
12536 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12537 Use them to test variations of "list" after reaching a breakpoint.
12538 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12539 Test "list" with listsize 10 after reaching a breakpoint.
12540 * gdb.python/python.exp (decode_line current location line
12541 number): Adjust expected line number.
12542
12543 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12544
12545 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12546 behavior for $args, pass it directly to "run".
12547
12548 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12549
12550 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12551 30000 to 65536.
12552
12553 2014-05-21 Pedro Alves <palves@redhat.com>
12554
12555 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12556 auto-connect-native-target off".
12557 * gdb.base/auto-connect-native-target.c: New file.
12558 * gdb.base/auto-connect-native-target.exp: New file.
12559
12560 2014-05-21 Pedro Alves <palves@redhat.com>
12561
12562 * gdb.base/default.exp: Test "target native" instead of "target
12563 child".
12564
12565 2014-05-21 Mark Wielaard <mjw@redhat.com>
12566
12567 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12568
12569 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12570
12571 Fix TLS access for -static -pthread.
12572 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12573 <HAVE_TLS> (thread_function, main): Initialize it.
12574 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12575 Add clean_restart.
12576 <$have_tls != "">: Check TLSVAR.
12577
12578 2014-05-21 Pedro Alves <palves@redhat.com>
12579
12580 * gdb.base/dcache-line-read-error.c: New.
12581 * gdb.base/dcache-line-read-error.exp: New.
12582
12583 2014-05-20 Pedro Alves <palves@redhat.com>
12584
12585 * gdb.base/compare-sections.c: New file.
12586 * gdb.base/compare-sections.exp: New file.
12587
12588 2014-05-20 Pedro Alves <palves@redhat.com>
12589
12590 * gdb.base/break-idempotent.c: New file.
12591 * gdb.base/break-idempotent.exp: New file.
12592
12593 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12594
12595 * gdb.btrace/nohist.exp: New.
12596
12597 2014-05-20 Yao Qi <yao@codesourcery.com>
12598
12599 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12600 gdb.reverse directory and gdb_reverse_timeout exists in board
12601 setting.
12602 * README: Document gdb_reverse_timeout.
12603
12604 2014-05-20 Yao Qi <yao@codesourcery.com>
12605
12606 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12607 'test_file_name'. Treat args as a string instead of a list.
12608 (gdb_init): Rename argument 'args' by 'test_file_name'.
12609
12610 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12611
12612 * gdb.arch/powerpc-power.exp: New file.
12613 * gdb.arch/powerpc-power.s: New file.
12614
12615 2014-05-16 Doug Evans <dje@google.com>
12616
12617 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
12618 * gdb.base/completion.exp: Check that all expected files exist
12619 before doing file completion.
12620
12621 2014-05-16 Doug Evans <dje@google.com>
12622
12623 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12624 Update.
12625 (do_syscall_tests_without_xml): Update.
12626
12627 2014-05-16 Pedro Alves <palves@redhat.com>
12628
12629 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12630 instead of "unknown output after running".
12631
12632 2014-05-16 Yao Qi <yao@codesourcery.com>
12633
12634 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12635 file1.txt from host at the end.
12636 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12637
12638 2014-05-15 Doug Evans <dje@google.com>
12639
12640 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12641 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12642 loading file. Add test for TU lookup.
12643
12644 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12645
12646 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12647 calling "-exec-arguments" or "set args" before running the
12648 inferior.
12649
12650 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12651
12652 * lib/mi-support.exp (mi_expect_stop): Expect message for
12653 inferiors that exit with non-zero exit code.
12654
12655 2014-05-14 Yao Qi <yao@codesourcery.com>
12656
12657 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12658 match absolute path on remote host.
12659 (test_file_list_exec_source_files): Remove "/" from the
12660 pattern.
12661
12662 2014-05-14 Yao Qi <yao@codesourcery.com>
12663
12664 * boards/local-remote-host-notty.exp (${board}_file): New
12665 proc.
12666
12667 2014-05-07 Kyle McMartin <kyle@redhat.com>
12668
12669 Pushed by Joel Brobecker <brobecker@adacore.com>.
12670 * gdb.arch/aarch64-atomic-inst.c: New file.
12671 * gdb.arch/aarch64-atomic-inst.exp: New file.
12672
12673 2014-05-07 Yao Qi <yao@codesourcery.com>
12674
12675 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12676 in current context" too.
12677
12678 2014-05-05 Keith Seitz <keiths@redhat.com>
12679
12680 * gdb.linespec/ls-dollar.exp: Add test for linespec
12681 file:convenience_variable.
12682
12683 2014-05-05 Yao Qi <yao@codesourcery.com>
12684
12685 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12686 traceframes into tfile and ctf trace files. Read data from
12687 trace file and test collected data.
12688 (gdb_collect_locals_test): Likewise.
12689 (gdb_unavailable_registers_test): Likewise.
12690 (gdb_unavailable_floats): Likewise.
12691 (gdb_collect_globals_test): Likewise.
12692 (top-level): Append "ctf" to trace_file_targets if GDB
12693 supports.
12694
12695 2014-05-05 Yao Qi <yao@codesourcery.com>
12696
12697 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12698 code to ...
12699 (gdb_collect_args_test_1): ... it. New proc.
12700 (gdb_collect_locals_test): Move some code to ...
12701 (gdb_collect_locals_test_1): ... it. New proc.
12702 (gdb_unavailable_registers_test): Move some code to ...
12703 (gdb_unavailable_registers_test_1): ... it. New proc.
12704 (gdb_unavailable_floats): Move some code to ...
12705 (gdb_unavailable_floats_1): ... it. New proc.
12706
12707 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12708
12709 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12710 probes to test for bitness recognition.
12711 * gdb.arch/amd64-stap-optional-prefix.exp
12712 (test_probe_value_without_reg): New procedure.
12713 Add code to test for different kinds of bitness.
12714
12715 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12716
12717 PR breakpoints/16889
12718 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12719 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12720
12721 2014-05-01 Pedro Alves <palves@redhat.com>
12722
12723 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12724 gdb_file_cmd if no file is specified.
12725 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12726 last_loaded_file to set the remote exec-file.
12727
12728 2014-05-01 Pedro Alves <palves@redhat.com>
12729
12730 * boards/local-remote-host.exp: New file.
12731
12732 2014-05-01 Pedro Alves <palves@redhat.com>
12733
12734 * boards/local-remote-host.exp: Rename to ...
12735 * boards/local-remote-host-notty.exp: ... this.
12736
12737 2014-04-28 Joel Brobecker <brobecker@adacore.com>
12738
12739 * gdb.ada/dyn_arrayidx: New testcase.
12740
12741 2014-04-26 Yao Qi <yao@codesourcery.com>
12742
12743 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12744 and compute the length of function main. Save it in
12745 $main_length.
12746 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12747 (top-level): Use gdb_compile to compile objects into
12748 executable and restart GDB. Remove invocation to
12749 prepare_for_testing.
12750
12751 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12752 Pedro Alves <palves@redhat.com>
12753
12754 PR server/16255
12755 * gdb.multi/multi-attach.c: New file.
12756 * gdb.multi/multi-attach.exp: New file.
12757
12758 2014-04-25 Pedro Alves <palves@redhat.com>
12759
12760 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12761 user.
12762 (top level): Test that "set remote conditional-breakpoints-packet
12763 off" works as intended.
12764 * gdb.base/dprintf.exp: Test that "set remote
12765 breakpoint-commands-packet off" works as intended.
12766 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12767 New function.
12768 (top level): Call it.
12769 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12770 remote fast-tracepoints-packet off" works as intended.
12771 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12772 * lib/gdb.exp (gdb_is_target_remote): ... here.
12773
12774 2014-04-24 David Blaikie <dblaikie@gmail.com>
12775
12776 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12777 ensure clang would not discard them.
12778 * gdb.base/gdbvars.c: Ditto.
12779 * gdb.base/memattr.c: Ditto.
12780 * gdb.base/whatis.c: Ditto.
12781 * gdb.python/py-prettyprint.c: Ditto.
12782 * gdb.trace/actions.c: Ditto.
12783 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12784 ensure clang would not discard it.
12785
12786 2014-04-24 David Blaikie <dblaikie@gmail.com>
12787
12788 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12789 clang to emit the full definition of type required by the test
12790 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12791
12792 2014-04-24 David Blaikie <dblaikie@gmail.com>
12793
12794 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12795 coax Clang into emitting the definition of the type.
12796 * gdb.cp/pr10728-x.h (y): Ditto.
12797 * gdb.cp/pr10728-y.cc (y): Ditto.
12798
12799 2014-04-24 David Blaikie <dblaikie@gmail.com>
12800
12801 * gdb.base/label.exp: XFAIL label related tests under Clang.
12802 * gdb.cp/cplabel.exp: Ditto.
12803 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12804 under Clang those using labels.
12805
12806 2014-04-25 Yao Qi <yao@codesourcery.com>
12807
12808 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12809 double_label.
12810 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12811 partial_label and double_label.
12812
12813 2014-04-24 David Blaikie <dblaikie@gmail.com>
12814
12815 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12816
12817 2014-04-24 David Blaikie <dblaikie@gmail.com>
12818
12819 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12820 of the function to work across GCC and Clang.
12821 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12822 pointer types (const void ** const V void **).
12823
12824 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12825 Walfred Tedeschi <walfred.tedeschi@intel.com>
12826
12827 * Makefile.in (EXECUTABLES): Added i386-avx512.
12828 * gdb.arch/i386-avx512.c: New file.
12829 * gdb.arch/i386-avx512.exp: Likewise.
12830
12831 2014-04-23 Keith Seitz <keiths@redhat.com>
12832
12833 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12834 (mi_make_breakpoint_table): New procedure.
12835 (mi_create_breakpoint): Use mi_make_breakpoint
12836 and return the result.
12837 (mi_make_breakpoint): New procedure.
12838 (mi_build_kv_pairs): New procedure.
12839
12840 * gdb.mi/mi-break.exp: Remove unused globals,
12841 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12842 All callers updated.
12843 * gdb.mi/mi-dprintf.exp: Use variable to track command
12844 number.
12845 Update all callers of mi_create_breakpoint and use
12846 mi_make_breakpoint_table.
12847 Remove any unused global variables.
12848 * gdb.mi/mi-nonstop.exp: Likewise.
12849 * gdb.mi/mi-nsintrall.exp: Likewise.
12850 * gdb.mi/mi-nsmoribund.exp: Likewise.
12851 * gdb.mi/mi-nsthrexec.exp: Likewise.
12852 * gdb.mi/mi-reverse.exp: Likewise.
12853 * gdb.mi/mi-simplerun.exp: Likewise.
12854 * gdb.mi/mi-stepn.exp: Likewise.
12855 * gdb.mi/mi-syn-frame.exp: Likewise.
12856 * gdb.mi/mi-until.exp: Likewise.
12857 * gdb.mi/mi-var-cp.exp: Likewise.
12858 * gdb.mi/mi-var-display.exp: Likewise.
12859 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12860 * gdb.mi/mi2-var-child.exp: Likewise.
12861 * gdb.mi/mi-vla-c99.exp: Likewise.
12862 * lib/mi-support.exp: Likewise.
12863
12864 From Ian Lance Taylor <iant@cygnus.com>:
12865 * lib/gdb.exp (parse_args): New procedure.
12866
12867 2014-04-23 Pedro Alves <palves@redhat.com>
12868
12869 * gdb.base/break-unload-file.c: New file.
12870 * gdb.base/break-unload-file.exp: New file.
12871 * gdb.base/sym-file-lib.c (baz): New function.
12872 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12873 field.
12874 (load): Store the segment's mapped size.
12875 (unload): New function.
12876 (unload_shlib): New function.
12877 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12878 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12879 set a breakpoint at baz, and call it.
12880 * gdb.base/sym-file.exp: New tests for stale breakpoint
12881 instructions.
12882
12883 2014-04-23 Pedro Alves <palves@redhat.com>
12884
12885 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12886 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12887 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12888 * gdb.base/hbreak-unmapped.c: New file.
12889 * gdb.base/hbreak-unmapped.exp: New file.
12890 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12891 * lib/gdb.exp (gdb_is_target_remote): ... here.
12892
12893 2014-04-22 Pedro Alves <palves@redhat.com>
12894
12895 * gdb.base/consecutive-step-over.c: New file.
12896 * gdb.base/consecutive-step-over.exp: New file.
12897
12898 2014-04-22 Pedro Alves <palves@redhat.com>
12899
12900 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12901 instead of send_gdb/gdb_expect.
12902
12903 2014-04-22 Yao Qi <yao@codesourcery.com>
12904
12905 * lib/trace-support.exp (generate_tracefile): New procedure.
12906 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12907 return 0.
12908 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12909 if generate_tracefile returns 1.
12910
12911 2014-04-18 Tom Tromey <palves@redhat.com>
12912 Pedro alves <tromey@redhat.com>
12913
12914 PR backtrace/15558
12915 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12916 with a backtrace limit.
12917 * gdb.python/py-frame-inline.exp: Test running to an inline
12918 function with a backtrace limit, and printing the newest frame.
12919 * gdb.python/py-frame-inline.c (main): Call f.
12920
12921 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12922
12923 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12924
12925 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12926
12927 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12928 Drop prefix from unsupported source file path.
12929
12930 2014-04-17 Yao Qi <yao@codesourcery.com>
12931
12932 * lib/gdb.exp (with_target_charset): New proc.
12933 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12934 with_target_charset.
12935 (test_print_strings): Likewise.
12936 (test_repeat_bytes): Likewise.
12937 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12938 for some tests.
12939
12940 2014-04-16 Keith Seitz <keiths@redhat.com>
12941
12942 PR gdb/15827
12943 * gdb.dwarf2/corrupt.c: New file.
12944 * gdb.dwarf2/corrupt.exp: New file.
12945
12946 2014-04-16 Keith Seitz <keiths@redhat.com>
12947
12948 PR c++/16597
12949 * gdb.cp/namelessclass.cc: New file.
12950 * gdb.cp/namelessclass.exp: New file.
12951 * gdb.cp/namelessclass.S: New file.
12952
12953 2014-04-16 Doug Evans <dje@google.com>
12954
12955 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12956 Add comment.
12957 (gdbserver_default_get_comm_port): New function.
12958 (gdbserver_start): Check if board file provided
12959 "gdbserver,get_comm_port" and use it if so.
12960 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12961 (gdb,socketport): Set to "stdio".
12962 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12963 (stdio_gdbserver_template): Delete.
12964 (${board}_get_remote_address): Update.
12965 (${board}_build_remote_cmd): Delete.
12966 (${board}_get_comm_port): New function.
12967 (${board}_spawn): Update.
12968 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12969 Delete.
12970 (${board}_get_remote_address): Update.
12971 (${board}_get_comm_port): New function.
12972
12973 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12974
12975 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12976 appearing in any order.
12977
12978 2014-04-15 Doug Evans <dje@google.com>
12979
12980 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12981 uninitialized value of "description".
12982
12983 2014-04-15 Keith Seitz <keiths@redhat.com>
12984
12985 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12986 Remove unused globals.
12987 (test_running_the_program): Likewise.
12988 (test_controlled_execution): Likewise.
12989 (test_controlling_breakpoints): Likewise.
12990 (test_program_termination): Likewise.
12991
12992 2014-04-15 Keith Seitz <keiths@redhat.com>
12993
12994 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12995 unused globals.
12996 (test_rbreak_creation_and_listing): Likewise.
12997 (test_ignore_count): Likewise.
12998 (test_error): Likewise.
12999
13000 2014-04-15 Pedro Alves <palves@redhat.com>
13001
13002 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
13003 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
13004 sym-file-loader.c.
13005 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13006 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13007 to sym-file-loader.c.
13008 (struct library): Forward declare.
13009 (load_shlib, lookup_function): Change prototypes.
13010 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13011 (translate_offset): Remove declarations.
13012 (get_text_addr): New declaration.
13013 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13014 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13015 sym-file-loader.h.
13016 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13017 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13018 here from sym-file-loader.h.
13019 (struct library): New structure.
13020 (load_shlib, lookup_function): Change prototypes and adjust to
13021 work with a struct library.
13022 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13023 (translate_offset): Make static.
13024 (get_text_addr): New function.
13025 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13026
13027 2014-04-15 Pedro Alves <palves@redhat.com>
13028
13029 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13030
13031 2014-04-15 Pedro Alves <palves@redhat.com>
13032
13033 * gdb.base/sym-file-loader.c: Include <limits.h>.
13034 (SELF_LINK): New define.
13035 (get_origin): New function.
13036 (load_shlib): Use it.
13037 * gdb.base/sym-file.exp: Don't early return if the target is
13038 remote. Use runto_main, and issue fail is that fails. Use
13039 gdb_load_shlibs.
13040 (shlib_name): Delete.
13041 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13042
13043 2014-04-15 Pedro Alves <palves@redhat.com>
13044
13045 * gdb.base/sym-file.exp: Remove regex characters from test
13046 message. Don't refer to breakpoint numbers in test messages.
13047
13048 2014-04-14 Keith Seitz <keiths@redhat.com>
13049
13050 PR c++/16253
13051 * gdb.cp/var-tag.cc: New file.
13052 * gdb.cp/var-tag.exp: New file.
13053 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13054 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13055 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13056 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13057
13058 2014-04-14 Tom Tromey <tromey@redhat.com>
13059
13060 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13061 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13062 type.
13063 * gdb.cp/enum-class.exp: New file.
13064 * gdb.cp/enum-class.cc: New file.
13065
13066 2014-04-14 Tom Tromey <tromey@redhat.com>
13067
13068 * gdb.dwarf2/enum-type.exp: New file.
13069
13070 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13071
13072 * gdb.mi/mi-vla-c99.exp: New file.
13073 * gdb.mi/vla.c: New file.
13074
13075 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13076
13077 * gdb.base/vla-datatypes.c: New file.
13078 * gdb.base/vla-datatypes.exp: New file.
13079
13080 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13081
13082 * gdb.base/vla-ptr.c: New file.
13083 * gdb.base/vla-ptr.exp: New file.
13084
13085 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13086
13087 * gdb.dwarf2/count.exp: New file.
13088
13089 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13090
13091 * gdb.base/vla-sideeffect.c: New file.
13092 * gdb.base/vla-sideeffect.exp: New file.
13093
13094 2014-04-14 David Blaikie <dblaikie@gmail.com>
13095
13096 * gdb.mi/non-stop.c: Add return value for non-void function return
13097 statement.
13098 * gdb.threads/staticthreads.c: Ditto.
13099
13100 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13101 Doug Evans <xdje42@gmail.com>
13102
13103 * gdb.guile/scm-value.c: Improve test case.
13104 * gdb.guile/scm-value.exp: Add new test.
13105
13106 2014-04-11 David Blaikie <dblaikie@gmail.com>
13107
13108 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13109 override Clang's default.
13110
13111 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13112
13113 Revert the following changes (regressions):
13114
13115 * gdb.base/vla-sideeffect.c: New file.
13116 * gdb.base/vla-sideeffect.exp: New file.
13117
13118 * gdb.dwarf2/count.exp: New file.
13119
13120 * gdb.base/vla-multi.c: New file.
13121 * gdb.base/vla-multi.exp: New file.
13122
13123 * gdb.base/vla-ptr.c: New file.
13124 * gdb.base/vla-ptr.exp: New file.
13125
13126 * gdb.base/vla-datatypes.c: New file.
13127 * gdb.base/vla-datatypes.exp: New file.
13128
13129 * gdb.mi/mi-vla-c99.exp: New file.
13130 * gdb.mi/vla.c: New file.
13131
13132 2014-04-11 Keith Seitz <keiths@redhat.com>
13133
13134 PR c++/16675
13135 * gdb.cp/cpsizeof.exp: New file.
13136 * gdb.cp/cpsizeof.cc: New file.
13137
13138 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13139
13140 * gdb.mi/mi-vla-c99.exp: New file.
13141 * gdb.mi/vla.c: New file.
13142
13143 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13144
13145 * gdb.base/vla-datatypes.c: New file.
13146 * gdb.base/vla-datatypes.exp: New file.
13147
13148 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13149
13150 * gdb.base/vla-ptr.c: New file.
13151 * gdb.base/vla-ptr.exp: New file.
13152
13153 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13154
13155 * gdb.base/vla-multi.c: New file.
13156 * gdb.base/vla-multi.exp: New file.
13157
13158 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13159
13160 * gdb.dwarf2/count.exp: New file.
13161
13162 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13163
13164 * gdb.base/vla-sideeffect.c: New file.
13165 * gdb.base/vla-sideeffect.exp: New file.
13166
13167 2014-04-11 Yao Qi <yao@codesourcery.com>
13168
13169 * gdb.base/completion.exp: Check file exists before running tests
13170 on file completion.
13171
13172 2014-04-10 Pedro Alves <palves@redhat.com>
13173
13174 * gdb.base/cond-eval-mode.c: New file.
13175 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13176 prepare_for_testing to build the new file. Check result of
13177 runto_main.
13178 (test_break, test_watch): New procedures.
13179 (top level): Use them.
13180
13181 2014-04-08 Pierre Muller <muller@sourceware.org>
13182
13183 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13184 Ctrl-V use for mingw hosts.
13185
13186 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13187
13188 * gdb.python/py-value.c: Improve test case.
13189 * gdb.python/py-value.exp: Add new test.
13190
13191 2014-04-07 David Blaikie <dblaikie@gmail.com>
13192
13193 * lib/compiler.c: Identify the clang compiler.
13194 * lib/compiler.cc: Ditto.
13195
13196 2014-04-03 Yao Qi <yao@codesourcery.com>
13197
13198 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13199
13200 2014-04-01 Anton Blanchard <anton@samba.org>
13201
13202 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13203 messages unique.
13204
13205 2014-04-01 Anton Blanchard <anton@samba.org>
13206
13207 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13208 prepare_for_testing.
13209
13210 2014-04-01 Anton Blanchard <anton@samba.org>
13211
13212 * gdb.arch/ppc64-atomic-inst.c: Remove.
13213 * gdb.arch/ppc64-atomic-inst.S: New file.
13214 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13215
13216 2014-03-31 Doug Evans <dje@google.com>
13217
13218 * gdb.base/print-symbol-loading-lib.c: New file.
13219 * gdb.base/print-symbol-loading-main.c: New file.
13220 * gdb.base/print-symbol-loading.exp: New file.
13221
13222 2014-03-31 Yao Qi <yao@codesourcery.com>
13223
13224 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13225
13226 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13227
13228 * gdb.ada/mi_dyn_arr: New testcase.
13229
13230 2014-03-27 Doug Evans <dje@google.com>
13231
13232 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13233
13234 2014-03-27 Yao Qi <yao@codesourcery.com>
13235
13236 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13237 if target is nios2-*-*.
13238
13239 2014-03-26 Yao Qi <yao@codesourcery.com>
13240
13241 * lib/gdb.exp (readline_is_used): New proc.
13242 * gdb.base/completion.exp: Move tests on command complete up.
13243 Skip the rest of tests if readline is not used.
13244 * gdb.ada/complete.exp: Skp the test if readline is not
13245 used.
13246 * gdb.base/filesym.exp: Likewise.
13247 * gdb.base/macscp.exp: Likewise.
13248 * gdb.base/readline-ask.exp: Likewise.
13249 * gdb.base/readline.exp: Likewise.
13250 * gdb.python/py-cmd.exp: Likewise.
13251 * gdb.trace/tfile.exp: Likewise.
13252
13253 2014-03-26 Yao Qi <yao@codesourcery.com>
13254
13255 * gdb.base/macscp.exp: Fix code format issues.
13256
13257 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13258
13259 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13260 * gdb.asm/powerpc64le.inc: New file.
13261
13262 2014-03-25 Pedro Alves <palves@redhat.com>
13263 Doug Evans <dje@google.com>
13264
13265 * gdb.base/source-execution.c: New file.
13266 * gdb.base/source-execution.exp: New file.
13267 * gdb.base/source-execution.gdb: New file.
13268
13269 2014-03-24 Doug Evans <dje@google.com>
13270
13271 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13272 using fission.
13273
13274 2014-03-24 Hui Zhu <hui@codesourcery.com>
13275 Pedro Alves <palves@redhat.com>
13276
13277 PR breakpoints/16101
13278 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13279 test pass/fail messages. Detect missing support for dprintf when
13280 breakpoints are actually inserted.
13281 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13282 breakpoints are actually inserted.
13283 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13284 fails.
13285
13286 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13287
13288 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13289
13290 2014-03-22 Doug Evans <xdje42@gmail.com>
13291
13292 * gdb.python/python.exp (python not supported): Verify multi-line
13293 python command issues an error.
13294 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13295 guile command issues an error.
13296
13297 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13298
13299 * gdb.threads/thread-specific.exp: Handle the lack of usable
13300 $this_breakpoint and $this_thread.
13301
13302 2014-03-21 Hui Zhu <hui@codesourcery.com>
13303
13304 * gdb.base/attach.exp (do_command_attach_tests): New.
13305
13306 2014-03-20 Tom Tromey <tromey@redhat.com>
13307 Pedro Alves <palves@redhat.com>
13308
13309 PR cli/15718
13310 * gdb.base/condbreak-call-false.c: New file.
13311 * gdb.base/condbreak-call-false.exp: New file.
13312
13313 2014-03-20 Pedro Alves <palves@redhat.com>
13314
13315 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13316 Delete.
13317 (block_signals, unblock_signals): Delete.
13318 (child_function_2, main): Remove references to deleted variable
13319 and functions.
13320
13321 2014-03-20 Pedro Alves <palves@redhat.com>
13322
13323 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13324 Use pthread_kill to signal thread 2.
13325 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13326 Adjust to make the test send itself a signal rather than using the
13327 host's "kill" command.
13328
13329 2014-03-20 Pedro Alves <palves@redhat.com>
13330
13331 * gdb.threads/multiple-step-overs.c: New file.
13332 * gdb.threads/multiple-step-overs.exp: New file.
13333 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13334 Adjust expected infrun debug output.
13335
13336 2014-03-20 Pedro Alves <palves@redhat.com>
13337
13338 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13339 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13340
13341 2014-03-20 Pedro Alves <palves@redhat.com>
13342
13343 PR breakpoints/7143
13344 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13345 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13346 of gdb_test_multiple.
13347 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13348 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13349
13350 2014-03-20 Pedro Alves <palves@redhat.com>
13351
13352 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13353 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13354
13355 2014-03-19 Pedro Alves <palves@redhat.com>
13356
13357 * gdb.base/async.exp: Remove early return.
13358
13359 2014-03-19 Pedro Alves <palves@redhat.com>
13360
13361 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13362
13363 2014-03-19 Pedro Alves <palves@redhat.com>
13364
13365 * gdb.base/async.exp (test_background): Expect \r\n after
13366 "completed." in the fail pattern.
13367
13368 2014-03-19 Pedro Alves <palves@redhat.com>
13369
13370 * gdb.base/async.exp (test_background): New procedure.
13371 Use it for all background execution command tests.
13372
13373 2014-03-19 Pedro Alves <palves@redhat.com>
13374
13375 * gdb.base/async.exp: Use prepare_for_testing.
13376
13377 2014-03-19 Pedro Alves <palves@redhat.com>
13378
13379 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13380 the same line.
13381
13382 2014-03-19 Pedro Alves <palves@redhat.com>
13383
13384 * gdb.base/async.c (main): Add "jump here" and "until here" line
13385 marker comments.
13386 * gdb.base/async.exp (jump_here): New global.
13387 (jump& test): Use it.
13388 (until_here): New global.
13389 (until& test): Use it.
13390
13391 2014-03-19 Pedro Alves <palves@redhat.com>
13392
13393 * gdb.base/async.exp: Don't frob gdb_protocol.
13394
13395 2014-03-18 Doug Evans <xdje42@gmail.com>
13396
13397 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13398 Fix spelling of exec-done-display.
13399
13400 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13401
13402 PR gdb/15358
13403 * gdb.base/gdb-sigterm.c: New file.
13404 * gdb.base/gdb-sigterm.exp: New file.
13405
13406 2014-03-18 Pedro Alves <palves@redhat.com>
13407
13408 PR gdb/13860
13409 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13410 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13411 solib-event.
13412
13413 2014-03-17 Joel Brobecker <brobecker@adacore.com>
13414
13415 * gdb.ada/pckd_arr_ren: New testcase.
13416
13417 2014-03-13 Doug Evans <xdje42@gmail.com>
13418
13419 PR guile/16612
13420 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13421 collect after discarding symbols.
13422
13423 2014-03-13 Ludovic Courtès <ludo@gnu.org>
13424 Doug Evans <xdje42@gmail.com>
13425
13426 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13427 to history survives a gc.
13428
13429 2014-03-13 Pedro Alves <palves@redhat.com>
13430
13431 * gdb.base/default.exp: Don't test "target procfs".
13432
13433 2014-03-13 Pedro Alves <palves@redhat.com>
13434
13435 * gdb.base/default.exp: Update "target child" and "target procfs"
13436 tests to not expect "Unix".
13437
13438 2014-03-12 Tom Tromey <tromey@redhat.com>
13439
13440 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13441 New procs. Add target-async tests.
13442 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13443 Add target-async tests.
13444
13445 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13446
13447 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13448 'func_start' and 'func_end' for the beginning and end of the
13449 function code, respectively.
13450 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13451 'func_end' instead of 'func' and 'main'.
13452
13453 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13454
13455 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13456 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13457 generate the debug info assembler source.
13458
13459 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13460
13461 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13462 * gdb.dwarf2/arr-subrange.exp: Likewise.
13463 * gdb.dwarf2/dwz.exp: Likewise.
13464 * gdb.dwarf2/method-ptr.exp: Likewise.
13465 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13466 * gdb.dwarf2/subrange.exp: Likewise.
13467 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13468 * gdb.dwarf2/implptrpiece.exp: Likewise.
13469 * gdb.dwarf2/nostaticblock.exp: Likewise.
13470
13471 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13472
13473 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13474 directory to absolute path name arguments.
13475
13476 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13477
13478 * gdb.ada/tagged_access: New testcase.
13479
13480 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13481
13482 * gdb.btrace/data.exp: Update expected output.
13483
13484 2014-03-06 Yao Qi <yao@codesourcery.com>
13485
13486 * gdb.trace/pr16508.exp: New file.
13487
13488 2014-03-05 Pedro Alves <palves@redhat.com>
13489
13490 PR gdb/16575
13491 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13492 procedure.
13493 (top level): Adjust to use it. Add tests that exercise breakpoint
13494 interaction with the code-cache.
13495
13496 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13497
13498 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13499 test for 'history-append!'.
13500
13501 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13502
13503 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13504 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13505 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13506 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13507 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13508 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13509
13510 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13511
13512 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13513 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13514 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13515
13516 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13517
13518 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13519
13520 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13521
13522 * gdb.dwarf2/arr-stride.c: New file.
13523 * gdb.dwarf2/arr-stride.exp: New file.
13524
13525 2014-02-26 Pedro Alves <palves@redhat.com>
13526
13527 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13528 that won't ever trigger. Make sure that GDB reports the correct
13529 breakpoint that caused the stop.
13530
13531 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13532
13533 PR gdb/16626
13534 * gdb.base/auto-load-script: New file.
13535 * gdb.base/auto-load.c: New file.
13536 * gdb.base/auto-load.exp: New file.
13537
13538 PR gdb/16626
13539 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13540
13541 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13542
13543 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13544 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13545
13546 2014-02-24 Doug Evans <dje@google.com>
13547
13548 * lib/gdb.exp (run_on_host): Log error output if program fails.
13549
13550 2014-02-21 Pedro Alves <palves@redhat.com>
13551
13552 * gdb.threads/step-after-sr-lock.c: Rename to ...
13553 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13554 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13555 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13556 ... this.
13557
13558 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13559
13560 PR tdep/16397
13561 * gdb.arch/amd64-stap-special-operands.exp: New file.
13562 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13563 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13564 * gdb.arch/amd64-stap-triplet.S: Likewise.
13565 * gdb.arch/amd64-stap-triplet.c: Likewise.
13566
13567 2014-02-20 Joel Brobecker <brobecker@adacore.com>
13568
13569 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13570 in .section pseudo-op.
13571
13572 2014-02-20 lin zuojian <manjian2006@gmail.com>
13573 Joel Brobecker <brobecker@adacore.com>
13574 Doug Evans <xdje42@gmail.com>
13575
13576 PR symtab/16581
13577 * gdb.dwarf2/dw2-icycle.S: New file.
13578 * gdb.dwarf2/dw2-icycle.c: New file.
13579 * gdb.dwarf2/dw2-icycle.exp: New file.
13580
13581 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13582
13583 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13584 operations on gdb.Value objects.
13585 * gdb.python/py-value-cc.exp: Add new test to test operations on
13586 gdb.Value objects.
13587
13588 2014-02-18 Doug Evans <dje@google.com>
13589
13590 * Makefile.in (TESTS): New variable.
13591 (expanded_tests, expanded_tests_or_none): New variables
13592 (check-single): Pass $(expanded_tests_or_none) to runtest.
13593 (check-parallel): Only run tests in $(TESTS) if non-empty.
13594 (check/no-matching-tests-found): New rule.
13595 * README: Document TESTS makefile variable.
13596
13597 2014-02-18 Doug Evans <dje@google.com>
13598
13599 * Makefile.in (check-parallel): rm -rf outputs temp.
13600
13601 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13602
13603 Fix "ERROR: no fileid for" in the testsuite.
13604 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13605
13606 2014-02-12 Doug Evans <dje@google.com>
13607
13608 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13609 (MISCELLANEOUS): New variable.
13610 (clean): rm -rf $(MISCELLANEOUS).
13611 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13612 dwp live in the same directory as symlinks, with each symlink pointed
13613 to a differently named file in a different directory.
13614
13615 2014-02-11 Doug Evans <dje@google.com>
13616
13617 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13618 of Tcl file commands.
13619
13620 2014-02-10 Mark Kettenis <kettenis@gnu.org>
13621
13622 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13623 "kill -SIGUSR1 -1".
13624
13625 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13626
13627 * gdb.ada/tick_length_array_enum_idx: New testcase.
13628
13629 2014-02-10 Doug Evans <xdje42@gmail.com>
13630
13631 * configure.ac (AC_OUTPUT): Add gdb.guile.
13632 * configure: Regenerate.
13633 * lib/gdb-guile.exp: New file.
13634 * lib/gdb.exp (get_target_charset): New function.
13635 * gdb.base/help.exp: Update expected output from "apropos apropos".
13636 * gdb.guile/Makefile.in: New file.
13637 * gdb.guile/guile.exp: New file.
13638 * gdb.guile/scm-arch.c: New file.
13639 * gdb.guile/scm-arch.exp: New file.
13640 * gdb.guile/scm-block.c: New file.
13641 * gdb.guile/scm-block.exp: New file.
13642 * gdb.guile/scm-breakpoint.c: New file.
13643 * gdb.guile/scm-breakpoint.exp: New file.
13644 * gdb.guile/scm-disasm.c: New file.
13645 * gdb.guile/scm-disasm.exp: New file.
13646 * gdb.guile/scm-equal.c: New file.
13647 * gdb.guile/scm-equal.exp: New file.
13648 * gdb.guile/scm-error.exp: New file.
13649 * gdb.guile/scm-error.scm: New file.
13650 * gdb.guile/scm-frame-args.c: New file.
13651 * gdb.guile/scm-frame-args.exp: New file.
13652 * gdb.guile/scm-frame-args.scm: New file.
13653 * gdb.guile/scm-frame-inline.c: New file.
13654 * gdb.guile/scm-frame-inline.exp: New file.
13655 * gdb.guile/scm-frame.c: New file.
13656 * gdb.guile/scm-frame.exp: New file.
13657 * gdb.guile/scm-generics.exp: New file.
13658 * gdb.guile/scm-gsmob.exp: New file.
13659 * gdb.guile/scm-iterator.c: New file.
13660 * gdb.guile/scm-iterator.exp: New file.
13661 * gdb.guile/scm-math.c: New file.
13662 * gdb.guile/scm-math.exp: New file.
13663 * gdb.guile/scm-objfile-script-gdb.in: New file.
13664 * gdb.guile/scm-objfile-script.c: New file.
13665 * gdb.guile/scm-objfile-script.exp: New file.
13666 * gdb.guile/scm-objfile.c: New file.
13667 * gdb.guile/scm-objfile.exp: New file.
13668 * gdb.guile/scm-ports.exp: New file.
13669 * gdb.guile/scm-pretty-print.c: New file.
13670 * gdb.guile/scm-pretty-print.exp: New file.
13671 * gdb.guile/scm-pretty-print.scm: New file.
13672 * gdb.guile/scm-section-script.c: New file.
13673 * gdb.guile/scm-section-script.exp: New file.
13674 * gdb.guile/scm-section-script.scm: New file.
13675 * gdb.guile/scm-symbol.c: New file.
13676 * gdb.guile/scm-symbol.exp: New file.
13677 * gdb.guile/scm-symtab-2.c: New file.
13678 * gdb.guile/scm-symtab.c: New file.
13679 * gdb.guile/scm-symtab.exp: New file.
13680 * gdb.guile/scm-type.c: New file.
13681 * gdb.guile/scm-type.exp: New file.
13682 * gdb.guile/scm-value-cc.cc: New file.
13683 * gdb.guile/scm-value-cc.exp: New file.
13684 * gdb.guile/scm-value.c: New file.
13685 * gdb.guile/scm-value.exp: New file.
13686 * gdb.guile/source2.scm: New file.
13687 * gdb.guile/types-module.cc: New file.
13688 * gdb.guile/types-module.exp: New file.
13689
13690 2014-02-10 Yao Qi <yao@codesourcery.com>
13691
13692 PR testsuite/16543
13693 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13694 * configure: Regenerated.
13695 * Makefile.in: New file.
13696
13697 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13698
13699 * gdb.python/py-framefilter.exp: Fix typo.
13700
13701 2014-02-08 Yao Qi <yao@codesourcery.com>
13702
13703 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13704 that no =breakpoint-modified is emitted when breakpoints are
13705 modified through MI commands.
13706
13707 2014-02-07 Pedro Alves <pedro@codesourcery.com>
13708 Pedro Alves <palves@redhat.com>
13709
13710 * gdb.threads/step-after-sr-lock.c: New file.
13711 * gdb.threads/step-after-sr-lock.exp: New file.
13712
13713 2014-02-07 Pedro Alves <palves@redhat.com>
13714
13715 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13716
13717 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13718
13719 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13720 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13721
13722 2014-02-06 Doug Evans <xdje42@gmail.com>
13723
13724 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13725 output.
13726
13727 * gdb.gdb/python-interrupts.exp: New file.
13728
13729 2014-02-05 Yao Qi <yao@codesourcery.com>
13730
13731 * gdb.trace/report.exp (use_collected_data): Test the output
13732 of "info threads" and "info inferiors".
13733
13734 2014-02-05 Yao Qi <yao@codesourcery.com>
13735
13736 Revert this patch:
13737
13738 2013-05-24 Yao Qi <yao@codesourcery.com>
13739
13740 * gdb.trace/tfile.exp: Test inferior and thread.
13741
13742 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13743
13744 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13745 on a function.
13746 * gdb.base/step-bt.c: Call hello via function pointer to make
13747 sure its first instruction is executed on powerpc64le-linux.
13748
13749 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13750
13751 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13752
13753 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13754
13755 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13756 of the test patterns for use on little-endian systems.
13757
13758 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13759
13760 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13761 (decimal_vector): Fix for little-endian.
13762
13763 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13764
13765 * gdb.arch/sparc-sysstep.exp: New file.
13766 * gdb.arch/sparc-sysstep.c: Likewise.
13767
13768 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13769
13770 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13771
13772 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13773
13774 2014-01-23 Tom Tromey <tromey@redhat.com>
13775
13776 * gdb.ada/array_char_idx: New testcase.
13777
13778 2014-01-23 Tom Tromey <tromey@redhat.com>
13779
13780 PR python/16487:
13781 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13782 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13783 classes.
13784
13785 2014-01-23 Tom Tromey <tromey@redhat.com>
13786
13787 PR python/16491:
13788 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13789 string from an inferior frame.
13790 * gdb.python/py-framefilter-mi.exp: Update.
13791
13792 2014-01-22 Doug Evans <dje@google.com>
13793
13794 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13795
13796 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13797
13798 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13799
13800 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13801
13802 * gdb.trace/entry-values.exp: Remove excess space character from
13803 regex patterns. Handle s390 call instruction.
13804
13805 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13806
13807 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13808 define "*_start" label. Make "name" static.
13809 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13810 ${name} by references to ${name}_start.
13811
13812 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13813
13814 * gdb.base/info-macros.exp: Remove "debug" from the compile
13815 options.
13816
13817 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13818
13819 * gdb.dlang/demangle.exp: New file.
13820
13821 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13822
13823 * gdb.dlang/primitive-types.exp: New file.
13824
13825 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13826
13827 * configure.ac: Create gdb.dlang/Makefile.
13828 * configure: Regenerate.
13829 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13830 * gdb.dlang/Makefile.in: New file.
13831 * lib/d-support.exp: New file.
13832 * lib/gdb.exp (skip_d_tests): New proc.
13833
13834 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13835
13836 * gdb.btrace/delta.exp: Check reverse stepi.
13837 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13838 * gdb.btrace/finish.exp: New.
13839 * gdb.btrace/next.exp: New.
13840 * gdb.btrace/nexti.exp: New.
13841 * gdb.btrace/record_goto.c: Add comments.
13842 * gdb.btrace/step.exp: New.
13843 * gdb.btrace/stepi.exp: New.
13844 * gdb.btrace/multi-thread-step.c: New.
13845 * gdb.btrace/multi-thread-step.exp: New.
13846 * gdb.btrace/rn-dl-bind.c: New.
13847 * gdb.btrace/rn-dl-bind.exp: New.
13848 * gdb.btrace/data.c: New.
13849 * gdb.btrace/data.exp: New.
13850 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13851
13852 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13853
13854 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13855 * gdb.btrace/exception.exp: Update.
13856 * gdb.btrace/instruction_history.exp: Update.
13857 * gdb.btrace/record_goto.exp: Update.
13858 * gdb.btrace/tailcall.exp: Update.
13859 * gdb.btrace/unknown_functions.exp: Update.
13860 * gdb.btrace/delta.exp: New.
13861
13862 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13863
13864 * gdb.btrace/record_goto.exp: Add backtrace test.
13865 * gdb.btrace/tailcall.exp: Add backtrace test.
13866
13867 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13868
13869 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13870 * gdb.btrace/record_goto.c: New.
13871 * gdb.btrace/record_goto.exp: New.
13872 * gdb.btrace/x86-record_goto.S: New.
13873
13874 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13875
13876 * gdb.btrace/function_call_history.exp: Update tests.
13877 * gdb.btrace/instruction_history.exp: Update tests.
13878
13879 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13880
13881 * gdb.btrace/function_call_history.exp: Fix expected field
13882 order for "record function-call-history".
13883 Add new tests for "record function-call-history /c".
13884 * gdb.btrace/exception.cc: New.
13885 * gdb.btrace/exception.exp: New.
13886 * gdb.btrace/tailcall.exp: New.
13887 * gdb.btrace/x86-tailcall.S: New.
13888 * gdb.btrace/x86-tailcall.c: New.
13889 * gdb.btrace/unknown_functions.c: New.
13890 * gdb.btrace/unknown_functions.exp: New.
13891 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13892
13893 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13894
13895 * gdb.btrace/instruction_history.exp: Update.
13896 * gdb.btrace/function_call_history.exp: Update.
13897
13898 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13899
13900 * gdb.btrace/function_call_history.exp: Fix expected function
13901 trace.
13902 * gdb.btrace/instruction_history.exp: Initialize traced.
13903 Remove traced_functions.
13904
13905 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13906
13907 * gdb.btrace/function_call_history.exp: Update
13908 * gdb.btrace/instruction_history.exp: Update.
13909
13910 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13911
13912 * gdb.btrace/enable.exp: Update expected text.
13913
13914 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13915
13916 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13917 bytes.
13918
13919 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13920
13921 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13922
13923 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13924
13925 * lib/gdb.exp (supports_process_record): Return true for
13926 arm*-linux*. (supports_reverse): Likewise.
13927
13928 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13929
13930 PR python/15464
13931 PR python/16113
13932 * gdb.python/py-type.c: Enhance test case.
13933 * gdb.python/py-value-cc.cc: Likewise
13934 * gdb.python/py-type.exp: Add new tests.
13935 * gdb.python/py-value-cc.exp: Likewise
13936
13937 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13938 Pedro Alves <palves@redhat.com>
13939
13940 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13941 Make "name" extern.
13942 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13943 references to ${name}_start by references to ${name}.
13944
13945 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13946
13947 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13948
13949 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13950
13951 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13952
13953 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13954 Pedro Alves <palves@redhat.com>
13955
13956 * gdb.mi/mi-info-os.exp: Connect to the target with
13957 mi_gdb_target_load.
13958
13959 2014-01-08 Pedro Alves <palves@redhat.com>
13960
13961 * gdb.threads/reconnect-signal.c: New file.
13962 * gdb.threads/reconnect-signal.exp: New file.
13963
13964 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13965
13966 * gdb.base/source-dir.exp: New file.
13967
13968 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13969
13970 * gdb.ada/mi_interface: New testcase.
13971
13972 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13973
13974 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13975 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13976 gdb.ada/pp-rec-component/pck.ads: New files.
13977
13978 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13979
13980 * gdb.python/py-pp-integral.c: New file.
13981 * gdb.python/py-pp-integral.py: New file.
13982 * gdb.python/py-pp-integral.exp: New file.
13983
13984 For older changes see ChangeLog-1993-2013.
13985 \f
13986 ;; Local Variables:
13987 ;; mode: change-log
13988 ;; left-margin: 8
13989 ;; fill-column: 74
13990 ;; version-control: never
13991 ;; End:
13992
13993 Copyright 2014-2018 Free Software Foundation, Inc.
13994 Copying and distribution of this file, with or without modification,
13995 are permitted provided the copyright notice and this notice are preserved.