Fix fails in gdb.trace/unavailable.exp
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2016-04-22 Yao Qi <yao.qi@linaro.org>
2
3 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4 more after $hex.
5
6 2016-04-22 Yao Qi <yao.qi@linaro.org>
7
8 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9 * gdb.base/annota3.exp: Likewise.
10
11 2016-04-22 Yao Qi <yao.qi@linaro.org>
12
13 * gdb.reverse/step-precsave.exp: Do one step and test program
14 stops in "callee" and do multiple steps until program goes out
15 of "callee".
16 * gdb.reverse/step-reverse.exp: Likewise.
17
18 2016-04-22 Yao Qi <yao.qi@linaro.org>
19
20 * gdb.trace/signal.exp: Also pass if
21 $tracepoint_hits($i) > $iterations.
22
23 2016-04-22 Yao Qi <yao.qi@linaro.org>
24
25 * gdb.trace/signal.c: New file.
26 * gdb.trace/signal.exp: New file.
27
28 2016-04-19 Doug Evans <xdje42@gmail.com>
29
30 * gdb.base/bad-file.exp: New file.
31
32 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
33
34 * gdb.dwarf2/implref.exp: New file.
35
36 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
37
38 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
39 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
40 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
41 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
42 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
43 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
44 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
45 * lib/fortran.exp (fortran_int4): New procedure.
46 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
47 (fortran_logical4): Likewise.
48
49 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
50
51 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
52
53 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
54
55 * lib/compiler.c: Add Intel specific preprocessor macros.
56 * lib/compiler.cc: Likewise.
57
58 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
59
60 * gdb.server/connect-with-no-symbol-file.c: New file.
61 * gdb.server/connect-with-no-symbol-file.exp: New file.
62
63 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
64
65 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
66
67 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
68
69 * boards/gdbserver-base.exp (${board}_download): Copy source file to
70 standard output directory.
71
72 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
73
74 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
75
76 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
77
78 * gdb.btrace/instruction_history.c (loop): Add declaration.
79
80 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
81
82 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
83
84 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
85
86 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
87 parentheses to print.
88 (continue_handler): Likewise.
89
90 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
91
92 * gdb.server/solib-list.exp: Remove is_remote check.
93 Pass shlib= to gdb_compile. Don't link shared library with
94 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
95 Run binary filename through "readlink -f" on the target.
96
97 2016-04-08 Pedro Alves <palves@redhat.com>
98
99 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
100 interpreter filename as argument to gdbserver_spawn.
101 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
102 Return empty if $last_loaded_file does not exist.
103
104 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
105
106 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
107 * gdb.base/jit-main.c: Use exit after usage.
108
109 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
110
111 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
112 GDBHISTSIZE prior to the tests.
113 * gdb.base/gdbinit-history.exp: Likewise.
114
115 2016-04-07 Pedro Alves <palves@redhat.com>
116
117 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
118 instead of build_executable. Use gdb_load_shlibs.
119
120 2016-04-07 Yao Qi <yao.qi@linaro.org>
121
122 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
123 Execute "si" command.
124
125 2016-04-07 Yao Qi <yao.qi@linaro.org>
126
127 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
128 number instead of the comments on some line.
129
130 2016-04-06 Don Breazeal <donb@codesourcery.com>
131
132 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
133 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
134
135 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
136
137 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
138 standard_output_file. Remove unused binfile variable.
139
140 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
141
142 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
143 * gdb.python/py-mi-objfile.exp: Match "list main" output
144 in console format.
145
146 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
147
148 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
149 absolute.
150
151 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
152
153 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
154 absolute.
155 * gdb.trace/ftrace.exp: Likewise.
156 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
157 targets as well.
158 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
159 (gdb_load_shlibs): Copy libraries to test directory when testing
160 natively. Only set solib-search-path if testing remotely.
161 * lib/mi-support.exp (mi_load_shlibs): Likewise.
162
163 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
164
165 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
166 gdb_download. Use it even if the target is not remote.
167 * gdb.base/jit.exp (compile_jit_test): Likewise.
168 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
169 output directory if the destination board is local, otherwise use
170 the standard remote_download from DejaGnu.
171 (gdb_download): Remove.
172 (gdb_load_shlibs): Use gdb_remote_download instead of
173 gdb_download.
174 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
175 Use gdb_remote_download instead of gdb_download. Use it even if
176 the target is not remote.
177 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
178 instead of gdb_download.
179
180 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
181
182 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
183 (test_insert_delete_modify): Call mi_load_shlibs before trying to
184 run.
185
186 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
187
188 PR gdb/19820
189 * gdb.base/printcmds.exp: Add artificial arrays tests.
190
191 2016-03-31 Pedro Alves <palves@redhat.com>
192
193 PR gdb/19858
194 * gdb.base/jit-main.c: Include unistd.h.
195 (ATTACH): Define to 0 if not already defined.
196 (wait_for_gdb, mypid): New globals.
197 (WAIT_FOR_GDB): New macro.
198 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
199 some breakpoint locations.
200 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
201 New procedures.
202 (one_jit_test): Add REATTACH parameter, and handle it. Use
203 continue_to_test_location.
204 (top level): Test attach, and adjusts calls to one_jit_test.
205
206 2016-03-31 Pedro Alves <palves@redhat.com>
207
208 PR gdb/19858
209 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
210 BINSUFFIX parameter, and handle it.
211 (top level): Adjust calls compile_jit_test.
212
213 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
214
215 PR python/19743
216 * gdb.python/py-mi-events-gdb.py: New file.
217 * gdb.python/py-mi-events.c: New file.
218 * gdb.python/py-mi-events.exp: New file.
219
220 2016-03-30 Yao Qi <yao.qi@linaro.org>
221
222 * gdb.reverse/until-precsave.exp: Match function name only.
223 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
224 Move malloc to a condition block.
225 * gdb.reverse/until-reverse.exp: Match function name only.
226
227 2016-03-29 Marcin Koƛcielnicki <koriakin@0x04.net>
228
229 * gdb.trace/ftrace.exp: Set arg0exp for s390.
230 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
231 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
232 variable for GPR 0 instead of assuming it is register 0.
233 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
234 * lib/trace-support.exp: Add s390 registers.
235
236 2016-03-29 Yao Qi <yao.qi@linaro.org>
237
238 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
239
240 2016-03-24 Yao Qi <yao.qi@linaro.org>
241
242 * gdb.reverse/break-reverse.exp: Add quotation mark in the
243 test message.
244
245 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
246
247 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
248 maintaining separate logic for constructing the output path.
249
250 2016-03-16 Don Breazeal <donb@codesourcery.com>
251
252 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
253 Retry fork and waitpid on interrupted system call errors.
254 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
255 Use with_timeout_factor to increase timeout by factor of 10.
256
257 2016-03-15 Don Breazeal <donb@codesourcery.com>
258
259 * gdb.cp/scope-err.cc: New test program.
260 * gdb.cp/scope-err.exp: New test script.
261 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
262 lines and "set breakpoint here" comment.
263 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
264 Fixed some whitespace and format issues.
265 * gdb.mi/mi-linespec-err-cp.cc: New test program.
266 * gdb.mi/mi-linespec-err-cp.exp: New test script.
267
268 2016-03-15 Doug Evans <dje@google.com>
269
270 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
271 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
272 All callers updated. Add tests for enums, mixed flags register.
273
274 2016-03-15 Doug Evans <dje@google.com>
275
276 * gdb.base/skip.c (main): Call test_skip_file_and_function.
277 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
278
279 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
280
281 * gdb.base/default.exp: Add $_as_string to the list of expected
282 convenience functions.
283
284 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
285
286 * gdb.base/maint.exp: New tests for 'maint info line-table'.
287
288 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
289
290 * gdb.python/py-as-string.exp: New file.
291 * gdb.python/py-as-string.c: New file.
292
293 2016-03-09 Pedro Alves <palves@redhat.com>
294
295 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
296 signal" -> "Thread NN received signal" output change.
297 * gdb.threads/ia64-sigill.exp: Likewise.
298 * gdb.threads/linux-dp.exp: Likewise.
299 * gdb.threads/manythreads.exp: Likewise.
300 * gdb.threads/pending-step.exp: Likewise.
301 * gdb.threads/print-threads.exp: Likewise.
302 * gdb.threads/sigstep-threads.exp: Likewise.
303 * gdb.threads/staticthreads.exp: Likewise.
304 * gdb.threads/tls.exp: Likewise.
305
306 2016-03-09 Pedro Alves <palves@redhat.com>
307
308 * gdb.base/command-line-input.exp: New file.
309
310 2016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
311
312 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
313 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
314 * gdb.trace/pending.exp: Accept leading dot before function name.
315 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
316 * lib/trace-support.exp: Set registers for ppc.
317
318 2016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
319
320 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
321 use it for disassembly; accept .main in addition to main in backtrace.
322
323 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
324 Marcin Koƛcielnicki <koriakin@0x04.net>
325
326 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
327 (gdb_recursion_test_ptr): New global variable.
328 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
329 gdb_recursion_test.
330 (gdb_c_test): Ditto.
331
332 2016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
333
334 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
335 ordering.
336
337 2016-03-09 Marcin Koƛcielnicki <koriakin@0x04.net>
338
339 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
340 (bar): Add bar_start_lbl label.
341 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
342 of foo/bar for emitting DWARF and tracing.
343
344 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
345
346 * analyze-racy-logs.py: Set executable bit.
347
348 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
349
350 * Makefile.in (DEFAULT_RACY_ITER): New variable.
351 (CHECK_TARGET_TMP): Likewise.
352 (check-single-racy): New rule.
353 (check-parallel-racy): Likewise.
354 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
355 (do-check-parallel-racy): New rule.
356 (check-racy/%.exp): Likewise.
357 * README (Racy testcases): New section.
358 * analyze-racy-logs.py: New file.
359
360 2016-03-03 Doug Evans <dje@google.com>
361
362 * gdb.base/skip.exp: Use with_test_prefix.
363
364 2016-03-03 Yao Qi <yao.qi@linaro.org>
365
366 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
367 Invoke step_over_syscall "clone" and break_cond_on_syscall
368 "clone".
369 * gdb.base/step-over-clone.c: New file.
370
371 2016-03-03 Yao Qi <yao.qi@linaro.org>
372
373 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
374 code format.
375
376 2016-03-03 Yao Qi <yao.qi@linaro.org>
377
378 * gdb.base/disp-step-fork.c: Rename to ...
379 * gdb.base/step-over-fork.c: ... it. New file.
380 * gdb.base/disp-step-vfork.c: Rename to ...
381 * gdb.base/step-over-vfork.c: ... it. New file.
382 * gdb.base/disp-step-syscall.exp: Rename to ...
383 * gdb.base/step-over-syscall.exp: ... it. New file.
384 (disp_step_cross_syscall): Rename to ...
385 (step_over_syscall): ... it.
386
387 2016-03-03 Yao Qi <yao.qi@linaro.org>
388
389 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
390 If target supports condition evaluation on target, invoke
391 break_cond_on_syscall for fork and vfork.
392
393 2016-03-03 Yao Qi <yao.qi@linaro.org>
394
395 * gdb.base/disp-step-syscall.exp: Don't invoke
396 support_displaced_stepping.
397 (disp_step_cross_syscall): Test with displaced stepping off and
398 on if supported.
399
400 2016-03-03 Yao Qi <yao.qi@linaro.org>
401
402 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
403 proc.
404 (setup): New proc.
405 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
406 and setup.
407
408 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
409
410 * gdb.fortran/vla-history.exp: Remove breakpoint.
411
412 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
413
414 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
415
416 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
417
418 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
419
420 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
421
422 * gdb.mi/vla.f90: Nullify pointer after declaration.
423
424 2016-03-01 Pedro Alves <palves@redhat.com>
425
426 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
427
428 2016-03-01 Pedro Alves <palves@redhat.com>
429
430 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
431 before anything else.
432 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
433 _GNU_SOURCE here.
434 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
435 before anything else.
436 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
437
438 2016-03-01 Pedro Alves <palves@redhat.com>
439
440 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
441
442 2016-03-01 Yao Qi <yao.qi@linaro.org>
443
444 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
445 prepare_for_testing.
446
447 2016-03-01 Yao Qi <yao.qi@linaro.org>
448
449 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
450
451 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
452
453 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
454 manually constructing the output path.
455
456 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
457
458 * gdb.arch/s390-stackless.S: New.
459 * gdb.arch/s390-stackless.exp: New.
460
461 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
462
463 * gdb.dlang/circular.c: New file.
464 * gdb.dlang/circular.exp: New file.
465
466 2016-02-26 Yao Qi <yao.qi@linaro.org>
467
468 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
469 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
470 (testcases): Update.
471
472 2016-02-26 Yao Qi <yao.qi@linaro.org>
473
474 * gdb.reverse/aarch64.c: Rename to ...
475 * gdb.reverse/insn-reverse.c: ... it.
476 * gdb.reverse/aarch64.exp: Rename to ...
477 * gdb.reverse/insn-reverse.exp: ... it.
478
479 2016-02-26 Yao Qi <yao.qi@linaro.org>
480
481 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
482 (testcase_ftype): New.
483 (testcases): New array.
484 (n_testcases): New.
485 (main): Call each element in testcases.
486 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
487 (read_testcase): New.
488 Do the tests in a loop.
489
490 2016-02-25 Yao Qi <yao.qi@linaro.org>
491
492 * gdb.base/branches.c: Remove.
493
494 2016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
495
496 PR gdb/13808
497 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
498
499 2016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
500
501 * gdb.trace/ftrace.exp: Remove unnecessary target check.
502
503 2016-02-25 Marcin Koƛcielnicki <koriakin@0x04.net>
504
505 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
506 change x86_64 call_insn to 'callq'.
507
508 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
509
510 * gdb.trace/tfile-avx.c: Move to...
511 * gdb.trace/tracefile-pseudo-reg.c: Here.
512 * gdb.trace/tfile-avx.exp: Move to...
513 * gdb.trace/tracefile-pseudo-reg.exp: Here.
514
515 2016-02-24 Gary Benson <gbenson@redhat.com>
516
517 * gdb.base/attach-pie-noexec.exp: Do not expect an error
518 message on attach.
519
520 2016-02-23 Doug Evans <dje@google.com>
521
522 * gdb.base/skip.c (test_skip): New function.
523 (end_test_skip_file_and_function): New function.
524 (test_skip_file_and_function): New function.
525 * gdb.base/skip1.c (test_skip): New function.
526 (skip1_test_skip_file_and_function): New function.
527 * gdb.base/skip.exp: Add tests for new skip options.
528 * gdb.base/skip-solib.exp: Update expected output.
529 * gdb.perf/skip-command.cc: New file.
530 * gdb.perf/skip-command.exp: New file.
531 * gdb.perf/skip-command.py: New file.
532
533 2016-02-22 Marcin Koƛcielnicki <koriakin@0x04.net>
534
535 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
536 info registers pattern.
537
538 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
539
540 * lib/future.exp: Add D support.
541 (gdb_find_gdc): New proc.
542 (gdb_default_target_compile): Add D support.
543
544 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
545
546 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
547 user+system time.
548 (trace_speed_test): Determine the iteration count for a time
549 between 15..30 seconds.
550
551 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
552
553 * gdb.arch/i386-mpx-sigsegv.c: New file.
554 * gdb.arch/i386-mpx-sigsegv.exp: New file.
555 * gdb.arch/i386-mpx-simple_segv.c: New file.
556 * gdb.arch/i386-mpx-simple_segv.exp: New file.
557
558 2016-02-18 Yao Qi <yao.qi@linaro.org>
559
560 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
561 Don't call setup_kfail.
562
563 2016-02-18 Yao Qi <yao.qi@linaro.org>
564
565 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
566 Set "set breakpoint condition-evaluation" per $cond_bp_target.
567
568 2016-02-16 Doug Evans <dje@google.com>
569
570 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
571 * gdb.base/skip1.c: Ditto.
572 * gdb.base/skip.exp: Whitespace cleanup.
573
574 2016-02-16 Don Breazeal <donb@codesourcery.com>
575
576 PR remote/19496
577 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
578 Remove kfail for PR remote/19496.
579
580 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
581
582 * lib/gdb.exp (standard_temp_file): Return a path specific to
583 the runtest invocation.
584
585 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
586
587 * gdb.trace/save-trace.exp: Change relative path to be in the
588 standard output directory.
589
590 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
591
592 * gdb.arch/i386-prologue.c: Add missing prototypes.
593
594 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
595
596 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
597 * gdb.arch/i386-prologue.exp: Likewise.
598 * gdb.arch/i386-size.exp: Likewise.
599
600 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
601
602 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
603 define object file path.
604 * gdb.btrace/gcore.exp: Use standard_output_file to define core
605 file path.
606 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
607 standard_output_file to define binfile.
608
609 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
610
611 Fix compatibility with recent gfortran-5.3.1.
612 * gdb.fortran/vla-history.exp (print vla1 allocated)
613 (print vla2 allocated, print $2, print $3): Remove
614 (print $4): Rename to ...
615 (print $2): ... here.
616 (print $9): Rename to ...
617 (print $5): ... here.
618 (print $10): Rename to ...
619 (print $6): ... here.
620 * gdb.fortran/vla.f90: Add pvla initialization.
621
622 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
623
624 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
625 New test.
626 * gdb.fortran/vla-value-sub.exp: Likewise.
627
628 2016-02-12 Marcin Koƛcielnicki <koriakin@0x04.net>
629
630 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
631
632 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
633
634 * i386-biarch-core.exp: Define corefile using
635 standard_output_file.
636
637 2016-02-12 Yao Qi <yao.qi@linaro.org>
638
639 * gdb.arch/arm-single-step-kernel-helper.c: New.
640 * gdb.arch/arm-single-step-kernel-helper.exp: New.
641
642 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
643
644 * gdb.btrace/tailcall-only.exp: New.
645 * gdb.btrace/tailcall-only.c: New.
646 * gdb.btrace/x86_64-tailcall-only.S: New.
647 * gdb.btrace/i686-tailcall-only.S: New.
648
649 2016-02-11 Pedro Alves <palves@redhat.com>
650
651 * README (Parallel testing): Add missing double quotes.
652
653 2016-02-11 Pedro Alves <palves@redhat.com>
654
655 * README (Parallel testing): New section.
656 (GDB_PARALLEL): Rewrite.
657 (FORCE_PARALLEL): Document.
658
659 2016-02-11 Marcin Koƛcielnicki <koriakin@0x04.net>
660
661 * gdb.trace/tfile-avx.c: New test.
662 * gdb.trace/tfile-avx.exp: New test.
663
664 2016-02-09 Keith Seitz <keiths@redhat.com>
665
666 PR breakpoints/19546
667 * gdb.base/infcall-exec.c: New file.
668 * gdb.base/infcall-exec2.c: New file.
669 * gdb.base/infcall-exec.exp: New file.
670
671 2016-02-09 Keith Seitz <keiths@redhat.com>
672
673 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
674 (toplevel): Call test_bkpt_address.
675
676 2016-02-09 Keith Seitz <keiths@redhat.com>
677
678 PR python/19506
679 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
680 (toplevel): Call test_bkpt_address.
681
682 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
683
684 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
685 to AC_OUTPUT.
686 * configure: Regenerate.
687
688 2016-02-09 Pedro Alves <palves@redhat.com>
689
690 PR breakpoints/19548
691 * gdb.base/execl-update-breakpoints.c (some_function): New
692 function.
693 (main): Call it.
694 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
695 Tighten expected GDB output.
696
697 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
698
699 * Makefile.in (ALL_SUBDIRS): Remove.
700 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
701 (distclean maintainer-clean realclean): Likewise.
702 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
703 * configure: Regenerate.
704 * gdb.ada/Makefile.in: Delete.
705 * gdb.arch/Makefile.in: Likewise.
706 * gdb.asm/Makefile.in: Likewise.
707 * gdb.base/Makefile.in: Likewise.
708 * gdb.btrace/Makefile.in: Likewise.
709 * gdb.cell/Makefile.in: Likewise.
710 * gdb.compile/Makefile.in: Likewise.
711 * gdb.cp/Makefile.in: Likewise.
712 * gdb.disasm/Makefile.in: Likewise.
713 * gdb.dlang/Makefile.in: Likewise.
714 * gdb.dwarf2/Makefile.in: Likewise.
715 * gdb.fortran/Makefile.in: Likewise.
716 * gdb.gdb/Makefile.in: Likewise.
717 * gdb.go/Makefile.in: Likewise.
718 * gdb.guile/Makefile.in: Likewise.
719 * gdb.java/Makefile.in: Likewise.
720 * gdb.linespec/Makefile.in: Likewise.
721 * gdb.mi/Makefile.in: Likewise.
722 * gdb.modula2/Makefile.in: Likewise.
723 * gdb.multi/Makefile.in: Likewise.
724 * gdb.objc/Makefile.in: Likewise.
725 * gdb.opencl/Makefile.in: Likewise.
726 * gdb.opt/Makefile.in: Likewise.
727 * gdb.pascal/Makefile.in: Likewise.
728 * gdb.perf/Makefile.in: Likewise.
729 * gdb.python/Makefile.in: Likewise.
730 * gdb.reverse/Makefile.in: Likewise.
731 * gdb.server/Makefile.in: Likewise.
732 * gdb.stabs/Makefile.in: Likewise.
733 * gdb.threads/Makefile.in: Likewise.
734 * gdb.trace/Makefile.in: Likewise.
735 * gdb.xml/Makefile.in: Likewise.
736 * lib/gdb.exp (make_gdb_parallel_path): Add check for
737 GDB_PARALLEL.
738 (standard_output_file): Remove check for GDB_PARALLEL, always
739 return path in outputs/$subdir/$testname.
740
741 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
742
743 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
744 (site.exp): Assign abs_srcdir to tcl's srcdir.
745
746 2016-02-04 Yao Qi <yao.qi@linaro.org>
747
748 * gdb.base/foll-exec-mode.c: Include limits.h.
749 (main): Add parameters argc and argv. Get directory from
750 argv[0].
751 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
752 compilation.
753 * gdb.base/foll-exec.c: Include limits.h.
754 (main): Add parameters argc and argv.
755 Get directory from argv[0].
756 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
757 Adjust tests on the number of lines as source code changed.
758 * gdb.base/foll-vfork-exit.c: Include limits.h.
759 (main): Add one line of statement before vfork.
760 * gdb.base/foll-vfork.c: Include limits.h and string.h.
761 (main): Add parameters argc and argv. Get directory from
762 argv[0].
763 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
764 (setup_gdb): Set tbreak to skip some source lines.
765 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
766 (main): Add parameters argc and argv. Get directory from
767 argv[0].
768 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
769 compilation.
770 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
771 (main): Add parameters argc and argv. Get directory from
772 argv[0].
773 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
774 compilation.
775
776 2016-02-01 Doug Evans <dje@google.com>
777
778 * gdb.base/skip.exp: Clean up multiple references to same test name.
779
780 2016-02-01 Pedro Alves <palves@redhat.com>
781
782 PR remote/19496
783 * gdb.threads/forking-threads-plus-breakpoint.exp
784 (displaced_stepping_supported): New global.
785 (probe_displaced_stepping_support): New procedure.
786 (do_test): Add 'displaced' parameter, and use it.
787 (top level): Check for displaced stepping support. Add displaced
788 stepping on/off testing axis.
789
790 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
791
792 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
793 pointer. Don't perform further tests on the unassociated pointer
794 if the first test fails.
795
796 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
797
798 * gdb.base/max-value-size.c: New file.
799 * gdb.base/max-value-size.exp: New file.
800 * gdb.base/huge.exp: Disable max-value-size for this test.
801
802 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
803
804 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
805
806 2016-01-28 Yao Qi <yao.qi@linaro.org>
807
808 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
809
810 2016-01-25 Pedro Alves <palves@redhat.com>
811
812 PR threads/19461
813 * gdb.base/fork-running-state.c: New file.
814 * gdb.base/fork-running-state.exp: New file.
815
816 2016-01-25 Pedro Alves <palves@redhat.com>
817
818 PR gdb/19494
819 * gdb.base/catch-fork-kill.c: New file.
820 * gdb.base/catch-fork-kill.exp: New file.
821
822 2016-01-25 Pedro Alves <palves@redhat.com>
823
824 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
825 Delete, moved to lib/gdb.exp.
826 * gdb.threads/forking-threads-plus-breakpoint.exp
827 (foreach_with_prefix): Likewise.
828 * gdb.threads/process-dies-while-handling-bp.exp
829 (foreach_with_prefix): Likewise.
830 * lib/gdb.exp (foreach_with_prefix): New procedure.
831
832 2016-01-25 Marcin Koƛcielnicki <koriakin@0x04.net>
833
834 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
835 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
836
837 2016-01-23 Marcin Koƛcielnicki <koriakin@0x04.net>
838
839 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
840 endian targets.
841
842 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
843 Pedro Alves <palves@redhat.com>
844
845 Fix testsuite compatibility with Guile.
846 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
847 number.
848
849 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
850
851 Fix testsuite compatibility with Guile.
852 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
853 (thread 1): New test for backtrace through signal handler.
854
855 2016-01-22 Yao Qi <yao.qi@linaro.org>
856
857 PR testsuite/19491
858 * gdb.base/multi-forks.c: Include
859 ../lib/unbuffer_output.c
860 (main): Call gdb_unbuffer_output.
861
862 2016-01-21 Doug Evans <dje@google.com>
863
864 * lib/ada.exp (gdb_compile_ada): Fix typo.
865
866 2016-01-21 Joel Brobecker <brobecker@adacore.com>
867
868 * gdb.base/break-fun-addr.exp: New file.
869 * gdb.base/break-fun-addr1.c: New file.
870 * gdb.base/break-fun-addr2.c: New file.
871
872 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
873
874 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
875 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
876 enum flag values.
877
878 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
879
880 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
881 when GDB can not set the vector return value. Add more comments
882 for clarification.
883
884 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
885
886 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
887 command.
888
889 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
890
891 * Makefile.in (DO_RUNTEST): Add --status and update usages.
892
893 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
894
895 * Makefile.in (check-single): Pass --status to runtest.
896 (check/%.exp): Likewise.
897
898 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
899
900 * Makefile.in (check-parallel): Propagate return code from make
901 do-check-parallel.
902
903 2016-01-19 Marcin Koƛcielnicki <koriakin@0x04.net>
904
905 * gdb.trace/ftrace.exp: Fix expected message on continue.
906 * gdb.trace/pending.exp: Fix expected message on continue.
907 * gdb.trace/trace-break.exp: Fix expected message on continue.
908
909 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
910
911 * lib/gdb.exp (gdb_test): Remove unused global references.
912
913 2016-01-18 Pedro Alves <palves@redhat.com>
914
915 * gdb.base/async-shell.exp: Adjust expected output.
916 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
917 * gdb.base/siginfo-thread.exp: Adjust expected output.
918 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
919 * gdb.java/jnpe.exp: Adjust expected output.
920 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
921 * gdb.threads/continue-pending-status.exp: Adjust expected output.
922 * gdb.threads/leader-exit.exp: Adjust expected output.
923 * gdb.threads/manythreads.exp: Adjust expected output.
924 * gdb.threads/pthreads.exp: Adjust expected output.
925 * gdb.threads/schedlock.exp: Adjust expected output.
926 * gdb.threads/siginfo-threads.exp: Adjust expected output.
927 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
928 expected output.
929 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
930 output.
931 * gdb.threads/sigthread.exp: Adjust expected output.
932 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
933
934 2016-01-18 Yao Qi <yao.qi@linaro.org>
935
936 * gdb.guile/scm-section-script.c: Replace @progbits with
937 %progbits.
938 * gdb.python/py-section-script.c: Likewise.
939
940 2016-01-15 Pedro Alves <palves@redhat.com>
941
942 * gdb.multi/tids.exp: Test star wildcard ranges.
943
944 2016-01-15 Pedro Alves <palves@redhat.com>
945
946 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
947 command from "thread apply" invocation.
948 (thr_apply_info_thr_invalid): Default the expected output to the
949 input tid list.
950 (top level): Add tests that use convenience variables. Add tests
951 for "thread apply" with a valid TID list, but missing the command.
952
953 2016-01-13 Pedro Alves <palves@redhat.com>
954
955 * gdb.base/default.exp: Expect $_gthread as well.
956 * gdb.multi/tids.exp: Test $_gthread.
957 * gdb.threads/thread-specific.exp: Test $_gthread.
958
959 2016-01-13 Pedro Alves <palves@redhat.com>
960
961 * gdb.multi/tids.exp: Test "info threads -gid".
962
963 2016-01-13 Pedro Alves <palves@redhat.com>
964
965 * gdb.multi/tids.exp: Test InferiorThread.global_num and
966 Breakpoint.thread.
967 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
968
969 2016-01-07 Pedro Alves <palves@redhat.com>
970
971 * gdb.base/break.exp: Adjust to output changes.
972 * gdb.base/hbreak2.exp: Likewise.
973 * gdb.base/sepdebug.exp: Likewise.
974 * gdb.base/watch_thread_num.exp: Likewise.
975 * gdb.linespec/keywords.exp: Likewise.
976 * gdb.multi/info-threads.exp: Likewise.
977 * gdb.threads/thread-find.exp: Likewise.
978 * gdb.multi/tids.c: New file.
979 * gdb.multi/tids.exp: New file.
980
981 2016-01-13 Pedro Alves <palves@redhat.com>
982
983 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
984
985 2016-01-13 Pedro Alves <palves@redhat.com>
986
987 * gdb.base/default.exp: Expect $_inferior as well.
988 * gdb.multi/base.exp: Test $_inferior.
989
990 2016-01-13 Pedro Alves <palves@redhat.com>
991
992 PR breakpoints/19388
993 * gdb.base/catch-signal-siginfo-cond.c: New file.
994 * gdb.base/catch-signal-siginfo-cond.exp: New file.
995
996 2016-01-12 Josh Stone <jistone@redhat.com>
997 Philippe Waroquiers <philippe.waroquiers@skynet.be>
998
999 * gdb.base/catch-syscall.c (do_execve): New variable.
1000 (main): Conditionally trigger an execve.
1001 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1002 (test_catch_syscall_execve): New, check entry/return across execve.
1003 (do_syscall_tests): Call test_catch_syscall_execve.
1004
1005 2016-01-12 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/random-signal.exp (do_test): New procedure, with body
1008 of testcase moved in.
1009
1010 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1011 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/funcargs.exp (finish from indirectly called function):
1014 Reintroduce the case for 'First'.
1015
1016 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1017 Pedro Alves <palves@redhat.com>
1018
1019 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1020 (tcatch_vfork_then_child_follow_exec)
1021 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1022 identification.
1023
1024 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1025
1026 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1027 and repeats to unlimited.
1028 * gdb.python/py-value.exp: Likewise.
1029 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1030 and repeats to unlimited.
1031
1032 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1035 and reordering the functions.
1036 * gdb.multi/hangout.c: Likewise.
1037 * gdb.multi/hello.c: Likewise.
1038
1039 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1040
1041 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1042 absolute.
1043 (SingleStatisticTestResult.report): Use dict.keys instead of
1044 dict.iterkeys.
1045
1046 2016-01-06 Pedro Alves <palves@redhat.com>
1047
1048 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1049
1050 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1051
1052 * gdb.btrace/dlopen.exp: New.
1053 * gdb.btrace/dlopen.c: New.
1054 * gdb.btrace/dlopen-dso.c: New.
1055
1056 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1057
1058 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1059 PATTERN argument is optional.
1060
1061 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1062
1063 * lib/ada.exp (target_compile_ada_from_dir): New function.
1064 (gdb_compile_ada): Reimplement avoiding the use of project files.
1065 * gdb.ada/gnat_ada.gpr: Delete.
1066 * gdb.ada/cond_lang.exp: Adjust test to make path before
1067 filename optional.
1068 * gdb.ada/small_reg_param.exp: Likewise.
1069
1070 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1071
1072 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1073
1074 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1075
1076 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1077 case.
1078
1079 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1080
1081 * gdb.base/break.exp: Remove dead code.
1082 * gdb.base/sepdebug.exp: Likewise.
1083
1084 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1085
1086 * gdb.asm/asm-source.exp: Remove HP-UX references.
1087 * gdb.base/annota1.exp: Likewise.
1088 * gdb.base/annota3.exp: Likewise.
1089 * gdb.base/attach.exp: Likewise.
1090 * gdb.base/bigcore.exp: Likewise.
1091 * gdb.base/break.exp: Likewise.
1092 * gdb.base/call-ar-st.exp: Likewise.
1093 * gdb.base/callfuncs.exp: Likewise.
1094 * gdb.base/catch-fork-static.exp: Likewise.
1095 * gdb.base/display.exp: Likewise.
1096 * gdb.base/foll-exec-mode.exp: Likewise.
1097 * gdb.base/foll-exec.exp: Likewise.
1098 * gdb.base/foll-fork.exp: Likewise.
1099 * gdb.base/foll-vfork.exp: Likewise.
1100 * gdb.base/funcargs.exp: Likewise.
1101 * gdb.base/hbreak2.exp: Likewise.
1102 * gdb.base/inferior-died.exp: Likewise.
1103 * gdb.base/interrupt.exp: Likewise.
1104 * gdb.base/multi-forks.exp: Likewise.
1105 * gdb.base/nodebug.exp: Likewise.
1106 * gdb.base/sepdebug.exp: Likewise.
1107 * gdb.base/solib1.c: Likewise.
1108 * gdb.base/step-test.exp: Likewise.
1109 * gdb.mi/non-stop.c: Likewise.
1110 * gdb.mi/pthreads.c: Likewise.
1111 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1112 * gdb.threads/pthreads.c: Likewise.
1113 * gdb.threads/staticthreads.exp: Likewise.
1114 * lib/future.exp: Likewise.
1115 * lib/gdb.exp: Likewise.
1116 * gdb.base/so-indr-cl.c: Remove.
1117 * gdb.base/so-indr-cl.exp: Likewise.
1118 * gdb.base/solib.c: Likewise.
1119 * gdb.base/solib.exp: Likewise.
1120 * gdb.base/solib2.c: Likewise.
1121
1122 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1123
1124 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1125 * gdb.base/call-ar-st.exp: Likewise.
1126 * gdb.base/callfuncs.exp: Likewise.
1127 * gdb.base/condbreak.exp: Likewise.
1128 * gdb.base/constvars.exp: Likewise.
1129 * gdb.base/hbreak2.exp: Likewise.
1130 * gdb.base/langs.exp: Likewise.
1131 * gdb.base/list.exp: Likewise.
1132 * gdb.base/long_long.exp: Likewise.
1133 * gdb.base/ptype.exp: Likewise.
1134 * gdb.base/scope.exp: Likewise.
1135 * gdb.base/signals.exp: Likewise.
1136 * gdb.base/so-impl-ld.exp: Likewise.
1137 * gdb.base/varargs.exp: Likewise.
1138 * gdb.base/volatile.exp: Likewise.
1139 * gdb.base/whatis.exp: Likewise.
1140 * gdb.cp/cplusfuncs.exp: Likewise.
1141 * gdb.cp/inherit.exp: Likewise.
1142 * gdb.cp/local.exp: Likewise.
1143 * gdb.cp/member-ptr.exp: Likewise.
1144 * gdb.cp/method.exp: Likewise.
1145 * gdb.cp/overload.exp: Likewise.
1146 * gdb.cp/templates.exp: Likewise.
1147 * gdb.stabs/weird.exp: Likewise.
1148 * lib/compiler.c: Likewise.
1149 * lib/compiler.cc: Likewise.
1150 * lib/cp-support.exp: Likewise.
1151 * lib/gdb.exp: Likewise.
1152
1153 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1154
1155 * configure.ac: Remove HP-UX case.
1156 * configure: Regenerate.
1157
1158 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1159
1160 * lib/gdb.exp (gdb_compile): Add function doc.
1161
1162 2015-12-17 Pedro Alves <palves@redhat.com>
1163
1164 PR threads/19354
1165 * gdb.multi/info-threads.exp: New file.
1166
1167 2015-12-15 Yao Qi <yao.qi@linaro.org>
1168
1169 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1170 is aarch64*-*-*.
1171
1172 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1173
1174 * gdb.base/history-duplicates.exp: Skip if no readline support.
1175
1176 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1177
1178 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1179
1180 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1181
1182 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1183
1184 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1185
1186 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1187 ctrl-C if nointerrupts target property is set.
1188 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1189 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1190 * gdb.base/paginate-bg-execution.exp: Likewise.
1191 * gdb.base/paginate-execution-startup.exp: Likewise.
1192 * gdb.base/random-signal.exp: Likewise.
1193 * gdb.base/range-stepping.exp: Likewise.
1194 * gdb.cp/annota2.exp: Likewise.
1195 * gdb.cp/annota3.exp: Likewise.
1196 * gdb.gdb/selftest.exp: Likewise.
1197 * gdb.threads/continue-pending-status.exp: Likewise.
1198 * gdb.threads/leader-exit.exp: Likewise.
1199 * gdb.threads/manythreads.exp: Likewise.
1200 * gdb.threads/pthreads.exp: Likewise.
1201 * gdb.threads/schedlock.exp: Likewise.
1202 * gdb.threads/sigthread.exp: Likewise.
1203
1204 2015-12-11 Don Breazeal <donb@codesourcery.com>
1205
1206 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1207 remote.
1208 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1209 * gdb.base/foll-exec.exp (main): Enable for target remote.
1210 * gdb.base/foll-fork.exp (main): Likewise.
1211 * gdb.base/foll-vfork.exp (main): Likewise.
1212 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1213 (proc continue_to_exit_bp_loc): Use clean_restart.
1214 * gdb.base/pie-execl.exp (main): Disable for target remote.
1215 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1216 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1217 * gdb.threads/execl.exp (main): Likewise.
1218 * gdb.threads/fork-child-threads.exp (main): Likewise.
1219 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1220 remote.
1221 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1222 remote.
1223 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1224 pid.tid style ptids, instead of just tid.
1225 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1226 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1227 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1228 ptids, instead of just tid.
1229
1230 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1231
1232 * gdb.base/list.exp (test_list_forward): Add end of file error
1233 test.
1234 (test_repeat_list_command): Add end of file error test.
1235 (test_list_backwards): Add beginning of file error test.
1236
1237 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * gdb.base/list.exp (test_list_invalid_args): New function,
1240 defined, and called.
1241
1242 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1243
1244 * gdb.base/list.exp (test_list): Make test names unique.
1245
1246 2015-12-11 Yao Qi <yao.qi@linaro.org>
1247
1248 * gdb.base/coremaker2.c: Remove.
1249
1250 2015-12-10 Pedro Alves <palves@redhat.com>
1251
1252 * gdb.multi/base.exp: Remove stale "spaces" references.
1253
1254 2015-12-10 Pedro Alves <palves@redhat.com>
1255
1256 * gdb.multi/base.exp: Don't use nowarnings.
1257 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1258 * gdb.multi/hangout.c: Include stdio.h.
1259 * gdb.multi/hello.c: Include stdlib.h.
1260 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1261 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1262 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1263
1264 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1265
1266 * gdb.dwarf2/dw2-ranges-base.c: New file.
1267 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1268 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1269 support additional line table, and debug ranges generation.
1270 (Dwarf::ranges): New function, generate .debug_ranges.
1271 (Dwarf::lines): Support generating simple line table programs.
1272 (Dwarf::assemble): Initialise new namespace variables.
1273
1274 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1275
1276 * gdb.base/async.exp (proc test_background): Add case for
1277 asynchronous execution not supported.
1278
1279 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1280
1281 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1282 format and change test names to make them unique.
1283
1284 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1285 Pedro Alves <pedro@redhat.com>
1286
1287 PR gdb/18702
1288 Add checking of floatformats setup on x86_64 hosts.
1289 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1290 (smallval, bigval): New labels/constants.
1291 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1292 float" after loading bigval and smallval.
1293
1294 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1295
1296 * gdb.ada/fun_overload_menu.exp: New testcase.
1297 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1298
1299 2015-12-04 Josh Stone <jistone@redhat.com>
1300
1301 * gdb.base/catch-fork-static.exp: New.
1302
1303 2015-12-03 Yao Qi <yao.qi@linaro.org>
1304
1305 * gdb.base/sizeof.c: Don't include stdio.h and
1306 ../lib/unbuffer_output.c.
1307 (main): New variable 'size' and 'value'. Remove printf and
1308 gdb_unbuffer_output. Assign return value to size and value.
1309 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1310 at the beginning.
1311 (check_sizeof): Check the result by printing variable 'size'.
1312 (check_valueof): Check the result by printing variable 'value'.
1313
1314 2015-12-01 Yao Qi <yao.qi@linaro.org>
1315
1316 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1317 for aarch64*-*-linux* target.
1318
1319 2015-11-30 Pedro Alves <palves@redhat.com>
1320
1321 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1322
1323 2015-11-30 Pedro Alves <palves@redhat.com>
1324
1325 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1326 Handle non-stop mode vCont replies.
1327
1328 2015-11-30 Pedro Alves <palves@redhat.com>
1329
1330 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1331 prepare_for_testing. Start gdb with "set non-stop on" appended to
1332 GDBFLAGS. Lax expected stop output.
1333
1334 2015-11-27 Yao Qi <yao.qi@linaro.org>
1335
1336 * gdb.arch/arm-neon.exp: New.
1337 * gdb.arch/arm-neon.c: New.
1338
1339 2015-11-27 Yao Qi <yao.qi@linaro.org>
1340
1341 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1342
1343 2015-11-27 Yao Qi <yao.qi@linaro.org>
1344
1345 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1346 frames-invalid annotation.
1347
1348 2015-11-27 Yao Qi <yao.qi@linaro.org>
1349
1350 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1351
1352 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1353
1354 * gdb.threads/names.exp: New file.
1355 * gdb.threads/names.c: New file.
1356 * README: Mention gdb,no_thread_names.
1357
1358 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1359
1360 PR 19297
1361 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1362 support" error.
1363
1364 2015-11-24 Pedro Alves <palves@redhat.com>
1365
1366 PR 17539
1367 * gdb.base/display.exp: Expect displays to be sorted in ascending
1368 order. Use multi_line.
1369 * gdb.base/solib-display.exp: Likewise.
1370
1371 2015-11-24 Pedro Alves <palves@redhat.com>
1372
1373 PR 17539
1374 * gdb.base/display.exp: Expect displays to be sorted in ascending
1375 order. Use multi_line.
1376 * gdb.base/solib-display.exp: Likewise.
1377
1378 2015-11-24 Pedro Alves <palves@redhat.com>
1379
1380 PR 17539
1381 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1382 threads in ascending order.
1383 * gdb.base/foll-fork.exp: Likewise.
1384 * gdb.base/foll-vfork.exp: Likewise.
1385 * gdb.base/multi-forks.exp: Likewise.
1386 * gdb.mi/mi-nonstop.exp: Likewise.
1387 * gdb.mi/mi-nsintrall.exp: Likewise.
1388 * gdb.multi/base.exp: Likewise.
1389 * gdb.multi/multi-arch.exp: Likewise.
1390 * gdb.python/py-inferior.exp: Likewise.
1391 * gdb.threads/break-while-running.exp: Likewise.
1392 * gdb.threads/execl.exp: Likewise.
1393 * gdb.threads/gcore-thread.exp: Likewise.
1394 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1395 * gdb.threads/kill.exp: Likewise.
1396 * gdb.threads/linux-dp.exp: Likewise.
1397 * gdb.threads/multiple-step-overs.exp: Likewise.
1398 * gdb.threads/next-bp-other-thread.exp: Likewise.
1399 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1400 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1401 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1402 * gdb.threads/thread-find.exp: Likewise.
1403 * gdb.threads/tls.exp: Likewise.
1404 * lib/mi-support.exp (mi_reverse_list): Delete.
1405 (mi_check_thread_states): No longer reverse list.
1406
1407 2015-11-24 Pedro Alves <palves@redhat.com>
1408
1409 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1410 use lowercase.
1411
1412 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1413
1414 * gdb.trace/actions.c: Include trace-common.h.
1415 (main): Add a location for a fast tracepoint.
1416 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1417 the normal tracepoints.
1418 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1419
1420 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1421
1422 * save-trace.exp: Factor out code to these...
1423 (gdb_save_tracepoints): New.
1424 (gdb_load_tracepoints): New.
1425 (do_save_load_test): New.
1426
1427 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1428
1429 * gdb.base/asmlabel.exp: New test.
1430 * gdb.base/asmlabel.c: New test case.
1431
1432 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1433
1434 * gdb.base/wrong_frame_bt_full-main.c: New file.
1435 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1436 * gdb.base/wrong_frame_bt_full.exp: New file.
1437
1438 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1439
1440 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1441
1442 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1443
1444 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1445 pstate register when comparing registers values in
1446 sparc64-*-linux-gnu targets to avoid spurious differences.
1447
1448 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1449
1450 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1451
1452 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1453
1454 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1455 as type argument to gdb_compile.
1456 * gdb.base/nested-subp2.exp: Likewise.
1457 * gdb.base/nested-subp3.exp: Likewise.
1458
1459 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1460
1461 * lib/dwarf.exp (_note): Fix left shift of negative value.
1462 * gdb.trace/trace-condition.exp: Likewise.
1463
1464 2015-11-13 Yao Qi <yao.qi@linaro.org>
1465
1466 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1467 comments about d10v.
1468 (test_scalar_returns): Likewise.
1469 * gdb.base/d10v.ld: Remove.
1470 * gdb.base/overlays.exp: Remove the target triplet checking for
1471 d10v-*-*.
1472 * gdb.base/structs.exp (test_struct_returns): Remove the
1473 comments about d10v.
1474 (test_struct_calls): Likewise.
1475
1476 2015-11-13 Yao Qi <yao.qi@linaro.org>
1477
1478 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1479 * gdb.base/gnu_vector.c: Don't include stdio.h.
1480 (main): Don't print res and call add_some_intvecs.
1481
1482 2015-11-11 Marcin Koƛcielnicki <koriakin@0x04.net>
1483
1484 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1485 macro.
1486 (func5): Removed.
1487 (func4): Use FAST_TRACEPOINT_LABEL.
1488 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1489 macro.
1490 (func): Removed.
1491 (thread_function): Use FAST_TRACEPOINT_LABEL.
1492 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1493 (func): Remove.
1494 (marker): Use FAST_TRACEPOINT_LABEL.
1495 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1496 (pendfunc1): Remove.
1497 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1498 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1499 (foo): Remove.
1500 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1501 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1502 macro.
1503 (func): Remove.
1504 (marker): Use FAST_TRACEPOINT_LABEL.
1505 * gdb.trace/trace-common.h: New header.
1506 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1507 macro.
1508 (func): Remove.
1509 (marker): Use FAST_TRACEPOINT_LABEL.
1510 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1511 (func): Remove.
1512 (thread_function): Use FAST_TRACEPOINT_LABEL.
1513
1514 2015-11-10 Marcin Koƛcielnicki <koriakin@0x04.net>
1515
1516 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1517 in front.
1518 * gdb.trace/change-loc.exp: Use global pcreg definition.
1519 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1520 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1521 in front.
1522 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1523 * gdb.trace/pending.exp: Likewise.
1524 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1525 * gdb.trace/trace-break.exp: Likewise.
1526 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1527 in front.
1528 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1529 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1530 in front.
1531 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1532
1533 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1534
1535 * gdb.ada/fin_fun_out: New testcase.
1536
1537 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1538
1539 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1540 value associated with DW_AT_byte_size.
1541 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1542 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1543 DW_AT_upper_bound.
1544
1545 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1546
1547 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1548 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1549 version.
1550 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1551 gdb.dwarf2/dw2-canonicalize-type.exp,
1552 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1553 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1554 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1555 provided by gdb_target_symbol_prefix_flags_asm.
1556 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1557 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1558 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1559 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1560 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1561 macros where needed). Use this macro for symbols which require
1562 the prefix provided by SYMBOL_PREFIX.
1563
1564 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1565
1566 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1567 New procs.
1568 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1569 representing expressions, of more than one list element.
1570 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1571 to prepend linker symbol prefix to f.
1572 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1573 table_1 and table_2.
1574 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1575 Likewise, for f and g.
1576 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1577 for ptr.
1578 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1579 for main.
1580 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1581 table_1_ptr and table_2_ptr.
1582
1583 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1584 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1587
1588 2015-11-04 Marcin Koƛcielnicki <koriakin@0x04.net>
1589
1590 * gdb.reverse/s390-mvcle.c: New test.
1591 * gdb.reverse/s390-mvcle.exp: New file.
1592 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1593
1594 2015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
1595
1596 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1597
1598 2015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
1599
1600 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1601 reaching marker2.
1602 * gdb.reverse/getresuid-reverse.exp: Likewise.
1603 * gdb.reverse/pipe-reverse.exp: Likewise.
1604 * gdb.reverse/readv-reverse.exp: Likewise.
1605 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1606 * gdb.reverse/time-reverse.exp: Likewise.
1607 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1608
1609 2015-10-30 Yao Qi <yao.qi@linaro.org>
1610
1611 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1612 (empty_cycle): Remove.
1613 (main): Don't call empty_cycle. Don't use watch_count_done.
1614 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1615 empty_cycle. Rewrite the code counting HW watchpoints.
1616
1617 2015-10-30 Marcin Koƛcielnicki <koriakin@0x04.net>
1618
1619 * gdb.reverse/fstatat-reverse.c: New test.
1620 * gdb.reverse/fstatat-reverse.exp: New file.
1621 * gdb.reverse/getresuid-reverse.c: New test.
1622 * gdb.reverse/getresuid-reverse.exp: New file.
1623 * gdb.reverse/pipe-reverse.c: New test.
1624 * gdb.reverse/pipe-reverse.exp: New file.
1625 * gdb.reverse/readv-reverse.c: New test.
1626 * gdb.reverse/readv-reverse.exp: New file.
1627 * gdb.reverse/recvmsg-reverse.c: New test.
1628 * gdb.reverse/recvmsg-reverse.exp: New file.
1629 * gdb.reverse/time-reverse.c: New test.
1630 * gdb.reverse/time-reverse.exp: New file.
1631 * gdb.reverse/waitpid-reverse.c: New test.
1632 * gdb.reverse/waitpid-reverse.exp: New file.
1633
1634 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1635
1636 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1637
1638 2015-10-26 Doug Evans <dje@google.com>
1639
1640 PR symtab/17391
1641 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1642 * gdb.dwarf2/bad-regnum.c: New file.
1643 * gdb.dwarf2/bad-regnum.exp: New file.
1644
1645 2015-10-26 Doug Evans <dje@google.com>
1646
1647 PR python/18938
1648 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1649 file.
1650
1651 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1652
1653 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1654 for a change by "Mention language in compile error message".
1655
1656 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1657
1658 PR python/18073
1659 * gdb.python/py-type.c (C::a_method): New.
1660 (C::a_const_method): New.
1661 (C::a_static_method): New.
1662 (a_function): New.
1663 * gdb.python/py-type.exp (test_fields): Test getting fields
1664 from function and method.
1665
1666 2015-10-21 Keven Boell <keven.boell@intel.com>
1667
1668 * gdb.fortran/vla-alloc-assoc.exp: New file.
1669 * gdb.fortran/vla-datatypes.exp: New file.
1670 * gdb.fortran/vla-datatypes.f90: New file.
1671 * gdb.fortran/vla-history.exp: New file.
1672 * gdb.fortran/vla-ptype-sub.exp: New file.
1673 * gdb.fortran/vla-ptype.exp: New file.
1674 * gdb.fortran/vla-sizeof.exp: New file.
1675 * gdb.fortran/vla-sub.f90: New file.
1676 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1677 * gdb.fortran/vla-value-sub-finish.exp: New file.
1678 * gdb.fortran/vla-value-sub.exp: New file.
1679 * gdb.fortran/vla-value.exp: New file.
1680 * gdb.fortran/vla-ptr-info.exp: New file.
1681 * gdb.mi/mi-vla-fortran.exp: New file.
1682 * gdb.mi/vla.f90: New file.
1683
1684 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1685
1686 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1687 of hardwired timeout value.
1688
1689 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1690 Pedro Alves <palves@redhat.com>
1691
1692 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1693 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1694
1695 2015-10-19 Josh Stone <jistone@redhat.com>
1696
1697 * gdb.base/catch-syscall.c: Include <sched.h>.
1698 (unknown_syscall): New variable.
1699 (main): Trigger a vfork and an unknown syscall.
1700 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1701 (unknown_syscall_number): Likewise.
1702 (check_call_to_syscall): Accept an optional syscall pattern.
1703 (check_return_from_syscall): Likewise.
1704 (check_continue): Likewise.
1705 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1706 (test_catch_syscall_skipping_return): New test toggling off 'catch
1707 syscall' to step over the syscall return, then toggling back on.
1708 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1709 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1710 (do_syscall_tests): Call test_catch_syscall_without_args and
1711 test_catch_syscall_mid_vfork.
1712 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1713 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1714
1715 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1716
1717 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1718 print g_vE): Add new pass patterns.
1719 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1720 print various symbol names for vptr fields.
1721
1722 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1725 results.
1726
1727 2015-10-12 Yao Qi <yao.qi@linaro.org>
1728
1729 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1730
1731 2015-10-12 Yao Qi <yao.qi@linaro.org>
1732
1733 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1734 is aarch64*-*-linux*.
1735
1736 2015-10-12 Yao Qi <yao.qi@linaro.org>
1737
1738 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1739 (can_relocate_bcond_true): ... it.
1740 (can_relocate_bcond_false): New function.
1741 (foo): Likewise.
1742 (can_relocate_bl): Likewise.
1743 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1744 can_relocate_bl.
1745
1746 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1747
1748 * gdb.base/nested-addr.c: New file.
1749 * gdb.base/nested-addr.exp: New testcase.
1750
1751 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1752
1753 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1754 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1755 its output. Ignore the output of "record goto begin" and instead
1756 check that GDB is replaying.
1757
1758 2015-10-09 Pedro Alves <palves@redhat.com>
1759
1760 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1761 (top level): Use it in the run with no args test.
1762
1763 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1764
1765 * gdb.dlang/properties.exp: New file.
1766
1767 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1768
1769 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1770 whether or not address 0x1000 is mapped on the target.
1771
1772 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1773
1774 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1775 build.
1776
1777 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1778
1779 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1780 instruction-history test.
1781
1782 2015-09-28 Doug Evans <dje@google.com>
1783
1784 * gdb.base/gcore.c (array_func): Add reference to static_array.
1785
1786 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1787
1788 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1789 source line.
1790
1791 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1792
1793 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1794 short or char as base type.
1795
1796 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1797
1798 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1799 to allow any size enum.
1800
1801 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1802
1803 * gdb.ada/array_ptr_renaming.exp: New testcase.
1804 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1805 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1806
1807 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1808
1809 * gdb.trace/ftrace-lock.c: New file.
1810 * gdb.trace/ftrace-lock.exp: New file.
1811
1812 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1813
1814 * gdb.arch/insn-reloc.c: New file.
1815 * gdb.arch/ftrace-insn-reloc.exp: New file.
1816
1817 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1818
1819 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1820 instruction.
1821 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1822 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1823 * gdb.trace/range-stepping.c: Likewise.
1824 * gdb.trace/trace-break.c: Likewise.
1825 * gdb.trace/trace-mt.c (thread_function): Likewise.
1826 * gdb.trace/ftrace.c (marker): Likewise.
1827 * gdb.trace/trace-condition.c (marker): Likewise.
1828 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1829 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1830 is_aarch64_target.
1831
1832 2015-09-18 Doug Evans <xdje42@gmail.com>
1833
1834 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1835 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1836
1837 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1838
1839 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1840 the breakpoint.
1841
1842 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1843
1844 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1845 the pending breakpoint. Remove timeout override for "Run till
1846 MI pending breakpoint on pendfunc3 on thread 2" test.
1847
1848 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1849
1850 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1851 filename pattern.
1852
1853 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1854
1855 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1856 in breakpoint filename pattern.
1857
1858 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1859
1860 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1861
1862 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1863
1864 * gdb.linespec/explicit.exp: Check for readline support for
1865 tab-completion tests. Fix obvious typo.
1866
1867 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1868
1869 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1870 and replay.
1871
1872 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1873
1874 * gdb.btrace/non-stop.c: New.
1875 * gdb.btrace/non-stop.exp: New.
1876
1877 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1878 Yao Qi <yao.qi@linaro.org>
1879
1880 * gdb.trace/trace-condition.c: New file.
1881 * gdb.trace/trace-condition.exp: New file.
1882
1883 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1884
1885 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1886 for testing bytecode compilation.
1887
1888 2015-09-16 Pedro Alves <palves@redhat.com>
1889 Sandra Loosemore <sandra@codesourcery.com>
1890
1891 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1892 (SECONDS): Redefine.
1893 (main): Call pthread_kill and alarm early.
1894 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1895 support.
1896 (test): If the target can't hardware step and doesn't support
1897 displaced stepping, increase the timeout.
1898
1899 2015-09-16 Pedro Alves <palves@redhat.com>
1900
1901 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1902 (enable_debug): New procedures.
1903 (test): Use them. Bail out if waiting for threads fails.
1904 (top level): Bail out if a test fails.
1905
1906 2015-09-16 Yao Qi <yao.qi@linaro.org>
1907
1908 * gdb.asm/asm-source.exp: Set asm-arch for
1909 aarch64*-*-* target.
1910 * gdb.asm/aarch64.inc: New file.
1911
1912 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1913
1914 * gdb.ada/array_of_variable_length.exp: New testcase.
1915 * gdb.ada/array_of_variable_length/foo.adb: New file.
1916 * gdb.ada/array_of_variable_length/pck.adb: New file.
1917 * gdb.ada/array_of_variable_length/pck.ads: New file.
1918
1919 2015-09-15 Doug Evans <dje@google.com>
1920
1921 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1922 of function static local variable.
1923
1924 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1925
1926 * gdb.threads/tls-so_extern.exp: New test file.
1927 * gdb.threads/tls-so_extern.c: New test file.
1928 * gdb.threads/tls-so_extern_main.c: New test file.
1929
1930 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 * gdb.opt/solib-intra-step-lib.c: New file.
1933 * gdb.opt/solib-intra-step-main.c: New file.
1934 * gdb.opt/solib-intra-step.exp: New file.
1935
1936 2015-09-15 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1939 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1940
1941 2015-09-14 Pedro Alves <palves@redhat.com>
1942
1943 * gdb.base/hook-stop-continue.c: Delete.
1944 * gdb.base/hook-stop-continue.exp: Delete.
1945 * gdb.base/hook-stop-frame.c: Delete.
1946 * gdb.base/hook-stop-frame.exp: Delete.
1947 * gdb.base/hook-stop.c: New file.
1948 * gdb.base/hook-stop.exp: New file.
1949
1950 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1951
1952 * gdb.ada/access_to_packed_array.exp: New testcase.
1953 * gdb.ada/access_to_packed_array/foo.adb: New file.
1954 * gdb.ada/access_to_packed_array/pack.adb: New file.
1955 * gdb.ada/access_to_packed_array/pack.ads: New file.
1956
1957 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1958
1959 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1960 buffer size test.
1961
1962 2015-09-11 Don Breazeal <donb@codesourcery.com>
1963
1964 * gdb.base/foll-exec.c: Add copyright header. Fix
1965 formatting issues.
1966 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1967 (do_exec_tests): Use clean_restart in place of zap_session,
1968 and for test initialization. Fix formatting issues. Use
1969 fail in place of perror.
1970 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1971 an expect statement to match an expression with output from
1972 the program under debug.
1973 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1974 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1975 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1976 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1977 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1978
1979 2015-09-09 Doug Evans <dje@google.com>
1980
1981 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1982
1983 2015-09-09 Doug Evans <dje@google.com>
1984
1985 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1986
1987 2015-09-09 Doug Evans <dje@google.com>
1988
1989 * gdb.base/savedregs.exp: Fix typo.
1990
1991 2015-09-09 Pedro Alves <palves@redhat.com>
1992
1993 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1994
1995 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1996
1997 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1998 command actually switches threads. Give up on remaining
1999 tests if target fails to stop at breakpoint.
2000
2001 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2002
2003 * gdb.ada/funcall_char.exp: New testcase.
2004 * gdb.ada/funcall_char/foo.adb: New file.
2005
2006 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2007
2008 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2009 expected outputs. Add two testcases for completing ambiguous
2010 functions.
2011 * gdb.ada/complete/aux_pck.adb: New file.
2012 * gdb.ada/complete/aux_pck.ads: New file.
2013 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2014 Ambiguous_Func functions.
2015 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2016 * gdb.ada/complete/pck.adb: Likewise.
2017
2018 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2019
2020 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2021 failures to run the test program under GDB.
2022
2023 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2024
2025 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2026 to C.
2027
2028 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2029
2030 * gdb.base/run-after-attach.exp: New test file.
2031 * gdb.base/run-after-attach.c: New test file.
2032
2033 2015-08-26 Don Breazeal <donb@codesourcery.com>
2034
2035 * gdb.base/foll-exec-2.c: New test program.
2036 * gdb.base/foll-exec-2.exp: New test.
2037
2038 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2039
2040 * gdb.base/nested-subp1.exp: New file.
2041 * gdb.base/nested-subp1.c: New file.
2042 * gdb.base/nested-subp2.exp: New file.
2043 * gdb.base/nested-subp2.c: New file.
2044 * gdb.base/nested-subp3.exp: New file.
2045 * gdb.base/nested-subp3.c: New file.
2046
2047 2015-08-24 Pedro Alves <palves@redhat.com>
2048
2049 * gdb.server/connect-without-multi-process.c: New file.
2050 * gdb.server/connect-without-multi-process.exp: New file.
2051
2052 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2053
2054 * gdb.opt/inline-markers.c: Make z int.
2055
2056 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2057
2058 * gdb.opt/inline-markers.c: Make z volatile.
2059
2060 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2061
2062 * gdb.opt/inline-bt.c: New volatile global z.
2063 * gdb.opt/inline-cmds.c: Likewise.
2064 * gdb.opt/inline-locals.c: Likewise.
2065 * gdb.opt/inline-markers.c: New extern global z.
2066 (marker): Use z.
2067 (inline_fn): Likewise.
2068
2069 2015-08-24 Pedro Alves <palves@redhat.com>
2070
2071 * config/m32r-stub.exp: Remove file.
2072 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2073 * gdb.base/call-rt-st.exp: Likewise.
2074 * gdb.base/call-strs.exp: Likewise.
2075 * gdb.base/default.exp: Remove references to h8300-*-hms and
2076 *-*-udi*.
2077 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2078
2079 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2080
2081 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2082 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2083 and "return" use KFAIL when GDB can not read/write the vector
2084 return value.
2085
2086 2015-08-21 Gary Benson <gbenson@redhat.com>
2087
2088 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2089
2090 2015-08-20 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.server/solib-list.exp: No longer expect an interior stop in
2093 non-stop mode.
2094
2095 2015-08-20 Pedro Alves <palves@redhat.com>
2096
2097 * gdb.server/connect-stopped-target.c: New file.
2098 * gdb.server/connect-stopped-target.exp: New file.
2099
2100 2015-08-20 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.dwarf2/comp-unit-lang.exp: New file.
2103 * gdb.dwarf2/comp-unit-lang.c: New file.
2104
2105 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2106
2107 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2108 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2109
2110 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2111
2112 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2113 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2114
2115 2015-08-18 Doug Evans <dje@google.com>
2116 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2117
2118 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2119 skip_python_tests. New arg prompt_regexp.
2120 (skip_python_tests): New function.
2121 * lib/mi-support.exp (mi_skip_python_tests): New function.
2122 * gdb.python/py-mi-objfile-gdb.py: New file.
2123 * gdb.python/py-mi-objfile.c: New file.
2124 * gdb.python/py-mi-objfile.exp: New file.
2125
2126 2015-08-17 Keith Seitz <keiths@redhat.com>
2127
2128 * gdb.linespec/explicit.exp: Move strace test from here ...
2129 * gdb.trace/strace.exp: ... to here.
2130
2131 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2132
2133 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2134 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2135
2136 2015-08-14 Doug Evans <xdje42@gmail.com>
2137
2138 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2139 inferior before selecting a new file.
2140
2141 2015-08-14 Doug Evans <xdje42@gmail.com>
2142
2143 * gdb.mi/mi-disassemble.exp: Update.
2144 * gdb.base/disasm-optim.S: New file.
2145 * gdb.base/disasm-optim.c: New file.
2146 * gdb.base/disasm-optim.h: New file.
2147 * gdb.base/disasm-optim.exp: New file.
2148
2149 2015-08-14 Keith Seitz <keiths@redhat.com>
2150
2151 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2152 "evaluated-by".
2153
2154 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2155
2156 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2157
2158 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2159
2160 * gdb.ada/fun_renaming.exp: New testcase.
2161 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2162 * gdb.ada/fun_renaming/pack.adb: New file.
2163 * gdb.ada/fun_renaming/pack.ads: New file.
2164
2165 2015-08-12 Keith Seitz <keiths@redhat.com>
2166
2167 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2168 gdb_get_line_number.
2169
2170 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2171
2172 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2173 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2174 gdb.base/dso2dso.exp: New files.
2175
2176 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2177 Pedro Alves <palves@redhat.com>
2178 Keith Seitz <keiths@redhat.com>
2179
2180 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2181 GDBFLAGS.
2182
2183 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2184
2185 * gdb.base/gdbhistsize-history.exp
2186 (test_histsize_history_setting): Use save_vars.
2187 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2188 Use save_vars.
2189 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2190 * gdb.base/readline.exp: Use save_vars.
2191
2192 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2193
2194 * lib/gdb.exp (save_vars): New proc.
2195
2196 2015-08-11 Keith Seitz <keiths@redhat.com>
2197
2198 * gdb.base/help.exp: Update help_breakpoint_text.
2199
2200 2015-08-11 Keith Seitz <keiths@redhat.com>
2201
2202 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2203 (at toplevel): Call test_explicit_breakpoints.
2204 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2205 breakpoints.
2206 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2207 breakpoint conditions, "-cond".
2208
2209 2015-08-11 Keith Seitz <keiths@redhat.com>
2210
2211 * gdb.linespec/3explicit.c: New file.
2212 * gdb.linespec/cpexplicit.cc: New file.
2213 * gdb.linespec/cpexplicit.exp: New file.
2214 * gdb.linespec/explicit.c: New file.
2215 * gdb.linespec/explicit.exp: New file.
2216 * gdb.linespec/explicit2.c: New file.
2217 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2218 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2219 before using in the matching pattern.
2220 Clarify that `prefix' is a regular expression.
2221
2222 2015-08-11 Keith Seitz <keiths@redhat.com>
2223
2224 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2225 test.
2226 Add tests for missing ",FMT" and ",".
2227
2228 2015-08-10 Doug Evans <dje@google.com>
2229 Keith Seitz <keiths@redhat.com>
2230
2231 PR gdb/17960
2232 * gdb.base/completion.exp: Add location completer tests.
2233
2234 2015-08-07 Pedro Alves <palves@redhat.com>
2235
2236 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2237 tests here.
2238 (top level): Run do_test with and without displaced stepping.
2239
2240 2015-08-07 Pedro Alves <palves@redhat.com>
2241
2242 * gdb.base/valgrind-disp-step.c: New file.
2243 * gdb.base/valgrind-disp-step.exp: New file.
2244
2245 2015-08-07 Pedro Alves <palves@redhat.com>
2246
2247 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2248 Delete function.
2249 (main): Add alarm. Run an infinite loop instead of calling
2250 wait_threads.
2251 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2252 comment.
2253 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2254 Delete function.
2255 (main): Add alarm. Run an infinite loop instead of calling
2256 wait_threads.
2257 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2258 comment.
2259
2260 2015-08-07 Pedro Alves <palves@redhat.com>
2261
2262 * gdb.base/checkpoint-ns.exp: New file.
2263 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2264 standard_testfile.
2265
2266 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2267
2268 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2269 * gdb.btrace/instruction_history.exp: Update.
2270 * gdb.btrace/tsx.exp: New.
2271 * gdb.btrace/tsx.c: New.
2272
2273 2015-08-06 Pedro Alves <palves@redhat.com>
2274
2275 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2276 increase timeout.
2277 * gdb.reverse/until-precsave.exp: Bump timeouts.
2278
2279 2015-08-06 Pedro Alves <palves@redhat.com>
2280
2281 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2282
2283 2015-08-06 Pedro Alves <palves@redhat.com>
2284
2285 PR gdb/18749
2286 * gdb.threads/process-dies-while-handling-bp.c: New file.
2287 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2288
2289 2015-08-06 Pedro Alves <palves@redhat.com>
2290
2291 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2292 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2293
2294 2015-08-05 Pedro Alves <palves@redhat.com>
2295
2296 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2297 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2298
2299 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2300
2301 * gdb.base/bp-permanent.exp: Report test as unsupported if
2302 the target cannot stop at the permanent breakpoint.
2303
2304 2015-08-03 Doug Evans <dje@google.com>
2305
2306 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2307 10000.
2308
2309 2015-08-03 Doug Evans <dje@google.com>
2310
2311 * Makefile.in (workers/%.worker, build-perf): New rule.
2312 (GDB_PERFTEST_MODE): New variable.
2313 (check-perf): Use it.
2314 (clean): Clean up gdb.perf parallel build subdirs.
2315 * lib/build-piece.exp: New file.
2316 * lib/gdb.exp (make_gdb_parallel_path): New function
2317 (standard_output_file, standard_temp_file): Call it.
2318 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2319 of $GDB_PARALLEL.
2320 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2321
2322 2015-08-03 Doug Evans <dje@google.com>
2323
2324 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2325 (LOG_FILE_NAME): New global.
2326 (TextReporter.__init__): Initialize self.txt_sum.
2327 (TextReporter.report): Add support for multiple data-points.
2328 Move report to perftest.sum, put raw data in perftest.log.
2329 (TextReporter.start): Open sum and log files.
2330 (TextReporter.end): Close sum and log files.
2331 * gdb.perf/lib/perftest/testresult.py
2332 (SingleStatisticTestResult.record): Handle multiple data-points.
2333
2334 2015-07-31 Pedro Alves <palves@redhat.com>
2335
2336 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2337 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2338 kill_wait_spawned_process instead of explicit "kill -9".
2339 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2340 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2341 kill_wait_spawned_process.
2342 * gdb.base/attach-twice.exp: Likewise.
2343 * gdb.base/attach.exp: Likewise.
2344 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2345 gdb_test_multiple.
2346 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2347 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2348 kill_wait_spawned_process.
2349 * gdb.base/valgrind-infcall.exp: Likewise.
2350 * gdb.multi/multi-attach.exp: Likewise.
2351 * gdb.python/py-prompt.exp: Likewise.
2352 * gdb.python/py-sync-interp.exp: Likewise.
2353 * gdb.server/ext-attach.exp: Likewise.
2354 * gdb.threads/attach-into-signal.exp (corefunc): Use
2355 spawn_wait_for_attach, spawn_id_get_pid and
2356 kill_wait_spawned_process.
2357 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2358 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2359 spawn_id_get_pid and kill_wait_spawned_process.
2360 * gdb.threads/attach-stopped.exp (corefunc): Use
2361 spawn_wait_for_attach, spawn_id_get_pid and
2362 kill_wait_spawned_process.
2363 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2364 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2365 kill_wait_spawned_process instead of explicit "kill -9".
2366 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2367 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2368 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2369 processes. Don't map cygwin/windows pids here. Now returns a
2370 spawn id list.
2371
2372 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2373
2374 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2375 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2376 correct patch.
2377
2378 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2379
2380 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2381
2382 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2383
2384 Reapply:
2385 2014-05-21 Mark Wielaard <mjw@redhat.com>
2386
2387 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2388
2389 2015-07-30 Pedro Alves <palves@redhat.com>
2390
2391 * linux-low.c (handle_extended_wait): Set the child's last
2392 reported status to TARGET_WAITKIND_STOPPED.
2393
2394 2015-07-30 Pedro Alves <palves@redhat.com>
2395
2396 PR threads/18600
2397 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2398 only shows inferior 1.
2399
2400 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2401 Pedro Alves <palves@redhat.com>
2402
2403 PR threads/18600
2404 * gdb.threads/fork-plus-threads.c: New file.
2405 * gdb.threads/fork-plus-threads.exp: New file.
2406
2407 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2408
2409 * gdb.base/batch-preserve-term-settings.exp
2410 (test_terminal_settings_preserved_after_cli_exit): Use
2411 send_quit_command.
2412
2413 2015-07-29 Pedro Alves <palves@redhat.com>
2414 Don Breazeal <donb@codesourcery.com>
2415
2416 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2417 output from both inferior_spawn_id and gdb_spawn_id.
2418
2419 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2420
2421 * gdb.threads/attach-into-signal.exp (corefunc): Use
2422 with_test_prefix on nested loops, uniquefying the test messages.
2423
2424 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2425
2426 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2427 commit.
2428
2429 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2430
2431 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2432 New proc.
2433 (test_terminal_settings_preserved_after_sigterm): New test.
2434
2435 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2436
2437 * gdb.base/batch-preserve-term-settings.exp
2438 (test_terminal_settings_preserved_after_cli_exit): New test.
2439
2440 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2441
2442 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2443 manipulation of saved_gdbflags.
2444 (test_terminal_settings_preserved): Remove global declaration of
2445 the unused variable pagination_prompt. Remove manipulation of
2446 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2447 GDBFLAGS.
2448
2449 2015-07-29 Pedro Alves <palves@redhat.com>
2450
2451 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2452
2453 2015-07-29 Pedro Alves <palves@redhat.com>
2454
2455 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2456 at the top.
2457
2458 2015-07-29 Pedro Alves <palves@redhat.com>
2459
2460 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2461 (main): Call gdb_unbuffer_output.
2462 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2463 (main): Call gdb_unbuffer_output.
2464 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2465 (main): Call gdb_unbuffer_output.
2466 * gdb.base/call-strs.exp: Adjust to step over the
2467 gdb_unbuffer_output call.
2468 * gdb.base/catch-gdb-caused-signals.c: Include
2469 "../lib/unbuffer_output.c".
2470 (main): Call gdb_unbuffer_output.
2471 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2472 (main): Call gdb_unbuffer_output.
2473 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2474 (main): Call gdb_unbuffer_output.
2475 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2476 (main): Call gdb_unbuffer_output.
2477 * gdb.base/shlib-call.exp: Adjust to step over the
2478 gdb_unbuffer_output call.
2479 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2480 (main): Call gdb_unbuffer_output.
2481 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2482 (main): Call gdb_unbuffer_output.
2483 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2484 (main): Rename to ...
2485 (test): ... this.
2486 (main): Reimplement.
2487 * gdb.base/varargs.exp: Run to test instead of to main.
2488 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2489 (main): Call gdb_unbuffer_output.
2490
2491 2015-07-29 Pedro Alves <palves@redhat.com>
2492
2493 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2494 factore out from mi_continue_dprintf. For call-style dprintfs,
2495 expect dprintf output out of $inferior_spawn_id.
2496 (mi_continue_dprintf): Use mi_expect_dprintf.
2497 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2498 (main): Call gdb_unbuffer_output.
2499
2500 2015-07-29 Pedro Alves <palves@redhat.com>
2501
2502 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2503 (default_mi_gdb_start): Set inferior_spawn_id instead of
2504 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2505 gdb_spawn_id.
2506 (mi_gdb_test): Always expect inferior output from both
2507 $inferior_spawn_id and $gdb_spawn_id.
2508
2509 2015-07-29 Pedro Alves <palves@redhat.com>
2510
2511 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2512 send_inferior and $inferior_spawn_id.
2513
2514 2015-07-29 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.gdb/complaints.exp (test_initial_complaints)
2517 (test_serial_complaints, test_short_complaints): Use
2518 gdb_test_stdio.
2519 (test_empty_complaint): Handle $inferior_spawn_id !=
2520 $gdb_spawn_id.
2521
2522 2015-07-29 Pedro Alves <palves@redhat.com>
2523
2524 * gdb.base/varargs.exp: Use gdb_test_stdio.
2525
2526 2015-07-29 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2529
2530 2015-07-29 Pedro Alves <palves@redhat.com>
2531
2532 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2533
2534 2015-07-29 Pedro Alves <palves@redhat.com>
2535
2536 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2537 parameter into two new parameters, "inf_result" and "gdb_result".
2538 Expect inferior output and gdb output from $inferior_spawn_id and
2539 $gdb_spawn_id, respectively. Adjust all callers.
2540
2541 2015-07-29 Pedro Alves <palves@redhat.com>
2542
2543 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2544 of gdb_test_sequence.
2545
2546 2015-07-29 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2549 (saw_spurious_output): Expect inferior output from
2550 $inferior_spawn_id. Use gdb_test_stdio.
2551
2552 2015-07-29 Pedro Alves <palves@redhat.com>
2553
2554 * gdb.base/dprintf.exp: Use standard_testfile. Change
2555 prepare_for_testing call.
2556 (srcfile): Don't set.
2557 (restart): New procedure.
2558 (test_dprintf): New procecure, use to continue over dprintfs.
2559 (test_call, test_agent): New procedures, tests moved here.
2560 Restart gdb and recreate dprintfs. Adjust expected output.
2561
2562 2015-07-29 Pedro Alves <palves@redhat.com>
2563
2564 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2565
2566 2015-07-29 Pedro Alves <palves@redhat.com>
2567
2568 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2569
2570 2015-07-29 Pedro Alves <palves@redhat.com>
2571
2572 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2573 gdb_test_stdio.
2574
2575 2015-07-29 Pedro Alves <palves@redhat.com>
2576
2577 * lib/gdb.exp (gdb_test_stdio): New procedure.
2578
2579 2015-07-29 Pedro Alves <palves@redhat.com>
2580
2581 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2582
2583 2015-07-29 Pedro Alves <palves@redhat.com>
2584
2585 * gdb.base/call-signal-resume.exp: Remove check for
2586 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2587 * gdb.base/unwindonsignal.exp: Likewise.
2588 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2589 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2590
2591 2015-07-29 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/siginfo-addr.c (pass): New function.
2594 (handler): Call it iff si_addr is correct.
2595 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2596 Set a breakpoint at "pass" and continue to it.
2597
2598 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2599
2600 * gdb.python/py-objfile.exp: Make some tests have unique names.
2601 * gdb.python/py-pp-registration.exp: Likewise.
2602
2603 2015-07-28 Pedro Alves <palves@redhat.com>
2604
2605 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2606
2607 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2608
2609 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2610
2611 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2612
2613 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2614
2615 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2616
2617 * gdb.base/gdb-sigterm-2.exp: New test.
2618
2619 2015-07-25 Doug Evans <xdje42@gmail.com>
2620
2621 Revert:
2622 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2623 (workers/%.worker, build-perf): New rule.
2624 (GDB_PERFTEST_MODE): New variable.
2625 (check-perf): Use it.
2626 (clean): Clean up gdb.perf parallel build subdirs.
2627 * lib/build-piece.exp: New file.
2628 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2629 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2630 name.
2631 (standard_temp_file): Ditto.
2632 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2633 of $GDB_PARALLEL.
2634
2635 2015-07-24 Doug Evans <dje@google.com>
2636
2637 * gdb.perf/lib/perftest/utils.py: New file.
2638 * gdb.perf/gm-hello.cc: New file.
2639 * gdb.perf/gm-pervasive-typedef.cc: New file.
2640 * gdb.perf/gm-pervasive-typedef.h: New file.
2641 * gdb.perf/gm-std.cc: New file.
2642 * gdb.perf/gm-std.h: New file.
2643 * gdb.perf/gm-use-cerr.cc: New file.
2644 * gdb.perf/gm-utils.h: New file.
2645 * gdb.perf/gmonster-null-lookup.py: New file.
2646 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2647 * gdb.perf/gmonster-print-cerr.py: New file.
2648 * gdb.perf/gmonster-ptype-string.py: New file.
2649 * gdb.perf/gmonster-runto-main.py: New file.
2650 * gdb.perf/gmonster-select-file.py: New file.
2651 * gdb.perf/gmonster1-null-lookup.exp: New file.
2652 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2653 * gdb.perf/gmonster1-print-cerr.exp: New file.
2654 * gdb.perf/gmonster1-ptype-string.exp: New file.
2655 * gdb.perf/gmonster1-runto-main.exp: New file.
2656 * gdb.perf/gmonster1-select-file.exp: New file.
2657 * gdb.perf/gmonster1.cc: New file.
2658 * gdb.perf/gmonster1.exp: New file.
2659 * gdb.perf/gmonster2-null-lookup.exp: New file.
2660 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2661 * gdb.perf/gmonster2-print-cerr.exp: New file.
2662 * gdb.perf/gmonster2-ptype-string.exp: New file.
2663 * gdb.perf/gmonster2-runto-main.exp: New file.
2664 * gdb.perf/gmonster2-select-file.exp: New file.
2665 * gdb.perf/gmonster2.cc: New file.
2666 * gdb.perf/gmonster2.exp: New file.
2667
2668 2015-07-24 Doug Evans <dje@google.com>
2669
2670 * gdb.perf/README: New file.
2671 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2672 * lib/gen-perf-test.exp: New file.
2673
2674 2015-07-24 Doug Evans <dje@google.com>
2675
2676 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2677 (PerfTest::startup): New function.
2678 (PerfTest::run): Return result of calling body.
2679 (PerfTest::assemble): Rewrite.
2680 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2681 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2682 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2683 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2684 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2685
2686 2015-07-24 Doug Evans <dje@google.com>
2687
2688 * lib/gdb.exp (clean_restart): Make executable optional.
2689
2690 2015-07-24 Doug Evans <dje@google.com>
2691
2692 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2693 compiler_info references.
2694 * gdb.cp/temargs.exp: Ditto.
2695 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2696 (get_compiler_info): Early exit if already computed. Set compiler_info
2697 to "unknown" if there was a problem.
2698 (test_compiler_info): Add function comment. Call get_compiler_info.
2699
2700 2015-07-24 Doug Evans <dje@google.com>
2701
2702 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2703 (workers/%.worker, build-perf): New rule.
2704 (GDB_PERFTEST_MODE): New variable.
2705 (check-perf): Use it.
2706 (clean): Clean up gdb.perf parallel build subdirs.
2707 * lib/build-piece.exp: New file.
2708 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2709 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2710 name.
2711 (standard_temp_file): Ditto.
2712 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2713 of $GDB_PARALLEL.
2714
2715 2015-07-24 Doug Evans <dje@google.com>
2716
2717 * lib/future.exp (gdb_default_target_compile): New option
2718 "early_flags".
2719 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2720 --as-needed.
2721
2722 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2723
2724 * gdb.base/catch-syscall.exp: Call gdb_exit before
2725 gdb_skip_xml_test.
2726
2727 2015-07-24 Pedro Alves <palves@redhat.com>
2728
2729 * gdb.python/py-events.exp: Accept output between the stop event
2730 and the prompt.
2731 * gdb.python/py-evsignal.exp: Likewise.
2732 * gdb.python/py-evthreads.exp: Likewise.
2733
2734 2015-07-24 Pedro Alves <palves@redhat.com>
2735
2736 PR gdb/18717
2737 * gdb.threads/non-ldr-exit.c: New file.
2738 * gdb.threads/non-ldr-exit.exp: New file.
2739
2740 2015-07-24 Yao Qi <yao.qi@linaro.org>
2741
2742 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2743 restarting process.
2744
2745 2015-07-24 Yao Qi <yao.qi@linaro.org>
2746
2747 * gdb.server/ext-restart.exp: New file.
2748
2749 2015-07-24 Yao Qi <yao.qi@linaro.org>
2750
2751 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2752 argument options.
2753 * gdb.server/ext-wrapper.exp: New file.
2754
2755 2015-07-23 Doug Evans <dje@google.com>
2756
2757 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2758 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2759
2760 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2761
2762 * gdb.ada/var_arr_typedef.exp: New testcase.
2763 * gdb.ada/var_arr_typedef/pack.adb: New file.
2764 * gdb.ada/var_arr_typedef/pack.ads: New file.
2765 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2766
2767 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2768
2769 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2770
2771 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2772
2773 * gdb.arch/i386-biarch-core.exp: Replace istarget
2774 by "complete set gnutarget". Remove expectation for the "core-file"
2775 command.
2776
2777 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2778
2779 Revert the previous commit:
2780 Tests for validate symbol file using build-id.
2781
2782 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2783
2784 Tests for validate symbol file using build-id.
2785 * gdb.base/solib-mismatch-lib.c: New file.
2786 * gdb.base/solib-mismatch-libmod.c: New file.
2787 * gdb.base/solib-mismatch.c: New file.
2788 * gdb.base/solib-mismatch.exp: New file.
2789
2790 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2791
2792 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2793 nios2-*-linux*.
2794 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2795 * gdb.base/siginfo.exp: Likewise.
2796 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2797
2798 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2799
2800 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2801 Move it to ...
2802 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2803 ... here.
2804 * gdb.trace/range-stepping.exp: Check that the target supports
2805 range stepping.
2806
2807 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2808
2809 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2810
2811 2015-07-14 Pedro Alves <palves@redhat.com>
2812
2813 * gdb.base/killed-outside.exp: New file.
2814 * gdb.base/killed-outside.c: New file.
2815
2816 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2817
2818 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2819 (n at main): New.
2820 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2821
2822 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2823
2824 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2825 infcall tests instead of setting up for KFAIL.
2826
2827 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2828
2829 * gdb.btrace/record_goto-step.exp: New.
2830
2831 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2832
2833 PR compile/18484
2834 * gdb.compile/compile.c (struct struct_type): Add volatile to
2835 selffield's type.
2836 * gdb.compile/compile.exp
2837 (compile code struct_object.selffield = &struct_object): Skip further
2838 struct_object tests if this one xfails.
2839
2840 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2841
2842 PR exp/18617
2843 * gdb.trace/ax.exp: Add test.
2844
2845 2015-07-07 Yao Qi <yao.qi@linaro.org>
2846
2847 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2848 instead of istarget "aarch64*-*-*".
2849 * gdb.arch/aarch64-fp.exp: Likewise.
2850 * gdb.base/float.exp: Likewise.
2851 * gdb.reverse/aarch64.exp: Likewise.
2852 * lib/gdb.exp (is_aarch64_target): New proc.
2853
2854 2015-07-07 Yao Qi <yao.qi@linaro.org>
2855
2856 * lib/gdb.exp (is_aarch32_target): New proc.
2857 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2858 instead of "istarget "arm*-*-*"".
2859 * gdb.arch/arm-disp-step.exp: Likewise.
2860 * gdb.arch/thumb-bx-pc.exp: Likewise.
2861 * gdb.arch/thumb-prologue.exp: Likewise.
2862 * gdb.arch/thumb-singlestep.exp: Likewise.
2863 * gdb.base/disp-step-syscall.exp: Likewise.
2864 * gdb.base/float.exp: Likewise.
2865
2866 2015-07-07 Yao Qi <yao.qi@linaro.org>
2867
2868 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2869 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2870
2871 2015-07-07 Yao Qi <yao.qi@linaro.org>
2872
2873 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2874 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2875 if it exists.
2876 * gdb.multi/multi-arch.exp: Likewise.
2877
2878 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2879
2880 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2881 print.
2882
2883 2015-07-07 Yao Qi <yao.qi@linaro.org>
2884
2885 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2886
2887 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2888
2889 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2890 '[' and ']' characters.
2891
2892 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2893
2894 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2895
2896 2015-06-29 Pedro Alves <palves@redhat.com>
2897
2898 PR threads/18127
2899 * gdb.threads/hand-call-new-thread.c: New file.
2900 * gdb.threads/hand-call-new-thread.c: New file.
2901
2902 2015-06-26 Keith Seitz <keiths@redhat.com>
2903 Doug Evans <dje@google.com>
2904
2905 PR 16253
2906 * gdb.cp/var-tag-2.cc: New file.
2907 * gdb.cp/var-tag-3.cc: New file.
2908 * gdb.cp/var-tag-4.cc: New file.
2909 * gdb.cp/var-tag.cc: New file.
2910 * gdb.cp/var-tag.exp: New file.
2911
2912 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2913
2914 * gdb.base/history-duplicates.exp: New test.
2915
2916 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2917
2918 * gdb.base/completion.exp: Test the completion of the "focus"
2919 command.
2920
2921 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2922
2923 * gdb.arch/amd64-prologue-skip.S: New file.
2924 * gdb.arch/amd64-prologue-skip.exp: New file.
2925
2926 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2927
2928 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2929 is_address_zero_readable check.
2930
2931 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2932
2933 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2934 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2935
2936 2015-06-24 Yao Qi <yao.qi@linaro.org>
2937
2938 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2939 linux targets.
2940
2941 2015-06-24 Yao Qi <yao.qi@linaro.org>
2942
2943 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2944 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2945 * gdb.base/siginfo-thread.exp: Likewise.
2946
2947 2015-06-22 Yao Qi <yao.qi@linaro.org>
2948
2949 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2950
2951 2015-06-22 Yao Qi <yao.qi@linaro.org>
2952
2953 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2954 aarch64*-*-*.
2955 (skip_hw_watchpoint_tests): Likewise.
2956
2957 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2958
2959 * gdb.base/gdbinit-history.exp: Test the interaction between
2960 setting GDBHISTSIZE and setting the history size via .gdbinit.
2961
2962 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2963
2964 PR gdb/16999
2965 * gdb.base/gdbhistsize-history.exp: New test.
2966
2967 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2968
2969 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2970 with GDBHISTSIZE.
2971 * gdb.base/readline.exp: Likewise.
2972
2973 2015-06-17 Yao Qi <yao.qi@linaro.org>
2974
2975 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2976 line.
2977
2978 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2979
2980 * gdb.base/gdbinit-history.exp: Add test case to check that
2981 an unlimited history file does not get truncated on exit.
2982
2983 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2984
2985 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2986 (VECTOR): New macro. Use it...
2987 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2988 ...for these typedefs.
2989 (int8, char1, int1, double1): New typedefs.
2990 (struct just_int2, struct two_int2): New structures.
2991 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2992 (add_structvecs, add_singlevecs): New functions.
2993 (main): Call add_some_intvecs twice.
2994 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2995 the compile and exit upon failure. Try compiling for the "native"
2996 architecture. Test inferior function calls with vector arguments
2997 and vector return value handling with "finish" and "return".
2998
2999 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3000
3001 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3002 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3003 PE file.
3004 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3005
3006 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3007
3008 PR breakpoints/16465
3009 * gdb.mi/mi-dprintf-pending.c: New file.
3010 * gdb.mi/mi-dprintf-pending.exp: New test.
3011 * gdb.mi/mi-dprintf-pendshr.c: New file.
3012
3013 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3014 Mircea Gherzan <mircea.gherzan@intel.com>
3015
3016 * gdb.arch/i386-mpx-map.c: New file.
3017 * gdb.arch/i386-mpx-map.exp: New File.
3018
3019 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3020
3021 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3022 * gdb.arch/i386-mpx.exp: Indentation fixed.
3023
3024 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3025
3026 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3027 function and improved indentation.
3028 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3029 gdb_test_multiple. Added additional tests to skip the test.
3030
3031 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3032
3033 * gdb.arch/i386-avx512.c: Change path in include file.
3034 * gdb.arch/i386-avx512.exp: Change include dir path
3035 compilation flag.
3036 * gdb.arch/i386-mpx.c: Change path in include file.
3037 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3038 flag.
3039
3040 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3041
3042 * gdb.compile/compile-print.exp (compile print *vararray@3)
3043 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3044
3045 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3046
3047 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3048 (do not keep jit in memory): ... this.
3049 (expect 5): Change it to ...
3050 (expect no 5): ... this.
3051
3052 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3053
3054 PR gdb/15564
3055 * gdb.mi/mi-detach.exp: New file.
3056
3057 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3058
3059 PR symtab/18392
3060 * gdb.arch/amd64-tailcall-self.S: New file.
3061 * gdb.arch/amd64-tailcall-self.c: New file.
3062 * gdb.arch/amd64-tailcall-self.exp: New file.
3063
3064 2015-05-28 Don Breazeal <donb@codesourcery.com>
3065
3066 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3067 tests for remote targets by checking is_target_gdbserver.
3068
3069 2015-05-27 Doug Evans <dje@google.com>
3070
3071 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3072 * gdb.dwarf2/opaque-type-lookup.c: New file.
3073 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3074
3075 2015-05-26 Doug Evans <dje@google.com>
3076
3077 * gdb.cp/iostream.cc: New file.
3078 * gdb.cp/iostream.exp: New file.
3079
3080 2015-05-26 Doug Evans <dje@google.com>
3081
3082 * gdb.dwarf2/dw2-op-call.exp: Update.
3083 * gdb.dwarf2/dw4-sig-types.exp: Update.
3084 * gdb.dwarf2/implptr.exp: Update.
3085 * gdb.mi/mi-cmd-param-changed.exp: Update.
3086
3087 2015-05-26 Doug Evans <dje@google.com>
3088
3089 * gdb.python/py-lazy-string.c: New file.
3090 * gdb.python/py-lazy-string.exp: New file.
3091 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3092 (main): Update. Add estring3.
3093 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3094 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3095
3096 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3097 Yao Qi <yao.qi@linaro.org>
3098
3099 * gdb.reverse/aarch64.c: New.
3100 * gdb.reverse/aarch64.exp: New.
3101
3102 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3103
3104 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3105 (supports_reverse): Likewise.
3106
3107 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3108
3109 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3110 Use with_test_prefix.
3111
3112 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3113
3114 * gdb.base/completion.exp: Add test for completion of layout
3115 names.
3116
3117 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3118
3119 * lib/gdb.exp (skip_tui_tests): New proc.
3120 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3121
3122 2015-05-19 Pedro Alves <palves@redhat.com>
3123
3124 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3125 Save the whole env array instead of just HOME. Unset HISTSIZE in
3126 the environment while testing. Restore whole environment
3127 afterwards.
3128
3129 2015-05-16 Doug Evans <xdje42@gmail.com>
3130
3131 * gdb.guile/scm-ports.c: New file.
3132 * gdb.guile/scm-ports.exp: Add memory port tests.
3133
3134 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3135
3136 * gdb.compile/compile-print.c: New file.
3137 * gdb.compile/compile-print.exp: New file.
3138
3139 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3140
3141 * gdb.compile/compile-ops.exp: Cast param to void.
3142 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3143 (compile code struct_object.selffield = &struct_object): Add xfail.
3144
3145 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3146
3147 * gdb.ada/arr_enum_with_gap: New testcase.
3148
3149 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3150
3151 * gdb.ada/byte_packed_arr: New testcase.
3152
3153 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3154
3155 * gdb.ada/pckd_neg: New testcase.
3156
3157 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3158
3159 PR gdb/17820
3160 * gdb.base/gdbinit-history.exp: New test.
3161 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3162 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3163
3164 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3165
3166 * gdb.python/py-xmethods.cc: Enhance test case.
3167 * gdb.python/py-xmethods.exp: New tests.
3168 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3169 function.
3170 (B_indexoper): Likewise.
3171 (global_dm_list) : Add new xmethod worker functions.
3172
3173 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3174
3175 * gdb.base/coredump-filter.exp: Correctly unset
3176 "coredump_var_addr" array.
3177
3178 2015-05-08 Pedro Alves <palves@redhat.com>
3179
3180 * gdb.server/non-existing-program.exp: Unset spawn_id.
3181
3182 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3183
3184 PR python/18291
3185 * gdb.python/py-xmethods.exp: Add tests.
3186
3187 2015-05-08 Yao Qi <yao.qi@linaro.org>
3188
3189 PR gdb/18208
3190 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3191 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3192 function set_coredump_filter, and remove remote_exec call.
3193 Remove argument ipid. Callers update.
3194 (top level): Don't get inferior's PID.
3195
3196 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3197
3198 * gdb.base/watch_thread_num.exp: Skip test on targets without
3199 access watchpoints.
3200
3201 2015-05-06 Pedro Alves <palves@redhat.com>
3202
3203 PR server/18081
3204 * gdb.server/non-existing-program.exp: New file.
3205
3206 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3207
3208 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3209
3210 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3211
3212 * gdb.ada/out_of_line_in_inlined: New testcase.
3213
3214 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3215
3216 * gdb.ada/var_rec_arr: New testcase.
3217
3218 2015-04-30 Yao Qi <yao.qi@linaro.org>
3219
3220 * gdb.base/break-idempotent.exp: If
3221 skip_hw_watchpoint_multi_tests returns true, skip the tests
3222 on "rwatch" and "awatch".
3223
3224 2015-04-30 Yao Qi <yao.qi@linaro.org>
3225
3226 * gdb.base/relativedebug.exp: Invoke gdb command
3227 "info sharedlibrary", and if libc.so doesn't have debug info,
3228 skip the test.
3229
3230 2015-04-29 Doug Evans <dje@google.com>
3231
3232 * gdb.python/py-xmethods.exp: Add ptype tests.
3233 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3234 get_result_type method.
3235
3236 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3237
3238 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3239 the target does not support hardware watchpoints.
3240
3241 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3242
3243 * gdb.base/break-always.exp: Abort testing if writing to memory
3244 causes an error.
3245
3246 2015-04-28 Doug Evans <dje@google.com>
3247
3248 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3249 * gdb.python/py-pp-registration.exp: ... here. New file.
3250 * gdb.python/py-pp-registration.c: New file.
3251 * gdb.python/py-pp-registration.py: New file.
3252
3253 2015-04-28 Doug Evans <dje@google.com>
3254
3255 * gdb.python/py-bad-printers.c: New file.
3256 * gdb.python/py-bad-printers.py: New file.
3257 * gdb.python/py-bad-printers.exp: New file.
3258
3259 2015-04-28 Sasha Smundak <asmundak@google.com>
3260
3261 * gdb.python/py-type.exp: New test.
3262
3263 2015-04-28 Andy Wingo <wingo@igalia.com>
3264
3265 * gdb.python/py-parameter.exp:
3266 * gdb.guile/scm-parameter.exp: Escape the path that we are
3267 matching against, as it might contain characters that are special
3268 to regular expressions.
3269
3270 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3271
3272 * gdb.ada/rec_comp: New testcase.
3273
3274 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3275
3276 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3277 before using it.
3278
3279 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3280
3281 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3282 new tests for verilog output.
3283
3284 2015-04-24 Yao Qi <yao.qi@linaro.org>
3285
3286 * boards/remote-gdbserver-on-localhost.exp: New file.
3287
3288 2015-04-23 Pedro Alves <palves@redhat.com>
3289
3290 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3291 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3292 "end of file", remove $inferior_spawn_id from the indirect list.
3293
3294 2015-04-23 Pedro Alves <palves@redhat.com>
3295
3296 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3297
3298 2015-04-23 Pedro Alves <palves@redhat.com>
3299
3300 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3301 on $any_spawn_id instead of only on $gdb_spawn_id.
3302
3303 2015-04-21 Pierre Muller <muller@sourceware.org>
3304
3305 PR pascal/17815
3306 * lib/pascal.exp (gpc_compile): Add new option "class".
3307 (fpc_compile): Likewise.
3308 * gdb.pascal/case-insensitive-symbols.pas: New file.
3309 * gdb.pascal/case-insensitive-symbols.exp: New file.
3310
3311 2015-04-20 Gary Benson <gbenson@redhat.com>
3312
3313 * gdb.base/attach.exp: Fix three extended remote failures.
3314
3315 2015-04-17 Gary Benson <gbenson@redhat.com>
3316
3317 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3318 the main executable over the remote protocol.
3319
3320 2015-04-16 Pedro Alves <palves@redhat.com>
3321
3322 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3323 a new gdbserver if gdbserver_reconnect_p is set.
3324
3325 2015-04-16 Pedro Alves <palves@redhat.com>
3326
3327 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3328 is set, don't exit gdbserver.
3329
3330 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3331
3332 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3333 appropriate .insn, such that an older assembler can be used.
3334 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3335 the z/Architecture instruction set on 31-bit targets as well.
3336
3337 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3338
3339 * gdb.go/handcall.exp: Remove all logic related to the first
3340 breakpoint and rely on go_runto_main instead.
3341 * gdb.go/strings.exp: Likewise.
3342 * gdb.go/unsafe.exp: Likewise.
3343 * gdb.go/hello.exp: Likewise. Also rename the remaining
3344 breakpoint marker to "breakpoint 1".
3345 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3346 * gdb.go/strings.go: Likewise.
3347 * gdb.go/unsafe.go: Likewise.
3348 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3349 "set breakpoint 2 here" and rename the remaining breakpoint marker
3350 to "breakpoint 1".
3351
3352 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3353
3354 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3355 if itertools.imap is not present.
3356 * gdb.python/py-objfile.exp: Add parentheses.
3357 * gdb.python/py-type.exp: Same.
3358 * gdb.python/py-unwind-maint.py: Same.
3359
3360 2015-04-15 Yao Qi <yao.qi@linaro.org>
3361
3362 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3363 of ":$ptr_size" and set its form explicitly.
3364
3365 2015-04-15 Pedro Alves <palves@redhat.com>
3366 Yao Qi <yao.qi@linaro.org>
3367
3368 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3369 timeout by factor of 4.
3370 (test_regular_watch): Likewise.
3371 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3372 * gdb.reverse/sigall-reverse.exp: Likewise.
3373 * gdb.reverse/until-precsave.exp: Likewise.
3374 * lib/gdb.exp (with_timeout_factor): New proc.
3375 (gdb_expect): Move some code to ...
3376 (get_largest_timeout): ... here. New procedure.
3377
3378 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3379
3380 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3381
3382 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3383
3384 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3385 to write to the .text section.
3386
3387 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3388
3389 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3390 Handle the case of targets that do not provide PID information.
3391
3392 2015-04-13 Yao Qi <yao.qi@linaro.org>
3393
3394 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3395 and use expect instead of gdb_expect.
3396
3397 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3398
3399 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3400 "coredump_var_addr" to avoid naming conflict with other testcases.
3401
3402 2015-04-10 Pedro Alves <palves@redhat.com>
3403
3404 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3405 gdb_test_sequence and gdb_assert.
3406
3407 2015-04-10 Pedro Alves <palves@redhat.com>
3408
3409 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3410 test messages that don't include the breakpoint address.
3411
3412 2015-04-10 Yao Qi <yao.qi@linaro.org>
3413
3414 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3415 false for some offset and width combinations which aren't
3416 supported by linux kernel.
3417
3418 2015-04-10 Pedro Alves <palves@redhat.com>
3419
3420 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3421 procedure, factored out from ...
3422 (top level): ... here. Add "set displaced-stepping" testing axis.
3423 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3424 parameter "displaced". Use it.
3425 (top level): Use foreach and add "set displaced-stepping" testing
3426 axis.
3427
3428 2015-04-10 Pedro Alves <palves@redhat.com>
3429
3430 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3431 Remove comment.
3432 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3433 both the address of the instruction that triggers the watchpoint
3434 and the address of the instruction immediately after, and use
3435 those addresses for the test. Fix comment.
3436
3437 2015-04-10 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.base/sigstep.exp (breakpoint_to_handler)
3440 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3441 Test "backtrace" in handler.
3442 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3443 (top level): Add new "displaced" test axis to
3444 breakpoint_to_handler, breakpoint_to_handler_entry and
3445 breakpoint_over_handler.
3446
3447 2015-04-10 Pedro Alves <palves@redhat.com>
3448
3449 PR gdb/18216
3450 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3451
3452 2015-04-10 Yao Qi <yao.qi@linaro.org>
3453
3454 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3455 (test_add_rn_pc): New function.
3456 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3457 (top level): Invoke test_add_rn_pc.
3458
3459 2015-04-10 Pedro Alves <palves@redhat.com>
3460
3461 PR gdb/13858
3462 * gdb.base/step-over-no-symbols.exp: New file.
3463
3464 2015-04-09 Andy Wingo <wingo@igalia.com>
3465
3466 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3467 after the Python tests.
3468
3469 2015-04-08 Keith Seitz <keiths@redhat.com>
3470
3471 PR python/16699
3472 * gdb.python/py-completion.exp: New tests for completion.
3473 * gdb.python/py-completion.py (CompleteLimit1): New class.
3474 (CompleteLimit2): Likewise.
3475 (CompleteLimit3): Likewise.
3476 (CompleteLimit4): Likewise.
3477 (CompleteLimit5): Likewise.
3478 (CompleteLimit6): Likewise.
3479 (CompleteLimit7): Likewise.
3480
3481 2015-04-08 Pedro Alves <palves@redhat.com>
3482
3483 PR gdb/18214
3484 PR gdb/18216
3485 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3486 function.
3487 (main): Install it as SIGUSR1 handler.
3488 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3489 parameter. Always use "setup" as prefix. Toggle "set
3490 displaced-stepping" off/on depending on global. Don't switch to
3491 thread 1 here.
3492 (top level): Add displaced stepping "off/on" test axis. Update
3493 "setup" calls. Wrap each subtest with with_test_prefix. Test
3494 continuing with a queued signal in each thread.
3495
3496 2015-04-08 Pedro Alves <palves@redhat.com>
3497
3498 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3499 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3500 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3501 Return early if running to main fails.
3502 * gdb.trace/while-stepping.exp: Likewise.
3503
3504 2015-04-07 Pedro Alves <palves@redhat.com>
3505
3506 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3507 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3508 interact with inferior program.
3509
3510 2015-04-07 Pedro Alves <palves@redhat.com>
3511
3512 * lib/gdb.exp (inferior_spawn_id): New global.
3513 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3514 spawn id after processing the user code.
3515 (default_gdb_start): Set inferior_spawn_id.
3516 (send_inferior): New procedure.
3517 * lib/gdbserver-support.exp (gdbserver_start): Set
3518 inferior_spawn_id.
3519 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3520
3521 2015-04-07 Pedro Alves <palves@redhat.com>
3522
3523 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3524 * lib/gdbserver-support.exp (gdbserver_start): Make
3525 $server_spawn_id global.
3526 (gdbserver_start): Don't wait for gdbserver's spawn id with
3527 expect_background.
3528 (close_gdbserver): New procedure.
3529 (gdb_exit): Rename the default version and reimplement.
3530
3531 2015-04-07 Pedro Alves <palves@redhat.com>
3532
3533 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3534 append the substituted item, not the original item.
3535
3536 2015-04-07 Pedro Alves <palves@redhat.com>
3537
3538 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3539 gdb_expect.
3540
3541 2015-04-07 Pedro Alves <palves@redhat.com>
3542
3543 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3544 output appearing once only.
3545
3546 2015-04-07 Pedro Alves <palves@redhat.com>
3547
3548 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3549 that doesn't expect anything. Return early if running to main
3550 fails.
3551
3552 2015-04-07 Yao Qi <yao.qi@linaro.org>
3553
3554 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3555 (child_function): Call alarm.
3556 (main): Move call to alarm into the loop.
3557 * gdb.threads/non-stop-fair-events.exp: Build program with
3558 -DTIMEOUT=$timeout.
3559
3560 2015-04-06 Doug Evans <xdje42@gmail.com>
3561
3562 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3563 Fix dest parameter to board_info.
3564 (fpc_compile): Ditto.
3565 (gdb_compile_pascal): Rename dest arg to destfile.
3566
3567 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3568
3569 * gdb.ada/funcall_ref.exp: New file.
3570 * gdb.ada/funcall_ref/foo.adb: New file.
3571
3572 2015-04-02 Yao Qi <yao.qi@linaro.org>
3573
3574 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3575 is remote.
3576
3577 2015-04-02 Gary Benson <gbenson@redhat.com>
3578
3579 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3580
3581 2015-04-01 Sasha Smundak <asmundak@google.com>
3582
3583 * gdb.python/py-unwind-maint.c: New file.
3584 * gdb.python/py-unwind-maint.exp: New test.
3585 * gdb.python/py-unwind-maint.py: New file.
3586 * gdb.python/py-unwind.c: New file.
3587 * gdb.python/py-unwind.exp: New test.
3588 * gdb.python/py-unwind.py: New test.
3589
3590 2015-04-01 Pedro Alves <palves@redhat.com>
3591
3592 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3593 to fail instead of non-existent $test.
3594
3595 2015-04-01 Pedro Alves <palves@redhat.com>
3596
3597 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3598 GDBFLAGS if not empty.
3599
3600 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3601
3602 * gdb.ada/complete.exp: Remove "multi_line".
3603 * gdb.ada/info_exc.exp: Remove "multi_line".
3604 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3605 * gdb.ada/ptype_field.exp: Remove "multi_line".
3606 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3607 * gdb.ada/tagged.exp: Remove "multi_line".
3608 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3609 [multi_line ...]
3610 * gdb.btrace/delta.exp: Likewise.
3611 * gdb.btrace/exception.exp: Likewise.
3612 * gdb.btrace/function_call_history.exp: Likewise.
3613 * gdb.btrace/instruction_history.exp: Likewise.
3614 * gdb.btrace/nohist.exp: Likewise.
3615 * gdb.btrace/record_goto.exp: Likewise.
3616 * gdb.btrace/segv.exp: Likewise.
3617 * gdb.btrace/stepi.exp: Likewise.
3618 * gdb.btrace/tailcall.exp: Likewise.
3619 * gdb.btrace/unknown_functions.exp: Likewise.
3620 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3621 * lib/gdb.exp: Add the "multi_line" helper.
3622
3623 2015-04-01 Pedro Alves <palves@redhat.com>
3624
3625 * gdb.threads/tid-reuse.c: New file.
3626 * gdb.threads/tid-reuse.exp: New file.
3627
3628 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3629
3630 PR corefiles/16092
3631 * gdb.base/coredump-filter.c: New file.
3632 * gdb.base/coredump-filter.exp: Likewise.
3633
3634 2015-03-27 Petr Machata <pmachata@redhat.com>
3635
3636 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3637 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3638 (Dwarf::assemble): Initialize them.
3639 (Dwarf::lines): New function.
3640
3641 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3642
3643 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3644 SYMBOL_PREFIX for x86_64-*-cygwin.
3645
3646 2015-03-26 Andy Wingo <wingo@igalia.com>
3647
3648 PR symtab/18148
3649 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3650 const_value but not a location.
3651 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3652 location defined in non-main CUs are visible.
3653
3654 2015-03-26 Yao Qi <yao.qi@linaro.org>
3655
3656 PR testsuite/18139
3657 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3658 Add a line number entry for the same line.
3659 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3660 Add a line number entry for the same line.
3661
3662 2015-03-26 Yao Qi <yao.qi@linaro.org>
3663
3664 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3665 .int 0.
3666 (func): Likewise. Add .Lfunc_1 label.
3667 Use .Lfunc_1 label.
3668 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3669 .int 0.
3670 (func): Likewise.
3671 Use .Lfunc_1 label.
3672
3673 2015-03-26 Yao Qi <yao.qi@linaro.org>
3674
3675 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3676 Call gdb_compile instead to compile each .s files without debug
3677 information.
3678
3679 2015-03-26 Yao Qi <yao.qi@linaro.org>
3680
3681 * gdb.base/savedregs.exp (process_saved_regs): Make
3682 "Saved registers:" optional in the pattern.
3683
3684 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3685
3686 * gdb.btrace/next.exp: Merged into step.exp.
3687 * gdb.btrace/finish.exp: Merged into step.exp.
3688 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3689 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3690 "record goto" and checking the exact replay position.
3691 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3692 check for "Recording format" in "info record" output.
3693 * gdb.btrace/record_goto.exp: Choose test file based on target.
3694 * gdb.btrace/x86-record_goto.S: Renamed into ...
3695 * gdb.btrace/x86_64-record_goto.S: ... this.
3696 * gdb.btrace/i686-record_goto.S: New.
3697 * gdb.btrace/x86-tailcall.S: Renamed into ...
3698 * gdb.btrace/x86_64-tailcall.S: ... this.
3699 * gdb.btrace/i686-tailcall.S: New.
3700 * gdb.btrace/x86-tailcall.c: Renamed into ...
3701 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3702 separate statements. Update test.
3703 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3704 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3705 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3706 * gdb.btrace/tailcall.exp: Choose test file based on target.
3707 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3708
3709 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3710
3711 * gdb.btrace/exception.exp: Increase BTS buffer size.
3712
3713 2015-03-24 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3716
3717 2015-03-24 Pedro Alves <palves@redhat.com>
3718
3719 * gdb.threads/schedlock.exp (test_step): No longer expect that
3720 "set scheduler-locking step" with "next" over a function call runs
3721 threads unlocked.
3722
3723 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3724
3725 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3726
3727 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3728
3729 PR breakpoints/16466
3730 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3731 * gdb.mi/mi-pending.c (thread_func): New function.
3732 (int main): Add threading support required.
3733 * gdb.mi/mi-pending.exp: Add tests for this issue.
3734 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3735 (pendfunc2): Remove stdio dependency.
3736 * gdb.mi/mi-pendshr2.c: New file.
3737
3738 2015-03-23 Keith Seitz <keiths@redhat.com>
3739
3740 * gdb.linespec/keywords.c: New file.
3741 * gdb.linespec/keywords.exp: New file.
3742
3743 2015-03-23 Keith Seitz <keiths@redhat.com>
3744
3745 PR gdb/18021
3746 * gdb.dwarf2/staticvirtual.exp: New test.
3747
3748 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3749
3750 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3751 * README: Remove HP-UX and gdb.hp.
3752 (configuration):
3753 * configure: Regenerate.
3754 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3755 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3756 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3757 gdb.hp/gdb.defects/Makefile.
3758 * gdb.hp/Makefile.in: File deleted.
3759 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3760 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3761 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3762 * gdb.hp/gdb.aCC/run.c: File deleted.
3763 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3764 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3765 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3766 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3767 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3768 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3769 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3770 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3771 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3772 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3773 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3774 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3775 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3776 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3777 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3778 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3779 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3780 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3781 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3782 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3783 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3784 * gdb.hp/gdb.compat/average.c: File deleted.
3785 * gdb.hp/gdb.compat/sum.c: File deleted.
3786 * gdb.hp/gdb.compat/xdb.c: File deleted.
3787 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3788 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3789 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3790 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3791 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3792 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3793 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3794 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3795 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3796 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3797 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3798 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3799 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3800 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3801 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3802 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3803 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3804 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3805 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3806 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3807 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3808 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3809 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3810 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3811 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3812 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3813 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3814 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3815 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3816 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3817 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3818 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3819 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3820 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3821 * gdb.hp/tools/odump: File deleted.
3822
3823 2015-03-19 Pedro Alves <palves@redhat.com>
3824
3825 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3826 (saw_thread_3): New globals.
3827 (top level): Increment them when an event for the corresponding
3828 thread is seen.
3829 (no thread starvation): New test.
3830
3831 2015-03-19 Pedro Alves <palves@redhat.com>
3832
3833 * gdb.threads/continue-pending-status.c: New file.
3834 * gdb.threads/continue-pending-status.exp: New file.
3835
3836 2015-03-18 Pedro Alves <palves@redhat.com>
3837
3838 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3839 Use gdb_is_target_remote instead of is_remote. Use
3840 gdb_test_multiple instead of gdb_expect. Exit early if
3841 gdb_test_multiple hits its internal matches. Tighten stepi tests
3842 expected output. Fail on exit with any signal, instead of just
3843 SIGILL.
3844
3845 2015-03-18 Yao Qi <yao.qi@linaro.org>
3846
3847 PR tdep/18107
3848 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3849 variable.
3850 * gdb.base/catch-syscall.exp: Don't skip it on
3851 aarch64*-*-linux* target. Remove elements in all_syscalls.
3852 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3853 target.
3854 (setup_all_syscalls): New proc.
3855
3856 2015-03-16 Yao Qi <yao.qi@linaro.org>
3857
3858 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3859 (top level): Skip tests if valid_addr_p returns false for
3860 $cmd1 or $cmd2.
3861
3862 2015-03-11 Andy Wingo <wingo@igalia.com>
3863
3864 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3865
3866 2015-03-11 Yao Qi <yao.qi@linaro.org>
3867
3868 * gdb.base/catch-syscall.exp: Fix typo in comments.
3869
3870 2015-03-11 Yao Qi <yao.qi@linaro.org>
3871
3872 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3873
3874 2015-03-09 Pedro Alves <palves@redhat.com>
3875
3876 * dg-extract-results.py: Delete.
3877
3878 2015-03-09 Pedro Alves <palves@redhat.com>
3879
3880 Merge dg-extract-results.sh from GCC upstream (r218843).
3881
3882 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3883 * dg-extract-results.sh: Use --text with grep to avoid issues with
3884 binary files. Fall back to cat -v, if that doesn't work.
3885
3886 2015-03-05 Pedro Alves <palves@redhat.com>
3887
3888 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3889
3890 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3891
3892 * lib/mi-support.exp (mi_expect_interrupt): Accept
3893 alternative event for when in all-stop mode.
3894
3895 2015-03-04 Pedro Alves <palves@redhat.com>
3896
3897 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3898
3899 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3900
3901 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3902
3903 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3904
3905 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3906 regexps for GDB's current line display, accept a hex address
3907 preceding the line number.
3908
3909 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3910
3911 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3912 the 'arch1' variable for "s390*-linux*" targets.
3913
3914 2015-03-04 Pedro Alves <palves@redhat.com>
3915
3916 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3917 (main): Pass missing retval argument to pthread_join call.
3918
3919 2015-03-02 Pedro Alves <palves@redhat.com>
3920
3921 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3922 (top level): Call do_test with non-stop as well.
3923
3924 2015-03-02 Pedro Alves <palves@redhat.com>
3925
3926 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3927 -1.
3928
3929 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3930
3931 * gdb.arch/s390-vregs.exp: New test.
3932 * gdb.arch/s390-vregs.S: New file.
3933
3934 2015-02-27 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3937 call to catch_command_errors.
3938 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3939 catch_command_errors.
3940
3941 2015-02-27 Pedro Alves <palves@redhat.com>
3942
3943 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3944 "true" for boolean result.
3945 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3946 prototype of main.
3947
3948 2015-02-27 Pedro Alves <palves@redhat.com>
3949
3950 * lib/unbuffer_output.c: New file.
3951 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3952 (main): Call gdb_unbuffer_output.
3953
3954 2015-02-27 Yao Qi <yao.qi@linaro.org>
3955
3956 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3957 target.
3958
3959 2015-02-26 Doug Evans <dje@google.com>
3960
3961 * gdb.cp/class2.cc (Dbase, D): New classes.
3962 (main): New local delta.
3963 * gdb.cp/class2.exp: Test printing delta.
3964 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3965 (dynbar): New global.
3966 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3967
3968 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3969
3970 * gdb.compile/compile-ifunc.c: New file.
3971 * gdb.compile/compile-ifunc.exp: New file.
3972
3973 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3974
3975 * gdb.base/structs.exp: Check for correct struct on finish.
3976
3977 2015-02-26 Yao Qi <yao.qi@linaro.org>
3978
3979 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3980 is zero.
3981
3982 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3983
3984 * gdb.arch/cordic.ko.bz2: New file.
3985 * gdb.arch/cordic.ko.debug.bz2: New file.
3986 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3987
3988 2015-02-25 Yao Qi <yao.qi@linaro.org>
3989
3990 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3991 aarch64*-*-* target.
3992
3993 2015-02-23 Pedro Alves <palves@redhat.com>
3994
3995 * lib/gdb.exp (delete_breakpoints): Rewrite using
3996 gdb_test_multiple.
3997
3998 2015-02-23 Pedro Alves <palves@redhat.com>
3999
4000 * gdb.base/info-os.c: Include stdlib.h.
4001
4002 2015-02-22 Doug Evans <xdje42@gmail.com>
4003
4004 PR symtab/17855
4005 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4006 is read after symbols have been re-read.
4007 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4008 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4009
4010 2015-02-21 Doug Evans <dje@google.com>
4011
4012 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4013
4014 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4015
4016 PR corefiles/17808
4017 * gdb.arch/i386-biarch-core.core.bz2: New file.
4018 * gdb.arch/i386-biarch-core.exp: New file.
4019
4020 2015-02-21 Pedro Alves <palves@redhat.com>
4021
4022 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4023 runto_main fails.
4024
4025 2015-02-20 Pedro Alves <palves@redhat.com>
4026
4027 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4028 info probes.
4029
4030 2015-02-20 Pedro Alves <palves@redhat.com>
4031
4032 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4033
4034 2015-02-20 Pedro Alves <palves@redhat.com>
4035
4036 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4037 clean_restart before gdb_target_supports_trace.
4038
4039 2015-02-20 Pedro Alves <palves@redhat.com>
4040
4041 PR threads/18006
4042 * gdb.threads/clone-thread_db.c: New file.
4043 * gdb.threads/clone-thread_db.exp: New file.
4044
4045 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4046
4047 PR breakpoints/16812
4048 * gdb.base/catch-gdb-caused-signals.c: New file.
4049 * gdb.base/catch-gdb-caused-signals.exp: New file.
4050
4051 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4052
4053 * configure: Regenerated.
4054 * configure.ac: Use GDB_AC_TRANSFORM.
4055 * aclocal.m4: sinclude ../transform.m4.
4056
4057 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4058
4059 * lib/dtrace.exp: New file.
4060 * gdb.base/dtrace-probe.exp: Likewise.
4061 * gdb.base/dtrace-probe.d: Likewise.
4062 * gdb.base/dtrace-probe.c: Likewise.
4063 * lib/pdtrace.in: Likewise.
4064 * configure.ac: Output variables with the transformed names of
4065 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4066 * configure: Regenerated.
4067
4068 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4069
4070 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4071 expected message when trying to access $_probe_* convenience
4072 variables while not on a probe.
4073
4074 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4075
4076 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4077
4078 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4079
4080 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4081 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4082
4083 2015-02-10 Doug Evans <xdje42@gmail.com>
4084
4085 * lib/gdb.exp (gdb_load): Always return a result.
4086
4087 2015-02-10 Pedro Alves <palves@redhat.com>
4088
4089 * gdb.threads/signal-sigtrap.c: New file.
4090 * gdb.threads/signal-sigtrap.exp: New file.
4091
4092 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4093
4094 * gdb.trace/no-attach-trace.c: New file.
4095 * gdb.trace/no-attach-trace.exp: New file.
4096
4097 2015-02-09 Mark Wielaard <mjw@redhat.com>
4098
4099 * gdb.dwarf2/atomic.c: New file.
4100 * gdb.dwarf2/atomic-type.exp: Likewise.
4101
4102 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4103
4104 * gdb.btrace/buffer-size.exp: Update "info record" output.
4105 * gdb.btrace/delta.exp: Update "info record" output.
4106 * gdb.btrace/enable.exp: Update "info record" output.
4107 * gdb.btrace/finish.exp: Update "info record" output.
4108 * gdb.btrace/instruction_history.exp: Update "info record" output.
4109 * gdb.btrace/next.exp: Update "info record" output.
4110 * gdb.btrace/nexti.exp: Update "info record" output.
4111 * gdb.btrace/step.exp: Update "info record" output.
4112 * gdb.btrace/stepi.exp: Update "info record" output.
4113 * gdb.btrace/nohist.exp: Update "info record" output.
4114
4115 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4116
4117 * gdb.btrace/buffer-size: New.
4118
4119 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4120
4121 * gdb.btrace/delta.exp: Update "info record" output.
4122 * gdb.btrace/enable.exp: Update "info record" output.
4123 * gdb.btrace/finish.exp: Update "info record" output.
4124 * gdb.btrace/instruction_history.exp: Update "info record" output.
4125 * gdb.btrace/next.exp: Update "info record" output.
4126 * gdb.btrace/nexti.exp: Update "info record" output.
4127 * gdb.btrace/step.exp: Update "info record" output.
4128 * gdb.btrace/stepi.exp: Update "info record" output.
4129 * gdb.btrace/nohist.exp: Update "info record" output.
4130
4131 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4132
4133 PR gdb/15678
4134 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4135
4136 2015-02-06 Pedro Alves <palves@redhat.com>
4137
4138 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4139 macro.
4140 (seconds_left, again): New globals.
4141 (main): Wait seconds_left in a 1-second sleep loop instead of
4142 sleeping 180 seconds. If 'again' is set, reset the seconds
4143 counter.
4144 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4145 'again' in the inferior before detaching. Print the seconds left.
4146 (options): New global.
4147 (top level): Build program with -DTIMEOUT=$timeout.
4148
4149 2015-02-06 Pedro Alves <palves@redhat.com>
4150
4151 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4152 determine how many seconds to pass to 'alarm'.
4153 * gdb.base/gdb-sigterm.exp (top level): Build program with
4154 -DTIMEOUT=$timeout.
4155 (do_test): Return success/failure indication. Add more verbose
4156 logging. Don't fail if 200 single steps are seen. Instead, fail
4157 when the test times out.
4158 (passes): New global.
4159 (top level): Break the testing loop if testing fails on any
4160 iteration. Use gdb_assert.
4161
4162 2015-02-04 Don Breazeal <donb@codesourcery.com>
4163
4164 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4165 and initialize them.
4166 (ipc_cleanup): New function.
4167 (main): Don't declare shmid, semid, and msqid. Add a call to
4168 atexit so that we call ipc_cleanup on exit.
4169
4170 2015-02-04 Pedro Alves <palves@redhat.com>
4171
4172 * boards/native-extended-gdbserver.exp: Remove any target variant
4173 specifications from the board name before clearing the isremote
4174 flag from board_info.
4175
4176 2015-01-31 Doug Evans <xdje42@gmail.com>
4177
4178 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4179
4180 2015-01-31 Gary Benson <gbenson@redhat.com>
4181
4182 * gdb.base/completion.exp: Disable completion limiting for
4183 existing tests. Add new tests to check completion limiting.
4184 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4185
4186 2015-01-31 Doug Evans <xdje42@gmail.com>
4187
4188 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4189
4190 2015-01-31 Doug Evans <xdje42@gmail.com>
4191
4192 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4193 entries. Duplicate file section script entries.
4194 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4195 inlined entries. Add test for safe-path rejection.
4196 * gdb.python/py-section-script.c: Add duplicate inlined section script
4197 entries. Duplicate file section script entries.
4198 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4199 inlined entries. Add test for safe-path rejection.
4200
4201 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4202
4203 * gdb.ada/disc_arr_bound: New testcase.
4204
4205 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4206
4207 * gdb.ada/mi_var_array: New testcase.
4208
4209 2015-01-27 Doug Evans <dje@google.com>
4210
4211 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4212 Add test for objfile.filename, objfile.username after objfile
4213 has been unloaded.
4214
4215 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4216
4217 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4218 the second test to print the name attribute of value
4219 returned by the call to gdb.lookup_type, and adjust
4220 the expected output accordingly.
4221
4222 2015-01-25 Mark Wielaard <mjw@redhat.com>
4223
4224 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4225 * gdb.base/disp-step-fork.c: Include unistd.h.
4226 * gdb.base/siginfo-obj.c: Include stdio.h.
4227 * gdb.base/siginfo-thread.c: Likewise.
4228 * gdb.mi/non-stop.c: Include unistd.h.
4229 * gdb.mi/nsthrexec.c: Include stdio.h.
4230 * gdb.mi/pthreads.c: Include unistd.h.
4231 * gdb.modula2/unbounded1.c (main): Declare returns int.
4232 * gdb.reverse/consecutive-reverse.c: Likewise.
4233 * gdb.threads/create-fail.c: Include unistd.h.
4234 * gdb.threads/killed.c: Likewise.
4235 * gdb.threads/linux-dp.c: Likewise.
4236 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4237 * gdb.threads/non-ldr-exc-2.c: Likewise.
4238 * gdb.threads/non-ldr-exc-3.c: Likewise.
4239 * gdb.threads/non-ldr-exc-4.c: Likewise.
4240 * gdb.threads/pthreads.c: Include unistd.h.
4241 (main): Declare returns int.
4242 * gdb.threads/tls-main.c (foo): New declaration.
4243 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4244
4245 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4246
4247 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4248 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4249
4250 2015-01-15 Mark Wielaard <mjw@redhat.com>
4251
4252 * gdb.base/noreturn-return.c: New file.
4253 * gdb.base/noreturn-return.exp: New file.
4254 * gdb.base/noreturn-finish.c: New file.
4255 * gdb.base/noreturn-finish.exp: New file.
4256
4257 2015-01-23 Pedro Alves <palves@redhat.com>
4258
4259 * gdb.threads/continue-pending-after-query.c: New file.
4260 * gdb.threads/continue-pending-after-query.exp: New file.
4261
4262 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4263 Simon Marchi <simon.marchi@ericsson.com>
4264
4265 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4266 * gdb.base/valgrind-db-attach.exp: Same.
4267 * gdb.base/valgrind-infcall.exp: Same.
4268 * lib/mi-support.exp (default_mi_gdb_start): Same.
4269 * lib/prompt.exp (default_prompt_gdb_start): Same.
4270 * lib/gdb.exp (default_gdb_spawn): Same.
4271 (gdb_interact): New.
4272
4273
4274 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4275
4276 * gdb.compile/compile.exp (pointer to jit function): New test.
4277
4278 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4279
4280 * lib/gdb.exp (supports_process_record): Return true for
4281 powerpc*-*-linux*.
4282 (supports_reverse): Likewise.
4283
4284 2015-01-15 Don Breazeal <donb@codesourcery.com>
4285
4286 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4287 instead of checking whether the target board is remote and
4288 use spawn_wait_for_attach instead of exec/sleep.
4289 * gdb.base/attach-twice.exp: Likewise.
4290
4291 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4292
4293 * gdb.ada/var_arr_attrs: New testcase.
4294
4295 2015-01-14 Pedro Alves <palves@redhat.com>
4296 Joel Brobecker <brobecker@adacore.com>
4297
4298 PR gdb/17525
4299 * gdb.base/bp-cmds-execution-x-script.c: New file.
4300 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4301 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4302
4303 2015-01-14 Pedro Alves <palves@redhat.com>
4304
4305 PR cli/17828
4306 * gdb.base/batch-preserve-term-settings.c: New file.
4307 * gdb.base/batch-preserve-term-settings.exp: New file.
4308
4309 2015-01-13 Doug Evans <dje@google.com>
4310
4311 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4312 binary.
4313
4314 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4315
4316 * Makefile.in (clean mostlyclean): Do not delete *.py.
4317
4318 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4319
4320 * gdb.python/py-lookup-type.exp: New file.
4321
4322 2015-01-12 Pedro Alves <palves@redhat.com>
4323
4324 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4325 restore GDBFLAGS before returning.
4326
4327 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4328
4329 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4330 is_amd64_regs_target and is_x86_like_target.
4331
4332 2015-01-11 Doug Evans <xdje42@gmail.com>
4333
4334 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4335 is given without an explicit form.
4336 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4337 attributes.
4338 * gdb.dwarf/corrupt.exp: Ditto.
4339 * gdb.dwarf2/enum-type.exp: Ditto.
4340 * gdb.trace/entry-values.exp: Ditto.
4341 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4342
4343 2015-01-11 Doug Evans <xdje42@gmail.com>
4344
4345 PR gdb/15830
4346 * gdb.base/maint.exp: Remove references to "maint demangle".
4347 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4348 Add tests for explicitly specifying language to demangle.
4349 * gdb.dlang/demangle.exp: Ditto.
4350
4351 2015-01-09 Pedro Alves <palves@redhat.com>
4352
4353 * gdb.threads/non-stop-fair-events.c: New file.
4354 * gdb.threads/non-stop-fair-events.exp: New file.
4355
4356 2015-01-09 Pedro Alves <palves@redhat.com>
4357
4358 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4359 the global scope. Set a breakpoint after all threads are started
4360 rather than stepping over two source lines. Expect the prompt.
4361 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4362 global.
4363 (NUM): Now 15.
4364 (main): Use threads_started_barrier to wait for all threads to
4365 start. Main thread no longer calls thread_function. Exit after
4366 180 seconds.
4367 (loop): New function.
4368 (thread_function): Wait on threads_started_barrier barrier. Call
4369 'loop' at each iteration.
4370 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4371 threads have started, instead of hardcoding number of "next"
4372 steps. Use an access watchpoint instead of a write watchpoint.
4373
4374 2015-01-09 Pedro Alves <palves@redhat.com>
4375
4376 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4377 (thread_func): Wait on barrier.
4378 (main): Wait for all threads to start before stopping GDB.
4379 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4380 global.
4381 (thread1_func, thread2_func): Wait on barrier.
4382 (main): Wait for all threads to start before stopping GDB.
4383 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4384 New global.
4385 (thread1_func, thread2_func): Wait on barrier.
4386 (main): Wait for all threads to start before stopping GDB.
4387
4388 2015-01-09 Pedro Alves <palves@redhat.com>
4389
4390 * gdb.threads/attach-many-short-lived-threads.c: New file.
4391 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4392
4393 2014-01-09 Pedro Alves <palves@redhat.com>
4394
4395 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4396 instead of to thread 2.
4397 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4398 Add barrier around each pthread_create call instead of around all
4399 calls.
4400 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4401 Set a break on thread_function and have the child threads hit it
4402 one at at a time.
4403
4404 2015-01-09 Pedro Alves <palves@redhat.com>
4405
4406 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4407 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4408 false.
4409 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4410 checking whether the target board is remote.
4411 * gdb.multi/multi-attach.exp: Likewise.
4412 * gdb.python/py-sync-interp.exp: Likewise.
4413 * gdb.server/ext-attach.exp: Likewise.
4414 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4415 tests that need to attach, instead of checking whether the target
4416 board is remote at the top of the file.
4417
4418 2015-01-08 Yao Qi <yao@codesourcery.com>
4419
4420 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4421
4422 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4423
4424 Fix testcase compilation.
4425 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4426
4427 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4428
4429 * gdb.python/py-type.exp: Add a couple test about empty
4430 array creation, and negative-length array creation.
4431
4432 2015-01-02 Doug Evans <xdje42@gmail.com>
4433
4434 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4435
4436 2015-01-02 Doug Evans <dje@google.com>
4437
4438 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4439
4440 2014-12-29 Yao Qi <yao@codesourcery.com>
4441
4442 * gdb.trace/entry-values.exp: Update comments. Rename variable
4443 bar_call_foo to returned_from_foo.
4444
4445 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4446
4447 PR gdb/17394
4448 * gdb.linespec/break-asm-file.c: New file.
4449 * gdb.linespec/break-asm-file.exp: New file.
4450 * gdb.linespec/break-asm-file0.s: New file.
4451 * gdb.linespec/break-asm-file1.s: New file.
4452
4453 2014-12-18 Nigel Stephens <nigel@mips.com>
4454 Maciej W. Rozycki <macro@codesourcery.com>
4455
4456 * gdb.base/float.exp: Handle the new output from "info float" on
4457 MIPS targets.
4458
4459 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4460
4461 Fix MinGW compilation.
4462 * gdb.compile/compile-ops.exp: Update untested message if
4463 !skip_compile_feature_tests.
4464 * gdb.compile/compile-setjmp.exp: Likewise.
4465 * gdb.compile/compile-tls.exp: Likewise.
4466 * gdb.compile/compile.exp: Likewise.
4467 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4468 supported on this host".
4469
4470 2014-12-16 Doug Evans <xdje42@gmail.com>
4471
4472 * boards/stabs.exp: New file.
4473
4474 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4475
4476 * gdb.base/completion.exp: Adjust to format changes of "maint
4477 print user-registers".
4478
4479 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4480
4481 PR server/17457
4482 * gdb.arch/aarch64-fp.c: New file.
4483 * gdb.arch/aarch64-fp.exp: New file.
4484
4485 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4486
4487 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4488 r210637, r210913, r211666, r215400, r215817).
4489
4490 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4491 * dg-extract-results.py: New file.
4492 * dg-extract-results.sh: Use it if the environment seems
4493 suitable.
4494
4495 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4496
4497 * dg-extract-results.py (parse_run): Handle warnings that
4498 are printed before a test harness is run.
4499
4500 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4501
4502 * dg-extract-results.py (Named): Remove __cmp__ method.
4503 (output_variation): Use a key to sort variation.harnesses.
4504
4505 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4506
4507 * dg-extract-results.py: For Python 3, force sys.stdout to
4508 handle surrogate escape sequences.
4509 (safe_open): New function.
4510 (output_segment, main): Use it.
4511
4512 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4513
4514 * dg-extract-results.py (Prog.result_re): Include options
4515 in test name.
4516
4517 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4518
4519 * dg-extract-results.py (output_variation): Always sort if
4520 do_sum.
4521
4522 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4523
4524 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4525 as long as we get pagination notifications.
4526
4527 2014-12-15 Jason Merrill <jason@redhat.com>
4528
4529 * Makefile.in (check-gdb.%): Restore.
4530 * README: Mention it.
4531
4532 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4533
4534 * gdb.ada/str_uninit: New testcase.
4535
4536 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4537
4538 PR symtab/17642
4539 * gdb.base/vla-stub-define.c: New file.
4540 * gdb.base/vla-stub.c: New file.
4541 * gdb.base/vla-stub.exp: New file.
4542
4543 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4544 Jan Kratochvil <jan.kratochvil@redhat.com>
4545 Tom Tromey <tromey@redhat.com>
4546
4547 * configure.ac: Add gdb.compile/.
4548 * configure: Regenerate.
4549 * gdb.compile/Makefile.in: New file.
4550 * gdb.compile/compile-ops.exp: New file.
4551 * gdb.compile/compile-ops.c: New file.
4552 * gdb.compile/compile-tls.c: New file.
4553 * gdb.compile/compile-tls.exp: New file.
4554 * gdb.compile/compile-constvar.S: New file.
4555 * gdb.compile/compile-constvar.c: New file.
4556 * gdb.compile/compile-mod.c: New file.
4557 * gdb.compile/compile-nodebug.c: New file.
4558 * gdb.compile/compile-setjmp-mod.c: New file.
4559 * gdb.compile/compile-setjmp.c: New file.
4560 * gdb.compile/compile-setjmp.exp: New file.
4561 * gdb.compile/compile-shlib.c: New file.
4562 * gdb.compile/compile.c: New file.
4563 * gdb.compile/compile.exp: New file.
4564 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4565
4566 2014-12-12 Tom Tromey <tromey@redhat.com>
4567
4568 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4569 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4570
4571 2014-12-12 Doug Evans <dje@google.com>
4572
4573 * lib/gdb-python.exp (get_python_valueof): New function.
4574 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4575
4576 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4577
4578 * gdb.base/completion.exp: Add test for completion of "info
4579 registers ".
4580
4581 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4582
4583 * gdb.base/func-ptrs.c: New file.
4584 * gdb.base/func-ptrs.exp: New file.
4585
4586 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4587
4588 PR breakpoints/17012
4589 * gdb.base/dprintf-detach.c: New file.
4590 * gdb.base/dprintf-detach.exp: New file.
4591
4592 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4593
4594 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4595 * lib/gdb.exp (target_is_gdbserver): New procedure.
4596
4597 2014-12-08 Doug Evans <dje@google.com>
4598
4599 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4600
4601 2014-12-05 Yao Qi <yao@codesourcery.com>
4602
4603 * gdb.guile/scm-error.exp: Remove the third argument to
4604 gdb_remote_download.
4605 * gdb.guile/scm-frame-args.exp: Likewise.
4606 * gdb.guile/scm-section-script.exp: Likewise.
4607
4608 2014-12-05 Yao Qi <yao@codesourcery.com>
4609
4610 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4611
4612 2014-12-04 Doug Evans <dje@google.com>
4613
4614 * gdb.python/py-objfile.exp: Add tests for
4615 objfile.add_separate_debug_file.
4616
4617 2014-12-04 Doug Evans <dje@google.com>
4618
4619 * lib/gdb.exp (get_build_id): New function.
4620 (build_id_debug_filename_get): Rewrite to use it.
4621 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4622
4623 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4624
4625 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4626 `method(long)', not just 0x0.
4627 * gdb.cp/nsalias.exp: Align code labels to 4.
4628 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4629 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4630 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4631 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4632 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4633 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4634
4635 2014-12-02 Doug Evans <dje@google.com>
4636
4637 PR symtab/17602
4638 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4639 * gdb.cp/anon-ns2.cc: ... here. New file.
4640 * gdb.cp/anon-ns.exp: Update.
4641
4642 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4643
4644 * gdb.python/py-events.py (inferior_call_handler): New.
4645 (register_changed_handler, memory_changed_handler): New.
4646 (test_events.invoke): Register new handlers.
4647 * gdb.python/py-events.exp: Add tests for inferior call,
4648 memory_changed and register_changed events.
4649
4650 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4651
4652 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4653 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4654 if the linker doesn't understand this.
4655
4656 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4657
4658 * gdb.python/python.exp: Change expected reply to help().
4659
4660 2014-12-01 Yao Qi <yao@codesourcery.com>
4661
4662 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4663 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4664 * configure: Re-generated.
4665
4666 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4667
4668 * gdb.cp/chained-calls.cc: New file.
4669 * gdb.cp/chained-calls.exp: New file.
4670 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4671
4672 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4673
4674 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4675 * gdb.dwarf2/symtab-producer.exp: Same.
4676 * gdb.gdb/python-interrupts.exp: Same.
4677 * gdb.gdb/python-selftest.exp: Same.
4678 * gdb.python/py-linetable.exp: Same.
4679 * gdb.python/py-type.exp: Same.
4680 * gdb.python/py-value-cc.exp: Same.
4681 * gdb.python/py-value.exp: Same.
4682
4683 2014-11-28 Yao Qi <yao@codesourcery.com>
4684
4685 * gdb.base/break-probes.exp: Match library name prefixed with
4686 sysroot.
4687
4688 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4689
4690 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4691 test expected output. Add parentheses for the call to print.
4692 Remove L suffix from integers.
4693
4694 2014-11-26 Doug Evans <dje@google.com>
4695
4696 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4697
4698 2014-11-22 Yao Qi <yao@codesourcery.com>
4699
4700 * gdb.trace/entry-values.c: Remove asms.
4701 (foo): Add foo_label.
4702 (bar): Add bar_label.
4703 * gdb.trace/entry-values.exp: Remove code computing foo's
4704 length and bar's length.
4705 (Dwarf::assemble): Invoke function_range for bar and use
4706 MACRO_AT_func for foo.
4707
4708 2014-11-22 Yao Qi <yao@codesourcery.com>
4709
4710 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4711 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4712 Use .Lgcc43_procstart instead of gcc43.
4713
4714 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4715
4716 * gdb.ada/n_arr_bound: New testcase.
4717
4718 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4719
4720 PR breakpoints/10737
4721 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4722 test_catch_syscall_multi_arch.
4723 (test_catch_syscall_multi_arch): New function.
4724
4725 2014-11-20 Doug Evans <xdje42@gmail.com>
4726
4727 * gdb.base/maint.exp: Update expected output.
4728
4729 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4730
4731 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4732 4-byte instruction on S390.
4733
4734 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4735
4736 * gdb.ada/arr_arr: New testcase.
4737
4738 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4739
4740 * gdb.ada/pkd_arr_elem: New Testcase.
4741
4742 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4743
4744 * gdb.reverse/break-precsave: Expect completion message for
4745 core file reads.
4746 * gdb.reverse/consecutive-precsave.exp: Likewise.
4747 * gdb.reverse/finish-precsave.exp: Likewise.
4748 * gdb.reverse/i386-precsave.exp: Likewise.
4749 * gdb.reverse/machinestate-precsave.exp: Likewise.
4750 * gdb.reverse/sigall-precsave.exp: Likewise.
4751 * gdb.reverse/solib-precsave.exp: Likewise.
4752 * gdb.reverse/step-precsave.exp: Likewise.
4753 * gdb.reverse/until-precsave.exp: Likewise.
4754 * gdb.reverse/watch-precsave.exp: Likewise.
4755
4756 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4757
4758 * gdb.base/bp-permanent.c: Include unistd.h.
4759 * gdb.python/py-framefilter-mi.c (main): Add return type.
4760 * gdb.python/py-framefilter.c (main): Likewise.
4761 * gdb.trace/actions-changed.c (main): Likewise.
4762
4763 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4764
4765 * gdb.mi/until.c: Add eye-catchers.
4766 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4767 line numbers.
4768
4769 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4770
4771 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4772 function header variants in break1.c.
4773 * gdb.base/ena-dis-br.exp: Likewise.
4774 * gdb.base/hbreak2.exp: Likewise.
4775 * gdb.reverse/until-precsave.exp: Drop references to removed
4776 non-prototype function header variants in ur1.c.
4777 * gdb.reverse/until-reverse.exp: Likewise.
4778
4779 2014-11-17 Petr Machata <pmachata@redhat.com>
4780
4781 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4782 ${_cu_offset_size} bytes abbrev offset.
4783
4784 2014-11-15 Doug Evans <xdje42@gmail.com>
4785
4786 PR symtab/17559
4787 * gdb.base/line-symtabs.exp: New file.
4788 * gdb.base/line-symtabs.c: New file.
4789 * gdb.base/line-symtabs.h: New file.
4790
4791 2014-11-14 Yao Qi <yao@codesourcery.com>
4792
4793 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4794 (func): Add label func_label.
4795 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4796 Replace low_pc and high_pc with MACRO_AT_range.
4797 Replace name, low_pc and high_pc with MACRO_AT_func.
4798
4799 2014-11-14 Yao Qi <yao@codesourcery.com>
4800
4801 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4802 Replace name, low_pc and high_pc with MACRO_AT_func.
4803
4804 2014-11-14 Yao Qi <yao@codesourcery.com>
4805
4806 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4807 produce debug information.
4808 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4809
4810 2014-11-14 Yao Qi <yao@codesourcery.com>
4811
4812 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4813 object and get function length.
4814 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4815 with MACRO_AT_func.
4816 (top-level): Replace gdb_compile and clean_restart with
4817 prepare_for_testing.
4818 * gdb.dwarf2/main.c (main): Add label main_label.
4819
4820 2014-11-14 Yao Qi <yao@codesourcery.com>
4821
4822 * lib/dwarf.exp (function_range): New procedure.
4823 (Dwarf::_handle_macro_at_func): New procedure.
4824 (Dwarf::_handle_macro_at_range): New procedure.
4825 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4826
4827 2014-11-14 Yao Qi <yao@codesourcery.com>
4828
4829 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4830 (_handle_attribute): New procedure.
4831
4832 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4833
4834 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4835 * gdb.base/call-sc.c (zed): Likewise.
4836 * gdb.base/checkpoint.c (main): Likewise.
4837 * gdb.base/dump.c (main): Likewise.
4838 * gdb.base/gcore.c (main): Likewise.
4839 * gdb.base/huge.c (main): Likewise.
4840 * gdb.base/multi-forks.c (main): Likewise.
4841 * gdb.base/pr10179-a.c (main): Likewise.
4842 * gdb.base/savedregs.c (main): Likewise.
4843 * gdb.base/sigaltstack.c (main): Likewise.
4844 * gdb.base/siginfo.c (main): Likewise.
4845 * gdb.base/structs.c (zed): Likewise.
4846 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4847 * gdb.mi/mi-syn-frame.c (main): Likewise.
4848 * gdb.mi/until.c (foo, main): Likewise.
4849 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4850 * gdb.base/solib-weak.c (foo): Declare.
4851 * gdb.base/attach-twice.c: Include stdio.h.
4852 * gdb.base/weaklib1.c: Likewise.
4853 * gdb.base/weaklib2.c: Likewise.
4854 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4855 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4856 unistd.h.
4857 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4858 * gdb.mi/mi-exit-code.c: Likewise.
4859 * gdb.base/break-interp-lib.c: Include string.h.
4860 * gdb.base/coremaker.c: Likewise.
4861 * gdb.base/testenv.c: Likewise.
4862 * gdb.python/py-finish-breakpoint.c: Likewise.
4863 * gdb.base/inferior-died.c: Include sys/wait.h.
4864 * gdb.base/fileio.c: Include time.h.
4865 * gdb.base/async-shell.c: Include unistd.h.
4866 * gdb.base/dprintf-non-stop.c: Likewise.
4867 * gdb.base/info-os.c: Likewise.
4868 * gdb.mi/mi-console.c: Likewise.
4869 * gdb.mi/watch-nonstop.c: Likewise.
4870 * gdb.python/py-events.c: Likewise.
4871 * gdb.base/async.c (baz): Move up before its invocation.
4872 * gdb.base/code_elim2.c (my_global_func): Likewise.
4873 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4874 * gdb.base/advance.c (func2): Likewise.
4875
4876 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4877
4878 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4879 variant.
4880 * gdb.base/annota3.c: Likewise.
4881 * gdb.base/async.c: Likewise.
4882 * gdb.base/average.c: Likewise.
4883 * gdb.base/call-ar-st.c: Likewise.
4884 * gdb.base/call-rt-st.c: Likewise.
4885 * gdb.base/call-sc.c: Likewise.
4886 * gdb.base/call-strs.c: Likewise.
4887 * gdb.base/ending-run.c: Likewise.
4888 * gdb.base/execd-prog.c: Likewise.
4889 * gdb.base/exprs.c: Likewise.
4890 * gdb.base/foll-exec.c: Likewise.
4891 * gdb.base/foll-fork.c: Likewise.
4892 * gdb.base/foll-vfork.c: Likewise.
4893 * gdb.base/funcargs.c: Likewise.
4894 * gdb.base/gcore.c: Likewise.
4895 * gdb.base/jump.c: Likewise.
4896 * gdb.base/langs0.c: Likewise.
4897 * gdb.base/langs1.c: Likewise.
4898 * gdb.base/langs2.c: Likewise.
4899 * gdb.base/mips_pro.c: Likewise.
4900 * gdb.base/nodebug.c: Likewise.
4901 * gdb.base/opaque0.c: Likewise.
4902 * gdb.base/opaque1.c: Likewise.
4903 * gdb.base/recurse.c: Likewise.
4904 * gdb.base/run.c: Likewise.
4905 * gdb.base/scope0.c: Likewise.
4906 * gdb.base/scope1.c: Likewise.
4907 * gdb.base/setshow.c: Likewise.
4908 * gdb.base/setvar.c: Likewise.
4909 * gdb.base/shmain.c: Likewise.
4910 * gdb.base/shr1.c: Likewise.
4911 * gdb.base/shr2.c: Likewise.
4912 * gdb.base/sigall.c: Likewise.
4913 * gdb.base/signals.c: Likewise.
4914 * gdb.base/so-indr-cl.c: Likewise.
4915 * gdb.base/solib2.c: Likewise.
4916 * gdb.base/structs.c: Likewise.
4917 * gdb.base/sum.c: Likewise.
4918 * gdb.base/vforked-prog.c: Likewise.
4919 * gdb.base/watchpoint.c: Likewise.
4920 * gdb.reverse/shr2.c: Likewise.
4921 * gdb.reverse/until-reverse.c: Likewise.
4922 * gdb.reverse/ur1.c: Likewise.
4923 * gdb.reverse/watch-reverse.c: Likewise.
4924
4925 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4926
4927 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4928 variant.
4929 * gdb.base/sepdebug.exp: Drop references to removed code.
4930
4931 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4932
4933 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4934 variant. Preserve original line numbering.
4935 * gdb.base/list1.c: Likewise.
4936
4937 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4938
4939 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4940 variant.
4941 * gdb.base/break1.c: Likewise.
4942 * gdb.base/break.exp: Drop references to removed code.
4943
4944 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4945
4946 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4947 variant.
4948
4949 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4950
4951 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4952
4953 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4954
4955 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4956 logic into perform_all_tests() and invoke it with and without
4957 function header prototypes.
4958 (do_function_calls): Remove conditional XFAIL for PR 5318.
4959 (rerun_and_prepare): Remove duplicate code.
4960 (perform_all_tests): New. Main logic moved here.
4961
4962 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4963
4964 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4965 code guarded by #ifdef NO_PROTOTYPES.
4966 (t_double_many_args): Likewise.
4967 (DEF_FUNC_MANY_ARGS_1): Likewise.
4968 (DEF_FUNC_VALUES_1): Likewise.
4969 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4970 guarded by #ifdef PROTOTYPES.
4971
4972 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4973
4974 * gdb.mi/mi-console.c: Add eye-catcher.
4975 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4976 instead of literal line number.
4977
4978 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4979
4980 * gdb.base/shr2.c: Add eye-catcher.
4981 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4982 line number.
4983
4984 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4985
4986 * gdb.base/jump.c: Add eye-catchers.
4987 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4988 numbers.
4989
4990 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4991
4992 * gdb.base/execd-prog.c: Add eye-catchers.
4993 * gdb.base/foll-exec.c: Likewise.
4994 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4995 line numbers.
4996
4997 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4998
4999 * gdb.base/ending-run.c: Add eye-catchers.
5000 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5001 literal line numbers.
5002
5003 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5004
5005 * gdb.base/call-rt-st.c: Add eye-catchers.
5006 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5007 literal line numbers.
5008
5009 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5010
5011 * gdb.base/call-ar-st.c: Add eye-catchers.
5012 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5013 literal line numbers.
5014
5015 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5016
5017 * gdb.base/average.c: Add eye-catchers.
5018 * gdb.base/sum.c: Likewise.
5019 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5020 regexps dynamically.
5021
5022 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5023
5024 * gdb.base/solib1.c: Add eye-catchers.
5025 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5026 literal line numbers.
5027
5028 2014-11-12 Pedro Alves <palves@redhat.com>
5029
5030 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5031 leader has exited.
5032
5033 2014-11-12 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.arch/i386-bp_permanent.c: New file.
5036 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5037 (srcfile): Set to i386-bp_permanent.c.
5038 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5039 that stepi does not execute the 'leave' instruction, instead of
5040 testing it does execute.
5041 * gdb.base/bp-permanent.c: New file.
5042 * gdb.base/bp-permanent.exp: New file.
5043
5044 2014-11-10 Doug Evans <xdje42@gmail.com>
5045
5046 PR symtab/17564
5047 * gdb.base/symtab-search-order.exp: New file.
5048 * gdb.base/symtab-search-order.c: New file.
5049 * gdb.base/symtab-search-order-1.c: New file.
5050 * gdb.base/symtab-search-order-shlib-1.c: New file.
5051
5052 2014-11-07 Pedro Alves <palves@redhat.com>
5053
5054 PR gdb/17511
5055 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5056 i?86-*-linux*.
5057
5058 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5059
5060 PR c++/17494
5061 * gdb.cp/pr17494.cc: New file.
5062 * gdb.cp/pr17494.exp: New file.
5063
5064 2014-11-02 Yao Qi <yao@codesourcery.com>
5065
5066 * gdb.python/python.exp: Get working directory and match the
5067 output of "set extended-prompt \\w " with it.
5068
5069 2014-10-30 Doug Evans <dje@google.com>
5070
5071 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5072 in objfiles.
5073 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5074 in progspaces.
5075
5076 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5077
5078 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5079 * gdb.base/realname-expand.exp: Likewise.
5080 * gdb.linespec/macro-relative.exp: Likewise.
5081
5082 2014-10-29 Pedro Alves <palves@redhat.com>
5083
5084 PR gdb/17408
5085 * gdb.threads/schedlock.c (some_function): New function.
5086 (call_function): New global.
5087 (MAYBE_CALL_SOME_FUNCTION): New macro.
5088 (thread_function): Call it.
5089 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5090 and use it instead of a global counter. Adjust all callers.
5091 (get_current_thread): Use "find current thread" for test message
5092 here rather than having all callers pass down the same string.
5093 (goto_loop): New procedure, factored out from ...
5094 (my_continue): ... this.
5095 (step_ten_loops): Change parameter from test message to command to
5096 use. Adjust.
5097 (list_count): Delete global.
5098 (check_result): New procedure, factored out from duplicate top
5099 level code.
5100 (continue tests): Wrap in with_test_prefix.
5101 (test_step): New procedure, factored out from duplicate top level
5102 code.
5103 (top level): Test "step" in combination with all scheduler-locking
5104 modes. Test "next" in combination with all scheduler-locking
5105 modes, and in combination with stepping over a function call or
5106 not.
5107 * gdb.threads/next-bp-other-thread.c: New file.
5108 * gdb.threads/next-bp-other-thread.exp: New file.
5109
5110 2014-10-29 Pedro Alves <palves@redhat.com>
5111
5112 PR python/17372
5113 * gdb.python/python.exp: Test a multi-line command that spawns
5114 interactive Python.
5115 * gdb.base/multi-line-starts-subshell.exp: New file.
5116
5117 2014-10-29 Yao Qi <yao@codesourcery.com>
5118
5119 * gdb.base/fileio.exp: Make directories on host.
5120
5121 2014-10-29 Yao Qi <yao@codesourcery.com>
5122
5123 * gdb.base/fileio.c (test_write): Close the file.
5124
5125 2014-10-28 Pedro Alves <palves@redhat.com>
5126
5127 PR gdb/12623
5128 * gdb.base/sigstep.c (no_handler): New global.
5129 (main): If 'no_handler is true, set the signal handlers to
5130 SIG_IGN.
5131 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5132 with_sw_watch and no_handler parameters. Handle them.
5133 (top level) <stepping over handler when stopped at a breakpoint
5134 test>: Add a test axis for testing with a software watchpoint, and
5135 another for testing with the signal handler set to SIG_IGN.
5136 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5137 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5138
5139 2014-10-28 Pedro Alves <palves@redhat.com>
5140
5141 PR gdb/17511
5142 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5143 * gdb.base/sigstep.exp (other_handler_location): New global.
5144 (advance): Support stepping into the signal handler, and running
5145 commands while in the handler.
5146 (in_handler_map): New global.
5147 (top level): In the advance test, add combinations for getting
5148 into the handler with stepping commands, and for running commands
5149 in the handler. Add comment descripting the advancei tests.
5150
5151 2014-10-28 Pedro Alves <palves@redhat.com>
5152
5153 * gdb.base/sigstep.exp: Use build_executable instead of
5154 prepare_for_testing.
5155 (top level): Move code that starts GDB, runs to main and creates a
5156 display to ...
5157 (restart): ... this new procedure.
5158 (top level): Move backtrace from signal handler test to ...
5159 (validate_backtrace): ... this new procedure.
5160 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5161 with_test_prefix. Always restart GDB.
5162 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5163 with_test_prefix. Always restart GDB. No need to delete
5164 breakpoints after the test.
5165 (test_skip_handler): Remove prefix parameter.
5166 (skip_over_handler, breakpoint_to_handler)
5167 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5168 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5169 restart GDB. No need to delete breakpoints after the test.
5170 (top level): Use foreach to call the test procedures with
5171 different commands.
5172
5173 2014-10-28 Pedro Alves <palves@redhat.com>
5174
5175 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5176 instead of GNATS numbers.
5177 * gdb.base/sigbpt.exp: Likewise.
5178 * gdb.base/siginfo.exp: Likewise.
5179 * gdb.base/sigstep.exp: Likewise.
5180
5181 2014-10-27 Pedro Alves <palves@redhat.com>
5182
5183 * gdb.base/sigstep.c (dummy): New global.
5184 (main): Issue a couple writes to the new global.
5185 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5186 procedures.
5187 (skip_over_handler): Use test_skip_handler.
5188 (top level): Call skip_over_handler for stepi and nexti too.
5189 (breakpoint_over_handler): Use test_skip_handler.
5190 (top level): Call breakpoint_over_handler for stepi and nexti too.
5191
5192 2014-10-27 Yao Qi <yao@codesourcery.com>
5193
5194 * gdb.trace/tfile.c (adjust_function_address)
5195 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5196 function descriptor.
5197
5198 2014-10-24 Don Breazeal <donb@codesourcery.com>
5199
5200 * gdb.base/foll-fork.exp (test_follow_fork,
5201 catch_fork_child_follow): Check for updated fork messages emitted
5202 from infrun.c.
5203 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5204 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5205 vfork_and_exec_child_follow_through_step): Check for updated vfork
5206 messages emitted from infrun.c.
5207
5208 2014-10-24 Pedro Alves <palves@redhat.com>
5209
5210 * gdb.base/corefile.exp: Remove references to ultrix.
5211 * gdb.base/interrupt.exp: Likewise.
5212 * gdb.base/whatis.exp: Likewise.
5213 * gdb.gdb/selftest.exp: Likewise.
5214 * gdb.threads/manythreads.exp: Likewise.
5215 * gdb.threads/print-threads.exp: Likewise.
5216 * gdb.threads/pthreads.exp:: Likewise.
5217 * gdb.threads/schedlock.exp: Likewise.
5218
5219 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5220
5221 * gdb.cp/non-trivial-retval.cc: Add a test case.
5222 * gdb.cp/non-trivial-retval.exp: Add a test.
5223
5224 2014-10-20 Yao Qi <yao@codesourcery.com>
5225
5226 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5227 * gdb.python/py-objfile-script-gdb.py: New file.
5228 * gdb.python/py-objfile-script.exp: Update reference to
5229 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5230 of remote_download. Remove the dest file.
5231
5232 2014-10-20 Yao Qi <yao@codesourcery.com>
5233
5234 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5235 * gdb.base/step-line.exp: Likewise.
5236 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5237 * gdb.dwarf2/dw2-basic.exp: Likewise.
5238 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5239 * gdb.dwarf2/dw2-filename.exp: Likewise.
5240 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5241 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5242 * gdb.dwarf2/dw2-producer.exp: Likewise.
5243 * gdb.dwarf2/mac-fileno.exp: Likewise.
5244 * gdb.python/py-frame-args.exp: Likewise.
5245 * gdb.python/py-framefilter.exp: Likewise.
5246 * gdb.python/py-mi.exp: Likewise.
5247 * gdb.python/py-objfile-script.exp: Likewise
5248 * gdb.python/py-pp-integral.exp: Likewise.
5249 * gdb.python/py-pp-re-notag.exp: Likewise.
5250 * gdb.python/py-prettyprint.exp: Likewise.
5251 * gdb.python/py-section-script.exp: Likewise.
5252 * gdb.python/py-typeprint.exp: Likewise.
5253 * gdb.python/py-xmethods.exp: Likewise.
5254 * gdb.stabs/weird.exp: Likewise.
5255 * gdb.xml/tdesc-regs.exp: Likewise.
5256
5257 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5258
5259 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5260 (out_cu): Use addr_len for the size of addresses.
5261 (out_line): Likewise. Size DW_LNE_set_address instruction
5262 according to addr_len.
5263 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5264 (FUNC): Add START_INSNS to definition.
5265
5266 2014-10-18 Yao Qi <yao@codesourcery.com>
5267
5268 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5269 gdb_has_argv0 return true.
5270 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5271 check [target_info exists noargs], check [gdb_has_argv0]
5272 instead.
5273 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5274 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5275 procedures.
5276
5277 2014-10-17 Doug Evans <dje@google.com>
5278
5279 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5280 event.
5281 * gdb.python/py-events.py: Add clear_objfiles event.
5282
5283 2014-10-17 Doug Evans <dje@google.com>
5284
5285 * gdb.python/py-objfile.exp: Test progspace attribute.
5286
5287 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5288
5289 * gdb.guile/scm-breakpoint.exp: Do not assume any
5290 directory separators when matching source file paths.
5291 * gdb.python/py-breakpoint.exp: Likewise.
5292 * gdb.reverse/break-precsave.exp: Likewise.
5293 * gdb.reverse/break-reverse.exp: Likewise.
5294 * gdb.reverse/consecutive-precsave.exp: Likewise.
5295 * gdb.reverse/finish-precsave.exp: Likewise.
5296 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5297 * gdb.reverse/finish-reverse.exp: Likewise.
5298 * gdb.reverse/i386-precsave.exp: Likewise.
5299 * gdb.reverse/i387-env-reverse.exp: Likewise.
5300 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5301 * gdb.reverse/machinestate-precsave.exp: Likewise.
5302 * gdb.reverse/machinestate.exp: Likewise.
5303 * gdb.reverse/sigall-precsave.exp: Likewise.
5304 * gdb.reverse/solib-precsave.exp: Likewise.
5305 * gdb.reverse/step-precsave.exp: Likewise.
5306 * gdb.reverse/until-precsave.exp: Likewise.
5307 * gdb.reverse/watch-precsave.exp: Likewise.
5308 * gdb.reverse/watch-reverse.exp: Likewise.
5309
5310 2014-10-17 Yao Qi <yao@codesourcery.com>
5311
5312 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5313 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5314
5315 2014-10-17 Pedro Alves <palves@redhat.com>
5316
5317 PR gdb/17471
5318 * gdb.base/bg-execution-repeat.c: New file.
5319 * gdb.base/bg-execution-repeat.exp: New file.
5320
5321 2014-10-17 Pedro Alves <palves@redhat.com>
5322
5323 PR gdb/17300
5324 * gdb.base/continue-all-already-running.c: New file.
5325 * gdb.base/continue-all-already-running.exp: New file.
5326
5327 2014-10-17 Pedro Alves <palves@redhat.com>
5328
5329 PR gdb/17472
5330 * gdb.base/annota-input-while-running.c: New file.
5331 * gdb.base/annota-input-while-running.exp: New file.
5332
5333 2014-10-17 Pedro Alves <palves@redhat.com>
5334
5335 * gdb.base/callfuncs.exp: emove references to osf.
5336 * gdb.base/sigall.exp: Likewise.
5337 * gdb.gdb/selftest.exp: Likewise.
5338 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5339 * gdb.mi/non-stop.c: Likewise.
5340 * gdb.mi/pthreads.c: Likewise.
5341 * gdb.reverse/sigall-precsave.exp: Likewise.
5342 * gdb.reverse/sigall-reverse.exp: Likewise.
5343 * gdb.threads/pthreads.c: Likewise.
5344 * gdb.threads/pthreads.exp: Likewise.
5345
5346 2014-10-17 Yao Qi <yao@codesourcery.com>
5347
5348 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5349 check 'target_info exists noargs'.
5350 (test_command_prompt_position): Likewise.
5351 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5352 Remove "set args".
5353 (progvar_simple_while_test): Likewise.
5354 (progvar_complex_if_while_test): Likewise.
5355 (if_while_breakpoint_command_test): Likewise.
5356 (infrun_breakpoint_command_test): Likewise.
5357 (breakpoint_command_test): Likewise.
5358 (watchpoint_command_test): Likewise.
5359 (bp_deleted_in_command_test): Likewise.
5360 (temporary_breakpoint_commands): Likewise.
5361
5362 2014-10-16 Yao Qi <yao@codesourcery.com>
5363
5364 * gdb.base/remotetimeout.exp: Remove noargs checking.
5365
5366 2014-10-15 Pedro Alves <palves@redhat.com>
5367
5368 PR breakpoints/9649
5369 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5370 * gdb.base/breakpoint-in-ro-region.exp
5371 (probe_target_hardware_step): New procedure.
5372 (top level): Probe hardware stepping and hardware breakpoint
5373 support. Test stepping through a read-only region, with both
5374 "breakpoint auto-hw" on and off and both "always-inserted" on and
5375 off.
5376
5377 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5378
5379 * gdb.dlang/demangle.exp: Update for demangling changes.
5380
5381 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5382
5383 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5384 * gdb.cp/non-trivial-retval.exp: Add new tests.
5385
5386 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5387
5388 PR c++/13403
5389 PR c++/15154
5390 * gdb.cp/non-trivial-retval.cc: New file.
5391 * gdb.cp/non-trivial-retval.exp: New file.
5392
5393 2014-10-15 Yao Qi <yao@codesourcery.com>
5394
5395 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5396 remote host.
5397
5398 2014-10-15 Yao Qi <yao@codesourcery.com>
5399
5400 * gdb.python/py-symbol.exp: Match file base name if host is
5401 remote, otherwise match file name with dir name.
5402 * gdb.python/py-symtab.exp: Likewise.
5403 * gdb.python/python.exp: Likewise.
5404
5405 2014-10-15 Yao Qi <yao@codesourcery.com>
5406
5407 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5408 pattern.
5409 * gdb.python/py-symtab.exp: Likewise.
5410 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5411 locationn.
5412
5413 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5414
5415 * gdb.ada/addr_arith: New testcase.
5416
5417 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5418
5419 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5420 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5421 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5422 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5423
5424 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5425
5426 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5427 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5428 * gdb.arch/stap-eval-lang-ada.exp: New file.
5429
5430 2014-10-14 Yao Qi <yao@codesourcery.com>
5431
5432 * gdb.mi/mi-var-child.c (nothing1): New function.
5433 (nothing2): New function.
5434 (do_children_tests): Set function pointers by nothing1 and
5435 nothing2.
5436 * gdb.mi/mi-var-child.exp: Step over new added statements.
5437 Update test to match the new output.
5438 * gdb.mi/var-cmd.c (nothing1): New function.
5439 (nothing2): New function.
5440 (do_children_tests): Set function pointers by nothing1 and
5441 nothing2.
5442 * gdb.mi/mi-var-display.exp: Update test to match output.
5443 Step to the line specified by $line_dct_nothing.
5444 Increase the number of lines to step.
5445
5446 2014-10-14 Yao Qi <yao@codesourcery.com>
5447
5448 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5449 tests.
5450 * gdb.mi/mi2-var-child.exp: Likewise.
5451
5452 2014-10-13 Doug Evans <dje@google.com>
5453
5454 * gdb.python/py-objfile.exp: Change name of file name test.
5455
5456 2014-10-13 Doug Evans <dje@google.com>
5457
5458 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5459 from the start of the CU.
5460
5461 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5462 Yao Qi <yao@codesourcery.com>
5463
5464 Fix "save breakpoints" for "catch" command.
5465 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5466 Remove -nonewline. Match also the added "main" line.
5467
5468 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5469
5470 Fix "save breakpoints" for "disable $bpnum" command.
5471 * gdb.base/save-bp.c (main): Add label.
5472 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5473
5474 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5475
5476 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5477
5478 2014-10-11 Yao Qi <yao@codesourcery.com>
5479
5480 * gdb.server/server-kill.exp: Execute command
5481 "set remote trace-status-packet on" before "tstatus".
5482
5483 2014-10-11 Yao Qi <yao@codesourcery.com>
5484
5485 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5486 (main): Call getppid.
5487 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5488 and continue to it. Read variable "server_pid".
5489
5490 2014-10-11 Yao Qi <yao@codesourcery.com>
5491
5492 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5493
5494 2014-10-11 Yao Qi <yao@codesourcery.com>
5495
5496 * gdb.threads/thread-find.exp: Don't execute command
5497 "info threads".
5498 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5499 * gdb.threads/linux-dp.exp: Don't check the condition
5500 $threads_created equals to zero.
5501
5502 2014-10-10 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.base/bigcore.exp: Remove references to IRIX.
5505 * gdb.base/funcargs.exp: Likewise.
5506 * gdb.base/interrupt.exp: Likewise.
5507 * gdb.base/mips_pro.exp: Likewise.
5508 * gdb.base/nodebug.exp: Likewise.
5509 * gdb.base/setvar.exp: Likewise.
5510 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5511
5512 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5513 Pedro Alves <palves@redhat.com>
5514
5515 PR symtab/14466
5516 * gdb.base/vdso-warning.c: New file.
5517 * gdb.base/vdso-warning.exp: New file.
5518
5519 2014-10-02 Doug Evans <dje@google.com>
5520
5521 * gdb.base/structs.c (main): Don't run forever.
5522
5523 2014-10-02 Pedro Alves <palves@redhat.com>
5524
5525 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5526 (top level) <stop threads 1, stop threads 2>: Use it.
5527
5528 2014-10-02 Pedro Alves <palves@redhat.com>
5529
5530 * gdb.threads/break-while-running.exp (test): Add new
5531 'update_thread_list' argument. Skip "info threads" if false.
5532 (top level): Add new 'update_thread_list' axis.
5533
5534 2014-10-02 Pedro Alves <palves@redhat.com>
5535
5536 PR breakpoints/17431
5537 * gdb.base/execl-update-breakpoints.c: New file.
5538 * gdb.base/execl-update-breakpoints.exp: New file.
5539
5540 2014-10-01 Pedro Alves <palves@redhat.com>
5541
5542 * gdb.base/breakpoint-in-ro-region.c: New file.
5543 * gdb.base/breakpoint-in-ro-region.exp: New file.
5544
5545 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5546
5547 * gdb.mi/mi-exit-code.exp: New file.
5548 * gdb.mi/mi-exit-code.c: New file.
5549
5550 2014-09-30 Yao Qi <yao@codesourcery.com>
5551
5552 * lib/prelink-support.exp (build_executable_own_libs): Error if
5553 the target isn't native.
5554
5555 2014-09-30 Yao Qi <yao@codesourcery.com>
5556
5557 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5558 false.
5559
5560 2014-09-22 Pedro Alves <palves@redhat.com>
5561
5562 * gdb.threads/break-while-running.exp: New file.
5563 * gdb.threads/break-while-running.c: New file.
5564
5565 2014-09-19 Yao Qi <yao@codesourcery.com>
5566
5567 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5568 Invoke test. Restart GDB with --readnow and invoke test again.
5569
5570 2014-09-19 Yao Qi <yao@codesourcery.com>
5571
5572 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5573 proc set_breakpoint_on_gcd_function. Invoke
5574 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5575 invoke set_breakpoint_on_gcd_function again.
5576
5577 2014-09-18 Doug Evans <dje@google.com>
5578
5579 * gdb.dwarf2/symtab-producer.exp: New file.
5580
5581 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5582
5583 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5584 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5585 * gdb.base/global-var-nested-by-dso.c: Likewise.
5586 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5587
5588 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5589 Pedro Alves <palves@redhat.com>
5590
5591 * gdb.base/watch-bitfields.exp: Pass string other than test file
5592 name to prepare_for_testing.
5593 (watch): New procedure.
5594 (expect_watchpoint): Use with_test_prefix.
5595 (top level): Factor out tests to ...
5596 (test_watch_location, test_regular_watch): ... these new
5597 procedures, and use with_test_prefix and gdb_continue_to_end.
5598
5599 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5600
5601 PR breakpoints/12526
5602 * gdb.base/watch-bitfields.exp: New file.
5603 * gdb.base/watch-bitfields.c: New file.
5604
5605 2014-09-16 Pedro Alves <palves@redhat.com>
5606
5607 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5608 software and hardware addresses, not software address against
5609 itself.
5610
5611 2014-09-16 Pedro Alves <palves@redhat.com>
5612
5613 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5614 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5615
5616 2014-09-16 Pedro Alves <palves@redhat.com>
5617
5618 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5619 files.
5620 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5621 "*-*-vxworks*" throughout.
5622 * gdb.base/break.exp: Likewise.
5623 * gdb.base/default.exp: Likewise.
5624 * gdb.base/scope.exp: Likewise.
5625 * gdb.base/sepdebug.exp: Likewise.
5626 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5627 throughout.
5628 * gdb.base/run.c: Likewise.
5629 * gdb.base/sepdebug.c: Likewise.
5630 * gdb.hp/gdb.aCC/run.c: Likewise.
5631 * gdb.reverse/until-reverse.c: Likewise.
5632 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5633
5634 2014-09-16 Yao Qi <yao@codesourcery.com>
5635
5636 * boards/local-remote-host-native.exp: New file.
5637
5638 2014-09-14 Doug Evans <xdje42@gmail.com>
5639
5640 * gdb.threads/queue-signal.c (thread_count): New variable.
5641 (thread_count_mutex, thread_count_condvar): New variables.
5642 (incr_thread_count, wait_all_threads_running): New functions.
5643 (main): Wait for all threads to be in their thread functions.
5644
5645 2014-09-13 Doug Evans <xdje42@gmail.com>
5646
5647 * gdb.threads/queue-signal.c: New file.
5648 * gdb.threads/queue-signal.exp: New file.
5649
5650 2014-09-13 Doug Evans <xdje42@gmail.com>
5651
5652 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5653 be consistent with what default_gdb_init uses.
5654 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5655 the plain text of the prompt. Add some logging printfs.
5656 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5657
5658 2014-09-12 Pedro Alves <palves@redhat.com>
5659
5660 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5661 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5662 * gdb.arch/i386-size-overlap.exp: Likewise.
5663 * gdb.arch/i386-size.exp: Likewise.
5664 * gdb.arch/i386-unwind.exp: Likewise.
5665 * gdb.base/a2-run.exp: Likewise.
5666 * gdb.base/break.exp: Likewise.
5667 * gdb.base/charset.exp: Likewise.
5668 * gdb.base/chng-syms.exp: Likewise.
5669 * gdb.base/commands.exp: Likewise.
5670 * gdb.base/dbx.exp: Likewise.
5671 * gdb.base/find.exp: Likewise.
5672 * gdb.base/funcargs.exp: Likewise.
5673 * gdb.base/jit-simple.exp: Likewise.
5674 * gdb.base/reread.exp: Likewise.
5675 * gdb.base/sepdebug.exp: Likewise.
5676 * gdb.base/step-bt.exp: Likewise.
5677 * gdb.cp/mb-inline.exp: Likewise.
5678 * gdb.cp/mb-templates.exp: Likewise.
5679 * gdb.objc/basicclass.exp: Likewise.
5680 * gdb.threads/killed.exp: Likewise.
5681
5682 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5683
5684 PR tdep/17379
5685 * gdb.arch/powerpc-stackless.S: New file.
5686 * gdb.arch/powerpc-stackless.exp: New file.
5687
5688 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5689
5690 * gdb.base/attach.c: Include unistd.h.
5691 (main): Call alarm. Add label postloop.
5692 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5693 gdb_breakpoint, gdb_continue_to_breakpoint.
5694 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5695
5696 2014-09-11 Pedro Alves <palves@redhat.com>
5697
5698 PR gdb/17347
5699 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5700 * gdb.base/attach.exp (test_command_line_attach_run): New
5701 procedure.
5702 (top level): Call it.
5703
5704 2014-09-11 Pedro Alves <palves@redhat.com>
5705
5706 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5707 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5708 (do_command_attach_tests): Use spawn_wait_for_attach.
5709 * gdb.base/solib-overlap.exp: Likewise.
5710 * gdb.multi/multi-attach.exp: Likewise.
5711 * gdb.python/py-prompt.exp: Likewise.
5712 * gdb.python/py-sync-interp.exp: Likewise.
5713 * gdb.server/ext-attach.exp: Likewise.
5714
5715 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5716
5717 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5718 command in testcase. Simplify testcase.
5719
5720 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5721
5722 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5723
5724 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5725
5726 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5727
5728 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5729
5730 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5731
5732 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5733
5734 * gdb.dwarf2/dynarr-ptr.c: New file.
5735 * gdb.dwarf2/dynarr-ptr.exp: New file.
5736
5737 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5738
5739 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5740 of 30 rather than hardcoding 120 for a slow test case. Take the
5741 `gdb,timeout' target setting into account for this calculation.
5742 Don't extend the timeout for the test cases that don't need it.
5743
5744 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5745
5746 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5747 a factor of 2 for a slow test case. Take the `gdb,timeout'
5748 target setting into account for this calculation.
5749 * gdb.reverse/until-precsave.exp: Increase the timeout by
5750 a factor of 15 and 3 respectively rather than adding 120
5751 for a pair of slow test cases. Take the `gdb,timeout'
5752 target setting into account for this calculation.
5753
5754 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5755
5756 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5757 timeout, don't pass one down to gdb_expect.
5758 (gdb_expect): Rework timeout selection.
5759
5760 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5761
5762 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5763 exception on timeout.
5764 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5765 (gdbserver_start_extended): Catch any `gdbserver_start' error
5766 exceptions.
5767 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5768 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5769 `gdbserver_gdb_load' error exceptions.
5770
5771 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5772
5773 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5774 120 on waiting for the TCP socket to open.
5775
5776 2014-09-09 Doug Evans <xdje42@gmail.com>
5777
5778 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5779 _caller_matches, _any_caller_is, _any_caller_matches.
5780
5781 2014-09-09 Doug Evans <xdje42@gmail.com>
5782
5783 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5784
5785 2014-09-09 Yao Qi <yao@codesourcery.com>
5786
5787 * gdb.mi/mi-var-display.exp: Set print symbol off.
5788
5789 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5790
5791 PR gdb/17035
5792 * gdb.base/commands.exp: Add tests to verify user-defined
5793 commands with empty bodies.
5794 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5795 python commands in `show user command`.
5796 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5797 scheme commands in `show user command`.
5798
5799 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5800
5801 PR python/17355
5802 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5803 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5804 * gdb.python/py-framefilter-invalidarg.exp: New file.
5805 * gdb.python/py-framefilter-invalidarg.py: New file.
5806
5807 2014-09-06 Doug Evans <xdje42@gmail.com>
5808
5809 PR 15276
5810 * gdb.python/py-caller-is.c: New file.
5811 * gdb.python/py-caller-is.exp: New file.
5812
5813 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5814
5815 PR gdb/17235
5816 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5817 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5818
5819 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5820
5821 PR fortran/17237
5822 * gdb.fortran/print-formatted.exp: New file.
5823 * gdb.fortran/print-formatted.f90: Likewise.
5824
5825 2014-09-03 Sasha Smundak <asmundak@google.com>
5826
5827 * gdb.python/py-frame.exp: Test Frame.read_register.
5828
5829 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5830
5831 PR python/16699
5832 * gdb.python/py-completion.exp: New file.
5833 * gdb.python/py-completion.py: Likewise.
5834
5835 2014-08-28 Doug Evans <dje@google.com>
5836
5837 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5838 eax,etc. are live with values set by gdb and thus the compiler can't
5839 use them.
5840 * gdb.arch/i386-pseudo.c (main): Ditto.
5841
5842 2014-08-27 Doug Evans <dje@google.com>
5843
5844 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5845
5846 2014-08-25 Doug Evans <dje@google.com>
5847
5848 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5849 (main): Ditto.
5850
5851 2014-08-25 Doug Evans <dje@google.com>
5852
5853 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5854
5855 2014-08-24 Yao Qi <yao@codesourcery.com>
5856
5857 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5858 symbol off.
5859 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5860
5861 2014-08-22 Doug Evans <dje@google.com>
5862
5863 PR 17276
5864 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5865 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5866 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5867
5868 2014-08-22 Yao Qi <yao@codesourcery.com>
5869
5870 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5871 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5872 * gdb.python/python.exp: Likewise. Use .py file on the host
5873 instead of the build.
5874
5875 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5876
5877 * gdb.threads/gcore-stale-thread.c: New file.
5878 * gdb.threads/gcore-stale-thread.exp: New file.
5879
5880 2014-08-21 Pedro Alves <palves@redhat.com>
5881
5882 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5883 * gdb.base/gcore-relro-pie.exp: Likewise.
5884 * gdb.base/gcore-relro.exp: Likewise.
5885 * gdb.base/gcore.exp: Likewise.
5886 * gdb.base/print-symbol-loading.exp: Likewise.
5887 * gdb.threads/gcore-thread.exp: Likewise.
5888 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5889
5890 2014-08-20 Pedro Alves <palves@redhat.com>
5891 Jan Kratochvil <jan.kratochvil@redhat.com>
5892
5893 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5894 configure.
5895 (EXPECT): Handle READ1 being set.
5896 (all): Depend on EXTRA_RULES.
5897 (check-read1, expect-read1, read1.so, read1): New rules.
5898 * README (Testsuite Parameters): Document the READ1 make variable.
5899 (Race detection): New section.
5900 * configure: Regenerate.
5901 * configure.ac: If build==host==target, and running under a
5902 GNU/glibc system, add read1 to the extra Makefile rules.
5903 (EXTRA_RULES): AC_SUBST it.
5904 * lib/read1.c: New file.
5905
5906 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5907
5908 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5909 the handling of variables declared as a typedef to an array
5910 which a DW_AT_data_location attribute.
5911
5912 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5913 Pedro Alves <palves@redhat.com>
5914
5915 PR symtab/14604
5916 PR symtab/14605
5917 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5918 gdb_test.
5919
5920 2014-08-19 Pedro Alves <palves@redhat.com>
5921
5922 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5923
5924 2014-08-19 Yao Qi <yao@codesourcery.com>
5925
5926 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5927 right line.
5928
5929 2014-08-18 David Blaikie <dblaikie@gmail.com>
5930
5931 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5932
5933 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5934
5935 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5936 attribute in array range.
5937
5938 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5939
5940 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5941
5942 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5943
5944 PR c++/17132
5945 * gdb.cp/pr17132.cc: New file.
5946 * gdb.cp/pr17132.exp: New file.
5947
5948 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5949
5950 * gdb.python/py-xmethods.py (A_getarrayind)
5951 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5952 Use 'print' with function call syntax.
5953 (E_method_matcher.match): Fix tab vs space indentation mixup.
5954
5955 2014-08-15 Yao Qi <yao@codesourcery.com>
5956
5957 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5958 false.
5959
5960 2014-08-15 Yao Qi <yao@codesourcery.com>
5961
5962 * gdb.cp/casts.exp: Set print symbol off.
5963 * gdb.cp/class2.exp: Likewise.
5964 * gdb.cp/overload.exp: Likewise.
5965 * gdb.cp/templates.exp: Likewise.
5966
5967 2014-08-11 Doug Evans <dje@google.com>
5968
5969 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5970 (test_load_shlib): Update.
5971
5972 2014-08-09 Yao Qi <yao@codesourcery.com>
5973
5974 * gdb.base/display.exp: Invoke is_address_zero_readable.
5975 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5976 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5977 * gdb.base/hbreak-unmapped.exp: Return if
5978 is_address_zero_readable returns true.
5979 * gdb.base/signest.exp: Likewise.
5980 * gdb.base/signull.exp: Likewise.
5981 * gdb.base/sigbpt.exp: Likewise.
5982 * gdb.guile/scm-disasm.exp: Do the test if
5983 is_address_zero_readable returns false.
5984 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5985 * gdb.python/py-arch.exp: Likewise.
5986 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5987 * lib/gdb.exp (is_address_zero_readable): New proc.
5988
5989 2014-08-09 Yao Qi <yao@codesourcery.com>
5990
5991 PR testsuite/13443
5992 * gdb.mi/mi-var-display.exp: Make test messages unique.
5993
5994 2014-08-04 Tom Tromey <tromey@redhat.com>
5995
5996 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5997 target 0".
5998
5999 2014-08-04 Tom Tromey <tromey@redhat.com>
6000
6001 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6002 "target_resume".
6003
6004 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6005
6006 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6007 inner_vla_struct_object_size.
6008 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6009 as xfail.
6010
6011 2014-07-30 Pedro Alves <palves@redhat.com>
6012
6013 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6014 comment.
6015
6016 2014-07-29 Yao Qi <yao@codesourcery.com>
6017
6018 PR gdb/17206
6019 * gdb.base/until-nodebug.exp: New.
6020
6021 2014-07-28 Doug Evans <xdje42@gmail.com>
6022
6023 PR guile/17203
6024 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6025 previously existing parameter, and previously ambiguously spelled
6026 parameter.
6027
6028 2014-07-28 Will Newton <will.newton@linaro.org>
6029
6030 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6031
6032 2014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
6033 Doug Evans <xdje42@gmail.com>
6034
6035 PR guile/17146
6036 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6037
6038 2014-07-25 Pedro Alves <palves@redhat.com>
6039
6040 * gdb.threads/signal-command-handle-nopass.c: New file.
6041 * gdb.threads/signal-command-handle-nopass.exp: New file.
6042 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6043 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6044 * gdb.threads/signal-delivered-right-thread.c: New file.
6045 * gdb.threads/signal-delivered-right-thread.exp: New file.
6046
6047 2014-07-25 Pedro Alves <palves@redhat.com>
6048
6049 * gdb.base/double-prompt-target-event-error.exp
6050 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6051 match.
6052 (cancel_pagination_in_target_event): Rework double prompt
6053 detection.
6054 * gdb.base/paginate-after-ctrl-c-running.exp
6055 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6056 <return>' match.
6057 * gdb.base/paginate-bg-execution.exp
6058 (test_bg_execution_pagination_return)
6059 (test_bg_execution_pagination_cancel): Remove '-notransfer
6060 <return>' matches.
6061 * gdb.base/paginate-execution-startup.exp
6062 (test_fg_execution_pagination_return)
6063 (test_fg_execution_pagination_cancel): Remove '-notransfer
6064 <return>' matches.
6065 * gdb.base/paginate-inferior-exit.exp
6066 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6067 match.
6068 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6069 * lib/gdb.exp (pagination_prompt): Run text through
6070 string_to_regexp.
6071 (gdb_test_multiple): Match $pagination_prompt instead of
6072 "<return>".
6073 (string_to_regexp): Move to lib/gdb-utils.exp.
6074
6075 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6076
6077 * gdb.arch/amd64-entry-value-paramref.S: New file.
6078 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6079 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6080 * gdb.arch/amd64-optimout-repeat.S: New file.
6081 * gdb.arch/amd64-optimout-repeat.c: New file.
6082 * gdb.arch/amd64-optimout-repeat.exp: New file.
6083
6084 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6085
6086 PR gdb/17170
6087 * gdb.base/statistics.exp: New file.
6088
6089 2014-07-17 Doug Evans <dje@google.com>
6090
6091 PR gdb/17170
6092 * gdb.base/maint.exp: Update testing of per-command stats.
6093
6094 2014-07-16 Pedro Alves <palves@redhat.com>
6095
6096 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6097 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6098 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6099 (tfile_write_buf): New functions.
6100 (add_memory_block): Rewrite using the above.
6101 (adjust_function_address): New function.
6102 (FUNCTION_ADDRESS): New macro.
6103 (write_basic_trace_file): Remove short_x local, and use
6104 tfile_write_16. Change type of func_addr local to unsigned long
6105 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6106 here. Cast argument of add_memory_block to char pointer.
6107 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6108 (main): Remove parameters.
6109 * gdb.trace/tfile.exp: Remove nowarnings.
6110
6111 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6112
6113 * gdb.base/debug-expr.exp: Test string evaluation with
6114 "debug expression" on.
6115
6116 2014-07-15 Pedro Alves <palves@redhat.com>
6117
6118 * gdb.base/reread.exp: Use clean_restart.
6119
6120 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6121
6122 * gdb.arch/avr-flash-qualifer.c: New.
6123 * gdb.arch/avr-flash-qualifer.exp: New.
6124
6125 2014-07-14 Pedro Alves <palves@redhat.com>
6126
6127 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6128 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6129
6130 2014-07-14 Pedro Alves <palves@redhat.com>
6131
6132 * gdb.base/double-prompt-target-event-error.c: New file.
6133 * gdb.base/double-prompt-target-event-error.exp: New file.
6134
6135 2014-07-14 Pedro Alves <palves@redhat.com>
6136
6137 PR gdb/17072
6138 * gdb.base/paginate-inferior-exit.c: New file.
6139 * gdb.base/paginate-inferior-exit.exp: New file.
6140
6141 2014-07-14 Pedro Alves <palves@redhat.com>
6142
6143 PR gdb/17072
6144 * gdb.base/paginate-bg-execution.c: New file.
6145 * gdb.base/paginate-bg-execution.exp: New file.
6146
6147 2014-07-14 Pedro Alves <palves@redhat.com>
6148
6149 PR gdb/17072
6150 * gdb.base/paginate-execution-startup.c: New file.
6151 * gdb.base/paginate-execution-startup.exp: New file.
6152 * lib/gdb.exp (pagination_prompt): New global.
6153 (default_gdb_spawn): New procedure, factored out from
6154 default_gdb_spawn.
6155 (default_gdb_start): Adjust to call default_gdb_spawn.
6156 (gdb_spawn): New procedure.
6157
6158 2014-07-14 Pedro Alves <palves@redhat.com>
6159
6160 * lib/gdb.exp (gdb_assert): New procedure.
6161 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6162
6163 2014-07-14 Pedro Alves <palves@redhat.com>
6164
6165 * gdb.base/execution-termios.c: New file.
6166 * gdb.base/execution-termios.exp: New file.
6167
6168 2014-07-14 Tom Tromey <tromey@redhat.com>
6169
6170 * gdb.cp/vla-cxx.cc: New file.
6171 * gdb.cp/vla-cxx.exp: New file.
6172
6173 2014-07-14 Tom Tromey <tromey@redhat.com>
6174
6175 * gdb.reverse/rerun-prec.c: New file.
6176 * gdb.reverse/rerun-prec.exp: New file.
6177
6178 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6179 Maciej W. Rozycki <macro@codesourcery.com>
6180
6181 * lib/gdb-utils.exp: New file.
6182 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6183 inline `gdb_init_command' processing.
6184 (gdb_start_cmd): Likewise.
6185 * lib/mi-support.exp (mi_run_cmd): Likewise.
6186 * README: Document `gdb_init_command' and `gdb_init_commands'.
6187
6188 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6189
6190 Fix false FAIL running under a very long directory name.
6191 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6192 and "set print elements 10000". Twice.
6193
6194 2014-07-11 Yao Qi <yao@codesourcery.com>
6195
6196 * gdb.base/exprs.exp: "set print symbol off".
6197
6198 2014-07-11 Pedro Alves <palves@redhat.com>
6199
6200 * gdb.threads/kill.c: New file.
6201 * gdb.threads/kill.exp: New file.
6202
6203 2014-07-10 Yao Qi <yao@codesourcery.com>
6204
6205 * gdb.trace/tfile.c (write_basic_trace_file)
6206 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6207 address written to trace file.
6208
6209 2014-07-09 Pedro Alves <palves@redhat.com>
6210
6211 * gdb.base/attach-wait-input.exp: New file.
6212 * gdb.base/attach-wait-input.c: New file.
6213
6214 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6215
6216 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6217 setting up test structures.
6218 (main): Call new test function.
6219 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6220 test function, continue into test function and walk test
6221 structures.
6222
6223 2014-07-02 Yao Qi <yao@codesourcery.com>
6224
6225 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6226 'bar_start' at the beginning of functions 'foo' and 'bar'
6227 respectively.
6228 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6229 instead of 'foo' and 'bar'.
6230
6231 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6232
6233 * gdb.btrace/segv.exp: New.
6234 * gdb.btrace/segv.c: New.
6235
6236 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6237
6238 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6239 instruction.
6240
6241 2014-06-30 Mark Wielaard <mjw@redhat.com>
6242
6243 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6244 vulture, vilify, villar): New volatile array constants.
6245 (vindictive, vegetation): New const volatile array constants.
6246 * gdb.base/volatile.exp: Test volatile and const volatile array
6247 types.
6248
6249 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6250
6251 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6252 target lacks support for awatch, rwatch, or hbreak.
6253
6254 2014-06-27 Yao Qi <yao@codesourcery.com>
6255
6256 * gdb.multi/dummy-frame-restore.exp: New.
6257 * gdb.multi/dummy-frame-restore.c: New.
6258
6259 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6260
6261 * gdb.btrace/gcore.exp: New.
6262
6263 2014-06-23 Pedro Alves <palves@redhat.com>
6264
6265 * gdb.base/watchpoint-reuse-slot.c: New file.
6266 * gdb.base/watchpoint-reuse-slot.exp: New file.
6267
6268 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6269
6270 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6271 progspace's filename in 'info', 'enable' and 'disable' command
6272 tests.
6273
6274 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6275
6276 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6277 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6278 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6279
6280 2014-06-20 Gary Benson <gbenson@redhat.com>
6281
6282 * gdb.arch/i386-avx.exp: Fix include file location.
6283 * gdb.arch/i386-sse.exp: Likewise.
6284
6285 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6286
6287 * gdb.dlang/expression.exp: New file.
6288
6289 2014-06-19 Pedro Alves <palves@redhat.com>
6290
6291 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6292 out from ...
6293 (top level): ... here. Iterate running tests under different
6294 scheduler-locking settings.
6295
6296 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6297
6298 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6299 to DW_FORM_addr and use non-zero addresses.
6300
6301 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6302
6303 PR gdb/17017
6304 * gdb.python/py-xmethods.cc: Add global function call counters and
6305 increment them in their respective functions. Remove "cout"
6306 statements.
6307 * gdb.python/py-xmethods.exp: Make tests check the global function
6308 call counters instead of depending on inferior IO.
6309
6310 2014-06-18 Don Breazeal <donb@codesourcery.com>
6311
6312 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6313 Deleted procedure.
6314 (explicit_fork_parent_follow): Deleted procedure.
6315 (explicit_fork_child_follow): Deleted procedure.
6316 (test_follow_fork): New procedure.
6317 (do_fork_tests): Replace calls to deleted procedures with
6318 calls to test_follow_fork and reset GDB for subsequent
6319 procedure calls.
6320
6321 2014-06-17 Yao Qi <yao@codesourcery.com>
6322
6323 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6324 CP1252.
6325
6326 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6327
6328 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6329 Initialize ptr and S explicitly.
6330 (skip_type_update_when_not_use_rtti_test): Likewise.
6331
6332 2014-06-16 Keith Seitz <keiths@redhat.com>
6333
6334 PR mi/15863
6335 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6336 the inferior is started.
6337
6338 2014-06-16 Pedro Alves <palves@redhat.com>
6339
6340 * gdb.base/break-main-file-remove-fail.c: New file.
6341 * gdb.base/break-main-file-remove-fail.exp: New file.
6342 * gdb.base/break-unload-file.exp: Use build_executable instead of
6343 prepare_for_testing.
6344 (test_break): New parameter "initial_load". Handle it.
6345 (top level): Add initial_load cmdline/file axis.
6346
6347 2014-06-12 Tom Tromey <tromey@redhat.com>
6348
6349 * gdb.base/completion.exp: Don't use directory name in test.
6350
6351 2014-06-09 Gary Benson <gbenson@redhat.com>
6352
6353 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6354 separate the always-available ANSI-standard signals from the
6355 signals that require checking.
6356 (main): Likewise.
6357 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6358 Likewise.
6359 (main): Likewise.
6360
6361 2014-06-07 Keith Seitz <keiths@redhat.com>
6362
6363 Revert:
6364 PR c++/16253
6365 * gdb.cp/var-tag.cc: New file.
6366 * gdb.cp/var-tag.exp: New file.
6367 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6368 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6369 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6370 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6371
6372 2014-06-06 Doug Evans <xdje42@gmail.com>
6373
6374 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6375
6376 2014-06-06 Pedro Alves <palves@redhat.com>
6377
6378 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6379 in target debug output instead of looking at RSP packets,
6380 disabling the test on any target that uses hardware stepping.
6381 Update comments.
6382
6383 2014-06-06 Pedro Alves <palves@redhat.com>
6384
6385 * gdb.base/break-unload-file.exp: Fix typo.
6386
6387 2014-06-06 Yao Qi <yao@codesourcery.com>
6388
6389 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6390 from "jit_function" to "^jit_function".
6391
6392 2014-06-06 Yao Qi <yao@codesourcery.com>
6393
6394 * gdb.base/async.c (foo): Add one statement.
6395 * gdb.base/async.exp: Get the next instruction address and
6396 match the output of "nexti" by instruction address. Match
6397 the hex address in the output of "finish".
6398
6399 2014-06-06 Gary Benson <gbenson@redhat.com>
6400
6401 * gdb.base/call-signals.c: Remove preprocessor conditionals
6402 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6403 SIGSEGV and SIGTERM.
6404 * gdb.base/sigall.c: Likewise.
6405 * gdb.base/unwindonsignal.c: Likewise.
6406 * gdb.reverse/sigall-reverse.c: Likewise.
6407
6408 2014-06-06 Yao Qi <yao@codesourcery.com>
6409
6410 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6411 readable, skip the test.
6412
6413 2014-06-06 Yao Qi <yao@codesourcery.com>
6414
6415 * gdb.threads/staticthreads.c (thread_function): Move the line
6416 setting breakpoint on forward.
6417 * gdb.threads/staticthreads.exp: Update comments.
6418
6419 2014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
6420
6421 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6422 "history-append! type error".
6423
6424 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6425
6426 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6427 erroneous dprintf expected input.
6428
6429 2014-06-04 Doug Evans <xdje42@gmail.com>
6430
6431 * gdb.guile/scm-generics.exp: Delete.
6432
6433 2014-06-04 Doug Evans <xdje42@gmail.com>
6434
6435 * gdb.guile/scm-breakpoint.exp: Update.
6436 Add tests for breakpoint registration.
6437
6438 2014-06-04 Tom Tromey <tromey@redhat.com>
6439
6440 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6441 VLA-in-union.
6442 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6443 inner_vla_struct, vla_union types. Initialize objects of those
6444 types and compute their sizes.
6445
6446 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6447 Hui Zhu <hui@codesourcery.com>
6448
6449 * gdb.base/fileio.exp: Add test for shell not available as well as
6450 available.
6451 * gdb.base/fileio.c (test_system): Check for shell twice.
6452
6453 2014-06-04 Yao Qi <yao@codesourcery.com>
6454
6455 * gdb.base/auto-connect-native-target.exp: Remove redundant
6456 space from the regexp pattern.
6457
6458 2014-06-04 Yao Qi <yao@codesourcery.com>
6459
6460 * gdb.base/default.exp: Replace "child" with "native" in
6461 regexp pattern.
6462
6463 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6464
6465 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6466 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6467 * gdb.python/py-xmethods.py: Python script supporting the
6468 new testcase and tests.
6469
6470 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6471 Pedro Alves <palves@redhat.com>
6472
6473 PR breakpoints/17000
6474 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6475 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6476
6477 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6478
6479 * gdb.base/subst.exp: Add tests to verify partial path matching
6480 output.
6481
6482 2014-06-03 Pedro Alves <palves@redhat.com>
6483
6484 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6485 target that doesn't use software single-stepping.
6486
6487 2014-06-03 Pedro Alves <palves@redhat.com>
6488
6489 PR breakpoints/17000
6490 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6491 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6492
6493 2014-06-02 Doug Evans <xdje42@gmail.com>
6494
6495 * gdb.guile/scm-parameter.exp: New file.
6496
6497 2014-06-02 Doug Evans <xdje42@gmail.com>
6498
6499 * gdb.guile/scm-cmd.c: New file.
6500 * gdb.guile/scm-cmd.exp: New file.
6501
6502 2014-06-02 Doug Evans <xdje42@gmail.com>
6503
6504 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6505 pretty-printer lookup.
6506 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6507 (make-pp_s-printer): Call it.
6508 (make-pretty-printer-from-dict): New function.
6509 (lookup-pretty-printer-maker-from-dict): New function.
6510 (*pretty-printer*): Simplify.
6511 (make-objfile-pp_s-printer): New function.
6512 (install-objfile-pretty-printers!): New function.
6513 (make-progspace-pp_s-printer): New function.
6514 (install-progspace-pretty-printers!): New function.
6515 * gdb.guile/scm-progspace.c: New file.
6516 * gdb.guile/scm-progspace.exp: New file.
6517
6518 2014-06-02 Pedro Alves <palves@redhat.com>
6519
6520 * gdb.base/dprintf-bp-same-addr.c: New file.
6521 * gdb.base/dprintf-bp-same-addr.exp: New file.
6522
6523 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6524
6525 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6526 * gdb.arch/powerpc-power.s: Likewise.
6527
6528 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6529
6530 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6531
6532 2014-06-01 Yao Qi <yao@codesourcery.com>
6533
6534 * gdb.base/watchpoint.exp (test_watch_location): Check null
6535 pointer can be dereferenced. If not, do the test, otherwise
6536 skip it.
6537
6538 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6539
6540 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6541 results.
6542 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6543
6544 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6545
6546 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6547 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6548 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6549 * gdb.arch/amd64-invalid-stack-top.c: New file.
6550 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6551
6552 2014-05-30 Pedro Alves <palves@redhat.com>
6553
6554 PR breakpoints/17000
6555 * gdb.base/sss-bp-on-user-bp.c: New file.
6556 * gdb.base/sss-bp-on-user-bp.exp: New file.
6557
6558 2014-05-30 David Blaikie <dblaikie@gmail.com>
6559
6560 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6561 gnu_inline semantics via attribute.
6562 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6563 source explicitly specifies the required semantics.
6564
6565 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6566
6567 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6568
6569 2014-05-29 Pedro Alves <palves@redhat.com>
6570 Tom Tromey <tromey@redhat.com>
6571
6572 * gdb.base/async-shell.exp: Don't enable target-async.
6573 * gdb.base/async.exp
6574 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6575 parameter. Adjust.
6576 (top level): Don't test with "target-async".
6577 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6578 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6579 * gdb.base/inferior-died.exp: Don't enable target-async.
6580 * gdb.base/interrupt-noterm.exp: Likewise.
6581 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6582 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6583 * gdb.mi/mi-nonstop.exp: Likewise.
6584 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6585 * gdb.mi/mi-nsintrall.exp: Likewise.
6586 * gdb.mi/mi-nsmoribund.exp: Likewise.
6587 * gdb.mi/mi-nsthrexec.exp: Likewise.
6588 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6589 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6590 * gdb.python/py-evsignal.exp: Don't enable target-async.
6591 * gdb.python/py-evthreads.exp: Likewise.
6592 * gdb.python/py-prompt.exp: Likewise.
6593 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6594 * gdb.server/solib-list.exp: Don't enable target-async.
6595 * gdb.threads/thread-specific-bp.exp: Likewise.
6596 * lib/mi-support.exp: Adjust to use mi-async.
6597
6598 2014-05-29 Pedro Alves <palves@redhat.com>
6599
6600 PR gdb/13860
6601 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6602 reason, even in sync mode.
6603
6604 2014-05-29 Pedro Alves <palves@redhat.com>
6605 Hui Zhu <hui@codesourcery.com>
6606
6607 PR PR15693
6608 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6609 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6610 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6611 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6612
6613 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6614
6615 * config/monitor.exp (gdb_target_monitor): Replace use of
6616 "set remotebaud" by "set serial baud".
6617
6618 2014-05-26 Andy Wingo <wingo@igalia.com>
6619
6620 * gdb.guile/scm-breakpoint.exp:
6621 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6622 properties instead of gdb-object-properties.
6623
6624 2014-05-26 Yao Qi <yao@codesourcery.com>
6625
6626 * gdb.server/no-thread-db.exp: Specify source file name
6627 explicitly when setting a breakpoint.
6628
6629 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6630
6631 * gdb.btrace/vdso.c: New.
6632 * gdb.btrace/vdso.exp: New.
6633
6634 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6635
6636 * gdb.base/gcore.exp (capture_command_output): Move ...
6637 * lib/gdb.exp (capture_command_output): ... here.
6638
6639 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6640
6641 * gdb.btrace/data.exp: Test memory access during btrace replay.
6642
6643 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6644
6645 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6646
6647 2014-05-21 Pedro Alves <palves@redhat.com>
6648
6649 PR gdb/13860
6650 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6651 (top level): Test that output related to execution commands is
6652 sent to the console with CLI commands, but not with MI commands.
6653 Test that breakpoint events are always mirrored to the console.
6654 Also expect the new source line to be output after a "next" in
6655 async mode too. Make it a pass/fail test.
6656 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6657 output.
6658 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6659
6660 2014-05-21 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6663 Use them to test variations of "list" after reaching a breakpoint.
6664 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6665 Test "list" with listsize 10 after reaching a breakpoint.
6666 * gdb.python/python.exp (decode_line current location line
6667 number): Adjust expected line number.
6668
6669 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6670
6671 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6672 behavior for $args, pass it directly to "run".
6673
6674 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6675
6676 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6677 30000 to 65536.
6678
6679 2014-05-21 Pedro Alves <palves@redhat.com>
6680
6681 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6682 auto-connect-native-target off".
6683 * gdb.base/auto-connect-native-target.c: New file.
6684 * gdb.base/auto-connect-native-target.exp: New file.
6685
6686 2014-05-21 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/default.exp: Test "target native" instead of "target
6689 child".
6690
6691 2014-05-21 Mark Wielaard <mjw@redhat.com>
6692
6693 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6694
6695 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6696
6697 Fix TLS access for -static -pthread.
6698 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6699 <HAVE_TLS> (thread_function, main): Initialize it.
6700 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6701 Add clean_restart.
6702 <$have_tls != "">: Check TLSVAR.
6703
6704 2014-05-21 Pedro Alves <palves@redhat.com>
6705
6706 * gdb.base/dcache-line-read-error.c: New.
6707 * gdb.base/dcache-line-read-error.exp: New.
6708
6709 2014-05-20 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.base/compare-sections.c: New file.
6712 * gdb.base/compare-sections.exp: New file.
6713
6714 2014-05-20 Pedro Alves <palves@redhat.com>
6715
6716 * gdb.base/break-idempotent.c: New file.
6717 * gdb.base/break-idempotent.exp: New file.
6718
6719 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6720
6721 * gdb.btrace/nohist.exp: New.
6722
6723 2014-05-20 Yao Qi <yao@codesourcery.com>
6724
6725 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6726 gdb.reverse directory and gdb_reverse_timeout exists in board
6727 setting.
6728 * README: Document gdb_reverse_timeout.
6729
6730 2014-05-20 Yao Qi <yao@codesourcery.com>
6731
6732 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6733 'test_file_name'. Treat args as a string instead of a list.
6734 (gdb_init): Rename argument 'args' by 'test_file_name'.
6735
6736 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6737
6738 * gdb.arch/powerpc-power.exp: New file.
6739 * gdb.arch/powerpc-power.s: New file.
6740
6741 2014-05-16 Doug Evans <dje@google.com>
6742
6743 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6744 * gdb.base/completion.exp: Check that all expected files exist
6745 before doing file completion.
6746
6747 2014-05-16 Doug Evans <dje@google.com>
6748
6749 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6750 Update.
6751 (do_syscall_tests_without_xml): Update.
6752
6753 2014-05-16 Pedro Alves <palves@redhat.com>
6754
6755 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6756 instead of "unknown output after running".
6757
6758 2014-05-16 Yao Qi <yao@codesourcery.com>
6759
6760 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6761 file1.txt from host at the end.
6762 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6763
6764 2014-05-15 Doug Evans <dje@google.com>
6765
6766 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6767 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6768 loading file. Add test for TU lookup.
6769
6770 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6771
6772 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6773 calling "-exec-arguments" or "set args" before running the
6774 inferior.
6775
6776 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6777
6778 * lib/mi-support.exp (mi_expect_stop): Expect message for
6779 inferiors that exit with non-zero exit code.
6780
6781 2014-05-14 Yao Qi <yao@codesourcery.com>
6782
6783 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6784 match absolute path on remote host.
6785 (test_file_list_exec_source_files): Remove "/" from the
6786 pattern.
6787
6788 2014-05-14 Yao Qi <yao@codesourcery.com>
6789
6790 * boards/local-remote-host-notty.exp (${board}_file): New
6791 proc.
6792
6793 2014-05-07 Kyle McMartin <kyle@redhat.com>
6794
6795 Pushed by Joel Brobecker <brobecker@adacore.com>.
6796 * gdb.arch/aarch64-atomic-inst.c: New file.
6797 * gdb.arch/aarch64-atomic-inst.exp: New file.
6798
6799 2014-05-07 Yao Qi <yao@codesourcery.com>
6800
6801 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6802 in current context" too.
6803
6804 2014-05-05 Keith Seitz <keiths@redhat.com>
6805
6806 * gdb.linespec/ls-dollar.exp: Add test for linespec
6807 file:convenience_variable.
6808
6809 2014-05-05 Yao Qi <yao@codesourcery.com>
6810
6811 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6812 traceframes into tfile and ctf trace files. Read data from
6813 trace file and test collected data.
6814 (gdb_collect_locals_test): Likewise.
6815 (gdb_unavailable_registers_test): Likewise.
6816 (gdb_unavailable_floats): Likewise.
6817 (gdb_collect_globals_test): Likewise.
6818 (top-level): Append "ctf" to trace_file_targets if GDB
6819 supports.
6820
6821 2014-05-05 Yao Qi <yao@codesourcery.com>
6822
6823 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6824 code to ...
6825 (gdb_collect_args_test_1): ... it. New proc.
6826 (gdb_collect_locals_test): Move some code to ...
6827 (gdb_collect_locals_test_1): ... it. New proc.
6828 (gdb_unavailable_registers_test): Move some code to ...
6829 (gdb_unavailable_registers_test_1): ... it. New proc.
6830 (gdb_unavailable_floats): Move some code to ...
6831 (gdb_unavailable_floats_1): ... it. New proc.
6832
6833 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6834
6835 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6836 probes to test for bitness recognition.
6837 * gdb.arch/amd64-stap-optional-prefix.exp
6838 (test_probe_value_without_reg): New procedure.
6839 Add code to test for different kinds of bitness.
6840
6841 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6842
6843 PR breakpoints/16889
6844 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6845 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6846
6847 2014-05-01 Pedro Alves <palves@redhat.com>
6848
6849 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6850 gdb_file_cmd if no file is specified.
6851 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6852 last_loaded_file to set the remote exec-file.
6853
6854 2014-05-01 Pedro Alves <palves@redhat.com>
6855
6856 * boards/local-remote-host.exp: New file.
6857
6858 2014-05-01 Pedro Alves <palves@redhat.com>
6859
6860 * boards/local-remote-host.exp: Rename to ...
6861 * boards/local-remote-host-notty.exp: ... this.
6862
6863 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6864
6865 * gdb.ada/dyn_arrayidx: New testcase.
6866
6867 2014-04-26 Yao Qi <yao@codesourcery.com>
6868
6869 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6870 and compute the length of function main. Save it in
6871 $main_length.
6872 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6873 (top-level): Use gdb_compile to compile objects into
6874 executable and restart GDB. Remove invocation to
6875 prepare_for_testing.
6876
6877 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6878 Pedro Alves <palves@redhat.com>
6879
6880 PR server/16255
6881 * gdb.multi/multi-attach.c: New file.
6882 * gdb.multi/multi-attach.exp: New file.
6883
6884 2014-04-25 Pedro Alves <palves@redhat.com>
6885
6886 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6887 user.
6888 (top level): Test that "set remote conditional-breakpoints-packet
6889 off" works as intended.
6890 * gdb.base/dprintf.exp: Test that "set remote
6891 breakpoint-commands-packet off" works as intended.
6892 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6893 New function.
6894 (top level): Call it.
6895 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6896 remote fast-tracepoints-packet off" works as intended.
6897 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6898 * lib/gdb.exp (gdb_is_target_remote): ... here.
6899
6900 2014-04-24 David Blaikie <dblaikie@gmail.com>
6901
6902 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6903 ensure clang would not discard them.
6904 * gdb.base/gdbvars.c: Ditto.
6905 * gdb.base/memattr.c: Ditto.
6906 * gdb.base/whatis.c: Ditto.
6907 * gdb.python/py-prettyprint.c: Ditto.
6908 * gdb.trace/actions.c: Ditto.
6909 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6910 ensure clang would not discard it.
6911
6912 2014-04-24 David Blaikie <dblaikie@gmail.com>
6913
6914 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6915 clang to emit the full definition of type required by the test
6916 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6917
6918 2014-04-24 David Blaikie <dblaikie@gmail.com>
6919
6920 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6921 coax Clang into emitting the definition of the type.
6922 * gdb.cp/pr10728-x.h (y): Ditto.
6923 * gdb.cp/pr10728-y.cc (y): Ditto.
6924
6925 2014-04-24 David Blaikie <dblaikie@gmail.com>
6926
6927 * gdb.base/label.exp: XFAIL label related tests under Clang.
6928 * gdb.cp/cplabel.exp: Ditto.
6929 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6930 under Clang those using labels.
6931
6932 2014-04-25 Yao Qi <yao@codesourcery.com>
6933
6934 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6935 double_label.
6936 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6937 partial_label and double_label.
6938
6939 2014-04-24 David Blaikie <dblaikie@gmail.com>
6940
6941 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6942
6943 2014-04-24 David Blaikie <dblaikie@gmail.com>
6944
6945 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6946 of the function to work across GCC and Clang.
6947 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6948 pointer types (const void ** const V void **).
6949
6950 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6951 Walfred Tedeschi <walfred.tedeschi@intel.com>
6952
6953 * Makefile.in (EXECUTABLES): Added i386-avx512.
6954 * gdb.arch/i386-avx512.c: New file.
6955 * gdb.arch/i386-avx512.exp: Likewise.
6956
6957 2014-04-23 Keith Seitz <keiths@redhat.com>
6958
6959 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6960 (mi_make_breakpoint_table): New procedure.
6961 (mi_create_breakpoint): Use mi_make_breakpoint
6962 and return the result.
6963 (mi_make_breakpoint): New procedure.
6964 (mi_build_kv_pairs): New procedure.
6965
6966 * gdb.mi/mi-break.exp: Remove unused globals,
6967 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6968 All callers updated.
6969 * gdb.mi/mi-dprintf.exp: Use variable to track command
6970 number.
6971 Update all callers of mi_create_breakpoint and use
6972 mi_make_breakpoint_table.
6973 Remove any unused global variables.
6974 * gdb.mi/mi-nonstop.exp: Likewise.
6975 * gdb.mi/mi-nsintrall.exp: Likewise.
6976 * gdb.mi/mi-nsmoribund.exp: Likewise.
6977 * gdb.mi/mi-nsthrexec.exp: Likewise.
6978 * gdb.mi/mi-reverse.exp: Likewise.
6979 * gdb.mi/mi-simplerun.exp: Likewise.
6980 * gdb.mi/mi-stepn.exp: Likewise.
6981 * gdb.mi/mi-syn-frame.exp: Likewise.
6982 * gdb.mi/mi-until.exp: Likewise.
6983 * gdb.mi/mi-var-cp.exp: Likewise.
6984 * gdb.mi/mi-var-display.exp: Likewise.
6985 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6986 * gdb.mi/mi2-var-child.exp: Likewise.
6987 * gdb.mi/mi-vla-c99.exp: Likewise.
6988 * lib/mi-support.exp: Likewise.
6989
6990 From Ian Lance Taylor <iant@cygnus.com>:
6991 * lib/gdb.exp (parse_args): New procedure.
6992
6993 2014-04-23 Pedro Alves <palves@redhat.com>
6994
6995 * gdb.base/break-unload-file.c: New file.
6996 * gdb.base/break-unload-file.exp: New file.
6997 * gdb.base/sym-file-lib.c (baz): New function.
6998 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6999 field.
7000 (load): Store the segment's mapped size.
7001 (unload): New function.
7002 (unload_shlib): New function.
7003 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7004 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7005 set a breakpoint at baz, and call it.
7006 * gdb.base/sym-file.exp: New tests for stale breakpoint
7007 instructions.
7008
7009 2014-04-23 Pedro Alves <palves@redhat.com>
7010
7011 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7012 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7013 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7014 * gdb.base/hbreak-unmapped.c: New file.
7015 * gdb.base/hbreak-unmapped.exp: New file.
7016 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7017 * lib/gdb.exp (gdb_is_target_remote): ... here.
7018
7019 2014-04-22 Pedro Alves <palves@redhat.com>
7020
7021 * gdb.base/consecutive-step-over.c: New file.
7022 * gdb.base/consecutive-step-over.exp: New file.
7023
7024 2014-04-22 Pedro Alves <palves@redhat.com>
7025
7026 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7027 instead of send_gdb/gdb_expect.
7028
7029 2014-04-22 Yao Qi <yao@codesourcery.com>
7030
7031 * lib/trace-support.exp (generate_tracefile): New procedure.
7032 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7033 return 0.
7034 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7035 if generate_tracefile returns 1.
7036
7037 2014-04-18 Tom Tromey <palves@redhat.com>
7038 Pedro alves <tromey@redhat.com>
7039
7040 PR backtrace/15558
7041 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7042 with a backtrace limit.
7043 * gdb.python/py-frame-inline.exp: Test running to an inline
7044 function with a backtrace limit, and printing the newest frame.
7045 * gdb.python/py-frame-inline.c (main): Call f.
7046
7047 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7048
7049 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7050
7051 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7052
7053 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7054 Drop prefix from unsupported source file path.
7055
7056 2014-04-17 Yao Qi <yao@codesourcery.com>
7057
7058 * lib/gdb.exp (with_target_charset): New proc.
7059 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7060 with_target_charset.
7061 (test_print_strings): Likewise.
7062 (test_repeat_bytes): Likewise.
7063 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7064 for some tests.
7065
7066 2014-04-16 Keith Seitz <keiths@redhat.com>
7067
7068 PR gdb/15827
7069 * gdb.dwarf2/corrupt.c: New file.
7070 * gdb.dwarf2/corrupt.exp: New file.
7071
7072 2014-04-16 Keith Seitz <keiths@redhat.com>
7073
7074 PR c++/16597
7075 * gdb.cp/namelessclass.cc: New file.
7076 * gdb.cp/namelessclass.exp: New file.
7077 * gdb.cp/namelessclass.S: New file.
7078
7079 2014-04-16 Doug Evans <dje@google.com>
7080
7081 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7082 Add comment.
7083 (gdbserver_default_get_comm_port): New function.
7084 (gdbserver_start): Check if board file provided
7085 "gdbserver,get_comm_port" and use it if so.
7086 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7087 (gdb,socketport): Set to "stdio".
7088 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7089 (stdio_gdbserver_template): Delete.
7090 (${board}_get_remote_address): Update.
7091 (${board}_build_remote_cmd): Delete.
7092 (${board}_get_comm_port): New function.
7093 (${board}_spawn): Update.
7094 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7095 Delete.
7096 (${board}_get_remote_address): Update.
7097 (${board}_get_comm_port): New function.
7098
7099 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7100
7101 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7102 appearing in any order.
7103
7104 2014-04-15 Doug Evans <dje@google.com>
7105
7106 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7107 uninitialized value of "description".
7108
7109 2014-04-15 Keith Seitz <keiths@redhat.com>
7110
7111 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7112 Remove unused globals.
7113 (test_running_the_program): Likewise.
7114 (test_controlled_execution): Likewise.
7115 (test_controlling_breakpoints): Likewise.
7116 (test_program_termination): Likewise.
7117
7118 2014-04-15 Keith Seitz <keiths@redhat.com>
7119
7120 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7121 unused globals.
7122 (test_rbreak_creation_and_listing): Likewise.
7123 (test_ignore_count): Likewise.
7124 (test_error): Likewise.
7125
7126 2014-04-15 Pedro Alves <palves@redhat.com>
7127
7128 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7129 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7130 sym-file-loader.c.
7131 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7132 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7133 to sym-file-loader.c.
7134 (struct library): Forward declare.
7135 (load_shlib, lookup_function): Change prototypes.
7136 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7137 (translate_offset): Remove declarations.
7138 (get_text_addr): New declaration.
7139 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7140 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7141 sym-file-loader.h.
7142 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7143 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7144 here from sym-file-loader.h.
7145 (struct library): New structure.
7146 (load_shlib, lookup_function): Change prototypes and adjust to
7147 work with a struct library.
7148 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7149 (translate_offset): Make static.
7150 (get_text_addr): New function.
7151 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7152
7153 2014-04-15 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7156
7157 2014-04-15 Pedro Alves <palves@redhat.com>
7158
7159 * gdb.base/sym-file-loader.c: Include <limits.h>.
7160 (SELF_LINK): New define.
7161 (get_origin): New function.
7162 (load_shlib): Use it.
7163 * gdb.base/sym-file.exp: Don't early return if the target is
7164 remote. Use runto_main, and issue fail is that fails. Use
7165 gdb_load_shlibs.
7166 (shlib_name): Delete.
7167 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7168
7169 2014-04-15 Pedro Alves <palves@redhat.com>
7170
7171 * gdb.base/sym-file.exp: Remove regex characters from test
7172 message. Don't refer to breakpoint numbers in test messages.
7173
7174 2014-04-14 Keith Seitz <keiths@redhat.com>
7175
7176 PR c++/16253
7177 * gdb.cp/var-tag.cc: New file.
7178 * gdb.cp/var-tag.exp: New file.
7179 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7180 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7181 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7182 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7183
7184 2014-04-14 Tom Tromey <tromey@redhat.com>
7185
7186 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7187 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7188 type.
7189 * gdb.cp/enum-class.exp: New file.
7190 * gdb.cp/enum-class.cc: New file.
7191
7192 2014-04-14 Tom Tromey <tromey@redhat.com>
7193
7194 * gdb.dwarf2/enum-type.exp: New file.
7195
7196 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7197
7198 * gdb.mi/mi-vla-c99.exp: New file.
7199 * gdb.mi/vla.c: New file.
7200
7201 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7202
7203 * gdb.base/vla-datatypes.c: New file.
7204 * gdb.base/vla-datatypes.exp: New file.
7205
7206 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7207
7208 * gdb.base/vla-ptr.c: New file.
7209 * gdb.base/vla-ptr.exp: New file.
7210
7211 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7212
7213 * gdb.dwarf2/count.exp: New file.
7214
7215 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7216
7217 * gdb.base/vla-sideeffect.c: New file.
7218 * gdb.base/vla-sideeffect.exp: New file.
7219
7220 2014-04-14 David Blaikie <dblaikie@gmail.com>
7221
7222 * gdb.mi/non-stop.c: Add return value for non-void function return
7223 statement.
7224 * gdb.threads/staticthreads.c: Ditto.
7225
7226 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7227 Doug Evans <xdje42@gmail.com>
7228
7229 * gdb.guile/scm-value.c: Improve test case.
7230 * gdb.guile/scm-value.exp: Add new test.
7231
7232 2014-04-11 David Blaikie <dblaikie@gmail.com>
7233
7234 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7235 override Clang's default.
7236
7237 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7238
7239 Revert the following changes (regressions):
7240
7241 * gdb.base/vla-sideeffect.c: New file.
7242 * gdb.base/vla-sideeffect.exp: New file.
7243
7244 * gdb.dwarf2/count.exp: New file.
7245
7246 * gdb.base/vla-multi.c: New file.
7247 * gdb.base/vla-multi.exp: New file.
7248
7249 * gdb.base/vla-ptr.c: New file.
7250 * gdb.base/vla-ptr.exp: New file.
7251
7252 * gdb.base/vla-datatypes.c: New file.
7253 * gdb.base/vla-datatypes.exp: New file.
7254
7255 * gdb.mi/mi-vla-c99.exp: New file.
7256 * gdb.mi/vla.c: New file.
7257
7258 2014-04-11 Keith Seitz <keiths@redhat.com>
7259
7260 PR c++/16675
7261 * gdb.cp/cpsizeof.exp: New file.
7262 * gdb.cp/cpsizeof.cc: New file.
7263
7264 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7265
7266 * gdb.mi/mi-vla-c99.exp: New file.
7267 * gdb.mi/vla.c: New file.
7268
7269 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7270
7271 * gdb.base/vla-datatypes.c: New file.
7272 * gdb.base/vla-datatypes.exp: New file.
7273
7274 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7275
7276 * gdb.base/vla-ptr.c: New file.
7277 * gdb.base/vla-ptr.exp: New file.
7278
7279 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7280
7281 * gdb.base/vla-multi.c: New file.
7282 * gdb.base/vla-multi.exp: New file.
7283
7284 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7285
7286 * gdb.dwarf2/count.exp: New file.
7287
7288 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7289
7290 * gdb.base/vla-sideeffect.c: New file.
7291 * gdb.base/vla-sideeffect.exp: New file.
7292
7293 2014-04-11 Yao Qi <yao@codesourcery.com>
7294
7295 * gdb.base/completion.exp: Check file exists before running tests
7296 on file completion.
7297
7298 2014-04-10 Pedro Alves <palves@redhat.com>
7299
7300 * gdb.base/cond-eval-mode.c: New file.
7301 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7302 prepare_for_testing to build the new file. Check result of
7303 runto_main.
7304 (test_break, test_watch): New procedures.
7305 (top level): Use them.
7306
7307 2014-04-08 Pierre Muller <muller@sourceware.org>
7308
7309 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7310 Ctrl-V use for mingw hosts.
7311
7312 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7313
7314 * gdb.python/py-value.c: Improve test case.
7315 * gdb.python/py-value.exp: Add new test.
7316
7317 2014-04-07 David Blaikie <dblaikie@gmail.com>
7318
7319 * lib/compiler.c: Identify the clang compiler.
7320 * lib/compiler.cc: Ditto.
7321
7322 2014-04-03 Yao Qi <yao@codesourcery.com>
7323
7324 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7325
7326 2014-04-01 Anton Blanchard <anton@samba.org>
7327
7328 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7329 messages unique.
7330
7331 2014-04-01 Anton Blanchard <anton@samba.org>
7332
7333 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7334 prepare_for_testing.
7335
7336 2014-04-01 Anton Blanchard <anton@samba.org>
7337
7338 * gdb.arch/ppc64-atomic-inst.c: Remove.
7339 * gdb.arch/ppc64-atomic-inst.S: New file.
7340 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7341
7342 2014-03-31 Doug Evans <dje@google.com>
7343
7344 * gdb.base/print-symbol-loading-lib.c: New file.
7345 * gdb.base/print-symbol-loading-main.c: New file.
7346 * gdb.base/print-symbol-loading.exp: New file.
7347
7348 2014-03-31 Yao Qi <yao@codesourcery.com>
7349
7350 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7351
7352 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7353
7354 * gdb.ada/mi_dyn_arr: New testcase.
7355
7356 2014-03-27 Doug Evans <dje@google.com>
7357
7358 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7359
7360 2014-03-27 Yao Qi <yao@codesourcery.com>
7361
7362 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7363 if target is nios2-*-*.
7364
7365 2014-03-26 Yao Qi <yao@codesourcery.com>
7366
7367 * lib/gdb.exp (readline_is_used): New proc.
7368 * gdb.base/completion.exp: Move tests on command complete up.
7369 Skip the rest of tests if readline is not used.
7370 * gdb.ada/complete.exp: Skp the test if readline is not
7371 used.
7372 * gdb.base/filesym.exp: Likewise.
7373 * gdb.base/macscp.exp: Likewise.
7374 * gdb.base/readline-ask.exp: Likewise.
7375 * gdb.base/readline.exp: Likewise.
7376 * gdb.python/py-cmd.exp: Likewise.
7377 * gdb.trace/tfile.exp: Likewise.
7378
7379 2014-03-26 Yao Qi <yao@codesourcery.com>
7380
7381 * gdb.base/macscp.exp: Fix code format issues.
7382
7383 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7384
7385 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7386 * gdb.asm/powerpc64le.inc: New file.
7387
7388 2014-03-25 Pedro Alves <palves@redhat.com>
7389 Doug Evans <dje@google.com>
7390
7391 * gdb.base/source-execution.c: New file.
7392 * gdb.base/source-execution.exp: New file.
7393 * gdb.base/source-execution.gdb: New file.
7394
7395 2014-03-24 Doug Evans <dje@google.com>
7396
7397 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7398 using fission.
7399
7400 2014-03-24 Hui Zhu <hui@codesourcery.com>
7401 Pedro Alves <palves@redhat.com>
7402
7403 PR breakpoints/16101
7404 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7405 test pass/fail messages. Detect missing support for dprintf when
7406 breakpoints are actually inserted.
7407 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7408 breakpoints are actually inserted.
7409 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7410 fails.
7411
7412 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7413
7414 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7415
7416 2014-03-22 Doug Evans <xdje42@gmail.com>
7417
7418 * gdb.python/python.exp (python not supported): Verify multi-line
7419 python command issues an error.
7420 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7421 guile command issues an error.
7422
7423 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7424
7425 * gdb.threads/thread-specific.exp: Handle the lack of usable
7426 $this_breakpoint and $this_thread.
7427
7428 2014-03-21 Hui Zhu <hui@codesourcery.com>
7429
7430 * gdb.base/attach.exp (do_command_attach_tests): New.
7431
7432 2014-03-20 Tom Tromey <tromey@redhat.com>
7433 Pedro Alves <palves@redhat.com>
7434
7435 PR cli/15718
7436 * gdb.base/condbreak-call-false.c: New file.
7437 * gdb.base/condbreak-call-false.exp: New file.
7438
7439 2014-03-20 Pedro Alves <palves@redhat.com>
7440
7441 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7442 Delete.
7443 (block_signals, unblock_signals): Delete.
7444 (child_function_2, main): Remove references to deleted variable
7445 and functions.
7446
7447 2014-03-20 Pedro Alves <palves@redhat.com>
7448
7449 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7450 Use pthread_kill to signal thread 2.
7451 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7452 Adjust to make the test send itself a signal rather than using the
7453 host's "kill" command.
7454
7455 2014-03-20 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.threads/multiple-step-overs.c: New file.
7458 * gdb.threads/multiple-step-overs.exp: New file.
7459 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7460 Adjust expected infrun debug output.
7461
7462 2014-03-20 Pedro Alves <palves@redhat.com>
7463
7464 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7465 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7466
7467 2014-03-20 Pedro Alves <palves@redhat.com>
7468
7469 PR breakpoints/7143
7470 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7471 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7472 of gdb_test_multiple.
7473 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7474 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7475
7476 2014-03-20 Pedro Alves <palves@redhat.com>
7477
7478 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7479 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7480
7481 2014-03-19 Pedro Alves <palves@redhat.com>
7482
7483 * gdb.base/async.exp: Remove early return.
7484
7485 2014-03-19 Pedro Alves <palves@redhat.com>
7486
7487 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7488
7489 2014-03-19 Pedro Alves <palves@redhat.com>
7490
7491 * gdb.base/async.exp (test_background): Expect \r\n after
7492 "completed." in the fail pattern.
7493
7494 2014-03-19 Pedro Alves <palves@redhat.com>
7495
7496 * gdb.base/async.exp (test_background): New procedure.
7497 Use it for all background execution command tests.
7498
7499 2014-03-19 Pedro Alves <palves@redhat.com>
7500
7501 * gdb.base/async.exp: Use prepare_for_testing.
7502
7503 2014-03-19 Pedro Alves <palves@redhat.com>
7504
7505 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7506 the same line.
7507
7508 2014-03-19 Pedro Alves <palves@redhat.com>
7509
7510 * gdb.base/async.c (main): Add "jump here" and "until here" line
7511 marker comments.
7512 * gdb.base/async.exp (jump_here): New global.
7513 (jump& test): Use it.
7514 (until_here): New global.
7515 (until& test): Use it.
7516
7517 2014-03-19 Pedro Alves <palves@redhat.com>
7518
7519 * gdb.base/async.exp: Don't frob gdb_protocol.
7520
7521 2014-03-18 Doug Evans <xdje42@gmail.com>
7522
7523 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7524 Fix spelling of exec-done-display.
7525
7526 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7527
7528 PR gdb/15358
7529 * gdb.base/gdb-sigterm.c: New file.
7530 * gdb.base/gdb-sigterm.exp: New file.
7531
7532 2014-03-18 Pedro Alves <palves@redhat.com>
7533
7534 PR gdb/13860
7535 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7536 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7537 solib-event.
7538
7539 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7540
7541 * gdb.ada/pckd_arr_ren: New testcase.
7542
7543 2014-03-13 Doug Evans <xdje42@gmail.com>
7544
7545 PR guile/16612
7546 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7547 collect after discarding symbols.
7548
7549 2014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
7550 Doug Evans <xdje42@gmail.com>
7551
7552 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7553 to history survives a gc.
7554
7555 2014-03-13 Pedro Alves <palves@redhat.com>
7556
7557 * gdb.base/default.exp: Don't test "target procfs".
7558
7559 2014-03-13 Pedro Alves <palves@redhat.com>
7560
7561 * gdb.base/default.exp: Update "target child" and "target procfs"
7562 tests to not expect "Unix".
7563
7564 2014-03-12 Tom Tromey <tromey@redhat.com>
7565
7566 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7567 New procs. Add target-async tests.
7568 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7569 Add target-async tests.
7570
7571 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7572
7573 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7574 'func_start' and 'func_end' for the beginning and end of the
7575 function code, respectively.
7576 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7577 'func_end' instead of 'func' and 'main'.
7578
7579 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7580
7581 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7582 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7583 generate the debug info assembler source.
7584
7585 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7586
7587 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7588 * gdb.dwarf2/arr-subrange.exp: Likewise.
7589 * gdb.dwarf2/dwz.exp: Likewise.
7590 * gdb.dwarf2/method-ptr.exp: Likewise.
7591 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7592 * gdb.dwarf2/subrange.exp: Likewise.
7593 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7594 * gdb.dwarf2/implptrpiece.exp: Likewise.
7595 * gdb.dwarf2/nostaticblock.exp: Likewise.
7596
7597 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7598
7599 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7600 directory to absolute path name arguments.
7601
7602 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7603
7604 * gdb.ada/tagged_access: New testcase.
7605
7606 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7607
7608 * gdb.btrace/data.exp: Update expected output.
7609
7610 2014-03-06 Yao Qi <yao@codesourcery.com>
7611
7612 * gdb.trace/pr16508.exp: New file.
7613
7614 2014-03-05 Pedro Alves <palves@redhat.com>
7615
7616 PR gdb/16575
7617 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7618 procedure.
7619 (top level): Adjust to use it. Add tests that exercise breakpoint
7620 interaction with the code-cache.
7621
7622 2014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
7623
7624 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7625 test for 'history-append!'.
7626
7627 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7628
7629 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7630 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7631 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7632 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7633 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7634 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7635
7636 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7637
7638 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7639 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7640 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7641
7642 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7643
7644 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7645
7646 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7647
7648 * gdb.dwarf2/arr-stride.c: New file.
7649 * gdb.dwarf2/arr-stride.exp: New file.
7650
7651 2014-02-26 Pedro Alves <palves@redhat.com>
7652
7653 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7654 that won't ever trigger. Make sure that GDB reports the correct
7655 breakpoint that caused the stop.
7656
7657 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7658
7659 PR gdb/16626
7660 * gdb.base/auto-load-script: New file.
7661 * gdb.base/auto-load.c: New file.
7662 * gdb.base/auto-load.exp: New file.
7663
7664 PR gdb/16626
7665 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7666
7667 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7668
7669 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7670 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7671
7672 2014-02-24 Doug Evans <dje@google.com>
7673
7674 * lib/gdb.exp (run_on_host): Log error output if program fails.
7675
7676 2014-02-21 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.threads/step-after-sr-lock.c: Rename to ...
7679 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7680 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7681 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7682 ... this.
7683
7684 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7685
7686 PR tdep/16397
7687 * gdb.arch/amd64-stap-special-operands.exp: New file.
7688 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7689 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7690 * gdb.arch/amd64-stap-triplet.S: Likewise.
7691 * gdb.arch/amd64-stap-triplet.c: Likewise.
7692
7693 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7694
7695 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7696 in .section pseudo-op.
7697
7698 2014-02-20 lin zuojian <manjian2006@gmail.com>
7699 Joel Brobecker <brobecker@adacore.com>
7700 Doug Evans <xdje42@gmail.com>
7701
7702 PR symtab/16581
7703 * gdb.dwarf2/dw2-icycle.S: New file.
7704 * gdb.dwarf2/dw2-icycle.c: New file.
7705 * gdb.dwarf2/dw2-icycle.exp: New file.
7706
7707 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7708
7709 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7710 operations on gdb.Value objects.
7711 * gdb.python/py-value-cc.exp: Add new test to test operations on
7712 gdb.Value objects.
7713
7714 2014-02-18 Doug Evans <dje@google.com>
7715
7716 * Makefile.in (TESTS): New variable.
7717 (expanded_tests, expanded_tests_or_none): New variables
7718 (check-single): Pass $(expanded_tests_or_none) to runtest.
7719 (check-parallel): Only run tests in $(TESTS) if non-empty.
7720 (check/no-matching-tests-found): New rule.
7721 * README: Document TESTS makefile variable.
7722
7723 2014-02-18 Doug Evans <dje@google.com>
7724
7725 * Makefile.in (check-parallel): rm -rf outputs temp.
7726
7727 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7728
7729 Fix "ERROR: no fileid for" in the testsuite.
7730 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7731
7732 2014-02-12 Doug Evans <dje@google.com>
7733
7734 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7735 (MISCELLANEOUS): New variable.
7736 (clean): rm -rf $(MISCELLANEOUS).
7737 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7738 dwp live in the same directory as symlinks, with each symlink pointed
7739 to a differently named file in a different directory.
7740
7741 2014-02-11 Doug Evans <dje@google.com>
7742
7743 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7744 of Tcl file commands.
7745
7746 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7747
7748 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7749 "kill -SIGUSR1 -1".
7750
7751 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7752
7753 * gdb.ada/tick_length_array_enum_idx: New testcase.
7754
7755 2014-02-10 Doug Evans <xdje42@gmail.com>
7756
7757 * configure.ac (AC_OUTPUT): Add gdb.guile.
7758 * configure: Regenerate.
7759 * lib/gdb-guile.exp: New file.
7760 * lib/gdb.exp (get_target_charset): New function.
7761 * gdb.base/help.exp: Update expected output from "apropos apropos".
7762 * gdb.guile/Makefile.in: New file.
7763 * gdb.guile/guile.exp: New file.
7764 * gdb.guile/scm-arch.c: New file.
7765 * gdb.guile/scm-arch.exp: New file.
7766 * gdb.guile/scm-block.c: New file.
7767 * gdb.guile/scm-block.exp: New file.
7768 * gdb.guile/scm-breakpoint.c: New file.
7769 * gdb.guile/scm-breakpoint.exp: New file.
7770 * gdb.guile/scm-disasm.c: New file.
7771 * gdb.guile/scm-disasm.exp: New file.
7772 * gdb.guile/scm-equal.c: New file.
7773 * gdb.guile/scm-equal.exp: New file.
7774 * gdb.guile/scm-error.exp: New file.
7775 * gdb.guile/scm-error.scm: New file.
7776 * gdb.guile/scm-frame-args.c: New file.
7777 * gdb.guile/scm-frame-args.exp: New file.
7778 * gdb.guile/scm-frame-args.scm: New file.
7779 * gdb.guile/scm-frame-inline.c: New file.
7780 * gdb.guile/scm-frame-inline.exp: New file.
7781 * gdb.guile/scm-frame.c: New file.
7782 * gdb.guile/scm-frame.exp: New file.
7783 * gdb.guile/scm-generics.exp: New file.
7784 * gdb.guile/scm-gsmob.exp: New file.
7785 * gdb.guile/scm-iterator.c: New file.
7786 * gdb.guile/scm-iterator.exp: New file.
7787 * gdb.guile/scm-math.c: New file.
7788 * gdb.guile/scm-math.exp: New file.
7789 * gdb.guile/scm-objfile-script-gdb.in: New file.
7790 * gdb.guile/scm-objfile-script.c: New file.
7791 * gdb.guile/scm-objfile-script.exp: New file.
7792 * gdb.guile/scm-objfile.c: New file.
7793 * gdb.guile/scm-objfile.exp: New file.
7794 * gdb.guile/scm-ports.exp: New file.
7795 * gdb.guile/scm-pretty-print.c: New file.
7796 * gdb.guile/scm-pretty-print.exp: New file.
7797 * gdb.guile/scm-pretty-print.scm: New file.
7798 * gdb.guile/scm-section-script.c: New file.
7799 * gdb.guile/scm-section-script.exp: New file.
7800 * gdb.guile/scm-section-script.scm: New file.
7801 * gdb.guile/scm-symbol.c: New file.
7802 * gdb.guile/scm-symbol.exp: New file.
7803 * gdb.guile/scm-symtab-2.c: New file.
7804 * gdb.guile/scm-symtab.c: New file.
7805 * gdb.guile/scm-symtab.exp: New file.
7806 * gdb.guile/scm-type.c: New file.
7807 * gdb.guile/scm-type.exp: New file.
7808 * gdb.guile/scm-value-cc.cc: New file.
7809 * gdb.guile/scm-value-cc.exp: New file.
7810 * gdb.guile/scm-value.c: New file.
7811 * gdb.guile/scm-value.exp: New file.
7812 * gdb.guile/source2.scm: New file.
7813 * gdb.guile/types-module.cc: New file.
7814 * gdb.guile/types-module.exp: New file.
7815
7816 2014-02-10 Yao Qi <yao@codesourcery.com>
7817
7818 PR testsuite/16543
7819 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7820 * configure: Regenerated.
7821 * Makefile.in: New file.
7822
7823 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7824
7825 * gdb.python/py-framefilter.exp: Fix typo.
7826
7827 2014-02-08 Yao Qi <yao@codesourcery.com>
7828
7829 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7830 that no =breakpoint-modified is emitted when breakpoints are
7831 modified through MI commands.
7832
7833 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7834 Pedro Alves <palves@redhat.com>
7835
7836 * gdb.threads/step-after-sr-lock.c: New file.
7837 * gdb.threads/step-after-sr-lock.exp: New file.
7838
7839 2014-02-07 Pedro Alves <palves@redhat.com>
7840
7841 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7842
7843 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7844
7845 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7846 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7847
7848 2014-02-06 Doug Evans <xdje42@gmail.com>
7849
7850 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7851 output.
7852
7853 * gdb.gdb/python-interrupts.exp: New file.
7854
7855 2014-02-05 Yao Qi <yao@codesourcery.com>
7856
7857 * gdb.trace/report.exp (use_collected_data): Test the output
7858 of "info threads" and "info inferiors".
7859
7860 2014-02-05 Yao Qi <yao@codesourcery.com>
7861
7862 Revert this patch:
7863
7864 2013-05-24 Yao Qi <yao@codesourcery.com>
7865
7866 * gdb.trace/tfile.exp: Test inferior and thread.
7867
7868 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7869
7870 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7871 on a function.
7872 * gdb.base/step-bt.c: Call hello via function pointer to make
7873 sure its first instruction is executed on powerpc64le-linux.
7874
7875 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7876
7877 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7878
7879 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7880
7881 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7882 of the test patterns for use on little-endian systems.
7883
7884 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7885
7886 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7887 (decimal_vector): Fix for little-endian.
7888
7889 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7890
7891 * gdb.arch/sparc-sysstep.exp: New file.
7892 * gdb.arch/sparc-sysstep.c: Likewise.
7893
7894 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7895
7896 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7897
7898 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7899
7900 2014-01-23 Tom Tromey <tromey@redhat.com>
7901
7902 * gdb.ada/array_char_idx: New testcase.
7903
7904 2014-01-23 Tom Tromey <tromey@redhat.com>
7905
7906 PR python/16487:
7907 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7908 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7909 classes.
7910
7911 2014-01-23 Tom Tromey <tromey@redhat.com>
7912
7913 PR python/16491:
7914 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7915 string from an inferior frame.
7916 * gdb.python/py-framefilter-mi.exp: Update.
7917
7918 2014-01-22 Doug Evans <dje@google.com>
7919
7920 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7921
7922 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7923
7924 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7925
7926 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7927
7928 * gdb.trace/entry-values.exp: Remove excess space character from
7929 regex patterns. Handle s390 call instruction.
7930
7931 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7932
7933 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7934 define "*_start" label. Make "name" static.
7935 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7936 ${name} by references to ${name}_start.
7937
7938 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7939
7940 * gdb.base/info-macros.exp: Remove "debug" from the compile
7941 options.
7942
7943 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7944
7945 * gdb.dlang/demangle.exp: New file.
7946
7947 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7948
7949 * gdb.dlang/primitive-types.exp: New file.
7950
7951 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7952
7953 * configure.ac: Create gdb.dlang/Makefile.
7954 * configure: Regenerate.
7955 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7956 * gdb.dlang/Makefile.in: New file.
7957 * lib/d-support.exp: New file.
7958 * lib/gdb.exp (skip_d_tests): New proc.
7959
7960 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7961
7962 * gdb.btrace/delta.exp: Check reverse stepi.
7963 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7964 * gdb.btrace/finish.exp: New.
7965 * gdb.btrace/next.exp: New.
7966 * gdb.btrace/nexti.exp: New.
7967 * gdb.btrace/record_goto.c: Add comments.
7968 * gdb.btrace/step.exp: New.
7969 * gdb.btrace/stepi.exp: New.
7970 * gdb.btrace/multi-thread-step.c: New.
7971 * gdb.btrace/multi-thread-step.exp: New.
7972 * gdb.btrace/rn-dl-bind.c: New.
7973 * gdb.btrace/rn-dl-bind.exp: New.
7974 * gdb.btrace/data.c: New.
7975 * gdb.btrace/data.exp: New.
7976 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7977
7978 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7979
7980 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7981 * gdb.btrace/exception.exp: Update.
7982 * gdb.btrace/instruction_history.exp: Update.
7983 * gdb.btrace/record_goto.exp: Update.
7984 * gdb.btrace/tailcall.exp: Update.
7985 * gdb.btrace/unknown_functions.exp: Update.
7986 * gdb.btrace/delta.exp: New.
7987
7988 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7989
7990 * gdb.btrace/record_goto.exp: Add backtrace test.
7991 * gdb.btrace/tailcall.exp: Add backtrace test.
7992
7993 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7994
7995 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7996 * gdb.btrace/record_goto.c: New.
7997 * gdb.btrace/record_goto.exp: New.
7998 * gdb.btrace/x86-record_goto.S: New.
7999
8000 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8001
8002 * gdb.btrace/function_call_history.exp: Update tests.
8003 * gdb.btrace/instruction_history.exp: Update tests.
8004
8005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8006
8007 * gdb.btrace/function_call_history.exp: Fix expected field
8008 order for "record function-call-history".
8009 Add new tests for "record function-call-history /c".
8010 * gdb.btrace/exception.cc: New.
8011 * gdb.btrace/exception.exp: New.
8012 * gdb.btrace/tailcall.exp: New.
8013 * gdb.btrace/x86-tailcall.S: New.
8014 * gdb.btrace/x86-tailcall.c: New.
8015 * gdb.btrace/unknown_functions.c: New.
8016 * gdb.btrace/unknown_functions.exp: New.
8017 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8018
8019 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8020
8021 * gdb.btrace/instruction_history.exp: Update.
8022 * gdb.btrace/function_call_history.exp: Update.
8023
8024 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8025
8026 * gdb.btrace/function_call_history.exp: Fix expected function
8027 trace.
8028 * gdb.btrace/instruction_history.exp: Initialize traced.
8029 Remove traced_functions.
8030
8031 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8032
8033 * gdb.btrace/function_call_history.exp: Update
8034 * gdb.btrace/instruction_history.exp: Update.
8035
8036 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8037
8038 * gdb.btrace/enable.exp: Update expected text.
8039
8040 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8041
8042 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8043 bytes.
8044
8045 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8046
8047 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8048
8049 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8050
8051 * lib/gdb.exp (supports_process_record): Return true for
8052 arm*-linux*. (supports_reverse): Likewise.
8053
8054 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8055
8056 PR python/15464
8057 PR python/16113
8058 * gdb.python/py-type.c: Enhance test case.
8059 * gdb.python/py-value-cc.cc: Likewise
8060 * gdb.python/py-type.exp: Add new tests.
8061 * gdb.python/py-value-cc.exp: Likewise
8062
8063 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8064 Pedro Alves <palves@redhat.com>
8065
8066 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8067 Make "name" extern.
8068 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8069 references to ${name}_start by references to ${name}.
8070
8071 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8072
8073 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8074
8075 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8076
8077 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8078
8079 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8080 Pedro Alves <palves@redhat.com>
8081
8082 * gdb.mi/mi-info-os.exp: Connect to the target with
8083 mi_gdb_target_load.
8084
8085 2014-01-08 Pedro Alves <palves@redhat.com>
8086
8087 * gdb.threads/reconnect-signal.c: New file.
8088 * gdb.threads/reconnect-signal.exp: New file.
8089
8090 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8091
8092 * gdb.base/source-dir.exp: New file.
8093
8094 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8095
8096 * gdb.ada/mi_interface: New testcase.
8097
8098 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8099
8100 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8101 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8102 gdb.ada/pp-rec-component/pck.ads: New files.
8103
8104 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8105
8106 * gdb.python/py-pp-integral.c: New file.
8107 * gdb.python/py-pp-integral.py: New file.
8108 * gdb.python/py-pp-integral.exp: New file.
8109
8110 For older changes see ChangeLog-1993-2013.
8111 \f
8112 ;; Local Variables:
8113 ;; mode: change-log
8114 ;; left-margin: 8
8115 ;; fill-column: 74
8116 ;; version-control: never
8117 ;; End:
8118
8119 Copyright 2014-2016 Free Software Foundation, Inc.
8120 Copying and distribution of this file, with or without modification,
8121 are permitted provided the copyright notice and this notice are preserved.