(windows) GDB/MI crash when using "-list-thread-groups --available"
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4
5 2018-06-01 Joel Brobecker <brobecker@adacore.com>
6
7 * gdb.ada/bp_fun_addr: New testcase.
8
9 2018-06-01 Tom Tromey <tom@tromey.com>
10
11 * gdb.xml/tdesc-regs.exp (load_description): Update expected
12 results.
13 * gdb.dwarf2/method-ptr.exp: Set language to C++.
14 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
15 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
16 * gdb.base/maint.exp (maint_pass_if): Update.
17
18 2018-05-31 Maciej W. Rozycki <macro@mips.com>
19
20 * gdb.base/endian.exp: New test.
21 * gdb.base/endian.c: New test source.
22
23 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
24
25 PR gdb/23203
26 * gdb.base/bt-selected-frame.c: New file.
27 * gdb.base/bt-selected-frame.exp: New file.
28 * lib/gdb.exp (get_current_frame_number): New function.
29
30 2018-05-24 Maciej W. Rozycki <macro@mips.com>
31 Pedro Alves <palves@redhat.com>
32
33 * gdb.threads/tls-core.c: Include <stdlib.h>
34 (thread_proc): Call `abort'.
35 * gdb.threads/tls-core.exp: Generate a core with core_find too.
36 (tls_core_test): New procedure, bits factored out from ...
37 (top level): ... here. Test both native cores and gcore cores.
38
39 2018-05-23 Tom Tromey <tom@tromey.com>
40
41 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
42
43 2018-05-23 Tom Tromey <tom@tromey.com>
44
45 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
46 symfile_complaints.
47 (test_short_complaints): Likewise.
48 (test_empty_complaints): Likewise.
49 (test_initial_complaints): Update.
50
51 2018-05-23 Tom Tromey <tom@tromey.com>
52
53 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
54
55 2018-05-23 Tom Tromey <tom@tromey.com>
56
57 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
58 (test_short_complaints): Update.
59
60 2018-05-22 Pedro Alves <palves@redhat.com>
61
62 * gdb.base/remote.exp: Only gdb_start after compiling the
63 testcase. Issue "disconnect" before testing "set remote" command
64 defaults. Issue clean_restart before running to main.
65
66 2018-05-22 Pedro Alves <palves@redhat.com>
67
68 * gdb.base/remote.exp: Adjust expected output of "show remote
69 memory-write-packet-size". Add tests for "set remote
70 memory-write-packet-size 0" and "set remote
71 memory-write-packet-size fixed/limit".
72
73 2018-05-22 Pedro Alves <palves@redhat.com>
74
75 PR gdb/22973
76 * gdb.base/utf8-identifiers.c: New file.
77 * gdb.base/utf8-identifiers.exp: New file.
78
79 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
80
81 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
82
83 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
84
85 * gdb.arch/powerpc-vsx-gcore.exp: New file.
86
87 2018-05-18 Tom Tromey <tom@tromey.com>
88
89 * gdb.base/ptype-offsets.exp: Update.
90
91 2018-05-17 Keith Seitz <keiths@redhat.com>
92
93 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
94 in expected breakpoint stop locations.
95 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
96 move to proper scope to test variable values.
97 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
98 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
99 New functions.
100 (main): Call not_inline_func3.
101 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
102 inline_func1, inline_func2, and inline_func3. Test that when each
103 breakpoint is hit, GDB properly reports both the stop location
104 and the backtrace. Repeat tests for temporary breakpoints.
105
106 2018-05-15 Maciej W. Rozycki <macro@mips.com>
107
108 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
109 rather then trying to access it in determining whether the PID
110 of `gdbserver' could have been retrieved.
111
112 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
113
114 * gdb.arch/amd64-init-x87-values.S: New file.
115 * gdb.arch/amd64-init-x87-values.exp: New file.
116
117 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
118
119 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
120
121 2018-05-04 Tom Tromey <tom@tromey.com>
122
123 PR python/22730:
124 * gdb.python/python.exp: Test multi-line execute.
125
126 2018-05-04 Tom Tromey <tom@tromey.com>
127
128 PR python/22731:
129 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
130
131 2018-05-04 Tom Tromey <tom@tromey.com>
132
133 PR gdb/11750:
134 * gdb.base/define.exp: Test defining a user command inside a user
135 command.
136 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
137
138 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
139 Pedro Alves <palves@redhat.com>
140
141 PR breakpoints/19806 and support for PR external/20207.
142 * gdb.base/watchpoint-unaligned.c: New file.
143 * gdb.base/watchpoint-unaligned.exp: New file.
144
145 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
146
147 * gdb.base/maint.exp: Make test names unique, use
148 test_prefix_command_help to test 'help maint info', and remove
149 repeated test of 'help maint'.
150
151 2018-05-04 Tom Tromey <tom@tromey.com>
152
153 PR gdb/22619:
154 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
155 behavior.
156
157 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
158
159 * gdb.base/maint.exp: Process output from 'maint print registers'
160 line at a time.
161
162 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
165 timeout.
166
167 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
168
169 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
170 filter pattern.
171
172 2018-05-02 Pedro Alves <palves@redhat.com>
173
174 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
175 to_log_command renames.
176 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
177
178 2018-05-02 Tom Tromey <tom@tromey.com>
179
180 * gdb.python/py-parameter.exp: Set test message.
181
182 2018-05-02 Tom Tromey <tom@tromey.com>
183
184 PR python/20084:
185 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
186 PARAM_ZUINTEGER_UNLIMITED tests.
187
188 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
189
190 PR rust/23124
191 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
192 when casting.
193
194 2018-04-30 Tom Tromey <tom@tromey.com>
195
196 * gdb.python/py-type.exp: Check align attribute.
197 * gdb.python/py-type.c: New "aligncheck" global.
198
199 2018-04-30 Tom Tromey <tom@tromey.com>
200
201 PR exp/17095:
202 * gdb.dwarf2/dw2-align.exp: New file.
203 * gdb.cp/align.exp: New file.
204 * gdb.base/align.exp: New file.
205 * lib/gdb.exp (gdb_int128_helper): New proc.
206 (has_int128_c, has_int128_cxx): New caching procs.
207
208 2018-04-27 Tom Tromey <tom@tromey.com>
209
210 PR rust/22545:
211 * gdb.rust/simple.exp: Add inclusive range tests.
212
213 2018-04-26 Pedro Alves <palves@redhat.com>
214
215 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
216 ifunc breakpoint locations correctly of ifunc breakpoints set
217 while the program resolves the ifunc.
218
219 2018-04-26 Pedro Alves <palves@redhat.com>
220
221 * gdb.base/gnu-ifunc-final.c: New file.
222 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
223 * gdb.base/gnu-ifunc.exp (executable): Delete.
224 (staticexecutable): Adjust.
225 (lib_opts, exec_opts): Delete.
226 (make_binsuffix, build, set-break): New procedures.
227 (misc_tests): New, with tests factored out from the top level.
228 (top level): Test different combinations of ifunc resolver name,
229 resolver with and with debug info, and ifunc target with and
230 without debug info. Wrap static tests with with_target_prefix.
231
232 2018-04-26 Pedro Alves <palves@redhat.com>
233
234 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
235 return type" warnings.
236
237 2018-04-25 Pedro Alves <palves@redhat.com>
238
239 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
240 killed".
241 * gdb.base/kill-after-signal.exp: Likewise.
242 * gdb.threads/kill.exp: Likewise.
243
244 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
245 Sergio Durigan Junior <sergiodj@redhat.com>
246 Pedro Alves <palves@redhat.com>
247
248 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
249 regexps to expect for '[Inferior ... detached]' as well.
250 * gdb.base/attach.exp: Likewise.
251 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
252 "gdb_continue_to_end".
253 (test_catch_syscall_with_wrong_args): Likewise.
254 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
255 ']'. Don't set 'verbose' on.
256 * gdb.base/foll-vfork.exp: Likewise.
257 * gdb.base/fork-print-inferior-events.c: New file.
258 * gdb.base/fork-print-inferior-events.exp: New file.
259 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
260 '[Inferior ... has been killed]' message.
261 * gdb.base/kill-after-signal.exp: Likewise.
262 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
263 detach message.
264 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
265 message.
266 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
267 regexps to expect for '[Inferior ... detached]' as well.
268 * gdb.threads/process-dies-while-detaching.exp: Likewise.
269
270 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
271
272 PR gdb/23104
273 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
274
275 2018-04-19 Richard Bunt <richard.bunt@arm.com>
276
277 * gdb.threads/multiple-successive-infcall.c: New test.
278 * gdb.threads/multiple-successive-infcall.exp: New file.
279
280 2018-04-17 Tom Tromey <tom@tromey.com>
281
282 * gdb.rust/simple.rs (Union): New type.
283 (main): New local "u".
284 * gdb.rust/simple.exp (test_one_slice): Add new test case.
285
286 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
287
288 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
289 number information in output of "whereis" command.
290 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
291
292 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
293
294 * gdb.ada/info_types.exp: Adjust expected output to the line
295 numbers now printed by "info var/func/type".
296 * gdb.base/completion.exp: Likewise.
297 * gdb.base/included.exp: Likewise.
298 * gdb.cp/cp-relocate.exp: Likewise.
299 * gdb.cp/cplusfuncs.exp: Likewise.
300 * gdb.cp/namespace.exp: Likewise.
301 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
302
303 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
304
305 * gdb.btrace/cpu.exp: New.
306
307 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
308
309 * gdb.base/step-indirect-call-thunk.exp: New.
310 * gdb.base/step-indirect-call-thunk.c: New.
311 * gdb.reverse/step-indirect-call-thunk.exp: New.
312 * gdb.reverse/step-indirect-call-thunk.c: New.
313
314 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
315
316 * gdb.base/pie-fork.c: New file.
317 * gdb.base/pie-fork.exp: New file.
318
319 2018-04-11 Tom Tromey <tom@tromey.com>
320
321 * gdb.rust/simple.exp: Add test for ".." struct initializer.
322
323 2018-04-10 Pedro Alves <palves@redhat.com>
324
325 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
326 exits. Instead loop running forever.
327 (fork_parent): Run forever too.
328
329 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
330
331 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
332 mi_continue_to_line.
333 * gdb.mi/mi-stack.c (callee4): Add comment.
334
335 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
336
337 * gdb.mi/mi-stack.exp: Fix indentation.
338
339 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
340
341 PR gdb/22979
342 * gdb.arch/amd64-osabi.exp: New file.
343
344 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
345
346 PR gdb/22980
347 * gdb.base/osabi.exp: New file.
348
349 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
350
351 * gdb.cp/static-typedef-print.exp: New file.
352 * gdb.cp/static-typedef-print.cc: New file.
353
354 2018-03-27 Joel Brobecker <brobecker@adacore.com>
355
356 * gdb.ada/varsize_limit: New testcase.
357
358 2018-03-27 Joel Brobecker <brobecker@adacore.com>
359
360 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
361
362 * gdb.ada/notcplusplus: New testcase.
363
364 * gdb.base/c-linkage-name.c: New file.
365 * gdb.base/c-linkage-name.exp: New testcase.
366
367 2018-03-26 Tom Tromey <tom@tromey.com>
368
369 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
370 * gdb.python/py-framefilter.py (name_error): New global.
371 (ErrorInName.function): Use name_error.
372
373 2018-03-26 Tom Tromey <tom@tromey.com>
374
375 PR backtrace/15582:
376 * gdb.python/py-framefilter.exp: Add "bt hide" test.
377
378 2018-03-23 Keith Seitz <keiths@redhat.com>
379
380 PR c++/22968
381 * gdb.cp/subtypes.exp: New file.
382 * gdb.cp/subtypes.h: New file.
383 * gdb.cp/subtypes.cc: New file.
384 * gdb.cp/subtypes-2.cc: New file.
385
386 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
387
388 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
389 (done): Call '_exit' not 'exit' to avoid atexit handlers.
390 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
391 -nostartfiles when compiling the test. Confirm that all registers
392 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
393
394 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
397 option, syntax was wrong anyway.
398 * gdb.arch/arm-disp-step.exp: Likewise.
399 * gdb.arch/sparc64-regs.exp: Likewise.
400 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
401 option, syntax was wrong anyway, switch to use
402 prepare_for_testing.
403 * gdb.arch/i386-disp-step.exp: Likewise.
404
405 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
406
407 * gdb.ada/exec_changed.exp: Replace "target_info exists
408 use_gdb_stub" by "use_gdb_stub".
409 * gdb.ada/start.exp: Likewise.
410 * gdb.base/async-shell.exp: Likewise.
411 * gdb.base/attach-pie-misread.exp: Likewise.
412 * gdb.base/attach-wait-input.exp: Likewise.
413 * gdb.base/break-entry.exp: Likewise.
414 * gdb.base/break-interp.exp: Likewise.
415 * gdb.base/dprintf-detach.exp: Likewise.
416 * gdb.base/nostdlib.exp: Likewise.
417 * gdb.base/solib-nodir.exp: Likewise.
418 * gdb.base/statistics.exp: Likewise.
419 * gdb.base/testenv.exp: Likewise.
420 * gdb.mi/mi-exec-run.exp: Likewise.
421 * gdb.mi/mi-start.exp: Likewise.
422 * gdb.multi/dummy-frame-restore.exp: Likewise.
423 * gdb.multi/multi-arch-exec.exp: Likewise.
424 * gdb.multi/multi-arch.exp: Likewise.
425 * gdb.multi/tids.exp: Likewise.
426 * gdb.multi/watchpoint-multi.exp: Likewise.
427 * gdb.python/py-events.exp: Likewise.
428 * gdb.threads/attach-into-signal.exp: Likewise.
429 * gdb.threads/attach-stopped.exp: Likewise.
430 * gdb.threads/threadapply.exp: Likewise.
431 * lib/selftest-support.exp: Likewise.
432
433 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
434
435 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
436
437 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
438
439 * gdb.perf/template-breakpoints.cc: New file.
440 * gdb.perf/template-breakpoints.exp: New file.
441 * gdb.perf/template-breakpoints.py: New file.
442
443 2018-03-19 Tom Tromey <tom@tromey.com>
444
445 * gdb.rust/simple.rs (main): Add local variables field1, field2,
446 y0.
447 * gdb.rust/simple.exp: Test bare identifier form of struct
448 initializer.
449
450 2018-03-19 Tom Tromey <tom@tromey.com>
451
452 * gdb.gdb/observer.exp: Remove.
453
454 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
455
456 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
457 "qualified" option when setting breakpoints.
458 * gdb.trace/backtrace.exp: Likewise.
459 * gdb.trace/circ.exp: Likewise.
460 * gdb.trace/collection.exp: Likewise.
461 * gdb.trace/disconnected-tracing.exp: Likewise.
462 * gdb.trace/ftrace-lock.exp: Likewise.
463 * gdb.trace/ftrace.exp: Likewise.
464 * gdb.trace/infotrace.exp: Likewise.
465 * gdb.trace/packetlen.exp: Likewise.
466 * gdb.trace/passc-dyn.exp: Likewise.
467 * gdb.trace/qtro.exp: Likewise.
468 * gdb.trace/read-memory.exp: Likewise.
469 * gdb.trace/report.exp: Likewise.
470 * gdb.trace/signal.exp: Likewise.
471 * gdb.trace/status-stop.exp: Likewise.
472 * gdb.trace/strace.exp: Likewise.
473 * gdb.trace/tfind.exp: Likewise.
474 * gdb.trace/trace-break.exp: Likewise.
475 * gdb.trace/trace-condition.exp: Likewise.
476 * gdb.trace/trace-mt.exp: Likewise.
477 * gdb.trace/tstatus.exp: Likewise.
478 * gdb.trace/tsv.exp: Likewise.
479 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
480 * gdb.trace/unavailable.exp: Likewise.
481 * gdb.trace/while-dyn.exp: Likewise.
482
483 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
484
485 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
486 that libinproctrace is copied to the target.
487
488 2018-03-14 Tom Tromey <tom@tromey.com>
489
490 PR cli/14977:
491 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
492 a null pointer.
493 * gdb.base/wchar.exp: Likewise.
494
495 2018-03-14 Tom Tromey <tom@tromey.com>
496
497 PR cli/19918:
498 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
499 flag.
500
501 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
502
503 PR gdb/22841
504 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
505 "target" to remote_exec.
506
507 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
508
509 PR gdb/22841
510 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
511 ${board}_upload): Remove.
512
513 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
514
515 * gdb.cp/watch-cp.cc: New test.
516 * gdb.cp/watch-cp.exp: New file.
517
518 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
519
520 * gdb.base/infcall-nested-structs.exp: New file.
521 * gdb.base/infcall-nested-structs.c: New file.
522 * gdb.base/float.exp: Add riscv support.
523
524 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
525
526 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
527 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
528
529 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
530
531 * gdb.server/abspath.exp: New file.
532 * lib/gdb.exp (with_cwd): New procedure.
533
534 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
535
536 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
537 use it.
538 (gdb_is_target_remote_prompt): New proc.
539 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
540 (gdb_is_target_native): Pass prompt parameter to
541 gdb_is_target_1.
542
543 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
544
545 * gdb.base/load-command.c: New file.
546 * gdb.base/load-command.exp: New file.
547 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
548 (gdb_is_target_1): ...this, and generalize for other targets
549 than just remote.
550 (gdb_is_target_remote): Use gdb_is_target_1.
551 (gdb_is_target_native): use gdb_is_target_1.
552
553 2018-02-26 Tom Tromey <tom@tromey.com>
554
555 PR python/16497:
556 * gdb.python/py-framefilter.exp: Update test.
557
558 2018-02-26 Tom Tromey <tom@tromey.com>
559
560 * gdb.dwarf2/variant.c: New file.
561 * gdb.dwarf2/variant.exp: New file.
562
563 2018-02-26 Tom Tromey <tom@tromey.com>
564
565 * gdb.rust/simple.exp: Accept more possible results in enum test.
566
567 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
568
569 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
570 parentheses.
571
572 2018-02-23 Maciej W. Rozycki <macro@mips.com>
573
574 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
575 name of a variable: $actual_linejj -> $actual_line.
576
577 2018-02-21 John Baldwin <jhb@FreeBSD.org>
578
579 * gdb.arch/amd64-i386-address.exp: Fix a typo.
580
581 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
582
583 * gdb.btrace/buffer-size.exp: Do not force BTS.
584
585 2018-02-14 Pedro Alves <palves@redhat.com>
586
587 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
588 getting a "Quit".
589
590 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
591
592 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
593 Fix test name.
594
595 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
596
597 * gdb.cp/m-static.exp: Check type of optimized out static
598 member.
599
600 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
601
602 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
603 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
604
605 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
606 Leszek Swirski <leszeks@google.com>
607
608 * gdb.python/py-prettyprint.c
609 (struct to_string_returns_value_inner,
610 struct to_string_returns_value_wrapper): New.
611 (main): Add tsrvw variable.
612 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
613 ToStringReturnsValueWrapper): New classes.
614 (register_pretty_printers): Register new pretty-printers.
615 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
616 recursive pretty printer.
617 * gdb.python/py-mi.exp: Likewise.
618
619 2018-02-01 Leszek Swirski <leszeks@google.com>
620
621 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
622 functions with the same name as an include file are parsed
623 correctly.
624
625 2018-02-01 Yao Qi <yao.qi@linaro.org>
626
627 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
628 "\[^\r\n\]*".
629
630 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
631
632 * gdb.arch/powerpc-prologue-frame.s: New file.
633 * gdb.arch/powerpc-prologue-frame.c: Likewise.
634 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
635
636 2018-01-31 Joel Brobecker <brobecker@adacore.com>
637
638 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
639
640 2018-01-30 Pedro Alves <palves@redhat.com>
641
642 PR gdb/13211
643 * gdb.base/interrupt-daemon.c: New.
644 * gdb.base/interrupt-daemon.exp: New.
645 * gdb.multi/multi-term-settings.c: New.
646 * gdb.multi/multi-term-settings.exp: New.
647
648 2018-01-30 Joel Brobecker <brobecker@adacore.com>
649
650 * gdb.base/break.exp: Save the location where the breakpoint
651 on break.c:47 was actually inserted when debugging the version
652 compiled at -O2 and use it in the expected output of the "info
653 break" test performed soon after.
654
655 2018-01-22 Pedro Alves <palves@redhat.com>
656 Sergio Durigan Junior <sergiodj@redhat.com>
657
658 * gdb.base/whatis.exp: Add tests for 'set print object on' +
659 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
660
661 2018-01-22 Joel Brobecker <brobecker@adacore.com>
662
663 * gdb.base/break-include.c, gdb.base/break-include.inc,
664 gdb.base/break-include.exp: New files.
665 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
666 line number now being the actual line number where the breakpoint
667 was inserted.
668 * gdb.mi/mi-break.exp: Likewise.
669 * gdb.mi/mi-reverse.exp: Likewise.
670 * gdb.mi/mi-simplerun.exp: Ditto.
671
672 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
673
674 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
675 varobj.
676 * gdb.mi/mi-var-create-rtti.exp: Likewise.
677
678 2018-01-21 Don Breazeal <donb@codesourcery.com>
679 Andrew Burgess <andrew.burgess@embecosm.com>
680
681 * gdb.mi/basics.c: Add new global.
682 * gdb.mi/mi-frame-regs.exp: New file.
683 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
684 case.
685
686 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
687
688 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
689 non-parameter, and on an unknown symbol.
690
691 2018-01-19 Tom Tromey <tom@tromey.com>
692
693 * gdb.rust/modules.rs (TWENTY_THREE): New global.
694 * gdb.rust/modules.exp: Add ::-qualified lookup test.
695
696 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
697
698 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
699 setrlimit and chdir to int.
700
701 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
702
703 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
704 function.
705 (my_tend): Likewise.
706 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
707 rationale of avoiding FP- and vector instructions.
708
709 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
710
711 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
712 "info reg" with "\[ \t\]*".
713 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
714 "\[ \t\]+".
715 * gdb.arch/s390-multiarch.exp: Ditto.
716 * gdb.base/pc-fp.exp: Ditto.
717 * gdb.reverse/i386-precsave.exp: Ditto.
718 * gdb.reverse/i386-reverse.exp: Ditto.
719 * gdb.reverse/i387-env-reverse.exp: Ditto.
720 * gdb.reverse/i387-stack-reverse.exp: Ditto.
721
722 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
723
724 * lib/gdb.exp (gdb_compile): Re-enable use of
725 universal_compile_options for languages other than Rust.
726
727 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
728
729 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
730
731 2018-01-17 Mike Gulick <mgulick@mathworks.com>
732
733 PR gdb/16577
734 * gdb.base/solib-vanish.exp: New.
735 * gdb.base/solib-vanish-main.c: New.
736 * gdb.base/solib-vanish-lib1.c: New.
737 * gdb.base/solib-vanish-lib2.c: New.
738
739 2018-01-17 Yao Qi <yao.qi@linaro.org>
740
741 * gdb.compile/compile.exp: Match the address printed for
742 frame in the output of command "bt".
743
744 2018-01-15 Tom Tromey <tom@tromey.com>
745
746 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
747 compute sp_reg.
748
749 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
750
751 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
752 to prepare.
753 (prepare): Return 0 on error, 1 on success.
754
755 2018-01-12 Pedro Alves <palves@redhat.com>
756
757 * gdb.base/continue-after-aborted-step-over.c: New.
758 * gdb.base/continue-after-aborted-step-over.exp: New.
759
760 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
761
762 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
763 options when not creating an executable.
764
765 2018-01-11 Pedro Alves <palves@redhat.com>
766
767 PR remote/22597
768 * gdb.server/stop-reply-no-thread.c: New file.
769 * gdb.server/stop-reply-no-thread.exp: New file.
770
771 2018-01-10 Pedro Alves <palves@redhat.com>
772
773 PR gdb/22670
774 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
775 functions too. Test setting breakpoints and printing C functions
776 with no debug info too.
777 * gdb.ada/bp_c_mixed_case/qux.c: New file.
778
779 2018-01-10 Pedro Alves <palves@redhat.com>
780
781 PR gdb/22670
782 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
783 a fail.
784
785 2018-01-10 Pedro Alves <palves@redhat.com>
786
787 PR gdb/22670
788 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
789
790 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
791
792 * gdb.server/unittest.exp: Match the output in non-development
793 mode.
794
795 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
796
797 * gdb.gdb/unittest.exp: Match output in non-development mode.
798
799 2018-01-08 Joel Brobecker <brobecker@adacore.com>
800
801 * gdb.ada/access_tagged_param.exp: Relax expected output
802 for value of "ObjL" in "continue" to pck.inspect breakpoint
803 test.
804
805 2018-01-08 Joel Brobecker <brobecker@adacore.com>
806
807 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
808 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
809
810 2018-01-05 Pedro Alves <palves@redhat.com>
811
812 PR gdb/18653
813 * gdb.base/libsegfault.exp: New.
814
815 2018-01-05 Joel Brobecker <brobecker@adacore.com>
816
817 PR gdb/22670
818 * gdb.ada/access_tagged_param.exp: New file.
819 * gdb.ada/access_tagged_param/foo.adb: New file.
820
821 2018-01-05 Pedro Alves <palves@redhat.com>
822
823 PR gdb/22670
824 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
825 exercise lower case too, and to exercise both full matching and
826 wild matching.
827
828 2018-01-05 Joel Brobecker <brobecker@adacore.com>
829
830 * gdb.ada/rename_subscript_param: New testcase.
831
832 2018-01-05 Jerome Guitton <guitton@adacore.com>
833
834 * gdb.ada/arr_acc_idx_w_gap: New testcase.
835
836 2018-01-05 Joel Brobecker <brobecker@adacore.com>
837
838 * gdb.ada/convvar_comp: New testcase.
839
840 2018-01-05 Xavier Roirand <roirand@adacore.com>
841
842 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
843 (My_Table): New global variable.
844 * testsuite/gdb.ada/array_char_idx.exp: Add test.
845
846 2018-01-04 Joel Brobecker <brobecker@adacore.com>
847
848 PR gdb/22670
849 * gdb.ada/maint_with_ada: New testcase.
850
851 2018-01-04 Joel Brobecker <brobecker@adacore.com>
852
853 PR gdb/22670
854 * gdb.ada/bp_c_mixed_case: New testcase.
855
856 2018-01-04 Joel Brobecker <brobecker@adacore.com>
857
858 PR gdb/22670
859 * gdb.ada/complete.exp: Add "complete break ada" test.
860
861 2018-01-04 Joel Brobecker <brobecker@adacore.com>
862
863 PR gdb/22670
864 * gdb.ada/info_addr_mixed_case: New testcase.
865
866 2018-01-03 Xavier Roirand <roirand@adacore.com>
867
868 * gdb.ada/excep_handle.exp: New testcase.
869 * gdb.ada/excep_handle/foo.adb: New file.
870 * gdb.ada/excep_handle/pck.ads: New file.
871
872 2018-01-03 Joel Brobecker <brobecker@adacore.com>
873
874 * gdb.base/step-line.c: Add extra empty line in copyright header.
875 * gdb.base/step-line.inp: Likewise.
876
877 2018-01-02 Joel Brobecker <brobecker@adacore.com>
878
879 * gdb.ada/dyn_stride.exp: Add slice test.
880
881 2018-01-02 Joel Brobecker <brobecker@adacore.com>
882
883 * gdb.ada/dyn_stride: New testcase.
884
885 2017-12-27 Stafford Horne <shorne@gmail.com>
886
887 * gdb.xml/extra-regs.xml: Add example foo reggroup.
888 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
889
890 2017-12-27 Stafford Horne <shorne@gmail.com>
891
892 * gdb.base/reggroups.c: New file.
893 * gdb.base/reggroups.exp: New file.
894
895 2017-12-18 Joel Brobecker <brobecker@adacore.com>
896
897 * gdb.dwarf2/ada-valprint-error.c: New file.
898 * gdb.dwarf2/ada-valprint-error.exp: New file.
899
900 2017-12-18 Joel Brobecker <brobecker@adacore.com>
901
902 * gdb.ada/assign_arr: New testcase.
903
904 2017-12-18 Xavier Roirand <roirand@adacore.com>
905
906 * gdb.ada/funcall_ptr: New testcase.
907
908 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
909
910 PR cli/16224
911 * gdb.base/ptype-offsets.cc: New file.
912 * gdb.base/ptype-offsets.exp: New file.
913
914 2017-12-15 Yao Qi <yao.qi@linaro.org>
915
916 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
917 if XML is disabled.
918
919 2017-12-15 Xavier Roirand <roirand@adacore.com>
920
921 * gdb.ada/same_component_name: New testcase.
922
923 2017-12-14 Joel Brobecker <brobecker@adacore.com>
924
925 * gdb.ada/str_binop_equal: New testcase.
926
927 2017-12-14 Joel Brobecker <brobecker@adacore.com>
928
929 * gdb.ada/task_switch_in_core: New testcase.
930
931 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
932
933 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
934 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
935 call test_bkpt_qualified.
936 (test_bkpt_qualified): New proc.
937
938 2017-12-13 Pedro Alves <palves@redhat.com>
939
940 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
941 Tighten regexp by matching with an anchor.
942
943 2017-12-13 Pedro Alves <palves@redhat.com>
944
945 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
946 ("expression with namespace"): New set of tests.
947 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
948 (Nested::Test_NS::qux): New.
949 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
950 defaults to 'start_quote_char' and 'end_quote_char' parameters.
951
952 2017-12-13 Joel Brobecker <brobecker@adacore.com>
953
954 * gdb.base/server-del-break.c: New file.
955 * gdb.base/server-del-break.exp: New file.
956
957 2017-12-12 Stafford Horne <shorne@gmail.com>
958
959 * gdb.xml/tdesc-regs.exp: Add or1k support.
960
961 2017-12-12 Stafford Horne <shorne@gmail.com>
962
963 * gdb.base/bp-permanent.c: Define nop of or1k.
964
965 2017-12-11 Joel Brobecker <brobecker@adacore.com>
966
967 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
968 output with components being reordered.
969
970 2017-12-11 Joel Brobecker <brobecker@adacore.com>
971
972 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
973 output with components being reordered.
974
975 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
976 Pedro Alves <palves@redhat.com>
977
978 * gdb.base/maint.exp (check for .gdb_index): Check also for
979 .debug_names.
980 * gdb.dlang/watch-loc.c (.debug_aranges): New.
981 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
982 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
983 (.gdb_index used after symbol reloading): Support also .debug_names.
984 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
985
986 2017-12-08 Yao Qi <yao.qi@linaro.org>
987
988 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
989 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
990
991 2017-12-08 Yao Qi <yao.qi@linaro.org>
992
993 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
994 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
995
996 2017-12-08 Yao Qi <yao.qi@linaro.org>
997
998 * gdb.arch/aarch64-tagged-pointer.c: New file.
999 * gdb.arch/aarch64-tagged-pointer.exp: New file.
1000
1001 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
1002
1003 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
1004 "int".
1005
1006 2017-12-07 Keith Seitz <keiths@redhat.com>
1007
1008 PR breakpoints/22569
1009 * gdb.linespec/ls-errs.exp: Change expected result of "break
1010 -source this file has spaces.c -line 3".
1011 Check that an explicit source file followed by whitespace is
1012 identified as an invalid explicit location.
1013
1014 2017-12-07 Keith Seitz <keiths@redhat.com>
1015
1016 * gdb.cp/nested-types.cc: New file.
1017 * gdb.cp/nested-types.exp: New file.
1018 * lib/cp-support.exp: Load data-structures.exp library.
1019 (debug_cp_test_ptype_class): New global.
1020 (cp_ptype_class_verbose, next_line): New procedures.
1021 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
1022 Add and document new return value.
1023 Switch the list of lines to a queue.
1024 Add support for new `type' key for nested type definitions.
1025 Add debugging/troubleshooting messages.
1026 * lib/data-structures.exp: New file.
1027
1028 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
1029
1030 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
1031 with proc_with_prefix, don't use with_test_prefix.
1032
1033 2017-12-07 Tom Tromey <tom@tromey.com>
1034
1035 * gdb.base/break.exp: Add test for empty "commands".
1036
1037 2017-12-07 Yao Qi <yao.qi@linaro.org>
1038
1039 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
1040 malloc and catch syscall.
1041
1042 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
1043
1044 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
1045 tests for explicit locations.
1046
1047 2017-12-06 Pedro Alves <palves@redhat.com>
1048
1049 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
1050 force-disabling XML descriptions.
1051
1052 2017-12-04 Pedro Alves <palves@redhat.com>
1053
1054 PR gdb/22499
1055 * gdb.arch/amd64-disp-step-avx.S: New file.
1056 * gdb.arch/amd64-disp-step-avx.exp: New file.
1057
1058 2017-12-03 Pedro Alves <palves@redhat.com>
1059
1060 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
1061 and <string.h>.
1062 (parent_function): Print distinct messages when waitpid fails, or
1063 the child exits with a signal, or the child exits for an unhandled
1064 reason.
1065 * gdb.threads/process-dies-while-detaching.exp
1066 (detach_and_expect_exit): New 'inf_output_re' parameter and use
1067 it. Wait for both inferior output and GDB's prompt. Use an
1068 indirect spawn id list.
1069 (do_detach): New parameter 'child_exit'. Use it to compute
1070 expected inferior output.
1071 (test_detach, test_detach_watch, test_detach_killed_outside):
1072 Adjust to pass down the expected child exit kind.
1073
1074 2017-12-01 Joel Brobecker <brobecker@adacore.com>
1075 Sergio Durigan Junior <sergiodj@redhat.com>
1076 Pedro Alves <palves@redhat.com>
1077
1078 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
1079
1080 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
1081
1082 * gdb.base/relocate.exp: Add tests to guarantee that arguments
1083 to 'symbol-file' and 'add-symbol-file' can be
1084 position-independent.
1085
1086 2017-12-01 Yao Qi <yao.qi@linaro.org>
1087
1088 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
1089 the URL in copyright header.
1090 * gdb.arch/aarch64-fp.exp: Likewise.
1091 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
1092 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
1093 * gdb.base/expand-psymtabs.exp: Likewise.
1094 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
1095 * gdb.fortran/common-block.exp: Likewise.
1096 * gdb.fortran/common-block.f90: Likewise.
1097 * gdb.fortran/logical.exp: Likewise.
1098 * gdb.fortran/vla-datatypes.f90: Likewise.
1099 * gdb.fortran/vla-sub.f90: Likewise.
1100
1101 2017-11-30 Joel Brobecker <brobecker@adacore.com>
1102
1103 * gdb.ada/repeat_dyn: New testcase.
1104
1105 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1106
1107 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
1108 Update for changed thread numbering.
1109 * gdb.cell/bt.exp: Update for changed GDB output.
1110
1111 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
1112
1113 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
1114 setting isremote by hand.
1115 * boards/dwarf4-gdb-index.exp: Likewise.
1116 * boards/fission.exp: Likewise.
1117 * boards/stabs.exp: Likewise.
1118
1119 2017-11-30 Pedro Alves <palves@redhat.com>
1120
1121 * gdb.linespec/cpls-ops.exp
1122 (check_explicit_skips_function_argument): Extract the underlying
1123 type of size_t instead of hardcoding it.
1124
1125 2017-11-29 Pedro Alves <palves@redhat.com>
1126
1127 PR c++/19436
1128 * gdb.linespec/cpls-abi-tag.cc: New file.
1129 * gdb.linespec/cpls-abi-tag.exp: New file.
1130
1131 2017-11-29 Pedro Alves <palves@redhat.com>
1132
1133 * gdb.base/langs.exp: Use -qualified.
1134 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
1135 it.
1136 * gdb.cp/namespace.exp: Use -qualified.
1137 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
1138 (overload-3, template-overload, template-ret-type, const-overload)
1139 (const-overload-quoted, anon-ns, ambiguous-prefix): New
1140 procedures.
1141 (test_driver): Call them.
1142 * gdb.cp/save-bp-qualified.cc: New.
1143 * gdb.cp/save-bp-qualified.exp: New.
1144 * gdb.linespec/explicit.exp: Test -qualified.
1145 * lib/completion-support.exp (completion::explicit_opts_list): Add
1146 "-qualified".
1147 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
1148
1149 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
1150
1151 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
1152
1153 2017-11-29 Tom Tromey <tom@tromey.com>
1154
1155 * gdb.base/relocate.exp: Update invalid argument test.
1156 Add new tests for invalid arguments.
1157
1158 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1159
1160 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
1161 Return 0 as a long.
1162 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
1163
1164 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
1165
1166 * gdb.cp/breakpoint.cc (bar): Set return type to void.
1167 * gdb.cp/psymtab-parameter.cc (func): Likewise.
1168 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
1169 func ().
1170 * gdb.cp/shadow.cc (B.func): Return 0.
1171
1172 2017-11-27 Joel Brobecker <brobecker@adacore.com>
1173
1174 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
1175 expected output in gdb_expect call to allow the exception
1176 message to be present as well. Fix syntax confusion to avoid
1177 TCL thinking that exception_name is an array.
1178
1179 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
1180
1181 * gdb.arch/spu-info.c: Include <unistd.h>.
1182 (do_signal_test): Fix broken calls to write.
1183 * gdb.arch/spu-info.exp: Use prepare_for_testing.
1184 Fix checks for empty mailboxes. Update signal tests for corrected
1185 do_signal_test routine. Allow nonzero event status.
1186 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
1187 * gdb.cell/arch.exp: Use standard_output_file.
1188 * gdb.cell/break.exp: Likewise.
1189 * gdb.cell/bt.exp: Likewise.
1190 * gdb.cell/core.exp: Likewise.
1191 * gdb.cell/dwarfaddr.exp: Likewise.
1192 * gdb.cell/ea-cache.exp: Likewise.
1193 * gdb.cell/ea-standalone.exp: Likewise.
1194 * gdb.cell/f-regs.exp: Likewise.
1195 * gdb.cell/fork.exp: Likewise.
1196 * gdb.cell/gcore.exp: Likewise.
1197 * gdb.cell/mem-access.exp: Likewise.
1198 * gdb.cell/ptype.exp: Likewise.
1199 * gdb.cell/registers.exp: Likewise.
1200 * gdb.cell/sizeof.exp: Likewise.
1201 * gdb.cell/solib-symbol.exp: Likewise.
1202 * gdb.cell/solib.exp: Likewise.
1203
1204 2017-11-25 Pedro Alves <palves@redhat.com>
1205
1206 * gdb.base/complete-empty.exp: New file.
1207 * gdb.base/completion.exp: Adjust.
1208
1209 2017-11-25 Pedro Alves <palves@redhat.com>
1210
1211 * gdb.linespec/cpls-ops.cc: New file.
1212 * gdb.linespec/cpls-ops.exp: New file.
1213 * lib/completion-support.exp (test_complete_prefix_range_re): New,
1214 factored out from ...
1215 (test_complete_prefix_range): ... this.
1216
1217 2017-11-24 Pedro Alves <palves@redhat.com>
1218
1219 * gdb.linespec/cpcompletion.exp: New file.
1220 * gdb.linespec/cpls-hyphen.cc: New file.
1221 * gdb.linespec/cpls.cc: New file.
1222 * gdb.linespec/cpls2.cc: New file.
1223 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
1224 test to use test_gdb_complete_unique. Add label completion,
1225 keyword completion and explicit location completion tests.
1226 * lib/completion-support.exp: New file.
1227
1228 2017-11-24 Joel Brobecker <brobecker@adacore.com>
1229
1230 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
1231 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
1232 when hitting an exception catchpoint.
1233
1234 2017-11-22 Yao Qi <yao.qi@linaro.org>
1235
1236 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
1237
1238 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
1239
1240 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
1241 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
1242 * gdb.dwarf2/info-locals-optimized-out.c: New file.
1243
1244 2017-11-22 Yao Qi <yao.qi@linaro.org>
1245
1246 * gdb.base/info-os.exp: Pass pthreads.
1247 * gdb.multi/multi-attach.exp: Likewise.
1248
1249 2017-11-22 Yao Qi <yao.qi@linaro.org>
1250
1251 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
1252 compiler.
1253
1254 2017-11-22 Yao Qi <yao.qi@linaro.org>
1255
1256 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
1257 * gdb.base/break-interp.exp: Likewise.
1258 * gdb.base/jit-attach-pie.exp: Likewise.
1259
1260 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1261
1262 * gdb.base/float128.c (large128): New variable.
1263 * gdb.base/float128.exp: Add test to print largest __float128 value.
1264
1265 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
1266
1267 * gdb.arch/vsx-regs.exp: Update register content checks.
1268
1269 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
1270
1271 * gdb.arch/ppc-longdouble.exp: New file.
1272 * gdb.arch/ppc-longdouble.c: Likewise.
1273
1274 2017-11-21 Pedro Alves <palves@redhat.com>
1275
1276 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
1277
1278 2017-11-20 Pedro Alves <palves@redhat.com>
1279
1280 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
1281 (long_double_typedef): New typedefs.
1282 Use DEF on double and long double.
1283 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
1284 cases.
1285 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
1286 and 'long_double_ptr_same_size' locals. Use them to decide
1287 whether cast from array/function to float is valid/invalid.
1288
1289 2017-11-17 Tom Tromey <tom@tromey.com>
1290
1291 * gdb.rust/traits.rs: New file.
1292 * gdb.rust/traits.exp: New file.
1293
1294 2017-11-17 Joel Brobecker <brobecker@adacore.com>
1295
1296 * gdb.ada/minsyms: New testcase.
1297
1298 2017-11-16 Pedro Alves <palves@redhat.com>
1299
1300 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
1301 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
1302
1303 2017-11-16 Pedro Alves <palves@redhat.com>
1304
1305 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
1306 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
1307
1308 2017-11-16 Pedro Alves <palves@redhat.com>
1309
1310 * gdb.server/reconnect-ctrl-c.c: New file.
1311 * gdb.server/reconnect-ctrl-c.exp: New file.
1312
1313 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
1314
1315 * gdb.python/py-rbreak.exp: New file.
1316 * gdb.python/py-rbreak.c: New file.
1317 * gdb.python/py-rbreak-func2.c: New file.
1318
1319 2017-11-16 Pedro Alves <palves@redhat.com>
1320
1321 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
1322 pattern.
1323 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
1324 GDB.
1325
1326 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
1327
1328 * gdb.tui/completionn.exp (test_tab_completion): Add space in
1329 regex.
1330
1331 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
1332
1333 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
1334 test names.
1335
1336 2017-11-09 Pedro Alves <palves@redhat.com>
1337
1338 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
1339 factored out from ...
1340 (top level): ... here, and adjusted to avoid expecting beyond the
1341 prompt in a single gdb_test_multiple.
1342
1343 2017-11-09 Pedro Alves <palves@redhat.com>
1344
1345 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
1346 output.
1347 * gdb.server/ext-attach.exp ("kill" test): Likewise.
1348 * gdb.server/ext-restart.exp ("kill" test): Likewise.
1349 * gdb.server/ext-run.exp ("kill" test): Likewise.
1350 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
1351
1352 2017-11-09 Pedro Alves <palves@redhat.com>
1353
1354 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
1355 match till end of line.
1356
1357 2017-11-09 Pedro Alves <palves@redhat.com>
1358
1359 * gdb.base/memattr.exp: Tighten regexes to match the end line.
1360
1361 2017-11-09 Pedro Alves <palves@redhat.com>
1362
1363 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
1364 New procedures, factored out from ...
1365 (top level): ... here, and adjusted to avoid expecting beyond the
1366 prompt in one go.
1367
1368 2017-11-09 Pedro Alves <palves@redhat.com>
1369
1370 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
1371 output. Fix '?' match.
1372
1373 2017-11-08 Joel Brobecker <brobecker@adacore.com>
1374
1375 * gdb.ada/scoped_watch: New testcase.
1376 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
1377 which is actually correct.
1378 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
1379 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
1380
1381 2017-11-08 Pedro Alves <palves@redhat.com>
1382
1383 * gdb.gdb/complaints.exp (test_initial_complaints)
1384 (test_serial_complaints, test_short_complaints): Call
1385 complaint_internal instead of complaint.
1386
1387 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
1388
1389 * gdb.threads/tls-core.c: New file.
1390 * gdb.threads/tls-core.exp: Likewise.
1391
1392 2017-11-08 Pedro Alves <palves@redhat.com>
1393
1394 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
1395 (p Exported_Capitalized): New test.
1396 (p exported_capitalized): New test.
1397
1398 2017-11-07 Pedro Alves <palves@redhat.com>
1399
1400 * gdb.cp/ena-dis-br-range.exp: Add more tests.
1401
1402 2017-11-07 Pedro Alves <palves@redhat.com>
1403
1404 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
1405 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
1406 (disable_invalid, disable_inverted, disable_negative): New
1407 procedures.
1408 ("bad numbers"): New set of tests.
1409
1410 2017-11-07 Pedro Alves <palves@redhat.com>
1411
1412 * gdb.cp/ena-dis-br-range.exp: Add tests.
1413
1414 2017-11-07 Pedro Alves <palves@redhat.com>
1415
1416 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
1417
1418 2017-11-07 Xavier Roirand <roirand@adacore.com>
1419 Pedro Alves <palves@redhat.com>
1420
1421 * gdb.base/ena-dis-br.exp: Add reference to
1422 gdb.cp/ena-dis-br-range.exp.
1423 * gdb.cp/ena-dis-br-range.exp: New file.
1424 * gdb.cp/ena-dis-br-range.cc: New file.
1425
1426 2017-11-06 Pedro Alves <palves@redhat.com>
1427
1428 * gdb.base/attach-non-pgrp-leader.c: New.
1429 * gdb.base/attach-non-pgrp-leader.exp: New.
1430
1431 2017-11-06 Pedro Alves <palves@redhat.com>
1432
1433 * configure.ac: No longer check for termio.h and sgtty.h.
1434 * configure: Regenerate.
1435 * remote-utils.c: Include termios.h instead of gdb_termios.h.
1436 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
1437 Remove termio and sgtty code.
1438
1439 2017-11-03 Yao Qi <yao.qi@linaro.org>
1440
1441 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
1442 in GDB is disabled.
1443
1444 2017-11-03 Yao Qi <yao.qi@linaro.org>
1445
1446 * gdb.python/py-thrhandle.exp: Skip it if python is not
1447 enabled.
1448
1449 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1450
1451 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
1452 as a breakpoint command.
1453
1454 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
1455
1456 PR python/21213
1457 * gdb.python/py-infthread.exp: Test calling
1458 InferiorThread.inferior () multiple times in a row.
1459
1460 2017-10-27 Keith Seitz <keiths@redhat.com>
1461
1462 * gdb.opt/inline-break.exp (break_info_1): New procedure.
1463 Test "info break" for every inlined function breakpoint.
1464
1465 2017-10-27 Yao Qi <yao.qi@linaro.org>
1466
1467 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
1468
1469 2017-10-26 Patrick Frants <osscontribute@gmail.com>
1470
1471 * gdb.cp/classes.exp (test_static_members): Test printing
1472 Outer::instance.
1473 * gdb.cp/classes.c (struct Inner, struct Outer): New.
1474 (Inner::instance, Outer::instance): New.
1475
1476 2017-10-24 Pedro Alves <palves@redhat.com>
1477
1478 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
1479 extra console" test in two stages.
1480
1481 2017-10-24 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
1484
1485 2017-10-24 Pedro Alves <palves@redhat.com>
1486
1487 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
1488 loop.
1489
1490 2017-10-24 Pedro Alves <palves@redhat.com>
1491
1492 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
1493 $attempt" and "stoppedtry $stoppedtry" test prefixes.
1494
1495 2017-10-24 Pedro Alves <palves@redhat.com>
1496
1497 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
1498 parameter and handle it. Don't output read value in test name.
1499
1500 2017-10-24 Pedro Alves <palves@redhat.com>
1501
1502 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
1503 custom test name.
1504
1505 2017-10-24 Pedro Alves <palves@redhat.com>
1506
1507 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
1508 include the unstable output directory name in the test's name.
1509 (initial_setup_simple) <'set args'>: Use custom test name.
1510
1511 2017-10-24 Pedro Alves <palves@redhat.com>
1512
1513 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
1514 with explicit test name.
1515
1516 2017-10-20 Pedro Alves <palves@redhat.com>
1517
1518 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
1519 'wait -i'. Use gdb_assert and remote_close.
1520
1521 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
1522
1523 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
1524 number from variable rather than hard-coded.
1525
1526 2017-10-19 Pedro Alves <palves@redhat.com>
1527
1528 * gdb.base/long-inferior-output.c: New file.
1529 * gdb.base/long-inferior-output.exp: New file.
1530
1531 2017-11-18 Keith Seitz <keiths@redhat.com>
1532
1533 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
1534 method.
1535 (main): Call it.
1536 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
1537 Add additional user-defined conversion operator tests.
1538
1539 2017-10-17 Pedro Alves <palves@redhat.com>
1540
1541 * boards/native-stdio-gdbserver.exp: Load "local-board".
1542
1543 2017-10-17 Pedro Alves <palves@redhat.com>
1544
1545 * gdb.base/quit-live.c: New file.
1546 * gdb.base/quit-live.exp: New file.
1547
1548 2017-10-16 Keith Seitz <keiths@redhat.com>
1549
1550 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
1551 (class_with_protected_typedef, class_with_private_typedef)
1552 (struct_with_public_typedef, struct_with_protected_typedef)
1553 (struct_with_private_typedef): New classes/structs.
1554 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
1555 typedefs and access specifiers.
1556
1557 2017-10-16 Pedro Alves <palves@redhat.com>
1558 Simon Marchi <simon.marchi@polymtl.ca>
1559
1560 * README (Local vs Remote vs Native): New section.
1561 * boards/local-board.exp: New file, with bits factored out from
1562 ...
1563 * boards/native-extended-gdbserver.exp: ... here. Load
1564 "local-board".
1565 * boards/native-gdbserver.exp: Load "local-board".
1566 (${board}_spawn, ${board}_exec): Delete.
1567 * boards/native-stdio-gdbserver.exp: Most contents factored out to
1568 ...
1569 * boards/stdio-gdbserver-base.exp: ... this new file.
1570 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
1571 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
1572 procedure.
1573 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
1574 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
1575 stdio_gdbserver_command.
1576 (${board}_get_remote_address, ${board}_get_comm_port)
1577 (${board}_download, ${board}_upload): Delete.
1578 (get_target_remote_pipe_cmd): New.
1579
1580 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
1581
1582 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
1583 test_bkpt_deletion, test_bkpt_cond_and_cmds,
1584 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
1585 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
1586 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
1587 remove with_test_prefix.
1588
1589 2017-10-13 Pedro Alves <palves@redhat.com>
1590
1591 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
1592 * gdb.base/annota1.exp: Use it instead of is_remote.
1593 * gdb.base/annota3.exp: Use it instead of is_remote.
1594 * gdb.cp/annota2.exp: Use it instead of is_remote.
1595 * gdb.cp/annota3.exp: Use it instead of is_remote.
1596 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
1597
1598 2017-10-13 Pedro Alves <palves@redhat.com>
1599
1600 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
1601 (test_num_test_vars, run_and_count_vars, find_env)
1602 (test_set_unset_env, test_inherit_env_var): New procedures.
1603 (top level): Use them.
1604
1605 2017-10-13 Pedro Alves <palves@redhat.com>
1606
1607 * lib/selftest-support.exp (selftest_setup): Extend comments, and
1608 also skip on stub-like targets.
1609
1610 2017-10-13 Pedro Alves <palves@redhat.com>
1611
1612 PR gdb/22293
1613 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
1614 (top level): Move some tests to ...
1615 (test_not_found): ... this new procedure.
1616 (top level): Call it.
1617
1618 2017-10-13 Pedro Alves <palves@redhat.com>
1619
1620 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
1621 expect different "info terminal" output if testing with a
1622 non-native target.
1623
1624 2017-10-13 Pedro Alves <palves@redhat.com>
1625 Simon Marchi <simon.marchi@polymtl.ca>
1626
1627 PR python/12966
1628 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
1629
1630 2017-10-13 Pedro Alves <palves@redhat.com>
1631
1632 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
1633 already.
1634
1635 2017-10-13 Pedro Alves <palves@redhat.com>
1636
1637 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
1638 is_remote.
1639
1640 2017-10-13 Pedro Alves <palves@redhat.com>
1641
1642 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
1643 is_remote.
1644
1645 2017-10-13 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
1648 is set.
1649 (corefile_test_attach): Likewise. Check can_spawn_for_attach
1650 instead of is_remote.
1651
1652 2017-10-13 Pedro Alves <palves@redhat.com>
1653
1654 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
1655 (top level): Add comment.
1656
1657 2017-10-13 Pedro Alves <palves@redhat.com>
1658
1659 * gdb.base/remote.exp (top level): Fix comment typo and add
1660 missing return.
1661
1662 2017-10-13 Pedro Alves <palves@redhat.com>
1663 Simon Marchi <simon.marchi@polymtl.ca>
1664
1665 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
1666 calls and add comments. Skip test if use_gdb_stub is set.
1667 (top level): Use "set cwd" command instead of "cd" command.
1668
1669 2017-10-13 Pedro Alves <palves@redhat.com>
1670
1671 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
1672 is_remote target check.
1673
1674 2017-10-13 Pedro Alves <palves@redhat.com>
1675
1676 * gdb.base/scope.exp: Use build_executable + clean_restart +
1677 gdb_file_cmd instead of prepare_for_testing and no longer skip
1678 "before run" tests on is_remote target boards. Update comments.
1679 * boards/native-extended-gdbserver.exp
1680 (extended_gdbserver_load_last_file): New, factored out from ...
1681 (gdb_load): ... this. Move further below and add comment.
1682 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
1683
1684 2017-10-12 Pedro Alves <palves@redhat.com>
1685
1686 * gdb.base/attach.exp: Remove references to gdb64.
1687 * gdb.base/dbx.exp: Remove references to gdb64.
1688
1689 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1690 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.base/label.exp: Remove is_remote target check.
1693
1694 2017-10-12 Pedro Alves <palves@redhat.com>
1695
1696 * gdb.base/auvx.exp (coredir): Update comment.
1697 (top level) <core_works>: Use "set cwd" command instead of "cd"
1698 command.
1699
1700 2017-10-12 Pedro Alves <palves@redhat.com>
1701 Simon Marchi <simon.marchi@polymtl.ca>
1702
1703 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
1704 target boards.
1705
1706 2017-10-12 Pedro Alves <palves@redhat.com>
1707 Simon Marchi <simon.marchi@polymtl.ca>
1708
1709 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
1710 Instead skip if there's any gdb_protocol set.
1711
1712 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
1713 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
1716
1717 2017-10-12 Pedro Alves <palves@redhat.com>
1718 Simon Marchi <simon.marchi@polymtl.ca>
1719
1720 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
1721 instead of on dejagnu remote boards.
1722
1723 2017-10-12 Pedro Alves <palves@redhat.com>
1724 Simon Marchi <simon.marchi@polymtl.ca>
1725
1726 * gdb.base/inferior-died.exp: Remove is_remote and isnative
1727 checks. Use build_executable + clean_restart instead of
1728 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
1729 of enabling non-stop after starting gdb.
1730
1731 2017-10-12 Pedro Alves <palves@redhat.com>
1732
1733 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
1734 * gdb.threads/non-ldr-exc-2.exp: Ditto.
1735 * gdb.threads/non-ldr-exc-3.exp: Ditto.
1736 * gdb.threads/non-ldr-exc-4.exp: Ditto.
1737
1738 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
1739
1740 * gdb.arch/arc-tdesc-cpu.exp: New file.
1741 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
1742
1743 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
1744
1745 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
1746
1747 2017-10-10 Pedro Alves <palves@redhat.com>
1748
1749 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
1750 expect CLI output.
1751
1752 2017-10-10 Pedro Alves <palves@redhat.com>
1753
1754 * lib/selftest-support.exp (selftest_setup): Update for
1755 captured_command_loop's prototype change.
1756
1757 2017-10-09 Pedro Alves <palves@redhat.com>
1758
1759 Test both arch1=>arch2 and arch2=>arch1.
1760
1761 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
1762 (srcfile2, binfile2, march1, march2): Remove globals. Largely
1763 factored out to...
1764 (append_arch1_options, append_arch2_options, append_arch_options)
1765 (build_executables): New procedures.
1766 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
1767 local.
1768 (top level): Add new 'first_arch' testing axis.
1769
1770 2017-10-09 Pedro Alves <palves@redhat.com>
1771
1772 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
1773 (barrier): New.
1774 (thread_start, all_started): New functions.
1775 (main): Spawn new thread and wait until it is scheduled.
1776 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
1777 option.
1778 (do_test): Add 'selected_thread' parameter. Run to all_started
1779 instead of main. Explicitly set the breakpoint at main. Switch
1780 to the SELECTED_THREAD thread.
1781 (top level): Test handling the exec event with either the main
1782 thread or the second thread selected.
1783
1784 2017-10-09 Pedro Alves <palves@redhat.com>
1785
1786 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
1787 logic. Move STOP marker after the value checks.
1788 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
1789 regexp.
1790
1791 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
1792
1793 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
1794
1795 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
1796
1797 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
1798 integer-to-dfp conversion.
1799 * gdb.base/dfp-test.exp: Likewise.
1800
1801 2017-10-04 Pedro Alves <palves@redhat.com>
1802
1803 * gdb.multi/hangout.c: Include <unistd.h>.
1804 (hangout_loop): New function.
1805 (main): Call alarm. Call hangout_loop in a loop.
1806 * gdb.multi/hello.c: Include <unistd.h>.
1807 (hello_loop): New function.
1808 (main): Call alarm. Call hangout_loop in a loop.
1809 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
1810 inferior with the other selected.
1811
1812 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
1813
1814 * gdb.mi/list-thread-groups-available.exp: New file.
1815 * gdb.mi/list-thread-groups-available.c: New file.
1816
1817 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1818
1819 * gdb.base/set-cwd.exp: Make it available on
1820 native-extended-gdbserver.
1821
1822 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
1823
1824 * gdb.base/set-cwd.c: New file.
1825 * gdb.base/set-cwd.exp: Likewise.
1826
1827 2017-10-02 Tom Tromey <tom@tromey.com>
1828
1829 PR rust/22236:
1830 * gdb.rust/simple.rs (main): New variable "fslice".
1831 * gdb.rust/simple.exp: Add slice tests. Update string tests.
1832
1833 2017-10-02 Tom Tromey <tom@tromey.com>
1834
1835 * gdb.rust/simple.exp: Test ptype of a slice.
1836
1837 2017-10-02 Tom Tromey <tom@tromey.com>
1838
1839 * gdb.rust/simple.exp: Test index of slice.
1840
1841 2017-09-27 Tom Tromey <tom@tromey.com>
1842
1843 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
1844
1845 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
1846 Pedro Alves <palves@redhat.com>
1847
1848 * gdb.base/compare-sections.exp (get value of read-only section): Read
1849 as unsigned value.
1850 (corrupt read-only section): Likewise and don't set written if patching
1851 failed.
1852
1853 2017-09-21 Kevin Buettner <kevinb@redhat.com>
1854
1855 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
1856 files.
1857
1858 2017-09-20 Pedro Alves <palves@redhat.com>
1859
1860 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
1861 symbol names in gdb's output.
1862 * gdb.cp/overload.exp ("list all overloads"): Likewise.
1863
1864 2017-09-20 Pedro Alves <palves@redhat.com>
1865
1866 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
1867 Rename to ...
1868 (test_list_ambiguous_symbol): ... this and add a symbol name
1869 parameter. Adjust.
1870 (test_list_ambiguous_function): Reimplement on top of
1871 test_list_ambiguous_symbol and also test listing ambiguous
1872 variables.
1873 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
1874 (ambiguous_fun): ... this.
1875 (ambiguous_var): New.
1876 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
1877 (ambiguous_fun): ... this.
1878 (ambiguous_var): New.
1879
1880 2017-09-19 John Baldwin <jhb@FreeBSD.org>
1881
1882 * gdb.base/starti.c: New file.
1883 * gdb.base/starti.exp: New file.
1884 * lib/gdb.exp (gdb_starti_cmd): New procedure.
1885
1886 2017-09-14 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
1889 (top level): Use it instead of runto.
1890
1891 2017-09-11 Tom Tromey <tom@tromey.com>
1892
1893 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
1894
1895 2017-09-11 Tom Tromey <tom@tromey.com>
1896
1897 * gdb.python/py-infthread.exp: Add tests for new_thread event.
1898 * gdb.python/py-inferior.exp: Add tests for new inferior events.
1899
1900 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
1901
1902 * gdb.fortran/printing-types.exp: New file.
1903 * gdb.fortran/printing-types.exp: New file.
1904
1905 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1906
1907 * gdb.fortran/vla-ptype.exp: Fix typos.
1908 * gdb.fortran/vla-value.exp: Same.
1909
1910 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
1911
1912 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
1913 * gdb.mi/mi-var-child-f.exp: Likewise.
1914 * gdb.mi/mi-vla-fortran.exp: Likewise.
1915
1916 2017-09-08 Frank Penczek <frank.penczek@intel.com>
1917 Christoph Weinmann <christoph.t.weinmann@intel.com>
1918 Bernhard Heckel <bernhard.heckel@intel.com>
1919
1920 * gdb.fortran/ptr-indentation.f90: New file.
1921 * gdb.fortran/ptr-indentation.exp: New file.
1922
1923 2017-09-05 Tom Tromey <tom@tromey.com>
1924
1925 PR gdb/22010:
1926 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
1927
1928 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1929
1930 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
1931
1932 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1933
1934 * gdb.threads/tls-nodebug-pie.c: New file.
1935 * gdb.threads/tls-nodebug-pie.exp: New file.
1936
1937 2017-09-05 Tom Tromey <tom@tromey.com>
1938
1939 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
1940 for rust.
1941
1942 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
1943
1944 * gdb.multi/multi-arch-exec.exp: Test with different
1945 "follow-exec-mode" settings.
1946 (do_test): New procedure.
1947
1948 2017-09-04 Pedro Alves <palves@redhat.com>
1949
1950 * gdb.base/func-static.c (S::method const, S::method volatile)
1951 (S::method volatile const): New methods.
1952 (c_s, v_s, cv_s): New instances.
1953 (main): Call method() on them.
1954 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
1955 (cannot_resolve): New procedure.
1956 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
1957 print-quote-unquoted columns.
1958 (do_test): Test printing each scope too.
1959
1960 2017-09-04 Pedro Alves <palves@redhat.com>
1961
1962 * gdb.base/local-static.exp: Also test with
1963 class::method::variable wholly quoted.
1964 * gdb.cp/m-static.exp (class::method::variable): Remove test.
1965
1966 2017-09-04 Pedro Alves <palves@redhat.com>
1967
1968 * gdb.base/local-static.c: New.
1969 * gdb.base/local-static.cc: New.
1970 * gdb.base/local-static.exp: New.
1971
1972 2017-09-04 Pedro Alves <palves@redhat.com>
1973
1974 * gdb.asm/asm-source.exp: Add casts to int.
1975 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
1976 (dataglobal64_1, dataglobal64_2): New globals.
1977 * gdb.base/nodebug.exp: Test different expressions involving the
1978 new globals, with print, whatis and ptype. Add casts to int.
1979 * gdb.base/solib-display.exp: Add casts to int.
1980 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
1981 * gdb.cp/m-static.exp: Add cast to int.
1982 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
1983 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
1984 tls variable with no debug info without a cast. Test with a cast
1985 to int too.
1986 * gdb.trace/entry-values.exp: Add casts.
1987
1988 2017-09-04 Pedro Alves <palves@redhat.com>
1989
1990 * gdb.base/nodebug.exp: Test that ptype's error about functions
1991 with unknown return type includes the function name too.
1992
1993 2017-09-04 Pedro Alves <palves@redhat.com>
1994
1995 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
1996 return type of munmap in infcall.
1997 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
1998 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
1999 type of ftell in infcall.
2000 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
2001 type of getpid in infcall.
2002 * gdb.base/infcall-exec.exp: Cast return type of execlp in
2003 infcall.
2004 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
2005 Bail on failure to extract the pid.
2006 * gdb.base/nodebug.c: #include <stdint.h>.
2007 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
2008 New functions.
2009 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
2010 Change expected output of print/whatis/ptype with functions with
2011 no debug info. Test all supported languages. Call
2012 test_call_promotion.
2013 * gdb.compile/compile.exp: Adjust expected output to expect
2014 warning.
2015 * gdb.threads/siginfo-threads.exp: Likewise.
2016
2017 2017-09-04 Pedro Alves <palves@redhat.com>
2018
2019 * gdb.base/callfuncs.exp (do_function_calls): New parameter
2020 "prototypes". Test calling float functions via prototyped and
2021 unprototyped function pointers.
2022 (perform_all_tests): New parameter "prototypes". Pass it down.
2023 (top level): Pass down "prototypes" parameter to
2024 perform_all_tests.
2025
2026 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2027
2028 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
2029 Test with nested loops.
2030
2031 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2032
2033 * gdb.base/commands.exp: Call the new procedures.
2034 (loop_break_test, loop_continue_test): New procedures.
2035
2036 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
2037
2038 * gdb.base/commands.exp: Call new procedure.
2039 (define_if_without_arg_test): New procedure.
2040
2041 2017-09-04 Pedro Alves <palves@redhat.com>
2042
2043 * gdb.base/list-ambiguous.exp: New file.
2044 * gdb.base/list-ambiguous0.c: New file.
2045 * gdb.base/list-ambiguous1.c: New file.
2046 * gdb.base/list.exp (test_list_range): Adjust expected output.
2047
2048 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
2049
2050 * gdb.base/share-env-with-gdbserver.c: New file.
2051 * gdb.base/share-env-with-gdbserver.exp: Likewise.
2052
2053 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2054
2055 * gdb.base/commands.exp (gdbvar_simple_if_test,
2056 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
2057 progvar_simple_if_test, progvar_simple_while_test,
2058 progvar_complex_if_while_test, user_defined_command_test,
2059 user_defined_command_args_eval,
2060 user_defined_command_args_stack_test,
2061 user_defined_command_manyargs_test, bp_deleted_in_command_test,
2062 temporary_breakpoint_commands,
2063 gdb_test_no_prompt, redefine_hook_test,
2064 redefine_backtrace_test): Remove "global gdb_prompt".
2065
2066 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
2067
2068 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
2069 New proc, call it from toplevel.
2070
2071 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
2072
2073 PR remote/21852
2074 * gdb.server/normal.c: New file, copied from gdb.base.
2075 * gdb.server/run-without-local-binary.exp: New file.
2076
2077 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
2078
2079 * gdb.arch/sparc64-adi.exp: New file.
2080 * gdb.arch/sparc64-adi.c: New file.
2081
2082 2017-08-22 Pedro Alves <palves@redhat.com>
2083
2084 * gdb.cp/overload.exp (line_range_pattern): New procedure.
2085 (top level): Add "list all overloads" tests.
2086
2087 2017-08-22 Tom Tromey <tom@tromey.com>
2088
2089 * gdb.gdb/xfullpath.exp: Remove.
2090
2091 2017-08-21 Pedro Alves <palves@redhat.com>
2092
2093 PR gdb/19487
2094 * gdb.base/symbol-alias.c: New.
2095 * gdb.base/symbol-alias2.c: New.
2096 * gdb.base/symbol-alias.exp: New.
2097
2098 2017-08-21 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.base/dfp-test.c
2101 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
2102 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
2103 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
2104 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
2105 * gdb.base/whatis-ptype-typedefs.c: New.
2106 * gdb.base/whatis-ptype-typedefs.exp: New.
2107 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
2108 (an_int, an_int_type, an_int_type2): New globals.
2109 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
2110 involving typedefs and cast expressions.
2111 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
2112 (lookup_typedefs_function): New.
2113 (typedefs_pretty_printers_dict): New.
2114 (top level): Register lookup_typedefs_function in
2115 gdb.pretty_printers.
2116
2117 2017-08-18 Yao Qi <yao.qi@linaro.org>
2118
2119 * gdb.server/unittest.exp: New.
2120
2121 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
2122
2123 PR gdb/21954
2124 * gdb.base/environ.exp: Add test to check if 'unset environment'
2125 works.
2126
2127 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2128
2129 * lib/gdb.exp (universal_compile_options): New caching proc.
2130 (gdb_compile): Suppress GCC's coloring of messages.
2131
2132 2017-08-14 Tom Tromey <tom@tromey.com>
2133
2134 PR gdb/21675:
2135 * gdb.base/printcmds.exp (test_radices): New function.
2136 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
2137 * gdb.base/sizeof.exp (check_valueof): Use p/d.
2138 * lib/gdb.exp (get_integer_valueof): Use p/d.
2139
2140 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
2141
2142 * lib/gdb.exp (get_valueof): Don't capture end-of-line
2143 characters.
2144
2145 2017-08-05 Tom Tromey <tom@tromey.com>
2146
2147 * gdb.rust/simple.exp: Allow String to appear in a different
2148 namespace.
2149
2150 2017-07-26 Yao Qi <yao.qi@linaro.org>
2151
2152 * gdb.gdb/unittest.exp: Invoke command
2153 "maintenance check xml-descriptions".
2154
2155 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2156
2157 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
2158 calling context.
2159 (hex128): Drop erroneous calculation of parameters.
2160
2161 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
2162
2163 * gdb.python/py-unwind.exp: Disable stack protection when
2164 building test file.
2165
2166 2017-07-20 Pedro Alves <palves@redhat.com>
2167
2168 * gdb.base/default.exp (set language): Adjust expected output.
2169
2170 2017-07-20 Pedro Alves <palves@redhat.com>
2171
2172 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
2173 (test_minsym): ... this, and make static.
2174 (get_pck__foo__bar__minsym): Rename to ...
2175 (get_test_minsym): ... this.
2176 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
2177 symbol names and comments.
2178 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
2179 (get_test_minsym): ... this.
2180 (pck__foo__bar__minsym__2): Rename to ...
2181 (test_minsym): ... this.
2182 (main): Adjust.
2183
2184 2017-07-17 Pedro Alves <palves@redhat.com>
2185
2186 * gdb.base/completion.exp: Adjust expected output.
2187 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
2188 the completer works.
2189
2190 2017-07-17 Pedro Alves <palves@redhat.com>
2191
2192 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
2193
2194 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2195
2196 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
2197
2198 2017-07-14 Tom Tromey <tom@tromey.com>
2199
2200 PR rust/21764:
2201 * gdb.rust/simple.exp: Add tests.
2202
2203 2017-07-14 Tom Tromey <tom@tromey.com>
2204
2205 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
2206
2207 2017-07-14 Pedro Alves <palves@redhat.com>
2208
2209 * gdb.linespec/base/one/thefile.cc (z1): New function.
2210 * gdb.linespec/base/two/thefile.cc (z2): New function.
2211 * gdb.linespec/linespec.exp: Add tests.
2212
2213 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2214
2215 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
2216 to mi_create_breakpoint.
2217
2218 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
2219
2220 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
2221 mi_create_breakpoint.
2222
2223 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
2224
2225 * gdb.dlang/demangle.exp: Update for demangling changes.
2226
2227 2017-07-09 Tom Tromey <tom@tromey.com>
2228
2229 * gdb.dwarf2/shortpiece.exp: New file.
2230
2231 2017-07-06 David Blaikie <dblaikie@gmail.com>
2232
2233 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
2234 built from fissiont-multi-cu{1,2}.c.
2235 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
2236 except putting 'main' and 'func' in separate CUs in the same DWO file.
2237 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
2238 test.
2239 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
2240 test.
2241
2242 2017-07-06 Pedro Alves <palves@redhat.com>
2243
2244 * gdb.python/py-unwind.exp: Test flushregs.
2245
2246 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2247
2248 PR cli/21688
2249 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
2250 tests for alias commands and trailing whitespace.
2251
2252 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
2253
2254 PR cli/21688
2255 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
2256 procedure. Call it.
2257
2258 2017-06-29 Pedro Alves <palves@redhat.com>
2259
2260 * gdb.base/printcmds.exp: Add tests.
2261
2262 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
2263
2264 PR gdb/21337
2265 * gdb.base/reread-readsym.exp: New file.
2266 * gdb.base/reread-readsym.c: New file.
2267
2268 2017-06-21 Kevin Buettner <kevinb@redhat.com>
2269
2270 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
2271 subpattern.
2272
2273 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
2274
2275 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
2276 extended mnemonic.
2277 * gdb.arch/powerpc-power9.s: Likewise.
2278
2279 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2280
2281 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
2282 on 32-bit x86 targets. Exploit is_*_target macros where
2283 appropriate.
2284
2285 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2286
2287 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
2288 register pieces.
2289
2290 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2291
2292 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
2293 located in one or more DWARF pieces.
2294
2295 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2296
2297 * lib/gdb.exp (get_endianness): New proc.
2298 * gdb.arch/aarch64-fp.exp: Use it.
2299 * gdb.arch/altivec-regs.exp: Likewise.
2300 * gdb.arch/e500-regs.exp: Likewise.
2301 * gdb.arch/vsx-regs.exp: Likewise.
2302 * gdb.base/dump.exp: Likewise.
2303 * gdb.base/funcargs.exp: Likewise.
2304 * gdb.base/gnu_vector.exp: Likewise.
2305 * gdb.dwarf2/formdata16.exp: Likewise.
2306 * gdb.dwarf2/implptrpiece.exp: Likewise.
2307 * gdb.dwarf2/nonvar-access.exp: Likewise.
2308 * gdb.python/py-inferior.exp: Likewise.
2309 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
2310
2311 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2312
2313 PR gdb/21226
2314 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
2315 stack value pieces are taken from the LSB end.
2316
2317 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2318
2319 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
2320 variable at nonzero offset.
2321
2322 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2323
2324 * gdb.dwarf2/var-access.c: New file.
2325 * gdb.dwarf2/var-access.exp: New test.
2326 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
2327
2328 2017-06-12 Tom Tromey <tom@tromey.com>
2329
2330 * gdb.dwarf2/formdata16.exp: Add tests.
2331
2332 2017-06-12 Tom Tromey <tom@tromey.com>
2333
2334 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
2335
2336 2017-06-12 Tom Tromey <tom@tromey.com>
2337
2338 PR exp/16225:
2339 * gdb.reverse/i386-sse-reverse.exp: Update tests.
2340 * gdb.arch/vsx-regs.exp: Update tests.
2341 * gdb.arch/s390-vregs.exp (hex128): New proc.
2342 Update test.
2343 * gdb.arch/altivec-regs.exp: Update tests.
2344
2345 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2346
2347 * gdb.base/startup-with-shell.c: New file.
2348 * gdb.base/startup-with-shell.exp: Likewise.
2349
2350 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
2351
2352 * gdb.server/non-existing-program.exp: Update regex in order to
2353 reflect the fact that gdbserver is now using fork_inferior (with a
2354 shell) to startup the inferior.
2355
2356 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
2357
2358 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
2359 support function calls from GDB.
2360
2361 2017-05-21 Tom Tromey <tom@tromey.com>
2362
2363 PR rust/21466:
2364 * gdb.rust/unsized.exp: New file.
2365 * gdb.rust/unsized.rs: New file.
2366
2367 2017-05-19 Tom Tromey <tom@tromey.com>
2368
2369 PR rust/21484:
2370 * gdb.rust/watch.exp: New file.
2371 * gdb.rust/watch.rs: New file.
2372
2373 2017-05-18 Tom Tromey <tom@tromey.com>
2374
2375 * gdb.rust/simple.exp: Allow Box to be qualified.
2376
2377 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
2378
2379 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
2380
2381 2017-05-18 Pedro Alves <palves@redhat.com>
2382
2383 * gdb.base/fileio.c (test_write, test_read, test_close)
2384 (test_fstat): Don't print 'ret' in the fail path.
2385
2386 2017-05-18 Pedro Alves <palves@redhat.com>
2387
2388 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
2389 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
2390 (test_system, test_rename, test_unlink, test_time): Change
2391 prototypes.
2392 * gdb.base/fileio.exp (stop_msg): Adjust.
2393
2394 2017-05-18 Pedro Alves <palves@redhat.com>
2395
2396 * gdb.base/fileio.c (null_str): New global.
2397 (test_stat): Use it.
2398 * gdb.base/fileio.exp: Remove nowarnings.
2399
2400 2017-05-17 Yao Qi <yao.qi@linaro.org>
2401
2402 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
2403
2404 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
2405
2406 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
2407 argument command.
2408 (top-level): Invoke test_set_inferior_tty.
2409
2410 2017-05-04 Pedro Alves <palves@redhat.com>
2411
2412 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
2413 Add parens to print call for Python 3.
2414
2415 2017-05-03 Keith Seitz <keiths@redhat.com>
2416
2417 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
2418 (main): Call it.
2419
2420 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2421
2422 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
2423 to prev and next.
2424
2425 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2426
2427 * gdb.python/py-record-btrace.exp: Remove test for
2428 gdb.BtraceInstruction.error.
2429
2430 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2431
2432 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
2433
2434 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
2435
2436 * gdb.python/py-record-btrace-threads.c: New file.
2437 * gdb.python/py-record-btrace-threads.exp: New file.
2438
2439 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
2440
2441 PR testsuite/8595
2442 * gdb.base/environ.exp: Make test available in all architectures.
2443 Move bits related to "info program" testing to
2444 gdb.base/info-program.exp. Rewrite tests to use the two new
2445 procedures mentione below.
2446 (test_set_show_env_var) New procedure.
2447 (test_set_show_env_var_equal): Likewise.
2448 * gdb.base/info-program.exp: New file.
2449
2450 2017-04-27 Keith Seitz <keiths@redhat.com>
2451
2452 * gdb.cp/oranking.cc (test15): New function.
2453 (main): Call test15 and declare additional variables for testing.
2454 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
2455 "p foo101('abc')" tests.
2456 Add tests for cv qualifier overloads.
2457 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
2458 "lvalue reference overload" test.
2459 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
2460 "print value of f1 on Child&& in f2" test.
2461
2462 2017-04-19 Pedro Alves <palves@redhat.com>
2463
2464 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
2465 procedure.
2466 (top level): Call it.
2467 * lib/gdb.exp (gdb_define_cmd): New procedure.
2468
2469 2017-04-12 Pedro Alves <palves@redhat.com>
2470
2471 PR gdb/21323
2472 * gdb.cp/wide_char_types.c: Include <wchar.h>.
2473 (wchar): New global.
2474 * gdb.cp/wide_char_types.exp (wide_char_types_program)
2475 (do_test_wide_char, wide_char_types_no_program, top level): Add
2476 wchar_t testing.
2477
2478 2017-04-12 Pedro Alves <palves@redhat.com>
2479
2480 PR c++/21323
2481 * gdb.cp/wide_char_types.c: New file.
2482 * gdb.cp/wide_char_types.exp: New file.
2483
2484 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
2485
2486 PR gdb/21352
2487 * gdb.trace/tsv.exp: Add test for "tsave -r".
2488
2489 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
2490
2491 * gdb.dlang/watch-loc.c: New file.
2492 * gdb.dlang/watch-loc.exp: New file.
2493
2494 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2495
2496 * gdb.python/py-section-script.exp (sepdebug): New testcases.
2497
2498 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2499
2500 * gdb.arch/arc-analyze-prologue.S: New file.
2501 * gdb.arch/arc-analyze-prologue.exp: Likewise.
2502
2503 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
2504
2505 * gdb.arch/arc-decode-insn.S: New file.
2506 * gdb.arch/arc-decode-insn.exp: Likewise.
2507
2508 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
2509
2510 PR tdep/20928
2511 * gdb.arch/sparc64-regs.exp: New file.
2512 * gdb.arch/sparc64-regs.S: Likewise.
2513
2514 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
2515
2516 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
2517 and memory view on Python 3.
2518
2519 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
2520 Keith Seitz <keiths@redhat.com>
2521
2522 PR gdb/14441
2523 * gdb.cp/demangle.exp: Add rvalue reference tests.
2524 * gdb.cp/rvalue-ref-casts.cc: New file.
2525 * gdb.cp/rvalue-ref-casts.exp: New file.
2526 * gdb.cp/rvalue-ref-overload.cc: New file.
2527 * gdb.cp/rvalue-ref-overload.exp: New file.
2528 * gdb.cp/rvalue-ref-params.cc: New file.
2529 * gdb.cp/rvalue-ref-params.exp: New file.
2530 * gdb.cp/rvalue-ref-sizeof.cc: New file.
2531 * gdb.cp/rvalue-ref-sizeof.exp: New file.
2532 * gdb.cp/rvalue-ref-types.cc: New file.
2533 * gdb.cp/rvalue-ref-types.exp: New file.
2534 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
2535 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
2536
2537 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2538
2539 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
2540 New procedure.
2541
2542 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2543
2544 * lib/mi-support.exp (mi_gdb_test): Add additional message
2545 for unexpected output.
2546
2547 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2548
2549 * gdb.base/examine-backward.c (Barrier): New character array
2550 constant, to ensure that TestStrings is preceded by a string
2551 terminator.
2552
2553 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2554
2555 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
2556 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
2557 and implicit pointer into such a location.
2558
2559 2017-03-16 Doug Evans <dje@google.com>
2560
2561 * gdb.python/py-lazy-string (pointer): Really add new typedef.
2562
2563 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
2564
2565 * gdb.cp/m-static.exp: Fix expectation for prototype of
2566 test5.single_constructor and single_constructor::single_constructor.
2567
2568 2017-03-16 Doug Evans <dje@google.com>
2569
2570 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
2571 * gdb.guile/scm-lazy-string.c: New file.
2572 * gdb.guile/scm-value.exp: Move lazy string tests to ...
2573 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
2574 for pointer, array, typedef lazy strings.
2575
2576 2017-03-16 Doug Evans <dje@google.com>
2577
2578 PR python/17728, python/18439, python/18779
2579 * gdb.python/py-value.c (main) Delete locals sptr, sn.
2580 * gdb.python/py-lazy-string.c (pointer): New typedef.
2581 (main): New locals ptr, array, typedef_ptr.
2582 * gdb.python/py-value.exp: Move lazy string tests to ...
2583 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
2584 array, typedef lazy strings.
2585
2586 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
2587
2588 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
2589 Add optional 'test' parameter.
2590
2591 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2592
2593 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2594 Skip for versions of DejaGnu < 1.5.
2595
2596 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2597
2598 * lib/gdb.exp (dejagnu_version): New proc.
2599 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2600 Use dejagnu_version.
2601
2602 2017-03-10 Keith Seitz <keiths@redhat.com>
2603
2604 PR c++/8128
2605 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
2606 type from destructor regexps.
2607 Add a branch which actually passes the test.
2608 Adjust "ptype t5i" test names.
2609
2610 2017-03-08 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.base/step-over-exit.exp: Add explicit test message.
2613
2614 2017-03-08 Pedro Alves <palves@redhat.com>
2615
2616 PR gdb/18360
2617 * gdb.threads/interrupt-while-step-over.c: New file.
2618 * gdb.threads/interrupt-while-step-over.exp: New file.
2619
2620 2017-03-08 Pedro Alves <palves@redhat.com>
2621
2622 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
2623 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
2624
2625 2017-03-08 Pedro Alves <palves@redhat.com>
2626
2627 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
2628 PKRU as not supported as a PASS.
2629
2630 2017-03-08 Pedro Alves <palves@redhat.com>
2631
2632 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
2633 prefix instead of $binfile1/$binfile2.
2634 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
2635 in test message.
2636 * gdb.python/py-completion.exp: Use "load python file" as test
2637 messages instead of unstable path names.
2638
2639 2017-03-08 Pedro Alves <palves@redhat.com>
2640 Jan Kratochvil <jan.kratochvil@redhat.com>
2641
2642 PR cli/21218
2643 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
2644 New proc.
2645 (top level): Call it.
2646
2647 2017-03-08 Pedro Alves <palves@redhat.com>
2648
2649 PR tui/21216
2650 * gdb.tui/tui-nl-filtered-output.exp: New file.
2651
2652 2017-03-08 Pedro Alves <palves@redhat.com>
2653
2654 * gdb.base/completion.exp: Move TUI completion tests to ...
2655 * gdb.tui/completion.exp: ... this new file.
2656
2657 2017-03-08 Pedro Alves <palves@redhat.com>
2658
2659 * gdb.base/tui-disasm-long-lines.c,
2660 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
2661 gdb.base/tui-layout.exp: Move to ...
2662 * gdb.tui/: ... this new directory.
2663
2664 2017-03-07 Pedro Alves <palves@redhat.com>
2665
2666 * gdb.base/tui-layout.c: New file.
2667 * gdb.base/tui-layout.exp: New file.
2668
2669 2017-03-07 Pedro Alves <palves@redhat.com>
2670
2671 * gdb.base/tui-layout.c: Rename to ...
2672 * gdb.base/tui-disasm-long-lines.c: ... this.
2673 * gdb.base/tui-layout.exp: Rename to ...
2674 * gdb.base/tui-disasm-long-lines.exp: ... this.
2675
2676 2017-03-07 Pedro Alves <palves@redhat.com>
2677
2678 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
2679
2680 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2681
2682 * i386-mpx-call.c: New file.
2683 * i386-mpx-call.exp: New file.
2684
2685 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
2686
2687 * gdb.arch/powerpc-power.exp: Delete test.
2688 * gdb.arch/powerpc-power.s: Likewise.
2689 * gdb.disasm/disassembler-options.exp: New test.
2690 * gdb.arch/powerpc-altivec.exp: Likewise.
2691 * gdb.arch/powerpc-altivec.s: Likewise.
2692 * gdb.arch/powerpc-altivec2.exp: Likewise.
2693 * gdb.arch/powerpc-altivec2.s: Likewise.
2694 * gdb.arch/powerpc-altivec3.exp: Likewise.
2695 * gdb.arch/powerpc-altivec3.s: Likewise.
2696 * gdb.arch/powerpc-power7.exp: Likewise.
2697 * gdb.arch/powerpc-power7.s: Likewise.
2698 * gdb.arch/powerpc-power8.exp: Likewise.
2699 * gdb.arch/powerpc-power8.s: Likewise.
2700 * gdb.arch/powerpc-power9.exp: Likewise.
2701 * gdb.arch/powerpc-power9.s: Likewise.
2702 * gdb.arch/powerpc-vsx.exp: Likewise.
2703 * gdb.arch/powerpc-vsx.s: Likewise.
2704 * gdb.arch/powerpc-vsx2.exp: Likewise.
2705 * gdb.arch/powerpc-vsx2.s: Likewise.
2706 * gdb.arch/powerpc-vsx3.exp: Likewise.
2707 * gdb.arch/powerpc-vsx3.s: Likewise.
2708 * gdb.arch/arm-disassembler-options.exp: Likewise.
2709 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
2710 * gdb.arch/s390-disassembler-options.exp: Likewise.
2711
2712 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2713
2714 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
2715 (check_supported_features): ... this. Changed return type to void.
2716 (supports_rdseed): New static global.
2717 (rdseed): Check supports_rdseed.
2718 (initialize): Call check_supported_features.
2719
2720 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2721
2722 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
2723 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
2724 and lqarx/stqcx.
2725 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
2726 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
2727
2728 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2729
2730 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
2731 uppercase.
2732
2733 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2734
2735 * gdb.dwarf2/formdata16.c: New file.
2736 * gdb.dwarf2/formdata16.exp: New file.
2737 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2738
2739 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2740
2741 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
2742 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
2743 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
2744 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
2745 DW_AT_GNU_*.
2746
2747 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2748
2749 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
2750
2751 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
2752
2753 PR gdb/21164
2754 * gdb.base/maint.exp: Add testcases for when the commands do
2755 not have arguments.
2756
2757 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2758
2759 * gdb.cp/chained-calls.exp: Use p instead of P.
2760
2761 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
2762
2763 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
2764 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
2765
2766 2017-02-14 Tom Tromey <tom@tromey.com>
2767
2768 PR python/13598:
2769 * gdb.python/py-events.exp: Add before_prompt event tests.
2770
2771 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
2772
2773 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
2774
2775 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2776
2777 * gdb.linespec/explicit.c (my_unique_function_name): New function.
2778 (main): Call my_unique_function_name.
2779 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
2780 completion of patterns with a single match.
2781 Add missing -re switches to gdb_test_multiple calls.
2782
2783 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
2784
2785 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
2786 return if core file is not recognized.
2787
2788 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2789
2790 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
2791 and extra UIs.
2792
2793 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
2794
2795 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
2796 proc_with_prefix.
2797
2798 2017-02-10 Tom Tromey <tom@tromey.com>
2799
2800 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
2801
2802 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
2803
2804 PR gdb/21122
2805 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
2806
2807 2017-02-08 Jerome Guitton <guitton@adacore.com>
2808
2809 * gdb.base/define.exp: Add test for command abbreviations
2810 in define.
2811
2812 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
2813
2814 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
2815 * gdb.reverse/insn-reverse-x86.c: New file.
2816
2817 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
2818
2819 PR tdep/20936
2820 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
2821
2822 2017-02-03 Tom Tromey <tom@tromey.com>
2823
2824 PR rust/21097:
2825 * gdb.rust/simple.exp: Add new tests.
2826
2827 2017-02-02 Pedro Alves <palves@redhat.com>
2828
2829 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
2830 tests.
2831
2832 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
2833
2834 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
2835 taking a 2-byte value out of a 4-byte DWARF implicit value on
2836 big-endian targets.
2837 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
2838 logic. Add test cases for DW_OP_implicit.
2839
2840 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2841
2842 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
2843
2844 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2845
2846 * gdb.btrace/enable.exp: Call gdb_exit before
2847 skip_gdbserver_tests.
2848
2849 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2850
2851 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
2852 GDBFLAGS.
2853
2854 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2855
2856 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
2857 the test is skipped.
2858 * gdb.btrace/data.exp: Likewise.
2859 * gdb.btrace/delta.exp: Likewise.
2860 * gdb.btrace/dlopen.exp: Likewise.
2861 * gdb.btrace/enable-running.exp: Likewise.
2862 * gdb.btrace/enable.exp: Likewise.
2863 * gdb.btrace/exception.exp: Likewise.
2864 * gdb.btrace/function_call_history.exp: Likewise.
2865 * gdb.btrace/gcore.exp: Likewise.
2866 * gdb.btrace/instruction_history.exp: Likewise.
2867 * gdb.btrace/multi-thread-step.exp: Likewise.
2868 * gdb.btrace/nohist.exp: Likewise.
2869 * gdb.btrace/non-stop.exp: Likewise.
2870 * gdb.btrace/reconnect.exp: Likewise.
2871 * gdb.btrace/record_goto-step.exp: Likewise.
2872 * gdb.btrace/record_goto.exp: Likewise.
2873 * gdb.btrace/rn-dl-bind.exp: Likewise.
2874 * gdb.btrace/segv.exp: Likewise.
2875 * gdb.btrace/step.exp: Likewise.
2876 * gdb.btrace/stepi.exp: Likewise.
2877 * gdb.btrace/tailcall-only.exp: Likewise.
2878 * gdb.btrace/tailcall.exp: Likewise.
2879 * gdb.btrace/tsx.exp: Likewise.
2880 * gdb.btrace/unknown_functions.exp: Likewise.
2881 * gdb.btrace/vdso.exp: Likewise.
2882
2883 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
2884
2885 * gdb.btrace/enable-running.c: New.
2886 * gdb.btrace/enable-running.exp: New.
2887
2888 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
2889
2890 * gdb.arch/amd64-gs_base.c: New file.
2891 * gdb.arch/amd64-gs_base.exp: New file.
2892
2893 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2894
2895 * lib/memory.exp: Remove spurious empty newlines.
2896
2897 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
2898
2899 * gdb.python/py-bad-printers.exp: Load python file using "source".
2900 * gdb.python/py-events.exp: Likewise.
2901 * gdb.python/py-evsignal.exp: Likewise.
2902 * gdb.python/py-evthreads.exp: Likewise.
2903 * gdb.python/py-frame-args.exp: Likewise.
2904 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
2905 * gdb.python/py-framefilter-mi.exp: Likewise.
2906 * gdb.python/py-framefilter.exp: Likewise.
2907 * gdb.python/py-mi.exp: Likewise.
2908 * gdb.python/py-pp-maint.exp: Likewise.
2909 * gdb.python/py-pp-registration.exp: Likewise.
2910 * gdb.python/py-prettyprint.exp: Likewise.
2911 (run_lang_tests): Likewise.
2912 * gdb.python/py-typeprint.exp: Likewise.
2913
2914 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2915
2916 * lib/memory.exp: New file.
2917 * lib/gdb.exp: Load memory.exp.
2918 * gdb.base/memattr.exp (delete_memory): Move proc to
2919 lib/memory.exp and rename to delete_memory_regions.
2920 Replace delete_memory with delete_memory_regions.
2921 Cleanup memory regions before tests.
2922 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
2923 before tests.
2924
2925 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
2926
2927 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
2928 files.
2929 (initialize): New function conditionally defined.
2930 (testcases): Move within conditional block.
2931 (main): Call initialize.
2932 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
2933 of gdb.reverse/insn-reverse.c.
2934 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
2935 gdb.reverse/insn-reverse.c.
2936
2937 2017-01-26 Yao Qi <yao.qi@linaro.org>
2938
2939 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
2940 disassemble on address 0.
2941
2942 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
2943 Yao Qi <yao.qi@linaro.org>
2944
2945 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
2946 * gdb.dwarf2/implptr-64bit.S: Remove.
2947 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
2948 variables in caller's context. Add DW_OP_implicit_value.
2949
2950 2017-01-25 Yao Qi <yao.qi@linaro.org>
2951
2952 * lib/dwarf.exp (Dwarf::_location): Handle
2953 DW_OP_GNU_implicit_pointer with proper size.
2954
2955 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2956
2957 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
2958 and add untested calls.
2959
2960 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
2961
2962 * gdb.python/python.exp: Check line number against what GDB thinks
2963 the line number is for func1.
2964
2965 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
2966
2967 * gdb.dlang/debug-expr.exp: New file.
2968
2969 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
2970
2971 Fix test names for the following files:
2972
2973 * gdb.ada/exec_changed.exp
2974 * gdb.ada/info_types.exp
2975 * gdb.arch/aarch64-atomic-inst.exp
2976 * gdb.arch/aarch64-fp.exp
2977 * gdb.arch/altivec-abi.exp
2978 * gdb.arch/altivec-regs.exp
2979 * gdb.arch/amd64-byte.exp
2980 * gdb.arch/amd64-disp-step.exp
2981 * gdb.arch/amd64-dword.exp
2982 * gdb.arch/amd64-entry-value-inline.exp
2983 * gdb.arch/amd64-entry-value-param.exp
2984 * gdb.arch/amd64-entry-value-paramref.exp
2985 * gdb.arch/amd64-entry-value.exp
2986 * gdb.arch/amd64-i386-address.exp
2987 * gdb.arch/amd64-invalid-stack-middle.exp
2988 * gdb.arch/amd64-invalid-stack-top.exp
2989 * gdb.arch/amd64-optimout-repeat.exp
2990 * gdb.arch/amd64-prologue-skip.exp
2991 * gdb.arch/amd64-prologue-xmm.exp
2992 * gdb.arch/amd64-stap-special-operands.exp
2993 * gdb.arch/amd64-stap-wrong-subexp.exp
2994 * gdb.arch/amd64-tailcall-cxx.exp
2995 * gdb.arch/amd64-tailcall-noret.exp
2996 * gdb.arch/amd64-tailcall-ret.exp
2997 * gdb.arch/amd64-tailcall-self.exp
2998 * gdb.arch/amd64-word.exp
2999 * gdb.arch/arm-bl-branch-dest.exp
3000 * gdb.arch/arm-disp-step.exp
3001 * gdb.arch/arm-neon.exp
3002 * gdb.arch/arm-single-step-kernel-helper.exp
3003 * gdb.arch/avr-flash-qualifier.exp
3004 * gdb.arch/disp-step-insn-reloc.exp
3005 * gdb.arch/e500-abi.exp
3006 * gdb.arch/e500-regs.exp
3007 * gdb.arch/ftrace-insn-reloc.exp
3008 * gdb.arch/i386-avx512.exp
3009 * gdb.arch/i386-bp_permanent.exp
3010 * gdb.arch/i386-byte.exp
3011 * gdb.arch/i386-cfi-notcurrent.exp
3012 * gdb.arch/i386-disp-step.exp
3013 * gdb.arch/i386-dr3-watch.exp
3014 * gdb.arch/i386-float.exp
3015 * gdb.arch/i386-gnu-cfi.exp
3016 * gdb.arch/i386-mpx-map.exp
3017 * gdb.arch/i386-mpx-sigsegv.exp
3018 * gdb.arch/i386-mpx-simple_segv.exp
3019 * gdb.arch/i386-mpx.exp
3020 * gdb.arch/i386-permbkpt.exp
3021 * gdb.arch/i386-prologue.exp
3022 * gdb.arch/i386-signal.exp
3023 * gdb.arch/i386-size-overlap.exp
3024 * gdb.arch/i386-unwind.exp
3025 * gdb.arch/i386-word.exp
3026 * gdb.arch/mips-fcr.exp
3027 * gdb.arch/powerpc-d128-regs.exp
3028 * gdb.arch/powerpc-stackless.exp
3029 * gdb.arch/ppc64-atomic-inst.exp
3030 * gdb.arch/s390-stackless.exp
3031 * gdb.arch/s390-tdbregs.exp
3032 * gdb.arch/s390-vregs.exp
3033 * gdb.arch/sparc-sysstep.exp
3034 * gdb.arch/thumb-bx-pc.exp
3035 * gdb.arch/thumb-singlestep.exp
3036 * gdb.arch/thumb2-it.exp
3037 * gdb.arch/vsx-regs.exp
3038 * gdb.asm/asm-source.exp
3039 * gdb.base/a2-run.exp
3040 * gdb.base/advance.exp
3041 * gdb.base/all-bin.exp
3042 * gdb.base/anon.exp
3043 * gdb.base/args.exp
3044 * gdb.base/arithmet.exp
3045 * gdb.base/async-shell.exp
3046 * gdb.base/async.exp
3047 * gdb.base/attach-pie-noexec.exp
3048 * gdb.base/attach-twice.exp
3049 * gdb.base/auto-load.exp
3050 * gdb.base/bang.exp
3051 * gdb.base/bitfields.exp
3052 * gdb.base/break-always.exp
3053 * gdb.base/break-caller-line.exp
3054 * gdb.base/break-entry.exp
3055 * gdb.base/break-inline.exp
3056 * gdb.base/break-on-linker-gcd-function.exp
3057 * gdb.base/break-probes.exp
3058 * gdb.base/break.exp
3059 * gdb.base/breakpoint-shadow.exp
3060 * gdb.base/call-ar-st.exp
3061 * gdb.base/call-sc.exp
3062 * gdb.base/call-signal-resume.exp
3063 * gdb.base/call-strs.exp
3064 * gdb.base/callfuncs.exp
3065 * gdb.base/catch-fork-static.exp
3066 * gdb.base/catch-gdb-caused-signals.exp
3067 * gdb.base/catch-load.exp
3068 * gdb.base/catch-signal-fork.exp
3069 * gdb.base/catch-signal.exp
3070 * gdb.base/catch-syscall.exp
3071 * gdb.base/charset.exp
3072 * gdb.base/checkpoint.exp
3073 * gdb.base/chng-syms.exp
3074 * gdb.base/code-expr.exp
3075 * gdb.base/code_elim.exp
3076 * gdb.base/commands.exp
3077 * gdb.base/completion.exp
3078 * gdb.base/complex.exp
3079 * gdb.base/cond-expr.exp
3080 * gdb.base/condbreak.exp
3081 * gdb.base/consecutive.exp
3082 * gdb.base/continue-all-already-running.exp
3083 * gdb.base/coredump-filter.exp
3084 * gdb.base/corefile.exp
3085 * gdb.base/dbx.exp
3086 * gdb.base/debug-expr.exp
3087 * gdb.base/define.exp
3088 * gdb.base/del.exp
3089 * gdb.base/disabled-location.exp
3090 * gdb.base/disasm-end-cu.exp
3091 * gdb.base/disasm-optim.exp
3092 * gdb.base/display.exp
3093 * gdb.base/duplicate-bp.exp
3094 * gdb.base/ena-dis-br.exp
3095 * gdb.base/ending-run.exp
3096 * gdb.base/enumval.exp
3097 * gdb.base/environ.exp
3098 * gdb.base/eu-strip-infcall.exp
3099 * gdb.base/eval-avoid-side-effects.exp
3100 * gdb.base/eval-skip.exp
3101 * gdb.base/exitsignal.exp
3102 * gdb.base/expand-psymtabs.exp
3103 * gdb.base/filesym.exp
3104 * gdb.base/find-unmapped.exp
3105 * gdb.base/finish.exp
3106 * gdb.base/float.exp
3107 * gdb.base/foll-exec-mode.exp
3108 * gdb.base/foll-exec.exp
3109 * gdb.base/foll-fork.exp
3110 * gdb.base/fortran-sym-case.exp
3111 * gdb.base/freebpcmd.exp
3112 * gdb.base/func-ptr.exp
3113 * gdb.base/func-ptrs.exp
3114 * gdb.base/funcargs.exp
3115 * gdb.base/gcore-buffer-overflow.exp
3116 * gdb.base/gcore-relro-pie.exp
3117 * gdb.base/gcore-relro.exp
3118 * gdb.base/gcore.exp
3119 * gdb.base/gdb1090.exp
3120 * gdb.base/gdb11530.exp
3121 * gdb.base/gdb11531.exp
3122 * gdb.base/gdb1821.exp
3123 * gdb.base/gdbindex-stabs.exp
3124 * gdb.base/gdbvars.exp
3125 * gdb.base/hbreak.exp
3126 * gdb.base/hbreak2.exp
3127 * gdb.base/included.exp
3128 * gdb.base/infcall-input.exp
3129 * gdb.base/inferior-died.exp
3130 * gdb.base/infnan.exp
3131 * gdb.base/info-macros.exp
3132 * gdb.base/info-os.exp
3133 * gdb.base/info-proc.exp
3134 * gdb.base/info-shared.exp
3135 * gdb.base/info-target.exp
3136 * gdb.base/infoline.exp
3137 * gdb.base/interp.exp
3138 * gdb.base/interrupt.exp
3139 * gdb.base/jit-reader.exp
3140 * gdb.base/jit-simple.exp
3141 * gdb.base/kill-after-signal.exp
3142 * gdb.base/kill-detach-inferiors-cmd.exp
3143 * gdb.base/label.exp
3144 * gdb.base/langs.exp
3145 * gdb.base/ldbl_e308.exp
3146 * gdb.base/line-symtabs.exp
3147 * gdb.base/linespecs.exp
3148 * gdb.base/list.exp
3149 * gdb.base/long_long.exp
3150 * gdb.base/longest-types.exp
3151 * gdb.base/maint.exp
3152 * gdb.base/max-value-size.exp
3153 * gdb.base/memattr.exp
3154 * gdb.base/mips_pro.exp
3155 * gdb.base/morestack.exp
3156 * gdb.base/moribund-step.exp
3157 * gdb.base/multi-forks.exp
3158 * gdb.base/nested-addr.exp
3159 * gdb.base/nextoverexit.exp
3160 * gdb.base/noreturn-finish.exp
3161 * gdb.base/noreturn-return.exp
3162 * gdb.base/nostdlib.exp
3163 * gdb.base/offsets.exp
3164 * gdb.base/opaque.exp
3165 * gdb.base/pc-fp.exp
3166 * gdb.base/permissions.exp
3167 * gdb.base/print-symbol-loading.exp
3168 * gdb.base/prologue-include.exp
3169 * gdb.base/psymtab.exp
3170 * gdb.base/ptype.exp
3171 * gdb.base/random-signal.exp
3172 * gdb.base/randomize.exp
3173 * gdb.base/range-stepping.exp
3174 * gdb.base/readline-ask.exp
3175 * gdb.base/recpar.exp
3176 * gdb.base/recurse.exp
3177 * gdb.base/relational.exp
3178 * gdb.base/restore.exp
3179 * gdb.base/return-nodebug.exp
3180 * gdb.base/return.exp
3181 * gdb.base/run-after-attach.exp
3182 * gdb.base/save-bp.exp
3183 * gdb.base/scope.exp
3184 * gdb.base/sect-cmd.exp
3185 * gdb.base/set-lang-auto.exp
3186 * gdb.base/set-noassign.exp
3187 * gdb.base/setvar.exp
3188 * gdb.base/sigall.exp
3189 * gdb.base/sigbpt.exp
3190 * gdb.base/siginfo-addr.exp
3191 * gdb.base/siginfo-infcall.exp
3192 * gdb.base/siginfo-obj.exp
3193 * gdb.base/siginfo.exp
3194 * gdb.base/signals-state-child.exp
3195 * gdb.base/signest.exp
3196 * gdb.base/sigstep.exp
3197 * gdb.base/sizeof.exp
3198 * gdb.base/skip.exp
3199 * gdb.base/solib-corrupted.exp
3200 * gdb.base/solib-nodir.exp
3201 * gdb.base/solib-search.exp
3202 * gdb.base/stack-checking.exp
3203 * gdb.base/stale-infcall.exp
3204 * gdb.base/stap-probe.exp
3205 * gdb.base/start.exp
3206 * gdb.base/step-break.exp
3207 * gdb.base/step-bt.exp
3208 * gdb.base/step-line.exp
3209 * gdb.base/step-over-exit.exp
3210 * gdb.base/step-over-syscall.exp
3211 * gdb.base/step-resume-infcall.exp
3212 * gdb.base/step-test.exp
3213 * gdb.base/store.exp
3214 * gdb.base/structs3.exp
3215 * gdb.base/sym-file.exp
3216 * gdb.base/symbol-without-target_section.exp
3217 * gdb.base/term.exp
3218 * gdb.base/testenv.exp
3219 * gdb.base/ui-redirect.exp
3220 * gdb.base/until.exp
3221 * gdb.base/unwindonsignal.exp
3222 * gdb.base/value-double-free.exp
3223 * gdb.base/vla-datatypes.exp
3224 * gdb.base/vla-ptr.exp
3225 * gdb.base/vla-sideeffect.exp
3226 * gdb.base/volatile.exp
3227 * gdb.base/watch-cond-infcall.exp
3228 * gdb.base/watch-cond.exp
3229 * gdb.base/watch-non-mem.exp
3230 * gdb.base/watch-read.exp
3231 * gdb.base/watch-vfork.exp
3232 * gdb.base/watchpoint-cond-gone.exp
3233 * gdb.base/watchpoint-delete.exp
3234 * gdb.base/watchpoint-hw-hit-once.exp
3235 * gdb.base/watchpoint-hw.exp
3236 * gdb.base/watchpoint-stops-at-right-insn.exp
3237 * gdb.base/watchpoints.exp
3238 * gdb.base/wchar.exp
3239 * gdb.base/whatis-exp.exp
3240 * gdb.btrace/buffer-size.exp
3241 * gdb.btrace/data.exp
3242 * gdb.btrace/delta.exp
3243 * gdb.btrace/dlopen.exp
3244 * gdb.btrace/enable.exp
3245 * gdb.btrace/exception.exp
3246 * gdb.btrace/function_call_history.exp
3247 * gdb.btrace/gcore.exp
3248 * gdb.btrace/instruction_history.exp
3249 * gdb.btrace/nohist.exp
3250 * gdb.btrace/reconnect.exp
3251 * gdb.btrace/record_goto-step.exp
3252 * gdb.btrace/record_goto.exp
3253 * gdb.btrace/rn-dl-bind.exp
3254 * gdb.btrace/segv.exp
3255 * gdb.btrace/step.exp
3256 * gdb.btrace/stepi.exp
3257 * gdb.btrace/tailcall-only.exp
3258 * gdb.btrace/tailcall.exp
3259 * gdb.btrace/tsx.exp
3260 * gdb.btrace/unknown_functions.exp
3261 * gdb.btrace/vdso.exp
3262 * gdb.compile/compile-ifunc.exp
3263 * gdb.compile/compile-ops.exp
3264 * gdb.compile/compile-print.exp
3265 * gdb.compile/compile-setjmp.exp
3266 * gdb.cp/abstract-origin.exp
3267 * gdb.cp/ambiguous.exp
3268 * gdb.cp/annota2.exp
3269 * gdb.cp/annota3.exp
3270 * gdb.cp/anon-ns.exp
3271 * gdb.cp/anon-struct.exp
3272 * gdb.cp/anon-union.exp
3273 * gdb.cp/arg-reference.exp
3274 * gdb.cp/baseenum.exp
3275 * gdb.cp/bool.exp
3276 * gdb.cp/breakpoint.exp
3277 * gdb.cp/bs15503.exp
3278 * gdb.cp/call-c.exp
3279 * gdb.cp/casts.exp
3280 * gdb.cp/chained-calls.exp
3281 * gdb.cp/class2.exp
3282 * gdb.cp/classes.exp
3283 * gdb.cp/cmpd-minsyms.exp
3284 * gdb.cp/converts.exp
3285 * gdb.cp/cp-relocate.exp
3286 * gdb.cp/cpcompletion.exp
3287 * gdb.cp/cpexprs.exp
3288 * gdb.cp/cplabel.exp
3289 * gdb.cp/cplusfuncs.exp
3290 * gdb.cp/cpsizeof.exp
3291 * gdb.cp/ctti.exp
3292 * gdb.cp/derivation.exp
3293 * gdb.cp/destrprint.exp
3294 * gdb.cp/dispcxx.exp
3295 * gdb.cp/enum-class.exp
3296 * gdb.cp/exception.exp
3297 * gdb.cp/exceptprint.exp
3298 * gdb.cp/expand-psymtabs-cxx.exp
3299 * gdb.cp/expand-sals.exp
3300 * gdb.cp/extern-c.exp
3301 * gdb.cp/filename.exp
3302 * gdb.cp/formatted-ref.exp
3303 * gdb.cp/fpointer.exp
3304 * gdb.cp/gdb1355.exp
3305 * gdb.cp/gdb2495.exp
3306 * gdb.cp/hang.exp
3307 * gdb.cp/impl-this.exp
3308 * gdb.cp/infcall-dlopen.exp
3309 * gdb.cp/inherit.exp
3310 * gdb.cp/iostream.exp
3311 * gdb.cp/koenig.exp
3312 * gdb.cp/local.exp
3313 * gdb.cp/m-data.exp
3314 * gdb.cp/m-static.exp
3315 * gdb.cp/mb-ctor.exp
3316 * gdb.cp/mb-inline.exp
3317 * gdb.cp/mb-templates.exp
3318 * gdb.cp/member-name.exp
3319 * gdb.cp/member-ptr.exp
3320 * gdb.cp/meth-typedefs.exp
3321 * gdb.cp/method.exp
3322 * gdb.cp/method2.exp
3323 * gdb.cp/minsym-fallback.exp
3324 * gdb.cp/misc.exp
3325 * gdb.cp/namelessclass.exp
3326 * gdb.cp/namespace-enum.exp
3327 * gdb.cp/namespace-nested-import.exp
3328 * gdb.cp/namespace.exp
3329 * gdb.cp/nextoverthrow.exp
3330 * gdb.cp/no-dmgl-verbose.exp
3331 * gdb.cp/non-trivial-retval.exp
3332 * gdb.cp/noparam.exp
3333 * gdb.cp/nsdecl.exp
3334 * gdb.cp/nsimport.exp
3335 * gdb.cp/nsnested.exp
3336 * gdb.cp/nsnoimports.exp
3337 * gdb.cp/nsrecurs.exp
3338 * gdb.cp/nsstress.exp
3339 * gdb.cp/nsusing.exp
3340 * gdb.cp/operator.exp
3341 * gdb.cp/oranking.exp
3342 * gdb.cp/overload-const.exp
3343 * gdb.cp/overload.exp
3344 * gdb.cp/ovldbreak.exp
3345 * gdb.cp/ovsrch.exp
3346 * gdb.cp/paren-type.exp
3347 * gdb.cp/parse-lang.exp
3348 * gdb.cp/pass-by-ref.exp
3349 * gdb.cp/pr-1023.exp
3350 * gdb.cp/pr-1210.exp
3351 * gdb.cp/pr-574.exp
3352 * gdb.cp/pr10687.exp
3353 * gdb.cp/pr12028.exp
3354 * gdb.cp/pr17132.exp
3355 * gdb.cp/pr17494.exp
3356 * gdb.cp/pr9067.exp
3357 * gdb.cp/pr9167.exp
3358 * gdb.cp/pr9631.exp
3359 * gdb.cp/printmethod.exp
3360 * gdb.cp/psmang.exp
3361 * gdb.cp/psymtab-parameter.exp
3362 * gdb.cp/ptype-cv-cp.exp
3363 * gdb.cp/ptype-flags.exp
3364 * gdb.cp/re-set-overloaded.exp
3365 * gdb.cp/ref-types.exp
3366 * gdb.cp/rtti.exp
3367 * gdb.cp/scope-err.exp
3368 * gdb.cp/shadow.exp
3369 * gdb.cp/smartp.exp
3370 * gdb.cp/static-method.exp
3371 * gdb.cp/static-print-quit.exp
3372 * gdb.cp/temargs.exp
3373 * gdb.cp/templates.exp
3374 * gdb.cp/try_catch.exp
3375 * gdb.cp/typedef-operator.exp
3376 * gdb.cp/typeid.exp
3377 * gdb.cp/userdef.exp
3378 * gdb.cp/using-crash.exp
3379 * gdb.cp/var-tag.exp
3380 * gdb.cp/virtbase.exp
3381 * gdb.cp/virtfunc.exp
3382 * gdb.cp/virtfunc2.exp
3383 * gdb.cp/vla-cxx.exp
3384 * gdb.disasm/t01_mov.exp
3385 * gdb.disasm/t02_mova.exp
3386 * gdb.disasm/t03_add.exp
3387 * gdb.disasm/t04_sub.exp
3388 * gdb.disasm/t05_cmp.exp
3389 * gdb.disasm/t06_ari2.exp
3390 * gdb.disasm/t07_ari3.exp
3391 * gdb.disasm/t08_or.exp
3392 * gdb.disasm/t09_xor.exp
3393 * gdb.disasm/t10_and.exp
3394 * gdb.disasm/t11_logs.exp
3395 * gdb.disasm/t12_bit.exp
3396 * gdb.disasm/t13_otr.exp
3397 * gdb.dlang/circular.exp
3398 * gdb.dwarf2/arr-stride.exp
3399 * gdb.dwarf2/arr-subrange.exp
3400 * gdb.dwarf2/atomic-type.exp
3401 * gdb.dwarf2/bad-regnum.exp
3402 * gdb.dwarf2/bitfield-parent-optimized-out.exp
3403 * gdb.dwarf2/callframecfa.exp
3404 * gdb.dwarf2/clztest.exp
3405 * gdb.dwarf2/corrupt.exp
3406 * gdb.dwarf2/data-loc.exp
3407 * gdb.dwarf2/dup-psym.exp
3408 * gdb.dwarf2/dw2-anon-mptr.exp
3409 * gdb.dwarf2/dw2-anonymous-func.exp
3410 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
3411 * gdb.dwarf2/dw2-bad-unresolved.exp
3412 * gdb.dwarf2/dw2-basic.exp
3413 * gdb.dwarf2/dw2-canonicalize-type.exp
3414 * gdb.dwarf2/dw2-case-insensitive.exp
3415 * gdb.dwarf2/dw2-common-block.exp
3416 * gdb.dwarf2/dw2-compdir-oldgcc.exp
3417 * gdb.dwarf2/dw2-compressed.exp
3418 * gdb.dwarf2/dw2-const.exp
3419 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
3420 * gdb.dwarf2/dw2-cu-size.exp
3421 * gdb.dwarf2/dw2-dup-frame.exp
3422 * gdb.dwarf2/dw2-entry-value.exp
3423 * gdb.dwarf2/dw2-icycle.exp
3424 * gdb.dwarf2/dw2-ifort-parameter.exp
3425 * gdb.dwarf2/dw2-inline-break.exp
3426 * gdb.dwarf2/dw2-inline-param.exp
3427 * gdb.dwarf2/dw2-intercu.exp
3428 * gdb.dwarf2/dw2-intermix.exp
3429 * gdb.dwarf2/dw2-lexical-block-bare.exp
3430 * gdb.dwarf2/dw2-linkage-name-trust.exp
3431 * gdb.dwarf2/dw2-minsym-in-cu.exp
3432 * gdb.dwarf2/dw2-noloc.exp
3433 * gdb.dwarf2/dw2-op-call.exp
3434 * gdb.dwarf2/dw2-op-out-param.exp
3435 * gdb.dwarf2/dw2-opt-structptr.exp
3436 * gdb.dwarf2/dw2-param-error.exp
3437 * gdb.dwarf2/dw2-producer.exp
3438 * gdb.dwarf2/dw2-ranges-base.exp
3439 * gdb.dwarf2/dw2-ref-missing-frame.exp
3440 * gdb.dwarf2/dw2-reg-undefined.exp
3441 * gdb.dwarf2/dw2-regno-invalid.exp
3442 * gdb.dwarf2/dw2-restore.exp
3443 * gdb.dwarf2/dw2-restrict.exp
3444 * gdb.dwarf2/dw2-single-line-discriminators.exp
3445 * gdb.dwarf2/dw2-strp.exp
3446 * gdb.dwarf2/dw2-undefined-ret-addr.exp
3447 * gdb.dwarf2/dw2-unresolved.exp
3448 * gdb.dwarf2/dw2-var-zero-addr.exp
3449 * gdb.dwarf2/dw4-sig-types.exp
3450 * gdb.dwarf2/dwz.exp
3451 * gdb.dwarf2/dynarr-ptr.exp
3452 * gdb.dwarf2/enum-type.exp
3453 * gdb.dwarf2/gdb-index.exp
3454 * gdb.dwarf2/implptr-64bit.exp
3455 * gdb.dwarf2/implptr-optimized-out.exp
3456 * gdb.dwarf2/implptr.exp
3457 * gdb.dwarf2/implref-array.exp
3458 * gdb.dwarf2/implref-const.exp
3459 * gdb.dwarf2/implref-global.exp
3460 * gdb.dwarf2/implref-struct.exp
3461 * gdb.dwarf2/mac-fileno.exp
3462 * gdb.dwarf2/main-subprogram.exp
3463 * gdb.dwarf2/member-ptr-forwardref.exp
3464 * gdb.dwarf2/method-ptr.exp
3465 * gdb.dwarf2/missing-sig-type.exp
3466 * gdb.dwarf2/nonvar-access.exp
3467 * gdb.dwarf2/opaque-type-lookup.exp
3468 * gdb.dwarf2/pieces-optimized-out.exp
3469 * gdb.dwarf2/pieces.exp
3470 * gdb.dwarf2/pr10770.exp
3471 * gdb.dwarf2/pr13961.exp
3472 * gdb.dwarf2/staticvirtual.exp
3473 * gdb.dwarf2/subrange.exp
3474 * gdb.dwarf2/symtab-producer.exp
3475 * gdb.dwarf2/trace-crash.exp
3476 * gdb.dwarf2/typeddwarf.exp
3477 * gdb.dwarf2/valop.exp
3478 * gdb.dwarf2/watch-notconst.exp
3479 * gdb.fortran/array-element.exp
3480 * gdb.fortran/charset.exp
3481 * gdb.fortran/common-block.exp
3482 * gdb.fortran/complex.exp
3483 * gdb.fortran/derived-type-function.exp
3484 * gdb.fortran/derived-type.exp
3485 * gdb.fortran/logical.exp
3486 * gdb.fortran/module.exp
3487 * gdb.fortran/multi-dim.exp
3488 * gdb.fortran/nested-funcs.exp
3489 * gdb.fortran/print-formatted.exp
3490 * gdb.fortran/subarray.exp
3491 * gdb.fortran/vla-alloc-assoc.exp
3492 * gdb.fortran/vla-datatypes.exp
3493 * gdb.fortran/vla-history.exp
3494 * gdb.fortran/vla-ptr-info.exp
3495 * gdb.fortran/vla-ptype-sub.exp
3496 * gdb.fortran/vla-ptype.exp
3497 * gdb.fortran/vla-sizeof.exp
3498 * gdb.fortran/vla-type.exp
3499 * gdb.fortran/vla-value-sub-arbitrary.exp
3500 * gdb.fortran/vla-value-sub-finish.exp
3501 * gdb.fortran/vla-value-sub.exp
3502 * gdb.fortran/vla-value.exp
3503 * gdb.fortran/whatis_type.exp
3504 * gdb.go/chan.exp
3505 * gdb.go/handcall.exp
3506 * gdb.go/hello.exp
3507 * gdb.go/integers.exp
3508 * gdb.go/methods.exp
3509 * gdb.go/package.exp
3510 * gdb.go/strings.exp
3511 * gdb.go/types.exp
3512 * gdb.go/unsafe.exp
3513 * gdb.guile/scm-arch.exp
3514 * gdb.guile/scm-block.exp
3515 * gdb.guile/scm-breakpoint.exp
3516 * gdb.guile/scm-cmd.exp
3517 * gdb.guile/scm-disasm.exp
3518 * gdb.guile/scm-equal.exp
3519 * gdb.guile/scm-frame-args.exp
3520 * gdb.guile/scm-frame-inline.exp
3521 * gdb.guile/scm-frame.exp
3522 * gdb.guile/scm-iterator.exp
3523 * gdb.guile/scm-math.exp
3524 * gdb.guile/scm-objfile.exp
3525 * gdb.guile/scm-ports.exp
3526 * gdb.guile/scm-symbol.exp
3527 * gdb.guile/scm-symtab.exp
3528 * gdb.guile/scm-value-cc.exp
3529 * gdb.guile/types-module.exp
3530 * gdb.linespec/break-ask.exp
3531 * gdb.linespec/cpexplicit.exp
3532 * gdb.linespec/explicit.exp
3533 * gdb.linespec/keywords.exp
3534 * gdb.linespec/linespec.exp
3535 * gdb.linespec/ls-dollar.exp
3536 * gdb.linespec/ls-errs.exp
3537 * gdb.linespec/skip-two.exp
3538 * gdb.linespec/thread.exp
3539 * gdb.mi/mi-async.exp
3540 * gdb.mi/mi-basics.exp
3541 * gdb.mi/mi-break.exp
3542 * gdb.mi/mi-catch-load.exp
3543 * gdb.mi/mi-cli.exp
3544 * gdb.mi/mi-cmd-param-changed.exp
3545 * gdb.mi/mi-console.exp
3546 * gdb.mi/mi-detach.exp
3547 * gdb.mi/mi-disassemble.exp
3548 * gdb.mi/mi-eval.exp
3549 * gdb.mi/mi-file-transfer.exp
3550 * gdb.mi/mi-file.exp
3551 * gdb.mi/mi-fill-memory.exp
3552 * gdb.mi/mi-inheritance-syntax-error.exp
3553 * gdb.mi/mi-linespec-err-cp.exp
3554 * gdb.mi/mi-logging.exp
3555 * gdb.mi/mi-memory-changed.exp
3556 * gdb.mi/mi-read-memory.exp
3557 * gdb.mi/mi-record-changed.exp
3558 * gdb.mi/mi-reg-undefined.exp
3559 * gdb.mi/mi-regs.exp
3560 * gdb.mi/mi-return.exp
3561 * gdb.mi/mi-reverse.exp
3562 * gdb.mi/mi-simplerun.exp
3563 * gdb.mi/mi-solib.exp
3564 * gdb.mi/mi-stack.exp
3565 * gdb.mi/mi-stepi.exp
3566 * gdb.mi/mi-syn-frame.exp
3567 * gdb.mi/mi-until.exp
3568 * gdb.mi/mi-var-block.exp
3569 * gdb.mi/mi-var-child.exp
3570 * gdb.mi/mi-var-cmd.exp
3571 * gdb.mi/mi-var-cp.exp
3572 * gdb.mi/mi-var-display.exp
3573 * gdb.mi/mi-var-invalidate.exp
3574 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
3575 * gdb.mi/mi-vla-fortran.exp
3576 * gdb.mi/mi-watch.exp
3577 * gdb.mi/mi2-var-child.exp
3578 * gdb.mi/user-selected-context-sync.exp
3579 * gdb.modula2/unbounded-array.exp
3580 * gdb.multi/dummy-frame-restore.exp
3581 * gdb.multi/multi-arch-exec.exp
3582 * gdb.multi/multi-arch.exp
3583 * gdb.multi/tids.exp
3584 * gdb.multi/watchpoint-multi.exp
3585 * gdb.opencl/callfuncs.exp
3586 * gdb.opencl/convs_casts.exp
3587 * gdb.opencl/datatypes.exp
3588 * gdb.opencl/operators.exp
3589 * gdb.opencl/vec_comps.exp
3590 * gdb.opt/clobbered-registers-O2.exp
3591 * gdb.opt/inline-break.exp
3592 * gdb.opt/inline-bt.exp
3593 * gdb.opt/inline-cmds.exp
3594 * gdb.opt/inline-locals.exp
3595 * gdb.pascal/case-insensitive-symbols.exp
3596 * gdb.pascal/floats.exp
3597 * gdb.pascal/gdb11492.exp
3598 * gdb.python/lib-types.exp
3599 * gdb.python/py-arch.exp
3600 * gdb.python/py-as-string.exp
3601 * gdb.python/py-bad-printers.exp
3602 * gdb.python/py-block.exp
3603 * gdb.python/py-breakpoint-create-fail.exp
3604 * gdb.python/py-breakpoint.exp
3605 * gdb.python/py-caller-is.exp
3606 * gdb.python/py-cmd.exp
3607 * gdb.python/py-explore-cc.exp
3608 * gdb.python/py-explore.exp
3609 * gdb.python/py-finish-breakpoint.exp
3610 * gdb.python/py-finish-breakpoint2.exp
3611 * gdb.python/py-frame-args.exp
3612 * gdb.python/py-frame-inline.exp
3613 * gdb.python/py-frame.exp
3614 * gdb.python/py-framefilter-mi.exp
3615 * gdb.python/py-infthread.exp
3616 * gdb.python/py-lazy-string.exp
3617 * gdb.python/py-linetable.exp
3618 * gdb.python/py-mi-events.exp
3619 * gdb.python/py-mi-objfile.exp
3620 * gdb.python/py-mi.exp
3621 * gdb.python/py-objfile.exp
3622 * gdb.python/py-pp-integral.exp
3623 * gdb.python/py-pp-maint.exp
3624 * gdb.python/py-pp-re-notag.exp
3625 * gdb.python/py-pp-registration.exp
3626 * gdb.python/py-recurse-unwind.exp
3627 * gdb.python/py-strfns.exp
3628 * gdb.python/py-symbol.exp
3629 * gdb.python/py-symtab.exp
3630 * gdb.python/py-sync-interp.exp
3631 * gdb.python/py-typeprint.exp
3632 * gdb.python/py-unwind-maint.exp
3633 * gdb.python/py-unwind.exp
3634 * gdb.python/py-value-cc.exp
3635 * gdb.python/py-xmethods.exp
3636 * gdb.reverse/amd64-tailcall-reverse.exp
3637 * gdb.reverse/break-precsave.exp
3638 * gdb.reverse/break-reverse.exp
3639 * gdb.reverse/consecutive-precsave.exp
3640 * gdb.reverse/consecutive-reverse.exp
3641 * gdb.reverse/finish-precsave.exp
3642 * gdb.reverse/finish-reverse-bkpt.exp
3643 * gdb.reverse/finish-reverse.exp
3644 * gdb.reverse/fstatat-reverse.exp
3645 * gdb.reverse/getresuid-reverse.exp
3646 * gdb.reverse/i386-precsave.exp
3647 * gdb.reverse/i386-reverse.exp
3648 * gdb.reverse/i386-sse-reverse.exp
3649 * gdb.reverse/i387-env-reverse.exp
3650 * gdb.reverse/i387-stack-reverse.exp
3651 * gdb.reverse/insn-reverse.exp
3652 * gdb.reverse/machinestate-precsave.exp
3653 * gdb.reverse/machinestate.exp
3654 * gdb.reverse/next-reverse-bkpt-over-sr.exp
3655 * gdb.reverse/pipe-reverse.exp
3656 * gdb.reverse/readv-reverse.exp
3657 * gdb.reverse/recvmsg-reverse.exp
3658 * gdb.reverse/rerun-prec.exp
3659 * gdb.reverse/s390-mvcle.exp
3660 * gdb.reverse/step-precsave.exp
3661 * gdb.reverse/step-reverse.exp
3662 * gdb.reverse/time-reverse.exp
3663 * gdb.reverse/until-precsave.exp
3664 * gdb.reverse/until-reverse.exp
3665 * gdb.reverse/waitpid-reverse.exp
3666 * gdb.reverse/watch-precsave.exp
3667 * gdb.reverse/watch-reverse.exp
3668 * gdb.rust/generics.exp
3669 * gdb.rust/methods.exp
3670 * gdb.rust/modules.exp
3671 * gdb.rust/simple.exp
3672 * gdb.server/connect-with-no-symbol-file.exp
3673 * gdb.server/ext-attach.exp
3674 * gdb.server/ext-restart.exp
3675 * gdb.server/ext-wrapper.exp
3676 * gdb.server/file-transfer.exp
3677 * gdb.server/server-exec-info.exp
3678 * gdb.server/server-kill.exp
3679 * gdb.server/server-mon.exp
3680 * gdb.server/wrapper.exp
3681 * gdb.stabs/exclfwd.exp
3682 * gdb.stabs/gdb11479.exp
3683 * gdb.threads/clone-new-thread-event.exp
3684 * gdb.threads/corethreads.exp
3685 * gdb.threads/current-lwp-dead.exp
3686 * gdb.threads/dlopen-libpthread.exp
3687 * gdb.threads/gcore-thread.exp
3688 * gdb.threads/sigstep-threads.exp
3689 * gdb.threads/watchpoint-fork.exp
3690 * gdb.trace/actions-changed.exp
3691 * gdb.trace/backtrace.exp
3692 * gdb.trace/change-loc.exp
3693 * gdb.trace/circ.exp
3694 * gdb.trace/collection.exp
3695 * gdb.trace/disconnected-tracing.exp
3696 * gdb.trace/ftrace.exp
3697 * gdb.trace/mi-trace-frame-collected.exp
3698 * gdb.trace/mi-trace-unavailable.exp
3699 * gdb.trace/mi-traceframe-changed.exp
3700 * gdb.trace/mi-tsv-changed.exp
3701 * gdb.trace/no-attach-trace.exp
3702 * gdb.trace/passc-dyn.exp
3703 * gdb.trace/qtro.exp
3704 * gdb.trace/range-stepping.exp
3705 * gdb.trace/read-memory.exp
3706 * gdb.trace/save-trace.exp
3707 * gdb.trace/signal.exp
3708 * gdb.trace/status-stop.exp
3709 * gdb.trace/tfile.exp
3710 * gdb.trace/trace-break.exp
3711 * gdb.trace/trace-buffer-size.exp
3712 * gdb.trace/trace-condition.exp
3713 * gdb.trace/tracefile-pseudo-reg.exp
3714 * gdb.trace/tstatus.exp
3715 * gdb.trace/unavailable.exp
3716 * gdb.trace/while-dyn.exp
3717 * gdb.trace/while-stepping.exp
3718
3719 2016-12-22 Doug Evans <xdje42@gmail.com>
3720
3721 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
3722 and msymbols.
3723
3724 2016-12-19 Yao Qi <yao.qi@linaro.org>
3725
3726 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
3727 (test_with_self): Don't call do_steps_and_nexts, and remove
3728 code about stepping into xmalloc.
3729
3730 2016-12-09 Yao Qi <yao.qi@linaro.org>
3731
3732 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
3733
3734 2016-12-09 Yao Qi <yao.qi@linaro.org>
3735
3736 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
3737
3738 2016-12-09 Pedro Alves <palves@redhat.com>
3739
3740 * gdb.base/all-architectures-0.exp: New file.
3741 * gdb.base/all-architectures-1.exp: New file.
3742 * gdb.base/all-architectures-2.exp: New file.
3743 * gdb.base/all-architectures-3.exp: New file.
3744 * gdb.base/all-architectures-4.exp: New file.
3745 * gdb.base/all-architectures-5.exp: New file.
3746 * gdb.base/all-architectures-6.exp: New file.
3747 * gdb.base/all-architectures-7.exp: New file.
3748 * gdb.base/all-architectures.exp.in: New file.
3749
3750 2016-12-09 Yao Qi <yao.qi@linaro.org>
3751
3752 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
3753
3754 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3755
3756 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
3757 possible.
3758 Remove useless pattern-matching code.
3759
3760 2016-12-02 Pedro Alves <palves@redhat.com>
3761
3762 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
3763 procedure.
3764 (top level): Call it.
3765
3766 2016-12-02 Pedro Alves <palves@redhat.com>
3767
3768 * gdb.base/commands.exp (user_defined_command_args_stack_test):
3769 New procedure.
3770 (top level): Call it.
3771
3772 2016-12-02 Pedro Alves <palves@redhat.com>
3773
3774 PR cli/20559
3775 * gdb.base/commands.exp (user_defined_command_args_eval): New
3776 procedure.
3777 (top level): Call it.
3778
3779 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
3780
3781 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
3782 timeout handling.
3783
3784 2016-12-02 Tom Tromey <tom@tromey.com>
3785
3786 * gdb.dwarf2/main-subprogram.c: New file.
3787 * gdb.dwarf2/main-subprogram.exp: New file.
3788
3789 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3790
3791 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
3792 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
3793 gdb_test_no_output for a couple of cases.
3794 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
3795
3796 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3797
3798 Fix test names and standardize compilation error messages throughout
3799 the following files:
3800
3801 * gdb.ada/start.exp
3802 * gdb.arch/alpha-step.exp
3803 * gdb.arch/e500-prologue.exp
3804 * gdb.arch/ftrace-insn-reloc.exp
3805 * gdb.arch/gdb1291.exp
3806 * gdb.arch/gdb1431.exp
3807 * gdb.arch/gdb1558.exp
3808 * gdb.arch/i386-dr3-watch.exp
3809 * gdb.arch/i386-sse-stack-align.exp
3810 * gdb.arch/ia64-breakpoint-shadow.exp
3811 * gdb.arch/pa-nullify.exp
3812 * gdb.arch/powerpc-aix-prologue.exp
3813 * gdb.arch/thumb-bx-pc.exp
3814 * gdb.base/annota1.exp
3815 * gdb.base/annota3.exp
3816 * gdb.base/arrayidx.exp
3817 * gdb.base/assign.exp
3818 * gdb.base/attach.exp
3819 * gdb.base/auxv.exp
3820 * gdb.base/bang.exp
3821 * gdb.base/bfp-test.exp
3822 * gdb.base/bigcore.exp
3823 * gdb.base/bitfields2.exp
3824 * gdb.base/break-fun-addr.exp
3825 * gdb.base/break-probes.exp
3826 * gdb.base/call-rt-st.exp
3827 * gdb.base/callexit.exp
3828 * gdb.base/catch-fork-kill.exp
3829 * gdb.base/charset.exp
3830 * gdb.base/checkpoint.exp
3831 * gdb.base/comprdebug.exp
3832 * gdb.base/constvars.exp
3833 * gdb.base/coredump-filter.exp
3834 * gdb.base/cursal.exp
3835 * gdb.base/cvexpr.exp
3836 * gdb.base/detach.exp
3837 * gdb.base/display.exp
3838 * gdb.base/dmsym.exp
3839 * gdb.base/dprintf-pending.exp
3840 * gdb.base/dso2dso.exp
3841 * gdb.base/dtrace-probe.exp
3842 * gdb.base/dump.exp
3843 * gdb.base/enum_cond.exp
3844 * gdb.base/exe-lock.exp
3845 * gdb.base/exec-invalid-sysroot.exp
3846 * gdb.base/execl-update-breakpoints.exp
3847 * gdb.base/exprs.exp
3848 * gdb.base/fileio.exp
3849 * gdb.base/find.exp
3850 * gdb.base/finish.exp
3851 * gdb.base/fixsection.exp
3852 * gdb.base/foll-vfork.exp
3853 * gdb.base/frame-args.exp
3854 * gdb.base/gcore.exp
3855 * gdb.base/gdb1250.exp
3856 * gdb.base/global-var-nested-by-dso.exp
3857 * gdb.base/gnu-ifunc.exp
3858 * gdb.base/hashline1.exp
3859 * gdb.base/hashline2.exp
3860 * gdb.base/hashline3.exp
3861 * gdb.base/hbreak-in-shr-unsupported.exp
3862 * gdb.base/huge.exp
3863 * gdb.base/infcall-input.exp
3864 * gdb.base/info-fun.exp
3865 * gdb.base/info-shared.exp
3866 * gdb.base/jit-simple.exp
3867 * gdb.base/jit-so.exp
3868 * gdb.base/jit.exp
3869 * gdb.base/jump.exp
3870 * gdb.base/label.exp
3871 * gdb.base/lineinc.exp
3872 * gdb.base/logical.exp
3873 * gdb.base/longjmp.exp
3874 * gdb.base/macscp.exp
3875 * gdb.base/miscexprs.exp
3876 * gdb.base/new-ui-echo.exp
3877 * gdb.base/new-ui-pending-input.exp
3878 * gdb.base/new-ui.exp
3879 * gdb.base/nodebug.exp
3880 * gdb.base/nofield.exp
3881 * gdb.base/offsets.exp
3882 * gdb.base/overlays.exp
3883 * gdb.base/pending.exp
3884 * gdb.base/pointers.exp
3885 * gdb.base/pr11022.exp
3886 * gdb.base/printcmds.exp
3887 * gdb.base/prologue.exp
3888 * gdb.base/ptr-typedef.exp
3889 * gdb.base/realname-expand.exp
3890 * gdb.base/relativedebug.exp
3891 * gdb.base/relocate.exp
3892 * gdb.base/remote.exp
3893 * gdb.base/reread.exp
3894 * gdb.base/return2.exp
3895 * gdb.base/savedregs.exp
3896 * gdb.base/sep.exp
3897 * gdb.base/sepdebug.exp
3898 * gdb.base/sepsymtab.exp
3899 * gdb.base/set-inferior-tty.exp
3900 * gdb.base/setshow.exp
3901 * gdb.base/shlib-call.exp
3902 * gdb.base/sigaltstack.exp
3903 * gdb.base/siginfo-addr.exp
3904 * gdb.base/signals.exp
3905 * gdb.base/signull.exp
3906 * gdb.base/sigrepeat.exp
3907 * gdb.base/so-impl-ld.exp
3908 * gdb.base/solib-display.exp
3909 * gdb.base/solib-overlap.exp
3910 * gdb.base/solib-search.exp
3911 * gdb.base/solib-symbol.exp
3912 * gdb.base/structs.exp
3913 * gdb.base/structs2.exp
3914 * gdb.base/symtab-search-order.exp
3915 * gdb.base/twice.exp
3916 * gdb.base/unload.exp
3917 * gdb.base/varargs.exp
3918 * gdb.base/watchpoint-solib.exp
3919 * gdb.base/watchpoint.exp
3920 * gdb.base/whatis.exp
3921 * gdb.base/wrong_frame_bt_full.exp
3922 * gdb.btrace/dlopen.exp
3923 * gdb.cell/ea-standalone.exp
3924 * gdb.cell/ea-test.exp
3925 * gdb.cp/dispcxx.exp
3926 * gdb.cp/gdb2384.exp
3927 * gdb.cp/method2.exp
3928 * gdb.cp/nextoverthrow.exp
3929 * gdb.cp/pr10728.exp
3930 * gdb.disasm/am33.exp
3931 * gdb.disasm/h8300s.exp
3932 * gdb.disasm/mn10300.exp
3933 * gdb.disasm/sh3.exp
3934 * gdb.dwarf2/dw2-dir-file-name.exp
3935 * gdb.fortran/complex.exp
3936 * gdb.fortran/library-module.exp
3937 * gdb.guile/scm-pretty-print.exp
3938 * gdb.guile/scm-symbol.exp
3939 * gdb.guile/scm-type.exp
3940 * gdb.guile/scm-value.exp
3941 * gdb.linespec/linespec.exp
3942 * gdb.mi/gdb701.exp
3943 * gdb.mi/gdb792.exp
3944 * gdb.mi/mi-breakpoint-changed.exp
3945 * gdb.mi/mi-dprintf-pending.exp
3946 * gdb.mi/mi-dprintf.exp
3947 * gdb.mi/mi-exit-code.exp
3948 * gdb.mi/mi-pending.exp
3949 * gdb.mi/mi-solib.exp
3950 * gdb.mi/new-ui-mi-sync.exp
3951 * gdb.mi/pr11022.exp
3952 * gdb.mi/user-selected-context-sync.exp
3953 * gdb.opt/solib-intra-step.exp
3954 * gdb.python/py-events.exp
3955 * gdb.python/py-finish-breakpoint.exp
3956 * gdb.python/py-mi.exp
3957 * gdb.python/py-prettyprint.exp
3958 * gdb.python/py-shared.exp
3959 * gdb.python/py-symbol.exp
3960 * gdb.python/py-template.exp
3961 * gdb.python/py-type.exp
3962 * gdb.python/py-value.exp
3963 * gdb.reverse/solib-precsave.exp
3964 * gdb.reverse/solib-reverse.exp
3965 * gdb.server/solib-list.exp
3966 * gdb.stabs/weird.exp
3967 * gdb.threads/reconnect-signal.exp
3968 * gdb.threads/stepi-random-signal.exp
3969 * gdb.trace/actions.exp
3970 * gdb.trace/ax.exp
3971 * gdb.trace/backtrace.exp
3972 * gdb.trace/change-loc.exp
3973 * gdb.trace/deltrace.exp
3974 * gdb.trace/ftrace-lock.exp
3975 * gdb.trace/ftrace.exp
3976 * gdb.trace/infotrace.exp
3977 * gdb.trace/mi-tracepoint-changed.exp
3978 * gdb.trace/packetlen.exp
3979 * gdb.trace/passcount.exp
3980 * gdb.trace/pending.exp
3981 * gdb.trace/range-stepping.exp
3982 * gdb.trace/report.exp
3983 * gdb.trace/stap-trace.exp
3984 * gdb.trace/tfind.exp
3985 * gdb.trace/trace-break.exp
3986 * gdb.trace/trace-condition.exp
3987 * gdb.trace/trace-enable-disable.exp
3988 * gdb.trace/trace-mt.exp
3989 * gdb.trace/tracecmd.exp
3990 * gdb.trace/tspeed.exp
3991 * gdb.trace/tsv.exp
3992 * lib/perftest.exp
3993
3994 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
3995
3996 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
3997 with gdb_test_no_output.
3998 Use command as test name.
3999
4000 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4001
4002 Fix test names starting with uppercase throughout the files.
4003
4004 * gdb.ada/assign_1.exp
4005 * gdb.ada/boolean_expr.exp
4006 * gdb.base/arrayidx.exp
4007 * gdb.base/del.exp
4008 * gdb.base/gcore-buffer-overflow.exp
4009 * gdb.base/testenv.exp
4010 * gdb.compile/compile.exp
4011 * gdb.python/py-framefilter-invalidarg.exp
4012 * gdb.python/py-framefilter.exp
4013
4014 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4015
4016 Fix test names starting with uppercase throughout the files.
4017
4018 * gdb.ada/array_return.exp
4019 * gdb.ada/expr_delims.exp
4020 * gdb.ada/mi_dyn_arr.exp
4021 * gdb.ada/mi_interface.exp
4022 * gdb.ada/mi_var_array.exp
4023 * gdb.ada/watch_arg.exp
4024 * gdb.arch/alpha-step.exp
4025 * gdb.arch/altivec-regs.exp
4026 * gdb.arch/e500-regs.exp
4027 * gdb.arch/powerpc-d128-regs.exp
4028 * gdb.base/arrayidx.exp
4029 * gdb.base/break.exp
4030 * gdb.base/checkpoint.exp
4031 * gdb.base/debug-expr.exp
4032 * gdb.base/dmsym.exp
4033 * gdb.base/radix.exp
4034 * gdb.base/sepdebug.exp
4035 * gdb.base/testenv.exp
4036 * gdb.base/watch_thread_num.exp
4037 * gdb.base/watchpoint-cond-gone.exp
4038 * gdb.cell/break.exp
4039 * gdb.cell/ea-cache.exp
4040 * gdb.compile/compile.exp
4041 * gdb.cp/gdb2495.exp
4042 * gdb.gdb/selftest.exp
4043 * gdb.gdb/xfullpath.exp
4044 * gdb.go/hello.exp
4045 * gdb.go/integers.exp
4046 * gdb.objc/basicclass.exp
4047 * gdb.pascal/hello.exp
4048 * gdb.pascal/integers.exp
4049 * gdb.python/py-breakpoint.exp
4050 * gdb.python/py-cmd.exp
4051 * gdb.python/py-linetable.exp
4052 * gdb.python/py-xmethods.exp
4053 * gdb.python/python.exp
4054 * gdb.reverse/consecutive-precsave.exp
4055 * gdb.reverse/finish-precsave.exp
4056 * gdb.reverse/i386-precsave.exp
4057 * gdb.reverse/machinestate-precsave.exp
4058 * gdb.reverse/sigall-precsave.exp
4059 * gdb.reverse/solib-precsave.exp
4060 * gdb.reverse/step-precsave.exp
4061 * gdb.reverse/until-precsave.exp
4062 * gdb.reverse/watch-precsave.exp
4063 * gdb.threads/leader-exit.exp
4064 * gdb.threads/pthreads.exp
4065 * gdb.threads/wp-replication.exp
4066 * gdb.trace/actions.exp
4067 * gdb.trace/mi-tsv-changed.exp
4068 * gdb.trace/tsv.exp
4069
4070 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4071
4072 Fix test names starting with uppercase throughout the files.
4073
4074 * gdb.arch/i386-bp_permanent.exp
4075 * gdb.arch/i386-gnu-cfi.exp
4076 * gdb.base/disasm-end-cu.exp
4077 * gdb.base/macscp.exp
4078 * gdb.base/pending.exp
4079 * gdb.base/watch_thread_num.exp
4080 * gdb.cp/exception.exp
4081 * gdb.cp/gdb2495.exp
4082 * gdb.cp/local.exp
4083 * gdb.python/py-evsignal.exp
4084 * gdb.python/python.exp
4085 * gdb.trace/tracecmd.exp
4086
4087 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4088
4089 Fix test names starting with uppercase throughout the files.
4090
4091 * gdb.base/charset.exp
4092 * gdb.base/eval.exp
4093 * gdb.base/multi-forks.exp
4094 * gdb.guile/scm-progspace.exp
4095 * gdb.opencl/datatypes.exp
4096 * gdb.python/py-block.exp
4097 * gdb.python/py-function.exp
4098 * gdb.python/py-symbol.exp
4099 * gdb.python/py-symtab.exp
4100 * gdb.python/py-xmethods.exp
4101 * gdb.reverse/break-precsave.exp
4102 * gdb.reverse/break-reverse.exp
4103 * gdb.reverse/consecutive-precsave.exp
4104 * gdb.reverse/consecutive-reverse.exp
4105 * gdb.reverse/finish-precsave.exp
4106 * gdb.reverse/finish-reverse-bkpt.exp
4107 * gdb.reverse/finish-reverse.exp
4108 * gdb.reverse/fstatat-reverse.exp
4109 * gdb.reverse/getresuid-reverse.exp
4110 * gdb.reverse/i386-precsave.exp
4111 * gdb.reverse/i386-reverse.exp
4112 * gdb.reverse/i386-sse-reverse.exp
4113 * gdb.reverse/i387-stack-reverse.exp
4114 * gdb.reverse/insn-reverse.exp
4115 * gdb.reverse/machinestate-precsave.exp
4116 * gdb.reverse/machinestate.exp
4117 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4118 * gdb.reverse/pipe-reverse.exp
4119 * gdb.reverse/readv-reverse.exp
4120 * gdb.reverse/recvmsg-reverse.exp
4121 * gdb.reverse/rerun-prec.exp
4122 * gdb.reverse/s390-mvcle.exp
4123 * gdb.reverse/sigall-precsave.exp
4124 * gdb.reverse/sigall-reverse.exp
4125 * gdb.reverse/solib-precsave.exp
4126 * gdb.reverse/solib-reverse.exp
4127 * gdb.reverse/step-precsave.exp
4128 * gdb.reverse/step-reverse.exp
4129 * gdb.reverse/time-reverse.exp
4130 * gdb.reverse/until-precsave.exp
4131 * gdb.reverse/until-reverse.exp
4132 * gdb.reverse/waitpid-reverse.exp
4133 * gdb.reverse/watch-precsave.exp
4134 * gdb.reverse/watch-reverse.exp
4135
4136 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4137
4138 Fix test names starting with uppercase throughout the files.
4139
4140 * gdb.arch/i386-mpx-simple_segv.exp
4141 * gdb.arch/i386-mpx.exp
4142 * gdb.arch/i386-permbkpt.exp
4143 * gdb.arch/pa-nullify.exp
4144 * gdb.arch/powerpc-d128-regs.exp
4145 * gdb.arch/vsx-regs.exp
4146 * gdb.base/bfp-test.exp
4147 * gdb.base/break.exp
4148 * gdb.base/breakpoint-shadow.exp
4149 * gdb.base/callfuncs.exp
4150 * gdb.base/charset.exp
4151 * gdb.base/commands.exp
4152 * gdb.base/completion.exp
4153 * gdb.base/dfp-test.exp
4154 * gdb.base/echo.exp
4155 * gdb.base/ending-run.exp
4156 * gdb.base/eval.exp
4157 * gdb.base/expand-psymtabs.exp
4158 * gdb.base/float128.exp
4159 * gdb.base/floatn.exp
4160 * gdb.base/foll-exec-mode.exp
4161 * gdb.base/gdb1056.exp
4162 * gdb.base/gdb11531.exp
4163 * gdb.base/kill-after-signal.exp
4164 * gdb.base/multi-forks.exp
4165 * gdb.base/overlays.exp
4166 * gdb.base/pending.exp
4167 * gdb.base/sepdebug.exp
4168 * gdb.base/testenv.exp
4169 * gdb.base/valgrind-db-attach.exp
4170 * gdb.base/watch_thread_num.exp
4171 * gdb.base/watchpoint-cond-gone.exp
4172 * gdb.base/watchpoint.exp
4173 * gdb.base/watchpoints.exp
4174 * gdb.cp/arg-reference.exp
4175 * gdb.cp/baseenum.exp
4176 * gdb.cp/operator.exp
4177 * gdb.cp/shadow.exp
4178 * gdb.dwarf2/dw2-op-out-param.exp
4179 * gdb.dwarf2/dw2-reg-undefined.exp
4180 * gdb.go/chan.exp
4181 * gdb.go/hello.exp
4182 * gdb.go/integers.exp
4183 * gdb.go/methods.exp
4184 * gdb.go/package.exp
4185 * gdb.guile/scm-parameter.exp
4186 * gdb.guile/scm-progspace.exp
4187 * gdb.guile/scm-value.exp
4188 * gdb.mi/mi-pending.exp
4189 * gdb.mi/user-selected-context-sync.exp
4190 * gdb.multi/multi-attach.exp
4191 * gdb.multi/tids.exp
4192 * gdb.opt/clobbered-registers-O2.exp
4193 * gdb.pascal/floats.exp
4194 * gdb.pascal/integers.exp
4195 * gdb.python/py-block.exp
4196 * gdb.python/py-events.exp
4197 * gdb.python/py-parameter.exp
4198 * gdb.python/py-symbol.exp
4199 * gdb.python/py-symtab.exp
4200 * gdb.python/py-type.exp
4201 * gdb.python/py-value.exp
4202 * gdb.python/py-xmethods.exp
4203 * gdb.python/python.exp
4204 * gdb.reverse/break-precsave.exp
4205 * gdb.reverse/consecutive-precsave.exp
4206 * gdb.reverse/finish-precsave.exp
4207 * gdb.reverse/i386-precsave.exp
4208 * gdb.reverse/machinestate-precsave.exp
4209 * gdb.reverse/sigall-precsave.exp
4210 * gdb.reverse/solib-precsave.exp
4211 * gdb.reverse/step-precsave.exp
4212 * gdb.reverse/until-precsave.exp
4213 * gdb.reverse/watch-precsave.exp
4214 * gdb.server/ext-attach.exp
4215 * gdb.server/ext-restart.exp
4216 * gdb.server/ext-run.exp
4217 * gdb.server/ext-wrapper.exp
4218 * gdb.stabs/gdb11479.exp
4219 * gdb.stabs/weird.exp
4220 * gdb.threads/attach-many-short-lived-threads.exp
4221 * gdb.threads/kill.exp
4222 * gdb.threads/watchpoint-fork.exp
4223
4224 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
4225
4226 Fix test names starting with uppercase throughout all the files below.
4227
4228 * gdb.ada/array_return.exp
4229 * gdb.ada/catch_ex.exp
4230 * gdb.ada/info_exc.exp
4231 * gdb.ada/mi_catch_ex.exp
4232 * gdb.ada/mi_dyn_arr.exp
4233 * gdb.ada/mi_ex_cond.exp
4234 * gdb.ada/mi_exc_info.exp
4235 * gdb.ada/mi_interface.exp
4236 * gdb.ada/mi_task_arg.exp
4237 * gdb.ada/mi_task_info.exp
4238 * gdb.ada/mi_var_array.exp
4239 * gdb.arch/alpha-step.exp
4240 * gdb.arch/amd64-disp-step.exp
4241 * gdb.arch/arm-disp-step.exp
4242 * gdb.arch/disp-step-insn-reloc.exp
4243 * gdb.arch/e500-prologue.exp
4244 * gdb.arch/ftrace-insn-reloc.exp
4245 * gdb.arch/gdb1558.exp
4246 * gdb.arch/i386-bp_permanent.exp
4247 * gdb.arch/i386-disp-step.exp
4248 * gdb.arch/i386-float.exp
4249 * gdb.arch/i386-gnu-cfi.exp
4250 * gdb.arch/ia64-breakpoint-shadow.exp
4251 * gdb.arch/mips16-thunks.exp
4252 * gdb.arch/pa-nullify.exp
4253 * gdb.arch/powerpc-aix-prologue.exp
4254 * gdb.arch/powerpc-power.exp
4255 * gdb.arch/ppc-dfp.exp
4256 * gdb.arch/s390-tdbregs.exp
4257 * gdb.arch/spu-info.exp
4258 * gdb.arch/spu-ls.exp
4259 * gdb.arch/thumb-bx-pc.exp
4260 * gdb.base/advance.exp
4261 * gdb.base/annota-input-while-running.exp
4262 * gdb.base/arrayidx.exp
4263 * gdb.base/asmlabel.exp
4264 * gdb.base/async.exp
4265 * gdb.base/attach-wait-input.exp
4266 * gdb.base/auto-connect-native-target.exp
4267 * gdb.base/batch-preserve-term-settings.exp
4268 * gdb.base/bfp-test.exp
4269 * gdb.base/bigcore.exp
4270 * gdb.base/bp-permanent.exp
4271 * gdb.base/break-always.exp
4272 * gdb.base/break-fun-addr.exp
4273 * gdb.base/break-idempotent.exp
4274 * gdb.base/break-main-file-remove-fail.exp
4275 * gdb.base/break-probes.exp
4276 * gdb.base/break-unload-file.exp
4277 * gdb.base/break.exp
4278 * gdb.base/call-ar-st.exp
4279 * gdb.base/call-rt-st.exp
4280 * gdb.base/call-sc.exp
4281 * gdb.base/call-signal-resume.exp
4282 * gdb.base/call-strs.exp
4283 * gdb.base/callexit.exp
4284 * gdb.base/callfuncs.exp
4285 * gdb.base/catch-gdb-caused-signals.exp
4286 * gdb.base/catch-signal-siginfo-cond.exp
4287 * gdb.base/catch-syscall.exp
4288 * gdb.base/compare-sections.exp
4289 * gdb.base/cond-eval-mode.exp
4290 * gdb.base/condbreak-call-false.exp
4291 * gdb.base/consecutive-step-over.exp
4292 * gdb.base/cursal.exp
4293 * gdb.base/disabled-location.exp
4294 * gdb.base/disasm-end-cu.exp
4295 * gdb.base/display.exp
4296 * gdb.base/double-prompt-target-event-error.exp
4297 * gdb.base/dprintf-bp-same-addr.exp
4298 * gdb.base/dprintf-detach.exp
4299 * gdb.base/dprintf-next.exp
4300 * gdb.base/dprintf-non-stop.exp
4301 * gdb.base/dprintf-pending.exp
4302 * gdb.base/dso2dso.exp
4303 * gdb.base/ending-run.exp
4304 * gdb.base/enum_cond.exp
4305 * gdb.base/examine-backward.exp
4306 * gdb.base/exe-lock.exp
4307 * gdb.base/exec-invalid-sysroot.exp
4308 * gdb.base/execl-update-breakpoints.exp
4309 * gdb.base/execution-termios.exp
4310 * gdb.base/fileio.exp
4311 * gdb.base/fixsection.exp
4312 * gdb.base/foll-exec-mode.exp
4313 * gdb.base/foll-exec.exp
4314 * gdb.base/fork-running-state.exp
4315 * gdb.base/frame-args.exp
4316 * gdb.base/fullpath-expand.exp
4317 * gdb.base/func-ptr.exp
4318 * gdb.base/gcore-relro-pie.exp
4319 * gdb.base/gdb1090.exp
4320 * gdb.base/gdb1555.exp
4321 * gdb.base/global-var-nested-by-dso.exp
4322 * gdb.base/gnu-ifunc.exp
4323 * gdb.base/hbreak-in-shr-unsupported.exp
4324 * gdb.base/hbreak-unmapped.exp
4325 * gdb.base/hook-stop.exp
4326 * gdb.base/infcall-input.exp
4327 * gdb.base/info-fun.exp
4328 * gdb.base/info-shared.exp
4329 * gdb.base/interrupt-noterm.exp
4330 * gdb.base/jit-so.exp
4331 * gdb.base/jit.exp
4332 * gdb.base/line-symtabs.exp
4333 * gdb.base/list.exp
4334 * gdb.base/longjmp.exp
4335 * gdb.base/macscp.exp
4336 * gdb.base/max-value-size.exp
4337 * gdb.base/nodebug.exp
4338 * gdb.base/nofield.exp
4339 * gdb.base/overlays.exp
4340 * gdb.base/paginate-after-ctrl-c-running.exp
4341 * gdb.base/paginate-bg-execution.exp
4342 * gdb.base/paginate-inferior-exit.exp
4343 * gdb.base/pending.exp
4344 * gdb.base/pr11022.exp
4345 * gdb.base/printcmds.exp
4346 * gdb.base/ptr-typedef.exp
4347 * gdb.base/ptype.exp
4348 * gdb.base/randomize.exp
4349 * gdb.base/range-stepping.exp
4350 * gdb.base/realname-expand.exp
4351 * gdb.base/relativedebug.exp
4352 * gdb.base/remote.exp
4353 * gdb.base/savedregs.exp
4354 * gdb.base/sepdebug.exp
4355 * gdb.base/set-noassign.exp
4356 * gdb.base/shlib-call.exp
4357 * gdb.base/shreloc.exp
4358 * gdb.base/sigaltstack.exp
4359 * gdb.base/sigbpt.exp
4360 * gdb.base/siginfo-addr.exp
4361 * gdb.base/siginfo-obj.exp
4362 * gdb.base/siginfo-thread.exp
4363 * gdb.base/signest.exp
4364 * gdb.base/signull.exp
4365 * gdb.base/sigrepeat.exp
4366 * gdb.base/skip.exp
4367 * gdb.base/so-impl-ld.exp
4368 * gdb.base/solib-corrupted.exp
4369 * gdb.base/solib-disc.exp
4370 * gdb.base/solib-display.exp
4371 * gdb.base/solib-overlap.exp
4372 * gdb.base/solib-search.exp
4373 * gdb.base/solib-symbol.exp
4374 * gdb.base/source-execution.exp
4375 * gdb.base/sss-bp-on-user-bp-2.exp
4376 * gdb.base/sss-bp-on-user-bp.exp
4377 * gdb.base/stack-checking.exp
4378 * gdb.base/stale-infcall.exp
4379 * gdb.base/step-break.exp
4380 * gdb.base/step-line.exp
4381 * gdb.base/step-over-exit.exp
4382 * gdb.base/step-test.exp
4383 * gdb.base/structs.exp
4384 * gdb.base/sym-file.exp
4385 * gdb.base/symtab-search-order.exp
4386 * gdb.base/term.exp
4387 * gdb.base/type-opaque.exp
4388 * gdb.base/unload.exp
4389 * gdb.base/until-nodebug.exp
4390 * gdb.base/until.exp
4391 * gdb.base/unwindonsignal.exp
4392 * gdb.base/watch-cond.exp
4393 * gdb.base/watch-non-mem.exp
4394 * gdb.base/watch_thread_num.exp
4395 * gdb.base/watchpoint-reuse-slot.exp
4396 * gdb.base/watchpoint-solib.exp
4397 * gdb.base/watchpoint.exp
4398 * gdb.btrace/dlopen.exp
4399 * gdb.cell/arch.exp
4400 * gdb.cell/break.exp
4401 * gdb.cell/bt.exp
4402 * gdb.cell/core.exp
4403 * gdb.cell/data.exp
4404 * gdb.cell/dwarfaddr.exp
4405 * gdb.cell/ea-cache.exp
4406 * gdb.cell/ea-standalone.exp
4407 * gdb.cell/ea-test.exp
4408 * gdb.cell/f-regs.exp
4409 * gdb.cell/fork.exp
4410 * gdb.cell/gcore.exp
4411 * gdb.cell/mem-access.exp
4412 * gdb.cell/ptype.exp
4413 * gdb.cell/registers.exp
4414 * gdb.cell/sizeof.exp
4415 * gdb.cell/solib-symbol.exp
4416 * gdb.cell/solib.exp
4417 * gdb.compile/compile-tls.exp
4418 * gdb.cp/exception.exp
4419 * gdb.cp/gdb2495.exp
4420 * gdb.cp/local.exp
4421 * gdb.cp/mb-inline.exp
4422 * gdb.cp/mb-templates.exp
4423 * gdb.cp/pr10687.exp
4424 * gdb.cp/pr9167.exp
4425 * gdb.cp/scope-err.exp
4426 * gdb.cp/templates.exp
4427 * gdb.cp/virtfunc.exp
4428 * gdb.dwarf2/dw2-dir-file-name.exp
4429 * gdb.dwarf2/dw2-single-line-discriminators.exp
4430 * gdb.fortran/complex.exp
4431 * gdb.fortran/library-module.exp
4432 * gdb.guile/guile.exp
4433 * gdb.guile/scm-cmd.exp
4434 * gdb.guile/scm-frame-inline.exp
4435 * gdb.guile/scm-objfile.exp
4436 * gdb.guile/scm-pretty-print.exp
4437 * gdb.guile/scm-symbol.exp
4438 * gdb.guile/scm-type.exp
4439 * gdb.guile/scm-value.exp
4440 * gdb.linespec/keywords.exp
4441 * gdb.linespec/ls-errs.exp
4442 * gdb.linespec/macro-relative.exp
4443 * gdb.linespec/thread.exp
4444 * gdb.mi/mi-breakpoint-changed.exp
4445 * gdb.mi/mi-dprintf-pending.exp
4446 * gdb.mi/mi-fullname-deleted.exp
4447 * gdb.mi/mi-logging.exp
4448 * gdb.mi/mi-pending.exp
4449 * gdb.mi/mi-solib.exp
4450 * gdb.mi/new-ui-mi-sync.exp
4451 * gdb.mi/user-selected-context-sync.exp
4452 * gdb.multi/dummy-frame-restore.exp
4453 * gdb.multi/multi-arch-exec.exp
4454 * gdb.multi/remove-inferiors.exp
4455 * gdb.multi/watchpoint-multi-exit.exp
4456 * gdb.opt/solib-intra-step.exp
4457 * gdb.perf/backtrace.exp
4458 * gdb.perf/single-step.exp
4459 * gdb.perf/skip-command.exp
4460 * gdb.perf/skip-prologue.exp
4461 * gdb.perf/solib.exp
4462 * gdb.python/lib-types.exp
4463 * gdb.python/py-as-string.exp
4464 * gdb.python/py-bad-printers.exp
4465 * gdb.python/py-block.exp
4466 * gdb.python/py-breakpoint.exp
4467 * gdb.python/py-cmd.exp
4468 * gdb.python/py-events.exp
4469 * gdb.python/py-evthreads.exp
4470 * gdb.python/py-finish-breakpoint.exp
4471 * gdb.python/py-finish-breakpoint2.exp
4472 * gdb.python/py-frame-inline.exp
4473 * gdb.python/py-frame.exp
4474 * gdb.python/py-inferior.exp
4475 * gdb.python/py-infthread.exp
4476 * gdb.python/py-mi.exp
4477 * gdb.python/py-objfile.exp
4478 * gdb.python/py-pp-maint.exp
4479 * gdb.python/py-pp-registration.exp
4480 * gdb.python/py-prettyprint.exp
4481 * gdb.python/py-recurse-unwind.exp
4482 * gdb.python/py-shared.exp
4483 * gdb.python/py-symbol.exp
4484 * gdb.python/py-symtab.exp
4485 * gdb.python/py-template.exp
4486 * gdb.python/py-type.exp
4487 * gdb.python/py-unwind-maint.exp
4488 * gdb.python/py-unwind.exp
4489 * gdb.python/py-value.exp
4490 * gdb.python/python.exp
4491 * gdb.reverse/finish-reverse-bkpt.exp
4492 * gdb.reverse/insn-reverse.exp
4493 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4494 * gdb.reverse/solib-precsave.exp
4495 * gdb.reverse/solib-reverse.exp
4496 * gdb.stabs/gdb11479.exp
4497 * gdb.stabs/weird.exp
4498 * gdb.threads/fork-child-threads.exp
4499 * gdb.threads/fork-plus-threads.exp
4500 * gdb.threads/fork-thread-pending.exp
4501 * gdb.threads/forking-threads-plus-breakpoint.exp
4502 * gdb.threads/hand-call-in-threads.exp
4503 * gdb.threads/interrupted-hand-call.exp
4504 * gdb.threads/linux-dp.exp
4505 * gdb.threads/local-watch-wrong-thread.exp
4506 * gdb.threads/next-while-other-thread-longjmps.exp
4507 * gdb.threads/non-ldr-exit.exp
4508 * gdb.threads/pending-step.exp
4509 * gdb.threads/print-threads.exp
4510 * gdb.threads/process-dies-while-detaching.exp
4511 * gdb.threads/process-dies-while-handling-bp.exp
4512 * gdb.threads/pthreads.exp
4513 * gdb.threads/queue-signal.exp
4514 * gdb.threads/reconnect-signal.exp
4515 * gdb.threads/signal-command-handle-nopass.exp
4516 * gdb.threads/signal-command-multiple-signals-pending.exp
4517 * gdb.threads/signal-delivered-right-thread.exp
4518 * gdb.threads/signal-sigtrap.exp
4519 * gdb.threads/sigthread.exp
4520 * gdb.threads/staticthreads.exp
4521 * gdb.threads/stepi-random-signal.exp
4522 * gdb.threads/thread-unwindonsignal.exp
4523 * gdb.threads/thread_check.exp
4524 * gdb.threads/thread_events.exp
4525 * gdb.threads/tid-reuse.exp
4526 * gdb.threads/tls-nodebug.exp
4527 * gdb.threads/tls-shared.exp
4528 * gdb.threads/tls-so_extern.exp
4529 * gdb.threads/tls.exp
4530 * gdb.threads/wp-replication.exp
4531 * gdb.trace/actions-changed.exp
4532 * gdb.trace/actions.exp
4533 * gdb.trace/backtrace.exp
4534 * gdb.trace/change-loc.exp
4535 * gdb.trace/collection.exp
4536 * gdb.trace/deltrace.exp
4537 * gdb.trace/disconnected-tracing.exp
4538 * gdb.trace/entry-values.exp
4539 * gdb.trace/ftrace-lock.exp
4540 * gdb.trace/ftrace.exp
4541 * gdb.trace/infotrace.exp
4542 * gdb.trace/mi-trace-frame-collected.exp
4543 * gdb.trace/mi-trace-unavailable.exp
4544 * gdb.trace/mi-traceframe-changed.exp
4545 * gdb.trace/mi-tracepoint-changed.exp
4546 * gdb.trace/mi-tsv-changed.exp
4547 * gdb.trace/no-attach-trace.exp
4548 * gdb.trace/packetlen.exp
4549 * gdb.trace/passc-dyn.exp
4550 * gdb.trace/passcount.exp
4551 * gdb.trace/pending.exp
4552 * gdb.trace/pr16508.exp
4553 * gdb.trace/qtro.exp
4554 * gdb.trace/range-stepping.exp
4555 * gdb.trace/read-memory.exp
4556 * gdb.trace/report.exp
4557 * gdb.trace/save-trace.exp
4558 * gdb.trace/signal.exp
4559 * gdb.trace/stap-trace.exp
4560 * gdb.trace/status-stop.exp
4561 * gdb.trace/strace.exp
4562 * gdb.trace/tfile.exp
4563 * gdb.trace/tfind.exp
4564 * gdb.trace/trace-break.exp
4565 * gdb.trace/trace-condition.exp
4566 * gdb.trace/trace-enable-disable.exp
4567 * gdb.trace/trace-mt.exp
4568 * gdb.trace/tracecmd.exp
4569 * gdb.trace/tracefile-pseudo-reg.exp
4570 * gdb.trace/tspeed.exp
4571 * gdb.trace/tstatus.exp
4572 * gdb.trace/tsv.exp
4573 * gdb.trace/unavailable.exp
4574 * gdb.trace/while-dyn.exp
4575 * gdb.trace/while-stepping.exp
4576 * lib/gdb-guile.exp
4577 * lib/gdb.exp
4578 * lib/mi-support.exp
4579 * lib/pascal.exp
4580 * lib/perftest.exp
4581 * lib/prelink-support.exp
4582 * lib/selftest-support.exp
4583
4584 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
4585
4586 * Makefile.in: Include disable-implicit-rules.mk.
4587
4588 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4589
4590 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
4591 non-byte-aligned bit fields.
4592
4593 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
4594
4595 PR gdb/12616
4596 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
4597 respects the DW_AT_data_bit_offset attribute.
4598
4599 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
4600
4601 * gdb.base/default.exp: Fix output of "set language".
4602
4603 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
4604
4605 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
4606 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
4607 make.
4608 * configure.ac: Remove checks for the make program.
4609 * configure: Re-generate.
4610
4611 2016-11-16 Kevin Buettner <kevinb@redhat.com>
4612
4613 * gdb.python/py-recurse-unwind.c (main): Add loop.
4614 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
4615 to read_register() and gdb.parse_and_eval(). Make each code
4616 call a separate case that can be individually tested.
4617 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
4618 proc. Call cont_and_backtrace for each of the code paths that
4619 we want to test in the unwinder.
4620
4621 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
4622
4623 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
4624 the definition of struct S.
4625
4626 2016-11-11 Catherine Moore <clm@codesourcery.com>
4627
4628 * gdb.base/dump.exp: Identify verilog format dump tests as such.
4629
4630 2016-11-09 Pedro Alves <palves@redhat.com>
4631
4632 * gdb.base/commands.exp (runto_or_return): New procedure.
4633 (gdbvar_simple_if_test, gdbvar_simple_while_test)
4634 (gdbvar_complex_if_while_test, progvar_simple_if_test)
4635 (progvar_simple_while_test, progvar_complex_if_while_test)
4636 (if_while_breakpoint_command_test)
4637 (infrun_breakpoint_command_test, breakpoint_command_test)
4638 (user_defined_command_test, watchpoint_command_test)
4639 (test_command_prompt_position, redefine_hook_test)
4640 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
4641 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
4642 multi_line_input and multi_line. Remove gdb_expect and
4643 gdb_stop_suppressing_tests uses.
4644 * lib/gdb.exp (valnum_re): New global.
4645 (multi_line_input): New procedure.
4646
4647 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
4648
4649 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
4650 Remove.
4651 (test_setup): Define with proc_with_prefix.
4652 (test_cli_inferior): Likewise.
4653 (test_cli_thread): Likewise.
4654 (test_cli_frame): Likewise.
4655 (test_cli_select_frame): Likewise.
4656 (test_cli_up_down): Likewise.
4657 (test_mi_thread_select): Likewise.
4658 (test_mi_stack_select_frame): Likewise.
4659 (test_cli_in_mi_inferior): Likewise.
4660 (test_cli_in_mi_thread): Likewise.
4661 (test_cli_in_mi_frame): Likewise.
4662 (top level): Do not use with_test_prefix_procname.
4663
4664 2016-11-09 Pedro Alves <palves@redhat.com>
4665
4666 * gdb.base/commands.exp (gdbvar_simple_if_test)
4667 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
4668 (progvar_simple_if_test, progvar_simple_while_test)
4669 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
4670 (infrun_breakpoint_command_test, breakpoint_command_test)
4671 (user_defined_command_test, watchpoint_command_test)
4672 (test_command_prompt_position, deprecated_command_test)
4673 (bp_deleted_in_command, temporary_breakpoint_commands)
4674 (stray_arg0_test, source_file_with_indented_comment)
4675 (recursive_source_test, if_commands_test)
4676 (error_clears_commands_left, redefine_hook_test)
4677 (redefine_backtrace_test): Use proc_with_prefix.
4678 * lib/gdb.exp (proc_with_prefix): New proc.
4679
4680 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4681
4682 * gdb.base/tui-layout.c: New file.
4683 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
4684 disassembly window contains very long lines.
4685
4686 2016-11-08 Tom Tromey <tom@tromey.com>
4687
4688 * gdb.python/py-value.exp (test_value_creation): Make "long" test
4689 depend on Python 2.
4690
4691 2016-11-08 Tom Tromey <tom@tromey.com>
4692
4693 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
4694 New method.
4695
4696 2016-10-29 Manish Goregaokar <manish@mozilla.com>
4697
4698 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
4699
4700 2016-10-27 Manish Goregaokar <manish@mozilla.com>
4701
4702 * gdb.rust/simple.rs: Add test for univariant enums without
4703 discriminants and for encoded struct-like enums.
4704
4705 2016-10-28 Pedro Alves <palves@redhat.com>
4706
4707 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
4708 gdb_test_multiple, tighten regexps and match symtabs and line
4709 tables incrementally.
4710
4711 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
4712
4713 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
4714 general.
4715
4716 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
4717
4718 * gdb.base/exec-invalid-sysroot.exp: New file.
4719
4720 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
4723
4724 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4725
4726 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
4727
4728 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
4729
4730 * gdb.base/killed-outside.exp: Remove $options from a call to
4731 `prepare_for_testing'.
4732
4733 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4734
4735 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4736 Change test message.
4737
4738 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4739
4740 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
4741 Update comment.
4742
4743 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
4744
4745 * gdb.trace/mi-trace-save.exp: New file.
4746
4747 2016-10-13 Yao Qi <yao.qi@linaro.org>
4748
4749 * gdb.base/code_elim.exp (get_var_address): Remove.
4750 * gdb.base/relocate.exp: Likewise.
4751 * gdb.base/shreloc.exp: Likewise.
4752 * lib/gdb.exp (get_var_address): New.
4753
4754 2016-10-13 Yao Qi <yao.qi@linaro.org>
4755
4756 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
4757 floating point tests if $skip_float_test is false.
4758
4759 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
4760
4761 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
4762 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
4763 argc values.
4764 Add 1 to argc so we guarantee distinct initial/modified argc values.
4765
4766 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4767
4768 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
4769
4770 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4771
4772 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
4773 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
4774 * gdb.arch/vsx-regs.exp: Likewise.
4775
4776 2016-10-07 Yao Qi <yao.qi@linaro.org>
4777
4778 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
4779
4780 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
4781
4782 * gdb.python/python.exp: Test decode_line("*0").
4783
4784 2016-10-06 Doug Evans <dje@google.com>
4785
4786 * gdb.python/py-value.exp (test_value_creation): Add test for large
4787 unsigned 64-bit value.
4788
4789 2016-10-06 Tom Tromey <tom@tromey.com>
4790
4791 * gdb.compile/compile.exp: Change java tests to rust.
4792 * gdb.base/setshow.exp: Change java tests to rust.
4793 * gdb.base/default.exp: Remove java from language list.
4794 * README (Examples): Update language example.
4795 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
4796 test.
4797 * lib/gdb.exp (skip_java_tests): Remove.
4798 * lib/java.exp: Remove.
4799 * gdb.java: Remove.
4800
4801 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4802
4803 * gdb.arch/mips-fcr.exp: New test.
4804 * gdb.arch/mips-fcr.c: Source for the new test.
4805
4806 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
4807
4808 * gdb.base/solib-disc.exp: Use `standard_output_file'
4809 throughout.
4810
4811 2016-10-06 Pedro Alves <palves@redhat.com>
4812
4813 * gdb.base/jit-simple-dl.c: New file.
4814 * gdb.base/jit-simple-jit.c: New file, factored out from ...
4815 * gdb.base/jit-simple.c: ... this.
4816 * gdb.base/jit-simple.exp (jit_run): Delete.
4817 (build_jit): New proc.
4818 (jit_test_reread): Recompile either the main program or the shared
4819 library, depending on what is being tested. Skip changing address
4820 if caller wants to. Compare before/after addresses. If testing
4821 standalone, explicitly load the binary. Test "maint info
4822 breakpoints".
4823 (top level): Add "standalone vs shared lib" and "change address"
4824 vs "same address" axes.
4825
4826 2016-10-06 Pedro Alves <palves@redhat.com>
4827
4828 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
4829 call.
4830 (jit_run): Delete.
4831 (jit_test_reread): Use with_test_prefix. Reload the main binary
4832 explicitly. Compare the before/after addresses of the JIT
4833 descriptor.
4834
4835 2016-08-15 Doug Evans <dje@google.com>
4836
4837 * gdb.xml/extra-regs.xml: Update, end field now required, default type
4838 for single bitfields is bool.
4839 * gdb.xml/tdesc-regs.exp: Ditto.
4840
4841 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4842
4843 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
4844
4845 2016-10-05 Yao Qi <yao.qi@linaro.org>
4846
4847 * lib/gdb.exp (support_complex_tests): Return zero if
4848 gdb_skip_float_test return true.
4849
4850 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4851 Simon Marchi <simon.marchi@ericsson.com>
4852
4853 PR gdb/20487
4854 * gdb.mi/user-selected-context-sync.exp: New file.
4855 * gdb.mi/user-selected-context-sync.c: New file.
4856
4857 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
4858 Simon Marchi <simon.marchi@ericsson.com>
4859
4860 PR gdb/20487
4861 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
4862 =thread-select-event check.
4863
4864 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
4865
4866 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
4867 the compulsory L operand changes.
4868 * gdb.arch/powerpc-power.s: Likewise.
4869
4870 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4871
4872 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
4873 * gdb.base/jit-attach-pie.c: New file.
4874 * gdb.base/jit-attach-pie.exp: New file.
4875
4876 2016-09-28 Pedro Alves <palves@redhat.com>
4877
4878 * gdb.base/infcall-input.c: New file.
4879 * gdb.base/infcall-input.exp: New file.
4880
4881 2016-09-22 Yao Qi <yao.qi@linaro.org>
4882
4883 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
4884 (gdb_exit): Rename it to ...
4885 (gdbserver_gdb_exit): ... Close GDBserver.
4886 (gdb_exit): New proc, call gdbserver_gdb_exit.
4887 (mi_gdb_exit): Likewise.
4888
4889 2016-09-22 Yao Qi <yao.qi@linaro.org>
4890
4891 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
4892 path.
4893 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
4894 Remove duplication.
4895
4896 2016-09-22 Yao Qi <yao.qi@linaro.org>
4897
4898 * lib/gdbserver-support.exp: Check the existence of
4899 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
4900
4901 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
4902
4903 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
4904
4905 2016-09-21 Tom Tromey <tom@tromey.com>
4906
4907 PR gdb/20604:
4908 * gdb.base/quit.exp: New file.
4909
4910 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
4911
4912 * .gitignore: New file.
4913
4914 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
4915
4916 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
4917 throughout.
4918
4919 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4920
4921 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
4922
4923 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4924
4925 * gdb.cp/casts.cc (decltype): Move it ...
4926 (main): ... with its call to ...
4927 * gdb.cp/casts03.cc: ... a new file.
4928 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
4929
4930 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4931
4932 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
4933
4934 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
4935
4936 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
4937 and sync up the test with tests in gas/testsuite/gas/ppc.
4938 * gdb.arch/powerpc-power.exp: Likewise.
4939
4940 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4941
4942 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
4943
4944 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
4945 Jan Kratochvil <jan.kratochvil@redhat.com>
4946
4947 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
4948 make m1's definition to be different from m2's. Use 'dummy' as an
4949 argument for probe 'two'.
4950
4951 2016-09-10 Jon Beniston <jon@beniston.com>
4952
4953 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
4954 for sim target.
4955
4956 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
4957
4958 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
4959 variable declaration.
4960 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
4961 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
4962 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
4963 received HWCAP as its argument.
4964
4965 2016-09-06 Pedro Alves <palves@redhat.com>
4966
4967 * gdb.base/new-ui-pending-input.c: New file.
4968 * gdb.base/new-ui-pending-input.exp: New file.
4969 * gdb.exp (clear_gdb_spawn_id): New procedure.
4970 (with_spawn_id): Check whether gdb_spawn_id exists before
4971 referencing it. If gdb_spawn_id didn't exist on entry, clear it
4972 on exit.
4973
4974 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4975
4976 * gdb.base/float128.c: New file.
4977 * gdb.base/float128.exp: Likewise.
4978 * gdb.base/floatn.c: Likewise.
4979 * gdb.base/floatn.exp: Likewise.
4980
4981 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
4982
4983 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
4984
4985 2016-09-05 Pedro Alves <palves@redhat.com>
4986
4987 PR backtrace/19927
4988 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
4989 unwinders are immediately called as side effect of "source" or
4990 "disable unwinder" commands.
4991 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
4992
4993 2016-09-02 Yao Qi <yao.qi@linaro.org>
4994
4995 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
4996 is true and $type is "float" or "double".
4997
4998 2016-09-02 Yao Qi <yao.qi@linaro.org>
4999
5000 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
5001 true.
5002 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
5003 * gdb.base/call-rt-st.exp: Likewise.
5004 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
5005 return value instead of gdb,skip_float_test.
5006 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
5007 (do_function_calls): Use its return value instead of
5008 gdb,skip_float_test.
5009 * gdb.base/finish.exp: Likewise.
5010 * gdb.base/funcargs.exp: Likewise.
5011 * gdb.base/return.exp: Likewise.
5012 * gdb.base/return2.exp: Likewise.
5013 * gdb.base/varargs.exp: Likewise.
5014 * lib/gdb.exp (gdb_skip_float_test): Change it to
5015 gdb_caching_proc. Detect the broken ptrace on arm-linux.
5016
5017 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5018
5019 * gdb.multi/tids.exp: Test "thread apply all".
5020
5021 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5022
5023 * gdb.base/default.exp (tty): Remove.
5024
5025 2016-08-24 Kevin Buettner <kevinb@redhat.com>
5026
5027 * gdb.python/py-recurse-unwind.c: New file.
5028 * gdb.python/py-recurse-unwind.py: New file.
5029 * gdb.python/py-recurse-unwind.exp: New file.
5030
5031 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
5032
5033 * gdb.base/set-inferior-tty.exp: New file.
5034 * gdb.base/set-inferior-tty.c: New file.
5035
5036 2016-08-23 Pedro Alves <palves@redhat.com>
5037
5038 PR gdb/20494
5039 * gdb.base/new-ui-echo.c: New file.
5040 * gdb.base/new-ui-echo.exp: New file.
5041
5042 2016-08-23 Yao Qi <yao.qi@linaro.org>
5043
5044 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
5045 gdbserver_spawn.
5046 * gdb.server/connect-without-multi-process.exp (do_test):
5047 Likewise.
5048
5049 2016-08-23 Yao Qi <yao.qi@linaro.org>
5050
5051 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
5052 standalone_txt. Delete gdb_txt and standalone_txt on host
5053 and target. Spawn the binary on target. Copy files from
5054 target to host.
5055
5056 2016-08-22 Pedro Alves <palves@redhat.com>
5057
5058 PR gdb/20505
5059 * gdb.base/vdso-warning.exp: Test core dumps too. Use
5060 with_test_prefix. Factor out bits to ...
5061 (test_no_vdso): ... this new procedure.
5062
5063 2016-08-19 Carl Love <cel@us.ibm.com>
5064
5065 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
5066 maintaining separate logic for constructing the output path.
5067 * gdb.arch/powerpc-d128-regs.exp: Likewise.
5068 * gdb.arch/ppc-dfp.exp: Likewise.
5069 * gdb.arch/ppc-fp.exp: Likewise.
5070 * gdb.arch/vsx-regs.exp: Likewise.
5071 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
5072 binprefix for generating the additional binary files.
5073
5074 2016-08-19 Pedro Alves <palves@redhat.com>
5075
5076 * gdb.trace/mi-trace-frame-collected.exp
5077 (test_trace_frame_collected): On x32, expect two registers.
5078
5079 2016-08-18 Carl Love <cel@us.ibm.com>
5080
5081 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
5082 and sync up the test with tests in gas/testsuite/gas/ppc.
5083 * gdb.arch/powerpc-power.exp: Likewise.
5084
5085 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5086
5087 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
5088 expected error message.
5089
5090 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
5091
5092 * gdb.multi/remove-inferiors.exp: New file.
5093 * gdb.multi/remove-inferiors.c: New file.
5094
5095 2016-08-12 Yao Qi <yao.qi@linaro.org>
5096
5097 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
5098 argument list.
5099
5100 2016-08-10 Pedro Alves <palves@redhat.com>
5101
5102 PR gdb/19187
5103 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
5104 setup_kfails.
5105
5106 2016-08-09 Pedro Alves <palves@redhat.com>
5107 Simon Marchi <simon.marchi@ericsson.com>
5108
5109 PR gdb/20418
5110 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
5111 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
5112
5113 2016-08-09 Pedro Alves <palves@redhat.com>
5114
5115 PR mi/20431
5116 * gdb.mi/mi-cmd-error.exp: New file.
5117
5118 2016-08-09 Pedro Alves <palves@redhat.com>
5119
5120 PR gdb/18653
5121 * gdb.base/signals-state-child.c: New file.
5122 * gdb.base/signals-state-child.exp: New file.
5123 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
5124
5125 2016-08-09 Pedro Alves <palves@redhat.com>
5126
5127 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
5128
5129 2016-08-03 Tom Tromey <tom@tromey.com>
5130
5131 PR python/18565:
5132 * gdb.python/py-frame-inline.exp: Add Frame.function test.
5133
5134 2016-08-01 Yao Qi <yao.qi@linaro.org>
5135
5136 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
5137 variable mode to "multi-process" if $multi_process is 1, otherwise
5138 set it to "single-process".
5139
5140 2016-08-01 Yao Qi <yao.qi@linaro.org>
5141
5142 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
5143 * gdb.cp/cpexprs.exp: Likewise.
5144 * gdb.cp/m-static.exp: Likewise.
5145
5146 2016-07-26 Tom Tromey <tom@tromey.com>
5147
5148 PR python/20190:
5149 * gdb.threads/tls.exp (check_thread_local): Add python symbol
5150 test.
5151
5152 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
5153
5154 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
5155 selecting assembly source files.
5156 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
5157 assembly source files.
5158 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
5159 assembly source files.
5160 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
5161 selecting assembly source files.
5162
5163 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
5164
5165 * gdb.base/new-ui.exp (do_test_invalid_args): New
5166 procedure.
5167
5168 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
5169
5170 * gdb.btrace/reconnect.c: New file.
5171 * gdb.btrace/reconnect.exp: New file.
5172
5173 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
5174
5175 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
5176 to test_catch_syscall_group.
5177 (test_catch_syscall_group): New.
5178
5179 2016-07-21 Tom Tromey <tom@tromey.com>
5180
5181 * gdb.rust/simple.rs (main): Use empty struct expression.
5182 * gdb.rust/simple.exp: Add tests for empty struct expression.
5183
5184 2016-07-21 Yao Qi <yao.qi@linaro.org>
5185
5186 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
5187 if gdb_skip_xml_test is true on some targets.
5188
5189 2016-07-21 Yao Qi <yao.qi@linaro.org>
5190
5191 * gdb.server/solib-list.exp: Unset last_loaded_file.
5192
5193 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5194
5195 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
5196 "step into captured_main (args)".
5197
5198 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5199
5200 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
5201
5202 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5203
5204 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
5205
5206 2016-07-19 Pedro Alves <palves@redhat.com>
5207
5208 * gdb.opt/inline-break.exp: Remove optimize=-O2.
5209 * gdb.opt/inline-bt.exp: Likewise.
5210 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
5211 additional_flags=-Winline.
5212 * gdb.opt/inline-locals.exp: Likewise.
5213 * gdb.opt/inline-markers.c (ATTR): Define.
5214 (inlined_fn): Use it.
5215
5216 2016-07-19 Yao Qi <yao.qi@linaro.org>
5217
5218 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
5219 (test_with_self): Remove some code. Remove argument executable.
5220 (top-level): Use do_self_tests.
5221
5222 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
5223 Don Breazeal <donb@codesourcery.com>
5224
5225 * gdb.base/maint.exp: Escape paths used in regular expressions.
5226 * gdb.stabs/weird.exp: Likewise.
5227
5228 2016-07-13 Tom Tromey <tom@tromey.com>
5229
5230 PR python/15620, PR python/18620:
5231 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
5232 (test_bkpt_events): New procs.
5233
5234 2016-07-13 Tom Tromey <tom@tromey.com>
5235
5236 PR python/17698:
5237 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
5238 test.
5239 (test_watchpoints): Likewise.
5240 (test_bkpt_pending): New proc.
5241
5242 2016-07-13 Tom Tromey <tom@tromey.com>
5243
5244 PR cli/18053:
5245 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
5246 completion test.
5247
5248 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5249
5250 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
5251 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
5252 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
5253 f_label.
5254 (g): Rename g_end_lbl to g_label.
5255 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
5256 low_pc and high_pc.
5257 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
5258
5259 2016-07-12 Tom Tromey <tom@tromey.com>
5260
5261 PR python/19293:
5262 * gdb.python/py-unwind-maint.exp: Update tests.
5263
5264 2016-07-12 Yao Qi <yao.qi@linaro.org>
5265
5266 * lib/selftest-support.exp (selftest_setup): Match the output
5267 when captured_main is inlined.
5268
5269 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5270
5271 * gdb.fortran/derived-types.exp (result_line, result_line_2):
5272 New variables.
5273 (print this%a, print this%b, print this): New tests.
5274 * gdb.fortran/derived-types.f90 (this): New object and
5275 initialization.
5276
5277 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5278
5279 * gdb.ada/arraydim.exp: Remove extra directory level in build
5280 directory.
5281
5282 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
5283
5284 * lib/ada.exp: Remove extra directory level in build directory.
5285 * gdb.ada/cond_lang.exp: Likewise.
5286 * gdb.ada/exec_changed.exp: Likewise.
5287 * gdb.ada/lang_switch.exp: Likewise.
5288
5289 2016-07-06 Manish Goregaokar <manish@mozilla.com>
5290
5291 * simple.rs: Add test for raw pointer subscripting.
5292 * simple.exp: Add test expectations.
5293
5294 2016-07-05 Yao Qi <yao.qi@linaro.org>
5295
5296 * gdb.mi/mi-reverse.exp: Match =record-started output.
5297
5298 2016-07-01 Pedro Alves <palves@redhat.com>
5299
5300 * gdb.base/jit-reader.exp (info_registers_current_frame): New
5301 procedure.
5302 (jit_reader_test): Test the jit reader's unwinder.
5303 * gdb.base/jithost.c (jit_function_00_code): New global.
5304 (main): Use memcpy to fill in the mmapped code, instead of poking
5305 bytes manually here.
5306 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
5307 value.
5308 (read_debug_info): Save the function's range.
5309 (read_sp): New function.
5310 (unwind_frame): Use it. Also unwind RBP.
5311 (get_frame_id): Use read_sp.
5312 (gdb_init_reader): Use calloc instead of malloc.
5313 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
5314 parameter. Use gdb_test_multiple.
5315
5316 2016-07-01 Pedro Alves <palves@redhat.com>
5317 Antoine Tremblay <antoine.tremblay@ericsson.com>
5318
5319 * gdb.threads/process-dies-while-detaching.c: New file.
5320 * gdb.threads/process-dies-while-detaching.exp: New file.
5321
5322 2016-07-01 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.multi/watchpoint-multi-exit.c: New file.
5325 * gdb.multi/watchpoint-multi-exit.exp: New file.
5326
5327 2016-06-30 Pedro Alves <palves@redhat.com>
5328
5329 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
5330 unset inferior_spawn_id.
5331
5332 2016-06-30 Pedro Alves <palves@redhat.com>
5333
5334 * lib/mi-support.exp (default_mi_gdb_start): Declare global
5335 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
5336
5337 2016-06-29 Yao Qi <yao.qi@linaro.org>
5338
5339 * gdb.base/return.c: Add copyright header.
5340
5341 2016-06-29 Tom Tromey <tom@tromey.com>
5342
5343 PR python/20129:
5344 * gdb.python/py-framefilter.exp: Add tests for setting priority
5345 and disabling of non-existent frame filter.
5346
5347 2016-06-29 Yao Qi <yao.qi@linaro.org>
5348
5349 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
5350 0x0f07ff.
5351
5352 2016-06-28 Yao Qi <yao.qi@linaro.org>
5353
5354 * gdb.base/catch-syscall.exp: Remove check on isnative and target
5355 triplets. Start gdb, execute catch syscall, and continue. Check
5356 gdb's output to determine catch syscall is supported.
5357
5358 2016-06-27 Manish Goregaokar <manish@mozilla.com>
5359
5360 * gdb.rust/simple.rs: Add test for returning unit in a function.
5361 * gdb.rust/simple.exp: Add expectation for functions returning
5362 unit.
5363
5364 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
5365
5366 * gdb.python/py-breakpoint-create-fail.c,
5367 gdb.python/py-breakpoint-create-fail.exp,
5368 gdb.python/py-breakpoint-create-fail.py: New testcase.
5369
5370 2016-06-25 Manish Goregaokar <manish@mozilla.com>
5371
5372 PR gdb/20239
5373 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
5374 * gdb.rust/simple.exp: Add test expectations for new NonZero
5375 tests.
5376
5377 2016-06-24 David Taylor <dtaylor@emc.com>
5378
5379 * gdb.base/offsets.exp: New file.
5380 * gdb.base/offsets.c: New file.
5381
5382 2016-06-23 Tom Tromey <tom@tromey.com>
5383
5384 PR gdb/16483:
5385 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
5386 before any filters are loaded.
5387
5388 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
5389
5390 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
5391 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
5392 structs.
5393 * gdb.fortran/derived-type-function.exp: New file.
5394 * gdb.fortran/derived-type-function.f90: New file.
5395
5396
5397 2016-06-21 Pedro Alves <palves@redhat.com>
5398
5399 * gdb.base/new-ui.exp: New file.
5400 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
5401 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
5402 (with_spawn_id): New procedure.
5403
5404 2016-06-21 Pedro Alves <palves@redhat.com>
5405
5406 * gdb.mi/mi-exec-run.exp: New file.
5407
5408 2016-06-21 Pedro Alves <palves@redhat.com>
5409
5410 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
5411 breakpoint command's output on the main UI.
5412 (test_break): New procedure, factored out from calls in the top
5413 level.
5414 (top level): Use foreach_with_prefix to test MI as main UI and as
5415 separate UI.
5416
5417 2016-06-21 Pedro Alves <palves@redhat.com>
5418
5419 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
5420 (test_awatch_creation_and_listing)
5421 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
5422 Remove 'type' parameter.
5423 (test_watchpoint_all): New parameter mi_mode. Remove
5424 with_test_prefix.
5425 (top level): Use foreach_with_prefix, and add main/separate UI MI
5426 testing axis.
5427
5428 2016-06-21 Pedro Alves <palves@redhat.com>
5429
5430 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
5431 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
5432 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
5433 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
5434 (gdb_main_spawn_id, mi_spawn_id): Declare and
5435 comment.
5436 (mi_create_inferior_pty): New procedure,
5437 factored out from default_mi_gdb_start.
5438 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
5439 procedures.
5440 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
5441 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
5442 Use mi_create_inferior_pty.
5443 (mi_gdb_start): Use eval to pass down args list.
5444
5445 2016-06-21 Pedro Alves <palves@redhat.com>
5446
5447 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
5448 * gdb.opt/inline-cmds.exp: Add MI tests.
5449
5450 2016-06-21 Pedro Alves <palves@redhat.com>
5451
5452 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
5453
5454 2016-06-21 Pedro Alves <palves@redhat.com>
5455
5456 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
5457 (top level): Use it instead of mi_execute_to.
5458
5459 2016-06-21 Pedro Alves <palves@redhat.com>
5460
5461 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
5462 (cont_handler_str): New.
5463 (signal_stop_handler): Set stop_handler_str instead of printing to
5464 stdout.
5465 (continue_handler): Set cont_handler_str instead of printing to
5466 stdout.
5467 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
5468 mi_send_resuming_command. Print stop_handler_str and
5469 cont_handler_str instead of expecting the python events print
5470 directly.
5471
5472 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
5473
5474 * gdb.base/jit-reader.exp: New file.
5475 * gdb.base/jithost.c: New file.
5476 * gdb.base/jithost.h: New file.
5477 * gdb.base/jitreader.c : New file.
5478 * gdb.base/jit-protocol.h: New file.
5479
5480 2016-06-17 Yao Qi <yao.qi@linaro.org>
5481
5482 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
5483 parameters follow_fork and detach_on_fork. Set follow-fork-mode
5484 and detach-on-fork. Adjust tests.
5485 (top level): Invoke break_cond_on_syscall with combinations of
5486 syscall, follow-fork-mode and detach-on-fork.
5487
5488 2016-06-17 Yao Qi <yao.qi@linaro.org>
5489
5490 * gdb.base/step-over-exit.c: New.
5491 * gdb.base/step-over-exit.exp: New.
5492
5493 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
5494
5495 * gdb.base/float.exp: Add target check for nds32*-*-*.
5496 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
5497
5498 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
5499
5500 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
5501 for unsupported target features.
5502 * gdb.base/call-rt-st.exp: Likewise.
5503 * gdb.base/call-sc.exp: Likewise.
5504 * gdb.base/call-signal-resume.exp: Likewise.
5505 * gdb.base/call-strs.exp: Likewise.
5506 * gdb.base/callexit.exp: Likewise.
5507 * gdb.base/callfuncs.exp: Likewise.
5508 * gdb.base/nodebug.exp: Likewise.
5509 * gdb.base/printcmds.exp: Likewise.
5510 * gdb.base/ptype.exp: Likewise.
5511 * gdb.base/structs.exp: Likewise.
5512 * gdb.base/unwindonsignal.exp: Likewise.
5513 * gdb.cp/gdb2495.exp: Likewise.
5514 * gdb.cp/templates.exp: Likewise.
5515 * gdb.cp/virtfunc.exp: Likewise.
5516 * gdb.threads/hand-call-in-threads.exp: Likewise.
5517 * gdb.threads/interrupted-hand-call.exp: Likewise.
5518 * gdb.threads/thread-unwindonsignal.exp: Likewise.
5519
5520 2016-06-10 Tom Tromey <tom@tromey.com>
5521
5522 PR rust/20110:
5523 * gdb.rust/expr.exp: Add test for integer constant larger than
5524 i32.
5525
5526 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
5527
5528 * gdb.fortran/nested-funcs.exp: New.
5529 * gdb.fortran/nested-funcs.f90: New.
5530
5531 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
5532
5533 * gdb.base/examine-backward.c: New file.
5534 * gdb.base/examine-backward.exp: New file.
5535
5536 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
5537
5538 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
5539 matching.
5540
5541 2016-06-02 Tom Tromey <tom@tromey.com>
5542
5543 PR python/18984:
5544 * gdb.python/py-shared.exp: Add solib_name test.
5545
5546 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
5547
5548 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
5549
5550 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
5551
5552 PR c++/19893
5553 * gdb.dwarf2/implref.exp: Rename to...
5554 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
5555 * gdb.dwarf2/implref-array.c: New file.
5556 * gdb.dwarf2/implref-array.exp: Likewise.
5557 * gdb.dwarf2/implref-global.c: Likewise.
5558 * gdb.dwarf2/implref-global.exp: Likewise.
5559 * gdb.dwarf2/implref-struct.c: Likewise.
5560 * gdb.dwarf2/implref-struct.exp: Likewise.
5561
5562 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5563
5564 * gdb.trace/trace-condition.exp: Add 64bit tests.
5565
5566 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5567
5568 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
5569 bits types.
5570 (main): Adapt to 8 to 64 bits types.
5571 * gdb.trace/trace-condition.exp: Add new tests.
5572
5573 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5574
5575 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
5576
5577 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5578
5579 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
5580 Move condition tests...
5581 * gdb.trace/trace-condition.exp: Here.
5582
5583 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
5584
5585 * gdb.trace/trace-condition.exp: Add counter-case tests.
5586
5587 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5588
5589 PR c++/15231
5590 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5591 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
5592
5593 2016-05-27 Pedro Alves <palves@redhat.com>
5594
5595 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5596 New procedure.
5597 (top level): Call it, and bail out of DejaGnu is known to be bad.
5598
5599 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
5600
5601 * gdb.base/whatis.c: Extend the test case.
5602 * gdb.base/whatis.exp: Add additional tests.
5603
5604 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5605
5606 * gdb.fortran/type.f90: Add pointer variable.
5607 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
5608
5609 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5610
5611 * gdb.fortran/vla-type.exp: Fix testcase name.
5612
5613 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5614
5615 * gdb.fortran/vla-type.exp: Access elements in nested structs.
5616
5617 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5618
5619 * gdb.fortran/type.f90: Add nested structures.
5620 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
5621 * gdb.fortran/derived-type.exp: Adapt expected output.
5622 * gdb.fortran/vla-type.exp: Adapt expected output.
5623
5624 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5625
5626 * gdb.fortran/whatis_type.exp: Adapt expected output.
5627
5628 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5629
5630 * gdb.fortran/print_type.exp: Fix expected output.
5631 * gdb.fortran/whatis_type.exp: Fix expected output.
5632
5633 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
5634
5635 * gdb.fortran/whatis_type.exp: Use multi_line.
5636
5637 2016-05-24 Tom Tromey <tom@tromey.com>
5638
5639 PR python/17386:
5640 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
5641 use value as an index.
5642
5643 2016-05-23 Tom Tromey <tom@tromey.com>
5644
5645 PR python/17981:
5646 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
5647 no-breakpoint case.
5648
5649 2016-05-24 Pedro Alves <palves@redhat.com>
5650
5651 PR gdb/19828
5652 * gdb.threads/clone-attach-detach.c: New file.
5653 * gdb.threads/clone-attach-detach.exp: New file.
5654
5655 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
5656
5657 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5658
5659 2016-05-23 Tom Tromey <tom@tromey.com>
5660
5661 PR python/19438, PR python/18393:
5662 * gdb.python/py-progspace.exp: Add "dir" test.
5663 * gdb.python/py-objfile.exp: Add "dir" test.
5664
5665 2016-05-23 Yao Qi <yao.qi@linaro.org>
5666
5667 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
5668 * gdb.arch/thumb2-it.exp: Likewise.
5669
5670 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
5671
5672 * gdb.mi/mi-threads-interrupt.c: New file.
5673 * gdb.mi/mi-threads-interrupt.exp: New file.
5674
5675 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
5676
5677 PR gdb/18077
5678 * gdb.mi/mi-async-run.exp: New file.
5679 * gdb.mi/mi-async-run.c: New file.
5680
5681 2016-05-17 Tom Tromey <tom@tromey.com>
5682 Manish Goregaokar <manishsmail@gmail.com>
5683
5684 * lib/rust-support.exp: New file.
5685 * lib/gdb.exp (skip_rust_tests): New proc.
5686 (build_executable_from_specs): Handle rust.
5687 * lib/future.exp (gdb_find_rustc): New proc.
5688 (gdb_default_target_compile): Handle rust.
5689 * gdb.rust/expr.exp: New file.
5690 * gdb.rust/generics.exp: New file.
5691 * gdb.rust/generics.rs: New file.
5692 * gdb.rust/methods.exp: New file.
5693 * gdb.rust/methods.rs: New file.
5694 * gdb.rust/modules.exp: New file.
5695 * gdb.rust/modules.rs: New file.
5696 * gdb.rust/simple.exp: New file.
5697 * gdb.rust/simple.rs: New file.
5698
5699 2016-05-17 Tom Tromey <tom@tromey.com>
5700
5701 * gdb.base/default.exp (set language): Add rust.
5702
5703 2016-05-17 Tom Tromey <tom@tromey.com>
5704
5705 * gdb.gdb/unittest.exp: New file.
5706
5707 2016-05-16 Yao Qi <yao.qi@linaro.org>
5708
5709 * gdb.base/batch-preserve-term-settings.exp: Remove variable
5710 shell_prompt. Update shell_prompt_re.
5711
5712 2016-05-12 Doug Evans <dje@google.com>
5713
5714 PR symtab/19999
5715 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
5716 $options when building executable.
5717 * gdb.dwarf2/fission-loclists-pie.S: New file.
5718 * gdb.dwarf2/fission-loclists-pie.exp: New file.
5719
5720 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5721
5722 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
5723 of [is_remote target],
5724
5725 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
5726
5727 * lib/gdb.exp (use_gdb_stub): New procedure.
5728
5729 2016-05-03 Yunlian Jiang <yunlian@google.com>
5730 Doug Evans <dje@google.com>
5731
5732 PR symtab/19914
5733 * gdb.dwarf2/dwp-sepdebug.c: New file.
5734 * gdb.dwarf2/dwp-sepdebug.exp: New file.
5735
5736 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5737
5738 * gdb.base/detach.exp: Remove is_remote check.
5739
5740 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
5741
5742 * gdb.base/annota-input-while-running.exp: Don't check for
5743 [is_remote target]. Enable annotations after running to main.
5744 Remove unused "set test..." line.
5745
5746 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5747
5748 * gdb.trace/trace-enable-disable.exp: New file.
5749 * gdb.trace/trace-enable-disable.c: New file.
5750
5751 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
5752
5753 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
5754 use it in info sharedlibrary test.
5755 * gdb.trace/ftrace-lock.exp: Likewise.
5756 * gdb.trace/ftrace.exp: Likewise.
5757 * gdb.trace/range-stepping.exp: Likewise.
5758 * gdb.trace/trace-break.exp: Likewise.
5759 * gdb.trace/trace-condition.exp: Likewise.
5760 * gdb.trace/trace-mt.exp: Likewise.
5761
5762 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5763
5764 * lib/gdb.exp (gdb_load_shlibs): Rename to...
5765 (gdb_load_shlib): ... this.
5766 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
5767 gdb_load_shlib.
5768 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
5769 * gdb.base/ctxobj.exp: Likewise.
5770 * gdb.base/dprintf-pending.exp: Likewise.
5771 * gdb.base/dso2dso.exp: Likewise.
5772 * gdb.base/fixsection.exp: Likewise.
5773 * gdb.base/gcore-relro.exp: Likewise.
5774 * gdb.base/gdb1555.exp: Likewise.
5775 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5776 * gdb.base/gnu-ifunc.exp: Likewise.
5777 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
5778 * gdb.base/jit-so.exp (one_jit_test): Likewise.
5779 * gdb.base/pending.exp: Likewise.
5780 * gdb.base/print-file-var.exp: Likewise.
5781 * gdb.base/print-symbol-loading.exp: Likewise.
5782 * gdb.base/shlib-call.exp: Likewise.
5783 * gdb.base/shreloc.exp: Likewise.
5784 * gdb.base/so-impl-ld.exp: Likewise.
5785 * gdb.base/solib-disc.exp: Likewise.
5786 * gdb.base/solib-nodir.exp: Likewise.
5787 * gdb.base/solib-overlap.exp: Likewise.
5788 * gdb.base/solib-symbol.exp: Likewise.
5789 * gdb.base/solib-weak.exp (do_test): Likewise.
5790 * gdb.base/sym-file.exp: Likewise.
5791 * gdb.base/symtab-search-order.exp: Likewise.
5792 * gdb.base/type-opaque.exp: Likewise.
5793 * gdb.base/unload.exp: Likewise.
5794 * gdb.base/watchpoint-solib.exp: Likewise.
5795 * gdb.compile/compile.exp: Likewise.
5796 * gdb.cp/gdb2384.exp: Likewise.
5797 * gdb.cp/infcall-dlopen.exp: Likewise.
5798 * gdb.cp/re-set-overloaded.exp: Likewise.
5799 * gdb.fortran/library-module.exp: Likewise.
5800 * gdb.opt/solib-intra-step.exp: Likewise.
5801 * gdb.python/py-finish-breakpoint.exp: Likewise.
5802 * gdb.python/py-shared.exp: Likewise.
5803 * gdb.reverse/solib-precsave.exp: Likewise.
5804 * gdb.reverse/solib-reverse.exp: Likewise.
5805 * gdb.server/solib-list.exp: Likewise.
5806 * gdb.threads/dlopen-libpthread.exp: Likewise.
5807 * gdb.threads/tls-shared.exp: Likewise.
5808 * gdb.threads/tls-so_extern.exp: Likewise.
5809 * gdb.trace/change-loc.exp: Likewise.
5810 * gdb.trace/ftrace-lock.exp: Likewise.
5811 * gdb.trace/ftrace.exp: Likewise.
5812 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
5813 * gdb.trace/pending.exp: Likewise.
5814 * gdb.trace/range-stepping.exp: Likewise.
5815 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
5816 (strace_info_marker): Likewise.
5817 (strace_probe_marker): Likewise.
5818 (strace_trace_on_same_addr): Likewise.
5819 (strace_trace_on_diff_addr): Likewise.
5820 * gdb.trace/trace-break.exp: Likewise.
5821 * gdb.trace/trace-condition.exp: Likewise.
5822 * gdb.trace/trace-mt.exp: Likewise.
5823
5824 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
5825
5826 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
5827 result of gdb_remote_download.
5828 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
5829 * gdb.base/dso2dso.exp: Likewise.
5830 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5831 * gdb.base/print-file-var.exp: Likewise.
5832 * gdb.base/shlib-call.exp: Likewise.
5833 * gdb.base/shreloc.exp: Likewise.
5834 * gdb.base/solib-overlap.exp: Likewise.
5835 * gdb.base/solib-weak.exp (do_test): Likewise.
5836 * gdb.base/unload.exp: Likewise.
5837
5838 2016-04-27 Yao Qi <yao.qi@linaro.org>
5839
5840 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
5841 exists.
5842
5843 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5844
5845 * vla-type.exp: Print structure from toplevel.
5846
5847 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5848
5849 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
5850 of dynamic types.
5851 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
5852 of dynamic types.
5853
5854 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
5855
5856 * gdb.fortran/vla-type.f90: New file.
5857 * gdb.fortran/vla-type.exp: New file.
5858
5859 2016-04-25 Yao Qi <yao.qi@linaro.org>
5860
5861 * gdb.base/branch-to-self.c: New file.
5862 * gdb.base/branch-to-self.exp: New file.
5863
5864 2016-04-22 Yao Qi <yao.qi@linaro.org>
5865
5866 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
5867 more after $hex.
5868
5869 2016-04-22 Yao Qi <yao.qi@linaro.org>
5870
5871 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
5872 * gdb.base/annota3.exp: Likewise.
5873
5874 2016-04-22 Yao Qi <yao.qi@linaro.org>
5875
5876 * gdb.reverse/step-precsave.exp: Do one step and test program
5877 stops in "callee" and do multiple steps until program goes out
5878 of "callee".
5879 * gdb.reverse/step-reverse.exp: Likewise.
5880
5881 2016-04-22 Yao Qi <yao.qi@linaro.org>
5882
5883 * gdb.trace/signal.exp: Also pass if
5884 $tracepoint_hits($i) > $iterations.
5885
5886 2016-04-22 Yao Qi <yao.qi@linaro.org>
5887
5888 * gdb.trace/signal.c: New file.
5889 * gdb.trace/signal.exp: New file.
5890
5891 2016-04-19 Doug Evans <xdje42@gmail.com>
5892
5893 * gdb.base/bad-file.exp: New file.
5894
5895 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
5896
5897 * gdb.dwarf2/implref.exp: New file.
5898
5899 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5900
5901 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
5902 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
5903 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
5904 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
5905 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
5906 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
5907 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
5908 * lib/fortran.exp (fortran_int4): New procedure.
5909 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
5910 (fortran_logical4): Likewise.
5911
5912 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
5913
5914 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
5915
5916 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
5917
5918 * lib/compiler.c: Add Intel specific preprocessor macros.
5919 * lib/compiler.cc: Likewise.
5920
5921 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
5922
5923 * gdb.server/connect-with-no-symbol-file.c: New file.
5924 * gdb.server/connect-with-no-symbol-file.exp: New file.
5925
5926 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5927
5928 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
5929
5930 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
5931
5932 * boards/gdbserver-base.exp (${board}_download): Copy source file to
5933 standard output directory.
5934
5935 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
5936
5937 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
5938
5939 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
5940
5941 * gdb.btrace/instruction_history.c (loop): Add declaration.
5942
5943 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
5944
5945 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
5946
5947 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
5948
5949 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
5950 parentheses to print.
5951 (continue_handler): Likewise.
5952
5953 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
5954
5955 * gdb.server/solib-list.exp: Remove is_remote check.
5956 Pass shlib= to gdb_compile. Don't link shared library with
5957 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
5958 Run binary filename through "readlink -f" on the target.
5959
5960 2016-04-08 Pedro Alves <palves@redhat.com>
5961
5962 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
5963 interpreter filename as argument to gdbserver_spawn.
5964 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
5965 Return empty if $last_loaded_file does not exist.
5966
5967 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5968
5969 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
5970 * gdb.base/jit-main.c: Use exit after usage.
5971
5972 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5973
5974 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
5975 GDBHISTSIZE prior to the tests.
5976 * gdb.base/gdbinit-history.exp: Likewise.
5977
5978 2016-04-07 Pedro Alves <palves@redhat.com>
5979
5980 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
5981 instead of build_executable. Use gdb_load_shlibs.
5982
5983 2016-04-07 Yao Qi <yao.qi@linaro.org>
5984
5985 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
5986 Execute "si" command.
5987
5988 2016-04-07 Yao Qi <yao.qi@linaro.org>
5989
5990 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
5991 number instead of the comments on some line.
5992
5993 2016-04-06 Don Breazeal <donb@codesourcery.com>
5994
5995 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
5996 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
5997
5998 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
5999
6000 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
6001 standard_output_file. Remove unused binfile variable.
6002
6003 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
6004
6005 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
6006 * gdb.python/py-mi-objfile.exp: Match "list main" output
6007 in console format.
6008
6009 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
6010
6011 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
6012 absolute.
6013
6014 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6015
6016 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
6017 absolute.
6018 * gdb.trace/ftrace.exp: Likewise.
6019 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
6020 targets as well.
6021 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
6022 (gdb_load_shlibs): Copy libraries to test directory when testing
6023 natively. Only set solib-search-path if testing remotely.
6024 * lib/mi-support.exp (mi_load_shlibs): Likewise.
6025
6026 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
6027
6028 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
6029 gdb_download. Use it even if the target is not remote.
6030 * gdb.base/jit.exp (compile_jit_test): Likewise.
6031 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
6032 output directory if the destination board is local, otherwise use
6033 the standard remote_download from DejaGnu.
6034 (gdb_download): Remove.
6035 (gdb_load_shlibs): Use gdb_remote_download instead of
6036 gdb_download.
6037 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6038 Use gdb_remote_download instead of gdb_download. Use it even if
6039 the target is not remote.
6040 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
6041 instead of gdb_download.
6042
6043 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
6044
6045 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
6046 (test_insert_delete_modify): Call mi_load_shlibs before trying to
6047 run.
6048
6049 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
6050
6051 PR gdb/19820
6052 * gdb.base/printcmds.exp: Add artificial arrays tests.
6053
6054 2016-03-31 Pedro Alves <palves@redhat.com>
6055
6056 PR gdb/19858
6057 * gdb.base/jit-main.c: Include unistd.h.
6058 (ATTACH): Define to 0 if not already defined.
6059 (wait_for_gdb, mypid): New globals.
6060 (WAIT_FOR_GDB): New macro.
6061 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
6062 some breakpoint locations.
6063 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
6064 New procedures.
6065 (one_jit_test): Add REATTACH parameter, and handle it. Use
6066 continue_to_test_location.
6067 (top level): Test attach, and adjusts calls to one_jit_test.
6068
6069 2016-03-31 Pedro Alves <palves@redhat.com>
6070
6071 PR gdb/19858
6072 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
6073 BINSUFFIX parameter, and handle it.
6074 (top level): Adjust calls compile_jit_test.
6075
6076 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
6077
6078 PR python/19743
6079 * gdb.python/py-mi-events-gdb.py: New file.
6080 * gdb.python/py-mi-events.c: New file.
6081 * gdb.python/py-mi-events.exp: New file.
6082
6083 2016-03-30 Yao Qi <yao.qi@linaro.org>
6084
6085 * gdb.reverse/until-precsave.exp: Match function name only.
6086 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
6087 Move malloc to a condition block.
6088 * gdb.reverse/until-reverse.exp: Match function name only.
6089
6090 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
6091
6092 * gdb.trace/ftrace.exp: Set arg0exp for s390.
6093 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
6094 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
6095 variable for GPR 0 instead of assuming it is register 0.
6096 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
6097 * lib/trace-support.exp: Add s390 registers.
6098
6099 2016-03-29 Yao Qi <yao.qi@linaro.org>
6100
6101 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
6102
6103 2016-03-24 Yao Qi <yao.qi@linaro.org>
6104
6105 * gdb.reverse/break-reverse.exp: Add quotation mark in the
6106 test message.
6107
6108 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6109
6110 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
6111 maintaining separate logic for constructing the output path.
6112
6113 2016-03-16 Don Breazeal <donb@codesourcery.com>
6114
6115 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
6116 Retry fork and waitpid on interrupted system call errors.
6117 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6118 Use with_timeout_factor to increase timeout by factor of 10.
6119
6120 2016-03-15 Don Breazeal <donb@codesourcery.com>
6121
6122 * gdb.cp/scope-err.cc: New test program.
6123 * gdb.cp/scope-err.exp: New test script.
6124 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
6125 lines and "set breakpoint here" comment.
6126 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
6127 Fixed some whitespace and format issues.
6128 * gdb.mi/mi-linespec-err-cp.cc: New test program.
6129 * gdb.mi/mi-linespec-err-cp.exp: New test script.
6130
6131 2016-03-15 Doug Evans <dje@google.com>
6132
6133 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
6134 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
6135 All callers updated. Add tests for enums, mixed flags register.
6136
6137 2016-03-15 Doug Evans <dje@google.com>
6138
6139 * gdb.base/skip.c (main): Call test_skip_file_and_function.
6140 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
6141
6142 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
6143
6144 * gdb.base/default.exp: Add $_as_string to the list of expected
6145 convenience functions.
6146
6147 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
6148
6149 * gdb.base/maint.exp: New tests for 'maint info line-table'.
6150
6151 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
6152
6153 * gdb.python/py-as-string.exp: New file.
6154 * gdb.python/py-as-string.c: New file.
6155
6156 2016-03-09 Pedro Alves <palves@redhat.com>
6157
6158 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
6159 signal" -> "Thread NN received signal" output change.
6160 * gdb.threads/ia64-sigill.exp: Likewise.
6161 * gdb.threads/linux-dp.exp: Likewise.
6162 * gdb.threads/manythreads.exp: Likewise.
6163 * gdb.threads/pending-step.exp: Likewise.
6164 * gdb.threads/print-threads.exp: Likewise.
6165 * gdb.threads/sigstep-threads.exp: Likewise.
6166 * gdb.threads/staticthreads.exp: Likewise.
6167 * gdb.threads/tls.exp: Likewise.
6168
6169 2016-03-09 Pedro Alves <palves@redhat.com>
6170
6171 * gdb.base/command-line-input.exp: New file.
6172
6173 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6174
6175 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
6176 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
6177 * gdb.trace/pending.exp: Accept leading dot before function name.
6178 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
6179 * lib/trace-support.exp: Set registers for ppc.
6180
6181 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6182
6183 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
6184 use it for disassembly; accept .main in addition to main in backtrace.
6185
6186 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
6187 Marcin Kościelnicki <koriakin@0x04.net>
6188
6189 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
6190 (gdb_recursion_test_ptr): New global variable.
6191 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
6192 gdb_recursion_test.
6193 (gdb_c_test): Ditto.
6194
6195 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6196
6197 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
6198 ordering.
6199
6200 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
6201
6202 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
6203 (bar): Add bar_start_lbl label.
6204 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
6205 of foo/bar for emitting DWARF and tracing.
6206
6207 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
6208
6209 * analyze-racy-logs.py: Set executable bit.
6210
6211 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
6212
6213 * Makefile.in (DEFAULT_RACY_ITER): New variable.
6214 (CHECK_TARGET_TMP): Likewise.
6215 (check-single-racy): New rule.
6216 (check-parallel-racy): Likewise.
6217 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
6218 (do-check-parallel-racy): New rule.
6219 (check-racy/%.exp): Likewise.
6220 * README (Racy testcases): New section.
6221 * analyze-racy-logs.py: New file.
6222
6223 2016-03-03 Doug Evans <dje@google.com>
6224
6225 * gdb.base/skip.exp: Use with_test_prefix.
6226
6227 2016-03-03 Yao Qi <yao.qi@linaro.org>
6228
6229 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
6230 Invoke step_over_syscall "clone" and break_cond_on_syscall
6231 "clone".
6232 * gdb.base/step-over-clone.c: New file.
6233
6234 2016-03-03 Yao Qi <yao.qi@linaro.org>
6235
6236 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
6237 code format.
6238
6239 2016-03-03 Yao Qi <yao.qi@linaro.org>
6240
6241 * gdb.base/disp-step-fork.c: Rename to ...
6242 * gdb.base/step-over-fork.c: ... it. New file.
6243 * gdb.base/disp-step-vfork.c: Rename to ...
6244 * gdb.base/step-over-vfork.c: ... it. New file.
6245 * gdb.base/disp-step-syscall.exp: Rename to ...
6246 * gdb.base/step-over-syscall.exp: ... it. New file.
6247 (disp_step_cross_syscall): Rename to ...
6248 (step_over_syscall): ... it.
6249
6250 2016-03-03 Yao Qi <yao.qi@linaro.org>
6251
6252 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
6253 If target supports condition evaluation on target, invoke
6254 break_cond_on_syscall for fork and vfork.
6255
6256 2016-03-03 Yao Qi <yao.qi@linaro.org>
6257
6258 * gdb.base/disp-step-syscall.exp: Don't invoke
6259 support_displaced_stepping.
6260 (disp_step_cross_syscall): Test with displaced stepping off and
6261 on if supported.
6262
6263 2016-03-03 Yao Qi <yao.qi@linaro.org>
6264
6265 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
6266 proc.
6267 (setup): New proc.
6268 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
6269 and setup.
6270
6271 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6272
6273 * gdb.fortran/vla-history.exp: Remove breakpoint.
6274
6275 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6276
6277 * gdb.fortran/vla-history.exp: Lookup array elements and printing
6278 exceeds timeout.
6279
6280 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6281
6282 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
6283 breakpoint.
6284
6285 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
6286
6287 * gdb.mi/vla.f90: Nullify pointer after declaration.
6288
6289 2016-03-01 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
6292
6293 2016-03-01 Pedro Alves <palves@redhat.com>
6294
6295 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
6296 before anything else.
6297 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
6298 _GNU_SOURCE here.
6299 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
6300 before anything else.
6301 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
6302
6303 2016-03-01 Pedro Alves <palves@redhat.com>
6304
6305 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
6306
6307 2016-03-01 Yao Qi <yao.qi@linaro.org>
6308
6309 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
6310 prepare_for_testing.
6311
6312 2016-03-01 Yao Qi <yao.qi@linaro.org>
6313
6314 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
6315
6316 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6317
6318 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
6319 manually constructing the output path.
6320
6321 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6322
6323 * gdb.arch/s390-stackless.S: New.
6324 * gdb.arch/s390-stackless.exp: New.
6325
6326 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
6327
6328 * gdb.dlang/circular.c: New file.
6329 * gdb.dlang/circular.exp: New file.
6330
6331 2016-02-26 Yao Qi <yao.qi@linaro.org>
6332
6333 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
6334 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
6335 (testcases): Update.
6336
6337 2016-02-26 Yao Qi <yao.qi@linaro.org>
6338
6339 * gdb.reverse/aarch64.c: Rename to ...
6340 * gdb.reverse/insn-reverse.c: ... it.
6341 * gdb.reverse/aarch64.exp: Rename to ...
6342 * gdb.reverse/insn-reverse.exp: ... it.
6343
6344 2016-02-26 Yao Qi <yao.qi@linaro.org>
6345
6346 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
6347 (testcase_ftype): New.
6348 (testcases): New array.
6349 (n_testcases): New.
6350 (main): Call each element in testcases.
6351 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
6352 (read_testcase): New.
6353 Do the tests in a loop.
6354
6355 2016-02-25 Yao Qi <yao.qi@linaro.org>
6356
6357 * gdb.base/branches.c: Remove.
6358
6359 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6360
6361 PR gdb/13808
6362 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
6363
6364 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6365
6366 * gdb.trace/ftrace.exp: Remove unnecessary target check.
6367
6368 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
6369
6370 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
6371 change x86_64 call_insn to 'callq'.
6372
6373 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6374
6375 * gdb.trace/tfile-avx.c: Move to...
6376 * gdb.trace/tracefile-pseudo-reg.c: Here.
6377 * gdb.trace/tfile-avx.exp: Move to...
6378 * gdb.trace/tracefile-pseudo-reg.exp: Here.
6379
6380 2016-02-24 Gary Benson <gbenson@redhat.com>
6381
6382 * gdb.base/attach-pie-noexec.exp: Do not expect an error
6383 message on attach.
6384
6385 2016-02-23 Doug Evans <dje@google.com>
6386
6387 * gdb.base/skip.c (test_skip): New function.
6388 (end_test_skip_file_and_function): New function.
6389 (test_skip_file_and_function): New function.
6390 * gdb.base/skip1.c (test_skip): New function.
6391 (skip1_test_skip_file_and_function): New function.
6392 * gdb.base/skip.exp: Add tests for new skip options.
6393 * gdb.base/skip-solib.exp: Update expected output.
6394 * gdb.perf/skip-command.cc: New file.
6395 * gdb.perf/skip-command.exp: New file.
6396 * gdb.perf/skip-command.py: New file.
6397
6398 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
6399
6400 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
6401 info registers pattern.
6402
6403 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
6404
6405 * lib/future.exp: Add D support.
6406 (gdb_find_gdc): New proc.
6407 (gdb_default_target_compile): Add D support.
6408
6409 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
6410
6411 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
6412 user+system time.
6413 (trace_speed_test): Determine the iteration count for a time
6414 between 15..30 seconds.
6415
6416 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
6417
6418 * gdb.arch/i386-mpx-sigsegv.c: New file.
6419 * gdb.arch/i386-mpx-sigsegv.exp: New file.
6420 * gdb.arch/i386-mpx-simple_segv.c: New file.
6421 * gdb.arch/i386-mpx-simple_segv.exp: New file.
6422
6423 2016-02-18 Yao Qi <yao.qi@linaro.org>
6424
6425 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6426 Don't call setup_kfail.
6427
6428 2016-02-18 Yao Qi <yao.qi@linaro.org>
6429
6430 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6431 Set "set breakpoint condition-evaluation" per $cond_bp_target.
6432
6433 2016-02-16 Doug Evans <dje@google.com>
6434
6435 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
6436 * gdb.base/skip1.c: Ditto.
6437 * gdb.base/skip.exp: Whitespace cleanup.
6438
6439 2016-02-16 Don Breazeal <donb@codesourcery.com>
6440
6441 PR remote/19496
6442 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
6443 Remove kfail for PR remote/19496.
6444
6445 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6446
6447 * lib/gdb.exp (standard_temp_file): Return a path specific to
6448 the runtest invocation.
6449
6450 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
6451
6452 * gdb.trace/save-trace.exp: Change relative path to be in the
6453 standard output directory.
6454
6455 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6456
6457 * gdb.arch/i386-prologue.c: Add missing prototypes.
6458
6459 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6460
6461 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
6462 * gdb.arch/i386-prologue.exp: Likewise.
6463 * gdb.arch/i386-size.exp: Likewise.
6464
6465 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
6466
6467 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
6468 define object file path.
6469 * gdb.btrace/gcore.exp: Use standard_output_file to define core
6470 file path.
6471 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
6472 standard_output_file to define binfile.
6473
6474 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6475
6476 Fix compatibility with recent gfortran-5.3.1.
6477 * gdb.fortran/vla-history.exp (print vla1 allocated)
6478 (print vla2 allocated, print $2, print $3): Remove
6479 (print $4): Rename to ...
6480 (print $2): ... here.
6481 (print $9): Rename to ...
6482 (print $5): ... here.
6483 (print $10): Rename to ...
6484 (print $6): ... here.
6485 * gdb.fortran/vla.f90: Add pvla initialization.
6486
6487 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6488
6489 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
6490 New test.
6491 * gdb.fortran/vla-value-sub.exp: Likewise.
6492
6493 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
6494
6495 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
6496
6497 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
6498
6499 * i386-biarch-core.exp: Define corefile using
6500 standard_output_file.
6501
6502 2016-02-12 Yao Qi <yao.qi@linaro.org>
6503
6504 * gdb.arch/arm-single-step-kernel-helper.c: New.
6505 * gdb.arch/arm-single-step-kernel-helper.exp: New.
6506
6507 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
6508
6509 * gdb.btrace/tailcall-only.exp: New.
6510 * gdb.btrace/tailcall-only.c: New.
6511 * gdb.btrace/x86_64-tailcall-only.S: New.
6512 * gdb.btrace/i686-tailcall-only.S: New.
6513
6514 2016-02-11 Pedro Alves <palves@redhat.com>
6515
6516 * README (Parallel testing): Add missing double quotes.
6517
6518 2016-02-11 Pedro Alves <palves@redhat.com>
6519
6520 * README (Parallel testing): New section.
6521 (GDB_PARALLEL): Rewrite.
6522 (FORCE_PARALLEL): Document.
6523
6524 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
6525
6526 * gdb.trace/tfile-avx.c: New test.
6527 * gdb.trace/tfile-avx.exp: New test.
6528
6529 2016-02-09 Keith Seitz <keiths@redhat.com>
6530
6531 PR breakpoints/19546
6532 * gdb.base/infcall-exec.c: New file.
6533 * gdb.base/infcall-exec2.c: New file.
6534 * gdb.base/infcall-exec.exp: New file.
6535
6536 2016-02-09 Keith Seitz <keiths@redhat.com>
6537
6538 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
6539 (toplevel): Call test_bkpt_address.
6540
6541 2016-02-09 Keith Seitz <keiths@redhat.com>
6542
6543 PR python/19506
6544 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
6545 (toplevel): Call test_bkpt_address.
6546
6547 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
6548
6549 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
6550 to AC_OUTPUT.
6551 * configure: Regenerate.
6552
6553 2016-02-09 Pedro Alves <palves@redhat.com>
6554
6555 PR breakpoints/19548
6556 * gdb.base/execl-update-breakpoints.c (some_function): New
6557 function.
6558 (main): Call it.
6559 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
6560 Tighten expected GDB output.
6561
6562 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6563
6564 * Makefile.in (ALL_SUBDIRS): Remove.
6565 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
6566 (distclean maintainer-clean realclean): Likewise.
6567 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
6568 * configure: Regenerate.
6569 * gdb.ada/Makefile.in: Delete.
6570 * gdb.arch/Makefile.in: Likewise.
6571 * gdb.asm/Makefile.in: Likewise.
6572 * gdb.base/Makefile.in: Likewise.
6573 * gdb.btrace/Makefile.in: Likewise.
6574 * gdb.cell/Makefile.in: Likewise.
6575 * gdb.compile/Makefile.in: Likewise.
6576 * gdb.cp/Makefile.in: Likewise.
6577 * gdb.disasm/Makefile.in: Likewise.
6578 * gdb.dlang/Makefile.in: Likewise.
6579 * gdb.dwarf2/Makefile.in: Likewise.
6580 * gdb.fortran/Makefile.in: Likewise.
6581 * gdb.gdb/Makefile.in: Likewise.
6582 * gdb.go/Makefile.in: Likewise.
6583 * gdb.guile/Makefile.in: Likewise.
6584 * gdb.java/Makefile.in: Likewise.
6585 * gdb.linespec/Makefile.in: Likewise.
6586 * gdb.mi/Makefile.in: Likewise.
6587 * gdb.modula2/Makefile.in: Likewise.
6588 * gdb.multi/Makefile.in: Likewise.
6589 * gdb.objc/Makefile.in: Likewise.
6590 * gdb.opencl/Makefile.in: Likewise.
6591 * gdb.opt/Makefile.in: Likewise.
6592 * gdb.pascal/Makefile.in: Likewise.
6593 * gdb.perf/Makefile.in: Likewise.
6594 * gdb.python/Makefile.in: Likewise.
6595 * gdb.reverse/Makefile.in: Likewise.
6596 * gdb.server/Makefile.in: Likewise.
6597 * gdb.stabs/Makefile.in: Likewise.
6598 * gdb.threads/Makefile.in: Likewise.
6599 * gdb.trace/Makefile.in: Likewise.
6600 * gdb.xml/Makefile.in: Likewise.
6601 * lib/gdb.exp (make_gdb_parallel_path): Add check for
6602 GDB_PARALLEL.
6603 (standard_output_file): Remove check for GDB_PARALLEL, always
6604 return path in outputs/$subdir/$testname.
6605
6606 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
6607
6608 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
6609 (site.exp): Assign abs_srcdir to tcl's srcdir.
6610
6611 2016-02-04 Yao Qi <yao.qi@linaro.org>
6612
6613 * gdb.base/foll-exec-mode.c: Include limits.h.
6614 (main): Add parameters argc and argv. Get directory from
6615 argv[0].
6616 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
6617 compilation.
6618 * gdb.base/foll-exec.c: Include limits.h.
6619 (main): Add parameters argc and argv.
6620 Get directory from argv[0].
6621 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
6622 Adjust tests on the number of lines as source code changed.
6623 * gdb.base/foll-vfork-exit.c: Include limits.h.
6624 (main): Add one line of statement before vfork.
6625 * gdb.base/foll-vfork.c: Include limits.h and string.h.
6626 (main): Add parameters argc and argv. Get directory from
6627 argv[0].
6628 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
6629 (setup_gdb): Set tbreak to skip some source lines.
6630 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
6631 (main): Add parameters argc and argv. Get directory from
6632 argv[0].
6633 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
6634 compilation.
6635 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
6636 (main): Add parameters argc and argv. Get directory from
6637 argv[0].
6638 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
6639 compilation.
6640
6641 2016-02-01 Doug Evans <dje@google.com>
6642
6643 * gdb.base/skip.exp: Clean up multiple references to same test name.
6644
6645 2016-02-01 Pedro Alves <palves@redhat.com>
6646
6647 PR remote/19496
6648 * gdb.threads/forking-threads-plus-breakpoint.exp
6649 (displaced_stepping_supported): New global.
6650 (probe_displaced_stepping_support): New procedure.
6651 (do_test): Add 'displaced' parameter, and use it.
6652 (top level): Check for displaced stepping support. Add displaced
6653 stepping on/off testing axis.
6654
6655 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6656
6657 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
6658 pointer. Don't perform further tests on the unassociated pointer
6659 if the first test fails.
6660
6661 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
6662
6663 * gdb.base/max-value-size.c: New file.
6664 * gdb.base/max-value-size.exp: New file.
6665 * gdb.base/huge.exp: Disable max-value-size for this test.
6666
6667 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
6668
6669 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6670
6671 2016-01-28 Yao Qi <yao.qi@linaro.org>
6672
6673 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
6674
6675 2016-01-25 Pedro Alves <palves@redhat.com>
6676
6677 PR threads/19461
6678 * gdb.base/fork-running-state.c: New file.
6679 * gdb.base/fork-running-state.exp: New file.
6680
6681 2016-01-25 Pedro Alves <palves@redhat.com>
6682
6683 PR gdb/19494
6684 * gdb.base/catch-fork-kill.c: New file.
6685 * gdb.base/catch-fork-kill.exp: New file.
6686
6687 2016-01-25 Pedro Alves <palves@redhat.com>
6688
6689 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
6690 Delete, moved to lib/gdb.exp.
6691 * gdb.threads/forking-threads-plus-breakpoint.exp
6692 (foreach_with_prefix): Likewise.
6693 * gdb.threads/process-dies-while-handling-bp.exp
6694 (foreach_with_prefix): Likewise.
6695 * lib/gdb.exp (foreach_with_prefix): New procedure.
6696
6697 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
6698
6699 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
6700 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
6701
6702 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
6703
6704 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
6705 endian targets.
6706
6707 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6708 Pedro Alves <palves@redhat.com>
6709
6710 Fix testsuite compatibility with Guile.
6711 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
6712 number.
6713
6714 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6715
6716 Fix testsuite compatibility with Guile.
6717 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
6718 (thread 1): New test for backtrace through signal handler.
6719
6720 2016-01-22 Yao Qi <yao.qi@linaro.org>
6721
6722 PR testsuite/19491
6723 * gdb.base/multi-forks.c: Include
6724 ../lib/unbuffer_output.c
6725 (main): Call gdb_unbuffer_output.
6726
6727 2016-01-21 Doug Evans <dje@google.com>
6728
6729 * lib/ada.exp (gdb_compile_ada): Fix typo.
6730
6731 2016-01-21 Joel Brobecker <brobecker@adacore.com>
6732
6733 * gdb.base/break-fun-addr.exp: New file.
6734 * gdb.base/break-fun-addr1.c: New file.
6735 * gdb.base/break-fun-addr2.c: New file.
6736
6737 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
6738
6739 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
6740 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
6741 enum flag values.
6742
6743 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6744
6745 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
6746 when GDB can not set the vector return value. Add more comments
6747 for clarification.
6748
6749 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
6750
6751 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
6752 command.
6753
6754 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6755
6756 * Makefile.in (DO_RUNTEST): Add --status and update usages.
6757
6758 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6759
6760 * Makefile.in (check-single): Pass --status to runtest.
6761 (check/%.exp): Likewise.
6762
6763 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
6764
6765 * Makefile.in (check-parallel): Propagate return code from make
6766 do-check-parallel.
6767
6768 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
6769
6770 * gdb.trace/ftrace.exp: Fix expected message on continue.
6771 * gdb.trace/pending.exp: Fix expected message on continue.
6772 * gdb.trace/trace-break.exp: Fix expected message on continue.
6773
6774 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
6775
6776 * lib/gdb.exp (gdb_test): Remove unused global references.
6777
6778 2016-01-18 Pedro Alves <palves@redhat.com>
6779
6780 * gdb.base/async-shell.exp: Adjust expected output.
6781 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
6782 * gdb.base/siginfo-thread.exp: Adjust expected output.
6783 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
6784 * gdb.java/jnpe.exp: Adjust expected output.
6785 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
6786 * gdb.threads/continue-pending-status.exp: Adjust expected output.
6787 * gdb.threads/leader-exit.exp: Adjust expected output.
6788 * gdb.threads/manythreads.exp: Adjust expected output.
6789 * gdb.threads/pthreads.exp: Adjust expected output.
6790 * gdb.threads/schedlock.exp: Adjust expected output.
6791 * gdb.threads/siginfo-threads.exp: Adjust expected output.
6792 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
6793 expected output.
6794 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
6795 output.
6796 * gdb.threads/sigthread.exp: Adjust expected output.
6797 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
6798
6799 2016-01-18 Yao Qi <yao.qi@linaro.org>
6800
6801 * gdb.guile/scm-section-script.c: Replace @progbits with
6802 %progbits.
6803 * gdb.python/py-section-script.c: Likewise.
6804
6805 2016-01-15 Pedro Alves <palves@redhat.com>
6806
6807 * gdb.multi/tids.exp: Test star wildcard ranges.
6808
6809 2016-01-15 Pedro Alves <palves@redhat.com>
6810
6811 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
6812 command from "thread apply" invocation.
6813 (thr_apply_info_thr_invalid): Default the expected output to the
6814 input tid list.
6815 (top level): Add tests that use convenience variables. Add tests
6816 for "thread apply" with a valid TID list, but missing the command.
6817
6818 2016-01-13 Pedro Alves <palves@redhat.com>
6819
6820 * gdb.base/default.exp: Expect $_gthread as well.
6821 * gdb.multi/tids.exp: Test $_gthread.
6822 * gdb.threads/thread-specific.exp: Test $_gthread.
6823
6824 2016-01-13 Pedro Alves <palves@redhat.com>
6825
6826 * gdb.multi/tids.exp: Test "info threads -gid".
6827
6828 2016-01-13 Pedro Alves <palves@redhat.com>
6829
6830 * gdb.multi/tids.exp: Test InferiorThread.global_num and
6831 Breakpoint.thread.
6832 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
6833
6834 2016-01-07 Pedro Alves <palves@redhat.com>
6835
6836 * gdb.base/break.exp: Adjust to output changes.
6837 * gdb.base/hbreak2.exp: Likewise.
6838 * gdb.base/sepdebug.exp: Likewise.
6839 * gdb.base/watch_thread_num.exp: Likewise.
6840 * gdb.linespec/keywords.exp: Likewise.
6841 * gdb.multi/info-threads.exp: Likewise.
6842 * gdb.threads/thread-find.exp: Likewise.
6843 * gdb.multi/tids.c: New file.
6844 * gdb.multi/tids.exp: New file.
6845
6846 2016-01-13 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
6849
6850 2016-01-13 Pedro Alves <palves@redhat.com>
6851
6852 * gdb.base/default.exp: Expect $_inferior as well.
6853 * gdb.multi/base.exp: Test $_inferior.
6854
6855 2016-01-13 Pedro Alves <palves@redhat.com>
6856
6857 PR breakpoints/19388
6858 * gdb.base/catch-signal-siginfo-cond.c: New file.
6859 * gdb.base/catch-signal-siginfo-cond.exp: New file.
6860
6861 2016-01-12 Josh Stone <jistone@redhat.com>
6862 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6863
6864 * gdb.base/catch-syscall.c (do_execve): New variable.
6865 (main): Conditionally trigger an execve.
6866 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
6867 (test_catch_syscall_execve): New, check entry/return across execve.
6868 (do_syscall_tests): Call test_catch_syscall_execve.
6869
6870 2016-01-12 Pedro Alves <palves@redhat.com>
6871
6872 * gdb.base/random-signal.exp (do_test): New procedure, with body
6873 of testcase moved in.
6874
6875 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6876 Pedro Alves <palves@redhat.com>
6877
6878 * gdb.base/funcargs.exp (finish from indirectly called function):
6879 Reintroduce the case for 'First'.
6880
6881 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6882 Pedro Alves <palves@redhat.com>
6883
6884 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6885 (tcatch_vfork_then_child_follow_exec)
6886 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
6887 identification.
6888
6889 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6890
6891 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
6892 and repeats to unlimited.
6893 * gdb.python/py-value.exp: Likewise.
6894 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
6895 and repeats to unlimited.
6896
6897 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6898
6899 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
6900 and reordering the functions.
6901 * gdb.multi/hangout.c: Likewise.
6902 * gdb.multi/hello.c: Likewise.
6903
6904 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
6905
6906 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
6907 absolute.
6908 (SingleStatisticTestResult.report): Use dict.keys instead of
6909 dict.iterkeys.
6910
6911 2016-01-06 Pedro Alves <palves@redhat.com>
6912
6913 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
6914
6915 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
6916
6917 * gdb.btrace/dlopen.exp: New.
6918 * gdb.btrace/dlopen.c: New.
6919 * gdb.btrace/dlopen-dso.c: New.
6920
6921 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
6922
6923 * lib/gdb.exp (gdb_test): Update comments to clarify that the
6924 PATTERN argument is optional.
6925
6926 2015-12-24 Joel Brobecker <brobecker@adacore.com>
6927
6928 * lib/ada.exp (target_compile_ada_from_dir): New function.
6929 (gdb_compile_ada): Reimplement avoiding the use of project files.
6930 * gdb.ada/gnat_ada.gpr: Delete.
6931 * gdb.ada/cond_lang.exp: Adjust test to make path before
6932 filename optional.
6933 * gdb.ada/small_reg_param.exp: Likewise.
6934
6935 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
6936
6937 * gdb.base/foll-vork.exp: Remove HP-UX special case.
6938
6939 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
6940
6941 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
6942 case.
6943
6944 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
6945
6946 * gdb.base/break.exp: Remove dead code.
6947 * gdb.base/sepdebug.exp: Likewise.
6948
6949 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6950
6951 * gdb.asm/asm-source.exp: Remove HP-UX references.
6952 * gdb.base/annota1.exp: Likewise.
6953 * gdb.base/annota3.exp: Likewise.
6954 * gdb.base/attach.exp: Likewise.
6955 * gdb.base/bigcore.exp: Likewise.
6956 * gdb.base/break.exp: Likewise.
6957 * gdb.base/call-ar-st.exp: Likewise.
6958 * gdb.base/callfuncs.exp: Likewise.
6959 * gdb.base/catch-fork-static.exp: Likewise.
6960 * gdb.base/display.exp: Likewise.
6961 * gdb.base/foll-exec-mode.exp: Likewise.
6962 * gdb.base/foll-exec.exp: Likewise.
6963 * gdb.base/foll-fork.exp: Likewise.
6964 * gdb.base/foll-vfork.exp: Likewise.
6965 * gdb.base/funcargs.exp: Likewise.
6966 * gdb.base/hbreak2.exp: Likewise.
6967 * gdb.base/inferior-died.exp: Likewise.
6968 * gdb.base/interrupt.exp: Likewise.
6969 * gdb.base/multi-forks.exp: Likewise.
6970 * gdb.base/nodebug.exp: Likewise.
6971 * gdb.base/sepdebug.exp: Likewise.
6972 * gdb.base/solib1.c: Likewise.
6973 * gdb.base/step-test.exp: Likewise.
6974 * gdb.mi/non-stop.c: Likewise.
6975 * gdb.mi/pthreads.c: Likewise.
6976 * gdb.multi/bkpt-multi-exec.ex: Likewise.
6977 * gdb.threads/pthreads.c: Likewise.
6978 * gdb.threads/staticthreads.exp: Likewise.
6979 * lib/future.exp: Likewise.
6980 * lib/gdb.exp: Likewise.
6981 * gdb.base/so-indr-cl.c: Remove.
6982 * gdb.base/so-indr-cl.exp: Likewise.
6983 * gdb.base/solib.c: Likewise.
6984 * gdb.base/solib.exp: Likewise.
6985 * gdb.base/solib2.c: Likewise.
6986
6987 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
6988
6989 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
6990 * gdb.base/call-ar-st.exp: Likewise.
6991 * gdb.base/callfuncs.exp: Likewise.
6992 * gdb.base/condbreak.exp: Likewise.
6993 * gdb.base/constvars.exp: Likewise.
6994 * gdb.base/hbreak2.exp: Likewise.
6995 * gdb.base/langs.exp: Likewise.
6996 * gdb.base/list.exp: Likewise.
6997 * gdb.base/long_long.exp: Likewise.
6998 * gdb.base/ptype.exp: Likewise.
6999 * gdb.base/scope.exp: Likewise.
7000 * gdb.base/signals.exp: Likewise.
7001 * gdb.base/so-impl-ld.exp: Likewise.
7002 * gdb.base/varargs.exp: Likewise.
7003 * gdb.base/volatile.exp: Likewise.
7004 * gdb.base/whatis.exp: Likewise.
7005 * gdb.cp/cplusfuncs.exp: Likewise.
7006 * gdb.cp/inherit.exp: Likewise.
7007 * gdb.cp/local.exp: Likewise.
7008 * gdb.cp/member-ptr.exp: Likewise.
7009 * gdb.cp/method.exp: Likewise.
7010 * gdb.cp/overload.exp: Likewise.
7011 * gdb.cp/templates.exp: Likewise.
7012 * gdb.stabs/weird.exp: Likewise.
7013 * lib/compiler.c: Likewise.
7014 * lib/compiler.cc: Likewise.
7015 * lib/cp-support.exp: Likewise.
7016 * lib/gdb.exp: Likewise.
7017
7018 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
7019
7020 * configure.ac: Remove HP-UX case.
7021 * configure: Regenerate.
7022
7023 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
7024
7025 * lib/gdb.exp (gdb_compile): Add function doc.
7026
7027 2015-12-17 Pedro Alves <palves@redhat.com>
7028
7029 PR threads/19354
7030 * gdb.multi/info-threads.exp: New file.
7031
7032 2015-12-15 Yao Qi <yao.qi@linaro.org>
7033
7034 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
7035 is aarch64*-*-*.
7036
7037 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7038
7039 * gdb.base/history-duplicates.exp: Skip if no readline support.
7040
7041 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7042
7043 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
7044
7045 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7046
7047 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
7048
7049 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
7050
7051 * gdb.base/completion.exp: Skip tests that interrupt GDB with
7052 ctrl-C if nointerrupts target property is set.
7053 * gdb.base/double-prompt-target-event-error.exp: Likewise.
7054 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
7055 * gdb.base/paginate-bg-execution.exp: Likewise.
7056 * gdb.base/paginate-execution-startup.exp: Likewise.
7057 * gdb.base/random-signal.exp: Likewise.
7058 * gdb.base/range-stepping.exp: Likewise.
7059 * gdb.cp/annota2.exp: Likewise.
7060 * gdb.cp/annota3.exp: Likewise.
7061 * gdb.gdb/selftest.exp: Likewise.
7062 * gdb.threads/continue-pending-status.exp: Likewise.
7063 * gdb.threads/leader-exit.exp: Likewise.
7064 * gdb.threads/manythreads.exp: Likewise.
7065 * gdb.threads/pthreads.exp: Likewise.
7066 * gdb.threads/schedlock.exp: Likewise.
7067 * gdb.threads/sigthread.exp: Likewise.
7068
7069 2015-12-11 Don Breazeal <donb@codesourcery.com>
7070
7071 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
7072 remote.
7073 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
7074 * gdb.base/foll-exec.exp (main): Enable for target remote.
7075 * gdb.base/foll-fork.exp (main): Likewise.
7076 * gdb.base/foll-vfork.exp (main): Likewise.
7077 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
7078 (proc continue_to_exit_bp_loc): Use clean_restart.
7079 * gdb.base/pie-execl.exp (main): Disable for target remote.
7080 * gdb.base/watch-vfork.exp (main): Enable for target remote.
7081 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
7082 * gdb.threads/execl.exp (main): Likewise.
7083 * gdb.threads/fork-child-threads.exp (main): Likewise.
7084 * gdb.threads/fork-plus-threads.exp (main): Disable for target
7085 remote.
7086 * gdb.threads/fork-thread-pending.exp (main): Enable for target
7087 remote.
7088 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
7089 pid.tid style ptids, instead of just tid.
7090 * gdb.threads/thread-execl.exp (main): Enable for target remote.
7091 * gdb.threads/watchpoint-fork.exp (main): Likewise.
7092 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
7093 ptids, instead of just tid.
7094
7095 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7096
7097 * gdb.base/list.exp (test_list_forward): Add end of file error
7098 test.
7099 (test_repeat_list_command): Add end of file error test.
7100 (test_list_backwards): Add beginning of file error test.
7101
7102 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7103
7104 * gdb.base/list.exp (test_list_invalid_args): New function,
7105 defined, and called.
7106
7107 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7108
7109 * gdb.base/list.exp (test_list): Make test names unique.
7110
7111 2015-12-11 Yao Qi <yao.qi@linaro.org>
7112
7113 * gdb.base/coremaker2.c: Remove.
7114
7115 2015-12-10 Pedro Alves <palves@redhat.com>
7116
7117 * gdb.multi/base.exp: Remove stale "spaces" references.
7118
7119 2015-12-10 Pedro Alves <palves@redhat.com>
7120
7121 * gdb.multi/base.exp: Don't use nowarnings.
7122 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
7123 * gdb.multi/hangout.c: Include stdio.h.
7124 * gdb.multi/hello.c: Include stdlib.h.
7125 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
7126 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
7127 * gdb.multi/multi-arch.exp: Don't use nowarnings.
7128
7129 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
7130
7131 * gdb.dwarf2/dw2-ranges-base.c: New file.
7132 * gdb.dwarf2/dw2-ranges-base.exp: New file.
7133 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
7134 support additional line table, and debug ranges generation.
7135 (Dwarf::ranges): New function, generate .debug_ranges.
7136 (Dwarf::lines): Support generating simple line table programs.
7137 (Dwarf::assemble): Initialise new namespace variables.
7138
7139 2015-12-09 Kevin Buettner <kevinb@redhat.com>
7140
7141 * gdb.base/async.exp (proc test_background): Add case for
7142 asynchronous execution not supported.
7143
7144 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
7145
7146 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
7147 format and change test names to make them unique.
7148
7149 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
7150 Pedro Alves <pedro@redhat.com>
7151
7152 PR gdb/18702
7153 Add checking of floatformats setup on x86_64 hosts.
7154 * gdb.arch/i386-float.S (main): Load bigval and smallval.
7155 (smallval, bigval): New labels/constants.
7156 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
7157 float" after loading bigval and smallval.
7158
7159 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
7160
7161 * gdb.ada/fun_overload_menu.exp: New testcase.
7162 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
7163
7164 2015-12-04 Josh Stone <jistone@redhat.com>
7165
7166 * gdb.base/catch-fork-static.exp: New.
7167
7168 2015-12-03 Yao Qi <yao.qi@linaro.org>
7169
7170 * gdb.base/sizeof.c: Don't include stdio.h and
7171 ../lib/unbuffer_output.c.
7172 (main): New variable 'size' and 'value'. Remove printf and
7173 gdb_unbuffer_output. Assign return value to size and value.
7174 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
7175 at the beginning.
7176 (check_sizeof): Check the result by printing variable 'size'.
7177 (check_valueof): Check the result by printing variable 'value'.
7178
7179 2015-12-01 Yao Qi <yao.qi@linaro.org>
7180
7181 * gdb.base/disp-step-syscall.exp: Define syscall instruction
7182 for aarch64*-*-linux* target.
7183
7184 2015-11-30 Pedro Alves <palves@redhat.com>
7185
7186 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
7187
7188 2015-11-30 Pedro Alves <palves@redhat.com>
7189
7190 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
7191 Handle non-stop mode vCont replies.
7192
7193 2015-11-30 Pedro Alves <palves@redhat.com>
7194
7195 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
7196 prepare_for_testing. Start gdb with "set non-stop on" appended to
7197 GDBFLAGS. Lax expected stop output.
7198
7199 2015-11-27 Yao Qi <yao.qi@linaro.org>
7200
7201 * gdb.arch/arm-neon.exp: New.
7202 * gdb.arch/arm-neon.c: New.
7203
7204 2015-11-27 Yao Qi <yao.qi@linaro.org>
7205
7206 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
7207
7208 2015-11-27 Yao Qi <yao.qi@linaro.org>
7209
7210 * gdb.cp/annota2.exp: Allow multiple occurrences of the
7211 frames-invalid annotation.
7212
7213 2015-11-27 Yao Qi <yao.qi@linaro.org>
7214
7215 * gdb.cp/annota2.exp: Use ${frames_invalid}.
7216
7217 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
7218
7219 * gdb.threads/names.exp: New file.
7220 * gdb.threads/names.c: New file.
7221 * README: Mention gdb,no_thread_names.
7222
7223 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
7224
7225 PR 19297
7226 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
7227 support" error.
7228
7229 2015-11-24 Pedro Alves <palves@redhat.com>
7230
7231 PR 17539
7232 * gdb.base/display.exp: Expect displays to be sorted in ascending
7233 order. Use multi_line.
7234 * gdb.base/solib-display.exp: Likewise.
7235
7236 2015-11-24 Pedro Alves <palves@redhat.com>
7237
7238 PR 17539
7239 * gdb.base/display.exp: Expect displays to be sorted in ascending
7240 order. Use multi_line.
7241 * gdb.base/solib-display.exp: Likewise.
7242
7243 2015-11-24 Pedro Alves <palves@redhat.com>
7244
7245 PR 17539
7246 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
7247 threads in ascending order.
7248 * gdb.base/foll-fork.exp: Likewise.
7249 * gdb.base/foll-vfork.exp: Likewise.
7250 * gdb.base/multi-forks.exp: Likewise.
7251 * gdb.mi/mi-nonstop.exp: Likewise.
7252 * gdb.mi/mi-nsintrall.exp: Likewise.
7253 * gdb.multi/base.exp: Likewise.
7254 * gdb.multi/multi-arch.exp: Likewise.
7255 * gdb.python/py-inferior.exp: Likewise.
7256 * gdb.threads/break-while-running.exp: Likewise.
7257 * gdb.threads/execl.exp: Likewise.
7258 * gdb.threads/gcore-thread.exp: Likewise.
7259 * gdb.threads/info-threads-cur-sal.exp: Likewise.
7260 * gdb.threads/kill.exp: Likewise.
7261 * gdb.threads/linux-dp.exp: Likewise.
7262 * gdb.threads/multiple-step-overs.exp: Likewise.
7263 * gdb.threads/next-bp-other-thread.exp: Likewise.
7264 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
7265 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
7266 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
7267 * gdb.threads/thread-find.exp: Likewise.
7268 * gdb.threads/tls.exp: Likewise.
7269 * lib/mi-support.exp (mi_reverse_list): Delete.
7270 (mi_check_thread_states): No longer reverse list.
7271
7272 2015-11-24 Pedro Alves <palves@redhat.com>
7273
7274 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
7275 use lowercase.
7276
7277 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7278
7279 * gdb.trace/actions.c: Include trace-common.h.
7280 (main): Add a location for a fast tracepoint.
7281 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
7282 the normal tracepoints.
7283 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
7284
7285 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
7286
7287 * save-trace.exp: Factor out code to these...
7288 (gdb_save_tracepoints): New.
7289 (gdb_load_tracepoints): New.
7290 (do_save_load_test): New.
7291
7292 2015-11-23 Kevin Buettner <kevinb@redhat.com>
7293
7294 * gdb.base/asmlabel.exp: New test.
7295 * gdb.base/asmlabel.c: New test case.
7296
7297 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7298
7299 * gdb.base/wrong_frame_bt_full-main.c: New file.
7300 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
7301 * gdb.base/wrong_frame_bt_full.exp: New file.
7302
7303 2015-11-23 Joel Brobecker <brobecker@adacore.com>
7304
7305 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
7306
7307 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7308
7309 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
7310 pstate register when comparing registers values in
7311 sparc64-*-linux-gnu targets to avoid spurious differences.
7312
7313 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
7314
7315 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
7316
7317 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
7318
7319 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
7320 as type argument to gdb_compile.
7321 * gdb.base/nested-subp2.exp: Likewise.
7322 * gdb.base/nested-subp3.exp: Likewise.
7323
7324 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
7325
7326 * lib/dwarf.exp (_note): Fix left shift of negative value.
7327 * gdb.trace/trace-condition.exp: Likewise.
7328
7329 2015-11-13 Yao Qi <yao.qi@linaro.org>
7330
7331 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
7332 comments about d10v.
7333 (test_scalar_returns): Likewise.
7334 * gdb.base/d10v.ld: Remove.
7335 * gdb.base/overlays.exp: Remove the target triplet checking for
7336 d10v-*-*.
7337 * gdb.base/structs.exp (test_struct_returns): Remove the
7338 comments about d10v.
7339 (test_struct_calls): Likewise.
7340
7341 2015-11-13 Yao Qi <yao.qi@linaro.org>
7342
7343 * gdb.base/gnu_vector.exp: Check the return value by "p res".
7344 * gdb.base/gnu_vector.c: Don't include stdio.h.
7345 (main): Don't print res and call add_some_intvecs.
7346
7347 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
7348
7349 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
7350 macro.
7351 (func5): Removed.
7352 (func4): Use FAST_TRACEPOINT_LABEL.
7353 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
7354 macro.
7355 (func): Removed.
7356 (thread_function): Use FAST_TRACEPOINT_LABEL.
7357 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
7358 (func): Remove.
7359 (marker): Use FAST_TRACEPOINT_LABEL.
7360 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
7361 (pendfunc1): Remove.
7362 (pendfunc): Use FAST_TRACEPOINT_LABEL.
7363 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
7364 (foo): Remove.
7365 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
7366 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
7367 macro.
7368 (func): Remove.
7369 (marker): Use FAST_TRACEPOINT_LABEL.
7370 * gdb.trace/trace-common.h: New header.
7371 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
7372 macro.
7373 (func): Remove.
7374 (marker): Use FAST_TRACEPOINT_LABEL.
7375 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
7376 (func): Remove.
7377 (thread_function): Use FAST_TRACEPOINT_LABEL.
7378
7379 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
7380
7381 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
7382 in front.
7383 * gdb.trace/change-loc.exp: Use global pcreg definition.
7384 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
7385 * gdb.trace/entry-values.exp: Use global spreg definition, add $
7386 in front.
7387 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
7388 * gdb.trace/pending.exp: Likewise.
7389 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
7390 * gdb.trace/trace-break.exp: Likewise.
7391 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
7392 in front.
7393 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
7394 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
7395 in front.
7396 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
7397
7398 2015-11-09 Joel Brobecker <brobecker@adacore.com>
7399
7400 * gdb.ada/fin_fun_out: New testcase.
7401
7402 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7403
7404 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
7405 value associated with DW_AT_byte_size.
7406 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
7407 constants for DW_AT_byte_size, DW_AT_lower_bound, and
7408 DW_AT_upper_bound.
7409
7410 2015-11-07 Kevin Buettner <kevinb@redhat.com>
7411
7412 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
7413 (gdb_target_symbol_prefix_flags): Define in terms of _asm
7414 version.
7415 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
7416 gdb.dwarf2/dw2-canonicalize-type.exp,
7417 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
7418 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
7419 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
7420 provided by gdb_target_symbol_prefix_flags_asm.
7421 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
7422 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
7423 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
7424 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
7425 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
7426 macros where needed). Use this macro for symbols which require
7427 the prefix provided by SYMBOL_PREFIX.
7428
7429 2015-11-05 Kevin Buettner <kevinb@redhat.com>
7430
7431 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
7432 New procs.
7433 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
7434 representing expressions, of more than one list element.
7435 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
7436 to prepend linker symbol prefix to f.
7437 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
7438 table_1 and table_2.
7439 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
7440 Likewise, for f and g.
7441 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
7442 for ptr.
7443 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
7444 for main.
7445 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
7446 table_1_ptr and table_2_ptr.
7447
7448 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7449 Joel Brobecker <brobecker@adacore.com>
7450
7451 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
7452
7453 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
7454
7455 * gdb.reverse/s390-mvcle.c: New test.
7456 * gdb.reverse/s390-mvcle.exp: New file.
7457 * lib/gdb.exp: Enable reverse tests on s390*-linux.
7458
7459 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7460
7461 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
7462
7463 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
7464
7465 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
7466 reaching marker2.
7467 * gdb.reverse/getresuid-reverse.exp: Likewise.
7468 * gdb.reverse/pipe-reverse.exp: Likewise.
7469 * gdb.reverse/readv-reverse.exp: Likewise.
7470 * gdb.reverse/recvmsg-reverse.exp: Likewise.
7471 * gdb.reverse/time-reverse.exp: Likewise.
7472 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
7473
7474 2015-10-30 Yao Qi <yao.qi@linaro.org>
7475
7476 * gdb.threads/wp-replication.c (watch_count_done): Remove.
7477 (empty_cycle): Remove.
7478 (main): Don't call empty_cycle. Don't use watch_count_done.
7479 * gdb.threads/wp-replication.exp: Don't set breakpoint on
7480 empty_cycle. Rewrite the code counting HW watchpoints.
7481
7482 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
7483
7484 * gdb.reverse/fstatat-reverse.c: New test.
7485 * gdb.reverse/fstatat-reverse.exp: New file.
7486 * gdb.reverse/getresuid-reverse.c: New test.
7487 * gdb.reverse/getresuid-reverse.exp: New file.
7488 * gdb.reverse/pipe-reverse.c: New test.
7489 * gdb.reverse/pipe-reverse.exp: New file.
7490 * gdb.reverse/readv-reverse.c: New test.
7491 * gdb.reverse/readv-reverse.exp: New file.
7492 * gdb.reverse/recvmsg-reverse.c: New test.
7493 * gdb.reverse/recvmsg-reverse.exp: New file.
7494 * gdb.reverse/time-reverse.c: New test.
7495 * gdb.reverse/time-reverse.exp: New file.
7496 * gdb.reverse/waitpid-reverse.c: New test.
7497 * gdb.reverse/waitpid-reverse.exp: New file.
7498
7499 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7500
7501 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
7502
7503 2015-10-26 Doug Evans <dje@google.com>
7504
7505 PR symtab/17391
7506 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
7507 * gdb.dwarf2/bad-regnum.c: New file.
7508 * gdb.dwarf2/bad-regnum.exp: New file.
7509
7510 2015-10-26 Doug Evans <dje@google.com>
7511
7512 PR python/18938
7513 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
7514 file.
7515
7516 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7517
7518 * gdb.compile/compile.exp (compile code globalvar): Update expectation
7519 for a change by "Mention language in compile error message".
7520
7521 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
7522
7523 PR python/18073
7524 * gdb.python/py-type.c (C::a_method): New.
7525 (C::a_const_method): New.
7526 (C::a_static_method): New.
7527 (a_function): New.
7528 * gdb.python/py-type.exp (test_fields): Test getting fields
7529 from function and method.
7530
7531 2015-10-21 Keven Boell <keven.boell@intel.com>
7532
7533 * gdb.fortran/vla-alloc-assoc.exp: New file.
7534 * gdb.fortran/vla-datatypes.exp: New file.
7535 * gdb.fortran/vla-datatypes.f90: New file.
7536 * gdb.fortran/vla-history.exp: New file.
7537 * gdb.fortran/vla-ptype-sub.exp: New file.
7538 * gdb.fortran/vla-ptype.exp: New file.
7539 * gdb.fortran/vla-sizeof.exp: New file.
7540 * gdb.fortran/vla-sub.f90: New file.
7541 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
7542 * gdb.fortran/vla-value-sub-finish.exp: New file.
7543 * gdb.fortran/vla-value-sub.exp: New file.
7544 * gdb.fortran/vla-value.exp: New file.
7545 * gdb.fortran/vla-ptr-info.exp: New file.
7546 * gdb.mi/mi-vla-fortran.exp: New file.
7547 * gdb.mi/vla.f90: New file.
7548
7549 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
7550
7551 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
7552 of hardwired timeout value.
7553
7554 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7555 Pedro Alves <palves@redhat.com>
7556
7557 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
7558 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
7559
7560 2015-10-19 Josh Stone <jistone@redhat.com>
7561
7562 * gdb.base/catch-syscall.c: Include <sched.h>.
7563 (unknown_syscall): New variable.
7564 (main): Trigger a vfork and an unknown syscall.
7565 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
7566 (unknown_syscall_number): Likewise.
7567 (check_call_to_syscall): Accept an optional syscall pattern.
7568 (check_return_from_syscall): Likewise.
7569 (check_continue): Likewise.
7570 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
7571 (test_catch_syscall_skipping_return): New test toggling off 'catch
7572 syscall' to step over the syscall return, then toggling back on.
7573 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
7574 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
7575 (do_syscall_tests): Call test_catch_syscall_without_args and
7576 test_catch_syscall_mid_vfork.
7577 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
7578 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
7579
7580 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
7581
7582 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
7583 print g_vE): Add new pass patterns.
7584 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
7585 print various symbol names for vptr fields.
7586
7587 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
7588
7589 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
7590 results.
7591
7592 2015-10-12 Yao Qi <yao.qi@linaro.org>
7593
7594 * gdb.arch/disp-step-insn-reloc.exp: New test case.
7595
7596 2015-10-12 Yao Qi <yao.qi@linaro.org>
7597
7598 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
7599 is aarch64*-*-linux*.
7600
7601 2015-10-12 Yao Qi <yao.qi@linaro.org>
7602
7603 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
7604 (can_relocate_bcond_true): ... it.
7605 (can_relocate_bcond_false): New function.
7606 (foo): Likewise.
7607 (can_relocate_bl): Likewise.
7608 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
7609 can_relocate_bl.
7610
7611 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
7612
7613 * gdb.base/nested-addr.c: New file.
7614 * gdb.base/nested-addr.exp: New testcase.
7615
7616 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
7617
7618 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
7619 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
7620 its output. Ignore the output of "record goto begin" and instead
7621 check that GDB is replaying.
7622
7623 2015-10-09 Pedro Alves <palves@redhat.com>
7624
7625 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
7626 (top level): Use it in the run with no args test.
7627
7628 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
7629
7630 * gdb.dlang/properties.exp: New file.
7631
7632 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
7633
7634 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
7635 whether or not address 0x1000 is mapped on the target.
7636
7637 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
7638
7639 * gdb.python/py-type.exp: Do not run tests if binaries fail to
7640 build.
7641
7642 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
7643
7644 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
7645 instruction-history test.
7646
7647 2015-09-28 Doug Evans <dje@google.com>
7648
7649 * gdb.base/gcore.c (array_func): Add reference to static_array.
7650
7651 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
7652
7653 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
7654 source line.
7655
7656 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
7657
7658 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
7659 short or char as base type.
7660
7661 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
7662
7663 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
7664 to allow any size enum.
7665
7666 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
7667
7668 * gdb.ada/array_ptr_renaming.exp: New testcase.
7669 * gdb.ada/array_ptr_renaming/foo.adb: New file.
7670 * gdb.ada/array_ptr_renaming/pack.ads: New file.
7671
7672 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7673
7674 * gdb.trace/ftrace-lock.c: New file.
7675 * gdb.trace/ftrace-lock.exp: New file.
7676
7677 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7678
7679 * gdb.arch/insn-reloc.c: New file.
7680 * gdb.arch/ftrace-insn-reloc.exp: New file.
7681
7682 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
7683
7684 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
7685 instruction.
7686 * gdb.trace/pendshr1.c (pendfunc): Likewise.
7687 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
7688 * gdb.trace/range-stepping.c: Likewise.
7689 * gdb.trace/trace-break.c: Likewise.
7690 * gdb.trace/trace-mt.c (thread_function): Likewise.
7691 * gdb.trace/ftrace.c (marker): Likewise.
7692 * gdb.trace/trace-condition.c (marker): Likewise.
7693 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
7694 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
7695 is_aarch64_target.
7696
7697 2015-09-18 Doug Evans <xdje42@gmail.com>
7698
7699 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
7700 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
7701
7702 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7703
7704 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
7705 the breakpoint.
7706
7707 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7708
7709 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
7710 the pending breakpoint. Remove timeout override for "Run till
7711 MI pending breakpoint on pendfunc3 on thread 2" test.
7712
7713 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7714
7715 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
7716 filename pattern.
7717
7718 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7719
7720 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
7721 in breakpoint filename pattern.
7722
7723 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7724
7725 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
7726
7727 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
7728
7729 * gdb.linespec/explicit.exp: Check for readline support for
7730 tab-completion tests. Fix obvious typo.
7731
7732 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7733
7734 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
7735 and replay.
7736
7737 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
7738
7739 * gdb.btrace/non-stop.c: New.
7740 * gdb.btrace/non-stop.exp: New.
7741
7742 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
7743 Yao Qi <yao.qi@linaro.org>
7744
7745 * gdb.trace/trace-condition.c: New file.
7746 * gdb.trace/trace-condition.exp: New file.
7747
7748 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
7749
7750 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
7751 for testing bytecode compilation.
7752
7753 2015-09-16 Pedro Alves <palves@redhat.com>
7754 Sandra Loosemore <sandra@codesourcery.com>
7755
7756 * gdb.threads/non-stop-fair-events.c (timeout): New global.
7757 (SECONDS): Redefine.
7758 (main): Call pthread_kill and alarm early.
7759 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
7760 support.
7761 (test): If the target can't hardware step and doesn't support
7762 displaced stepping, increase the timeout.
7763
7764 2015-09-16 Pedro Alves <palves@redhat.com>
7765
7766 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
7767 (enable_debug): New procedures.
7768 (test): Use them. Bail out if waiting for threads fails.
7769 (top level): Bail out if a test fails.
7770
7771 2015-09-16 Yao Qi <yao.qi@linaro.org>
7772
7773 * gdb.asm/asm-source.exp: Set asm-arch for
7774 aarch64*-*-* target.
7775 * gdb.asm/aarch64.inc: New file.
7776
7777 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
7778
7779 * gdb.ada/array_of_variable_length.exp: New testcase.
7780 * gdb.ada/array_of_variable_length/foo.adb: New file.
7781 * gdb.ada/array_of_variable_length/pck.adb: New file.
7782 * gdb.ada/array_of_variable_length/pck.ads: New file.
7783
7784 2015-09-15 Doug Evans <dje@google.com>
7785
7786 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
7787 of function static local variable.
7788
7789 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7790
7791 * gdb.threads/tls-so_extern.exp: New test file.
7792 * gdb.threads/tls-so_extern.c: New test file.
7793 * gdb.threads/tls-so_extern_main.c: New test file.
7794
7795 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7796
7797 * gdb.opt/solib-intra-step-lib.c: New file.
7798 * gdb.opt/solib-intra-step-main.c: New file.
7799 * gdb.opt/solib-intra-step.exp: New file.
7800
7801 2015-09-15 Pedro Alves <palves@redhat.com>
7802
7803 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
7804 gdb_continue_to_breakpoint instead of gdb_test_multiple.
7805
7806 2015-09-14 Pedro Alves <palves@redhat.com>
7807
7808 * gdb.base/hook-stop-continue.c: Delete.
7809 * gdb.base/hook-stop-continue.exp: Delete.
7810 * gdb.base/hook-stop-frame.c: Delete.
7811 * gdb.base/hook-stop-frame.exp: Delete.
7812 * gdb.base/hook-stop.c: New file.
7813 * gdb.base/hook-stop.exp: New file.
7814
7815 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
7816
7817 * gdb.ada/access_to_packed_array.exp: New testcase.
7818 * gdb.ada/access_to_packed_array/foo.adb: New file.
7819 * gdb.ada/access_to_packed_array/pack.adb: New file.
7820 * gdb.ada/access_to_packed_array/pack.ads: New file.
7821
7822 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
7823
7824 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
7825 buffer size test.
7826
7827 2015-09-11 Don Breazeal <donb@codesourcery.com>
7828
7829 * gdb.base/foll-exec.c: Add copyright header. Fix
7830 formatting issues.
7831 * gdb.base/foll-exec.exp (zap_session): Delete proc.
7832 (do_exec_tests): Use clean_restart in place of zap_session,
7833 and for test initialization. Fix formatting issues. Use
7834 fail in place of perror.
7835 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
7836 an expect statement to match an expression with output from
7837 the program under debug.
7838 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
7839 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
7840 * gdb.threads/non-ldr-exc-2.exp: Likewise.
7841 * gdb.threads/non-ldr-exc-3.exp: Likewise.
7842 * gdb.threads/non-ldr-exc-4.exp: Likewise.
7843
7844 2015-09-09 Doug Evans <dje@google.com>
7845
7846 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
7847
7848 2015-09-09 Doug Evans <dje@google.com>
7849
7850 * gdb.base/pie-execl.exp: Fix result test of build_executable.
7851
7852 2015-09-09 Doug Evans <dje@google.com>
7853
7854 * gdb.base/savedregs.exp: Fix typo.
7855
7856 2015-09-09 Pedro Alves <palves@redhat.com>
7857
7858 * gdb.mi/mi-cli.exp: Add CLI finish tests.
7859
7860 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
7861
7862 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
7863 command actually switches threads. Give up on remaining
7864 tests if target fails to stop at breakpoint.
7865
7866 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
7867
7868 * gdb.ada/funcall_char.exp: New testcase.
7869 * gdb.ada/funcall_char/foo.adb: New file.
7870
7871 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
7872
7873 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
7874 expected outputs. Add two testcases for completing ambiguous
7875 functions.
7876 * gdb.ada/complete/aux_pck.adb: New file.
7877 * gdb.ada/complete/aux_pck.ads: New file.
7878 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
7879 Ambiguous_Func functions.
7880 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
7881 * gdb.ada/complete/pck.adb: Likewise.
7882
7883 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
7884
7885 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
7886 failures to run the test program under GDB.
7887
7888 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
7889
7890 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
7891 to C.
7892
7893 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
7894
7895 * gdb.base/run-after-attach.exp: New test file.
7896 * gdb.base/run-after-attach.c: New test file.
7897
7898 2015-08-26 Don Breazeal <donb@codesourcery.com>
7899
7900 * gdb.base/foll-exec-2.c: New test program.
7901 * gdb.base/foll-exec-2.exp: New test.
7902
7903 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
7904
7905 * gdb.base/nested-subp1.exp: New file.
7906 * gdb.base/nested-subp1.c: New file.
7907 * gdb.base/nested-subp2.exp: New file.
7908 * gdb.base/nested-subp2.c: New file.
7909 * gdb.base/nested-subp3.exp: New file.
7910 * gdb.base/nested-subp3.c: New file.
7911
7912 2015-08-24 Pedro Alves <palves@redhat.com>
7913
7914 * gdb.server/connect-without-multi-process.c: New file.
7915 * gdb.server/connect-without-multi-process.exp: New file.
7916
7917 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7918
7919 * gdb.opt/inline-markers.c: Make z int.
7920
7921 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7922
7923 * gdb.opt/inline-markers.c: Make z volatile.
7924
7925 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
7926
7927 * gdb.opt/inline-bt.c: New volatile global z.
7928 * gdb.opt/inline-cmds.c: Likewise.
7929 * gdb.opt/inline-locals.c: Likewise.
7930 * gdb.opt/inline-markers.c: New extern global z.
7931 (marker): Use z.
7932 (inline_fn): Likewise.
7933
7934 2015-08-24 Pedro Alves <palves@redhat.com>
7935
7936 * config/m32r-stub.exp: Remove file.
7937 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
7938 * gdb.base/call-rt-st.exp: Likewise.
7939 * gdb.base/call-strs.exp: Likewise.
7940 * gdb.base/default.exp: Remove references to h8300-*-hms and
7941 *-*-udi*.
7942 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
7943
7944 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7945
7946 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
7947 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
7948 and "return" use KFAIL when GDB can not read/write the vector
7949 return value.
7950
7951 2015-08-21 Gary Benson <gbenson@redhat.com>
7952
7953 * gdb.trace/pending.exp: Cope with remote transfer warnings.
7954
7955 2015-08-20 Pedro Alves <palves@redhat.com>
7956
7957 * gdb.server/solib-list.exp: No longer expect an interior stop in
7958 non-stop mode.
7959
7960 2015-08-20 Pedro Alves <palves@redhat.com>
7961
7962 * gdb.server/connect-stopped-target.c: New file.
7963 * gdb.server/connect-stopped-target.exp: New file.
7964
7965 2015-08-20 Pedro Alves <palves@redhat.com>
7966
7967 * gdb.dwarf2/comp-unit-lang.exp: New file.
7968 * gdb.dwarf2/comp-unit-lang.c: New file.
7969
7970 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
7971
7972 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
7973 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
7974
7975 2015-08-19 Kevin Buettner <kevinb@redhat.com>
7976
7977 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
7978 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
7979
7980 2015-08-18 Doug Evans <dje@google.com>
7981 Adrian Sendroiu <adrian.sendroiu@freescale.com>
7982
7983 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
7984 skip_python_tests. New arg prompt_regexp.
7985 (skip_python_tests): New function.
7986 * lib/mi-support.exp (mi_skip_python_tests): New function.
7987 * gdb.python/py-mi-objfile-gdb.py: New file.
7988 * gdb.python/py-mi-objfile.c: New file.
7989 * gdb.python/py-mi-objfile.exp: New file.
7990
7991 2015-08-17 Keith Seitz <keiths@redhat.com>
7992
7993 * gdb.linespec/explicit.exp: Move strace test from here ...
7994 * gdb.trace/strace.exp: ... to here.
7995
7996 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
7997
7998 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
7999 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
8000
8001 2015-08-14 Doug Evans <xdje42@gmail.com>
8002
8003 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
8004 inferior before selecting a new file.
8005
8006 2015-08-14 Doug Evans <xdje42@gmail.com>
8007
8008 * gdb.mi/mi-disassemble.exp: Update.
8009 * gdb.base/disasm-optim.S: New file.
8010 * gdb.base/disasm-optim.c: New file.
8011 * gdb.base/disasm-optim.h: New file.
8012 * gdb.base/disasm-optim.exp: New file.
8013
8014 2015-08-14 Keith Seitz <keiths@redhat.com>
8015
8016 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
8017 "evaluated-by".
8018
8019 2015-08-13 Joel Brobecker <brobecker@adacore.com>
8020
8021 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
8022
8023 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
8024
8025 * gdb.ada/fun_renaming.exp: New testcase.
8026 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
8027 * gdb.ada/fun_renaming/pack.adb: New file.
8028 * gdb.ada/fun_renaming/pack.ads: New file.
8029
8030 2015-08-12 Keith Seitz <keiths@redhat.com>
8031
8032 * gdb.base/dso2dso.exp: Pass basename of source file in call to
8033 gdb_get_line_number.
8034
8035 2015-08-12 Joel Brobecker <brobecker@adacore.com>
8036
8037 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
8038 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
8039 gdb.base/dso2dso.exp: New files.
8040
8041 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
8042 Pedro Alves <palves@redhat.com>
8043 Keith Seitz <keiths@redhat.com>
8044
8045 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
8046 GDBFLAGS.
8047
8048 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8049
8050 * gdb.base/gdbhistsize-history.exp
8051 (test_histsize_history_setting): Use save_vars.
8052 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8053 Use save_vars.
8054 (test_no_truncation_of_unlimited_history_file): Use save_vars.
8055 * gdb.base/readline.exp: Use save_vars.
8056
8057 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
8058
8059 * lib/gdb.exp (save_vars): New proc.
8060
8061 2015-08-11 Keith Seitz <keiths@redhat.com>
8062
8063 * gdb.base/help.exp: Update help_breakpoint_text.
8064
8065 2015-08-11 Keith Seitz <keiths@redhat.com>
8066
8067 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
8068 (at toplevel): Call test_explicit_breakpoints.
8069 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
8070 breakpoints.
8071 * lib/mi-support.exp (mi_make_breakpoint): Add support for
8072 breakpoint conditions, "-cond".
8073
8074 2015-08-11 Keith Seitz <keiths@redhat.com>
8075
8076 * gdb.linespec/3explicit.c: New file.
8077 * gdb.linespec/cpexplicit.cc: New file.
8078 * gdb.linespec/cpexplicit.exp: New file.
8079 * gdb.linespec/explicit.c: New file.
8080 * gdb.linespec/explicit.exp: New file.
8081 * gdb.linespec/explicit2.c: New file.
8082 * gdb.linespec/ls-errs.exp: Add explicit location tests.
8083 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
8084 before using in the matching pattern.
8085 Clarify that `prefix' is a regular expression.
8086
8087 2015-08-11 Keith Seitz <keiths@redhat.com>
8088
8089 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
8090 test.
8091 Add tests for missing ",FMT" and ",".
8092
8093 2015-08-10 Doug Evans <dje@google.com>
8094 Keith Seitz <keiths@redhat.com>
8095
8096 PR gdb/17960
8097 * gdb.base/completion.exp: Add location completer tests.
8098
8099 2015-08-07 Pedro Alves <palves@redhat.com>
8100
8101 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
8102 tests here.
8103 (top level): Run do_test with and without displaced stepping.
8104
8105 2015-08-07 Pedro Alves <palves@redhat.com>
8106
8107 * gdb.base/valgrind-disp-step.c: New file.
8108 * gdb.base/valgrind-disp-step.exp: New file.
8109
8110 2015-08-07 Pedro Alves <palves@redhat.com>
8111
8112 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
8113 Delete function.
8114 (main): Add alarm. Run an infinite loop instead of calling
8115 wait_threads.
8116 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
8117 comment.
8118 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
8119 Delete function.
8120 (main): Add alarm. Run an infinite loop instead of calling
8121 wait_threads.
8122 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
8123 comment.
8124
8125 2015-08-07 Pedro Alves <palves@redhat.com>
8126
8127 * gdb.base/checkpoint-ns.exp: New file.
8128 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
8129 standard_testfile.
8130
8131 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
8132
8133 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
8134 * gdb.btrace/instruction_history.exp: Update.
8135 * gdb.btrace/tsx.exp: New.
8136 * gdb.btrace/tsx.c: New.
8137
8138 2015-08-06 Pedro Alves <palves@redhat.com>
8139
8140 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
8141 increase timeout.
8142 * gdb.reverse/until-precsave.exp: Bump timeouts.
8143
8144 2015-08-06 Pedro Alves <palves@redhat.com>
8145
8146 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
8147
8148 2015-08-06 Pedro Alves <palves@redhat.com>
8149
8150 PR gdb/18749
8151 * gdb.threads/process-dies-while-handling-bp.c: New file.
8152 * gdb.threads/process-dies-while-handling-bp.exp: New file.
8153
8154 2015-08-06 Pedro Alves <palves@redhat.com>
8155
8156 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
8157 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
8158
8159 2015-08-05 Pedro Alves <palves@redhat.com>
8160
8161 * gdb.threads/next-while-other-thread-longjmps.c: New file.
8162 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
8163
8164 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
8165
8166 * gdb.base/bp-permanent.exp: Report test as unsupported if
8167 the target cannot stop at the permanent breakpoint.
8168
8169 2015-08-03 Doug Evans <dje@google.com>
8170
8171 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
8172 10000.
8173
8174 2015-08-03 Doug Evans <dje@google.com>
8175
8176 * Makefile.in (workers/%.worker, build-perf): New rule.
8177 (GDB_PERFTEST_MODE): New variable.
8178 (check-perf): Use it.
8179 (clean): Clean up gdb.perf parallel build subdirs.
8180 * lib/build-piece.exp: New file.
8181 * lib/gdb.exp (make_gdb_parallel_path): New function
8182 (standard_output_file, standard_temp_file): Call it.
8183 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8184 of $GDB_PARALLEL.
8185 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
8186
8187 2015-08-03 Doug Evans <dje@google.com>
8188
8189 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
8190 (LOG_FILE_NAME): New global.
8191 (TextReporter.__init__): Initialize self.txt_sum.
8192 (TextReporter.report): Add support for multiple data-points.
8193 Move report to perftest.sum, put raw data in perftest.log.
8194 (TextReporter.start): Open sum and log files.
8195 (TextReporter.end): Close sum and log files.
8196 * gdb.perf/lib/perftest/testresult.py
8197 (SingleStatisticTestResult.record): Handle multiple data-points.
8198
8199 2015-07-31 Pedro Alves <palves@redhat.com>
8200
8201 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
8202 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8203 kill_wait_spawned_process instead of explicit "kill -9".
8204 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
8205 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8206 kill_wait_spawned_process.
8207 * gdb.base/attach-twice.exp: Likewise.
8208 * gdb.base/attach.exp: Likewise.
8209 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
8210 gdb_test_multiple.
8211 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
8212 returning a spawn id instead of a pid. Use spawn_id_get_pid and
8213 kill_wait_spawned_process.
8214 * gdb.base/valgrind-infcall.exp: Likewise.
8215 * gdb.multi/multi-attach.exp: Likewise.
8216 * gdb.python/py-prompt.exp: Likewise.
8217 * gdb.python/py-sync-interp.exp: Likewise.
8218 * gdb.server/ext-attach.exp: Likewise.
8219 * gdb.threads/attach-into-signal.exp (corefunc): Use
8220 spawn_wait_for_attach, spawn_id_get_pid and
8221 kill_wait_spawned_process.
8222 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
8223 spawn_wait_for_attach returning a spawn id instead of a pid. Use
8224 spawn_id_get_pid and kill_wait_spawned_process.
8225 * gdb.threads/attach-stopped.exp (corefunc): Use
8226 spawn_wait_for_attach, spawn_id_get_pid and
8227 kill_wait_spawned_process.
8228 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
8229 Use spawn_id_get_pid. Wait for spawn id after eof. Use
8230 kill_wait_spawned_process instead of explicit "kill -9".
8231 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
8232 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
8233 (spawn_wait_for_attach): Use spawn instead of exec to spawn
8234 processes. Don't map cygwin/windows pids here. Now returns a
8235 spawn id list.
8236
8237 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8238
8239 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
8240 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
8241 correct patch.
8242
8243 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8244
8245 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
8246
8247 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
8248
8249 Reapply:
8250 2014-05-21 Mark Wielaard <mjw@redhat.com>
8251
8252 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
8253
8254 2015-07-30 Pedro Alves <palves@redhat.com>
8255
8256 * linux-low.c (handle_extended_wait): Set the child's last
8257 reported status to TARGET_WAITKIND_STOPPED.
8258
8259 2015-07-30 Pedro Alves <palves@redhat.com>
8260
8261 PR threads/18600
8262 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
8263 only shows inferior 1.
8264
8265 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
8266 Pedro Alves <palves@redhat.com>
8267
8268 PR threads/18600
8269 * gdb.threads/fork-plus-threads.c: New file.
8270 * gdb.threads/fork-plus-threads.exp: New file.
8271
8272 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8273
8274 * gdb.base/batch-preserve-term-settings.exp
8275 (test_terminal_settings_preserved_after_cli_exit): Use
8276 send_quit_command.
8277
8278 2015-07-29 Pedro Alves <palves@redhat.com>
8279 Don Breazeal <donb@codesourcery.com>
8280
8281 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
8282 output from both inferior_spawn_id and gdb_spawn_id.
8283
8284 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8285
8286 * gdb.threads/attach-into-signal.exp (corefunc): Use
8287 with_test_prefix on nested loops, uniquefying the test messages.
8288
8289 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
8290
8291 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
8292 commit.
8293
8294 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8295
8296 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
8297 New proc.
8298 (test_terminal_settings_preserved_after_sigterm): New test.
8299
8300 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8301
8302 * gdb.base/batch-preserve-term-settings.exp
8303 (test_terminal_settings_preserved_after_cli_exit): New test.
8304
8305 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
8306
8307 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
8308 manipulation of saved_gdbflags.
8309 (test_terminal_settings_preserved): Remove global declaration of
8310 the unused variable pagination_prompt. Remove manipulation of
8311 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
8312 GDBFLAGS.
8313
8314 2015-07-29 Pedro Alves <palves@redhat.com>
8315
8316 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
8317
8318 2015-07-29 Pedro Alves <palves@redhat.com>
8319
8320 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
8321 at the top.
8322
8323 2015-07-29 Pedro Alves <palves@redhat.com>
8324
8325 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
8326 (main): Call gdb_unbuffer_output.
8327 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
8328 (main): Call gdb_unbuffer_output.
8329 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
8330 (main): Call gdb_unbuffer_output.
8331 * gdb.base/call-strs.exp: Adjust to step over the
8332 gdb_unbuffer_output call.
8333 * gdb.base/catch-gdb-caused-signals.c: Include
8334 "../lib/unbuffer_output.c".
8335 (main): Call gdb_unbuffer_output.
8336 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
8337 (main): Call gdb_unbuffer_output.
8338 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
8339 (main): Call gdb_unbuffer_output.
8340 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
8341 (main): Call gdb_unbuffer_output.
8342 * gdb.base/shlib-call.exp: Adjust to step over the
8343 gdb_unbuffer_output call.
8344 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
8345 (main): Call gdb_unbuffer_output.
8346 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
8347 (main): Call gdb_unbuffer_output.
8348 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
8349 (main): Rename to ...
8350 (test): ... this.
8351 (main): Reimplement.
8352 * gdb.base/varargs.exp: Run to test instead of to main.
8353 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8354 (main): Call gdb_unbuffer_output.
8355
8356 2015-07-29 Pedro Alves <palves@redhat.com>
8357
8358 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
8359 factore out from mi_continue_dprintf. For call-style dprintfs,
8360 expect dprintf output out of $inferior_spawn_id.
8361 (mi_continue_dprintf): Use mi_expect_dprintf.
8362 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
8363 (main): Call gdb_unbuffer_output.
8364
8365 2015-07-29 Pedro Alves <palves@redhat.com>
8366
8367 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
8368 (default_mi_gdb_start): Set inferior_spawn_id instead of
8369 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
8370 gdb_spawn_id.
8371 (mi_gdb_test): Always expect inferior output from both
8372 $inferior_spawn_id and $gdb_spawn_id.
8373
8374 2015-07-29 Pedro Alves <palves@redhat.com>
8375
8376 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
8377 send_inferior and $inferior_spawn_id.
8378
8379 2015-07-29 Pedro Alves <palves@redhat.com>
8380
8381 * gdb.gdb/complaints.exp (test_initial_complaints)
8382 (test_serial_complaints, test_short_complaints): Use
8383 gdb_test_stdio.
8384 (test_empty_complaint): Handle $inferior_spawn_id !=
8385 $gdb_spawn_id.
8386
8387 2015-07-29 Pedro Alves <palves@redhat.com>
8388
8389 * gdb.base/varargs.exp: Use gdb_test_stdio.
8390
8391 2015-07-29 Pedro Alves <palves@redhat.com>
8392
8393 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
8394
8395 2015-07-29 Pedro Alves <palves@redhat.com>
8396
8397 * gdb.base/ending-run.exp: Use gdb_test_stdio.
8398
8399 2015-07-29 Pedro Alves <palves@redhat.com>
8400
8401 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
8402 parameter into two new parameters, "inf_result" and "gdb_result".
8403 Expect inferior output and gdb output from $inferior_spawn_id and
8404 $gdb_spawn_id, respectively. Adjust all callers.
8405
8406 2015-07-29 Pedro Alves <palves@redhat.com>
8407
8408 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
8409 of gdb_test_sequence.
8410
8411 2015-07-29 Pedro Alves <palves@redhat.com>
8412
8413 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
8414 (saw_spurious_output): Expect inferior output from
8415 $inferior_spawn_id. Use gdb_test_stdio.
8416
8417 2015-07-29 Pedro Alves <palves@redhat.com>
8418
8419 * gdb.base/dprintf.exp: Use standard_testfile. Change
8420 prepare_for_testing call.
8421 (srcfile): Don't set.
8422 (restart): New procedure.
8423 (test_dprintf): New procecure, use to continue over dprintfs.
8424 (test_call, test_agent): New procedures, tests moved here.
8425 Restart gdb and recreate dprintfs. Adjust expected output.
8426
8427 2015-07-29 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
8430
8431 2015-07-29 Pedro Alves <palves@redhat.com>
8432
8433 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
8434
8435 2015-07-29 Pedro Alves <palves@redhat.com>
8436
8437 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
8438 gdb_test_stdio.
8439
8440 2015-07-29 Pedro Alves <palves@redhat.com>
8441
8442 * lib/gdb.exp (gdb_test_stdio): New procedure.
8443
8444 2015-07-29 Pedro Alves <palves@redhat.com>
8445
8446 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
8447
8448 2015-07-29 Pedro Alves <palves@redhat.com>
8449
8450 * gdb.base/call-signal-resume.exp: Remove check for
8451 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
8452 * gdb.base/unwindonsignal.exp: Likewise.
8453 * gdb.base/call-signals.c (gen_signal): Remove printf call.
8454 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
8455
8456 2015-07-29 Pedro Alves <palves@redhat.com>
8457
8458 * gdb.base/siginfo-addr.c (pass): New function.
8459 (handler): Call it iff si_addr is correct.
8460 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
8461 Set a breakpoint at "pass" and continue to it.
8462
8463 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
8464
8465 * gdb.python/py-objfile.exp: Make some tests have unique names.
8466 * gdb.python/py-pp-registration.exp: Likewise.
8467
8468 2015-07-28 Pedro Alves <palves@redhat.com>
8469
8470 * gdb.server/server-exec-info.exp: Issue a "disconnect".
8471
8472 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8473
8474 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
8475
8476 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
8477
8478 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
8479
8480 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
8481
8482 * gdb.base/gdb-sigterm-2.exp: New test.
8483
8484 2015-07-25 Doug Evans <xdje42@gmail.com>
8485
8486 Revert:
8487 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8488 (workers/%.worker, build-perf): New rule.
8489 (GDB_PERFTEST_MODE): New variable.
8490 (check-perf): Use it.
8491 (clean): Clean up gdb.perf parallel build subdirs.
8492 * lib/build-piece.exp: New file.
8493 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8494 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8495 name.
8496 (standard_temp_file): Ditto.
8497 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8498 of $GDB_PARALLEL.
8499
8500 2015-07-24 Doug Evans <dje@google.com>
8501
8502 * gdb.perf/lib/perftest/utils.py: New file.
8503 * gdb.perf/gm-hello.cc: New file.
8504 * gdb.perf/gm-pervasive-typedef.cc: New file.
8505 * gdb.perf/gm-pervasive-typedef.h: New file.
8506 * gdb.perf/gm-std.cc: New file.
8507 * gdb.perf/gm-std.h: New file.
8508 * gdb.perf/gm-use-cerr.cc: New file.
8509 * gdb.perf/gm-utils.h: New file.
8510 * gdb.perf/gmonster-null-lookup.py: New file.
8511 * gdb.perf/gmonster-pervasive-typedef.py: New file.
8512 * gdb.perf/gmonster-print-cerr.py: New file.
8513 * gdb.perf/gmonster-ptype-string.py: New file.
8514 * gdb.perf/gmonster-runto-main.py: New file.
8515 * gdb.perf/gmonster-select-file.py: New file.
8516 * gdb.perf/gmonster1-null-lookup.exp: New file.
8517 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
8518 * gdb.perf/gmonster1-print-cerr.exp: New file.
8519 * gdb.perf/gmonster1-ptype-string.exp: New file.
8520 * gdb.perf/gmonster1-runto-main.exp: New file.
8521 * gdb.perf/gmonster1-select-file.exp: New file.
8522 * gdb.perf/gmonster1.cc: New file.
8523 * gdb.perf/gmonster1.exp: New file.
8524 * gdb.perf/gmonster2-null-lookup.exp: New file.
8525 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
8526 * gdb.perf/gmonster2-print-cerr.exp: New file.
8527 * gdb.perf/gmonster2-ptype-string.exp: New file.
8528 * gdb.perf/gmonster2-runto-main.exp: New file.
8529 * gdb.perf/gmonster2-select-file.exp: New file.
8530 * gdb.perf/gmonster2.cc: New file.
8531 * gdb.perf/gmonster2.exp: New file.
8532
8533 2015-07-24 Doug Evans <dje@google.com>
8534
8535 * gdb.perf/README: New file.
8536 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
8537 * lib/gen-perf-test.exp: New file.
8538
8539 2015-07-24 Doug Evans <dje@google.com>
8540
8541 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
8542 (PerfTest::startup): New function.
8543 (PerfTest::run): Return result of calling body.
8544 (PerfTest::assemble): Rewrite.
8545 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
8546 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
8547 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
8548 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
8549 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
8550
8551 2015-07-24 Doug Evans <dje@google.com>
8552
8553 * lib/gdb.exp (clean_restart): Make executable optional.
8554
8555 2015-07-24 Doug Evans <dje@google.com>
8556
8557 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
8558 compiler_info references.
8559 * gdb.cp/temargs.exp: Ditto.
8560 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
8561 (get_compiler_info): Early exit if already computed. Set compiler_info
8562 to "unknown" if there was a problem.
8563 (test_compiler_info): Add function comment. Call get_compiler_info.
8564
8565 2015-07-24 Doug Evans <dje@google.com>
8566
8567 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
8568 (workers/%.worker, build-perf): New rule.
8569 (GDB_PERFTEST_MODE): New variable.
8570 (check-perf): Use it.
8571 (clean): Clean up gdb.perf parallel build subdirs.
8572 * lib/build-piece.exp: New file.
8573 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
8574 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
8575 name.
8576 (standard_temp_file): Ditto.
8577 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
8578 of $GDB_PARALLEL.
8579
8580 2015-07-24 Doug Evans <dje@google.com>
8581
8582 * lib/future.exp (gdb_default_target_compile): New option
8583 "early_flags".
8584 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
8585 --as-needed.
8586
8587 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
8588
8589 * gdb.base/catch-syscall.exp: Call gdb_exit before
8590 gdb_skip_xml_test.
8591
8592 2015-07-24 Pedro Alves <palves@redhat.com>
8593
8594 * gdb.python/py-events.exp: Accept output between the stop event
8595 and the prompt.
8596 * gdb.python/py-evsignal.exp: Likewise.
8597 * gdb.python/py-evthreads.exp: Likewise.
8598
8599 2015-07-24 Pedro Alves <palves@redhat.com>
8600
8601 PR gdb/18717
8602 * gdb.threads/non-ldr-exit.c: New file.
8603 * gdb.threads/non-ldr-exit.exp: New file.
8604
8605 2015-07-24 Yao Qi <yao.qi@linaro.org>
8606
8607 * gdb.server/ext-wrapper.exp: Test --wrapper option when
8608 restarting process.
8609
8610 2015-07-24 Yao Qi <yao.qi@linaro.org>
8611
8612 * gdb.server/ext-restart.exp: New file.
8613
8614 2015-07-24 Yao Qi <yao.qi@linaro.org>
8615
8616 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
8617 argument options.
8618 * gdb.server/ext-wrapper.exp: New file.
8619
8620 2015-07-23 Doug Evans <dje@google.com>
8621
8622 * gdb.dwarf2/dw2-dummy-cu.S: New file.
8623 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
8624
8625 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
8626
8627 * gdb.ada/var_arr_typedef.exp: New testcase.
8628 * gdb.ada/var_arr_typedef/pack.adb: New file.
8629 * gdb.ada/var_arr_typedef/pack.ads: New file.
8630 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
8631
8632 2015-07-20 Joel Brobecker <brobecker@adacore.com>
8633
8634 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
8635
8636 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8637
8638 * gdb.arch/i386-biarch-core.exp: Replace istarget
8639 by "complete set gnutarget". Remove expectation for the "core-file"
8640 command.
8641
8642 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8643
8644 Revert the previous commit:
8645 Tests for validate symbol file using build-id.
8646
8647 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
8648
8649 Tests for validate symbol file using build-id.
8650 * gdb.base/solib-mismatch-lib.c: New file.
8651 * gdb.base/solib-mismatch-libmod.c: New file.
8652 * gdb.base/solib-mismatch.c: New file.
8653 * gdb.base/solib-mismatch.exp: New file.
8654
8655 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
8656
8657 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
8658 nios2-*-linux*.
8659 * gdb.base/sigbpt.exp (stepi_out): Likewise.
8660 * gdb.base/siginfo.exp: Likewise.
8661 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8662
8663 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
8664
8665 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
8666 Move it to ...
8667 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
8668 ... here.
8669 * gdb.trace/range-stepping.exp: Check that the target supports
8670 range stepping.
8671
8672 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8673
8674 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
8675
8676 2015-07-14 Pedro Alves <palves@redhat.com>
8677
8678 * gdb.base/killed-outside.exp: New file.
8679 * gdb.base/killed-outside.c: New file.
8680
8681 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8682
8683 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
8684 (n at main): New.
8685 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
8686
8687 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8688
8689 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
8690 infcall tests instead of setting up for KFAIL.
8691
8692 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
8693
8694 * gdb.btrace/record_goto-step.exp: New.
8695
8696 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8697
8698 PR compile/18484
8699 * gdb.compile/compile.c (struct struct_type): Add volatile to
8700 selffield's type.
8701 * gdb.compile/compile.exp
8702 (compile code struct_object.selffield = &struct_object): Skip further
8703 struct_object tests if this one xfails.
8704
8705 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
8706
8707 PR exp/18617
8708 * gdb.trace/ax.exp: Add test.
8709
8710 2015-07-07 Yao Qi <yao.qi@linaro.org>
8711
8712 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
8713 instead of istarget "aarch64*-*-*".
8714 * gdb.arch/aarch64-fp.exp: Likewise.
8715 * gdb.base/float.exp: Likewise.
8716 * gdb.reverse/aarch64.exp: Likewise.
8717 * lib/gdb.exp (is_aarch64_target): New proc.
8718
8719 2015-07-07 Yao Qi <yao.qi@linaro.org>
8720
8721 * lib/gdb.exp (is_aarch32_target): New proc.
8722 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
8723 instead of "istarget "arm*-*-*"".
8724 * gdb.arch/arm-disp-step.exp: Likewise.
8725 * gdb.arch/thumb-bx-pc.exp: Likewise.
8726 * gdb.arch/thumb-prologue.exp: Likewise.
8727 * gdb.arch/thumb-singlestep.exp: Likewise.
8728 * gdb.base/disp-step-syscall.exp: Likewise.
8729 * gdb.base/float.exp: Likewise.
8730
8731 2015-07-07 Yao Qi <yao.qi@linaro.org>
8732
8733 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
8734 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
8735
8736 2015-07-07 Yao Qi <yao.qi@linaro.org>
8737
8738 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
8739 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
8740 if it exists.
8741 * gdb.multi/multi-arch.exp: Likewise.
8742
8743 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
8744
8745 * gdb.python/py-lazy-string.exp: Add missing parentheses to
8746 print.
8747
8748 2015-07-07 Yao Qi <yao.qi@linaro.org>
8749
8750 * gdb.arch/thumb-singlestep.exp: Do one more single step.
8751
8752 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
8753
8754 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
8755 '[' and ']' characters.
8756
8757 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
8758
8759 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8760
8761 2015-06-29 Pedro Alves <palves@redhat.com>
8762
8763 PR threads/18127
8764 * gdb.threads/hand-call-new-thread.c: New file.
8765 * gdb.threads/hand-call-new-thread.c: New file.
8766
8767 2015-06-26 Keith Seitz <keiths@redhat.com>
8768 Doug Evans <dje@google.com>
8769
8770 PR 16253
8771 * gdb.cp/var-tag-2.cc: New file.
8772 * gdb.cp/var-tag-3.cc: New file.
8773 * gdb.cp/var-tag-4.cc: New file.
8774 * gdb.cp/var-tag.cc: New file.
8775 * gdb.cp/var-tag.exp: New file.
8776
8777 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8778
8779 * gdb.base/history-duplicates.exp: New test.
8780
8781 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
8782
8783 * gdb.base/completion.exp: Test the completion of the "focus"
8784 command.
8785
8786 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8787
8788 * gdb.arch/amd64-prologue-skip.S: New file.
8789 * gdb.arch/amd64-prologue-skip.exp: New file.
8790
8791 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
8792
8793 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
8794 is_address_zero_readable check.
8795
8796 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
8797
8798 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
8799 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
8800
8801 2015-06-24 Yao Qi <yao.qi@linaro.org>
8802
8803 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
8804 linux targets.
8805
8806 2015-06-24 Yao Qi <yao.qi@linaro.org>
8807
8808 * lib/gdb.exp (supports_get_siginfo_type): New proc.
8809 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
8810 * gdb.base/siginfo-thread.exp: Likewise.
8811
8812 2015-06-22 Yao Qi <yao.qi@linaro.org>
8813
8814 * boards/remote-gdbserver-on-localhost.exp: Add comments.
8815
8816 2015-06-22 Yao Qi <yao.qi@linaro.org>
8817
8818 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
8819 aarch64*-*-*.
8820 (skip_hw_watchpoint_tests): Likewise.
8821
8822 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
8823
8824 * gdb.base/gdbinit-history.exp: Test the interaction between
8825 setting GDBHISTSIZE and setting the history size via .gdbinit.
8826
8827 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8828
8829 PR gdb/16999
8830 * gdb.base/gdbhistsize-history.exp: New test.
8831
8832 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8833
8834 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
8835 with GDBHISTSIZE.
8836 * gdb.base/readline.exp: Likewise.
8837
8838 2015-06-17 Yao Qi <yao.qi@linaro.org>
8839
8840 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
8841 line.
8842
8843 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
8844
8845 * gdb.base/gdbinit-history.exp: Add test case to check that
8846 an unlimited history file does not get truncated on exit.
8847
8848 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8849
8850 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
8851 (VECTOR): New macro. Use it...
8852 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
8853 ...for these typedefs.
8854 (int8, char1, int1, double1): New typedefs.
8855 (struct just_int2, struct two_int2): New structures.
8856 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
8857 (add_structvecs, add_singlevecs): New functions.
8858 (main): Call add_some_intvecs twice.
8859 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
8860 the compile and exit upon failure. Try compiling for the "native"
8861 architecture. Test inferior function calls with vector arguments
8862 and vector return value handling with "finish" and "return".
8863
8864 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
8865
8866 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
8867 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
8868 PE file.
8869 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
8870
8871 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8872
8873 PR breakpoints/16465
8874 * gdb.mi/mi-dprintf-pending.c: New file.
8875 * gdb.mi/mi-dprintf-pending.exp: New test.
8876 * gdb.mi/mi-dprintf-pendshr.c: New file.
8877
8878 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8879 Mircea Gherzan <mircea.gherzan@intel.com>
8880
8881 * gdb.arch/i386-mpx-map.c: New file.
8882 * gdb.arch/i386-mpx-map.exp: New File.
8883
8884 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8885
8886 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
8887 * gdb.arch/i386-mpx.exp: Indentation fixed.
8888
8889 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8890
8891 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
8892 function and improved indentation.
8893 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
8894 gdb_test_multiple. Added additional tests to skip the test.
8895
8896 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
8897
8898 * gdb.arch/i386-avx512.c: Change path in include file.
8899 * gdb.arch/i386-avx512.exp: Change include dir path
8900 compilation flag.
8901 * gdb.arch/i386-mpx.c: Change path in include file.
8902 * gdb.arch/i386-mpx.exp: Change include dir path compilation
8903 flag.
8904
8905 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8906
8907 * gdb.compile/compile-print.exp (compile print *vararray@3)
8908 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
8909
8910 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8911
8912 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
8913 (do not keep jit in memory): ... this.
8914 (expect 5): Change it to ...
8915 (expect no 5): ... this.
8916
8917 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
8918
8919 PR gdb/15564
8920 * gdb.mi/mi-detach.exp: New file.
8921
8922 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8923
8924 PR symtab/18392
8925 * gdb.arch/amd64-tailcall-self.S: New file.
8926 * gdb.arch/amd64-tailcall-self.c: New file.
8927 * gdb.arch/amd64-tailcall-self.exp: New file.
8928
8929 2015-05-28 Don Breazeal <donb@codesourcery.com>
8930
8931 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
8932 tests for remote targets by checking is_target_gdbserver.
8933
8934 2015-05-27 Doug Evans <dje@google.com>
8935
8936 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
8937 * gdb.dwarf2/opaque-type-lookup.c: New file.
8938 * gdb.dwarf2/opaque-type-lookup.exp: New file.
8939
8940 2015-05-26 Doug Evans <dje@google.com>
8941
8942 * gdb.cp/iostream.cc: New file.
8943 * gdb.cp/iostream.exp: New file.
8944
8945 2015-05-26 Doug Evans <dje@google.com>
8946
8947 * gdb.dwarf2/dw2-op-call.exp: Update.
8948 * gdb.dwarf2/dw4-sig-types.exp: Update.
8949 * gdb.dwarf2/implptr.exp: Update.
8950 * gdb.mi/mi-cmd-param-changed.exp: Update.
8951
8952 2015-05-26 Doug Evans <dje@google.com>
8953
8954 * gdb.python/py-lazy-string.c: New file.
8955 * gdb.python/py-lazy-string.exp: New file.
8956 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
8957 (main): Update. Add estring3.
8958 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
8959 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
8960
8961 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8962 Yao Qi <yao.qi@linaro.org>
8963
8964 * gdb.reverse/aarch64.c: New.
8965 * gdb.reverse/aarch64.exp: New.
8966
8967 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
8968
8969 * lib/gdb.exp (supports_process_record): Return true for
8970 aarch64*-linux*.
8971 (supports_reverse): Likewise.
8972
8973 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
8974
8975 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8976 Use with_test_prefix.
8977
8978 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
8979
8980 * gdb.base/completion.exp: Add test for completion of layout
8981 names.
8982
8983 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
8984
8985 * lib/gdb.exp (skip_tui_tests): New proc.
8986 * gdb.base/tui-layout.exp: Check skip_tui_tests.
8987
8988 2015-05-19 Pedro Alves <palves@redhat.com>
8989
8990 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
8991 Save the whole env array instead of just HOME. Unset HISTSIZE in
8992 the environment while testing. Restore whole environment
8993 afterwards.
8994
8995 2015-05-16 Doug Evans <xdje42@gmail.com>
8996
8997 * gdb.guile/scm-ports.c: New file.
8998 * gdb.guile/scm-ports.exp: Add memory port tests.
8999
9000 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9001
9002 * gdb.compile/compile-print.c: New file.
9003 * gdb.compile/compile-print.exp: New file.
9004
9005 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9006
9007 * gdb.compile/compile-ops.exp: Cast param to void.
9008 * gdb.compile/compile.exp: Complete type for _gdb_expr.
9009 (compile code struct_object.selffield = &struct_object): Add xfail.
9010
9011 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9012
9013 * gdb.ada/arr_enum_with_gap: New testcase.
9014
9015 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9016
9017 * gdb.ada/byte_packed_arr: New testcase.
9018
9019 2015-05-15 Joel Brobecker <brobecker@adacore.com>
9020
9021 * gdb.ada/pckd_neg: New testcase.
9022
9023 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
9024
9025 PR gdb/17820
9026 * gdb.base/gdbinit-history.exp: New test.
9027 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
9028 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
9029
9030 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
9031
9032 * gdb.python/py-xmethods.cc: Enhance test case.
9033 * gdb.python/py-xmethods.exp: New tests.
9034 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
9035 function.
9036 (B_indexoper): Likewise.
9037 (global_dm_list) : Add new xmethod worker functions.
9038
9039 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
9040
9041 * gdb.base/coredump-filter.exp: Correctly unset
9042 "coredump_var_addr" array.
9043
9044 2015-05-08 Pedro Alves <palves@redhat.com>
9045
9046 * gdb.server/non-existing-program.exp: Unset spawn_id.
9047
9048 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
9049
9050 PR python/18291
9051 * gdb.python/py-xmethods.exp: Add tests.
9052
9053 2015-05-08 Yao Qi <yao.qi@linaro.org>
9054
9055 PR gdb/18208
9056 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
9057 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
9058 function set_coredump_filter, and remove remote_exec call.
9059 Remove argument ipid. Callers update.
9060 (top level): Don't get inferior's PID.
9061
9062 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
9063
9064 * gdb.base/watch_thread_num.exp: Skip test on targets without
9065 access watchpoints.
9066
9067 2015-05-06 Pedro Alves <palves@redhat.com>
9068
9069 PR server/18081
9070 * gdb.server/non-existing-program.exp: New file.
9071
9072 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9073
9074 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
9075
9076 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9077
9078 * gdb.ada/out_of_line_in_inlined: New testcase.
9079
9080 2015-05-05 Joel Brobecker <brobecker@adacore.com>
9081
9082 * gdb.ada/var_rec_arr: New testcase.
9083
9084 2015-04-30 Yao Qi <yao.qi@linaro.org>
9085
9086 * gdb.base/break-idempotent.exp: If
9087 skip_hw_watchpoint_multi_tests returns true, skip the tests
9088 on "rwatch" and "awatch".
9089
9090 2015-04-30 Yao Qi <yao.qi@linaro.org>
9091
9092 * gdb.base/relativedebug.exp: Invoke gdb command
9093 "info sharedlibrary", and if libc.so doesn't have debug info,
9094 skip the test.
9095
9096 2015-04-29 Doug Evans <dje@google.com>
9097
9098 * gdb.python/py-xmethods.exp: Add ptype tests.
9099 * gdb.python/py-xmethods.py (E_method_char_worker): Add
9100 get_result_type method.
9101
9102 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9103
9104 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
9105 the target does not support hardware watchpoints.
9106
9107 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
9108
9109 * gdb.base/break-always.exp: Abort testing if writing to memory
9110 causes an error.
9111
9112 2015-04-28 Doug Evans <dje@google.com>
9113
9114 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
9115 * gdb.python/py-pp-registration.exp: ... here. New file.
9116 * gdb.python/py-pp-registration.c: New file.
9117 * gdb.python/py-pp-registration.py: New file.
9118
9119 2015-04-28 Doug Evans <dje@google.com>
9120
9121 * gdb.python/py-bad-printers.c: New file.
9122 * gdb.python/py-bad-printers.py: New file.
9123 * gdb.python/py-bad-printers.exp: New file.
9124
9125 2015-04-28 Sasha Smundak <asmundak@google.com>
9126
9127 * gdb.python/py-type.exp: New test.
9128
9129 2015-04-28 Andy Wingo <wingo@igalia.com>
9130
9131 * gdb.python/py-parameter.exp:
9132 * gdb.guile/scm-parameter.exp: Escape the path that we are
9133 matching against, as it might contain characters that are special
9134 to regular expressions.
9135
9136 2015-04-27 Joel Brobecker <brobecker@adacore.com>
9137
9138 * gdb.ada/rec_comp: New testcase.
9139
9140 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
9141
9142 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
9143 before using it.
9144
9145 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
9146
9147 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
9148 new tests for verilog output.
9149
9150 2015-04-24 Yao Qi <yao.qi@linaro.org>
9151
9152 * boards/remote-gdbserver-on-localhost.exp: New file.
9153
9154 2015-04-23 Pedro Alves <palves@redhat.com>
9155
9156 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
9157 $inferior_spawn_id instead of $inferior_spawn_id directly. On
9158 "end of file", remove $inferior_spawn_id from the indirect list.
9159
9160 2015-04-23 Pedro Alves <palves@redhat.com>
9161
9162 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
9163
9164 2015-04-23 Pedro Alves <palves@redhat.com>
9165
9166 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
9167 on $any_spawn_id instead of only on $gdb_spawn_id.
9168
9169 2015-04-21 Pierre Muller <muller@sourceware.org>
9170
9171 PR pascal/17815
9172 * lib/pascal.exp (gpc_compile): Add new option "class".
9173 (fpc_compile): Likewise.
9174 * gdb.pascal/case-insensitive-symbols.pas: New file.
9175 * gdb.pascal/case-insensitive-symbols.exp: New file.
9176
9177 2015-04-20 Gary Benson <gbenson@redhat.com>
9178
9179 * gdb.base/attach.exp: Fix three extended remote failures.
9180
9181 2015-04-17 Gary Benson <gbenson@redhat.com>
9182
9183 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
9184 the main executable over the remote protocol.
9185
9186 2015-04-16 Pedro Alves <palves@redhat.com>
9187
9188 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
9189 a new gdbserver if gdbserver_reconnect_p is set.
9190
9191 2015-04-16 Pedro Alves <palves@redhat.com>
9192
9193 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
9194 is set, don't exit gdbserver.
9195
9196 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9197
9198 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
9199 appropriate .insn, such that an older assembler can be used.
9200 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
9201 the z/Architecture instruction set on 31-bit targets as well.
9202
9203 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9204
9205 * gdb.go/handcall.exp: Remove all logic related to the first
9206 breakpoint and rely on go_runto_main instead.
9207 * gdb.go/strings.exp: Likewise.
9208 * gdb.go/unsafe.exp: Likewise.
9209 * gdb.go/hello.exp: Likewise. Also rename the remaining
9210 breakpoint marker to "breakpoint 1".
9211 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
9212 * gdb.go/strings.go: Likewise.
9213 * gdb.go/unsafe.go: Likewise.
9214 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
9215 "set breakpoint 2 here" and rename the remaining breakpoint marker
9216 to "breakpoint 1".
9217
9218 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
9219
9220 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
9221 if itertools.imap is not present.
9222 * gdb.python/py-objfile.exp: Add parentheses.
9223 * gdb.python/py-type.exp: Same.
9224 * gdb.python/py-unwind-maint.py: Same.
9225
9226 2015-04-15 Yao Qi <yao.qi@linaro.org>
9227
9228 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
9229 of ":$ptr_size" and set its form explicitly.
9230
9231 2015-04-15 Pedro Alves <palves@redhat.com>
9232 Yao Qi <yao.qi@linaro.org>
9233
9234 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
9235 timeout by factor of 4.
9236 (test_regular_watch): Likewise.
9237 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
9238 * gdb.reverse/sigall-reverse.exp: Likewise.
9239 * gdb.reverse/until-precsave.exp: Likewise.
9240 * lib/gdb.exp (with_timeout_factor): New proc.
9241 (gdb_expect): Move some code to ...
9242 (get_largest_timeout): ... here. New procedure.
9243
9244 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
9245
9246 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
9247
9248 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9249
9250 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
9251 to write to the .text section.
9252
9253 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
9254
9255 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
9256 Handle the case of targets that do not provide PID information.
9257
9258 2015-04-13 Yao Qi <yao.qi@linaro.org>
9259
9260 * lib/gdbserver-support.exp (gdb_exit): Catch exception
9261 and use expect instead of gdb_expect.
9262
9263 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
9264
9265 * gdb.base/coredump-filter.exp: Rename variable "addr" to
9266 "coredump_var_addr" to avoid naming conflict with other testcases.
9267
9268 2015-04-10 Pedro Alves <palves@redhat.com>
9269
9270 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
9271 gdb_test_sequence and gdb_assert.
9272
9273 2015-04-10 Pedro Alves <palves@redhat.com>
9274
9275 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
9276 test messages that don't include the breakpoint address.
9277
9278 2015-04-10 Yao Qi <yao.qi@linaro.org>
9279
9280 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
9281 false for some offset and width combinations which aren't
9282 supported by linux kernel.
9283
9284 2015-04-10 Pedro Alves <palves@redhat.com>
9285
9286 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
9287 procedure, factored out from ...
9288 (top level): ... here. Add "set displaced-stepping" testing axis.
9289 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
9290 parameter "displaced". Use it.
9291 (top level): Use foreach and add "set displaced-stepping" testing
9292 axis.
9293
9294 2015-04-10 Pedro Alves <palves@redhat.com>
9295
9296 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
9297 Remove comment.
9298 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
9299 both the address of the instruction that triggers the watchpoint
9300 and the address of the instruction immediately after, and use
9301 those addresses for the test. Fix comment.
9302
9303 2015-04-10 Pedro Alves <palves@redhat.com>
9304
9305 * gdb.base/sigstep.exp (breakpoint_to_handler)
9306 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
9307 Test "backtrace" in handler.
9308 (breakpoint_over_handler): New parameter 'displaced'. Use it.
9309 (top level): Add new "displaced" test axis to
9310 breakpoint_to_handler, breakpoint_to_handler_entry and
9311 breakpoint_over_handler.
9312
9313 2015-04-10 Pedro Alves <palves@redhat.com>
9314
9315 PR gdb/18216
9316 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
9317
9318 2015-04-10 Yao Qi <yao.qi@linaro.org>
9319
9320 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
9321 (test_add_rn_pc): New function.
9322 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
9323 (top level): Invoke test_add_rn_pc.
9324
9325 2015-04-10 Pedro Alves <palves@redhat.com>
9326
9327 PR gdb/13858
9328 * gdb.base/step-over-no-symbols.exp: New file.
9329
9330 2015-04-09 Andy Wingo <wingo@igalia.com>
9331
9332 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
9333 after the Python tests.
9334
9335 2015-04-08 Keith Seitz <keiths@redhat.com>
9336
9337 PR python/16699
9338 * gdb.python/py-completion.exp: New tests for completion.
9339 * gdb.python/py-completion.py (CompleteLimit1): New class.
9340 (CompleteLimit2): Likewise.
9341 (CompleteLimit3): Likewise.
9342 (CompleteLimit4): Likewise.
9343 (CompleteLimit5): Likewise.
9344 (CompleteLimit6): Likewise.
9345 (CompleteLimit7): Likewise.
9346
9347 2015-04-08 Pedro Alves <palves@redhat.com>
9348
9349 PR gdb/18214
9350 PR gdb/18216
9351 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
9352 function.
9353 (main): Install it as SIGUSR1 handler.
9354 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
9355 parameter. Always use "setup" as prefix. Toggle "set
9356 displaced-stepping" off/on depending on global. Don't switch to
9357 thread 1 here.
9358 (top level): Add displaced stepping "off/on" test axis. Update
9359 "setup" calls. Wrap each subtest with with_test_prefix. Test
9360 continuing with a queued signal in each thread.
9361
9362 2015-04-08 Pedro Alves <palves@redhat.com>
9363
9364 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
9365 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
9366 gdb_breakpoint instead of gdb_test that doesn't expect anything.
9367 Return early if running to main fails.
9368 * gdb.trace/while-stepping.exp: Likewise.
9369
9370 2015-04-07 Pedro Alves <palves@redhat.com>
9371
9372 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
9373 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
9374 interact with inferior program.
9375
9376 2015-04-07 Pedro Alves <palves@redhat.com>
9377
9378 * lib/gdb.exp (inferior_spawn_id): New global.
9379 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
9380 spawn id after processing the user code.
9381 (default_gdb_start): Set inferior_spawn_id.
9382 (send_inferior): New procedure.
9383 * lib/gdbserver-support.exp (gdbserver_start): Set
9384 inferior_spawn_id.
9385 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
9386
9387 2015-04-07 Pedro Alves <palves@redhat.com>
9388
9389 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
9390 * lib/gdbserver-support.exp (gdbserver_start): Make
9391 $server_spawn_id global.
9392 (gdbserver_start): Don't wait for gdbserver's spawn id with
9393 expect_background.
9394 (close_gdbserver): New procedure.
9395 (gdb_exit): Rename the default version and reimplement.
9396
9397 2015-04-07 Pedro Alves <palves@redhat.com>
9398
9399 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
9400 append the substituted item, not the original item.
9401
9402 2015-04-07 Pedro Alves <palves@redhat.com>
9403
9404 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
9405 gdb_expect.
9406
9407 2015-04-07 Pedro Alves <palves@redhat.com>
9408
9409 * gdb.base/interrupt.exp: Don't handle the case of the inferior
9410 output appearing once only.
9411
9412 2015-04-07 Pedro Alves <palves@redhat.com>
9413
9414 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
9415 that doesn't expect anything. Return early if running to main
9416 fails.
9417
9418 2015-04-07 Yao Qi <yao.qi@linaro.org>
9419
9420 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
9421 (child_function): Call alarm.
9422 (main): Move call to alarm into the loop.
9423 * gdb.threads/non-stop-fair-events.exp: Build program with
9424 -DTIMEOUT=$timeout.
9425
9426 2015-04-06 Doug Evans <xdje42@gmail.com>
9427
9428 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
9429 Fix dest parameter to board_info.
9430 (fpc_compile): Ditto.
9431 (gdb_compile_pascal): Rename dest arg to destfile.
9432
9433 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
9434
9435 * gdb.ada/funcall_ref.exp: New file.
9436 * gdb.ada/funcall_ref/foo.adb: New file.
9437
9438 2015-04-02 Yao Qi <yao.qi@linaro.org>
9439
9440 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
9441 is remote.
9442
9443 2015-04-02 Gary Benson <gbenson@redhat.com>
9444
9445 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
9446
9447 2015-04-01 Sasha Smundak <asmundak@google.com>
9448
9449 * gdb.python/py-unwind-maint.c: New file.
9450 * gdb.python/py-unwind-maint.exp: New test.
9451 * gdb.python/py-unwind-maint.py: New file.
9452 * gdb.python/py-unwind.c: New file.
9453 * gdb.python/py-unwind.exp: New test.
9454 * gdb.python/py-unwind.py: New test.
9455
9456 2015-04-01 Pedro Alves <palves@redhat.com>
9457
9458 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
9459 to fail instead of non-existent $test.
9460
9461 2015-04-01 Pedro Alves <palves@redhat.com>
9462
9463 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
9464 GDBFLAGS if not empty.
9465
9466 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
9467
9468 * gdb.ada/complete.exp: Remove "multi_line".
9469 * gdb.ada/info_exc.exp: Remove "multi_line".
9470 * gdb.ada/packed_tagged.exp: Remove "multi_line".
9471 * gdb.ada/ptype_field.exp: Remove "multi_line".
9472 * gdb.ada/sym_print_name.exp: Remove "multi_line".
9473 * gdb.ada/tagged.exp: Remove "multi_line".
9474 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
9475 [multi_line ...]
9476 * gdb.btrace/delta.exp: Likewise.
9477 * gdb.btrace/exception.exp: Likewise.
9478 * gdb.btrace/function_call_history.exp: Likewise.
9479 * gdb.btrace/instruction_history.exp: Likewise.
9480 * gdb.btrace/nohist.exp: Likewise.
9481 * gdb.btrace/record_goto.exp: Likewise.
9482 * gdb.btrace/segv.exp: Likewise.
9483 * gdb.btrace/stepi.exp: Likewise.
9484 * gdb.btrace/tailcall.exp: Likewise.
9485 * gdb.btrace/unknown_functions.exp: Likewise.
9486 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
9487 * lib/gdb.exp: Add the "multi_line" helper.
9488
9489 2015-04-01 Pedro Alves <palves@redhat.com>
9490
9491 * gdb.threads/tid-reuse.c: New file.
9492 * gdb.threads/tid-reuse.exp: New file.
9493
9494 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
9495
9496 PR corefiles/16092
9497 * gdb.base/coredump-filter.c: New file.
9498 * gdb.base/coredump-filter.exp: Likewise.
9499
9500 2015-03-27 Petr Machata <pmachata@redhat.com>
9501
9502 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
9503 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
9504 (Dwarf::assemble): Initialize them.
9505 (Dwarf::lines): New function.
9506
9507 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
9508
9509 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
9510 SYMBOL_PREFIX for x86_64-*-cygwin.
9511
9512 2015-03-26 Andy Wingo <wingo@igalia.com>
9513
9514 PR symtab/18148
9515 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
9516 const_value but not a location.
9517 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
9518 location defined in non-main CUs are visible.
9519
9520 2015-03-26 Yao Qi <yao.qi@linaro.org>
9521
9522 PR testsuite/18139
9523 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
9524 Add a line number entry for the same line.
9525 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
9526 Add a line number entry for the same line.
9527
9528 2015-03-26 Yao Qi <yao.qi@linaro.org>
9529
9530 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
9531 .int 0.
9532 (func): Likewise. Add .Lfunc_1 label.
9533 Use .Lfunc_1 label.
9534 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
9535 .int 0.
9536 (func): Likewise.
9537 Use .Lfunc_1 label.
9538
9539 2015-03-26 Yao Qi <yao.qi@linaro.org>
9540
9541 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
9542 Call gdb_compile instead to compile each .s files without debug
9543 information.
9544
9545 2015-03-26 Yao Qi <yao.qi@linaro.org>
9546
9547 * gdb.base/savedregs.exp (process_saved_regs): Make
9548 "Saved registers:" optional in the pattern.
9549
9550 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9551
9552 * gdb.btrace/next.exp: Merged into step.exp.
9553 * gdb.btrace/finish.exp: Merged into step.exp.
9554 * gdb.btrace/nexti.exp: Merged into stepi.exp.
9555 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
9556 "record goto" and checking the exact replay position.
9557 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9558 check for "Recording format" in "info record" output.
9559 * gdb.btrace/record_goto.exp: Choose test file based on target.
9560 * gdb.btrace/x86-record_goto.S: Renamed into ...
9561 * gdb.btrace/x86_64-record_goto.S: ... this.
9562 * gdb.btrace/i686-record_goto.S: New.
9563 * gdb.btrace/x86-tailcall.S: Renamed into ...
9564 * gdb.btrace/x86_64-tailcall.S: ... this.
9565 * gdb.btrace/i686-tailcall.S: New.
9566 * gdb.btrace/x86-tailcall.c: Renamed into ...
9567 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
9568 separate statements. Update test.
9569 * gdb.btrace/delta.exp: Use record_goto.c as test file.
9570 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
9571 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
9572 * gdb.btrace/tailcall.exp: Choose test file based on target.
9573 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
9574
9575 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
9576
9577 * gdb.btrace/exception.exp: Increase BTS buffer size.
9578
9579 2015-03-24 Pedro Alves <palves@redhat.com>
9580
9581 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
9582
9583 2015-03-24 Pedro Alves <palves@redhat.com>
9584
9585 * gdb.threads/schedlock.exp (test_step): No longer expect that
9586 "set scheduler-locking step" with "next" over a function call runs
9587 threads unlocked.
9588
9589 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9590
9591 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
9592
9593 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9594
9595 PR breakpoints/16466
9596 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
9597 * gdb.mi/mi-pending.c (thread_func): New function.
9598 (int main): Add threading support required.
9599 * gdb.mi/mi-pending.exp: Add tests for this issue.
9600 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
9601 (pendfunc2): Remove stdio dependency.
9602 * gdb.mi/mi-pendshr2.c: New file.
9603
9604 2015-03-23 Keith Seitz <keiths@redhat.com>
9605
9606 * gdb.linespec/keywords.c: New file.
9607 * gdb.linespec/keywords.exp: New file.
9608
9609 2015-03-23 Keith Seitz <keiths@redhat.com>
9610
9611 PR gdb/18021
9612 * gdb.dwarf2/staticvirtual.exp: New test.
9613
9614 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9615
9616 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
9617 * README: Remove HP-UX and gdb.hp.
9618 (configuration):
9619 * configure: Regenerate.
9620 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
9621 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
9622 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
9623 gdb.hp/gdb.defects/Makefile.
9624 * gdb.hp/Makefile.in: File deleted.
9625 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
9626 * gdb.hp/gdb.aCC/optimize.c: File deleted.
9627 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
9628 * gdb.hp/gdb.aCC/run.c: File deleted.
9629 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
9630 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
9631 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
9632 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
9633 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
9634 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
9635 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
9636 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
9637 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
9638 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
9639 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
9640 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
9641 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
9642 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
9643 * gdb.hp/gdb.base-hp/reg.s: File deleted.
9644 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
9645 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
9646 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
9647 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
9648 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
9649 * gdb.hp/gdb.compat/Makefile.in: File deleted.
9650 * gdb.hp/gdb.compat/average.c: File deleted.
9651 * gdb.hp/gdb.compat/sum.c: File deleted.
9652 * gdb.hp/gdb.compat/xdb.c: File deleted.
9653 * gdb.hp/gdb.compat/xdb0.c: File deleted.
9654 * gdb.hp/gdb.compat/xdb0.h: File deleted.
9655 * gdb.hp/gdb.compat/xdb1.c: File deleted.
9656 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
9657 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
9658 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
9659 * gdb.hp/gdb.defects/Makefile.in: File deleted.
9660 * gdb.hp/gdb.defects/bs14602.c: File deleted.
9661 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
9662 * gdb.hp/gdb.defects/solib-d.c: File deleted.
9663 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
9664 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
9665 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
9666 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
9667 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
9668 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
9669 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
9670 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
9671 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
9672 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
9673 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
9674 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
9675 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
9676 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
9677 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
9678 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
9679 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
9680 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
9681 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
9682 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
9683 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
9684 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
9685 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
9686 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
9687 * gdb.hp/tools/odump: File deleted.
9688
9689 2015-03-19 Pedro Alves <palves@redhat.com>
9690
9691 * gdb.threads/continue-pending-status.exp (saw_thread_2)
9692 (saw_thread_3): New globals.
9693 (top level): Increment them when an event for the corresponding
9694 thread is seen.
9695 (no thread starvation): New test.
9696
9697 2015-03-19 Pedro Alves <palves@redhat.com>
9698
9699 * gdb.threads/continue-pending-status.c: New file.
9700 * gdb.threads/continue-pending-status.exp: New file.
9701
9702 2015-03-18 Pedro Alves <palves@redhat.com>
9703
9704 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9705 Use gdb_is_target_remote instead of is_remote. Use
9706 gdb_test_multiple instead of gdb_expect. Exit early if
9707 gdb_test_multiple hits its internal matches. Tighten stepi tests
9708 expected output. Fail on exit with any signal, instead of just
9709 SIGILL.
9710
9711 2015-03-18 Yao Qi <yao.qi@linaro.org>
9712
9713 PR tdep/18107
9714 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
9715 variable.
9716 * gdb.base/catch-syscall.exp: Don't skip it on
9717 aarch64*-*-linux* target. Remove elements in all_syscalls.
9718 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
9719 target.
9720 (setup_all_syscalls): New proc.
9721
9722 2015-03-16 Yao Qi <yao.qi@linaro.org>
9723
9724 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
9725 (top level): Skip tests if valid_addr_p returns false for
9726 $cmd1 or $cmd2.
9727
9728 2015-03-11 Andy Wingo <wingo@igalia.com>
9729
9730 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
9731
9732 2015-03-11 Yao Qi <yao.qi@linaro.org>
9733
9734 * gdb.base/catch-syscall.exp: Fix typo in comments.
9735
9736 2015-03-11 Yao Qi <yao.qi@linaro.org>
9737
9738 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
9739
9740 2015-03-09 Pedro Alves <palves@redhat.com>
9741
9742 * dg-extract-results.py: Delete.
9743
9744 2015-03-09 Pedro Alves <palves@redhat.com>
9745
9746 Merge dg-extract-results.sh from GCC upstream (r218843).
9747
9748 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
9749 * dg-extract-results.sh: Use --text with grep to avoid issues with
9750 binary files. Fall back to cat -v, if that doesn't work.
9751
9752 2015-03-05 Pedro Alves <palves@redhat.com>
9753
9754 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
9755
9756 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
9757
9758 * lib/mi-support.exp (mi_expect_interrupt): Accept
9759 alternative event for when in all-stop mode.
9760
9761 2015-03-04 Pedro Alves <palves@redhat.com>
9762
9763 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
9764
9765 2015-03-04 Mark Kettenis <kettenis@gnu.org>
9766
9767 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
9768
9769 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9770
9771 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
9772 regexps for GDB's current line display, accept a hex address
9773 preceding the line number.
9774
9775 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
9776
9777 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
9778 the 'arch1' variable for "s390*-linux*" targets.
9779
9780 2015-03-04 Pedro Alves <palves@redhat.com>
9781
9782 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
9783 (main): Pass missing retval argument to pthread_join call.
9784
9785 2015-03-02 Pedro Alves <palves@redhat.com>
9786
9787 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
9788 (top level): Call do_test with non-stop as well.
9789
9790 2015-03-02 Pedro Alves <palves@redhat.com>
9791
9792 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
9793 -1.
9794
9795 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
9796
9797 * gdb.arch/s390-vregs.exp: New test.
9798 * gdb.arch/s390-vregs.S: New file.
9799
9800 2015-02-27 Pedro Alves <palves@redhat.com>
9801
9802 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
9803 call to catch_command_errors.
9804 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
9805 catch_command_errors.
9806
9807 2015-02-27 Pedro Alves <palves@redhat.com>
9808
9809 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
9810 "true" for boolean result.
9811 * gdb.gdb/selftest.exp (test_with_self): Also accept full
9812 prototype of main.
9813
9814 2015-02-27 Pedro Alves <palves@redhat.com>
9815
9816 * lib/unbuffer_output.c: New file.
9817 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
9818 (main): Call gdb_unbuffer_output.
9819
9820 2015-02-27 Yao Qi <yao.qi@linaro.org>
9821
9822 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
9823 target.
9824
9825 2015-02-26 Doug Evans <dje@google.com>
9826
9827 * gdb.cp/class2.cc (Dbase, D): New classes.
9828 (main): New local delta.
9829 * gdb.cp/class2.exp: Test printing delta.
9830 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
9831 (dynbar): New global.
9832 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
9833
9834 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9835
9836 * gdb.compile/compile-ifunc.c: New file.
9837 * gdb.compile/compile-ifunc.exp: New file.
9838
9839 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
9840
9841 * gdb.base/structs.exp: Check for correct struct on finish.
9842
9843 2015-02-26 Yao Qi <yao.qi@linaro.org>
9844
9845 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
9846 is zero.
9847
9848 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9849
9850 * gdb.arch/cordic.ko.bz2: New file.
9851 * gdb.arch/cordic.ko.debug.bz2: New file.
9852 * gdb.arch/ppc64-symtab-cordic.exp: New file.
9853
9854 2015-02-25 Yao Qi <yao.qi@linaro.org>
9855
9856 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
9857 aarch64*-*-* target.
9858
9859 2015-02-23 Pedro Alves <palves@redhat.com>
9860
9861 * lib/gdb.exp (delete_breakpoints): Rewrite using
9862 gdb_test_multiple.
9863
9864 2015-02-23 Pedro Alves <palves@redhat.com>
9865
9866 * gdb.base/info-os.c: Include stdlib.h.
9867
9868 2015-02-22 Doug Evans <xdje42@gmail.com>
9869
9870 PR symtab/17855
9871 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
9872 is read after symbols have been re-read.
9873 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
9874 * gdb.ada/exec_changed/second.adb (Second): Ditto.
9875
9876 2015-02-21 Doug Evans <dje@google.com>
9877
9878 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
9879
9880 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9881
9882 PR corefiles/17808
9883 * gdb.arch/i386-biarch-core.core.bz2: New file.
9884 * gdb.arch/i386-biarch-core.exp: New file.
9885
9886 2015-02-21 Pedro Alves <palves@redhat.com>
9887
9888 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
9889 runto_main fails.
9890
9891 2015-02-20 Pedro Alves <palves@redhat.com>
9892
9893 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
9894 info probes.
9895
9896 2015-02-20 Pedro Alves <palves@redhat.com>
9897
9898 * gdb.threads/multi-create-ns-info-thr.exp: New file.
9899
9900 2015-02-20 Pedro Alves <palves@redhat.com>
9901
9902 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
9903 clean_restart before gdb_target_supports_trace.
9904
9905 2015-02-20 Pedro Alves <palves@redhat.com>
9906
9907 PR threads/18006
9908 * gdb.threads/clone-thread_db.c: New file.
9909 * gdb.threads/clone-thread_db.exp: New file.
9910
9911 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
9912
9913 PR breakpoints/16812
9914 * gdb.base/catch-gdb-caused-signals.c: New file.
9915 * gdb.base/catch-gdb-caused-signals.exp: New file.
9916
9917 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
9918
9919 * configure: Regenerated.
9920 * configure.ac: Use GDB_AC_TRANSFORM.
9921 * aclocal.m4: sinclude ../transform.m4.
9922
9923 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9924
9925 * lib/dtrace.exp: New file.
9926 * gdb.base/dtrace-probe.exp: Likewise.
9927 * gdb.base/dtrace-probe.d: Likewise.
9928 * gdb.base/dtrace-probe.c: Likewise.
9929 * lib/pdtrace.in: Likewise.
9930 * configure.ac: Output variables with the transformed names of
9931 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
9932 * configure: Regenerated.
9933
9934 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9935
9936 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
9937 expected message when trying to access $_probe_* convenience
9938 variables while not on a probe.
9939
9940 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9941
9942 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
9943
9944 2015-02-11 Pedro Alves <pedro@codesourcery.com>
9945
9946 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
9947 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
9948
9949 2015-02-10 Doug Evans <xdje42@gmail.com>
9950
9951 * lib/gdb.exp (gdb_load): Always return a result.
9952
9953 2015-02-10 Pedro Alves <palves@redhat.com>
9954
9955 * gdb.threads/signal-sigtrap.c: New file.
9956 * gdb.threads/signal-sigtrap.exp: New file.
9957
9958 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
9959
9960 * gdb.trace/no-attach-trace.c: New file.
9961 * gdb.trace/no-attach-trace.exp: New file.
9962
9963 2015-02-09 Mark Wielaard <mjw@redhat.com>
9964
9965 * gdb.dwarf2/atomic.c: New file.
9966 * gdb.dwarf2/atomic-type.exp: Likewise.
9967
9968 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9969
9970 * gdb.btrace/buffer-size.exp: Update "info record" output.
9971 * gdb.btrace/delta.exp: Update "info record" output.
9972 * gdb.btrace/enable.exp: Update "info record" output.
9973 * gdb.btrace/finish.exp: Update "info record" output.
9974 * gdb.btrace/instruction_history.exp: Update "info record" output.
9975 * gdb.btrace/next.exp: Update "info record" output.
9976 * gdb.btrace/nexti.exp: Update "info record" output.
9977 * gdb.btrace/step.exp: Update "info record" output.
9978 * gdb.btrace/stepi.exp: Update "info record" output.
9979 * gdb.btrace/nohist.exp: Update "info record" output.
9980
9981 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9982
9983 * gdb.btrace/buffer-size: New.
9984
9985 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
9986
9987 * gdb.btrace/delta.exp: Update "info record" output.
9988 * gdb.btrace/enable.exp: Update "info record" output.
9989 * gdb.btrace/finish.exp: Update "info record" output.
9990 * gdb.btrace/instruction_history.exp: Update "info record" output.
9991 * gdb.btrace/next.exp: Update "info record" output.
9992 * gdb.btrace/nexti.exp: Update "info record" output.
9993 * gdb.btrace/step.exp: Update "info record" output.
9994 * gdb.btrace/stepi.exp: Update "info record" output.
9995 * gdb.btrace/nohist.exp: Update "info record" output.
9996
9997 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
9998
9999 PR gdb/15678
10000 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
10001
10002 2015-02-06 Pedro Alves <palves@redhat.com>
10003
10004 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
10005 macro.
10006 (seconds_left, again): New globals.
10007 (main): Wait seconds_left in a 1-second sleep loop instead of
10008 sleeping 180 seconds. If 'again' is set, reset the seconds
10009 counter.
10010 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
10011 'again' in the inferior before detaching. Print the seconds left.
10012 (options): New global.
10013 (top level): Build program with -DTIMEOUT=$timeout.
10014
10015 2015-02-06 Pedro Alves <palves@redhat.com>
10016
10017 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
10018 determine how many seconds to pass to 'alarm'.
10019 * gdb.base/gdb-sigterm.exp (top level): Build program with
10020 -DTIMEOUT=$timeout.
10021 (do_test): Return success/failure indication. Add more verbose
10022 logging. Don't fail if 200 single steps are seen. Instead, fail
10023 when the test times out.
10024 (passes): New global.
10025 (top level): Break the testing loop if testing fails on any
10026 iteration. Use gdb_assert.
10027
10028 2015-02-04 Don Breazeal <donb@codesourcery.com>
10029
10030 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
10031 and initialize them.
10032 (ipc_cleanup): New function.
10033 (main): Don't declare shmid, semid, and msqid. Add a call to
10034 atexit so that we call ipc_cleanup on exit.
10035
10036 2015-02-04 Pedro Alves <palves@redhat.com>
10037
10038 * boards/native-extended-gdbserver.exp: Remove any target variant
10039 specifications from the board name before clearing the isremote
10040 flag from board_info.
10041
10042 2015-01-31 Doug Evans <xdje42@gmail.com>
10043
10044 * gdb.base/maint.exp <maint print type argc>: Update expected output.
10045
10046 2015-01-31 Gary Benson <gbenson@redhat.com>
10047
10048 * gdb.base/completion.exp: Disable completion limiting for
10049 existing tests. Add new tests to check completion limiting.
10050 * gdb.linespec/ls-errs.exp: Disable completion limiting.
10051
10052 2015-01-31 Doug Evans <xdje42@gmail.com>
10053
10054 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
10055
10056 2015-01-31 Doug Evans <xdje42@gmail.com>
10057
10058 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
10059 entries. Duplicate file section script entries.
10060 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
10061 inlined entries. Add test for safe-path rejection.
10062 * gdb.python/py-section-script.c: Add duplicate inlined section script
10063 entries. Duplicate file section script entries.
10064 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
10065 inlined entries. Add test for safe-path rejection.
10066
10067 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10068
10069 * gdb.ada/disc_arr_bound: New testcase.
10070
10071 2015-01-29 Joel Brobecker <brobecker@adacore.com>
10072
10073 * gdb.ada/mi_var_array: New testcase.
10074
10075 2015-01-27 Doug Evans <dje@google.com>
10076
10077 * gdb.python/py-objfile.exp: Add tests for objfile.username.
10078 Add test for objfile.filename, objfile.username after objfile
10079 has been unloaded.
10080
10081 2015-01-26 Joel Brobecker <brobecker@adacore.com>
10082
10083 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
10084 the second test to print the name attribute of value
10085 returned by the call to gdb.lookup_type, and adjust
10086 the expected output accordingly.
10087
10088 2015-01-25 Mark Wielaard <mjw@redhat.com>
10089
10090 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
10091 * gdb.base/disp-step-fork.c: Include unistd.h.
10092 * gdb.base/siginfo-obj.c: Include stdio.h.
10093 * gdb.base/siginfo-thread.c: Likewise.
10094 * gdb.mi/non-stop.c: Include unistd.h.
10095 * gdb.mi/nsthrexec.c: Include stdio.h.
10096 * gdb.mi/pthreads.c: Include unistd.h.
10097 * gdb.modula2/unbounded1.c (main): Declare returns int.
10098 * gdb.reverse/consecutive-reverse.c: Likewise.
10099 * gdb.threads/create-fail.c: Include unistd.h.
10100 * gdb.threads/killed.c: Likewise.
10101 * gdb.threads/linux-dp.c: Likewise.
10102 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
10103 * gdb.threads/non-ldr-exc-2.c: Likewise.
10104 * gdb.threads/non-ldr-exc-3.c: Likewise.
10105 * gdb.threads/non-ldr-exc-4.c: Likewise.
10106 * gdb.threads/pthreads.c: Include unistd.h.
10107 (main): Declare returns int.
10108 * gdb.threads/tls-main.c (foo): New declaration.
10109 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
10110
10111 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
10112
10113 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
10114 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
10115
10116 2015-01-15 Mark Wielaard <mjw@redhat.com>
10117
10118 * gdb.base/noreturn-return.c: New file.
10119 * gdb.base/noreturn-return.exp: New file.
10120 * gdb.base/noreturn-finish.c: New file.
10121 * gdb.base/noreturn-finish.exp: New file.
10122
10123 2015-01-23 Pedro Alves <palves@redhat.com>
10124
10125 * gdb.threads/continue-pending-after-query.c: New file.
10126 * gdb.threads/continue-pending-after-query.exp: New file.
10127
10128 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
10129 Simon Marchi <simon.marchi@ericsson.com>
10130
10131 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
10132 * gdb.base/valgrind-db-attach.exp: Same.
10133 * gdb.base/valgrind-infcall.exp: Same.
10134 * lib/mi-support.exp (default_mi_gdb_start): Same.
10135 * lib/prompt.exp (default_prompt_gdb_start): Same.
10136 * lib/gdb.exp (default_gdb_spawn): Same.
10137 (gdb_interact): New.
10138
10139
10140 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10141
10142 * gdb.compile/compile.exp (pointer to jit function): New test.
10143
10144 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
10145
10146 * lib/gdb.exp (supports_process_record): Return true for
10147 powerpc*-*-linux*.
10148 (supports_reverse): Likewise.
10149
10150 2015-01-15 Don Breazeal <donb@codesourcery.com>
10151
10152 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
10153 instead of checking whether the target board is remote and
10154 use spawn_wait_for_attach instead of exec/sleep.
10155 * gdb.base/attach-twice.exp: Likewise.
10156
10157 2015-01-15 Joel Brobecker <brobecker@adacore.com>
10158
10159 * gdb.ada/var_arr_attrs: New testcase.
10160
10161 2015-01-14 Pedro Alves <palves@redhat.com>
10162 Joel Brobecker <brobecker@adacore.com>
10163
10164 PR gdb/17525
10165 * gdb.base/bp-cmds-execution-x-script.c: New file.
10166 * gdb.base/bp-cmds-execution-x-script.exp: New file.
10167 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
10168
10169 2015-01-14 Pedro Alves <palves@redhat.com>
10170
10171 PR cli/17828
10172 * gdb.base/batch-preserve-term-settings.c: New file.
10173 * gdb.base/batch-preserve-term-settings.exp: New file.
10174
10175 2015-01-13 Doug Evans <dje@google.com>
10176
10177 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
10178 binary.
10179
10180 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10181
10182 * Makefile.in (clean mostlyclean): Do not delete *.py.
10183
10184 2015-01-13 Joel Brobecker <brobecker@adacore.com>
10185
10186 * gdb.python/py-lookup-type.exp: New file.
10187
10188 2015-01-12 Pedro Alves <palves@redhat.com>
10189
10190 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
10191 restore GDBFLAGS before returning.
10192
10193 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10194
10195 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
10196 is_amd64_regs_target and is_x86_like_target.
10197
10198 2015-01-11 Doug Evans <xdje42@gmail.com>
10199
10200 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
10201 is given without an explicit form.
10202 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
10203 attributes.
10204 * gdb.dwarf/corrupt.exp: Ditto.
10205 * gdb.dwarf2/enum-type.exp: Ditto.
10206 * gdb.trace/entry-values.exp: Ditto.
10207 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
10208
10209 2015-01-11 Doug Evans <xdje42@gmail.com>
10210
10211 PR gdb/15830
10212 * gdb.base/maint.exp: Remove references to "maint demangle".
10213 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
10214 Add tests for explicitly specifying language to demangle.
10215 * gdb.dlang/demangle.exp: Ditto.
10216
10217 2015-01-09 Pedro Alves <palves@redhat.com>
10218
10219 * gdb.threads/non-stop-fair-events.c: New file.
10220 * gdb.threads/non-stop-fair-events.exp: New file.
10221
10222 2015-01-09 Pedro Alves <palves@redhat.com>
10223
10224 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
10225 the global scope. Set a breakpoint after all threads are started
10226 rather than stepping over two source lines. Expect the prompt.
10227 * gdb.base/watch_thread_num.c (threads_started_barrier): New
10228 global.
10229 (NUM): Now 15.
10230 (main): Use threads_started_barrier to wait for all threads to
10231 start. Main thread no longer calls thread_function. Exit after
10232 180 seconds.
10233 (loop): New function.
10234 (thread_function): Wait on threads_started_barrier barrier. Call
10235 'loop' at each iteration.
10236 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
10237 threads have started, instead of hardcoding number of "next"
10238 steps. Use an access watchpoint instead of a write watchpoint.
10239
10240 2015-01-09 Pedro Alves <palves@redhat.com>
10241
10242 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
10243 (thread_func): Wait on barrier.
10244 (main): Wait for all threads to start before stopping GDB.
10245 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
10246 global.
10247 (thread1_func, thread2_func): Wait on barrier.
10248 (main): Wait for all threads to start before stopping GDB.
10249 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
10250 New global.
10251 (thread1_func, thread2_func): Wait on barrier.
10252 (main): Wait for all threads to start before stopping GDB.
10253
10254 2015-01-09 Pedro Alves <palves@redhat.com>
10255
10256 * gdb.threads/attach-many-short-lived-threads.c: New file.
10257 * gdb.threads/attach-many-short-lived-threads.exp: New file.
10258
10259 2014-01-09 Pedro Alves <palves@redhat.com>
10260
10261 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
10262 instead of to thread 2.
10263 * gdb.threads/signal-command-multiple-signals-pending.c (main):
10264 Add barrier around each pthread_create call instead of around all
10265 calls.
10266 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
10267 Set a break on thread_function and have the child threads hit it
10268 one at at a time.
10269
10270 2015-01-09 Pedro Alves <palves@redhat.com>
10271
10272 * lib/gdb.exp (can_spawn_for_attach): New procedure.
10273 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
10274 false.
10275 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
10276 checking whether the target board is remote.
10277 * gdb.multi/multi-attach.exp: Likewise.
10278 * gdb.python/py-sync-interp.exp: Likewise.
10279 * gdb.server/ext-attach.exp: Likewise.
10280 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
10281 tests that need to attach, instead of checking whether the target
10282 board is remote at the top of the file.
10283
10284 2015-01-08 Yao Qi <yao@codesourcery.com>
10285
10286 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
10287
10288 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10289
10290 Fix testcase compilation.
10291 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
10292
10293 2015-01-06 Joel Brobecker <brobecker@adacore.com>
10294
10295 * gdb.python/py-type.exp: Add a couple test about empty
10296 array creation, and negative-length array creation.
10297
10298 2015-01-02 Doug Evans <xdje42@gmail.com>
10299
10300 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
10301
10302 2015-01-02 Doug Evans <dje@google.com>
10303
10304 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
10305
10306 2014-12-29 Yao Qi <yao@codesourcery.com>
10307
10308 * gdb.trace/entry-values.exp: Update comments. Rename variable
10309 bar_call_foo to returned_from_foo.
10310
10311 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
10312
10313 PR gdb/17394
10314 * gdb.linespec/break-asm-file.c: New file.
10315 * gdb.linespec/break-asm-file.exp: New file.
10316 * gdb.linespec/break-asm-file0.s: New file.
10317 * gdb.linespec/break-asm-file1.s: New file.
10318
10319 2014-12-18 Nigel Stephens <nigel@mips.com>
10320 Maciej W. Rozycki <macro@codesourcery.com>
10321
10322 * gdb.base/float.exp: Handle the new output from "info float" on
10323 MIPS targets.
10324
10325 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10326
10327 Fix MinGW compilation.
10328 * gdb.compile/compile-ops.exp: Update untested message if
10329 !skip_compile_feature_tests.
10330 * gdb.compile/compile-setjmp.exp: Likewise.
10331 * gdb.compile/compile-tls.exp: Likewise.
10332 * gdb.compile/compile.exp: Likewise.
10333 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
10334 supported on this host".
10335
10336 2014-12-16 Doug Evans <xdje42@gmail.com>
10337
10338 * boards/stabs.exp: New file.
10339
10340 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
10341
10342 * gdb.base/completion.exp: Adjust to format changes of "maint
10343 print user-registers".
10344
10345 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
10346
10347 PR server/17457
10348 * gdb.arch/aarch64-fp.c: New file.
10349 * gdb.arch/aarch64-fp.exp: New file.
10350
10351 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10352
10353 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
10354 r210637, r210913, r211666, r215400, r215817).
10355
10356 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
10357 * dg-extract-results.py: New file.
10358 * dg-extract-results.sh: Use it if the environment seems
10359 suitable.
10360
10361 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
10362
10363 * dg-extract-results.py (parse_run): Handle warnings that
10364 are printed before a test harness is run.
10365
10366 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
10367
10368 * dg-extract-results.py (Named): Remove __cmp__ method.
10369 (output_variation): Use a key to sort variation.harnesses.
10370
10371 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
10372
10373 * dg-extract-results.py: For Python 3, force sys.stdout to
10374 handle surrogate escape sequences.
10375 (safe_open): New function.
10376 (output_segment, main): Use it.
10377
10378 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
10379
10380 * dg-extract-results.py (Prog.result_re): Include options
10381 in test name.
10382
10383 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
10384
10385 * dg-extract-results.py (output_variation): Always sort if
10386 do_sum.
10387
10388 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
10389
10390 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
10391 as long as we get pagination notifications.
10392
10393 2014-12-15 Jason Merrill <jason@redhat.com>
10394
10395 * Makefile.in (check-gdb.%): Restore.
10396 * README: Mention it.
10397
10398 2014-12-13 Joel Brobecker <brobecker@adacore.com>
10399
10400 * gdb.ada/str_uninit: New testcase.
10401
10402 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10403
10404 PR symtab/17642
10405 * gdb.base/vla-stub-define.c: New file.
10406 * gdb.base/vla-stub.c: New file.
10407 * gdb.base/vla-stub.exp: New file.
10408
10409 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
10410 Jan Kratochvil <jan.kratochvil@redhat.com>
10411 Tom Tromey <tromey@redhat.com>
10412
10413 * configure.ac: Add gdb.compile/.
10414 * configure: Regenerate.
10415 * gdb.compile/Makefile.in: New file.
10416 * gdb.compile/compile-ops.exp: New file.
10417 * gdb.compile/compile-ops.c: New file.
10418 * gdb.compile/compile-tls.c: New file.
10419 * gdb.compile/compile-tls.exp: New file.
10420 * gdb.compile/compile-constvar.S: New file.
10421 * gdb.compile/compile-constvar.c: New file.
10422 * gdb.compile/compile-mod.c: New file.
10423 * gdb.compile/compile-nodebug.c: New file.
10424 * gdb.compile/compile-setjmp-mod.c: New file.
10425 * gdb.compile/compile-setjmp.c: New file.
10426 * gdb.compile/compile-setjmp.exp: New file.
10427 * gdb.compile/compile-shlib.c: New file.
10428 * gdb.compile/compile.c: New file.
10429 * gdb.compile/compile.exp: New file.
10430 * lib/gdb.exp (skip_compile_feature_tests): New proc.
10431
10432 2014-12-12 Tom Tromey <tromey@redhat.com>
10433
10434 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
10435 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
10436
10437 2014-12-12 Doug Evans <dje@google.com>
10438
10439 * lib/gdb-python.exp (get_python_valueof): New function.
10440 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
10441
10442 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10443
10444 * gdb.base/completion.exp: Add test for completion of "info
10445 registers ".
10446
10447 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
10448
10449 * gdb.base/func-ptrs.c: New file.
10450 * gdb.base/func-ptrs.exp: New file.
10451
10452 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10453
10454 PR breakpoints/17012
10455 * gdb.base/dprintf-detach.c: New file.
10456 * gdb.base/dprintf-detach.exp: New file.
10457
10458 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
10459
10460 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
10461 * lib/gdb.exp (target_is_gdbserver): New procedure.
10462
10463 2014-12-08 Doug Evans <dje@google.com>
10464
10465 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
10466
10467 2014-12-05 Yao Qi <yao@codesourcery.com>
10468
10469 * gdb.guile/scm-error.exp: Remove the third argument to
10470 gdb_remote_download.
10471 * gdb.guile/scm-frame-args.exp: Likewise.
10472 * gdb.guile/scm-section-script.exp: Likewise.
10473
10474 2014-12-05 Yao Qi <yao@codesourcery.com>
10475
10476 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
10477
10478 2014-12-04 Doug Evans <dje@google.com>
10479
10480 * gdb.python/py-objfile.exp: Add tests for
10481 objfile.add_separate_debug_file.
10482
10483 2014-12-04 Doug Evans <dje@google.com>
10484
10485 * lib/gdb.exp (get_build_id): New function.
10486 (build_id_debug_filename_get): Rewrite to use it.
10487 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
10488
10489 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
10490
10491 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
10492 `method(long)', not just 0x0.
10493 * gdb.cp/nsalias.exp: Align code labels to 4.
10494 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
10495 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
10496 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
10497 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
10498 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
10499 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
10500
10501 2014-12-02 Doug Evans <dje@google.com>
10502
10503 PR symtab/17602
10504 * gdb.cp/anon-ns.cc: Move guts of this file to ...
10505 * gdb.cp/anon-ns2.cc: ... here. New file.
10506 * gdb.cp/anon-ns.exp: Update.
10507
10508 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
10509
10510 * gdb.python/py-events.py (inferior_call_handler): New.
10511 (register_changed_handler, memory_changed_handler): New.
10512 (test_events.invoke): Register new handlers.
10513 * gdb.python/py-events.exp: Add tests for inferior call,
10514 memory_changed and register_changed events.
10515
10516 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
10517
10518 * gdb.base/execl-update-breakpoints.exp: Specify the link address
10519 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
10520 if the linker doesn't understand this.
10521
10522 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
10523
10524 * gdb.python/python.exp: Change expected reply to help().
10525
10526 2014-12-01 Yao Qi <yao@codesourcery.com>
10527
10528 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
10529 AC_CONFIG_SUBDIRS(gdb.gdbtk).
10530 * configure: Re-generated.
10531
10532 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
10533
10534 * gdb.cp/chained-calls.cc: New file.
10535 * gdb.cp/chained-calls.exp: New file.
10536 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
10537
10538 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
10539
10540 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
10541 * gdb.dwarf2/symtab-producer.exp: Same.
10542 * gdb.gdb/python-interrupts.exp: Same.
10543 * gdb.gdb/python-selftest.exp: Same.
10544 * gdb.python/py-linetable.exp: Same.
10545 * gdb.python/py-type.exp: Same.
10546 * gdb.python/py-value-cc.exp: Same.
10547 * gdb.python/py-value.exp: Same.
10548
10549 2014-11-28 Yao Qi <yao@codesourcery.com>
10550
10551 * gdb.base/break-probes.exp: Match library name prefixed with
10552 sysroot.
10553
10554 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
10555
10556 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
10557 test expected output. Add parentheses for the call to print.
10558 Remove L suffix from integers.
10559
10560 2014-11-26 Doug Evans <dje@google.com>
10561
10562 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
10563
10564 2014-11-22 Yao Qi <yao@codesourcery.com>
10565
10566 * gdb.trace/entry-values.c: Remove asms.
10567 (foo): Add foo_label.
10568 (bar): Add bar_label.
10569 * gdb.trace/entry-values.exp: Remove code computing foo's
10570 length and bar's length.
10571 (Dwarf::assemble): Invoke function_range for bar and use
10572 MACRO_AT_func for foo.
10573
10574 2014-11-22 Yao Qi <yao@codesourcery.com>
10575
10576 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
10577 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
10578 Use .Lgcc43_procstart instead of gcc43.
10579
10580 2014-11-21 Joel Brobecker <brobecker@adacore.com>
10581
10582 * gdb.ada/n_arr_bound: New testcase.
10583
10584 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
10585
10586 PR breakpoints/10737
10587 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
10588 test_catch_syscall_multi_arch.
10589 (test_catch_syscall_multi_arch): New function.
10590
10591 2014-11-20 Doug Evans <xdje42@gmail.com>
10592
10593 * gdb.base/maint.exp: Update expected output.
10594
10595 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10596
10597 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
10598 4-byte instruction on S390.
10599
10600 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10601
10602 * gdb.ada/arr_arr: New testcase.
10603
10604 2014-11-19 Joel Brobecker <brobecker@adacore.com>
10605
10606 * gdb.ada/pkd_arr_elem: New Testcase.
10607
10608 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
10609
10610 * gdb.reverse/break-precsave: Expect completion message for
10611 core file reads.
10612 * gdb.reverse/consecutive-precsave.exp: Likewise.
10613 * gdb.reverse/finish-precsave.exp: Likewise.
10614 * gdb.reverse/i386-precsave.exp: Likewise.
10615 * gdb.reverse/machinestate-precsave.exp: Likewise.
10616 * gdb.reverse/sigall-precsave.exp: Likewise.
10617 * gdb.reverse/solib-precsave.exp: Likewise.
10618 * gdb.reverse/step-precsave.exp: Likewise.
10619 * gdb.reverse/until-precsave.exp: Likewise.
10620 * gdb.reverse/watch-precsave.exp: Likewise.
10621
10622 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10623
10624 * gdb.base/bp-permanent.c: Include unistd.h.
10625 * gdb.python/py-framefilter-mi.c (main): Add return type.
10626 * gdb.python/py-framefilter.c (main): Likewise.
10627 * gdb.trace/actions-changed.c (main): Likewise.
10628
10629 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10630
10631 * gdb.mi/until.c: Add eye-catchers.
10632 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
10633 line numbers.
10634
10635 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10636
10637 * gdb.base/condbreak.exp: Drop references to removed non-prototype
10638 function header variants in break1.c.
10639 * gdb.base/ena-dis-br.exp: Likewise.
10640 * gdb.base/hbreak2.exp: Likewise.
10641 * gdb.reverse/until-precsave.exp: Drop references to removed
10642 non-prototype function header variants in ur1.c.
10643 * gdb.reverse/until-reverse.exp: Likewise.
10644
10645 2014-11-17 Petr Machata <pmachata@redhat.com>
10646
10647 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
10648 ${_cu_offset_size} bytes abbrev offset.
10649
10650 2014-11-15 Doug Evans <xdje42@gmail.com>
10651
10652 PR symtab/17559
10653 * gdb.base/line-symtabs.exp: New file.
10654 * gdb.base/line-symtabs.c: New file.
10655 * gdb.base/line-symtabs.h: New file.
10656
10657 2014-11-14 Yao Qi <yao@codesourcery.com>
10658
10659 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
10660 (func): Add label func_label.
10661 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
10662 Replace low_pc and high_pc with MACRO_AT_range.
10663 Replace name, low_pc and high_pc with MACRO_AT_func.
10664
10665 2014-11-14 Yao Qi <yao@codesourcery.com>
10666
10667 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
10668 Replace name, low_pc and high_pc with MACRO_AT_func.
10669
10670 2014-11-14 Yao Qi <yao@codesourcery.com>
10671
10672 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
10673 produce debug information.
10674 * gdb.dwarf2/implptr-optimized-out.S: Removed.
10675
10676 2014-11-14 Yao Qi <yao@codesourcery.com>
10677
10678 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
10679 object and get function length.
10680 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
10681 with MACRO_AT_func.
10682 (top-level): Replace gdb_compile and clean_restart with
10683 prepare_for_testing.
10684 * gdb.dwarf2/main.c (main): Add label main_label.
10685
10686 2014-11-14 Yao Qi <yao@codesourcery.com>
10687
10688 * lib/dwarf.exp (function_range): New procedure.
10689 (Dwarf::_handle_macro_at_func): New procedure.
10690 (Dwarf::_handle_macro_at_range): New procedure.
10691 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
10692
10693 2014-11-14 Yao Qi <yao@codesourcery.com>
10694
10695 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
10696 (_handle_attribute): New procedure.
10697
10698 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10699
10700 * gdb.ada/cond_lang/foo.c (callme): Add return type.
10701 * gdb.base/call-sc.c (zed): Likewise.
10702 * gdb.base/checkpoint.c (main): Likewise.
10703 * gdb.base/dump.c (main): Likewise.
10704 * gdb.base/gcore.c (main): Likewise.
10705 * gdb.base/huge.c (main): Likewise.
10706 * gdb.base/multi-forks.c (main): Likewise.
10707 * gdb.base/pr10179-a.c (main): Likewise.
10708 * gdb.base/savedregs.c (main): Likewise.
10709 * gdb.base/sigaltstack.c (main): Likewise.
10710 * gdb.base/siginfo.c (main): Likewise.
10711 * gdb.base/structs.c (zed): Likewise.
10712 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
10713 * gdb.mi/mi-syn-frame.c (main): Likewise.
10714 * gdb.mi/until.c (foo, main): Likewise.
10715 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
10716 * gdb.base/solib-weak.c (foo): Declare.
10717 * gdb.base/attach-twice.c: Include stdio.h.
10718 * gdb.base/weaklib1.c: Likewise.
10719 * gdb.base/weaklib2.c: Likewise.
10720 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
10721 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
10722 unistd.h.
10723 * gdb.base/attach-pie-misread.c: Include stdlib.h.
10724 * gdb.mi/mi-exit-code.c: Likewise.
10725 * gdb.base/break-interp-lib.c: Include string.h.
10726 * gdb.base/coremaker.c: Likewise.
10727 * gdb.base/testenv.c: Likewise.
10728 * gdb.python/py-finish-breakpoint.c: Likewise.
10729 * gdb.base/inferior-died.c: Include sys/wait.h.
10730 * gdb.base/fileio.c: Include time.h.
10731 * gdb.base/async-shell.c: Include unistd.h.
10732 * gdb.base/dprintf-non-stop.c: Likewise.
10733 * gdb.base/info-os.c: Likewise.
10734 * gdb.mi/mi-console.c: Likewise.
10735 * gdb.mi/watch-nonstop.c: Likewise.
10736 * gdb.python/py-events.c: Likewise.
10737 * gdb.base/async.c (baz): Move up before its invocation.
10738 * gdb.base/code_elim2.c (my_global_func): Likewise.
10739 * gdb.base/skip-solib-lib.c (multiply): Likewise.
10740 * gdb.base/advance.c (func2): Likewise.
10741
10742 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10743
10744 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
10745 variant.
10746 * gdb.base/annota3.c: Likewise.
10747 * gdb.base/async.c: Likewise.
10748 * gdb.base/average.c: Likewise.
10749 * gdb.base/call-ar-st.c: Likewise.
10750 * gdb.base/call-rt-st.c: Likewise.
10751 * gdb.base/call-sc.c: Likewise.
10752 * gdb.base/call-strs.c: Likewise.
10753 * gdb.base/ending-run.c: Likewise.
10754 * gdb.base/execd-prog.c: Likewise.
10755 * gdb.base/exprs.c: Likewise.
10756 * gdb.base/foll-exec.c: Likewise.
10757 * gdb.base/foll-fork.c: Likewise.
10758 * gdb.base/foll-vfork.c: Likewise.
10759 * gdb.base/funcargs.c: Likewise.
10760 * gdb.base/gcore.c: Likewise.
10761 * gdb.base/jump.c: Likewise.
10762 * gdb.base/langs0.c: Likewise.
10763 * gdb.base/langs1.c: Likewise.
10764 * gdb.base/langs2.c: Likewise.
10765 * gdb.base/mips_pro.c: Likewise.
10766 * gdb.base/nodebug.c: Likewise.
10767 * gdb.base/opaque0.c: Likewise.
10768 * gdb.base/opaque1.c: Likewise.
10769 * gdb.base/recurse.c: Likewise.
10770 * gdb.base/run.c: Likewise.
10771 * gdb.base/scope0.c: Likewise.
10772 * gdb.base/scope1.c: Likewise.
10773 * gdb.base/setshow.c: Likewise.
10774 * gdb.base/setvar.c: Likewise.
10775 * gdb.base/shmain.c: Likewise.
10776 * gdb.base/shr1.c: Likewise.
10777 * gdb.base/shr2.c: Likewise.
10778 * gdb.base/sigall.c: Likewise.
10779 * gdb.base/signals.c: Likewise.
10780 * gdb.base/so-indr-cl.c: Likewise.
10781 * gdb.base/solib2.c: Likewise.
10782 * gdb.base/structs.c: Likewise.
10783 * gdb.base/sum.c: Likewise.
10784 * gdb.base/vforked-prog.c: Likewise.
10785 * gdb.base/watchpoint.c: Likewise.
10786 * gdb.reverse/shr2.c: Likewise.
10787 * gdb.reverse/until-reverse.c: Likewise.
10788 * gdb.reverse/ur1.c: Likewise.
10789 * gdb.reverse/watch-reverse.c: Likewise.
10790
10791 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10792
10793 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
10794 variant.
10795 * gdb.base/sepdebug.exp: Drop references to removed code.
10796
10797 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10798
10799 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
10800 variant. Preserve original line numbering.
10801 * gdb.base/list1.c: Likewise.
10802
10803 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10804
10805 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
10806 variant.
10807 * gdb.base/break1.c: Likewise.
10808 * gdb.base/break.exp: Drop references to removed code.
10809
10810 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10811
10812 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
10813 variant.
10814
10815 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10816
10817 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
10818
10819 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10820
10821 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
10822 logic into perform_all_tests() and invoke it with and without
10823 function header prototypes.
10824 (do_function_calls): Remove conditional XFAIL for PR 5318.
10825 (rerun_and_prepare): Remove duplicate code.
10826 (perform_all_tests): New. Main logic moved here.
10827
10828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10829
10830 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
10831 code guarded by #ifdef NO_PROTOTYPES.
10832 (t_double_many_args): Likewise.
10833 (DEF_FUNC_MANY_ARGS_1): Likewise.
10834 (DEF_FUNC_VALUES_1): Likewise.
10835 (t_structs_ldc): Renamed from t_structs_fc in conditional code
10836 guarded by #ifdef PROTOTYPES.
10837
10838 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10839
10840 * gdb.mi/mi-console.c: Add eye-catcher.
10841 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
10842 instead of literal line number.
10843
10844 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10845
10846 * gdb.base/shr2.c: Add eye-catcher.
10847 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
10848 line number.
10849
10850 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10851
10852 * gdb.base/jump.c: Add eye-catchers.
10853 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
10854 numbers.
10855
10856 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10857
10858 * gdb.base/execd-prog.c: Add eye-catchers.
10859 * gdb.base/foll-exec.c: Likewise.
10860 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
10861 line numbers.
10862
10863 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10864
10865 * gdb.base/ending-run.c: Add eye-catchers.
10866 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
10867 literal line numbers.
10868
10869 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10870
10871 * gdb.base/call-rt-st.c: Add eye-catchers.
10872 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
10873 literal line numbers.
10874
10875 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10876
10877 * gdb.base/call-ar-st.c: Add eye-catchers.
10878 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
10879 literal line numbers.
10880
10881 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10882
10883 * gdb.base/average.c: Add eye-catchers.
10884 * gdb.base/sum.c: Likewise.
10885 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
10886 regexps dynamically.
10887
10888 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10889
10890 * gdb.base/solib1.c: Add eye-catchers.
10891 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
10892 literal line numbers.
10893
10894 2014-11-12 Pedro Alves <palves@redhat.com>
10895
10896 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
10897 leader has exited.
10898
10899 2014-11-12 Pedro Alves <palves@redhat.com>
10900
10901 * gdb.arch/i386-bp_permanent.c: New file.
10902 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
10903 (srcfile): Set to i386-bp_permanent.c.
10904 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
10905 that stepi does not execute the 'leave' instruction, instead of
10906 testing it does execute.
10907 * gdb.base/bp-permanent.c: New file.
10908 * gdb.base/bp-permanent.exp: New file.
10909
10910 2014-11-10 Doug Evans <xdje42@gmail.com>
10911
10912 PR symtab/17564
10913 * gdb.base/symtab-search-order.exp: New file.
10914 * gdb.base/symtab-search-order.c: New file.
10915 * gdb.base/symtab-search-order-1.c: New file.
10916 * gdb.base/symtab-search-order-shlib-1.c: New file.
10917
10918 2014-11-07 Pedro Alves <palves@redhat.com>
10919
10920 PR gdb/17511
10921 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
10922 i?86-*-linux*.
10923
10924 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
10925
10926 PR c++/17494
10927 * gdb.cp/pr17494.cc: New file.
10928 * gdb.cp/pr17494.exp: New file.
10929
10930 2014-11-02 Yao Qi <yao@codesourcery.com>
10931
10932 * gdb.python/python.exp: Get working directory and match the
10933 output of "set extended-prompt \\w " with it.
10934
10935 2014-10-30 Doug Evans <dje@google.com>
10936
10937 * gdb.python/py-objfile.exp: Add tests for setting random attributes
10938 in objfiles.
10939 * gdb.python/py-progspace.exp: Add tests for setting random attributes
10940 in progspaces.
10941
10942 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
10943
10944 * gdb.base/fullpath-expand.exp: Skip for a remote host.
10945 * gdb.base/realname-expand.exp: Likewise.
10946 * gdb.linespec/macro-relative.exp: Likewise.
10947
10948 2014-10-29 Pedro Alves <palves@redhat.com>
10949
10950 PR gdb/17408
10951 * gdb.threads/schedlock.c (some_function): New function.
10952 (call_function): New global.
10953 (MAYBE_CALL_SOME_FUNCTION): New macro.
10954 (thread_function): Call it.
10955 * gdb.threads/schedlock.exp (get_args): Add description parameter,
10956 and use it instead of a global counter. Adjust all callers.
10957 (get_current_thread): Use "find current thread" for test message
10958 here rather than having all callers pass down the same string.
10959 (goto_loop): New procedure, factored out from ...
10960 (my_continue): ... this.
10961 (step_ten_loops): Change parameter from test message to command to
10962 use. Adjust.
10963 (list_count): Delete global.
10964 (check_result): New procedure, factored out from duplicate top
10965 level code.
10966 (continue tests): Wrap in with_test_prefix.
10967 (test_step): New procedure, factored out from duplicate top level
10968 code.
10969 (top level): Test "step" in combination with all scheduler-locking
10970 modes. Test "next" in combination with all scheduler-locking
10971 modes, and in combination with stepping over a function call or
10972 not.
10973 * gdb.threads/next-bp-other-thread.c: New file.
10974 * gdb.threads/next-bp-other-thread.exp: New file.
10975
10976 2014-10-29 Pedro Alves <palves@redhat.com>
10977
10978 PR python/17372
10979 * gdb.python/python.exp: Test a multi-line command that spawns
10980 interactive Python.
10981 * gdb.base/multi-line-starts-subshell.exp: New file.
10982
10983 2014-10-29 Yao Qi <yao@codesourcery.com>
10984
10985 * gdb.base/fileio.exp: Make directories on host.
10986
10987 2014-10-29 Yao Qi <yao@codesourcery.com>
10988
10989 * gdb.base/fileio.c (test_write): Close the file.
10990
10991 2014-10-28 Pedro Alves <palves@redhat.com>
10992
10993 PR gdb/12623
10994 * gdb.base/sigstep.c (no_handler): New global.
10995 (main): If 'no_handler is true, set the signal handlers to
10996 SIG_IGN.
10997 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
10998 with_sw_watch and no_handler parameters. Handle them.
10999 (top level) <stepping over handler when stopped at a breakpoint
11000 test>: Add a test axis for testing with a software watchpoint, and
11001 another for testing with the signal handler set to SIG_IGN.
11002 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
11003 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
11004
11005 2014-10-28 Pedro Alves <palves@redhat.com>
11006
11007 PR gdb/17511
11008 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
11009 * gdb.base/sigstep.exp (other_handler_location): New global.
11010 (advance): Support stepping into the signal handler, and running
11011 commands while in the handler.
11012 (in_handler_map): New global.
11013 (top level): In the advance test, add combinations for getting
11014 into the handler with stepping commands, and for running commands
11015 in the handler. Add comment descripting the advancei tests.
11016
11017 2014-10-28 Pedro Alves <palves@redhat.com>
11018
11019 * gdb.base/sigstep.exp: Use build_executable instead of
11020 prepare_for_testing.
11021 (top level): Move code that starts GDB, runs to main and creates a
11022 display to ...
11023 (restart): ... this new procedure.
11024 (top level): Move backtrace from signal handler test to ...
11025 (validate_backtrace): ... this new procedure.
11026 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
11027 with_test_prefix. Always restart GDB.
11028 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
11029 with_test_prefix. Always restart GDB. No need to delete
11030 breakpoints after the test.
11031 (test_skip_handler): Remove prefix parameter.
11032 (skip_over_handler, breakpoint_to_handler)
11033 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
11034 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
11035 restart GDB. No need to delete breakpoints after the test.
11036 (top level): Use foreach to call the test procedures with
11037 different commands.
11038
11039 2014-10-28 Pedro Alves <palves@redhat.com>
11040
11041 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
11042 instead of GNATS numbers.
11043 * gdb.base/sigbpt.exp: Likewise.
11044 * gdb.base/siginfo.exp: Likewise.
11045 * gdb.base/sigstep.exp: Likewise.
11046
11047 2014-10-27 Pedro Alves <palves@redhat.com>
11048
11049 * gdb.base/sigstep.c (dummy): New global.
11050 (main): Issue a couple writes to the new global.
11051 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
11052 procedures.
11053 (skip_over_handler): Use test_skip_handler.
11054 (top level): Call skip_over_handler for stepi and nexti too.
11055 (breakpoint_over_handler): Use test_skip_handler.
11056 (top level): Call breakpoint_over_handler for stepi and nexti too.
11057
11058 2014-10-27 Yao Qi <yao@codesourcery.com>
11059
11060 * gdb.trace/tfile.c (adjust_function_address)
11061 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
11062 function descriptor.
11063
11064 2014-10-24 Don Breazeal <donb@codesourcery.com>
11065
11066 * gdb.base/foll-fork.exp (test_follow_fork,
11067 catch_fork_child_follow): Check for updated fork messages emitted
11068 from infrun.c.
11069 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
11070 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
11071 vfork_and_exec_child_follow_through_step): Check for updated vfork
11072 messages emitted from infrun.c.
11073
11074 2014-10-24 Pedro Alves <palves@redhat.com>
11075
11076 * gdb.base/corefile.exp: Remove references to ultrix.
11077 * gdb.base/interrupt.exp: Likewise.
11078 * gdb.base/whatis.exp: Likewise.
11079 * gdb.gdb/selftest.exp: Likewise.
11080 * gdb.threads/manythreads.exp: Likewise.
11081 * gdb.threads/print-threads.exp: Likewise.
11082 * gdb.threads/pthreads.exp:: Likewise.
11083 * gdb.threads/schedlock.exp: Likewise.
11084
11085 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
11086
11087 * gdb.cp/non-trivial-retval.cc: Add a test case.
11088 * gdb.cp/non-trivial-retval.exp: Add a test.
11089
11090 2014-10-20 Yao Qi <yao@codesourcery.com>
11091
11092 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
11093 * gdb.python/py-objfile-script-gdb.py: New file.
11094 * gdb.python/py-objfile-script.exp: Update reference to
11095 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
11096 of remote_download. Remove the dest file.
11097
11098 2014-10-20 Yao Qi <yao@codesourcery.com>
11099
11100 * gdb.base/checkpoint.exp: Don't remove file copied on host.
11101 * gdb.base/step-line.exp: Likewise.
11102 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
11103 * gdb.dwarf2/dw2-basic.exp: Likewise.
11104 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11105 * gdb.dwarf2/dw2-filename.exp: Likewise.
11106 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11107 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11108 * gdb.dwarf2/dw2-producer.exp: Likewise.
11109 * gdb.dwarf2/mac-fileno.exp: Likewise.
11110 * gdb.python/py-frame-args.exp: Likewise.
11111 * gdb.python/py-framefilter.exp: Likewise.
11112 * gdb.python/py-mi.exp: Likewise.
11113 * gdb.python/py-objfile-script.exp: Likewise
11114 * gdb.python/py-pp-integral.exp: Likewise.
11115 * gdb.python/py-pp-re-notag.exp: Likewise.
11116 * gdb.python/py-prettyprint.exp: Likewise.
11117 * gdb.python/py-section-script.exp: Likewise.
11118 * gdb.python/py-typeprint.exp: Likewise.
11119 * gdb.python/py-xmethods.exp: Likewise.
11120 * gdb.stabs/weird.exp: Likewise.
11121 * gdb.xml/tdesc-regs.exp: Likewise.
11122
11123 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
11124
11125 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
11126 (out_cu): Use addr_len for the size of addresses.
11127 (out_line): Likewise. Size DW_LNE_set_address instruction
11128 according to addr_len.
11129 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
11130 (FUNC): Add START_INSNS to definition.
11131
11132 2014-10-18 Yao Qi <yao@codesourcery.com>
11133
11134 * gdb.base/argv0-symlink.exp: Check argv[0] value if
11135 gdb_has_argv0 return true.
11136 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
11137 check [target_info exists noargs], check [gdb_has_argv0]
11138 instead.
11139 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11140 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
11141 procedures.
11142
11143 2014-10-17 Doug Evans <dje@google.com>
11144
11145 * gdb.python/py-events.exp: Update expected output for clear_objfiles
11146 event.
11147 * gdb.python/py-events.py: Add clear_objfiles event.
11148
11149 2014-10-17 Doug Evans <dje@google.com>
11150
11151 * gdb.python/py-objfile.exp: Test progspace attribute.
11152
11153 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
11154
11155 * gdb.guile/scm-breakpoint.exp: Do not assume any
11156 directory separators when matching source file paths.
11157 * gdb.python/py-breakpoint.exp: Likewise.
11158 * gdb.reverse/break-precsave.exp: Likewise.
11159 * gdb.reverse/break-reverse.exp: Likewise.
11160 * gdb.reverse/consecutive-precsave.exp: Likewise.
11161 * gdb.reverse/finish-precsave.exp: Likewise.
11162 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
11163 * gdb.reverse/finish-reverse.exp: Likewise.
11164 * gdb.reverse/i386-precsave.exp: Likewise.
11165 * gdb.reverse/i387-env-reverse.exp: Likewise.
11166 * gdb.reverse/i387-stack-reverse.exp: Likewise.
11167 * gdb.reverse/machinestate-precsave.exp: Likewise.
11168 * gdb.reverse/machinestate.exp: Likewise.
11169 * gdb.reverse/sigall-precsave.exp: Likewise.
11170 * gdb.reverse/solib-precsave.exp: Likewise.
11171 * gdb.reverse/step-precsave.exp: Likewise.
11172 * gdb.reverse/until-precsave.exp: Likewise.
11173 * gdb.reverse/watch-precsave.exp: Likewise.
11174 * gdb.reverse/watch-reverse.exp: Likewise.
11175
11176 2014-10-17 Yao Qi <yao@codesourcery.com>
11177
11178 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
11179 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
11180
11181 2014-10-17 Pedro Alves <palves@redhat.com>
11182
11183 PR gdb/17471
11184 * gdb.base/bg-execution-repeat.c: New file.
11185 * gdb.base/bg-execution-repeat.exp: New file.
11186
11187 2014-10-17 Pedro Alves <palves@redhat.com>
11188
11189 PR gdb/17300
11190 * gdb.base/continue-all-already-running.c: New file.
11191 * gdb.base/continue-all-already-running.exp: New file.
11192
11193 2014-10-17 Pedro Alves <palves@redhat.com>
11194
11195 PR gdb/17472
11196 * gdb.base/annota-input-while-running.c: New file.
11197 * gdb.base/annota-input-while-running.exp: New file.
11198
11199 2014-10-17 Pedro Alves <palves@redhat.com>
11200
11201 * gdb.base/callfuncs.exp: emove references to osf.
11202 * gdb.base/sigall.exp: Likewise.
11203 * gdb.gdb/selftest.exp: Likewise.
11204 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11205 * gdb.mi/non-stop.c: Likewise.
11206 * gdb.mi/pthreads.c: Likewise.
11207 * gdb.reverse/sigall-precsave.exp: Likewise.
11208 * gdb.reverse/sigall-reverse.exp: Likewise.
11209 * gdb.threads/pthreads.c: Likewise.
11210 * gdb.threads/pthreads.exp: Likewise.
11211
11212 2014-10-17 Yao Qi <yao@codesourcery.com>
11213
11214 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
11215 check 'target_info exists noargs'.
11216 (test_command_prompt_position): Likewise.
11217 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
11218 Remove "set args".
11219 (progvar_simple_while_test): Likewise.
11220 (progvar_complex_if_while_test): Likewise.
11221 (if_while_breakpoint_command_test): Likewise.
11222 (infrun_breakpoint_command_test): Likewise.
11223 (breakpoint_command_test): Likewise.
11224 (watchpoint_command_test): Likewise.
11225 (bp_deleted_in_command_test): Likewise.
11226 (temporary_breakpoint_commands): Likewise.
11227
11228 2014-10-16 Yao Qi <yao@codesourcery.com>
11229
11230 * gdb.base/remotetimeout.exp: Remove noargs checking.
11231
11232 2014-10-15 Pedro Alves <palves@redhat.com>
11233
11234 PR breakpoints/9649
11235 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
11236 * gdb.base/breakpoint-in-ro-region.exp
11237 (probe_target_hardware_step): New procedure.
11238 (top level): Probe hardware stepping and hardware breakpoint
11239 support. Test stepping through a read-only region, with both
11240 "breakpoint auto-hw" on and off and both "always-inserted" on and
11241 off.
11242
11243 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
11244
11245 * gdb.dlang/demangle.exp: Update for demangling changes.
11246
11247 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11248
11249 * gdb.cp/non-trivial-retval.cc: Add new test cases.
11250 * gdb.cp/non-trivial-retval.exp: Add new tests.
11251
11252 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
11253
11254 PR c++/13403
11255 PR c++/15154
11256 * gdb.cp/non-trivial-retval.cc: New file.
11257 * gdb.cp/non-trivial-retval.exp: New file.
11258
11259 2014-10-15 Yao Qi <yao@codesourcery.com>
11260
11261 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
11262 remote host.
11263
11264 2014-10-15 Yao Qi <yao@codesourcery.com>
11265
11266 * gdb.python/py-symbol.exp: Match file base name if host is
11267 remote, otherwise match file name with dir name.
11268 * gdb.python/py-symtab.exp: Likewise.
11269 * gdb.python/python.exp: Likewise.
11270
11271 2014-10-15 Yao Qi <yao@codesourcery.com>
11272
11273 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
11274 pattern.
11275 * gdb.python/py-symtab.exp: Likewise.
11276 * gdb.python/python.exp: Remove trailing ".*". Fix typo
11277 locationn.
11278
11279 2014-10-14 Joel Brobecker <brobecker@adacore.com>
11280
11281 * gdb.ada/addr_arith: New testcase.
11282
11283 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
11284
11285 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
11286 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
11287 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
11288 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
11289
11290 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
11291
11292 * gdb.arch/stap-eval-lang-ada.S: Likewise.
11293 * gdb.arch/stap-eval-lang-ada.c: Likewise.
11294 * gdb.arch/stap-eval-lang-ada.exp: New file.
11295
11296 2014-10-14 Yao Qi <yao@codesourcery.com>
11297
11298 * gdb.mi/mi-var-child.c (nothing1): New function.
11299 (nothing2): New function.
11300 (do_children_tests): Set function pointers by nothing1 and
11301 nothing2.
11302 * gdb.mi/mi-var-child.exp: Step over new added statements.
11303 Update test to match the new output.
11304 * gdb.mi/var-cmd.c (nothing1): New function.
11305 (nothing2): New function.
11306 (do_children_tests): Set function pointers by nothing1 and
11307 nothing2.
11308 * gdb.mi/mi-var-display.exp: Update test to match output.
11309 Step to the line specified by $line_dct_nothing.
11310 Increase the number of lines to step.
11311
11312 2014-10-14 Yao Qi <yao@codesourcery.com>
11313
11314 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
11315 tests.
11316 * gdb.mi/mi2-var-child.exp: Likewise.
11317
11318 2014-10-13 Doug Evans <dje@google.com>
11319
11320 * gdb.python/py-objfile.exp: Change name of file name test.
11321
11322 2014-10-13 Doug Evans <dje@google.com>
11323
11324 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
11325 from the start of the CU.
11326
11327 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11328 Yao Qi <yao@codesourcery.com>
11329
11330 Fix "save breakpoints" for "catch" command.
11331 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
11332 Remove -nonewline. Match also the added "main" line.
11333
11334 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11335
11336 Fix "save breakpoints" for "disable $bpnum" command.
11337 * gdb.base/save-bp.c (main): Add label.
11338 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
11339
11340 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11341
11342 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
11343
11344 2014-10-11 Yao Qi <yao@codesourcery.com>
11345
11346 * gdb.server/server-kill.exp: Execute command
11347 "set remote trace-status-packet on" before "tstatus".
11348
11349 2014-10-11 Yao Qi <yao@codesourcery.com>
11350
11351 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
11352 (main): Call getppid.
11353 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11354 and continue to it. Read variable "server_pid".
11355
11356 2014-10-11 Yao Qi <yao@codesourcery.com>
11357
11358 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
11359
11360 2014-10-11 Yao Qi <yao@codesourcery.com>
11361
11362 * gdb.threads/thread-find.exp: Don't execute command
11363 "info threads".
11364 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
11365 * gdb.threads/linux-dp.exp: Don't check the condition
11366 $threads_created equals to zero.
11367
11368 2014-10-10 Pedro Alves <palves@redhat.com>
11369
11370 * gdb.base/bigcore.exp: Remove references to IRIX.
11371 * gdb.base/funcargs.exp: Likewise.
11372 * gdb.base/interrupt.exp: Likewise.
11373 * gdb.base/mips_pro.exp: Likewise.
11374 * gdb.base/nodebug.exp: Likewise.
11375 * gdb.base/setvar.exp: Likewise.
11376 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
11377
11378 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11379 Pedro Alves <palves@redhat.com>
11380
11381 PR symtab/14466
11382 * gdb.base/vdso-warning.c: New file.
11383 * gdb.base/vdso-warning.exp: New file.
11384
11385 2014-10-02 Doug Evans <dje@google.com>
11386
11387 * gdb.base/structs.c (main): Don't run forever.
11388
11389 2014-10-02 Pedro Alves <palves@redhat.com>
11390
11391 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
11392 (top level) <stop threads 1, stop threads 2>: Use it.
11393
11394 2014-10-02 Pedro Alves <palves@redhat.com>
11395
11396 * gdb.threads/break-while-running.exp (test): Add new
11397 'update_thread_list' argument. Skip "info threads" if false.
11398 (top level): Add new 'update_thread_list' axis.
11399
11400 2014-10-02 Pedro Alves <palves@redhat.com>
11401
11402 PR breakpoints/17431
11403 * gdb.base/execl-update-breakpoints.c: New file.
11404 * gdb.base/execl-update-breakpoints.exp: New file.
11405
11406 2014-10-01 Pedro Alves <palves@redhat.com>
11407
11408 * gdb.base/breakpoint-in-ro-region.c: New file.
11409 * gdb.base/breakpoint-in-ro-region.exp: New file.
11410
11411 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
11412
11413 * gdb.mi/mi-exit-code.exp: New file.
11414 * gdb.mi/mi-exit-code.c: New file.
11415
11416 2014-09-30 Yao Qi <yao@codesourcery.com>
11417
11418 * lib/prelink-support.exp (build_executable_own_libs): Error if
11419 the target isn't native.
11420
11421 2014-09-30 Yao Qi <yao@codesourcery.com>
11422
11423 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
11424 false.
11425
11426 2014-09-22 Pedro Alves <palves@redhat.com>
11427
11428 * gdb.threads/break-while-running.exp: New file.
11429 * gdb.threads/break-while-running.c: New file.
11430
11431 2014-09-19 Yao Qi <yao@codesourcery.com>
11432
11433 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
11434 Invoke test. Restart GDB with --readnow and invoke test again.
11435
11436 2014-09-19 Yao Qi <yao@codesourcery.com>
11437
11438 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
11439 proc set_breakpoint_on_gcd_function. Invoke
11440 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
11441 invoke set_breakpoint_on_gcd_function again.
11442
11443 2014-09-18 Doug Evans <dje@google.com>
11444
11445 * gdb.dwarf2/symtab-producer.exp: New file.
11446
11447 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11448
11449 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
11450 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
11451 * gdb.base/global-var-nested-by-dso.c: Likewise.
11452 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11453
11454 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
11455 Pedro Alves <palves@redhat.com>
11456
11457 * gdb.base/watch-bitfields.exp: Pass string other than test file
11458 name to prepare_for_testing.
11459 (watch): New procedure.
11460 (expect_watchpoint): Use with_test_prefix.
11461 (top level): Factor out tests to ...
11462 (test_watch_location, test_regular_watch): ... these new
11463 procedures, and use with_test_prefix and gdb_continue_to_end.
11464
11465 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
11466
11467 PR breakpoints/12526
11468 * gdb.base/watch-bitfields.exp: New file.
11469 * gdb.base/watch-bitfields.c: New file.
11470
11471 2014-09-16 Pedro Alves <palves@redhat.com>
11472
11473 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
11474 software and hardware addresses, not software address against
11475 itself.
11476
11477 2014-09-16 Pedro Alves <palves@redhat.com>
11478
11479 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
11480 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
11481
11482 2014-09-16 Pedro Alves <palves@redhat.com>
11483
11484 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
11485 files.
11486 * gdb.base/a2-run.exp: Remove all code guarded by istarget
11487 "*-*-vxworks*" throughout.
11488 * gdb.base/break.exp: Likewise.
11489 * gdb.base/default.exp: Likewise.
11490 * gdb.base/scope.exp: Likewise.
11491 * gdb.base/sepdebug.exp: Likewise.
11492 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
11493 throughout.
11494 * gdb.base/run.c: Likewise.
11495 * gdb.base/sepdebug.c: Likewise.
11496 * gdb.hp/gdb.aCC/run.c: Likewise.
11497 * gdb.reverse/until-reverse.c: Likewise.
11498 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
11499
11500 2014-09-16 Yao Qi <yao@codesourcery.com>
11501
11502 * boards/local-remote-host-native.exp: New file.
11503
11504 2014-09-14 Doug Evans <xdje42@gmail.com>
11505
11506 * gdb.threads/queue-signal.c (thread_count): New variable.
11507 (thread_count_mutex, thread_count_condvar): New variables.
11508 (incr_thread_count, wait_all_threads_running): New functions.
11509 (main): Wait for all threads to be in their thread functions.
11510
11511 2014-09-13 Doug Evans <xdje42@gmail.com>
11512
11513 * gdb.threads/queue-signal.c: New file.
11514 * gdb.threads/queue-signal.exp: New file.
11515
11516 2014-09-13 Doug Evans <xdje42@gmail.com>
11517
11518 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
11519 be consistent with what default_gdb_init uses.
11520 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
11521 the plain text of the prompt. Add some logging printfs.
11522 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
11523
11524 2014-09-12 Pedro Alves <palves@redhat.com>
11525
11526 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
11527 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
11528 * gdb.arch/i386-size-overlap.exp: Likewise.
11529 * gdb.arch/i386-size.exp: Likewise.
11530 * gdb.arch/i386-unwind.exp: Likewise.
11531 * gdb.base/a2-run.exp: Likewise.
11532 * gdb.base/break.exp: Likewise.
11533 * gdb.base/charset.exp: Likewise.
11534 * gdb.base/chng-syms.exp: Likewise.
11535 * gdb.base/commands.exp: Likewise.
11536 * gdb.base/dbx.exp: Likewise.
11537 * gdb.base/find.exp: Likewise.
11538 * gdb.base/funcargs.exp: Likewise.
11539 * gdb.base/jit-simple.exp: Likewise.
11540 * gdb.base/reread.exp: Likewise.
11541 * gdb.base/sepdebug.exp: Likewise.
11542 * gdb.base/step-bt.exp: Likewise.
11543 * gdb.cp/mb-inline.exp: Likewise.
11544 * gdb.cp/mb-templates.exp: Likewise.
11545 * gdb.objc/basicclass.exp: Likewise.
11546 * gdb.threads/killed.exp: Likewise.
11547
11548 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11549
11550 PR tdep/17379
11551 * gdb.arch/powerpc-stackless.S: New file.
11552 * gdb.arch/powerpc-stackless.exp: New file.
11553
11554 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11555
11556 * gdb.base/attach.c: Include unistd.h.
11557 (main): Call alarm. Add label postloop.
11558 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
11559 gdb_breakpoint, gdb_continue_to_breakpoint.
11560 (test_command_line_attach_run): Kill ${testpid} in one exit path.
11561
11562 2014-09-11 Pedro Alves <palves@redhat.com>
11563
11564 PR gdb/17347
11565 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
11566 * gdb.base/attach.exp (test_command_line_attach_run): New
11567 procedure.
11568 (top level): Call it.
11569
11570 2014-09-11 Pedro Alves <palves@redhat.com>
11571
11572 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
11573 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
11574 (do_command_attach_tests): Use spawn_wait_for_attach.
11575 * gdb.base/solib-overlap.exp: Likewise.
11576 * gdb.multi/multi-attach.exp: Likewise.
11577 * gdb.python/py-prompt.exp: Likewise.
11578 * gdb.python/py-sync-interp.exp: Likewise.
11579 * gdb.server/ext-attach.exp: Likewise.
11580
11581 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
11582
11583 * gdb.fortran/array-element.exp: Remove unexpected "continue"
11584 command in testcase. Simplify testcase.
11585
11586 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11587
11588 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
11589
11590 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11591
11592 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
11593
11594 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11595
11596 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
11597
11598 2014-09-10 Joel Brobecker <brobecker@adacore.com>
11599
11600 * gdb.dwarf2/dynarr-ptr.c: New file.
11601 * gdb.dwarf2/dynarr-ptr.exp: New file.
11602
11603 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11604
11605 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
11606 of 30 rather than hardcoding 120 for a slow test case. Take the
11607 `gdb,timeout' target setting into account for this calculation.
11608 Don't extend the timeout for the test cases that don't need it.
11609
11610 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11611
11612 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
11613 a factor of 2 for a slow test case. Take the `gdb,timeout'
11614 target setting into account for this calculation.
11615 * gdb.reverse/until-precsave.exp: Increase the timeout by
11616 a factor of 15 and 3 respectively rather than adding 120
11617 for a pair of slow test cases. Take the `gdb,timeout'
11618 target setting into account for this calculation.
11619
11620 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11621
11622 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
11623 timeout, don't pass one down to gdb_expect.
11624 (gdb_expect): Rework timeout selection.
11625
11626 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11627
11628 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
11629 exception on timeout.
11630 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
11631 (gdbserver_start_extended): Catch any `gdbserver_start' error
11632 exceptions.
11633 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
11634 * lib/mi-support.exp (mi_gdb_target_load): Catch any
11635 `gdbserver_gdb_load' error exceptions.
11636
11637 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11638
11639 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
11640 120 on waiting for the TCP socket to open.
11641
11642 2014-09-09 Doug Evans <xdje42@gmail.com>
11643
11644 * gdb.base/default.exp (show_conv_list): Add _caller_is,
11645 _caller_matches, _any_caller_is, _any_caller_matches.
11646
11647 2014-09-09 Doug Evans <xdje42@gmail.com>
11648
11649 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
11650
11651 2014-09-09 Yao Qi <yao@codesourcery.com>
11652
11653 * gdb.mi/mi-var-display.exp: Set print symbol off.
11654
11655 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
11656
11657 PR gdb/17035
11658 * gdb.base/commands.exp: Add tests to verify user-defined
11659 commands with empty bodies.
11660 * gdb.python/py-cmd.exp: Test that we don't show user-defined
11661 python commands in `show user command`.
11662 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
11663 scheme commands in `show user command`.
11664
11665 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11666
11667 PR python/17355
11668 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
11669 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
11670 * gdb.python/py-framefilter-invalidarg.exp: New file.
11671 * gdb.python/py-framefilter-invalidarg.py: New file.
11672
11673 2014-09-06 Doug Evans <xdje42@gmail.com>
11674
11675 PR 15276
11676 * gdb.python/py-caller-is.c: New file.
11677 * gdb.python/py-caller-is.exp: New file.
11678
11679 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
11680
11681 PR gdb/17235
11682 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
11683 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
11684
11685 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
11686
11687 PR fortran/17237
11688 * gdb.fortran/print-formatted.exp: New file.
11689 * gdb.fortran/print-formatted.f90: Likewise.
11690
11691 2014-09-03 Sasha Smundak <asmundak@google.com>
11692
11693 * gdb.python/py-frame.exp: Test Frame.read_register.
11694
11695 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
11696
11697 PR python/16699
11698 * gdb.python/py-completion.exp: New file.
11699 * gdb.python/py-completion.py: Likewise.
11700
11701 2014-08-28 Doug Evans <dje@google.com>
11702
11703 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
11704 eax,etc. are live with values set by gdb and thus the compiler can't
11705 use them.
11706 * gdb.arch/i386-pseudo.c (main): Ditto.
11707
11708 2014-08-27 Doug Evans <dje@google.com>
11709
11710 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
11711
11712 2014-08-25 Doug Evans <dje@google.com>
11713
11714 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
11715 (main): Ditto.
11716
11717 2014-08-25 Doug Evans <dje@google.com>
11718
11719 * gdb.threads/thread-execl.exp: #include <stdio.h>.
11720
11721 2014-08-24 Yao Qi <yao@codesourcery.com>
11722
11723 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
11724 symbol off.
11725 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
11726
11727 2014-08-22 Doug Evans <dje@google.com>
11728
11729 PR 17276
11730 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
11731 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
11732 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
11733
11734 2014-08-22 Yao Qi <yao@codesourcery.com>
11735
11736 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
11737 * gdb.python/py-finish-breakpoint2.exp: Likewise.
11738 * gdb.python/python.exp: Likewise. Use .py file on the host
11739 instead of the build.
11740
11741 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11742
11743 * gdb.threads/gcore-stale-thread.c: New file.
11744 * gdb.threads/gcore-stale-thread.exp: New file.
11745
11746 2014-08-21 Pedro Alves <palves@redhat.com>
11747
11748 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
11749 * gdb.base/gcore-relro-pie.exp: Likewise.
11750 * gdb.base/gcore-relro.exp: Likewise.
11751 * gdb.base/gcore.exp: Likewise.
11752 * gdb.base/print-symbol-loading.exp: Likewise.
11753 * gdb.threads/gcore-thread.exp: Likewise.
11754 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
11755
11756 2014-08-20 Pedro Alves <palves@redhat.com>
11757 Jan Kratochvil <jan.kratochvil@redhat.com>
11758
11759 * Makefile.in (EXTRA_RULES, CC): New variables, get from
11760 configure.
11761 (EXPECT): Handle READ1 being set.
11762 (all): Depend on EXTRA_RULES.
11763 (check-read1, expect-read1, read1.so, read1): New rules.
11764 * README (Testsuite Parameters): Document the READ1 make variable.
11765 (Race detection): New section.
11766 * configure: Regenerate.
11767 * configure.ac: If build==host==target, and running under a
11768 GNU/glibc system, add read1 to the extra Makefile rules.
11769 (EXTRA_RULES): AC_SUBST it.
11770 * lib/read1.c: New file.
11771
11772 2014-08-20 Joel Brobecker <brobecker@adacore.com>
11773
11774 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
11775 the handling of variables declared as a typedef to an array
11776 which a DW_AT_data_location attribute.
11777
11778 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
11779 Pedro Alves <palves@redhat.com>
11780
11781 PR symtab/14604
11782 PR symtab/14605
11783 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
11784 gdb_test.
11785
11786 2014-08-19 Pedro Alves <palves@redhat.com>
11787
11788 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
11789
11790 2014-08-19 Yao Qi <yao@codesourcery.com>
11791
11792 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
11793 right line.
11794
11795 2014-08-18 David Blaikie <dblaikie@gmail.com>
11796
11797 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
11798
11799 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11800
11801 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
11802 attribute in array range.
11803
11804 2014-08-18 Joel Brobecker <brobecker@adacore.com>
11805
11806 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
11807
11808 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11809
11810 PR c++/17132
11811 * gdb.cp/pr17132.cc: New file.
11812 * gdb.cp/pr17132.exp: New file.
11813
11814 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
11815
11816 * gdb.python/py-xmethods.py (A_getarrayind)
11817 (E_method_char_worker.__call__, E_method_int_worker.__call__):
11818 Use 'print' with function call syntax.
11819 (E_method_matcher.match): Fix tab vs space indentation mixup.
11820
11821 2014-08-15 Yao Qi <yao@codesourcery.com>
11822
11823 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
11824 false.
11825
11826 2014-08-15 Yao Qi <yao@codesourcery.com>
11827
11828 * gdb.cp/casts.exp: Set print symbol off.
11829 * gdb.cp/class2.exp: Likewise.
11830 * gdb.cp/overload.exp: Likewise.
11831 * gdb.cp/templates.exp: Likewise.
11832
11833 2014-08-11 Doug Evans <dje@google.com>
11834
11835 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
11836 (test_load_shlib): Update.
11837
11838 2014-08-09 Yao Qi <yao@codesourcery.com>
11839
11840 * gdb.base/display.exp: Invoke is_address_zero_readable.
11841 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
11842 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
11843 * gdb.base/hbreak-unmapped.exp: Return if
11844 is_address_zero_readable returns true.
11845 * gdb.base/signest.exp: Likewise.
11846 * gdb.base/signull.exp: Likewise.
11847 * gdb.base/sigbpt.exp: Likewise.
11848 * gdb.guile/scm-disasm.exp: Do the test if
11849 is_address_zero_readable returns false.
11850 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
11851 * gdb.python/py-arch.exp: Likewise.
11852 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
11853 * lib/gdb.exp (is_address_zero_readable): New proc.
11854
11855 2014-08-09 Yao Qi <yao@codesourcery.com>
11856
11857 PR testsuite/13443
11858 * gdb.mi/mi-var-display.exp: Make test messages unique.
11859
11860 2014-08-04 Tom Tromey <tromey@redhat.com>
11861
11862 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
11863 target 0".
11864
11865 2014-08-04 Tom Tromey <tromey@redhat.com>
11866
11867 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
11868 "target_resume".
11869
11870 2014-08-01 Joel Brobecker <brobecker@adacore.com>
11871
11872 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
11873 inner_vla_struct_object_size.
11874 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
11875 as xfail.
11876
11877 2014-07-30 Pedro Alves <palves@redhat.com>
11878
11879 * gdb.threads/signal-command-handle-nopass.exp (test): Add
11880 comment.
11881
11882 2014-07-29 Yao Qi <yao@codesourcery.com>
11883
11884 PR gdb/17206
11885 * gdb.base/until-nodebug.exp: New.
11886
11887 2014-07-28 Doug Evans <xdje42@gmail.com>
11888
11889 PR guile/17203
11890 * gdb.guile/scm-parameter.exp: Add tests for trying to create
11891 previously existing parameter, and previously ambiguously spelled
11892 parameter.
11893
11894 2014-07-28 Will Newton <will.newton@linaro.org>
11895
11896 * gdb.base/varargs.exp: Remove KFAILs for ARM.
11897
11898 2014-07-26 Ludovic Courtès <ludo@gnu.org>
11899 Doug Evans <xdje42@gmail.com>
11900
11901 PR guile/17146
11902 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
11903
11904 2014-07-25 Pedro Alves <palves@redhat.com>
11905
11906 * gdb.threads/signal-command-handle-nopass.c: New file.
11907 * gdb.threads/signal-command-handle-nopass.exp: New file.
11908 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
11909 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
11910 * gdb.threads/signal-delivered-right-thread.c: New file.
11911 * gdb.threads/signal-delivered-right-thread.exp: New file.
11912
11913 2014-07-25 Pedro Alves <palves@redhat.com>
11914
11915 * gdb.base/double-prompt-target-event-error.exp
11916 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
11917 match.
11918 (cancel_pagination_in_target_event): Rework double prompt
11919 detection.
11920 * gdb.base/paginate-after-ctrl-c-running.exp
11921 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
11922 <return>' match.
11923 * gdb.base/paginate-bg-execution.exp
11924 (test_bg_execution_pagination_return)
11925 (test_bg_execution_pagination_cancel): Remove '-notransfer
11926 <return>' matches.
11927 * gdb.base/paginate-execution-startup.exp
11928 (test_fg_execution_pagination_return)
11929 (test_fg_execution_pagination_cancel): Remove '-notransfer
11930 <return>' matches.
11931 * gdb.base/paginate-inferior-exit.exp
11932 (test_paginate_inferior_exited): Remove '-notransfer <return>'
11933 match.
11934 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
11935 * lib/gdb.exp (pagination_prompt): Run text through
11936 string_to_regexp.
11937 (gdb_test_multiple): Match $pagination_prompt instead of
11938 "<return>".
11939 (string_to_regexp): Move to lib/gdb-utils.exp.
11940
11941 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11942
11943 * gdb.arch/amd64-entry-value-paramref.S: New file.
11944 * gdb.arch/amd64-entry-value-paramref.cc: New file.
11945 * gdb.arch/amd64-entry-value-paramref.exp: New file.
11946 * gdb.arch/amd64-optimout-repeat.S: New file.
11947 * gdb.arch/amd64-optimout-repeat.c: New file.
11948 * gdb.arch/amd64-optimout-repeat.exp: New file.
11949
11950 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11951
11952 PR gdb/17170
11953 * gdb.base/statistics.exp: New file.
11954
11955 2014-07-17 Doug Evans <dje@google.com>
11956
11957 PR gdb/17170
11958 * gdb.base/maint.exp: Update testing of per-command stats.
11959
11960 2014-07-16 Pedro Alves <palves@redhat.com>
11961
11962 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
11963 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
11964 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
11965 (tfile_write_buf): New functions.
11966 (add_memory_block): Rewrite using the above.
11967 (adjust_function_address): New function.
11968 (FUNCTION_ADDRESS): New macro.
11969 (write_basic_trace_file): Remove short_x local, and use
11970 tfile_write_16. Change type of func_addr local to unsigned long
11971 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
11972 here. Cast argument of add_memory_block to char pointer.
11973 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
11974 (main): Remove parameters.
11975 * gdb.trace/tfile.exp: Remove nowarnings.
11976
11977 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
11978
11979 * gdb.base/debug-expr.exp: Test string evaluation with
11980 "debug expression" on.
11981
11982 2014-07-15 Pedro Alves <palves@redhat.com>
11983
11984 * gdb.base/reread.exp: Use clean_restart.
11985
11986 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
11987
11988 * gdb.arch/avr-flash-qualifer.c: New.
11989 * gdb.arch/avr-flash-qualifer.exp: New.
11990
11991 2014-07-14 Pedro Alves <palves@redhat.com>
11992
11993 * gdb.base/paginate-after-ctrl-c-running.c: New file.
11994 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
11995
11996 2014-07-14 Pedro Alves <palves@redhat.com>
11997
11998 * gdb.base/double-prompt-target-event-error.c: New file.
11999 * gdb.base/double-prompt-target-event-error.exp: New file.
12000
12001 2014-07-14 Pedro Alves <palves@redhat.com>
12002
12003 PR gdb/17072
12004 * gdb.base/paginate-inferior-exit.c: New file.
12005 * gdb.base/paginate-inferior-exit.exp: New file.
12006
12007 2014-07-14 Pedro Alves <palves@redhat.com>
12008
12009 PR gdb/17072
12010 * gdb.base/paginate-bg-execution.c: New file.
12011 * gdb.base/paginate-bg-execution.exp: New file.
12012
12013 2014-07-14 Pedro Alves <palves@redhat.com>
12014
12015 PR gdb/17072
12016 * gdb.base/paginate-execution-startup.c: New file.
12017 * gdb.base/paginate-execution-startup.exp: New file.
12018 * lib/gdb.exp (pagination_prompt): New global.
12019 (default_gdb_spawn): New procedure, factored out from
12020 default_gdb_spawn.
12021 (default_gdb_start): Adjust to call default_gdb_spawn.
12022 (gdb_spawn): New procedure.
12023
12024 2014-07-14 Pedro Alves <palves@redhat.com>
12025
12026 * lib/gdb.exp (gdb_assert): New procedure.
12027 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
12028
12029 2014-07-14 Pedro Alves <palves@redhat.com>
12030
12031 * gdb.base/execution-termios.c: New file.
12032 * gdb.base/execution-termios.exp: New file.
12033
12034 2014-07-14 Tom Tromey <tromey@redhat.com>
12035
12036 * gdb.cp/vla-cxx.cc: New file.
12037 * gdb.cp/vla-cxx.exp: New file.
12038
12039 2014-07-14 Tom Tromey <tromey@redhat.com>
12040
12041 * gdb.reverse/rerun-prec.c: New file.
12042 * gdb.reverse/rerun-prec.exp: New file.
12043
12044 2014-07-12 Maciej W. Rozycki <macro@mips.com>
12045 Maciej W. Rozycki <macro@codesourcery.com>
12046
12047 * lib/gdb-utils.exp: New file.
12048 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
12049 inline `gdb_init_command' processing.
12050 (gdb_start_cmd): Likewise.
12051 * lib/mi-support.exp (mi_run_cmd): Likewise.
12052 * README: Document `gdb_init_command' and `gdb_init_commands'.
12053
12054 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12055
12056 Fix false FAIL running under a very long directory name.
12057 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
12058 and "set print elements 10000". Twice.
12059
12060 2014-07-11 Yao Qi <yao@codesourcery.com>
12061
12062 * gdb.base/exprs.exp: "set print symbol off".
12063
12064 2014-07-11 Pedro Alves <palves@redhat.com>
12065
12066 * gdb.threads/kill.c: New file.
12067 * gdb.threads/kill.exp: New file.
12068
12069 2014-07-10 Yao Qi <yao@codesourcery.com>
12070
12071 * gdb.trace/tfile.c (write_basic_trace_file)
12072 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
12073 address written to trace file.
12074
12075 2014-07-09 Pedro Alves <palves@redhat.com>
12076
12077 * gdb.base/attach-wait-input.exp: New file.
12078 * gdb.base/attach-wait-input.c: New file.
12079
12080 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
12081
12082 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
12083 setting up test structures.
12084 (main): Call new test function.
12085 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
12086 test function, continue into test function and walk test
12087 structures.
12088
12089 2014-07-02 Yao Qi <yao@codesourcery.com>
12090
12091 * gdb.trace/entry-values.c: Define labels 'foo_start' and
12092 'bar_start' at the beginning of functions 'foo' and 'bar'
12093 respectively.
12094 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
12095 instead of 'foo' and 'bar'.
12096
12097 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
12098
12099 * gdb.btrace/segv.exp: New.
12100 * gdb.btrace/segv.c: New.
12101
12102 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
12103
12104 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
12105 instruction.
12106
12107 2014-06-30 Mark Wielaard <mjw@redhat.com>
12108
12109 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
12110 vulture, vilify, villar): New volatile array constants.
12111 (vindictive, vegetation): New const volatile array constants.
12112 * gdb.base/volatile.exp: Test volatile and const volatile array
12113 types.
12114
12115 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
12116
12117 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
12118 target lacks support for awatch, rwatch, or hbreak.
12119
12120 2014-06-27 Yao Qi <yao@codesourcery.com>
12121
12122 * gdb.multi/dummy-frame-restore.exp: New.
12123 * gdb.multi/dummy-frame-restore.c: New.
12124
12125 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
12126
12127 * gdb.btrace/gcore.exp: New.
12128
12129 2014-06-23 Pedro Alves <palves@redhat.com>
12130
12131 * gdb.base/watchpoint-reuse-slot.c: New file.
12132 * gdb.base/watchpoint-reuse-slot.exp: New file.
12133
12134 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
12135
12136 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
12137 progspace's filename in 'info', 'enable' and 'disable' command
12138 tests.
12139
12140 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12141
12142 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
12143 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12144 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
12145
12146 2014-06-20 Gary Benson <gbenson@redhat.com>
12147
12148 * gdb.arch/i386-avx.exp: Fix include file location.
12149 * gdb.arch/i386-sse.exp: Likewise.
12150
12151 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
12152
12153 * gdb.dlang/expression.exp: New file.
12154
12155 2014-06-19 Pedro Alves <palves@redhat.com>
12156
12157 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
12158 out from ...
12159 (top level): ... here. Iterate running tests under different
12160 scheduler-locking settings.
12161
12162 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
12163
12164 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
12165 to DW_FORM_addr and use non-zero addresses.
12166
12167 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
12168
12169 PR gdb/17017
12170 * gdb.python/py-xmethods.cc: Add global function call counters and
12171 increment them in their respective functions. Remove "cout"
12172 statements.
12173 * gdb.python/py-xmethods.exp: Make tests check the global function
12174 call counters instead of depending on inferior IO.
12175
12176 2014-06-18 Don Breazeal <donb@codesourcery.com>
12177
12178 * gdb.base/foll-fork.exp (default_fork_parent_follow):
12179 Deleted procedure.
12180 (explicit_fork_parent_follow): Deleted procedure.
12181 (explicit_fork_child_follow): Deleted procedure.
12182 (test_follow_fork): New procedure.
12183 (do_fork_tests): Replace calls to deleted procedures with
12184 calls to test_follow_fork and reset GDB for subsequent
12185 procedure calls.
12186
12187 2014-06-17 Yao Qi <yao@codesourcery.com>
12188
12189 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
12190 CP1252.
12191
12192 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
12193
12194 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
12195 Initialize ptr and S explicitly.
12196 (skip_type_update_when_not_use_rtti_test): Likewise.
12197
12198 2014-06-16 Keith Seitz <keiths@redhat.com>
12199
12200 PR mi/15863
12201 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
12202 the inferior is started.
12203
12204 2014-06-16 Pedro Alves <palves@redhat.com>
12205
12206 * gdb.base/break-main-file-remove-fail.c: New file.
12207 * gdb.base/break-main-file-remove-fail.exp: New file.
12208 * gdb.base/break-unload-file.exp: Use build_executable instead of
12209 prepare_for_testing.
12210 (test_break): New parameter "initial_load". Handle it.
12211 (top level): Add initial_load cmdline/file axis.
12212
12213 2014-06-12 Tom Tromey <tromey@redhat.com>
12214
12215 * gdb.base/completion.exp: Don't use directory name in test.
12216
12217 2014-06-09 Gary Benson <gbenson@redhat.com>
12218
12219 * gdb.base/sigall.c [Functions to send signals]: Reorder to
12220 separate the always-available ANSI-standard signals from the
12221 signals that require checking.
12222 (main): Likewise.
12223 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
12224 Likewise.
12225 (main): Likewise.
12226
12227 2014-06-07 Keith Seitz <keiths@redhat.com>
12228
12229 Revert:
12230 PR c++/16253
12231 * gdb.cp/var-tag.cc: New file.
12232 * gdb.cp/var-tag.exp: New file.
12233 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
12234 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
12235 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
12236 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
12237
12238 2014-06-06 Doug Evans <xdje42@gmail.com>
12239
12240 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
12241
12242 2014-06-06 Pedro Alves <palves@redhat.com>
12243
12244 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
12245 in target debug output instead of looking at RSP packets,
12246 disabling the test on any target that uses hardware stepping.
12247 Update comments.
12248
12249 2014-06-06 Pedro Alves <palves@redhat.com>
12250
12251 * gdb.base/break-unload-file.exp: Fix typo.
12252
12253 2014-06-06 Yao Qi <yao@codesourcery.com>
12254
12255 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
12256 from "jit_function" to "^jit_function".
12257
12258 2014-06-06 Yao Qi <yao@codesourcery.com>
12259
12260 * gdb.base/async.c (foo): Add one statement.
12261 * gdb.base/async.exp: Get the next instruction address and
12262 match the output of "nexti" by instruction address. Match
12263 the hex address in the output of "finish".
12264
12265 2014-06-06 Gary Benson <gbenson@redhat.com>
12266
12267 * gdb.base/call-signals.c: Remove preprocessor conditionals
12268 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
12269 SIGSEGV and SIGTERM.
12270 * gdb.base/sigall.c: Likewise.
12271 * gdb.base/unwindonsignal.c: Likewise.
12272 * gdb.reverse/sigall-reverse.c: Likewise.
12273
12274 2014-06-06 Yao Qi <yao@codesourcery.com>
12275
12276 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
12277 readable, skip the test.
12278
12279 2014-06-06 Yao Qi <yao@codesourcery.com>
12280
12281 * gdb.threads/staticthreads.c (thread_function): Move the line
12282 setting breakpoint on forward.
12283 * gdb.threads/staticthreads.exp: Update comments.
12284
12285 2014-06-05 Ludovic Courtès <ludo@gnu.org>
12286
12287 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
12288 "history-append! type error".
12289
12290 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
12291
12292 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
12293 erroneous dprintf expected input.
12294
12295 2014-06-04 Doug Evans <xdje42@gmail.com>
12296
12297 * gdb.guile/scm-generics.exp: Delete.
12298
12299 2014-06-04 Doug Evans <xdje42@gmail.com>
12300
12301 * gdb.guile/scm-breakpoint.exp: Update.
12302 Add tests for breakpoint registration.
12303
12304 2014-06-04 Tom Tromey <tromey@redhat.com>
12305
12306 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
12307 VLA-in-union.
12308 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
12309 inner_vla_struct, vla_union types. Initialize objects of those
12310 types and compute their sizes.
12311
12312 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
12313 Hui Zhu <hui@codesourcery.com>
12314
12315 * gdb.base/fileio.exp: Add test for shell not available as well as
12316 available.
12317 * gdb.base/fileio.c (test_system): Check for shell twice.
12318
12319 2014-06-04 Yao Qi <yao@codesourcery.com>
12320
12321 * gdb.base/auto-connect-native-target.exp: Remove redundant
12322 space from the regexp pattern.
12323
12324 2014-06-04 Yao Qi <yao@codesourcery.com>
12325
12326 * gdb.base/default.exp: Replace "child" with "native" in
12327 regexp pattern.
12328
12329 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
12330
12331 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
12332 * gdb.python/py-xmethods.exp: New tests to test xmethods.
12333 * gdb.python/py-xmethods.py: Python script supporting the
12334 new testcase and tests.
12335
12336 2014-06-03 Joel Brobecker <brobecker@adacore.com>
12337 Pedro Alves <palves@redhat.com>
12338
12339 PR breakpoints/17000
12340 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
12341 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
12342
12343 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
12344
12345 * gdb.base/subst.exp: Add tests to verify partial path matching
12346 output.
12347
12348 2014-06-03 Pedro Alves <palves@redhat.com>
12349
12350 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
12351 target that doesn't use software single-stepping.
12352
12353 2014-06-03 Pedro Alves <palves@redhat.com>
12354
12355 PR breakpoints/17000
12356 * gdb.base/sss-bp-on-user-bp-2.c: New file.
12357 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
12358
12359 2014-06-02 Doug Evans <xdje42@gmail.com>
12360
12361 * gdb.guile/scm-parameter.exp: New file.
12362
12363 2014-06-02 Doug Evans <xdje42@gmail.com>
12364
12365 * gdb.guile/scm-cmd.c: New file.
12366 * gdb.guile/scm-cmd.exp: New file.
12367
12368 2014-06-02 Doug Evans <xdje42@gmail.com>
12369
12370 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
12371 pretty-printer lookup.
12372 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
12373 (make-pp_s-printer): Call it.
12374 (make-pretty-printer-from-dict): New function.
12375 (lookup-pretty-printer-maker-from-dict): New function.
12376 (*pretty-printer*): Simplify.
12377 (make-objfile-pp_s-printer): New function.
12378 (install-objfile-pretty-printers!): New function.
12379 (make-progspace-pp_s-printer): New function.
12380 (install-progspace-pretty-printers!): New function.
12381 * gdb.guile/scm-progspace.c: New file.
12382 * gdb.guile/scm-progspace.exp: New file.
12383
12384 2014-06-02 Pedro Alves <palves@redhat.com>
12385
12386 * gdb.base/dprintf-bp-same-addr.c: New file.
12387 * gdb.base/dprintf-bp-same-addr.exp: New file.
12388
12389 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12390
12391 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
12392 * gdb.arch/powerpc-power.s: Likewise.
12393
12394 2014-06-02 Joel Brobecker <brobecker@adacore.com>
12395
12396 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
12397
12398 2014-06-01 Yao Qi <yao@codesourcery.com>
12399
12400 * gdb.base/watchpoint.exp (test_watch_location): Check null
12401 pointer can be dereferenced. If not, do the test, otherwise
12402 skip it.
12403
12404 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12405
12406 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
12407 results.
12408 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
12409
12410 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
12411
12412 * gdb.arch/amd64-invalid-stack-middle.S: New file.
12413 * gdb.arch/amd64-invalid-stack-middle.c: New file.
12414 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12415 * gdb.arch/amd64-invalid-stack-top.c: New file.
12416 * gdb.arch/amd64-invalid-stack-top.exp: New file.
12417
12418 2014-05-30 Pedro Alves <palves@redhat.com>
12419
12420 PR breakpoints/17000
12421 * gdb.base/sss-bp-on-user-bp.c: New file.
12422 * gdb.base/sss-bp-on-user-bp.exp: New file.
12423
12424 2014-05-30 David Blaikie <dblaikie@gmail.com>
12425
12426 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
12427 gnu_inline semantics via attribute.
12428 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
12429 source explicitly specifies the required semantics.
12430
12431 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
12432
12433 * gdb.reverse/sigall-reverse.exp: Fix a typo.
12434
12435 2014-05-29 Pedro Alves <palves@redhat.com>
12436 Tom Tromey <tromey@redhat.com>
12437
12438 * gdb.base/async-shell.exp: Don't enable target-async.
12439 * gdb.base/async.exp
12440 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
12441 parameter. Adjust.
12442 (top level): Don't test with "target-async".
12443 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
12444 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
12445 * gdb.base/inferior-died.exp: Don't enable target-async.
12446 * gdb.base/interrupt-noterm.exp: Likewise.
12447 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
12448 * gdb.mi/mi-nonstop-exit.exp: Likewise.
12449 * gdb.mi/mi-nonstop.exp: Likewise.
12450 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
12451 * gdb.mi/mi-nsintrall.exp: Likewise.
12452 * gdb.mi/mi-nsmoribund.exp: Likewise.
12453 * gdb.mi/mi-nsthrexec.exp: Likewise.
12454 * gdb.mi/mi-watch-nonstop.exp: Likewise.
12455 * gdb.multi/watchpoint-multi.exp: Adjust comment.
12456 * gdb.python/py-evsignal.exp: Don't enable target-async.
12457 * gdb.python/py-evthreads.exp: Likewise.
12458 * gdb.python/py-prompt.exp: Likewise.
12459 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
12460 * gdb.server/solib-list.exp: Don't enable target-async.
12461 * gdb.threads/thread-specific-bp.exp: Likewise.
12462 * lib/mi-support.exp: Adjust to use mi-async.
12463
12464 2014-05-29 Pedro Alves <palves@redhat.com>
12465
12466 PR gdb/13860
12467 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
12468 reason, even in sync mode.
12469
12470 2014-05-29 Pedro Alves <palves@redhat.com>
12471 Hui Zhu <hui@codesourcery.com>
12472
12473 PR PR15693
12474 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
12475 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
12476 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
12477 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
12478
12479 2014-05-28 Joel Brobecker <brobecker@adacore.com>
12480
12481 * config/monitor.exp (gdb_target_monitor): Replace use of
12482 "set remotebaud" by "set serial baud".
12483
12484 2014-05-26 Andy Wingo <wingo@igalia.com>
12485
12486 * gdb.guile/scm-breakpoint.exp:
12487 * gdb.guile/scm-gsmob.exp: Update to use plain old object
12488 properties instead of gdb-object-properties.
12489
12490 2014-05-26 Yao Qi <yao@codesourcery.com>
12491
12492 * gdb.server/no-thread-db.exp: Specify source file name
12493 explicitly when setting a breakpoint.
12494
12495 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12496
12497 * gdb.btrace/vdso.c: New.
12498 * gdb.btrace/vdso.exp: New.
12499
12500 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12501
12502 * gdb.base/gcore.exp (capture_command_output): Move ...
12503 * lib/gdb.exp (capture_command_output): ... here.
12504
12505 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
12506
12507 * gdb.btrace/data.exp: Test memory access during btrace replay.
12508
12509 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
12510
12511 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
12512
12513 2014-05-21 Pedro Alves <palves@redhat.com>
12514
12515 PR gdb/13860
12516 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
12517 (top level): Test that output related to execution commands is
12518 sent to the console with CLI commands, but not with MI commands.
12519 Test that breakpoint events are always mirrored to the console.
12520 Also expect the new source line to be output after a "next" in
12521 async mode too. Make it a pass/fail test.
12522 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
12523 output.
12524 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
12525
12526 2014-05-21 Pedro Alves <palves@redhat.com>
12527
12528 * gdb.base/list.exp (build_pattern, test_list): New procedures.
12529 Use them to test variations of "list" after reaching a breakpoint.
12530 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
12531 Test "list" with listsize 10 after reaching a breakpoint.
12532 * gdb.python/python.exp (decode_line current location line
12533 number): Adjust expected line number.
12534
12535 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
12536
12537 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
12538 behavior for $args, pass it directly to "run".
12539
12540 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
12541
12542 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
12543 30000 to 65536.
12544
12545 2014-05-21 Pedro Alves <palves@redhat.com>
12546
12547 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
12548 auto-connect-native-target off".
12549 * gdb.base/auto-connect-native-target.c: New file.
12550 * gdb.base/auto-connect-native-target.exp: New file.
12551
12552 2014-05-21 Pedro Alves <palves@redhat.com>
12553
12554 * gdb.base/default.exp: Test "target native" instead of "target
12555 child".
12556
12557 2014-05-21 Mark Wielaard <mjw@redhat.com>
12558
12559 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12560
12561 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12562
12563 Fix TLS access for -static -pthread.
12564 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
12565 <HAVE_TLS> (thread_function, main): Initialize it.
12566 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
12567 Add clean_restart.
12568 <$have_tls != "">: Check TLSVAR.
12569
12570 2014-05-21 Pedro Alves <palves@redhat.com>
12571
12572 * gdb.base/dcache-line-read-error.c: New.
12573 * gdb.base/dcache-line-read-error.exp: New.
12574
12575 2014-05-20 Pedro Alves <palves@redhat.com>
12576
12577 * gdb.base/compare-sections.c: New file.
12578 * gdb.base/compare-sections.exp: New file.
12579
12580 2014-05-20 Pedro Alves <palves@redhat.com>
12581
12582 * gdb.base/break-idempotent.c: New file.
12583 * gdb.base/break-idempotent.exp: New file.
12584
12585 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
12586
12587 * gdb.btrace/nohist.exp: New.
12588
12589 2014-05-20 Yao Qi <yao@codesourcery.com>
12590
12591 * lib/gdb.exp (gdb_init): Set timeout if test file is under
12592 gdb.reverse directory and gdb_reverse_timeout exists in board
12593 setting.
12594 * README: Document gdb_reverse_timeout.
12595
12596 2014-05-20 Yao Qi <yao@codesourcery.com>
12597
12598 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
12599 'test_file_name'. Treat args as a string instead of a list.
12600 (gdb_init): Rename argument 'args' by 'test_file_name'.
12601
12602 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12603
12604 * gdb.arch/powerpc-power.exp: New file.
12605 * gdb.arch/powerpc-power.s: New file.
12606
12607 2014-05-16 Doug Evans <dje@google.com>
12608
12609 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
12610 * gdb.base/completion.exp: Check that all expected files exist
12611 before doing file completion.
12612
12613 2014-05-16 Doug Evans <dje@google.com>
12614
12615 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
12616 Update.
12617 (do_syscall_tests_without_xml): Update.
12618
12619 2014-05-16 Pedro Alves <palves@redhat.com>
12620
12621 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
12622 instead of "unknown output after running".
12623
12624 2014-05-16 Yao Qi <yao@codesourcery.com>
12625
12626 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
12627 file1.txt from host at the end.
12628 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12629
12630 2014-05-15 Doug Evans <dje@google.com>
12631
12632 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
12633 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
12634 loading file. Add test for TU lookup.
12635
12636 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12637
12638 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
12639 calling "-exec-arguments" or "set args" before running the
12640 inferior.
12641
12642 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
12643
12644 * lib/mi-support.exp (mi_expect_stop): Expect message for
12645 inferiors that exit with non-zero exit code.
12646
12647 2014-05-14 Yao Qi <yao@codesourcery.com>
12648
12649 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
12650 match absolute path on remote host.
12651 (test_file_list_exec_source_files): Remove "/" from the
12652 pattern.
12653
12654 2014-05-14 Yao Qi <yao@codesourcery.com>
12655
12656 * boards/local-remote-host-notty.exp (${board}_file): New
12657 proc.
12658
12659 2014-05-07 Kyle McMartin <kyle@redhat.com>
12660
12661 Pushed by Joel Brobecker <brobecker@adacore.com>.
12662 * gdb.arch/aarch64-atomic-inst.c: New file.
12663 * gdb.arch/aarch64-atomic-inst.exp: New file.
12664
12665 2014-05-07 Yao Qi <yao@codesourcery.com>
12666
12667 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
12668 in current context" too.
12669
12670 2014-05-05 Keith Seitz <keiths@redhat.com>
12671
12672 * gdb.linespec/ls-dollar.exp: Add test for linespec
12673 file:convenience_variable.
12674
12675 2014-05-05 Yao Qi <yao@codesourcery.com>
12676
12677 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
12678 traceframes into tfile and ctf trace files. Read data from
12679 trace file and test collected data.
12680 (gdb_collect_locals_test): Likewise.
12681 (gdb_unavailable_registers_test): Likewise.
12682 (gdb_unavailable_floats): Likewise.
12683 (gdb_collect_globals_test): Likewise.
12684 (top-level): Append "ctf" to trace_file_targets if GDB
12685 supports.
12686
12687 2014-05-05 Yao Qi <yao@codesourcery.com>
12688
12689 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
12690 code to ...
12691 (gdb_collect_args_test_1): ... it. New proc.
12692 (gdb_collect_locals_test): Move some code to ...
12693 (gdb_collect_locals_test_1): ... it. New proc.
12694 (gdb_unavailable_registers_test): Move some code to ...
12695 (gdb_unavailable_registers_test_1): ... it. New proc.
12696 (gdb_unavailable_floats): Move some code to ...
12697 (gdb_unavailable_floats_1): ... it. New proc.
12698
12699 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12700
12701 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
12702 probes to test for bitness recognition.
12703 * gdb.arch/amd64-stap-optional-prefix.exp
12704 (test_probe_value_without_reg): New procedure.
12705 Add code to test for different kinds of bitness.
12706
12707 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
12708
12709 PR breakpoints/16889
12710 * gdb.arch/amd64-stap-optional-prefix.S: New file.
12711 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
12712
12713 2014-05-01 Pedro Alves <palves@redhat.com>
12714
12715 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
12716 gdb_file_cmd if no file is specified.
12717 * boards/native-extended-gdbserver.exp (gdb_load): Use the
12718 last_loaded_file to set the remote exec-file.
12719
12720 2014-05-01 Pedro Alves <palves@redhat.com>
12721
12722 * boards/local-remote-host.exp: New file.
12723
12724 2014-05-01 Pedro Alves <palves@redhat.com>
12725
12726 * boards/local-remote-host.exp: Rename to ...
12727 * boards/local-remote-host-notty.exp: ... this.
12728
12729 2014-04-28 Joel Brobecker <brobecker@adacore.com>
12730
12731 * gdb.ada/dyn_arrayidx: New testcase.
12732
12733 2014-04-26 Yao Qi <yao@codesourcery.com>
12734
12735 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
12736 and compute the length of function main. Save it in
12737 $main_length.
12738 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
12739 (top-level): Use gdb_compile to compile objects into
12740 executable and restart GDB. Remove invocation to
12741 prepare_for_testing.
12742
12743 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
12744 Pedro Alves <palves@redhat.com>
12745
12746 PR server/16255
12747 * gdb.multi/multi-attach.c: New file.
12748 * gdb.multi/multi-attach.exp: New file.
12749
12750 2014-04-25 Pedro Alves <palves@redhat.com>
12751
12752 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
12753 user.
12754 (top level): Test that "set remote conditional-breakpoints-packet
12755 off" works as intended.
12756 * gdb.base/dprintf.exp: Test that "set remote
12757 breakpoint-commands-packet off" works as intended.
12758 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
12759 New function.
12760 (top level): Call it.
12761 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
12762 remote fast-tracepoints-packet off" works as intended.
12763 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
12764 * lib/gdb.exp (gdb_is_target_remote): ... here.
12765
12766 2014-04-24 David Blaikie <dblaikie@gmail.com>
12767
12768 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
12769 ensure clang would not discard them.
12770 * gdb.base/gdbvars.c: Ditto.
12771 * gdb.base/memattr.c: Ditto.
12772 * gdb.base/whatis.c: Ditto.
12773 * gdb.python/py-prettyprint.c: Ditto.
12774 * gdb.trace/actions.c: Ditto.
12775 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
12776 ensure clang would not discard it.
12777
12778 2014-04-24 David Blaikie <dblaikie@gmail.com>
12779
12780 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
12781 clang to emit the full definition of type required by the test
12782 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
12783
12784 2014-04-24 David Blaikie <dblaikie@gmail.com>
12785
12786 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
12787 coax Clang into emitting the definition of the type.
12788 * gdb.cp/pr10728-x.h (y): Ditto.
12789 * gdb.cp/pr10728-y.cc (y): Ditto.
12790
12791 2014-04-24 David Blaikie <dblaikie@gmail.com>
12792
12793 * gdb.base/label.exp: XFAIL label related tests under Clang.
12794 * gdb.cp/cplabel.exp: Ditto.
12795 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
12796 under Clang those using labels.
12797
12798 2014-04-25 Yao Qi <yao@codesourcery.com>
12799
12800 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
12801 double_label.
12802 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
12803 partial_label and double_label.
12804
12805 2014-04-24 David Blaikie <dblaikie@gmail.com>
12806
12807 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
12808
12809 2014-04-24 David Blaikie <dblaikie@gmail.com>
12810
12811 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
12812 of the function to work across GCC and Clang.
12813 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
12814 pointer types (const void ** const V void **).
12815
12816 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
12817 Walfred Tedeschi <walfred.tedeschi@intel.com>
12818
12819 * Makefile.in (EXECUTABLES): Added i386-avx512.
12820 * gdb.arch/i386-avx512.c: New file.
12821 * gdb.arch/i386-avx512.exp: Likewise.
12822
12823 2014-04-23 Keith Seitz <keiths@redhat.com>
12824
12825 * lib/mi-support.exp (mi_list_breakpoints): Delete.
12826 (mi_make_breakpoint_table): New procedure.
12827 (mi_create_breakpoint): Use mi_make_breakpoint
12828 and return the result.
12829 (mi_make_breakpoint): New procedure.
12830 (mi_build_kv_pairs): New procedure.
12831
12832 * gdb.mi/mi-break.exp: Remove unused globals,
12833 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
12834 All callers updated.
12835 * gdb.mi/mi-dprintf.exp: Use variable to track command
12836 number.
12837 Update all callers of mi_create_breakpoint and use
12838 mi_make_breakpoint_table.
12839 Remove any unused global variables.
12840 * gdb.mi/mi-nonstop.exp: Likewise.
12841 * gdb.mi/mi-nsintrall.exp: Likewise.
12842 * gdb.mi/mi-nsmoribund.exp: Likewise.
12843 * gdb.mi/mi-nsthrexec.exp: Likewise.
12844 * gdb.mi/mi-reverse.exp: Likewise.
12845 * gdb.mi/mi-simplerun.exp: Likewise.
12846 * gdb.mi/mi-stepn.exp: Likewise.
12847 * gdb.mi/mi-syn-frame.exp: Likewise.
12848 * gdb.mi/mi-until.exp: Likewise.
12849 * gdb.mi/mi-var-cp.exp: Likewise.
12850 * gdb.mi/mi-var-display.exp: Likewise.
12851 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
12852 * gdb.mi/mi2-var-child.exp: Likewise.
12853 * gdb.mi/mi-vla-c99.exp: Likewise.
12854 * lib/mi-support.exp: Likewise.
12855
12856 From Ian Lance Taylor <iant@cygnus.com>:
12857 * lib/gdb.exp (parse_args): New procedure.
12858
12859 2014-04-23 Pedro Alves <palves@redhat.com>
12860
12861 * gdb.base/break-unload-file.c: New file.
12862 * gdb.base/break-unload-file.exp: New file.
12863 * gdb.base/sym-file-lib.c (baz): New function.
12864 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
12865 field.
12866 (load): Store the segment's mapped size.
12867 (unload): New function.
12868 (unload_shlib): New function.
12869 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
12870 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
12871 set a breakpoint at baz, and call it.
12872 * gdb.base/sym-file.exp: New tests for stale breakpoint
12873 instructions.
12874
12875 2014-04-23 Pedro Alves <palves@redhat.com>
12876
12877 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
12878 * gdb.base/hbreak-in-shr-unsupported.c: New file.
12879 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
12880 * gdb.base/hbreak-unmapped.c: New file.
12881 * gdb.base/hbreak-unmapped.exp: New file.
12882 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
12883 * lib/gdb.exp (gdb_is_target_remote): ... here.
12884
12885 2014-04-22 Pedro Alves <palves@redhat.com>
12886
12887 * gdb.base/consecutive-step-over.c: New file.
12888 * gdb.base/consecutive-step-over.exp: New file.
12889
12890 2014-04-22 Pedro Alves <palves@redhat.com>
12891
12892 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
12893 instead of send_gdb/gdb_expect.
12894
12895 2014-04-22 Yao Qi <yao@codesourcery.com>
12896
12897 * lib/trace-support.exp (generate_tracefile): New procedure.
12898 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
12899 return 0.
12900 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
12901 if generate_tracefile returns 1.
12902
12903 2014-04-18 Tom Tromey <palves@redhat.com>
12904 Pedro alves <tromey@redhat.com>
12905
12906 PR backtrace/15558
12907 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
12908 with a backtrace limit.
12909 * gdb.python/py-frame-inline.exp: Test running to an inline
12910 function with a backtrace limit, and printing the newest frame.
12911 * gdb.python/py-frame-inline.c (main): Call f.
12912
12913 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12914
12915 * gdb.java/jnpe.exp: Drop srcdir from untested path.
12916
12917 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
12918
12919 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
12920 Drop prefix from unsupported source file path.
12921
12922 2014-04-17 Yao Qi <yao@codesourcery.com>
12923
12924 * lib/gdb.exp (with_target_charset): New proc.
12925 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
12926 with_target_charset.
12927 (test_print_strings): Likewise.
12928 (test_repeat_bytes): Likewise.
12929 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
12930 for some tests.
12931
12932 2014-04-16 Keith Seitz <keiths@redhat.com>
12933
12934 PR gdb/15827
12935 * gdb.dwarf2/corrupt.c: New file.
12936 * gdb.dwarf2/corrupt.exp: New file.
12937
12938 2014-04-16 Keith Seitz <keiths@redhat.com>
12939
12940 PR c++/16597
12941 * gdb.cp/namelessclass.cc: New file.
12942 * gdb.cp/namelessclass.exp: New file.
12943 * gdb.cp/namelessclass.S: New file.
12944
12945 2014-04-16 Doug Evans <dje@google.com>
12946
12947 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
12948 Add comment.
12949 (gdbserver_default_get_comm_port): New function.
12950 (gdbserver_start): Check if board file provided
12951 "gdbserver,get_comm_port" and use it if so.
12952 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
12953 (gdb,socketport): Set to "stdio".
12954 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
12955 (stdio_gdbserver_template): Delete.
12956 (${board}_get_remote_address): Update.
12957 (${board}_build_remote_cmd): Delete.
12958 (${board}_get_comm_port): New function.
12959 (${board}_spawn): Update.
12960 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
12961 Delete.
12962 (${board}_get_remote_address): Update.
12963 (${board}_get_comm_port): New function.
12964
12965 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
12966
12967 * gdb.base/memattr.exp: Improve regexps to handle memory regions
12968 appearing in any order.
12969
12970 2014-04-15 Doug Evans <dje@google.com>
12971
12972 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
12973 uninitialized value of "description".
12974
12975 2014-04-15 Keith Seitz <keiths@redhat.com>
12976
12977 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
12978 Remove unused globals.
12979 (test_running_the_program): Likewise.
12980 (test_controlled_execution): Likewise.
12981 (test_controlling_breakpoints): Likewise.
12982 (test_program_termination): Likewise.
12983
12984 2014-04-15 Keith Seitz <keiths@redhat.com>
12985
12986 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
12987 unused globals.
12988 (test_rbreak_creation_and_listing): Likewise.
12989 (test_ignore_count): Likewise.
12990 (test_error): Likewise.
12991
12992 2014-04-15 Pedro Alves <palves@redhat.com>
12993
12994 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
12995 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
12996 sym-file-loader.c.
12997 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
12998 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
12999 to sym-file-loader.c.
13000 (struct library): Forward declare.
13001 (load_shlib, lookup_function): Change prototypes.
13002 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13003 (translate_offset): Remove declarations.
13004 (get_text_addr): New declaration.
13005 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
13006 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
13007 sym-file-loader.h.
13008 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
13009 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
13010 here from sym-file-loader.h.
13011 (struct library): New structure.
13012 (load_shlib, lookup_function): Change prototypes and adjust to
13013 work with a struct library.
13014 (find_shstrtab, find_strtab, find_shdr, find_symtab)
13015 (translate_offset): Make static.
13016 (get_text_addr): New function.
13017 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
13018
13019 2014-04-15 Pedro Alves <palves@redhat.com>
13020
13021 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
13022
13023 2014-04-15 Pedro Alves <palves@redhat.com>
13024
13025 * gdb.base/sym-file-loader.c: Include <limits.h>.
13026 (SELF_LINK): New define.
13027 (get_origin): New function.
13028 (load_shlib): Use it.
13029 * gdb.base/sym-file.exp: Don't early return if the target is
13030 remote. Use runto_main, and issue fail is that fails. Use
13031 gdb_load_shlibs.
13032 (shlib_name): Delete.
13033 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
13034
13035 2014-04-15 Pedro Alves <palves@redhat.com>
13036
13037 * gdb.base/sym-file.exp: Remove regex characters from test
13038 message. Don't refer to breakpoint numbers in test messages.
13039
13040 2014-04-14 Keith Seitz <keiths@redhat.com>
13041
13042 PR c++/16253
13043 * gdb.cp/var-tag.cc: New file.
13044 * gdb.cp/var-tag.exp: New file.
13045 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13046 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13047 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13048 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13049
13050 2014-04-14 Tom Tromey <tromey@redhat.com>
13051
13052 * gdb.cp/classes.exp (test_enums): Handle underlying type.
13053 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
13054 type.
13055 * gdb.cp/enum-class.exp: New file.
13056 * gdb.cp/enum-class.cc: New file.
13057
13058 2014-04-14 Tom Tromey <tromey@redhat.com>
13059
13060 * gdb.dwarf2/enum-type.exp: New file.
13061
13062 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13063
13064 * gdb.mi/mi-vla-c99.exp: New file.
13065 * gdb.mi/vla.c: New file.
13066
13067 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13068
13069 * gdb.base/vla-datatypes.c: New file.
13070 * gdb.base/vla-datatypes.exp: New file.
13071
13072 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13073
13074 * gdb.base/vla-ptr.c: New file.
13075 * gdb.base/vla-ptr.exp: New file.
13076
13077 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13078
13079 * gdb.dwarf2/count.exp: New file.
13080
13081 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
13082
13083 * gdb.base/vla-sideeffect.c: New file.
13084 * gdb.base/vla-sideeffect.exp: New file.
13085
13086 2014-04-14 David Blaikie <dblaikie@gmail.com>
13087
13088 * gdb.mi/non-stop.c: Add return value for non-void function return
13089 statement.
13090 * gdb.threads/staticthreads.c: Ditto.
13091
13092 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
13093 Doug Evans <xdje42@gmail.com>
13094
13095 * gdb.guile/scm-value.c: Improve test case.
13096 * gdb.guile/scm-value.exp: Add new test.
13097
13098 2014-04-11 David Blaikie <dblaikie@gmail.com>
13099
13100 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
13101 override Clang's default.
13102
13103 2014-04-11 Joel Brobecker <brobecker@adacore.com>
13104
13105 Revert the following changes (regressions):
13106
13107 * gdb.base/vla-sideeffect.c: New file.
13108 * gdb.base/vla-sideeffect.exp: New file.
13109
13110 * gdb.dwarf2/count.exp: New file.
13111
13112 * gdb.base/vla-multi.c: New file.
13113 * gdb.base/vla-multi.exp: New file.
13114
13115 * gdb.base/vla-ptr.c: New file.
13116 * gdb.base/vla-ptr.exp: New file.
13117
13118 * gdb.base/vla-datatypes.c: New file.
13119 * gdb.base/vla-datatypes.exp: New file.
13120
13121 * gdb.mi/mi-vla-c99.exp: New file.
13122 * gdb.mi/vla.c: New file.
13123
13124 2014-04-11 Keith Seitz <keiths@redhat.com>
13125
13126 PR c++/16675
13127 * gdb.cp/cpsizeof.exp: New file.
13128 * gdb.cp/cpsizeof.cc: New file.
13129
13130 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13131
13132 * gdb.mi/mi-vla-c99.exp: New file.
13133 * gdb.mi/vla.c: New file.
13134
13135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13136
13137 * gdb.base/vla-datatypes.c: New file.
13138 * gdb.base/vla-datatypes.exp: New file.
13139
13140 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13141
13142 * gdb.base/vla-ptr.c: New file.
13143 * gdb.base/vla-ptr.exp: New file.
13144
13145 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13146
13147 * gdb.base/vla-multi.c: New file.
13148 * gdb.base/vla-multi.exp: New file.
13149
13150 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13151
13152 * gdb.dwarf2/count.exp: New file.
13153
13154 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
13155
13156 * gdb.base/vla-sideeffect.c: New file.
13157 * gdb.base/vla-sideeffect.exp: New file.
13158
13159 2014-04-11 Yao Qi <yao@codesourcery.com>
13160
13161 * gdb.base/completion.exp: Check file exists before running tests
13162 on file completion.
13163
13164 2014-04-10 Pedro Alves <palves@redhat.com>
13165
13166 * gdb.base/cond-eval-mode.c: New file.
13167 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
13168 prepare_for_testing to build the new file. Check result of
13169 runto_main.
13170 (test_break, test_watch): New procedures.
13171 (top level): Use them.
13172
13173 2014-04-08 Pierre Muller <muller@sourceware.org>
13174
13175 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
13176 Ctrl-V use for mingw hosts.
13177
13178 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
13179
13180 * gdb.python/py-value.c: Improve test case.
13181 * gdb.python/py-value.exp: Add new test.
13182
13183 2014-04-07 David Blaikie <dblaikie@gmail.com>
13184
13185 * lib/compiler.c: Identify the clang compiler.
13186 * lib/compiler.cc: Ditto.
13187
13188 2014-04-03 Yao Qi <yao@codesourcery.com>
13189
13190 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
13191
13192 2014-04-01 Anton Blanchard <anton@samba.org>
13193
13194 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
13195 messages unique.
13196
13197 2014-04-01 Anton Blanchard <anton@samba.org>
13198
13199 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
13200 prepare_for_testing.
13201
13202 2014-04-01 Anton Blanchard <anton@samba.org>
13203
13204 * gdb.arch/ppc64-atomic-inst.c: Remove.
13205 * gdb.arch/ppc64-atomic-inst.S: New file.
13206 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
13207
13208 2014-03-31 Doug Evans <dje@google.com>
13209
13210 * gdb.base/print-symbol-loading-lib.c: New file.
13211 * gdb.base/print-symbol-loading-main.c: New file.
13212 * gdb.base/print-symbol-loading.exp: New file.
13213
13214 2014-03-31 Yao Qi <yao@codesourcery.com>
13215
13216 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
13217
13218 2014-03-28 Joel Brobecker <brobecker@adacore.com>
13219
13220 * gdb.ada/mi_dyn_arr: New testcase.
13221
13222 2014-03-27 Doug Evans <dje@google.com>
13223
13224 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
13225
13226 2014-03-27 Yao Qi <yao@codesourcery.com>
13227
13228 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
13229 if target is nios2-*-*.
13230
13231 2014-03-26 Yao Qi <yao@codesourcery.com>
13232
13233 * lib/gdb.exp (readline_is_used): New proc.
13234 * gdb.base/completion.exp: Move tests on command complete up.
13235 Skip the rest of tests if readline is not used.
13236 * gdb.ada/complete.exp: Skp the test if readline is not
13237 used.
13238 * gdb.base/filesym.exp: Likewise.
13239 * gdb.base/macscp.exp: Likewise.
13240 * gdb.base/readline-ask.exp: Likewise.
13241 * gdb.base/readline.exp: Likewise.
13242 * gdb.python/py-cmd.exp: Likewise.
13243 * gdb.trace/tfile.exp: Likewise.
13244
13245 2014-03-26 Yao Qi <yao@codesourcery.com>
13246
13247 * gdb.base/macscp.exp: Fix code format issues.
13248
13249 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
13250
13251 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
13252 * gdb.asm/powerpc64le.inc: New file.
13253
13254 2014-03-25 Pedro Alves <palves@redhat.com>
13255 Doug Evans <dje@google.com>
13256
13257 * gdb.base/source-execution.c: New file.
13258 * gdb.base/source-execution.exp: New file.
13259 * gdb.base/source-execution.gdb: New file.
13260
13261 2014-03-24 Doug Evans <dje@google.com>
13262
13263 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
13264 using fission.
13265
13266 2014-03-24 Hui Zhu <hui@codesourcery.com>
13267 Pedro Alves <palves@redhat.com>
13268
13269 PR breakpoints/16101
13270 * gdb.base/dprintf.exp: Use unsupported rather than changing the
13271 test pass/fail messages. Detect missing support for dprintf when
13272 breakpoints are actually inserted.
13273 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
13274 breakpoints are actually inserted.
13275 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
13276 fails.
13277
13278 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13279
13280 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
13281
13282 2014-03-22 Doug Evans <xdje42@gmail.com>
13283
13284 * gdb.python/python.exp (python not supported): Verify multi-line
13285 python command issues an error.
13286 * gdb.guile/guile.exp (guile not supported): Verify multi-line
13287 guile command issues an error.
13288
13289 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
13290
13291 * gdb.threads/thread-specific.exp: Handle the lack of usable
13292 $this_breakpoint and $this_thread.
13293
13294 2014-03-21 Hui Zhu <hui@codesourcery.com>
13295
13296 * gdb.base/attach.exp (do_command_attach_tests): New.
13297
13298 2014-03-20 Tom Tromey <tromey@redhat.com>
13299 Pedro Alves <palves@redhat.com>
13300
13301 PR cli/15718
13302 * gdb.base/condbreak-call-false.c: New file.
13303 * gdb.base/condbreak-call-false.exp: New file.
13304
13305 2014-03-20 Pedro Alves <palves@redhat.com>
13306
13307 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
13308 Delete.
13309 (block_signals, unblock_signals): Delete.
13310 (child_function_2, main): Remove references to deleted variable
13311 and functions.
13312
13313 2014-03-20 Pedro Alves <palves@redhat.com>
13314
13315 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
13316 Use pthread_kill to signal thread 2.
13317 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13318 Adjust to make the test send itself a signal rather than using the
13319 host's "kill" command.
13320
13321 2014-03-20 Pedro Alves <palves@redhat.com>
13322
13323 * gdb.threads/multiple-step-overs.c: New file.
13324 * gdb.threads/multiple-step-overs.exp: New file.
13325 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13326 Adjust expected infrun debug output.
13327
13328 2014-03-20 Pedro Alves <palves@redhat.com>
13329
13330 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
13331 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
13332
13333 2014-03-20 Pedro Alves <palves@redhat.com>
13334
13335 PR breakpoints/7143
13336 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
13337 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
13338 of gdb_test_multiple.
13339 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
13340 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
13341
13342 2014-03-20 Pedro Alves <palves@redhat.com>
13343
13344 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
13345 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
13346
13347 2014-03-19 Pedro Alves <palves@redhat.com>
13348
13349 * gdb.base/async.exp: Remove early return.
13350
13351 2014-03-19 Pedro Alves <palves@redhat.com>
13352
13353 * gdb.base/async.exp (step& tests): Pass explicit test messages.
13354
13355 2014-03-19 Pedro Alves <palves@redhat.com>
13356
13357 * gdb.base/async.exp (test_background): Expect \r\n after
13358 "completed." in the fail pattern.
13359
13360 2014-03-19 Pedro Alves <palves@redhat.com>
13361
13362 * gdb.base/async.exp (test_background): New procedure.
13363 Use it for all background execution command tests.
13364
13365 2014-03-19 Pedro Alves <palves@redhat.com>
13366
13367 * gdb.base/async.exp: Use prepare_for_testing.
13368
13369 2014-03-19 Pedro Alves <palves@redhat.com>
13370
13371 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
13372 the same line.
13373
13374 2014-03-19 Pedro Alves <palves@redhat.com>
13375
13376 * gdb.base/async.c (main): Add "jump here" and "until here" line
13377 marker comments.
13378 * gdb.base/async.exp (jump_here): New global.
13379 (jump& test): Use it.
13380 (until_here): New global.
13381 (until& test): Use it.
13382
13383 2014-03-19 Pedro Alves <palves@redhat.com>
13384
13385 * gdb.base/async.exp: Don't frob gdb_protocol.
13386
13387 2014-03-18 Doug Evans <xdje42@gmail.com>
13388
13389 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
13390 Fix spelling of exec-done-display.
13391
13392 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13393
13394 PR gdb/15358
13395 * gdb.base/gdb-sigterm.c: New file.
13396 * gdb.base/gdb-sigterm.exp: New file.
13397
13398 2014-03-18 Pedro Alves <palves@redhat.com>
13399
13400 PR gdb/13860
13401 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
13402 * lib/mi-support.exp (mi_expect_stop): Add special handling for
13403 solib-event.
13404
13405 2014-03-17 Joel Brobecker <brobecker@adacore.com>
13406
13407 * gdb.ada/pckd_arr_ren: New testcase.
13408
13409 2014-03-13 Doug Evans <xdje42@gmail.com>
13410
13411 PR guile/16612
13412 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
13413 collect after discarding symbols.
13414
13415 2014-03-13 Ludovic Courtès <ludo@gnu.org>
13416 Doug Evans <xdje42@gmail.com>
13417
13418 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
13419 to history survives a gc.
13420
13421 2014-03-13 Pedro Alves <palves@redhat.com>
13422
13423 * gdb.base/default.exp: Don't test "target procfs".
13424
13425 2014-03-13 Pedro Alves <palves@redhat.com>
13426
13427 * gdb.base/default.exp: Update "target child" and "target procfs"
13428 tests to not expect "Unix".
13429
13430 2014-03-12 Tom Tromey <tromey@redhat.com>
13431
13432 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
13433 New procs. Add target-async tests.
13434 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
13435 Add target-async tests.
13436
13437 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13438
13439 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
13440 'func_start' and 'func_end' for the beginning and end of the
13441 function code, respectively.
13442 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
13443 'func_end' instead of 'func' and 'main'.
13444
13445 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13446
13447 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
13448 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
13449 generate the debug info assembler source.
13450
13451 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13452
13453 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
13454 * gdb.dwarf2/arr-subrange.exp: Likewise.
13455 * gdb.dwarf2/dwz.exp: Likewise.
13456 * gdb.dwarf2/method-ptr.exp: Likewise.
13457 * gdb.dwarf2/missing-sig-type.exp: Likewise.
13458 * gdb.dwarf2/subrange.exp: Likewise.
13459 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
13460 * gdb.dwarf2/implptrpiece.exp: Likewise.
13461 * gdb.dwarf2/nostaticblock.exp: Likewise.
13462
13463 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13464
13465 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
13466 directory to absolute path name arguments.
13467
13468 2014-03-10 Joel Brobecker <brobecker@adacore.com>
13469
13470 * gdb.ada/tagged_access: New testcase.
13471
13472 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
13473
13474 * gdb.btrace/data.exp: Update expected output.
13475
13476 2014-03-06 Yao Qi <yao@codesourcery.com>
13477
13478 * gdb.trace/pr16508.exp: New file.
13479
13480 2014-03-05 Pedro Alves <palves@redhat.com>
13481
13482 PR gdb/16575
13483 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
13484 procedure.
13485 (top level): Adjust to use it. Add tests that exercise breakpoint
13486 interaction with the code-cache.
13487
13488 2014-02-26 Ludovic Courtès <ludo@gnu.org>
13489
13490 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
13491 test for 'history-append!'.
13492
13493 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13494
13495 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
13496 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
13497 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
13498 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
13499 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
13500 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
13501
13502 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13503
13504 * testsuite/gdb.python/py-pp-re-notag.c: New file.
13505 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
13506 * testsuite/gdb.python/py-pp-re-notag.p: New file.
13507
13508 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13509
13510 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
13511
13512 2014-02-26 Joel Brobecker <brobecker@adacore.com>
13513
13514 * gdb.dwarf2/arr-stride.c: New file.
13515 * gdb.dwarf2/arr-stride.exp: New file.
13516
13517 2014-02-26 Pedro Alves <palves@redhat.com>
13518
13519 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
13520 that won't ever trigger. Make sure that GDB reports the correct
13521 breakpoint that caused the stop.
13522
13523 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13524
13525 PR gdb/16626
13526 * gdb.base/auto-load-script: New file.
13527 * gdb.base/auto-load.c: New file.
13528 * gdb.base/auto-load.exp: New file.
13529
13530 PR gdb/16626
13531 * gdb.base/auto-load.exp: Fix out-of-srctree run.
13532
13533 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13534
13535 Fix dw2-icycle.exp -fsanitize=address GDB crash.
13536 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
13537
13538 2014-02-24 Doug Evans <dje@google.com>
13539
13540 * lib/gdb.exp (run_on_host): Log error output if program fails.
13541
13542 2014-02-21 Pedro Alves <palves@redhat.com>
13543
13544 * gdb.threads/step-after-sr-lock.c: Rename to ...
13545 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
13546 * gdb.threads/step-after-sr-lock.exp: Rename to ...
13547 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
13548 ... this.
13549
13550 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
13551
13552 PR tdep/16397
13553 * gdb.arch/amd64-stap-special-operands.exp: New file.
13554 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
13555 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
13556 * gdb.arch/amd64-stap-triplet.S: Likewise.
13557 * gdb.arch/amd64-stap-triplet.c: Likewise.
13558
13559 2014-02-20 Joel Brobecker <brobecker@adacore.com>
13560
13561 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
13562 in .section pseudo-op.
13563
13564 2014-02-20 lin zuojian <manjian2006@gmail.com>
13565 Joel Brobecker <brobecker@adacore.com>
13566 Doug Evans <xdje42@gmail.com>
13567
13568 PR symtab/16581
13569 * gdb.dwarf2/dw2-icycle.S: New file.
13570 * gdb.dwarf2/dw2-icycle.c: New file.
13571 * gdb.dwarf2/dw2-icycle.exp: New file.
13572
13573 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
13574
13575 * gdb.python/py-value-cc.cc: Improve test case to enable testing
13576 operations on gdb.Value objects.
13577 * gdb.python/py-value-cc.exp: Add new test to test operations on
13578 gdb.Value objects.
13579
13580 2014-02-18 Doug Evans <dje@google.com>
13581
13582 * Makefile.in (TESTS): New variable.
13583 (expanded_tests, expanded_tests_or_none): New variables
13584 (check-single): Pass $(expanded_tests_or_none) to runtest.
13585 (check-parallel): Only run tests in $(TESTS) if non-empty.
13586 (check/no-matching-tests-found): New rule.
13587 * README: Document TESTS makefile variable.
13588
13589 2014-02-18 Doug Evans <dje@google.com>
13590
13591 * Makefile.in (check-parallel): rm -rf outputs temp.
13592
13593 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13594
13595 Fix "ERROR: no fileid for" in the testsuite.
13596 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
13597
13598 2014-02-12 Doug Evans <dje@google.com>
13599
13600 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
13601 (MISCELLANEOUS): New variable.
13602 (clean): rm -rf $(MISCELLANEOUS).
13603 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
13604 dwp live in the same directory as symlinks, with each symlink pointed
13605 to a differently named file in a different directory.
13606
13607 2014-02-11 Doug Evans <dje@google.com>
13608
13609 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
13610 of Tcl file commands.
13611
13612 2014-02-10 Mark Kettenis <kettenis@gnu.org>
13613
13614 * gdb.threads/step-after-sr-lock.exp: Avoid executing
13615 "kill -SIGUSR1 -1".
13616
13617 2014-02-10 Joel Brobecker <brobecker@adacore.com>
13618
13619 * gdb.ada/tick_length_array_enum_idx: New testcase.
13620
13621 2014-02-10 Doug Evans <xdje42@gmail.com>
13622
13623 * configure.ac (AC_OUTPUT): Add gdb.guile.
13624 * configure: Regenerate.
13625 * lib/gdb-guile.exp: New file.
13626 * lib/gdb.exp (get_target_charset): New function.
13627 * gdb.base/help.exp: Update expected output from "apropos apropos".
13628 * gdb.guile/Makefile.in: New file.
13629 * gdb.guile/guile.exp: New file.
13630 * gdb.guile/scm-arch.c: New file.
13631 * gdb.guile/scm-arch.exp: New file.
13632 * gdb.guile/scm-block.c: New file.
13633 * gdb.guile/scm-block.exp: New file.
13634 * gdb.guile/scm-breakpoint.c: New file.
13635 * gdb.guile/scm-breakpoint.exp: New file.
13636 * gdb.guile/scm-disasm.c: New file.
13637 * gdb.guile/scm-disasm.exp: New file.
13638 * gdb.guile/scm-equal.c: New file.
13639 * gdb.guile/scm-equal.exp: New file.
13640 * gdb.guile/scm-error.exp: New file.
13641 * gdb.guile/scm-error.scm: New file.
13642 * gdb.guile/scm-frame-args.c: New file.
13643 * gdb.guile/scm-frame-args.exp: New file.
13644 * gdb.guile/scm-frame-args.scm: New file.
13645 * gdb.guile/scm-frame-inline.c: New file.
13646 * gdb.guile/scm-frame-inline.exp: New file.
13647 * gdb.guile/scm-frame.c: New file.
13648 * gdb.guile/scm-frame.exp: New file.
13649 * gdb.guile/scm-generics.exp: New file.
13650 * gdb.guile/scm-gsmob.exp: New file.
13651 * gdb.guile/scm-iterator.c: New file.
13652 * gdb.guile/scm-iterator.exp: New file.
13653 * gdb.guile/scm-math.c: New file.
13654 * gdb.guile/scm-math.exp: New file.
13655 * gdb.guile/scm-objfile-script-gdb.in: New file.
13656 * gdb.guile/scm-objfile-script.c: New file.
13657 * gdb.guile/scm-objfile-script.exp: New file.
13658 * gdb.guile/scm-objfile.c: New file.
13659 * gdb.guile/scm-objfile.exp: New file.
13660 * gdb.guile/scm-ports.exp: New file.
13661 * gdb.guile/scm-pretty-print.c: New file.
13662 * gdb.guile/scm-pretty-print.exp: New file.
13663 * gdb.guile/scm-pretty-print.scm: New file.
13664 * gdb.guile/scm-section-script.c: New file.
13665 * gdb.guile/scm-section-script.exp: New file.
13666 * gdb.guile/scm-section-script.scm: New file.
13667 * gdb.guile/scm-symbol.c: New file.
13668 * gdb.guile/scm-symbol.exp: New file.
13669 * gdb.guile/scm-symtab-2.c: New file.
13670 * gdb.guile/scm-symtab.c: New file.
13671 * gdb.guile/scm-symtab.exp: New file.
13672 * gdb.guile/scm-type.c: New file.
13673 * gdb.guile/scm-type.exp: New file.
13674 * gdb.guile/scm-value-cc.cc: New file.
13675 * gdb.guile/scm-value-cc.exp: New file.
13676 * gdb.guile/scm-value.c: New file.
13677 * gdb.guile/scm-value.exp: New file.
13678 * gdb.guile/source2.scm: New file.
13679 * gdb.guile/types-module.cc: New file.
13680 * gdb.guile/types-module.exp: New file.
13681
13682 2014-02-10 Yao Qi <yao@codesourcery.com>
13683
13684 PR testsuite/16543
13685 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
13686 * configure: Regenerated.
13687 * Makefile.in: New file.
13688
13689 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13690
13691 * gdb.python/py-framefilter.exp: Fix typo.
13692
13693 2014-02-08 Yao Qi <yao@codesourcery.com>
13694
13695 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
13696 that no =breakpoint-modified is emitted when breakpoints are
13697 modified through MI commands.
13698
13699 2014-02-07 Pedro Alves <pedro@codesourcery.com>
13700 Pedro Alves <palves@redhat.com>
13701
13702 * gdb.threads/step-after-sr-lock.c: New file.
13703 * gdb.threads/step-after-sr-lock.exp: New file.
13704
13705 2014-02-07 Pedro Alves <palves@redhat.com>
13706
13707 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
13708
13709 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13710
13711 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
13712 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
13713
13714 2014-02-06 Doug Evans <xdje42@gmail.com>
13715
13716 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
13717 output.
13718
13719 * gdb.gdb/python-interrupts.exp: New file.
13720
13721 2014-02-05 Yao Qi <yao@codesourcery.com>
13722
13723 * gdb.trace/report.exp (use_collected_data): Test the output
13724 of "info threads" and "info inferiors".
13725
13726 2014-02-05 Yao Qi <yao@codesourcery.com>
13727
13728 Revert this patch:
13729
13730 2013-05-24 Yao Qi <yao@codesourcery.com>
13731
13732 * gdb.trace/tfile.exp: Test inferior and thread.
13733
13734 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13735
13736 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
13737 on a function.
13738 * gdb.base/step-bt.c: Call hello via function pointer to make
13739 sure its first instruction is executed on powerpc64le-linux.
13740
13741 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13742
13743 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
13744
13745 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13746
13747 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
13748 of the test patterns for use on little-endian systems.
13749
13750 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
13751
13752 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
13753 (decimal_vector): Fix for little-endian.
13754
13755 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13756
13757 * gdb.arch/sparc-sysstep.exp: New file.
13758 * gdb.arch/sparc-sysstep.c: Likewise.
13759
13760 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
13761
13762 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13763
13764 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
13765
13766 2014-01-23 Tom Tromey <tromey@redhat.com>
13767
13768 * gdb.ada/array_char_idx: New testcase.
13769
13770 2014-01-23 Tom Tromey <tromey@redhat.com>
13771
13772 PR python/16487:
13773 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
13774 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
13775 classes.
13776
13777 2014-01-23 Tom Tromey <tromey@redhat.com>
13778
13779 PR python/16491:
13780 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
13781 string from an inferior frame.
13782 * gdb.python/py-framefilter-mi.exp: Update.
13783
13784 2014-01-22 Doug Evans <dje@google.com>
13785
13786 * gdb.server/server-mon.exp: Add tests for "set debug-format".
13787
13788 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13789
13790 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
13791
13792 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13793
13794 * gdb.trace/entry-values.exp: Remove excess space character from
13795 regex patterns. Handle s390 call instruction.
13796
13797 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13798
13799 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
13800 define "*_start" label. Make "name" static.
13801 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
13802 ${name} by references to ${name}_start.
13803
13804 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13805
13806 * gdb.base/info-macros.exp: Remove "debug" from the compile
13807 options.
13808
13809 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13810
13811 * gdb.dlang/demangle.exp: New file.
13812
13813 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13814
13815 * gdb.dlang/primitive-types.exp: New file.
13816
13817 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13818
13819 * configure.ac: Create gdb.dlang/Makefile.
13820 * configure: Regenerate.
13821 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
13822 * gdb.dlang/Makefile.in: New file.
13823 * lib/d-support.exp: New file.
13824 * lib/gdb.exp (skip_d_tests): New proc.
13825
13826 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13827
13828 * gdb.btrace/delta.exp: Check reverse stepi.
13829 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
13830 * gdb.btrace/finish.exp: New.
13831 * gdb.btrace/next.exp: New.
13832 * gdb.btrace/nexti.exp: New.
13833 * gdb.btrace/record_goto.c: Add comments.
13834 * gdb.btrace/step.exp: New.
13835 * gdb.btrace/stepi.exp: New.
13836 * gdb.btrace/multi-thread-step.c: New.
13837 * gdb.btrace/multi-thread-step.exp: New.
13838 * gdb.btrace/rn-dl-bind.c: New.
13839 * gdb.btrace/rn-dl-bind.exp: New.
13840 * gdb.btrace/data.c: New.
13841 * gdb.btrace/data.exp: New.
13842 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13843
13844 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13845
13846 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
13847 * gdb.btrace/exception.exp: Update.
13848 * gdb.btrace/instruction_history.exp: Update.
13849 * gdb.btrace/record_goto.exp: Update.
13850 * gdb.btrace/tailcall.exp: Update.
13851 * gdb.btrace/unknown_functions.exp: Update.
13852 * gdb.btrace/delta.exp: New.
13853
13854 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13855
13856 * gdb.btrace/record_goto.exp: Add backtrace test.
13857 * gdb.btrace/tailcall.exp: Add backtrace test.
13858
13859 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13860
13861 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
13862 * gdb.btrace/record_goto.c: New.
13863 * gdb.btrace/record_goto.exp: New.
13864 * gdb.btrace/x86-record_goto.S: New.
13865
13866 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13867
13868 * gdb.btrace/function_call_history.exp: Update tests.
13869 * gdb.btrace/instruction_history.exp: Update tests.
13870
13871 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13872
13873 * gdb.btrace/function_call_history.exp: Fix expected field
13874 order for "record function-call-history".
13875 Add new tests for "record function-call-history /c".
13876 * gdb.btrace/exception.cc: New.
13877 * gdb.btrace/exception.exp: New.
13878 * gdb.btrace/tailcall.exp: New.
13879 * gdb.btrace/x86-tailcall.S: New.
13880 * gdb.btrace/x86-tailcall.c: New.
13881 * gdb.btrace/unknown_functions.c: New.
13882 * gdb.btrace/unknown_functions.exp: New.
13883 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
13884
13885 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13886
13887 * gdb.btrace/instruction_history.exp: Update.
13888 * gdb.btrace/function_call_history.exp: Update.
13889
13890 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13891
13892 * gdb.btrace/function_call_history.exp: Fix expected function
13893 trace.
13894 * gdb.btrace/instruction_history.exp: Initialize traced.
13895 Remove traced_functions.
13896
13897 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13898
13899 * gdb.btrace/function_call_history.exp: Update
13900 * gdb.btrace/instruction_history.exp: Update.
13901
13902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13903
13904 * gdb.btrace/enable.exp: Update expected text.
13905
13906 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
13907
13908 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
13909 bytes.
13910
13911 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
13912
13913 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
13914
13915 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
13916
13917 * lib/gdb.exp (supports_process_record): Return true for
13918 arm*-linux*. (supports_reverse): Likewise.
13919
13920 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
13921
13922 PR python/15464
13923 PR python/16113
13924 * gdb.python/py-type.c: Enhance test case.
13925 * gdb.python/py-value-cc.cc: Likewise
13926 * gdb.python/py-type.exp: Add new tests.
13927 * gdb.python/py-value-cc.exp: Likewise
13928
13929 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13930 Pedro Alves <palves@redhat.com>
13931
13932 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
13933 Make "name" extern.
13934 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
13935 references to ${name}_start by references to ${name}.
13936
13937 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13938
13939 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
13940
13941 2014-01-10 Joel Brobecker <brobecker@adacore.com>
13942
13943 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
13944
13945 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
13946 Pedro Alves <palves@redhat.com>
13947
13948 * gdb.mi/mi-info-os.exp: Connect to the target with
13949 mi_gdb_target_load.
13950
13951 2014-01-08 Pedro Alves <palves@redhat.com>
13952
13953 * gdb.threads/reconnect-signal.c: New file.
13954 * gdb.threads/reconnect-signal.exp: New file.
13955
13956 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13957
13958 * gdb.base/source-dir.exp: New file.
13959
13960 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13961
13962 * gdb.ada/mi_interface: New testcase.
13963
13964 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13965
13966 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
13967 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
13968 gdb.ada/pp-rec-component/pck.ads: New files.
13969
13970 2014-01-07 Joel Brobecker <brobecker@adacore.com>
13971
13972 * gdb.python/py-pp-integral.c: New file.
13973 * gdb.python/py-pp-integral.py: New file.
13974 * gdb.python/py-pp-integral.exp: New file.
13975
13976 For older changes see ChangeLog-1993-2013.
13977 \f
13978 ;; Local Variables:
13979 ;; mode: change-log
13980 ;; left-margin: 8
13981 ;; fill-column: 74
13982 ;; version-control: never
13983 ;; End:
13984
13985 Copyright 2014-2018 Free Software Foundation, Inc.
13986 Copying and distribution of this file, with or without modification,
13987 are permitted provided the copyright notice and this notice are preserved.
This page took 0.320547 seconds and 5 git commands to generate.