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