btrace: fix tests for 32-bit
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2
3 * gdb.btrace/next.exp: Merged into step.exp.
4 * gdb.btrace/finish.exp: Merged into step.exp.
5 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7 "record goto" and checking the exact replay position.
8 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
9 check for "Recording format" in "info record" output.
10 * gdb.btrace/record_goto.exp: Choose test file based on target.
11 * gdb.btrace/x86-record_goto.S: Renamed into ...
12 * gdb.btrace/x86_64-record_goto.S: ... this.
13 * gdb.btrace/i686-record_goto.S: New.
14 * gdb.btrace/x86-tailcall.S: Renamed into ...
15 * gdb.btrace/x86_64-tailcall.S: ... this.
16 * gdb.btrace/i686-tailcall.S: New.
17 * gdb.btrace/x86-tailcall.c: Renamed into ...
18 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19 separate statements. Update test.
20 * gdb.btrace/delta.exp: Use record_goto.c as test file.
21 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
22 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
23 * gdb.btrace/tailcall.exp: Choose test file based on target.
24 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
25
26 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
27
28 * gdb.btrace/exception.exp: Increase BTS buffer size.
29
30 2015-03-24 Pedro Alves <palves@redhat.com>
31
32 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
33
34 2015-03-24 Pedro Alves <palves@redhat.com>
35
36 * gdb.threads/schedlock.exp (test_step): No longer expect that
37 "set scheduler-locking step" with "next" over a function call runs
38 threads unlocked.
39
40 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
41
42 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
43
44 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
45
46 PR breakpoints/16466
47 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
48 * gdb.mi/mi-pending.c (thread_func): New function.
49 (int main): Add threading support required.
50 * gdb.mi/mi-pending.exp: Add tests for this issue.
51 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
52 (pendfunc2): Remove stdio dependency.
53 * gdb.mi/mi-pendshr2.c: New file.
54
55 2015-03-23 Keith Seitz <keiths@redhat.com>
56
57 * gdb.linespec/keywords.c: New file.
58 * gdb.linespec/keywords.exp: New file.
59
60 2015-03-23 Keith Seitz <keiths@redhat.com>
61
62 PR gdb/18021
63 * gdb.dwarf2/staticvirtual.exp: New test.
64
65 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
66
67 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
68 * README: Remove HP-UX and gdb.hp.
69 (configuration):
70 * configure: Regenerate.
71 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
72 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
73 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
74 gdb.hp/gdb.defects/Makefile.
75 * gdb.hp/Makefile.in: File deleted.
76 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
77 * gdb.hp/gdb.aCC/optimize.c: File deleted.
78 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
79 * gdb.hp/gdb.aCC/run.c: File deleted.
80 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
81 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
82 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
83 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
84 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
85 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
86 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
87 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
88 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
89 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
90 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
91 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
92 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
93 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
94 * gdb.hp/gdb.base-hp/reg.s: File deleted.
95 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
96 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
97 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
98 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
99 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
100 * gdb.hp/gdb.compat/Makefile.in: File deleted.
101 * gdb.hp/gdb.compat/average.c: File deleted.
102 * gdb.hp/gdb.compat/sum.c: File deleted.
103 * gdb.hp/gdb.compat/xdb.c: File deleted.
104 * gdb.hp/gdb.compat/xdb0.c: File deleted.
105 * gdb.hp/gdb.compat/xdb0.h: File deleted.
106 * gdb.hp/gdb.compat/xdb1.c: File deleted.
107 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
108 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
109 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
110 * gdb.hp/gdb.defects/Makefile.in: File deleted.
111 * gdb.hp/gdb.defects/bs14602.c: File deleted.
112 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
113 * gdb.hp/gdb.defects/solib-d.c: File deleted.
114 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
115 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
116 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
117 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
118 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
119 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
120 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
121 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
122 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
123 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
124 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
125 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
126 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
127 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
128 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
129 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
130 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
131 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
132 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
133 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
134 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
135 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
136 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
137 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
138 * gdb.hp/tools/odump: File deleted.
139
140 2015-03-19 Pedro Alves <palves@redhat.com>
141
142 * gdb.threads/continue-pending-status.exp (saw_thread_2)
143 (saw_thread_3): New globals.
144 (top level): Increment them when an event for the corresponding
145 thread is seen.
146 (no thread starvation): New test.
147
148 2015-03-19 Pedro Alves <palves@redhat.com>
149
150 * gdb.threads/continue-pending-status.c: New file.
151 * gdb.threads/continue-pending-status.exp: New file.
152
153 2015-03-18 Pedro Alves <palves@redhat.com>
154
155 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
156 Use gdb_is_target_remote instead of is_remote. Use
157 gdb_test_multiple instead of gdb_expect. Exit early if
158 gdb_test_multiple hits its internal matches. Tighten stepi tests
159 expected output. Fail on exit with any signal, instead of just
160 SIGILL.
161
162 2015-03-18 Yao Qi <yao.qi@linaro.org>
163
164 PR tdep/18107
165 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
166 variable.
167 * gdb.base/catch-syscall.exp: Don't skip it on
168 aarch64*-*-linux* target. Remove elements in all_syscalls.
169 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
170 target.
171 (setup_all_syscalls): New proc.
172
173 2015-03-16 Yao Qi <yao.qi@linaro.org>
174
175 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
176 (top level): Skip tests if valid_addr_p returns false for
177 $cmd1 or $cmd2.
178
179 2015-03-11 Andy Wingo <wingo@igalia.com>
180
181 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
182
183 2015-03-11 Yao Qi <yao.qi@linaro.org>
184
185 * gdb.base/catch-syscall.exp: Fix typo in comments.
186
187 2015-03-11 Yao Qi <yao.qi@linaro.org>
188
189 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
190
191 2015-03-09 Pedro Alves <palves@redhat.com>
192
193 * dg-extract-results.py: Delete.
194
195 2015-03-09 Pedro Alves <palves@redhat.com>
196
197 Merge dg-extract-results.sh from GCC upstream (r218843).
198
199 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
200 * dg-extract-results.sh: Use --text with grep to avoid issues with
201 binary files. Fall back to cat -v, if that doesn't work.
202
203 2015-03-05 Pedro Alves <palves@redhat.com>
204
205 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
206
207 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
208
209 * lib/mi-support.exp (mi_expect_interrupt): Accept
210 alternative event for when in all-stop mode.
211
212 2015-03-04 Pedro Alves <palves@redhat.com>
213
214 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
215
216 2015-03-04 Mark Kettenis <kettenis@gnu.org>
217
218 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
219
220 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
221
222 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
223 regexps for GDB's current line display, accept a hex address
224 preceding the line number.
225
226 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
227
228 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
229 the 'arch1' variable for "s390*-linux*" targets.
230
231 2015-03-04 Pedro Alves <palves@redhat.com>
232
233 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
234 (main): Pass missing retval argument to pthread_join call.
235
236 2015-03-02 Pedro Alves <palves@redhat.com>
237
238 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
239 (top level): Call do_test with non-stop as well.
240
241 2015-03-02 Pedro Alves <palves@redhat.com>
242
243 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
244 -1.
245
246 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
247
248 * gdb.arch/s390-vregs.exp: New test.
249 * gdb.arch/s390-vregs.S: New file.
250
251 2015-02-27 Pedro Alves <palves@redhat.com>
252
253 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
254 call to catch_command_errors.
255 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
256 catch_command_errors.
257
258 2015-02-27 Pedro Alves <palves@redhat.com>
259
260 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
261 "true" for boolean result.
262 * gdb.gdb/selftest.exp (test_with_self): Also accept full
263 prototype of main.
264
265 2015-02-27 Pedro Alves <palves@redhat.com>
266
267 * lib/unbuffer_output.c: New file.
268 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
269 (main): Call gdb_unbuffer_output.
270
271 2015-02-27 Yao Qi <yao.qi@linaro.org>
272
273 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
274 target.
275
276 2015-02-26 Doug Evans <dje@google.com>
277
278 * gdb.cp/class2.cc (Dbase, D): New classes.
279 (main): New local delta.
280 * gdb.cp/class2.exp: Test printing delta.
281 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
282 (dynbar): New global.
283 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
284
285 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
286
287 * gdb.compile/compile-ifunc.c: New file.
288 * gdb.compile/compile-ifunc.exp: New file.
289
290 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
291
292 * gdb.base/structs.exp: Check for correct struct on finish.
293
294 2015-02-26 Yao Qi <yao.qi@linaro.org>
295
296 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
297 is zero.
298
299 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
300
301 * gdb.arch/cordic.ko.bz2: New file.
302 * gdb.arch/cordic.ko.debug.bz2: New file.
303 * gdb.arch/ppc64-symtab-cordic.exp: New file.
304
305 2015-02-25 Yao Qi <yao.qi@linaro.org>
306
307 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
308 aarch64*-*-* target.
309
310 2015-02-23 Pedro Alves <palves@redhat.com>
311
312 * lib/gdb.exp (delete_breakpoints): Rewrite using
313 gdb_test_multiple.
314
315 2015-02-23 Pedro Alves <palves@redhat.com>
316
317 * gdb.base/info-os.c: Include stdlib.h.
318
319 2015-02-22 Doug Evans <xdje42@gmail.com>
320
321 PR symtab/17855
322 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
323 is read after symbols have been re-read.
324 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
325 * gdb.ada/exec_changed/second.adb (Second): Ditto.
326
327 2015-02-21 Doug Evans <dje@google.com>
328
329 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
330
331 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
332
333 PR corefiles/17808
334 * gdb.arch/i386-biarch-core.core.bz2: New file.
335 * gdb.arch/i386-biarch-core.exp: New file.
336
337 2015-02-21 Pedro Alves <palves@redhat.com>
338
339 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
340 runto_main fails.
341
342 2015-02-20 Pedro Alves <palves@redhat.com>
343
344 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
345 info probes.
346
347 2015-02-20 Pedro Alves <palves@redhat.com>
348
349 * gdb.threads/multi-create-ns-info-thr.exp: New file.
350
351 2015-02-20 Pedro Alves <palves@redhat.com>
352
353 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
354 clean_restart before gdb_target_supports_trace.
355
356 2015-02-20 Pedro Alves <palves@redhat.com>
357
358 PR threads/18006
359 * gdb.threads/clone-thread_db.c: New file.
360 * gdb.threads/clone-thread_db.exp: New file.
361
362 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
363
364 PR breakpoints/16812
365 * gdb.base/catch-gdb-caused-signals.c: New file.
366 * gdb.base/catch-gdb-caused-signals.exp: New file.
367
368 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
369
370 * configure: Regenerated.
371 * configure.ac: Use GDB_AC_TRANSFORM.
372 * aclocal.m4: sinclude ../transform.m4.
373
374 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
375
376 * lib/dtrace.exp: New file.
377 * gdb.base/dtrace-probe.exp: Likewise.
378 * gdb.base/dtrace-probe.d: Likewise.
379 * gdb.base/dtrace-probe.c: Likewise.
380 * lib/pdtrace.in: Likewise.
381 * configure.ac: Output variables with the transformed names of
382 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
383 * configure: Regenerated.
384
385 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
386
387 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
388 expected message when trying to access $_probe_* convenience
389 variables while not on a probe.
390
391 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
392
393 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
394
395 2015-02-11 Pedro Alves <pedro@codesourcery.com>
396
397 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
398 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
399
400 2015-02-10 Doug Evans <xdje42@gmail.com>
401
402 * lib/gdb.exp (gdb_load): Always return a result.
403
404 2015-02-10 Pedro Alves <palves@redhat.com>
405
406 * gdb.threads/signal-sigtrap.c: New file.
407 * gdb.threads/signal-sigtrap.exp: New file.
408
409 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
410
411 * gdb.trace/no-attach-trace.c: New file.
412 * gdb.trace/no-attach-trace.exp: New file.
413
414 2015-02-09 Mark Wielaard <mjw@redhat.com>
415
416 * gdb.dwarf2/atomic.c: New file.
417 * gdb.dwarf2/atomic-type.exp: Likewise.
418
419 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
420
421 * gdb.btrace/buffer-size.exp: Update "info record" output.
422 * gdb.btrace/delta.exp: Update "info record" output.
423 * gdb.btrace/enable.exp: Update "info record" output.
424 * gdb.btrace/finish.exp: Update "info record" output.
425 * gdb.btrace/instruction_history.exp: Update "info record" output.
426 * gdb.btrace/next.exp: Update "info record" output.
427 * gdb.btrace/nexti.exp: Update "info record" output.
428 * gdb.btrace/step.exp: Update "info record" output.
429 * gdb.btrace/stepi.exp: Update "info record" output.
430 * gdb.btrace/nohist.exp: Update "info record" output.
431
432 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
433
434 * gdb.btrace/buffer-size: New.
435
436 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
437
438 * gdb.btrace/delta.exp: Update "info record" output.
439 * gdb.btrace/enable.exp: Update "info record" output.
440 * gdb.btrace/finish.exp: Update "info record" output.
441 * gdb.btrace/instruction_history.exp: Update "info record" output.
442 * gdb.btrace/next.exp: Update "info record" output.
443 * gdb.btrace/nexti.exp: Update "info record" output.
444 * gdb.btrace/step.exp: Update "info record" output.
445 * gdb.btrace/stepi.exp: Update "info record" output.
446 * gdb.btrace/nohist.exp: Update "info record" output.
447
448 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
449
450 PR gdb/15678
451 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
452
453 2015-02-06 Pedro Alves <palves@redhat.com>
454
455 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
456 macro.
457 (seconds_left, again): New globals.
458 (main): Wait seconds_left in a 1-second sleep loop instead of
459 sleeping 180 seconds. If 'again' is set, reset the seconds
460 counter.
461 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
462 'again' in the inferior before detaching. Print the seconds left.
463 (options): New global.
464 (top level): Build program with -DTIMEOUT=$timeout.
465
466 2015-02-06 Pedro Alves <palves@redhat.com>
467
468 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
469 determine how many seconds to pass to 'alarm'.
470 * gdb.base/gdb-sigterm.exp (top level): Build program with
471 -DTIMEOUT=$timeout.
472 (do_test): Return success/failure indication. Add more verbose
473 logging. Don't fail if 200 single steps are seen. Instead, fail
474 when the test times out.
475 (passes): New global.
476 (top level): Break the testing loop if testing fails on any
477 iteration. Use gdb_assert.
478
479 2015-02-04 Don Breazeal <donb@codesourcery.com>
480
481 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
482 and initialize them.
483 (ipc_cleanup): New function.
484 (main): Don't declare shmid, semid, and msqid. Add a call to
485 atexit so that we call ipc_cleanup on exit.
486
487 2015-02-04 Pedro Alves <palves@redhat.com>
488
489 * boards/native-extended-gdbserver.exp: Remove any target variant
490 specifications from the board name before clearing the isremote
491 flag from board_info.
492
493 2015-01-31 Doug Evans <xdje42@gmail.com>
494
495 * gdb.base/maint.exp <maint print type argc>: Update expected output.
496
497 2015-01-31 Gary Benson <gbenson@redhat.com>
498
499 * gdb.base/completion.exp: Disable completion limiting for
500 existing tests. Add new tests to check completion limiting.
501 * gdb.linespec/ls-errs.exp: Disable completion limiting.
502
503 2015-01-31 Doug Evans <xdje42@gmail.com>
504
505 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
506
507 2015-01-31 Doug Evans <xdje42@gmail.com>
508
509 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
510 entries. Duplicate file section script entries.
511 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
512 inlined entries. Add test for safe-path rejection.
513 * gdb.python/py-section-script.c: Add duplicate inlined section script
514 entries. Duplicate file section script entries.
515 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
516 inlined entries. Add test for safe-path rejection.
517
518 2015-01-29 Joel Brobecker <brobecker@adacore.com>
519
520 * gdb.ada/disc_arr_bound: New testcase.
521
522 2015-01-29 Joel Brobecker <brobecker@adacore.com>
523
524 * gdb.ada/mi_var_array: New testcase.
525
526 2015-01-27 Doug Evans <dje@google.com>
527
528 * gdb.python/py-objfile.exp: Add tests for objfile.username.
529 Add test for objfile.filename, objfile.username after objfile
530 has been unloaded.
531
532 2015-01-26 Joel Brobecker <brobecker@adacore.com>
533
534 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
535 the second test to print the name attribute of value
536 returned by the call to gdb.lookup_type, and adjust
537 the expected output accordingly.
538
539 2015-01-25 Mark Wielaard <mjw@redhat.com>
540
541 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
542 * gdb.base/disp-step-fork.c: Include unistd.h.
543 * gdb.base/siginfo-obj.c: Include stdio.h.
544 * gdb.base/siginfo-thread.c: Likewise.
545 * gdb.mi/non-stop.c: Include unistd.h.
546 * gdb.mi/nsthrexec.c: Include stdio.h.
547 * gdb.mi/pthreads.c: Include unistd.h.
548 * gdb.modula2/unbounded1.c (main): Declare returns int.
549 * gdb.reverse/consecutive-reverse.c: Likewise.
550 * gdb.threads/create-fail.c: Include unistd.h.
551 * gdb.threads/killed.c: Likewise.
552 * gdb.threads/linux-dp.c: Likewise.
553 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
554 * gdb.threads/non-ldr-exc-2.c: Likewise.
555 * gdb.threads/non-ldr-exc-3.c: Likewise.
556 * gdb.threads/non-ldr-exc-4.c: Likewise.
557 * gdb.threads/pthreads.c: Include unistd.h.
558 (main): Declare returns int.
559 * gdb.threads/tls-main.c (foo): New declaration.
560 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
561
562 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
563
564 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
565 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
566
567 2015-01-15 Mark Wielaard <mjw@redhat.com>
568
569 * gdb.base/noreturn-return.c: New file.
570 * gdb.base/noreturn-return.exp: New file.
571 * gdb.base/noreturn-finish.c: New file.
572 * gdb.base/noreturn-finish.exp: New file.
573
574 2015-01-23 Pedro Alves <palves@redhat.com>
575
576 * gdb.threads/continue-pending-after-query.c: New file.
577 * gdb.threads/continue-pending-after-query.exp: New file.
578
579 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
580 Simon Marchi <simon.marchi@ericsson.com>
581
582 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
583 * gdb.base/valgrind-db-attach.exp: Same.
584 * gdb.base/valgrind-infcall.exp: Same.
585 * lib/mi-support.exp (default_mi_gdb_start): Same.
586 * lib/prompt.exp (default_prompt_gdb_start): Same.
587 * lib/gdb.exp (default_gdb_spawn): Same.
588 (gdb_interact): New.
589
590
591 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
592
593 * gdb.compile/compile.exp (pointer to jit function): New test.
594
595 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
596
597 * lib/gdb.exp (supports_process_record): Return true for
598 powerpc*-*-linux*.
599 (supports_reverse): Likewise.
600
601 2015-01-15 Don Breazeal <donb@codesourcery.com>
602
603 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
604 instead of checking whether the target board is remote and
605 use spawn_wait_for_attach instead of exec/sleep.
606 * gdb.base/attach-twice.exp: Likewise.
607
608 2015-01-15 Joel Brobecker <brobecker@adacore.com>
609
610 * gdb.ada/var_arr_attrs: New testcase.
611
612 2015-01-14 Pedro Alves <palves@redhat.com>
613 Joel Brobecker <brobecker@adacore.com>
614
615 PR gdb/17525
616 * gdb.base/bp-cmds-execution-x-script.c: New file.
617 * gdb.base/bp-cmds-execution-x-script.exp: New file.
618 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
619
620 2015-01-14 Pedro Alves <palves@redhat.com>
621
622 PR cli/17828
623 * gdb.base/batch-preserve-term-settings.c: New file.
624 * gdb.base/batch-preserve-term-settings.exp: New file.
625
626 2015-01-13 Doug Evans <dje@google.com>
627
628 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
629 binary.
630
631 2015-01-13 Joel Brobecker <brobecker@adacore.com>
632
633 * Makefile.in (clean mostlyclean): Do not delete *.py.
634
635 2015-01-13 Joel Brobecker <brobecker@adacore.com>
636
637 * gdb.python/py-lookup-type.exp: New file.
638
639 2015-01-12 Pedro Alves <palves@redhat.com>
640
641 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
642 restore GDBFLAGS before returning.
643
644 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
645
646 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
647 is_amd64_regs_target and is_x86_like_target.
648
649 2015-01-11 Doug Evans <xdje42@gmail.com>
650
651 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
652 is given without an explicit form.
653 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
654 attributes.
655 * gdb.dwarf/corrupt.exp: Ditto.
656 * gdb.dwarf2/enum-type.exp: Ditto.
657 * gdb.trace/entry-values.exp: Ditto.
658 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
659
660 2015-01-11 Doug Evans <xdje42@gmail.com>
661
662 PR gdb/15830
663 * gdb.base/maint.exp: Remove references to "maint demangle".
664 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
665 Add tests for explicitly specifying language to demangle.
666 * gdb.dlang/demangle.exp: Ditto.
667
668 2015-01-09 Pedro Alves <palves@redhat.com>
669
670 * gdb.threads/non-stop-fair-events.c: New file.
671 * gdb.threads/non-stop-fair-events.exp: New file.
672
673 2015-01-09 Pedro Alves <palves@redhat.com>
674
675 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
676 the global scope. Set a breakpoint after all threads are started
677 rather than stepping over two source lines. Expect the prompt.
678 * gdb.base/watch_thread_num.c (threads_started_barrier): New
679 global.
680 (NUM): Now 15.
681 (main): Use threads_started_barrier to wait for all threads to
682 start. Main thread no longer calls thread_function. Exit after
683 180 seconds.
684 (loop): New function.
685 (thread_function): Wait on threads_started_barrier barrier. Call
686 'loop' at each iteration.
687 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
688 threads have started, instead of hardcoding number of "next"
689 steps. Use an access watchpoint instead of a write watchpoint.
690
691 2015-01-09 Pedro Alves <palves@redhat.com>
692
693 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
694 (thread_func): Wait on barrier.
695 (main): Wait for all threads to start before stopping GDB.
696 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
697 global.
698 (thread1_func, thread2_func): Wait on barrier.
699 (main): Wait for all threads to start before stopping GDB.
700 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
701 New global.
702 (thread1_func, thread2_func): Wait on barrier.
703 (main): Wait for all threads to start before stopping GDB.
704
705 2015-01-09 Pedro Alves <palves@redhat.com>
706
707 * gdb.threads/attach-many-short-lived-threads.c: New file.
708 * gdb.threads/attach-many-short-lived-threads.exp: New file.
709
710 2014-01-09 Pedro Alves <palves@redhat.com>
711
712 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
713 instead of to thread 2.
714 * gdb.threads/signal-command-multiple-signals-pending.c (main):
715 Add barrier around each pthread_create call instead of around all
716 calls.
717 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
718 Set a break on thread_function and have the child threads hit it
719 one at at a time.
720
721 2015-01-09 Pedro Alves <palves@redhat.com>
722
723 * lib/gdb.exp (can_spawn_for_attach): New procedure.
724 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
725 false.
726 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
727 checking whether the target board is remote.
728 * gdb.multi/multi-attach.exp: Likewise.
729 * gdb.python/py-sync-interp.exp: Likewise.
730 * gdb.server/ext-attach.exp: Likewise.
731 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
732 tests that need to attach, instead of checking whether the target
733 board is remote at the top of the file.
734
735 2015-01-08 Yao Qi <yao@codesourcery.com>
736
737 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
738
739 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
740
741 Fix testcase compilation.
742 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
743
744 2015-01-06 Joel Brobecker <brobecker@adacore.com>
745
746 * gdb.python/py-type.exp: Add a couple test about empty
747 array creation, and negative-length array creation.
748
749 2015-01-02 Doug Evans <xdje42@gmail.com>
750
751 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
752
753 2015-01-02 Doug Evans <dje@google.com>
754
755 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
756
757 2014-12-29 Yao Qi <yao@codesourcery.com>
758
759 * gdb.trace/entry-values.exp: Update comments. Rename variable
760 bar_call_foo to returned_from_foo.
761
762 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
763
764 PR gdb/17394
765 * gdb.linespec/break-asm-file.c: New file.
766 * gdb.linespec/break-asm-file.exp: New file.
767 * gdb.linespec/break-asm-file0.s: New file.
768 * gdb.linespec/break-asm-file1.s: New file.
769
770 2014-12-18 Nigel Stephens <nigel@mips.com>
771 Maciej W. Rozycki <macro@codesourcery.com>
772
773 * gdb.base/float.exp: Handle the new output from "info float" on
774 MIPS targets.
775
776 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
777
778 Fix MinGW compilation.
779 * gdb.compile/compile-ops.exp: Update untested message if
780 !skip_compile_feature_tests.
781 * gdb.compile/compile-setjmp.exp: Likewise.
782 * gdb.compile/compile-tls.exp: Likewise.
783 * gdb.compile/compile.exp: Likewise.
784 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
785 supported on this host".
786
787 2014-12-16 Doug Evans <xdje42@gmail.com>
788
789 * boards/stabs.exp: New file.
790
791 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
792
793 * gdb.base/completion.exp: Adjust to format changes of "maint
794 print user-registers".
795
796 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
797
798 PR server/17457
799 * gdb.arch/aarch64-fp.c: New file.
800 * gdb.arch/aarch64-fp.exp: New file.
801
802 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
803
804 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
805 r210637, r210913, r211666, r215400, r215817).
806
807 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
808 * dg-extract-results.py: New file.
809 * dg-extract-results.sh: Use it if the environment seems
810 suitable.
811
812 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
813
814 * dg-extract-results.py (parse_run): Handle warnings that
815 are printed before a test harness is run.
816
817 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
818
819 * dg-extract-results.py (Named): Remove __cmp__ method.
820 (output_variation): Use a key to sort variation.harnesses.
821
822 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
823
824 * dg-extract-results.py: For Python 3, force sys.stdout to
825 handle surrogate escape sequences.
826 (safe_open): New function.
827 (output_segment, main): Use it.
828
829 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
830
831 * dg-extract-results.py (Prog.result_re): Include options
832 in test name.
833
834 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
835
836 * dg-extract-results.py (output_variation): Always sort if
837 do_sum.
838
839 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
840
841 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
842 as long as we get pagination notifications.
843
844 2014-12-15 Jason Merrill <jason@redhat.com>
845
846 * Makefile.in (check-gdb.%): Restore.
847 * README: Mention it.
848
849 2014-12-13 Joel Brobecker <brobecker@adacore.com>
850
851 * gdb.ada/str_uninit: New testcase.
852
853 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
854
855 PR symtab/17642
856 * gdb.base/vla-stub-define.c: New file.
857 * gdb.base/vla-stub.c: New file.
858 * gdb.base/vla-stub.exp: New file.
859
860 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
861 Jan Kratochvil <jan.kratochvil@redhat.com>
862 Tom Tromey <tromey@redhat.com>
863
864 * configure.ac: Add gdb.compile/.
865 * configure: Regenerate.
866 * gdb.compile/Makefile.in: New file.
867 * gdb.compile/compile-ops.exp: New file.
868 * gdb.compile/compile-ops.c: New file.
869 * gdb.compile/compile-tls.c: New file.
870 * gdb.compile/compile-tls.exp: New file.
871 * gdb.compile/compile-constvar.S: New file.
872 * gdb.compile/compile-constvar.c: New file.
873 * gdb.compile/compile-mod.c: New file.
874 * gdb.compile/compile-nodebug.c: New file.
875 * gdb.compile/compile-setjmp-mod.c: New file.
876 * gdb.compile/compile-setjmp.c: New file.
877 * gdb.compile/compile-setjmp.exp: New file.
878 * gdb.compile/compile-shlib.c: New file.
879 * gdb.compile/compile.c: New file.
880 * gdb.compile/compile.exp: New file.
881 * lib/gdb.exp (skip_compile_feature_tests): New proc.
882
883 2014-12-12 Tom Tromey <tromey@redhat.com>
884
885 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
886 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
887
888 2014-12-12 Doug Evans <dje@google.com>
889
890 * lib/gdb-python.exp (get_python_valueof): New function.
891 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
892
893 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
894
895 * gdb.base/completion.exp: Add test for completion of "info
896 registers ".
897
898 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
899
900 * gdb.base/func-ptrs.c: New file.
901 * gdb.base/func-ptrs.exp: New file.
902
903 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
904
905 PR breakpoints/17012
906 * gdb.base/dprintf-detach.c: New file.
907 * gdb.base/dprintf-detach.exp: New file.
908
909 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
910
911 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
912 * lib/gdb.exp (target_is_gdbserver): New procedure.
913
914 2014-12-08 Doug Evans <dje@google.com>
915
916 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
917
918 2014-12-05 Yao Qi <yao@codesourcery.com>
919
920 * gdb.guile/scm-error.exp: Remove the third argument to
921 gdb_remote_download.
922 * gdb.guile/scm-frame-args.exp: Likewise.
923 * gdb.guile/scm-section-script.exp: Likewise.
924
925 2014-12-05 Yao Qi <yao@codesourcery.com>
926
927 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
928
929 2014-12-04 Doug Evans <dje@google.com>
930
931 * gdb.python/py-objfile.exp: Add tests for
932 objfile.add_separate_debug_file.
933
934 2014-12-04 Doug Evans <dje@google.com>
935
936 * lib/gdb.exp (get_build_id): New function.
937 (build_id_debug_filename_get): Rewrite to use it.
938 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
939
940 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
941
942 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
943 `method(long)', not just 0x0.
944 * gdb.cp/nsalias.exp: Align code labels to 4.
945 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
946 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
947 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
948 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
949 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
950 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
951
952 2014-12-02 Doug Evans <dje@google.com>
953
954 PR symtab/17602
955 * gdb.cp/anon-ns.cc: Move guts of this file to ...
956 * gdb.cp/anon-ns2.cc: ... here. New file.
957 * gdb.cp/anon-ns.exp: Update.
958
959 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
960
961 * gdb.python/py-events.py (inferior_call_handler): New.
962 (register_changed_handler, memory_changed_handler): New.
963 (test_events.invoke): Register new handlers.
964 * gdb.python/py-events.exp: Add tests for inferior call,
965 memory_changed and register_changed events.
966
967 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
968
969 * gdb.base/execl-update-breakpoints.exp: Specify the link address
970 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
971 if the linker doesn't understand this.
972
973 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
974
975 * gdb.python/python.exp: Change expected reply to help().
976
977 2014-12-01 Yao Qi <yao@codesourcery.com>
978
979 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
980 AC_CONFIG_SUBDIRS(gdb.gdbtk).
981 * configure: Re-generated.
982
983 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
984
985 * gdb.cp/chained-calls.cc: New file.
986 * gdb.cp/chained-calls.exp: New file.
987 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
988
989 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
990
991 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
992 * gdb.dwarf2/symtab-producer.exp: Same.
993 * gdb.gdb/python-interrupts.exp: Same.
994 * gdb.gdb/python-selftest.exp: Same.
995 * gdb.python/py-linetable.exp: Same.
996 * gdb.python/py-type.exp: Same.
997 * gdb.python/py-value-cc.exp: Same.
998 * gdb.python/py-value.exp: Same.
999
1000 2014-11-28 Yao Qi <yao@codesourcery.com>
1001
1002 * gdb.base/break-probes.exp: Match library name prefixed with
1003 sysroot.
1004
1005 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1006
1007 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1008 test expected output. Add parentheses for the call to print.
1009 Remove L suffix from integers.
1010
1011 2014-11-26 Doug Evans <dje@google.com>
1012
1013 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1014
1015 2014-11-22 Yao Qi <yao@codesourcery.com>
1016
1017 * gdb.trace/entry-values.c: Remove asms.
1018 (foo): Add foo_label.
1019 (bar): Add bar_label.
1020 * gdb.trace/entry-values.exp: Remove code computing foo's
1021 length and bar's length.
1022 (Dwarf::assemble): Invoke function_range for bar and use
1023 MACRO_AT_func for foo.
1024
1025 2014-11-22 Yao Qi <yao@codesourcery.com>
1026
1027 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1028 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1029 Use .Lgcc43_procstart instead of gcc43.
1030
1031 2014-11-21 Joel Brobecker <brobecker@adacore.com>
1032
1033 * gdb.ada/n_arr_bound: New testcase.
1034
1035 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1036
1037 PR breakpoints/10737
1038 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1039 test_catch_syscall_multi_arch.
1040 (test_catch_syscall_multi_arch): New function.
1041
1042 2014-11-20 Doug Evans <xdje42@gmail.com>
1043
1044 * gdb.base/maint.exp: Update expected output.
1045
1046 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1047
1048 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1049 4-byte instruction on S390.
1050
1051 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1052
1053 * gdb.ada/arr_arr: New testcase.
1054
1055 2014-11-19 Joel Brobecker <brobecker@adacore.com>
1056
1057 * gdb.ada/pkd_arr_elem: New Testcase.
1058
1059 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
1060
1061 * gdb.reverse/break-precsave: Expect completion message for
1062 core file reads.
1063 * gdb.reverse/consecutive-precsave.exp: Likewise.
1064 * gdb.reverse/finish-precsave.exp: Likewise.
1065 * gdb.reverse/i386-precsave.exp: Likewise.
1066 * gdb.reverse/machinestate-precsave.exp: Likewise.
1067 * gdb.reverse/sigall-precsave.exp: Likewise.
1068 * gdb.reverse/solib-precsave.exp: Likewise.
1069 * gdb.reverse/step-precsave.exp: Likewise.
1070 * gdb.reverse/until-precsave.exp: Likewise.
1071 * gdb.reverse/watch-precsave.exp: Likewise.
1072
1073 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1074
1075 * gdb.base/bp-permanent.c: Include unistd.h.
1076 * gdb.python/py-framefilter-mi.c (main): Add return type.
1077 * gdb.python/py-framefilter.c (main): Likewise.
1078 * gdb.trace/actions-changed.c (main): Likewise.
1079
1080 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1081
1082 * gdb.mi/until.c: Add eye-catchers.
1083 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1084 line numbers.
1085
1086 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1087
1088 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1089 function header variants in break1.c.
1090 * gdb.base/ena-dis-br.exp: Likewise.
1091 * gdb.base/hbreak2.exp: Likewise.
1092 * gdb.reverse/until-precsave.exp: Drop references to removed
1093 non-prototype function header variants in ur1.c.
1094 * gdb.reverse/until-reverse.exp: Likewise.
1095
1096 2014-11-17 Petr Machata <pmachata@redhat.com>
1097
1098 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1099 ${_cu_offset_size} bytes abbrev offset.
1100
1101 2014-11-15 Doug Evans <xdje42@gmail.com>
1102
1103 PR symtab/17559
1104 * gdb.base/line-symtabs.exp: New file.
1105 * gdb.base/line-symtabs.c: New file.
1106 * gdb.base/line-symtabs.h: New file.
1107
1108 2014-11-14 Yao Qi <yao@codesourcery.com>
1109
1110 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1111 (func): Add label func_label.
1112 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1113 Replace low_pc and high_pc with MACRO_AT_range.
1114 Replace name, low_pc and high_pc with MACRO_AT_func.
1115
1116 2014-11-14 Yao Qi <yao@codesourcery.com>
1117
1118 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1119 Replace name, low_pc and high_pc with MACRO_AT_func.
1120
1121 2014-11-14 Yao Qi <yao@codesourcery.com>
1122
1123 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1124 produce debug information.
1125 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1126
1127 2014-11-14 Yao Qi <yao@codesourcery.com>
1128
1129 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1130 object and get function length.
1131 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1132 with MACRO_AT_func.
1133 (top-level): Replace gdb_compile and clean_restart with
1134 prepare_for_testing.
1135 * gdb.dwarf2/main.c (main): Add label main_label.
1136
1137 2014-11-14 Yao Qi <yao@codesourcery.com>
1138
1139 * lib/dwarf.exp (function_range): New procedure.
1140 (Dwarf::_handle_macro_at_func): New procedure.
1141 (Dwarf::_handle_macro_at_range): New procedure.
1142 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1143
1144 2014-11-14 Yao Qi <yao@codesourcery.com>
1145
1146 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1147 (_handle_attribute): New procedure.
1148
1149 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1150
1151 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1152 * gdb.base/call-sc.c (zed): Likewise.
1153 * gdb.base/checkpoint.c (main): Likewise.
1154 * gdb.base/dump.c (main): Likewise.
1155 * gdb.base/gcore.c (main): Likewise.
1156 * gdb.base/huge.c (main): Likewise.
1157 * gdb.base/multi-forks.c (main): Likewise.
1158 * gdb.base/pr10179-a.c (main): Likewise.
1159 * gdb.base/savedregs.c (main): Likewise.
1160 * gdb.base/sigaltstack.c (main): Likewise.
1161 * gdb.base/siginfo.c (main): Likewise.
1162 * gdb.base/structs.c (zed): Likewise.
1163 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1164 * gdb.mi/mi-syn-frame.c (main): Likewise.
1165 * gdb.mi/until.c (foo, main): Likewise.
1166 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1167 * gdb.base/solib-weak.c (foo): Declare.
1168 * gdb.base/attach-twice.c: Include stdio.h.
1169 * gdb.base/weaklib1.c: Likewise.
1170 * gdb.base/weaklib2.c: Likewise.
1171 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1172 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1173 unistd.h.
1174 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1175 * gdb.mi/mi-exit-code.c: Likewise.
1176 * gdb.base/break-interp-lib.c: Include string.h.
1177 * gdb.base/coremaker.c: Likewise.
1178 * gdb.base/testenv.c: Likewise.
1179 * gdb.python/py-finish-breakpoint.c: Likewise.
1180 * gdb.base/inferior-died.c: Include sys/wait.h.
1181 * gdb.base/fileio.c: Include time.h.
1182 * gdb.base/async-shell.c: Include unistd.h.
1183 * gdb.base/dprintf-non-stop.c: Likewise.
1184 * gdb.base/info-os.c: Likewise.
1185 * gdb.mi/mi-console.c: Likewise.
1186 * gdb.mi/watch-nonstop.c: Likewise.
1187 * gdb.python/py-events.c: Likewise.
1188 * gdb.base/async.c (baz): Move up before its invocation.
1189 * gdb.base/code_elim2.c (my_global_func): Likewise.
1190 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1191 * gdb.base/advance.c (func2): Likewise.
1192
1193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1194
1195 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1196 variant.
1197 * gdb.base/annota3.c: Likewise.
1198 * gdb.base/async.c: Likewise.
1199 * gdb.base/average.c: Likewise.
1200 * gdb.base/call-ar-st.c: Likewise.
1201 * gdb.base/call-rt-st.c: Likewise.
1202 * gdb.base/call-sc.c: Likewise.
1203 * gdb.base/call-strs.c: Likewise.
1204 * gdb.base/ending-run.c: Likewise.
1205 * gdb.base/execd-prog.c: Likewise.
1206 * gdb.base/exprs.c: Likewise.
1207 * gdb.base/foll-exec.c: Likewise.
1208 * gdb.base/foll-fork.c: Likewise.
1209 * gdb.base/foll-vfork.c: Likewise.
1210 * gdb.base/funcargs.c: Likewise.
1211 * gdb.base/gcore.c: Likewise.
1212 * gdb.base/jump.c: Likewise.
1213 * gdb.base/langs0.c: Likewise.
1214 * gdb.base/langs1.c: Likewise.
1215 * gdb.base/langs2.c: Likewise.
1216 * gdb.base/mips_pro.c: Likewise.
1217 * gdb.base/nodebug.c: Likewise.
1218 * gdb.base/opaque0.c: Likewise.
1219 * gdb.base/opaque1.c: Likewise.
1220 * gdb.base/recurse.c: Likewise.
1221 * gdb.base/run.c: Likewise.
1222 * gdb.base/scope0.c: Likewise.
1223 * gdb.base/scope1.c: Likewise.
1224 * gdb.base/setshow.c: Likewise.
1225 * gdb.base/setvar.c: Likewise.
1226 * gdb.base/shmain.c: Likewise.
1227 * gdb.base/shr1.c: Likewise.
1228 * gdb.base/shr2.c: Likewise.
1229 * gdb.base/sigall.c: Likewise.
1230 * gdb.base/signals.c: Likewise.
1231 * gdb.base/so-indr-cl.c: Likewise.
1232 * gdb.base/solib2.c: Likewise.
1233 * gdb.base/structs.c: Likewise.
1234 * gdb.base/sum.c: Likewise.
1235 * gdb.base/vforked-prog.c: Likewise.
1236 * gdb.base/watchpoint.c: Likewise.
1237 * gdb.reverse/shr2.c: Likewise.
1238 * gdb.reverse/until-reverse.c: Likewise.
1239 * gdb.reverse/ur1.c: Likewise.
1240 * gdb.reverse/watch-reverse.c: Likewise.
1241
1242 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1243
1244 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1245 variant.
1246 * gdb.base/sepdebug.exp: Drop references to removed code.
1247
1248 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1249
1250 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1251 variant. Preserve original line numbering.
1252 * gdb.base/list1.c: Likewise.
1253
1254 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1255
1256 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1257 variant.
1258 * gdb.base/break1.c: Likewise.
1259 * gdb.base/break.exp: Drop references to removed code.
1260
1261 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1262
1263 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1264 variant.
1265
1266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1267
1268 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1269
1270 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1271
1272 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1273 logic into perform_all_tests() and invoke it with and without
1274 function header prototypes.
1275 (do_function_calls): Remove conditional XFAIL for PR 5318.
1276 (rerun_and_prepare): Remove duplicate code.
1277 (perform_all_tests): New. Main logic moved here.
1278
1279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1280
1281 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1282 code guarded by #ifdef NO_PROTOTYPES.
1283 (t_double_many_args): Likewise.
1284 (DEF_FUNC_MANY_ARGS_1): Likewise.
1285 (DEF_FUNC_VALUES_1): Likewise.
1286 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1287 guarded by #ifdef PROTOTYPES.
1288
1289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1290
1291 * gdb.mi/mi-console.c: Add eye-catcher.
1292 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1293 instead of literal line number.
1294
1295 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1296
1297 * gdb.base/shr2.c: Add eye-catcher.
1298 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1299 line number.
1300
1301 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1302
1303 * gdb.base/jump.c: Add eye-catchers.
1304 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1305 numbers.
1306
1307 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1308
1309 * gdb.base/execd-prog.c: Add eye-catchers.
1310 * gdb.base/foll-exec.c: Likewise.
1311 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1312 line numbers.
1313
1314 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1315
1316 * gdb.base/ending-run.c: Add eye-catchers.
1317 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1318 literal line numbers.
1319
1320 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1321
1322 * gdb.base/call-rt-st.c: Add eye-catchers.
1323 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1324 literal line numbers.
1325
1326 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1327
1328 * gdb.base/call-ar-st.c: Add eye-catchers.
1329 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1330 literal line numbers.
1331
1332 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1333
1334 * gdb.base/average.c: Add eye-catchers.
1335 * gdb.base/sum.c: Likewise.
1336 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1337 regexps dynamically.
1338
1339 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1340
1341 * gdb.base/solib1.c: Add eye-catchers.
1342 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1343 literal line numbers.
1344
1345 2014-11-12 Pedro Alves <palves@redhat.com>
1346
1347 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1348 leader has exited.
1349
1350 2014-11-12 Pedro Alves <palves@redhat.com>
1351
1352 * gdb.arch/i386-bp_permanent.c: New file.
1353 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1354 (srcfile): Set to i386-bp_permanent.c.
1355 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1356 that stepi does not execute the 'leave' instruction, instead of
1357 testing it does execute.
1358 * gdb.base/bp-permanent.c: New file.
1359 * gdb.base/bp-permanent.exp: New file.
1360
1361 2014-11-10 Doug Evans <xdje42@gmail.com>
1362
1363 PR symtab/17564
1364 * gdb.base/symtab-search-order.exp: New file.
1365 * gdb.base/symtab-search-order.c: New file.
1366 * gdb.base/symtab-search-order-1.c: New file.
1367 * gdb.base/symtab-search-order-shlib-1.c: New file.
1368
1369 2014-11-07 Pedro Alves <palves@redhat.com>
1370
1371 PR gdb/17511
1372 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1373 i?86-*-linux*.
1374
1375 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1376
1377 PR c++/17494
1378 * gdb.cp/pr17494.cc: New file.
1379 * gdb.cp/pr17494.exp: New file.
1380
1381 2014-11-02 Yao Qi <yao@codesourcery.com>
1382
1383 * gdb.python/python.exp: Get working directory and match the
1384 output of "set extended-prompt \\w " with it.
1385
1386 2014-10-30 Doug Evans <dje@google.com>
1387
1388 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1389 in objfiles.
1390 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1391 in progspaces.
1392
1393 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
1394
1395 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1396 * gdb.base/realname-expand.exp: Likewise.
1397 * gdb.linespec/macro-relative.exp: Likewise.
1398
1399 2014-10-29 Pedro Alves <palves@redhat.com>
1400
1401 PR gdb/17408
1402 * gdb.threads/schedlock.c (some_function): New function.
1403 (call_function): New global.
1404 (MAYBE_CALL_SOME_FUNCTION): New macro.
1405 (thread_function): Call it.
1406 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1407 and use it instead of a global counter. Adjust all callers.
1408 (get_current_thread): Use "find current thread" for test message
1409 here rather than having all callers pass down the same string.
1410 (goto_loop): New procedure, factored out from ...
1411 (my_continue): ... this.
1412 (step_ten_loops): Change parameter from test message to command to
1413 use. Adjust.
1414 (list_count): Delete global.
1415 (check_result): New procedure, factored out from duplicate top
1416 level code.
1417 (continue tests): Wrap in with_test_prefix.
1418 (test_step): New procedure, factored out from duplicate top level
1419 code.
1420 (top level): Test "step" in combination with all scheduler-locking
1421 modes. Test "next" in combination with all scheduler-locking
1422 modes, and in combination with stepping over a function call or
1423 not.
1424 * gdb.threads/next-bp-other-thread.c: New file.
1425 * gdb.threads/next-bp-other-thread.exp: New file.
1426
1427 2014-10-29 Pedro Alves <palves@redhat.com>
1428
1429 PR python/17372
1430 * gdb.python/python.exp: Test a multi-line command that spawns
1431 interactive Python.
1432 * gdb.base/multi-line-starts-subshell.exp: New file.
1433
1434 2014-10-29 Yao Qi <yao@codesourcery.com>
1435
1436 * gdb.base/fileio.exp: Make directories on host.
1437
1438 2014-10-29 Yao Qi <yao@codesourcery.com>
1439
1440 * gdb.base/fileio.c (test_write): Close the file.
1441
1442 2014-10-28 Pedro Alves <palves@redhat.com>
1443
1444 PR gdb/12623
1445 * gdb.base/sigstep.c (no_handler): New global.
1446 (main): If 'no_handler is true, set the signal handlers to
1447 SIG_IGN.
1448 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1449 with_sw_watch and no_handler parameters. Handle them.
1450 (top level) <stepping over handler when stopped at a breakpoint
1451 test>: Add a test axis for testing with a software watchpoint, and
1452 another for testing with the signal handler set to SIG_IGN.
1453 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1454 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1455
1456 2014-10-28 Pedro Alves <palves@redhat.com>
1457
1458 PR gdb/17511
1459 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1460 * gdb.base/sigstep.exp (other_handler_location): New global.
1461 (advance): Support stepping into the signal handler, and running
1462 commands while in the handler.
1463 (in_handler_map): New global.
1464 (top level): In the advance test, add combinations for getting
1465 into the handler with stepping commands, and for running commands
1466 in the handler. Add comment descripting the advancei tests.
1467
1468 2014-10-28 Pedro Alves <palves@redhat.com>
1469
1470 * gdb.base/sigstep.exp: Use build_executable instead of
1471 prepare_for_testing.
1472 (top level): Move code that starts GDB, runs to main and creates a
1473 display to ...
1474 (restart): ... this new procedure.
1475 (top level): Move backtrace from signal handler test to ...
1476 (validate_backtrace): ... this new procedure.
1477 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1478 with_test_prefix. Always restart GDB.
1479 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1480 with_test_prefix. Always restart GDB. No need to delete
1481 breakpoints after the test.
1482 (test_skip_handler): Remove prefix parameter.
1483 (skip_over_handler, breakpoint_to_handler)
1484 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1485 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1486 restart GDB. No need to delete breakpoints after the test.
1487 (top level): Use foreach to call the test procedures with
1488 different commands.
1489
1490 2014-10-28 Pedro Alves <palves@redhat.com>
1491
1492 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1493 instead of GNATS numbers.
1494 * gdb.base/sigbpt.exp: Likewise.
1495 * gdb.base/siginfo.exp: Likewise.
1496 * gdb.base/sigstep.exp: Likewise.
1497
1498 2014-10-27 Pedro Alves <palves@redhat.com>
1499
1500 * gdb.base/sigstep.c (dummy): New global.
1501 (main): Issue a couple writes to the new global.
1502 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1503 procedures.
1504 (skip_over_handler): Use test_skip_handler.
1505 (top level): Call skip_over_handler for stepi and nexti too.
1506 (breakpoint_over_handler): Use test_skip_handler.
1507 (top level): Call breakpoint_over_handler for stepi and nexti too.
1508
1509 2014-10-27 Yao Qi <yao@codesourcery.com>
1510
1511 * gdb.trace/tfile.c (adjust_function_address)
1512 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1513 function descriptor.
1514
1515 2014-10-24 Don Breazeal <donb@codesourcery.com>
1516
1517 * gdb.base/foll-fork.exp (test_follow_fork,
1518 catch_fork_child_follow): Check for updated fork messages emitted
1519 from infrun.c.
1520 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1521 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1522 vfork_and_exec_child_follow_through_step): Check for updated vfork
1523 messages emitted from infrun.c.
1524
1525 2014-10-24 Pedro Alves <palves@redhat.com>
1526
1527 * gdb.base/corefile.exp: Remove references to ultrix.
1528 * gdb.base/interrupt.exp: Likewise.
1529 * gdb.base/whatis.exp: Likewise.
1530 * gdb.gdb/selftest.exp: Likewise.
1531 * gdb.threads/manythreads.exp: Likewise.
1532 * gdb.threads/print-threads.exp: Likewise.
1533 * gdb.threads/pthreads.exp:: Likewise.
1534 * gdb.threads/schedlock.exp: Likewise.
1535
1536 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1537
1538 * gdb.cp/non-trivial-retval.cc: Add a test case.
1539 * gdb.cp/non-trivial-retval.exp: Add a test.
1540
1541 2014-10-20 Yao Qi <yao@codesourcery.com>
1542
1543 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1544 * gdb.python/py-objfile-script-gdb.py: New file.
1545 * gdb.python/py-objfile-script.exp: Update reference to
1546 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1547 of remote_download. Remove the dest file.
1548
1549 2014-10-20 Yao Qi <yao@codesourcery.com>
1550
1551 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1552 * gdb.base/step-line.exp: Likewise.
1553 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1554 * gdb.dwarf2/dw2-basic.exp: Likewise.
1555 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1556 * gdb.dwarf2/dw2-filename.exp: Likewise.
1557 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1558 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1559 * gdb.dwarf2/dw2-producer.exp: Likewise.
1560 * gdb.dwarf2/mac-fileno.exp: Likewise.
1561 * gdb.python/py-frame-args.exp: Likewise.
1562 * gdb.python/py-framefilter.exp: Likewise.
1563 * gdb.python/py-mi.exp: Likewise.
1564 * gdb.python/py-objfile-script.exp: Likewise
1565 * gdb.python/py-pp-integral.exp: Likewise.
1566 * gdb.python/py-pp-re-notag.exp: Likewise.
1567 * gdb.python/py-prettyprint.exp: Likewise.
1568 * gdb.python/py-section-script.exp: Likewise.
1569 * gdb.python/py-typeprint.exp: Likewise.
1570 * gdb.python/py-xmethods.exp: Likewise.
1571 * gdb.stabs/weird.exp: Likewise.
1572 * gdb.xml/tdesc-regs.exp: Likewise.
1573
1574 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1575
1576 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
1577 (out_cu): Use addr_len for the size of addresses.
1578 (out_line): Likewise. Size DW_LNE_set_address instruction
1579 according to addr_len.
1580 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
1581 (FUNC): Add START_INSNS to definition.
1582
1583 2014-10-18 Yao Qi <yao@codesourcery.com>
1584
1585 * gdb.base/argv0-symlink.exp: Check argv[0] value if
1586 gdb_has_argv0 return true.
1587 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
1588 check [target_info exists noargs], check [gdb_has_argv0]
1589 instead.
1590 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1591 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
1592 procedures.
1593
1594 2014-10-17 Doug Evans <dje@google.com>
1595
1596 * gdb.python/py-events.exp: Update expected output for clear_objfiles
1597 event.
1598 * gdb.python/py-events.py: Add clear_objfiles event.
1599
1600 2014-10-17 Doug Evans <dje@google.com>
1601
1602 * gdb.python/py-objfile.exp: Test progspace attribute.
1603
1604 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
1605
1606 * gdb.guile/scm-breakpoint.exp: Do not assume any
1607 directory separators when matching source file paths.
1608 * gdb.python/py-breakpoint.exp: Likewise.
1609 * gdb.reverse/break-precsave.exp: Likewise.
1610 * gdb.reverse/break-reverse.exp: Likewise.
1611 * gdb.reverse/consecutive-precsave.exp: Likewise.
1612 * gdb.reverse/finish-precsave.exp: Likewise.
1613 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1614 * gdb.reverse/finish-reverse.exp: Likewise.
1615 * gdb.reverse/i386-precsave.exp: Likewise.
1616 * gdb.reverse/i387-env-reverse.exp: Likewise.
1617 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1618 * gdb.reverse/machinestate-precsave.exp: Likewise.
1619 * gdb.reverse/machinestate.exp: Likewise.
1620 * gdb.reverse/sigall-precsave.exp: Likewise.
1621 * gdb.reverse/solib-precsave.exp: Likewise.
1622 * gdb.reverse/step-precsave.exp: Likewise.
1623 * gdb.reverse/until-precsave.exp: Likewise.
1624 * gdb.reverse/watch-precsave.exp: Likewise.
1625 * gdb.reverse/watch-reverse.exp: Likewise.
1626
1627 2014-10-17 Yao Qi <yao@codesourcery.com>
1628
1629 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
1630 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
1631
1632 2014-10-17 Pedro Alves <palves@redhat.com>
1633
1634 PR gdb/17471
1635 * gdb.base/bg-execution-repeat.c: New file.
1636 * gdb.base/bg-execution-repeat.exp: New file.
1637
1638 2014-10-17 Pedro Alves <palves@redhat.com>
1639
1640 PR gdb/17300
1641 * gdb.base/continue-all-already-running.c: New file.
1642 * gdb.base/continue-all-already-running.exp: New file.
1643
1644 2014-10-17 Pedro Alves <palves@redhat.com>
1645
1646 PR gdb/17472
1647 * gdb.base/annota-input-while-running.c: New file.
1648 * gdb.base/annota-input-while-running.exp: New file.
1649
1650 2014-10-17 Pedro Alves <palves@redhat.com>
1651
1652 * gdb.base/callfuncs.exp: emove references to osf.
1653 * gdb.base/sigall.exp: Likewise.
1654 * gdb.gdb/selftest.exp: Likewise.
1655 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1656 * gdb.mi/non-stop.c: Likewise.
1657 * gdb.mi/pthreads.c: Likewise.
1658 * gdb.reverse/sigall-precsave.exp: Likewise.
1659 * gdb.reverse/sigall-reverse.exp: Likewise.
1660 * gdb.threads/pthreads.c: Likewise.
1661 * gdb.threads/pthreads.exp: Likewise.
1662
1663 2014-10-17 Yao Qi <yao@codesourcery.com>
1664
1665 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1666 check 'target_info exists noargs'.
1667 (test_command_prompt_position): Likewise.
1668 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1669 Remove "set args".
1670 (progvar_simple_while_test): Likewise.
1671 (progvar_complex_if_while_test): Likewise.
1672 (if_while_breakpoint_command_test): Likewise.
1673 (infrun_breakpoint_command_test): Likewise.
1674 (breakpoint_command_test): Likewise.
1675 (watchpoint_command_test): Likewise.
1676 (bp_deleted_in_command_test): Likewise.
1677 (temporary_breakpoint_commands): Likewise.
1678
1679 2014-10-16 Yao Qi <yao@codesourcery.com>
1680
1681 * gdb.base/remotetimeout.exp: Remove noargs checking.
1682
1683 2014-10-15 Pedro Alves <palves@redhat.com>
1684
1685 PR breakpoints/9649
1686 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1687 * gdb.base/breakpoint-in-ro-region.exp
1688 (probe_target_hardware_step): New procedure.
1689 (top level): Probe hardware stepping and hardware breakpoint
1690 support. Test stepping through a read-only region, with both
1691 "breakpoint auto-hw" on and off and both "always-inserted" on and
1692 off.
1693
1694 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1695
1696 * gdb.dlang/demangle.exp: Update for demangling changes.
1697
1698 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1699
1700 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1701 * gdb.cp/non-trivial-retval.exp: Add new tests.
1702
1703 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1704
1705 PR c++/13403
1706 PR c++/15154
1707 * gdb.cp/non-trivial-retval.cc: New file.
1708 * gdb.cp/non-trivial-retval.exp: New file.
1709
1710 2014-10-15 Yao Qi <yao@codesourcery.com>
1711
1712 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1713 remote host.
1714
1715 2014-10-15 Yao Qi <yao@codesourcery.com>
1716
1717 * gdb.python/py-symbol.exp: Match file base name if host is
1718 remote, otherwise match file name with dir name.
1719 * gdb.python/py-symtab.exp: Likewise.
1720 * gdb.python/python.exp: Likewise.
1721
1722 2014-10-15 Yao Qi <yao@codesourcery.com>
1723
1724 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1725 pattern.
1726 * gdb.python/py-symtab.exp: Likewise.
1727 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1728 locationn.
1729
1730 2014-10-14 Joel Brobecker <brobecker@adacore.com>
1731
1732 * gdb.ada/addr_arith: New testcase.
1733
1734 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1735
1736 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1737 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1738 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1739 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1740
1741 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1742
1743 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1744 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1745 * gdb.arch/stap-eval-lang-ada.exp: New file.
1746
1747 2014-10-14 Yao Qi <yao@codesourcery.com>
1748
1749 * gdb.mi/mi-var-child.c (nothing1): New function.
1750 (nothing2): New function.
1751 (do_children_tests): Set function pointers by nothing1 and
1752 nothing2.
1753 * gdb.mi/mi-var-child.exp: Step over new added statements.
1754 Update test to match the new output.
1755 * gdb.mi/var-cmd.c (nothing1): New function.
1756 (nothing2): New function.
1757 (do_children_tests): Set function pointers by nothing1 and
1758 nothing2.
1759 * gdb.mi/mi-var-display.exp: Update test to match output.
1760 Step to the line specified by $line_dct_nothing.
1761 Increase the number of lines to step.
1762
1763 2014-10-14 Yao Qi <yao@codesourcery.com>
1764
1765 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1766 tests.
1767 * gdb.mi/mi2-var-child.exp: Likewise.
1768
1769 2014-10-13 Doug Evans <dje@google.com>
1770
1771 * gdb.python/py-objfile.exp: Change name of file name test.
1772
1773 2014-10-13 Doug Evans <dje@google.com>
1774
1775 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1776 from the start of the CU.
1777
1778 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1779 Yao Qi <yao@codesourcery.com>
1780
1781 Fix "save breakpoints" for "catch" command.
1782 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1783 Remove -nonewline. Match also the added "main" line.
1784
1785 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1786
1787 Fix "save breakpoints" for "disable $bpnum" command.
1788 * gdb.base/save-bp.c (main): Add label.
1789 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1790
1791 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1792
1793 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1794
1795 2014-10-11 Yao Qi <yao@codesourcery.com>
1796
1797 * gdb.server/server-kill.exp: Execute command
1798 "set remote trace-status-packet on" before "tstatus".
1799
1800 2014-10-11 Yao Qi <yao@codesourcery.com>
1801
1802 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1803 (main): Call getppid.
1804 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1805 and continue to it. Read variable "server_pid".
1806
1807 2014-10-11 Yao Qi <yao@codesourcery.com>
1808
1809 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1810
1811 2014-10-11 Yao Qi <yao@codesourcery.com>
1812
1813 * gdb.threads/thread-find.exp: Don't execute command
1814 "info threads".
1815 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1816 * gdb.threads/linux-dp.exp: Don't check the condition
1817 $threads_created equals to zero.
1818
1819 2014-10-10 Pedro Alves <palves@redhat.com>
1820
1821 * gdb.base/bigcore.exp: Remove references to IRIX.
1822 * gdb.base/funcargs.exp: Likewise.
1823 * gdb.base/interrupt.exp: Likewise.
1824 * gdb.base/mips_pro.exp: Likewise.
1825 * gdb.base/nodebug.exp: Likewise.
1826 * gdb.base/setvar.exp: Likewise.
1827 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1828
1829 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1830 Pedro Alves <palves@redhat.com>
1831
1832 PR symtab/14466
1833 * gdb.base/vdso-warning.c: New file.
1834 * gdb.base/vdso-warning.exp: New file.
1835
1836 2014-10-02 Doug Evans <dje@google.com>
1837
1838 * gdb.base/structs.c (main): Don't run forever.
1839
1840 2014-10-02 Pedro Alves <palves@redhat.com>
1841
1842 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1843 (top level) <stop threads 1, stop threads 2>: Use it.
1844
1845 2014-10-02 Pedro Alves <palves@redhat.com>
1846
1847 * gdb.threads/break-while-running.exp (test): Add new
1848 'update_thread_list' argument. Skip "info threads" if false.
1849 (top level): Add new 'update_thread_list' axis.
1850
1851 2014-10-02 Pedro Alves <palves@redhat.com>
1852
1853 PR breakpoints/17431
1854 * gdb.base/execl-update-breakpoints.c: New file.
1855 * gdb.base/execl-update-breakpoints.exp: New file.
1856
1857 2014-10-01 Pedro Alves <palves@redhat.com>
1858
1859 * gdb.base/breakpoint-in-ro-region.c: New file.
1860 * gdb.base/breakpoint-in-ro-region.exp: New file.
1861
1862 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1863
1864 * gdb.mi/mi-exit-code.exp: New file.
1865 * gdb.mi/mi-exit-code.c: New file.
1866
1867 2014-09-30 Yao Qi <yao@codesourcery.com>
1868
1869 * lib/prelink-support.exp (build_executable_own_libs): Error if
1870 the target isn't native.
1871
1872 2014-09-30 Yao Qi <yao@codesourcery.com>
1873
1874 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1875 false.
1876
1877 2014-09-22 Pedro Alves <palves@redhat.com>
1878
1879 * gdb.threads/break-while-running.exp: New file.
1880 * gdb.threads/break-while-running.c: New file.
1881
1882 2014-09-19 Yao Qi <yao@codesourcery.com>
1883
1884 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1885 Invoke test. Restart GDB with --readnow and invoke test again.
1886
1887 2014-09-19 Yao Qi <yao@codesourcery.com>
1888
1889 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1890 proc set_breakpoint_on_gcd_function. Invoke
1891 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1892 invoke set_breakpoint_on_gcd_function again.
1893
1894 2014-09-18 Doug Evans <dje@google.com>
1895
1896 * gdb.dwarf2/symtab-producer.exp: New file.
1897
1898 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1899
1900 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1901 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1902 * gdb.base/global-var-nested-by-dso.c: Likewise.
1903 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1904
1905 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1906 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.base/watch-bitfields.exp: Pass string other than test file
1909 name to prepare_for_testing.
1910 (watch): New procedure.
1911 (expect_watchpoint): Use with_test_prefix.
1912 (top level): Factor out tests to ...
1913 (test_watch_location, test_regular_watch): ... these new
1914 procedures, and use with_test_prefix and gdb_continue_to_end.
1915
1916 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1917
1918 PR breakpoints/12526
1919 * gdb.base/watch-bitfields.exp: New file.
1920 * gdb.base/watch-bitfields.c: New file.
1921
1922 2014-09-16 Pedro Alves <palves@redhat.com>
1923
1924 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1925 software and hardware addresses, not software address against
1926 itself.
1927
1928 2014-09-16 Pedro Alves <palves@redhat.com>
1929
1930 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1931 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1932
1933 2014-09-16 Pedro Alves <palves@redhat.com>
1934
1935 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1936 files.
1937 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1938 "*-*-vxworks*" throughout.
1939 * gdb.base/break.exp: Likewise.
1940 * gdb.base/default.exp: Likewise.
1941 * gdb.base/scope.exp: Likewise.
1942 * gdb.base/sepdebug.exp: Likewise.
1943 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1944 throughout.
1945 * gdb.base/run.c: Likewise.
1946 * gdb.base/sepdebug.c: Likewise.
1947 * gdb.hp/gdb.aCC/run.c: Likewise.
1948 * gdb.reverse/until-reverse.c: Likewise.
1949 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1950
1951 2014-09-16 Yao Qi <yao@codesourcery.com>
1952
1953 * boards/local-remote-host-native.exp: New file.
1954
1955 2014-09-14 Doug Evans <xdje42@gmail.com>
1956
1957 * gdb.threads/queue-signal.c (thread_count): New variable.
1958 (thread_count_mutex, thread_count_condvar): New variables.
1959 (incr_thread_count, wait_all_threads_running): New functions.
1960 (main): Wait for all threads to be in their thread functions.
1961
1962 2014-09-13 Doug Evans <xdje42@gmail.com>
1963
1964 * gdb.threads/queue-signal.c: New file.
1965 * gdb.threads/queue-signal.exp: New file.
1966
1967 2014-09-13 Doug Evans <xdje42@gmail.com>
1968
1969 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1970 be consistent with what default_gdb_init uses.
1971 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1972 the plain text of the prompt. Add some logging printfs.
1973 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1974
1975 2014-09-12 Pedro Alves <palves@redhat.com>
1976
1977 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1978 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1979 * gdb.arch/i386-size-overlap.exp: Likewise.
1980 * gdb.arch/i386-size.exp: Likewise.
1981 * gdb.arch/i386-unwind.exp: Likewise.
1982 * gdb.base/a2-run.exp: Likewise.
1983 * gdb.base/break.exp: Likewise.
1984 * gdb.base/charset.exp: Likewise.
1985 * gdb.base/chng-syms.exp: Likewise.
1986 * gdb.base/commands.exp: Likewise.
1987 * gdb.base/dbx.exp: Likewise.
1988 * gdb.base/find.exp: Likewise.
1989 * gdb.base/funcargs.exp: Likewise.
1990 * gdb.base/jit-simple.exp: Likewise.
1991 * gdb.base/reread.exp: Likewise.
1992 * gdb.base/sepdebug.exp: Likewise.
1993 * gdb.base/step-bt.exp: Likewise.
1994 * gdb.cp/mb-inline.exp: Likewise.
1995 * gdb.cp/mb-templates.exp: Likewise.
1996 * gdb.objc/basicclass.exp: Likewise.
1997 * gdb.threads/killed.exp: Likewise.
1998
1999 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2000
2001 PR tdep/17379
2002 * gdb.arch/powerpc-stackless.S: New file.
2003 * gdb.arch/powerpc-stackless.exp: New file.
2004
2005 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2006
2007 * gdb.base/attach.c: Include unistd.h.
2008 (main): Call alarm. Add label postloop.
2009 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2010 gdb_breakpoint, gdb_continue_to_breakpoint.
2011 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2012
2013 2014-09-11 Pedro Alves <palves@redhat.com>
2014
2015 PR gdb/17347
2016 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2017 * gdb.base/attach.exp (test_command_line_attach_run): New
2018 procedure.
2019 (top level): Call it.
2020
2021 2014-09-11 Pedro Alves <palves@redhat.com>
2022
2023 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2024 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2025 (do_command_attach_tests): Use spawn_wait_for_attach.
2026 * gdb.base/solib-overlap.exp: Likewise.
2027 * gdb.multi/multi-attach.exp: Likewise.
2028 * gdb.python/py-prompt.exp: Likewise.
2029 * gdb.python/py-sync-interp.exp: Likewise.
2030 * gdb.server/ext-attach.exp: Likewise.
2031
2032 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2033
2034 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2035 command in testcase. Simplify testcase.
2036
2037 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2038
2039 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2040
2041 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2042
2043 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2044
2045 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2046
2047 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2048
2049 2014-09-10 Joel Brobecker <brobecker@adacore.com>
2050
2051 * gdb.dwarf2/dynarr-ptr.c: New file.
2052 * gdb.dwarf2/dynarr-ptr.exp: New file.
2053
2054 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2055
2056 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2057 of 30 rather than hardcoding 120 for a slow test case. Take the
2058 `gdb,timeout' target setting into account for this calculation.
2059 Don't extend the timeout for the test cases that don't need it.
2060
2061 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2062
2063 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2064 a factor of 2 for a slow test case. Take the `gdb,timeout'
2065 target setting into account for this calculation.
2066 * gdb.reverse/until-precsave.exp: Increase the timeout by
2067 a factor of 15 and 3 respectively rather than adding 120
2068 for a pair of slow test cases. Take the `gdb,timeout'
2069 target setting into account for this calculation.
2070
2071 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2072
2073 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2074 timeout, don't pass one down to gdb_expect.
2075 (gdb_expect): Rework timeout selection.
2076
2077 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2078
2079 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2080 exception on timeout.
2081 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2082 (gdbserver_start_extended): Catch any `gdbserver_start' error
2083 exceptions.
2084 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2085 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2086 `gdbserver_gdb_load' error exceptions.
2087
2088 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2089
2090 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2091 120 on waiting for the TCP socket to open.
2092
2093 2014-09-09 Doug Evans <xdje42@gmail.com>
2094
2095 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2096 _caller_matches, _any_caller_is, _any_caller_matches.
2097
2098 2014-09-09 Doug Evans <xdje42@gmail.com>
2099
2100 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2101
2102 2014-09-09 Yao Qi <yao@codesourcery.com>
2103
2104 * gdb.mi/mi-var-display.exp: Set print symbol off.
2105
2106 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2107
2108 PR gdb/17035
2109 * gdb.base/commands.exp: Add tests to verify user-defined
2110 commands with empty bodies.
2111 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2112 python commands in `show user command`.
2113 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2114 scheme commands in `show user command`.
2115
2116 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2117
2118 PR python/17355
2119 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2120 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2121 * gdb.python/py-framefilter-invalidarg.exp: New file.
2122 * gdb.python/py-framefilter-invalidarg.py: New file.
2123
2124 2014-09-06 Doug Evans <xdje42@gmail.com>
2125
2126 PR 15276
2127 * gdb.python/py-caller-is.c: New file.
2128 * gdb.python/py-caller-is.exp: New file.
2129
2130 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2131
2132 PR gdb/17235
2133 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2134 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2135
2136 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2137
2138 PR fortran/17237
2139 * gdb.fortran/print-formatted.exp: New file.
2140 * gdb.fortran/print-formatted.f90: Likewise.
2141
2142 2014-09-03 Sasha Smundak <asmundak@google.com>
2143
2144 * gdb.python/py-frame.exp: Test Frame.read_register.
2145
2146 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2147
2148 PR python/16699
2149 * gdb.python/py-completion.exp: New file.
2150 * gdb.python/py-completion.py: Likewise.
2151
2152 2014-08-28 Doug Evans <dje@google.com>
2153
2154 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2155 eax,etc. are live with values set by gdb and thus the compiler can't
2156 use them.
2157 * gdb.arch/i386-pseudo.c (main): Ditto.
2158
2159 2014-08-27 Doug Evans <dje@google.com>
2160
2161 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2162
2163 2014-08-25 Doug Evans <dje@google.com>
2164
2165 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2166 (main): Ditto.
2167
2168 2014-08-25 Doug Evans <dje@google.com>
2169
2170 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2171
2172 2014-08-24 Yao Qi <yao@codesourcery.com>
2173
2174 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2175 symbol off.
2176 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2177
2178 2014-08-22 Doug Evans <dje@google.com>
2179
2180 PR 17276
2181 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2182 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2183 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2184
2185 2014-08-22 Yao Qi <yao@codesourcery.com>
2186
2187 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2188 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2189 * gdb.python/python.exp: Likewise. Use .py file on the host
2190 instead of the build.
2191
2192 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2193
2194 * gdb.threads/gcore-stale-thread.c: New file.
2195 * gdb.threads/gcore-stale-thread.exp: New file.
2196
2197 2014-08-21 Pedro Alves <palves@redhat.com>
2198
2199 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2200 * gdb.base/gcore-relro-pie.exp: Likewise.
2201 * gdb.base/gcore-relro.exp: Likewise.
2202 * gdb.base/gcore.exp: Likewise.
2203 * gdb.base/print-symbol-loading.exp: Likewise.
2204 * gdb.threads/gcore-thread.exp: Likewise.
2205 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2206
2207 2014-08-20 Pedro Alves <palves@redhat.com>
2208 Jan Kratochvil <jan.kratochvil@redhat.com>
2209
2210 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2211 configure.
2212 (EXPECT): Handle READ1 being set.
2213 (all): Depend on EXTRA_RULES.
2214 (check-read1, expect-read1, read1.so, read1): New rules.
2215 * README (Testsuite Parameters): Document the READ1 make variable.
2216 (Race detection): New section.
2217 * configure: Regenerate.
2218 * configure.ac: If build==host==target, and running under a
2219 GNU/glibc system, add read1 to the extra Makefile rules.
2220 (EXTRA_RULES): AC_SUBST it.
2221 * lib/read1.c: New file.
2222
2223 2014-08-20 Joel Brobecker <brobecker@adacore.com>
2224
2225 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2226 the handling of variables declared as a typedef to an array
2227 which a DW_AT_data_location attribute.
2228
2229 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
2230 Pedro Alves <palves@redhat.com>
2231
2232 PR symtab/14604
2233 PR symtab/14605
2234 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2235 gdb_test.
2236
2237 2014-08-19 Pedro Alves <palves@redhat.com>
2238
2239 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2240
2241 2014-08-19 Yao Qi <yao@codesourcery.com>
2242
2243 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2244 right line.
2245
2246 2014-08-18 David Blaikie <dblaikie@gmail.com>
2247
2248 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2249
2250 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2251
2252 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2253 attribute in array range.
2254
2255 2014-08-18 Joel Brobecker <brobecker@adacore.com>
2256
2257 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2258
2259 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2260
2261 PR c++/17132
2262 * gdb.cp/pr17132.cc: New file.
2263 * gdb.cp/pr17132.exp: New file.
2264
2265 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2266
2267 * gdb.python/py-xmethods.py (A_getarrayind)
2268 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2269 Use 'print' with function call syntax.
2270 (E_method_matcher.match): Fix tab vs space indentation mixup.
2271
2272 2014-08-15 Yao Qi <yao@codesourcery.com>
2273
2274 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2275 false.
2276
2277 2014-08-15 Yao Qi <yao@codesourcery.com>
2278
2279 * gdb.cp/casts.exp: Set print symbol off.
2280 * gdb.cp/class2.exp: Likewise.
2281 * gdb.cp/overload.exp: Likewise.
2282 * gdb.cp/templates.exp: Likewise.
2283
2284 2014-08-11 Doug Evans <dje@google.com>
2285
2286 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2287 (test_load_shlib): Update.
2288
2289 2014-08-09 Yao Qi <yao@codesourcery.com>
2290
2291 * gdb.base/display.exp: Invoke is_address_zero_readable.
2292 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2293 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2294 * gdb.base/hbreak-unmapped.exp: Return if
2295 is_address_zero_readable returns true.
2296 * gdb.base/signest.exp: Likewise.
2297 * gdb.base/signull.exp: Likewise.
2298 * gdb.base/sigbpt.exp: Likewise.
2299 * gdb.guile/scm-disasm.exp: Do the test if
2300 is_address_zero_readable returns false.
2301 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2302 * gdb.python/py-arch.exp: Likewise.
2303 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2304 * lib/gdb.exp (is_address_zero_readable): New proc.
2305
2306 2014-08-09 Yao Qi <yao@codesourcery.com>
2307
2308 PR testsuite/13443
2309 * gdb.mi/mi-var-display.exp: Make test messages unique.
2310
2311 2014-08-04 Tom Tromey <tromey@redhat.com>
2312
2313 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2314 target 0".
2315
2316 2014-08-04 Tom Tromey <tromey@redhat.com>
2317
2318 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2319 "target_resume".
2320
2321 2014-08-01 Joel Brobecker <brobecker@adacore.com>
2322
2323 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2324 inner_vla_struct_object_size.
2325 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2326 as xfail.
2327
2328 2014-07-30 Pedro Alves <palves@redhat.com>
2329
2330 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2331 comment.
2332
2333 2014-07-29 Yao Qi <yao@codesourcery.com>
2334
2335 PR gdb/17206
2336 * gdb.base/until-nodebug.exp: New.
2337
2338 2014-07-28 Doug Evans <xdje42@gmail.com>
2339
2340 PR guile/17203
2341 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2342 previously existing parameter, and previously ambiguously spelled
2343 parameter.
2344
2345 2014-07-28 Will Newton <will.newton@linaro.org>
2346
2347 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2348
2349 2014-07-26 Ludovic Courtès <ludo@gnu.org>
2350 Doug Evans <xdje42@gmail.com>
2351
2352 PR guile/17146
2353 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2354
2355 2014-07-25 Pedro Alves <palves@redhat.com>
2356
2357 * gdb.threads/signal-command-handle-nopass.c: New file.
2358 * gdb.threads/signal-command-handle-nopass.exp: New file.
2359 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2360 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2361 * gdb.threads/signal-delivered-right-thread.c: New file.
2362 * gdb.threads/signal-delivered-right-thread.exp: New file.
2363
2364 2014-07-25 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.base/double-prompt-target-event-error.exp
2367 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2368 match.
2369 (cancel_pagination_in_target_event): Rework double prompt
2370 detection.
2371 * gdb.base/paginate-after-ctrl-c-running.exp
2372 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2373 <return>' match.
2374 * gdb.base/paginate-bg-execution.exp
2375 (test_bg_execution_pagination_return)
2376 (test_bg_execution_pagination_cancel): Remove '-notransfer
2377 <return>' matches.
2378 * gdb.base/paginate-execution-startup.exp
2379 (test_fg_execution_pagination_return)
2380 (test_fg_execution_pagination_cancel): Remove '-notransfer
2381 <return>' matches.
2382 * gdb.base/paginate-inferior-exit.exp
2383 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2384 match.
2385 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2386 * lib/gdb.exp (pagination_prompt): Run text through
2387 string_to_regexp.
2388 (gdb_test_multiple): Match $pagination_prompt instead of
2389 "<return>".
2390 (string_to_regexp): Move to lib/gdb-utils.exp.
2391
2392 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2393
2394 * gdb.arch/amd64-entry-value-paramref.S: New file.
2395 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2396 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2397 * gdb.arch/amd64-optimout-repeat.S: New file.
2398 * gdb.arch/amd64-optimout-repeat.c: New file.
2399 * gdb.arch/amd64-optimout-repeat.exp: New file.
2400
2401 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2402
2403 PR gdb/17170
2404 * gdb.base/statistics.exp: New file.
2405
2406 2014-07-17 Doug Evans <dje@google.com>
2407
2408 PR gdb/17170
2409 * gdb.base/maint.exp: Update testing of per-command stats.
2410
2411 2014-07-16 Pedro Alves <palves@redhat.com>
2412
2413 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2414 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2415 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2416 (tfile_write_buf): New functions.
2417 (add_memory_block): Rewrite using the above.
2418 (adjust_function_address): New function.
2419 (FUNCTION_ADDRESS): New macro.
2420 (write_basic_trace_file): Remove short_x local, and use
2421 tfile_write_16. Change type of func_addr local to unsigned long
2422 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2423 here. Cast argument of add_memory_block to char pointer.
2424 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2425 (main): Remove parameters.
2426 * gdb.trace/tfile.exp: Remove nowarnings.
2427
2428 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2429
2430 * gdb.base/debug-expr.exp: Test string evaluation with
2431 "debug expression" on.
2432
2433 2014-07-15 Pedro Alves <palves@redhat.com>
2434
2435 * gdb.base/reread.exp: Use clean_restart.
2436
2437 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2438
2439 * gdb.arch/avr-flash-qualifer.c: New.
2440 * gdb.arch/avr-flash-qualifer.exp: New.
2441
2442 2014-07-14 Pedro Alves <palves@redhat.com>
2443
2444 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2445 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2446
2447 2014-07-14 Pedro Alves <palves@redhat.com>
2448
2449 * gdb.base/double-prompt-target-event-error.c: New file.
2450 * gdb.base/double-prompt-target-event-error.exp: New file.
2451
2452 2014-07-14 Pedro Alves <palves@redhat.com>
2453
2454 PR gdb/17072
2455 * gdb.base/paginate-inferior-exit.c: New file.
2456 * gdb.base/paginate-inferior-exit.exp: New file.
2457
2458 2014-07-14 Pedro Alves <palves@redhat.com>
2459
2460 PR gdb/17072
2461 * gdb.base/paginate-bg-execution.c: New file.
2462 * gdb.base/paginate-bg-execution.exp: New file.
2463
2464 2014-07-14 Pedro Alves <palves@redhat.com>
2465
2466 PR gdb/17072
2467 * gdb.base/paginate-execution-startup.c: New file.
2468 * gdb.base/paginate-execution-startup.exp: New file.
2469 * lib/gdb.exp (pagination_prompt): New global.
2470 (default_gdb_spawn): New procedure, factored out from
2471 default_gdb_spawn.
2472 (default_gdb_start): Adjust to call default_gdb_spawn.
2473 (gdb_spawn): New procedure.
2474
2475 2014-07-14 Pedro Alves <palves@redhat.com>
2476
2477 * lib/gdb.exp (gdb_assert): New procedure.
2478 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2479
2480 2014-07-14 Pedro Alves <palves@redhat.com>
2481
2482 * gdb.base/execution-termios.c: New file.
2483 * gdb.base/execution-termios.exp: New file.
2484
2485 2014-07-14 Tom Tromey <tromey@redhat.com>
2486
2487 * gdb.cp/vla-cxx.cc: New file.
2488 * gdb.cp/vla-cxx.exp: New file.
2489
2490 2014-07-14 Tom Tromey <tromey@redhat.com>
2491
2492 * gdb.reverse/rerun-prec.c: New file.
2493 * gdb.reverse/rerun-prec.exp: New file.
2494
2495 2014-07-12 Maciej W. Rozycki <macro@mips.com>
2496 Maciej W. Rozycki <macro@codesourcery.com>
2497
2498 * lib/gdb-utils.exp: New file.
2499 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2500 inline `gdb_init_command' processing.
2501 (gdb_start_cmd): Likewise.
2502 * lib/mi-support.exp (mi_run_cmd): Likewise.
2503 * README: Document `gdb_init_command' and `gdb_init_commands'.
2504
2505 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2506
2507 Fix false FAIL running under a very long directory name.
2508 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2509 and "set print elements 10000". Twice.
2510
2511 2014-07-11 Yao Qi <yao@codesourcery.com>
2512
2513 * gdb.base/exprs.exp: "set print symbol off".
2514
2515 2014-07-11 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.threads/kill.c: New file.
2518 * gdb.threads/kill.exp: New file.
2519
2520 2014-07-10 Yao Qi <yao@codesourcery.com>
2521
2522 * gdb.trace/tfile.c (write_basic_trace_file)
2523 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2524 address written to trace file.
2525
2526 2014-07-09 Pedro Alves <palves@redhat.com>
2527
2528 * gdb.base/attach-wait-input.exp: New file.
2529 * gdb.base/attach-wait-input.c: New file.
2530
2531 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2532
2533 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2534 setting up test structures.
2535 (main): Call new test function.
2536 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2537 test function, continue into test function and walk test
2538 structures.
2539
2540 2014-07-02 Yao Qi <yao@codesourcery.com>
2541
2542 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2543 'bar_start' at the beginning of functions 'foo' and 'bar'
2544 respectively.
2545 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2546 instead of 'foo' and 'bar'.
2547
2548 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2549
2550 * gdb.btrace/segv.exp: New.
2551 * gdb.btrace/segv.c: New.
2552
2553 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
2554
2555 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2556 instruction.
2557
2558 2014-06-30 Mark Wielaard <mjw@redhat.com>
2559
2560 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2561 vulture, vilify, villar): New volatile array constants.
2562 (vindictive, vegetation): New const volatile array constants.
2563 * gdb.base/volatile.exp: Test volatile and const volatile array
2564 types.
2565
2566 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2567
2568 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
2569 target lacks support for awatch, rwatch, or hbreak.
2570
2571 2014-06-27 Yao Qi <yao@codesourcery.com>
2572
2573 * gdb.multi/dummy-frame-restore.exp: New.
2574 * gdb.multi/dummy-frame-restore.c: New.
2575
2576 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2577
2578 * gdb.btrace/gcore.exp: New.
2579
2580 2014-06-23 Pedro Alves <palves@redhat.com>
2581
2582 * gdb.base/watchpoint-reuse-slot.c: New file.
2583 * gdb.base/watchpoint-reuse-slot.exp: New file.
2584
2585 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2586
2587 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
2588 progspace's filename in 'info', 'enable' and 'disable' command
2589 tests.
2590
2591 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2592
2593 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
2594 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2595 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
2596
2597 2014-06-20 Gary Benson <gbenson@redhat.com>
2598
2599 * gdb.arch/i386-avx.exp: Fix include file location.
2600 * gdb.arch/i386-sse.exp: Likewise.
2601
2602 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2603
2604 * gdb.dlang/expression.exp: New file.
2605
2606 2014-06-19 Pedro Alves <palves@redhat.com>
2607
2608 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
2609 out from ...
2610 (top level): ... here. Iterate running tests under different
2611 scheduler-locking settings.
2612
2613 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
2614
2615 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
2616 to DW_FORM_addr and use non-zero addresses.
2617
2618 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
2619
2620 PR gdb/17017
2621 * gdb.python/py-xmethods.cc: Add global function call counters and
2622 increment them in their respective functions. Remove "cout"
2623 statements.
2624 * gdb.python/py-xmethods.exp: Make tests check the global function
2625 call counters instead of depending on inferior IO.
2626
2627 2014-06-18 Don Breazeal <donb@codesourcery.com>
2628
2629 * gdb.base/foll-fork.exp (default_fork_parent_follow):
2630 Deleted procedure.
2631 (explicit_fork_parent_follow): Deleted procedure.
2632 (explicit_fork_child_follow): Deleted procedure.
2633 (test_follow_fork): New procedure.
2634 (do_fork_tests): Replace calls to deleted procedures with
2635 calls to test_follow_fork and reset GDB for subsequent
2636 procedure calls.
2637
2638 2014-06-17 Yao Qi <yao@codesourcery.com>
2639
2640 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
2641 CP1252.
2642
2643 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
2644
2645 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
2646 Initialize ptr and S explicitly.
2647 (skip_type_update_when_not_use_rtti_test): Likewise.
2648
2649 2014-06-16 Keith Seitz <keiths@redhat.com>
2650
2651 PR mi/15863
2652 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2653 the inferior is started.
2654
2655 2014-06-16 Pedro Alves <palves@redhat.com>
2656
2657 * gdb.base/break-main-file-remove-fail.c: New file.
2658 * gdb.base/break-main-file-remove-fail.exp: New file.
2659 * gdb.base/break-unload-file.exp: Use build_executable instead of
2660 prepare_for_testing.
2661 (test_break): New parameter "initial_load". Handle it.
2662 (top level): Add initial_load cmdline/file axis.
2663
2664 2014-06-12 Tom Tromey <tromey@redhat.com>
2665
2666 * gdb.base/completion.exp: Don't use directory name in test.
2667
2668 2014-06-09 Gary Benson <gbenson@redhat.com>
2669
2670 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2671 separate the always-available ANSI-standard signals from the
2672 signals that require checking.
2673 (main): Likewise.
2674 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2675 Likewise.
2676 (main): Likewise.
2677
2678 2014-06-07 Keith Seitz <keiths@redhat.com>
2679
2680 Revert:
2681 PR c++/16253
2682 * gdb.cp/var-tag.cc: New file.
2683 * gdb.cp/var-tag.exp: New file.
2684 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2685 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2686 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2687 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2688
2689 2014-06-06 Doug Evans <xdje42@gmail.com>
2690
2691 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2692
2693 2014-06-06 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2696 in target debug output instead of looking at RSP packets,
2697 disabling the test on any target that uses hardware stepping.
2698 Update comments.
2699
2700 2014-06-06 Pedro Alves <palves@redhat.com>
2701
2702 * gdb.base/break-unload-file.exp: Fix typo.
2703
2704 2014-06-06 Yao Qi <yao@codesourcery.com>
2705
2706 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2707 from "jit_function" to "^jit_function".
2708
2709 2014-06-06 Yao Qi <yao@codesourcery.com>
2710
2711 * gdb.base/async.c (foo): Add one statement.
2712 * gdb.base/async.exp: Get the next instruction address and
2713 match the output of "nexti" by instruction address. Match
2714 the hex address in the output of "finish".
2715
2716 2014-06-06 Gary Benson <gbenson@redhat.com>
2717
2718 * gdb.base/call-signals.c: Remove preprocessor conditionals
2719 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2720 SIGSEGV and SIGTERM.
2721 * gdb.base/sigall.c: Likewise.
2722 * gdb.base/unwindonsignal.c: Likewise.
2723 * gdb.reverse/sigall-reverse.c: Likewise.
2724
2725 2014-06-06 Yao Qi <yao@codesourcery.com>
2726
2727 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2728 readable, skip the test.
2729
2730 2014-06-06 Yao Qi <yao@codesourcery.com>
2731
2732 * gdb.threads/staticthreads.c (thread_function): Move the line
2733 setting breakpoint on forward.
2734 * gdb.threads/staticthreads.exp: Update comments.
2735
2736 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2737
2738 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2739 "history-append! type error".
2740
2741 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2742
2743 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2744 erroneous dprintf expected input.
2745
2746 2014-06-04 Doug Evans <xdje42@gmail.com>
2747
2748 * gdb.guile/scm-generics.exp: Delete.
2749
2750 2014-06-04 Doug Evans <xdje42@gmail.com>
2751
2752 * gdb.guile/scm-breakpoint.exp: Update.
2753 Add tests for breakpoint registration.
2754
2755 2014-06-04 Tom Tromey <tromey@redhat.com>
2756
2757 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2758 VLA-in-union.
2759 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2760 inner_vla_struct, vla_union types. Initialize objects of those
2761 types and compute their sizes.
2762
2763 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2764 Hui Zhu <hui@codesourcery.com>
2765
2766 * gdb.base/fileio.exp: Add test for shell not available as well as
2767 available.
2768 * gdb.base/fileio.c (test_system): Check for shell twice.
2769
2770 2014-06-04 Yao Qi <yao@codesourcery.com>
2771
2772 * gdb.base/auto-connect-native-target.exp: Remove redundant
2773 space from the regexp pattern.
2774
2775 2014-06-04 Yao Qi <yao@codesourcery.com>
2776
2777 * gdb.base/default.exp: Replace "child" with "native" in
2778 regexp pattern.
2779
2780 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2781
2782 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2783 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2784 * gdb.python/py-xmethods.py: Python script supporting the
2785 new testcase and tests.
2786
2787 2014-06-03 Joel Brobecker <brobecker@adacore.com>
2788 Pedro Alves <palves@redhat.com>
2789
2790 PR breakpoints/17000
2791 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2792 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2793
2794 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2795
2796 * gdb.base/subst.exp: Add tests to verify partial path matching
2797 output.
2798
2799 2014-06-03 Pedro Alves <palves@redhat.com>
2800
2801 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2802 target that doesn't use software single-stepping.
2803
2804 2014-06-03 Pedro Alves <palves@redhat.com>
2805
2806 PR breakpoints/17000
2807 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2808 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2809
2810 2014-06-02 Doug Evans <xdje42@gmail.com>
2811
2812 * gdb.guile/scm-parameter.exp: New file.
2813
2814 2014-06-02 Doug Evans <xdje42@gmail.com>
2815
2816 * gdb.guile/scm-cmd.c: New file.
2817 * gdb.guile/scm-cmd.exp: New file.
2818
2819 2014-06-02 Doug Evans <xdje42@gmail.com>
2820
2821 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2822 pretty-printer lookup.
2823 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2824 (make-pp_s-printer): Call it.
2825 (make-pretty-printer-from-dict): New function.
2826 (lookup-pretty-printer-maker-from-dict): New function.
2827 (*pretty-printer*): Simplify.
2828 (make-objfile-pp_s-printer): New function.
2829 (install-objfile-pretty-printers!): New function.
2830 (make-progspace-pp_s-printer): New function.
2831 (install-progspace-pretty-printers!): New function.
2832 * gdb.guile/scm-progspace.c: New file.
2833 * gdb.guile/scm-progspace.exp: New file.
2834
2835 2014-06-02 Pedro Alves <palves@redhat.com>
2836
2837 * gdb.base/dprintf-bp-same-addr.c: New file.
2838 * gdb.base/dprintf-bp-same-addr.exp: New file.
2839
2840 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2841
2842 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2843 * gdb.arch/powerpc-power.s: Likewise.
2844
2845 2014-06-02 Joel Brobecker <brobecker@adacore.com>
2846
2847 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2848
2849 2014-06-01 Yao Qi <yao@codesourcery.com>
2850
2851 * gdb.base/watchpoint.exp (test_watch_location): Check null
2852 pointer can be dereferenced. If not, do the test, otherwise
2853 skip it.
2854
2855 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2856
2857 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2858 results.
2859 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2860
2861 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2862
2863 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2864 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2865 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2866 * gdb.arch/amd64-invalid-stack-top.c: New file.
2867 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2868
2869 2014-05-30 Pedro Alves <palves@redhat.com>
2870
2871 PR breakpoints/17000
2872 * gdb.base/sss-bp-on-user-bp.c: New file.
2873 * gdb.base/sss-bp-on-user-bp.exp: New file.
2874
2875 2014-05-30 David Blaikie <dblaikie@gmail.com>
2876
2877 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2878 gnu_inline semantics via attribute.
2879 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2880 source explicitly specifies the required semantics.
2881
2882 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2883
2884 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2885
2886 2014-05-29 Pedro Alves <palves@redhat.com>
2887 Tom Tromey <tromey@redhat.com>
2888
2889 * gdb.base/async-shell.exp: Don't enable target-async.
2890 * gdb.base/async.exp
2891 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2892 parameter. Adjust.
2893 (top level): Don't test with "target-async".
2894 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2895 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2896 * gdb.base/inferior-died.exp: Don't enable target-async.
2897 * gdb.base/interrupt-noterm.exp: Likewise.
2898 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2899 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2900 * gdb.mi/mi-nonstop.exp: Likewise.
2901 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2902 * gdb.mi/mi-nsintrall.exp: Likewise.
2903 * gdb.mi/mi-nsmoribund.exp: Likewise.
2904 * gdb.mi/mi-nsthrexec.exp: Likewise.
2905 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2906 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2907 * gdb.python/py-evsignal.exp: Don't enable target-async.
2908 * gdb.python/py-evthreads.exp: Likewise.
2909 * gdb.python/py-prompt.exp: Likewise.
2910 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2911 * gdb.server/solib-list.exp: Don't enable target-async.
2912 * gdb.threads/thread-specific-bp.exp: Likewise.
2913 * lib/mi-support.exp: Adjust to use mi-async.
2914
2915 2014-05-29 Pedro Alves <palves@redhat.com>
2916
2917 PR gdb/13860
2918 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2919 reason, even in sync mode.
2920
2921 2014-05-29 Pedro Alves <palves@redhat.com>
2922 Hui Zhu <hui@codesourcery.com>
2923
2924 PR PR15693
2925 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2926 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2927 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2928 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2929
2930 2014-05-28 Joel Brobecker <brobecker@adacore.com>
2931
2932 * config/monitor.exp (gdb_target_monitor): Replace use of
2933 "set remotebaud" by "set serial baud".
2934
2935 2014-05-26 Andy Wingo <wingo@igalia.com>
2936
2937 * gdb.guile/scm-breakpoint.exp:
2938 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2939 properties instead of gdb-object-properties.
2940
2941 2014-05-26 Yao Qi <yao@codesourcery.com>
2942
2943 * gdb.server/no-thread-db.exp: Specify source file name
2944 explicitly when setting a breakpoint.
2945
2946 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2947
2948 * gdb.btrace/vdso.c: New.
2949 * gdb.btrace/vdso.exp: New.
2950
2951 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2952
2953 * gdb.base/gcore.exp (capture_command_output): Move ...
2954 * lib/gdb.exp (capture_command_output): ... here.
2955
2956 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2957
2958 * gdb.btrace/data.exp: Test memory access during btrace replay.
2959
2960 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2961
2962 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2963
2964 2014-05-21 Pedro Alves <palves@redhat.com>
2965
2966 PR gdb/13860
2967 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2968 (top level): Test that output related to execution commands is
2969 sent to the console with CLI commands, but not with MI commands.
2970 Test that breakpoint events are always mirrored to the console.
2971 Also expect the new source line to be output after a "next" in
2972 async mode too. Make it a pass/fail test.
2973 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2974 output.
2975 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2976
2977 2014-05-21 Pedro Alves <palves@redhat.com>
2978
2979 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2980 Use them to test variations of "list" after reaching a breakpoint.
2981 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2982 Test "list" with listsize 10 after reaching a breakpoint.
2983 * gdb.python/python.exp (decode_line current location line
2984 number): Adjust expected line number.
2985
2986 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2987
2988 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2989 behavior for $args, pass it directly to "run".
2990
2991 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2992
2993 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2994 30000 to 65536.
2995
2996 2014-05-21 Pedro Alves <palves@redhat.com>
2997
2998 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2999 auto-connect-native-target off".
3000 * gdb.base/auto-connect-native-target.c: New file.
3001 * gdb.base/auto-connect-native-target.exp: New file.
3002
3003 2014-05-21 Pedro Alves <palves@redhat.com>
3004
3005 * gdb.base/default.exp: Test "target native" instead of "target
3006 child".
3007
3008 2014-05-21 Mark Wielaard <mjw@redhat.com>
3009
3010 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3011
3012 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 Fix TLS access for -static -pthread.
3015 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3016 <HAVE_TLS> (thread_function, main): Initialize it.
3017 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3018 Add clean_restart.
3019 <$have_tls != "">: Check TLSVAR.
3020
3021 2014-05-21 Pedro Alves <palves@redhat.com>
3022
3023 * gdb.base/dcache-line-read-error.c: New.
3024 * gdb.base/dcache-line-read-error.exp: New.
3025
3026 2014-05-20 Pedro Alves <palves@redhat.com>
3027
3028 * gdb.base/compare-sections.c: New file.
3029 * gdb.base/compare-sections.exp: New file.
3030
3031 2014-05-20 Pedro Alves <palves@redhat.com>
3032
3033 * gdb.base/break-idempotent.c: New file.
3034 * gdb.base/break-idempotent.exp: New file.
3035
3036 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3037
3038 * gdb.btrace/nohist.exp: New.
3039
3040 2014-05-20 Yao Qi <yao@codesourcery.com>
3041
3042 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3043 gdb.reverse directory and gdb_reverse_timeout exists in board
3044 setting.
3045 * README: Document gdb_reverse_timeout.
3046
3047 2014-05-20 Yao Qi <yao@codesourcery.com>
3048
3049 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3050 'test_file_name'. Treat args as a string instead of a list.
3051 (gdb_init): Rename argument 'args' by 'test_file_name'.
3052
3053 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3054
3055 * gdb.arch/powerpc-power.exp: New file.
3056 * gdb.arch/powerpc-power.s: New file.
3057
3058 2014-05-16 Doug Evans <dje@google.com>
3059
3060 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
3061 * gdb.base/completion.exp: Check that all expected files exist
3062 before doing file completion.
3063
3064 2014-05-16 Doug Evans <dje@google.com>
3065
3066 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3067 Update.
3068 (do_syscall_tests_without_xml): Update.
3069
3070 2014-05-16 Pedro Alves <palves@redhat.com>
3071
3072 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3073 instead of "unknown output after running".
3074
3075 2014-05-16 Yao Qi <yao@codesourcery.com>
3076
3077 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3078 file1.txt from host at the end.
3079 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3080
3081 2014-05-15 Doug Evans <dje@google.com>
3082
3083 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3084 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3085 loading file. Add test for TU lookup.
3086
3087 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3088
3089 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3090 calling "-exec-arguments" or "set args" before running the
3091 inferior.
3092
3093 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3094
3095 * lib/mi-support.exp (mi_expect_stop): Expect message for
3096 inferiors that exit with non-zero exit code.
3097
3098 2014-05-14 Yao Qi <yao@codesourcery.com>
3099
3100 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3101 match absolute path on remote host.
3102 (test_file_list_exec_source_files): Remove "/" from the
3103 pattern.
3104
3105 2014-05-14 Yao Qi <yao@codesourcery.com>
3106
3107 * boards/local-remote-host-notty.exp (${board}_file): New
3108 proc.
3109
3110 2014-05-07 Kyle McMartin <kyle@redhat.com>
3111
3112 Pushed by Joel Brobecker <brobecker@adacore.com>.
3113 * gdb.arch/aarch64-atomic-inst.c: New file.
3114 * gdb.arch/aarch64-atomic-inst.exp: New file.
3115
3116 2014-05-07 Yao Qi <yao@codesourcery.com>
3117
3118 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3119 in current context" too.
3120
3121 2014-05-05 Keith Seitz <keiths@redhat.com>
3122
3123 * gdb.linespec/ls-dollar.exp: Add test for linespec
3124 file:convenience_variable.
3125
3126 2014-05-05 Yao Qi <yao@codesourcery.com>
3127
3128 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3129 traceframes into tfile and ctf trace files. Read data from
3130 trace file and test collected data.
3131 (gdb_collect_locals_test): Likewise.
3132 (gdb_unavailable_registers_test): Likewise.
3133 (gdb_unavailable_floats): Likewise.
3134 (gdb_collect_globals_test): Likewise.
3135 (top-level): Append "ctf" to trace_file_targets if GDB
3136 supports.
3137
3138 2014-05-05 Yao Qi <yao@codesourcery.com>
3139
3140 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3141 code to ...
3142 (gdb_collect_args_test_1): ... it. New proc.
3143 (gdb_collect_locals_test): Move some code to ...
3144 (gdb_collect_locals_test_1): ... it. New proc.
3145 (gdb_unavailable_registers_test): Move some code to ...
3146 (gdb_unavailable_registers_test_1): ... it. New proc.
3147 (gdb_unavailable_floats): Move some code to ...
3148 (gdb_unavailable_floats_1): ... it. New proc.
3149
3150 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3151
3152 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3153 probes to test for bitness recognition.
3154 * gdb.arch/amd64-stap-optional-prefix.exp
3155 (test_probe_value_without_reg): New procedure.
3156 Add code to test for different kinds of bitness.
3157
3158 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3159
3160 PR breakpoints/16889
3161 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3162 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3163
3164 2014-05-01 Pedro Alves <palves@redhat.com>
3165
3166 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3167 gdb_file_cmd if no file is specified.
3168 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3169 last_loaded_file to set the remote exec-file.
3170
3171 2014-05-01 Pedro Alves <palves@redhat.com>
3172
3173 * boards/local-remote-host.exp: New file.
3174
3175 2014-05-01 Pedro Alves <palves@redhat.com>
3176
3177 * boards/local-remote-host.exp: Rename to ...
3178 * boards/local-remote-host-notty.exp: ... this.
3179
3180 2014-04-28 Joel Brobecker <brobecker@adacore.com>
3181
3182 * gdb.ada/dyn_arrayidx: New testcase.
3183
3184 2014-04-26 Yao Qi <yao@codesourcery.com>
3185
3186 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3187 and compute the length of function main. Save it in
3188 $main_length.
3189 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3190 (top-level): Use gdb_compile to compile objects into
3191 executable and restart GDB. Remove invocation to
3192 prepare_for_testing.
3193
3194 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3195 Pedro Alves <palves@redhat.com>
3196
3197 PR server/16255
3198 * gdb.multi/multi-attach.c: New file.
3199 * gdb.multi/multi-attach.exp: New file.
3200
3201 2014-04-25 Pedro Alves <palves@redhat.com>
3202
3203 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3204 user.
3205 (top level): Test that "set remote conditional-breakpoints-packet
3206 off" works as intended.
3207 * gdb.base/dprintf.exp: Test that "set remote
3208 breakpoint-commands-packet off" works as intended.
3209 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3210 New function.
3211 (top level): Call it.
3212 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3213 remote fast-tracepoints-packet off" works as intended.
3214 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3215 * lib/gdb.exp (gdb_is_target_remote): ... here.
3216
3217 2014-04-24 David Blaikie <dblaikie@gmail.com>
3218
3219 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3220 ensure clang would not discard them.
3221 * gdb.base/gdbvars.c: Ditto.
3222 * gdb.base/memattr.c: Ditto.
3223 * gdb.base/whatis.c: Ditto.
3224 * gdb.python/py-prettyprint.c: Ditto.
3225 * gdb.trace/actions.c: Ditto.
3226 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3227 ensure clang would not discard it.
3228
3229 2014-04-24 David Blaikie <dblaikie@gmail.com>
3230
3231 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3232 clang to emit the full definition of type required by the test
3233 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3234
3235 2014-04-24 David Blaikie <dblaikie@gmail.com>
3236
3237 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3238 coax Clang into emitting the definition of the type.
3239 * gdb.cp/pr10728-x.h (y): Ditto.
3240 * gdb.cp/pr10728-y.cc (y): Ditto.
3241
3242 2014-04-24 David Blaikie <dblaikie@gmail.com>
3243
3244 * gdb.base/label.exp: XFAIL label related tests under Clang.
3245 * gdb.cp/cplabel.exp: Ditto.
3246 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3247 under Clang those using labels.
3248
3249 2014-04-25 Yao Qi <yao@codesourcery.com>
3250
3251 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3252 double_label.
3253 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3254 partial_label and double_label.
3255
3256 2014-04-24 David Blaikie <dblaikie@gmail.com>
3257
3258 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3259
3260 2014-04-24 David Blaikie <dblaikie@gmail.com>
3261
3262 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3263 of the function to work across GCC and Clang.
3264 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3265 pointer types (const void ** const V void **).
3266
3267 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
3268 Walfred Tedeschi <walfred.tedeschi@intel.com>
3269
3270 * Makefile.in (EXECUTABLES): Added i386-avx512.
3271 * gdb.arch/i386-avx512.c: New file.
3272 * gdb.arch/i386-avx512.exp: Likewise.
3273
3274 2014-04-23 Keith Seitz <keiths@redhat.com>
3275
3276 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3277 (mi_make_breakpoint_table): New procedure.
3278 (mi_create_breakpoint): Use mi_make_breakpoint
3279 and return the result.
3280 (mi_make_breakpoint): New procedure.
3281 (mi_build_kv_pairs): New procedure.
3282
3283 * gdb.mi/mi-break.exp: Remove unused globals,
3284 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3285 All callers updated.
3286 * gdb.mi/mi-dprintf.exp: Use variable to track command
3287 number.
3288 Update all callers of mi_create_breakpoint and use
3289 mi_make_breakpoint_table.
3290 Remove any unused global variables.
3291 * gdb.mi/mi-nonstop.exp: Likewise.
3292 * gdb.mi/mi-nsintrall.exp: Likewise.
3293 * gdb.mi/mi-nsmoribund.exp: Likewise.
3294 * gdb.mi/mi-nsthrexec.exp: Likewise.
3295 * gdb.mi/mi-reverse.exp: Likewise.
3296 * gdb.mi/mi-simplerun.exp: Likewise.
3297 * gdb.mi/mi-stepn.exp: Likewise.
3298 * gdb.mi/mi-syn-frame.exp: Likewise.
3299 * gdb.mi/mi-until.exp: Likewise.
3300 * gdb.mi/mi-var-cp.exp: Likewise.
3301 * gdb.mi/mi-var-display.exp: Likewise.
3302 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3303 * gdb.mi/mi2-var-child.exp: Likewise.
3304 * gdb.mi/mi-vla-c99.exp: Likewise.
3305 * lib/mi-support.exp: Likewise.
3306
3307 From Ian Lance Taylor <iant@cygnus.com>:
3308 * lib/gdb.exp (parse_args): New procedure.
3309
3310 2014-04-23 Pedro Alves <palves@redhat.com>
3311
3312 * gdb.base/break-unload-file.c: New file.
3313 * gdb.base/break-unload-file.exp: New file.
3314 * gdb.base/sym-file-lib.c (baz): New function.
3315 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3316 field.
3317 (load): Store the segment's mapped size.
3318 (unload): New function.
3319 (unload_shlib): New function.
3320 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3321 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3322 set a breakpoint at baz, and call it.
3323 * gdb.base/sym-file.exp: New tests for stale breakpoint
3324 instructions.
3325
3326 2014-04-23 Pedro Alves <palves@redhat.com>
3327
3328 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3329 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3330 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3331 * gdb.base/hbreak-unmapped.c: New file.
3332 * gdb.base/hbreak-unmapped.exp: New file.
3333 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3334 * lib/gdb.exp (gdb_is_target_remote): ... here.
3335
3336 2014-04-22 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.base/consecutive-step-over.c: New file.
3339 * gdb.base/consecutive-step-over.exp: New file.
3340
3341 2014-04-22 Pedro Alves <palves@redhat.com>
3342
3343 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3344 instead of send_gdb/gdb_expect.
3345
3346 2014-04-22 Yao Qi <yao@codesourcery.com>
3347
3348 * lib/trace-support.exp (generate_tracefile): New procedure.
3349 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3350 return 0.
3351 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3352 if generate_tracefile returns 1.
3353
3354 2014-04-18 Tom Tromey <palves@redhat.com>
3355 Pedro alves <tromey@redhat.com>
3356
3357 PR backtrace/15558
3358 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3359 with a backtrace limit.
3360 * gdb.python/py-frame-inline.exp: Test running to an inline
3361 function with a backtrace limit, and printing the newest frame.
3362 * gdb.python/py-frame-inline.c (main): Call f.
3363
3364 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3365
3366 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3367
3368 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3369
3370 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3371 Drop prefix from unsupported source file path.
3372
3373 2014-04-17 Yao Qi <yao@codesourcery.com>
3374
3375 * lib/gdb.exp (with_target_charset): New proc.
3376 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3377 with_target_charset.
3378 (test_print_strings): Likewise.
3379 (test_repeat_bytes): Likewise.
3380 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3381 for some tests.
3382
3383 2014-04-16 Keith Seitz <keiths@redhat.com>
3384
3385 PR gdb/15827
3386 * gdb.dwarf2/corrupt.c: New file.
3387 * gdb.dwarf2/corrupt.exp: New file.
3388
3389 2014-04-16 Keith Seitz <keiths@redhat.com>
3390
3391 PR c++/16597
3392 * gdb.cp/namelessclass.cc: New file.
3393 * gdb.cp/namelessclass.exp: New file.
3394 * gdb.cp/namelessclass.S: New file.
3395
3396 2014-04-16 Doug Evans <dje@google.com>
3397
3398 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3399 Add comment.
3400 (gdbserver_default_get_comm_port): New function.
3401 (gdbserver_start): Check if board file provided
3402 "gdbserver,get_comm_port" and use it if so.
3403 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3404 (gdb,socketport): Set to "stdio".
3405 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3406 (stdio_gdbserver_template): Delete.
3407 (${board}_get_remote_address): Update.
3408 (${board}_build_remote_cmd): Delete.
3409 (${board}_get_comm_port): New function.
3410 (${board}_spawn): Update.
3411 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3412 Delete.
3413 (${board}_get_remote_address): Update.
3414 (${board}_get_comm_port): New function.
3415
3416 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
3417
3418 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3419 appearing in any order.
3420
3421 2014-04-15 Doug Evans <dje@google.com>
3422
3423 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3424 uninitialized value of "description".
3425
3426 2014-04-15 Keith Seitz <keiths@redhat.com>
3427
3428 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3429 Remove unused globals.
3430 (test_running_the_program): Likewise.
3431 (test_controlled_execution): Likewise.
3432 (test_controlling_breakpoints): Likewise.
3433 (test_program_termination): Likewise.
3434
3435 2014-04-15 Keith Seitz <keiths@redhat.com>
3436
3437 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3438 unused globals.
3439 (test_rbreak_creation_and_listing): Likewise.
3440 (test_ignore_count): Likewise.
3441 (test_error): Likewise.
3442
3443 2014-04-15 Pedro Alves <palves@redhat.com>
3444
3445 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3446 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3447 sym-file-loader.c.
3448 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3449 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3450 to sym-file-loader.c.
3451 (struct library): Forward declare.
3452 (load_shlib, lookup_function): Change prototypes.
3453 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3454 (translate_offset): Remove declarations.
3455 (get_text_addr): New declaration.
3456 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3457 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3458 sym-file-loader.h.
3459 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3460 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3461 here from sym-file-loader.h.
3462 (struct library): New structure.
3463 (load_shlib, lookup_function): Change prototypes and adjust to
3464 work with a struct library.
3465 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3466 (translate_offset): Make static.
3467 (get_text_addr): New function.
3468 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3469
3470 2014-04-15 Pedro Alves <palves@redhat.com>
3471
3472 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3473
3474 2014-04-15 Pedro Alves <palves@redhat.com>
3475
3476 * gdb.base/sym-file-loader.c: Include <limits.h>.
3477 (SELF_LINK): New define.
3478 (get_origin): New function.
3479 (load_shlib): Use it.
3480 * gdb.base/sym-file.exp: Don't early return if the target is
3481 remote. Use runto_main, and issue fail is that fails. Use
3482 gdb_load_shlibs.
3483 (shlib_name): Delete.
3484 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3485
3486 2014-04-15 Pedro Alves <palves@redhat.com>
3487
3488 * gdb.base/sym-file.exp: Remove regex characters from test
3489 message. Don't refer to breakpoint numbers in test messages.
3490
3491 2014-04-14 Keith Seitz <keiths@redhat.com>
3492
3493 PR c++/16253
3494 * gdb.cp/var-tag.cc: New file.
3495 * gdb.cp/var-tag.exp: New file.
3496 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3497 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3498 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3499 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3500
3501 2014-04-14 Tom Tromey <tromey@redhat.com>
3502
3503 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3504 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3505 type.
3506 * gdb.cp/enum-class.exp: New file.
3507 * gdb.cp/enum-class.cc: New file.
3508
3509 2014-04-14 Tom Tromey <tromey@redhat.com>
3510
3511 * gdb.dwarf2/enum-type.exp: New file.
3512
3513 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3514
3515 * gdb.mi/mi-vla-c99.exp: New file.
3516 * gdb.mi/vla.c: New file.
3517
3518 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3519
3520 * gdb.base/vla-datatypes.c: New file.
3521 * gdb.base/vla-datatypes.exp: New file.
3522
3523 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3524
3525 * gdb.base/vla-ptr.c: New file.
3526 * gdb.base/vla-ptr.exp: New file.
3527
3528 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3529
3530 * gdb.dwarf2/count.exp: New file.
3531
3532 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3533
3534 * gdb.base/vla-sideeffect.c: New file.
3535 * gdb.base/vla-sideeffect.exp: New file.
3536
3537 2014-04-14 David Blaikie <dblaikie@gmail.com>
3538
3539 * gdb.mi/non-stop.c: Add return value for non-void function return
3540 statement.
3541 * gdb.threads/staticthreads.c: Ditto.
3542
3543 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3544 Doug Evans <xdje42@gmail.com>
3545
3546 * gdb.guile/scm-value.c: Improve test case.
3547 * gdb.guile/scm-value.exp: Add new test.
3548
3549 2014-04-11 David Blaikie <dblaikie@gmail.com>
3550
3551 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3552 override Clang's default.
3553
3554 2014-04-11 Joel Brobecker <brobecker@adacore.com>
3555
3556 Revert the following changes (regressions):
3557
3558 * gdb.base/vla-sideeffect.c: New file.
3559 * gdb.base/vla-sideeffect.exp: New file.
3560
3561 * gdb.dwarf2/count.exp: New file.
3562
3563 * gdb.base/vla-multi.c: New file.
3564 * gdb.base/vla-multi.exp: New file.
3565
3566 * gdb.base/vla-ptr.c: New file.
3567 * gdb.base/vla-ptr.exp: New file.
3568
3569 * gdb.base/vla-datatypes.c: New file.
3570 * gdb.base/vla-datatypes.exp: New file.
3571
3572 * gdb.mi/mi-vla-c99.exp: New file.
3573 * gdb.mi/vla.c: New file.
3574
3575 2014-04-11 Keith Seitz <keiths@redhat.com>
3576
3577 PR c++/16675
3578 * gdb.cp/cpsizeof.exp: New file.
3579 * gdb.cp/cpsizeof.cc: New file.
3580
3581 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3582
3583 * gdb.mi/mi-vla-c99.exp: New file.
3584 * gdb.mi/vla.c: New file.
3585
3586 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3587
3588 * gdb.base/vla-datatypes.c: New file.
3589 * gdb.base/vla-datatypes.exp: New file.
3590
3591 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3592
3593 * gdb.base/vla-ptr.c: New file.
3594 * gdb.base/vla-ptr.exp: New file.
3595
3596 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3597
3598 * gdb.base/vla-multi.c: New file.
3599 * gdb.base/vla-multi.exp: New file.
3600
3601 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3602
3603 * gdb.dwarf2/count.exp: New file.
3604
3605 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
3606
3607 * gdb.base/vla-sideeffect.c: New file.
3608 * gdb.base/vla-sideeffect.exp: New file.
3609
3610 2014-04-11 Yao Qi <yao@codesourcery.com>
3611
3612 * gdb.base/completion.exp: Check file exists before running tests
3613 on file completion.
3614
3615 2014-04-10 Pedro Alves <palves@redhat.com>
3616
3617 * gdb.base/cond-eval-mode.c: New file.
3618 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
3619 prepare_for_testing to build the new file. Check result of
3620 runto_main.
3621 (test_break, test_watch): New procedures.
3622 (top level): Use them.
3623
3624 2014-04-08 Pierre Muller <muller@sourceware.org>
3625
3626 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
3627 Ctrl-V use for mingw hosts.
3628
3629 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
3630
3631 * gdb.python/py-value.c: Improve test case.
3632 * gdb.python/py-value.exp: Add new test.
3633
3634 2014-04-07 David Blaikie <dblaikie@gmail.com>
3635
3636 * lib/compiler.c: Identify the clang compiler.
3637 * lib/compiler.cc: Ditto.
3638
3639 2014-04-03 Yao Qi <yao@codesourcery.com>
3640
3641 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
3642
3643 2014-04-01 Anton Blanchard <anton@samba.org>
3644
3645 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
3646 messages unique.
3647
3648 2014-04-01 Anton Blanchard <anton@samba.org>
3649
3650 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3651 prepare_for_testing.
3652
3653 2014-04-01 Anton Blanchard <anton@samba.org>
3654
3655 * gdb.arch/ppc64-atomic-inst.c: Remove.
3656 * gdb.arch/ppc64-atomic-inst.S: New file.
3657 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3658
3659 2014-03-31 Doug Evans <dje@google.com>
3660
3661 * gdb.base/print-symbol-loading-lib.c: New file.
3662 * gdb.base/print-symbol-loading-main.c: New file.
3663 * gdb.base/print-symbol-loading.exp: New file.
3664
3665 2014-03-31 Yao Qi <yao@codesourcery.com>
3666
3667 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3668
3669 2014-03-28 Joel Brobecker <brobecker@adacore.com>
3670
3671 * gdb.ada/mi_dyn_arr: New testcase.
3672
3673 2014-03-27 Doug Evans <dje@google.com>
3674
3675 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3676
3677 2014-03-27 Yao Qi <yao@codesourcery.com>
3678
3679 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3680 if target is nios2-*-*.
3681
3682 2014-03-26 Yao Qi <yao@codesourcery.com>
3683
3684 * lib/gdb.exp (readline_is_used): New proc.
3685 * gdb.base/completion.exp: Move tests on command complete up.
3686 Skip the rest of tests if readline is not used.
3687 * gdb.ada/complete.exp: Skp the test if readline is not
3688 used.
3689 * gdb.base/filesym.exp: Likewise.
3690 * gdb.base/macscp.exp: Likewise.
3691 * gdb.base/readline-ask.exp: Likewise.
3692 * gdb.base/readline.exp: Likewise.
3693 * gdb.python/py-cmd.exp: Likewise.
3694 * gdb.trace/tfile.exp: Likewise.
3695
3696 2014-03-26 Yao Qi <yao@codesourcery.com>
3697
3698 * gdb.base/macscp.exp: Fix code format issues.
3699
3700 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3701
3702 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3703 * gdb.asm/powerpc64le.inc: New file.
3704
3705 2014-03-25 Pedro Alves <palves@redhat.com>
3706 Doug Evans <dje@google.com>
3707
3708 * gdb.base/source-execution.c: New file.
3709 * gdb.base/source-execution.exp: New file.
3710 * gdb.base/source-execution.gdb: New file.
3711
3712 2014-03-24 Doug Evans <dje@google.com>
3713
3714 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3715 using fission.
3716
3717 2014-03-24 Hui Zhu <hui@codesourcery.com>
3718 Pedro Alves <palves@redhat.com>
3719
3720 PR breakpoints/16101
3721 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3722 test pass/fail messages. Detect missing support for dprintf when
3723 breakpoints are actually inserted.
3724 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3725 breakpoints are actually inserted.
3726 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3727 fails.
3728
3729 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3730
3731 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3732
3733 2014-03-22 Doug Evans <xdje42@gmail.com>
3734
3735 * gdb.python/python.exp (python not supported): Verify multi-line
3736 python command issues an error.
3737 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3738 guile command issues an error.
3739
3740 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3741
3742 * gdb.threads/thread-specific.exp: Handle the lack of usable
3743 $this_breakpoint and $this_thread.
3744
3745 2014-03-21 Hui Zhu <hui@codesourcery.com>
3746
3747 * gdb.base/attach.exp (do_command_attach_tests): New.
3748
3749 2014-03-20 Tom Tromey <tromey@redhat.com>
3750 Pedro Alves <palves@redhat.com>
3751
3752 PR cli/15718
3753 * gdb.base/condbreak-call-false.c: New file.
3754 * gdb.base/condbreak-call-false.exp: New file.
3755
3756 2014-03-20 Pedro Alves <palves@redhat.com>
3757
3758 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3759 Delete.
3760 (block_signals, unblock_signals): Delete.
3761 (child_function_2, main): Remove references to deleted variable
3762 and functions.
3763
3764 2014-03-20 Pedro Alves <palves@redhat.com>
3765
3766 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3767 Use pthread_kill to signal thread 2.
3768 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3769 Adjust to make the test send itself a signal rather than using the
3770 host's "kill" command.
3771
3772 2014-03-20 Pedro Alves <palves@redhat.com>
3773
3774 * gdb.threads/multiple-step-overs.c: New file.
3775 * gdb.threads/multiple-step-overs.exp: New file.
3776 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3777 Adjust expected infrun debug output.
3778
3779 2014-03-20 Pedro Alves <palves@redhat.com>
3780
3781 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3782 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3783
3784 2014-03-20 Pedro Alves <palves@redhat.com>
3785
3786 PR breakpoints/7143
3787 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3788 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3789 of gdb_test_multiple.
3790 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3791 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3792
3793 2014-03-20 Pedro Alves <palves@redhat.com>
3794
3795 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3796 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3797
3798 2014-03-19 Pedro Alves <palves@redhat.com>
3799
3800 * gdb.base/async.exp: Remove early return.
3801
3802 2014-03-19 Pedro Alves <palves@redhat.com>
3803
3804 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3805
3806 2014-03-19 Pedro Alves <palves@redhat.com>
3807
3808 * gdb.base/async.exp (test_background): Expect \r\n after
3809 "completed." in the fail pattern.
3810
3811 2014-03-19 Pedro Alves <palves@redhat.com>
3812
3813 * gdb.base/async.exp (test_background): New procedure.
3814 Use it for all background execution command tests.
3815
3816 2014-03-19 Pedro Alves <palves@redhat.com>
3817
3818 * gdb.base/async.exp: Use prepare_for_testing.
3819
3820 2014-03-19 Pedro Alves <palves@redhat.com>
3821
3822 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3823 the same line.
3824
3825 2014-03-19 Pedro Alves <palves@redhat.com>
3826
3827 * gdb.base/async.c (main): Add "jump here" and "until here" line
3828 marker comments.
3829 * gdb.base/async.exp (jump_here): New global.
3830 (jump& test): Use it.
3831 (until_here): New global.
3832 (until& test): Use it.
3833
3834 2014-03-19 Pedro Alves <palves@redhat.com>
3835
3836 * gdb.base/async.exp: Don't frob gdb_protocol.
3837
3838 2014-03-18 Doug Evans <xdje42@gmail.com>
3839
3840 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3841 Fix spelling of exec-done-display.
3842
3843 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3844
3845 PR gdb/15358
3846 * gdb.base/gdb-sigterm.c: New file.
3847 * gdb.base/gdb-sigterm.exp: New file.
3848
3849 2014-03-18 Pedro Alves <palves@redhat.com>
3850
3851 PR gdb/13860
3852 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3853 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3854 solib-event.
3855
3856 2014-03-17 Joel Brobecker <brobecker@adacore.com>
3857
3858 * gdb.ada/pckd_arr_ren: New testcase.
3859
3860 2014-03-13 Doug Evans <xdje42@gmail.com>
3861
3862 PR guile/16612
3863 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3864 collect after discarding symbols.
3865
3866 2014-03-13 Ludovic Courtès <ludo@gnu.org>
3867 Doug Evans <xdje42@gmail.com>
3868
3869 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3870 to history survives a gc.
3871
3872 2014-03-13 Pedro Alves <palves@redhat.com>
3873
3874 * gdb.base/default.exp: Don't test "target procfs".
3875
3876 2014-03-13 Pedro Alves <palves@redhat.com>
3877
3878 * gdb.base/default.exp: Update "target child" and "target procfs"
3879 tests to not expect "Unix".
3880
3881 2014-03-12 Tom Tromey <tromey@redhat.com>
3882
3883 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3884 New procs. Add target-async tests.
3885 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3886 Add target-async tests.
3887
3888 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3889
3890 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3891 'func_start' and 'func_end' for the beginning and end of the
3892 function code, respectively.
3893 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3894 'func_end' instead of 'func' and 'main'.
3895
3896 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3897
3898 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3899 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3900 generate the debug info assembler source.
3901
3902 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3903
3904 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3905 * gdb.dwarf2/arr-subrange.exp: Likewise.
3906 * gdb.dwarf2/dwz.exp: Likewise.
3907 * gdb.dwarf2/method-ptr.exp: Likewise.
3908 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3909 * gdb.dwarf2/subrange.exp: Likewise.
3910 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3911 * gdb.dwarf2/implptrpiece.exp: Likewise.
3912 * gdb.dwarf2/nostaticblock.exp: Likewise.
3913
3914 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3915
3916 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3917 directory to absolute path name arguments.
3918
3919 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3920
3921 * gdb.ada/tagged_access: New testcase.
3922
3923 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3924
3925 * gdb.btrace/data.exp: Update expected output.
3926
3927 2014-03-06 Yao Qi <yao@codesourcery.com>
3928
3929 * gdb.trace/pr16508.exp: New file.
3930
3931 2014-03-05 Pedro Alves <palves@redhat.com>
3932
3933 PR gdb/16575
3934 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3935 procedure.
3936 (top level): Adjust to use it. Add tests that exercise breakpoint
3937 interaction with the code-cache.
3938
3939 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3940
3941 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3942 test for 'history-append!'.
3943
3944 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3945
3946 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3947 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3948 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3949 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3950 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3951 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3952
3953 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3954
3955 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3956 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3957 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3958
3959 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3960
3961 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3962
3963 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3964
3965 * gdb.dwarf2/arr-stride.c: New file.
3966 * gdb.dwarf2/arr-stride.exp: New file.
3967
3968 2014-02-26 Pedro Alves <palves@redhat.com>
3969
3970 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3971 that won't ever trigger. Make sure that GDB reports the correct
3972 breakpoint that caused the stop.
3973
3974 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3975
3976 PR gdb/16626
3977 * gdb.base/auto-load-script: New file.
3978 * gdb.base/auto-load.c: New file.
3979 * gdb.base/auto-load.exp: New file.
3980
3981 PR gdb/16626
3982 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3983
3984 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3985
3986 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3987 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3988
3989 2014-02-24 Doug Evans <dje@google.com>
3990
3991 * lib/gdb.exp (run_on_host): Log error output if program fails.
3992
3993 2014-02-21 Pedro Alves <palves@redhat.com>
3994
3995 * gdb.threads/step-after-sr-lock.c: Rename to ...
3996 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3997 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3998 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3999 ... this.
4000
4001 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4002
4003 PR tdep/16397
4004 * gdb.arch/amd64-stap-special-operands.exp: New file.
4005 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4006 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4007 * gdb.arch/amd64-stap-triplet.S: Likewise.
4008 * gdb.arch/amd64-stap-triplet.c: Likewise.
4009
4010 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4011
4012 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4013 in .section pseudo-op.
4014
4015 2014-02-20 lin zuojian <manjian2006@gmail.com>
4016 Joel Brobecker <brobecker@adacore.com>
4017 Doug Evans <xdje42@gmail.com>
4018
4019 PR symtab/16581
4020 * gdb.dwarf2/dw2-icycle.S: New file.
4021 * gdb.dwarf2/dw2-icycle.c: New file.
4022 * gdb.dwarf2/dw2-icycle.exp: New file.
4023
4024 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4025
4026 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4027 operations on gdb.Value objects.
4028 * gdb.python/py-value-cc.exp: Add new test to test operations on
4029 gdb.Value objects.
4030
4031 2014-02-18 Doug Evans <dje@google.com>
4032
4033 * Makefile.in (TESTS): New variable.
4034 (expanded_tests, expanded_tests_or_none): New variables
4035 (check-single): Pass $(expanded_tests_or_none) to runtest.
4036 (check-parallel): Only run tests in $(TESTS) if non-empty.
4037 (check/no-matching-tests-found): New rule.
4038 * README: Document TESTS makefile variable.
4039
4040 2014-02-18 Doug Evans <dje@google.com>
4041
4042 * Makefile.in (check-parallel): rm -rf outputs temp.
4043
4044 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4045
4046 Fix "ERROR: no fileid for" in the testsuite.
4047 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4048
4049 2014-02-12 Doug Evans <dje@google.com>
4050
4051 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4052 (MISCELLANEOUS): New variable.
4053 (clean): rm -rf $(MISCELLANEOUS).
4054 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4055 dwp live in the same directory as symlinks, with each symlink pointed
4056 to a differently named file in a different directory.
4057
4058 2014-02-11 Doug Evans <dje@google.com>
4059
4060 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4061 of Tcl file commands.
4062
4063 2014-02-10 Mark Kettenis <kettenis@gnu.org>
4064
4065 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4066 "kill -SIGUSR1 -1".
4067
4068 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4069
4070 * gdb.ada/tick_length_array_enum_idx: New testcase.
4071
4072 2014-02-10 Doug Evans <xdje42@gmail.com>
4073
4074 * configure.ac (AC_OUTPUT): Add gdb.guile.
4075 * configure: Regenerate.
4076 * lib/gdb-guile.exp: New file.
4077 * lib/gdb.exp (get_target_charset): New function.
4078 * gdb.base/help.exp: Update expected output from "apropos apropos".
4079 * gdb.guile/Makefile.in: New file.
4080 * gdb.guile/guile.exp: New file.
4081 * gdb.guile/scm-arch.c: New file.
4082 * gdb.guile/scm-arch.exp: New file.
4083 * gdb.guile/scm-block.c: New file.
4084 * gdb.guile/scm-block.exp: New file.
4085 * gdb.guile/scm-breakpoint.c: New file.
4086 * gdb.guile/scm-breakpoint.exp: New file.
4087 * gdb.guile/scm-disasm.c: New file.
4088 * gdb.guile/scm-disasm.exp: New file.
4089 * gdb.guile/scm-equal.c: New file.
4090 * gdb.guile/scm-equal.exp: New file.
4091 * gdb.guile/scm-error.exp: New file.
4092 * gdb.guile/scm-error.scm: New file.
4093 * gdb.guile/scm-frame-args.c: New file.
4094 * gdb.guile/scm-frame-args.exp: New file.
4095 * gdb.guile/scm-frame-args.scm: New file.
4096 * gdb.guile/scm-frame-inline.c: New file.
4097 * gdb.guile/scm-frame-inline.exp: New file.
4098 * gdb.guile/scm-frame.c: New file.
4099 * gdb.guile/scm-frame.exp: New file.
4100 * gdb.guile/scm-generics.exp: New file.
4101 * gdb.guile/scm-gsmob.exp: New file.
4102 * gdb.guile/scm-iterator.c: New file.
4103 * gdb.guile/scm-iterator.exp: New file.
4104 * gdb.guile/scm-math.c: New file.
4105 * gdb.guile/scm-math.exp: New file.
4106 * gdb.guile/scm-objfile-script-gdb.in: New file.
4107 * gdb.guile/scm-objfile-script.c: New file.
4108 * gdb.guile/scm-objfile-script.exp: New file.
4109 * gdb.guile/scm-objfile.c: New file.
4110 * gdb.guile/scm-objfile.exp: New file.
4111 * gdb.guile/scm-ports.exp: New file.
4112 * gdb.guile/scm-pretty-print.c: New file.
4113 * gdb.guile/scm-pretty-print.exp: New file.
4114 * gdb.guile/scm-pretty-print.scm: New file.
4115 * gdb.guile/scm-section-script.c: New file.
4116 * gdb.guile/scm-section-script.exp: New file.
4117 * gdb.guile/scm-section-script.scm: New file.
4118 * gdb.guile/scm-symbol.c: New file.
4119 * gdb.guile/scm-symbol.exp: New file.
4120 * gdb.guile/scm-symtab-2.c: New file.
4121 * gdb.guile/scm-symtab.c: New file.
4122 * gdb.guile/scm-symtab.exp: New file.
4123 * gdb.guile/scm-type.c: New file.
4124 * gdb.guile/scm-type.exp: New file.
4125 * gdb.guile/scm-value-cc.cc: New file.
4126 * gdb.guile/scm-value-cc.exp: New file.
4127 * gdb.guile/scm-value.c: New file.
4128 * gdb.guile/scm-value.exp: New file.
4129 * gdb.guile/source2.scm: New file.
4130 * gdb.guile/types-module.cc: New file.
4131 * gdb.guile/types-module.exp: New file.
4132
4133 2014-02-10 Yao Qi <yao@codesourcery.com>
4134
4135 PR testsuite/16543
4136 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4137 * configure: Regenerated.
4138 * Makefile.in: New file.
4139
4140 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4141
4142 * gdb.python/py-framefilter.exp: Fix typo.
4143
4144 2014-02-08 Yao Qi <yao@codesourcery.com>
4145
4146 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4147 that no =breakpoint-modified is emitted when breakpoints are
4148 modified through MI commands.
4149
4150 2014-02-07 Pedro Alves <pedro@codesourcery.com>
4151 Pedro Alves <palves@redhat.com>
4152
4153 * gdb.threads/step-after-sr-lock.c: New file.
4154 * gdb.threads/step-after-sr-lock.exp: New file.
4155
4156 2014-02-07 Pedro Alves <palves@redhat.com>
4157
4158 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4159
4160 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4161
4162 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4163 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4164
4165 2014-02-06 Doug Evans <xdje42@gmail.com>
4166
4167 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4168 output.
4169
4170 * gdb.gdb/python-interrupts.exp: New file.
4171
4172 2014-02-05 Yao Qi <yao@codesourcery.com>
4173
4174 * gdb.trace/report.exp (use_collected_data): Test the output
4175 of "info threads" and "info inferiors".
4176
4177 2014-02-05 Yao Qi <yao@codesourcery.com>
4178
4179 Revert this patch:
4180
4181 2013-05-24 Yao Qi <yao@codesourcery.com>
4182
4183 * gdb.trace/tfile.exp: Test inferior and thread.
4184
4185 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4186
4187 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4188 on a function.
4189 * gdb.base/step-bt.c: Call hello via function pointer to make
4190 sure its first instruction is executed on powerpc64le-linux.
4191
4192 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4193
4194 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4195
4196 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4197
4198 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4199 of the test patterns for use on little-endian systems.
4200
4201 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4202
4203 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4204 (decimal_vector): Fix for little-endian.
4205
4206 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4207
4208 * gdb.arch/sparc-sysstep.exp: New file.
4209 * gdb.arch/sparc-sysstep.c: Likewise.
4210
4211 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4212
4213 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4214
4215 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4216
4217 2014-01-23 Tom Tromey <tromey@redhat.com>
4218
4219 * gdb.ada/array_char_idx: New testcase.
4220
4221 2014-01-23 Tom Tromey <tromey@redhat.com>
4222
4223 PR python/16487:
4224 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4225 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4226 classes.
4227
4228 2014-01-23 Tom Tromey <tromey@redhat.com>
4229
4230 PR python/16491:
4231 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4232 string from an inferior frame.
4233 * gdb.python/py-framefilter-mi.exp: Update.
4234
4235 2014-01-22 Doug Evans <dje@google.com>
4236
4237 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4238
4239 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4240
4241 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4242
4243 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4244
4245 * gdb.trace/entry-values.exp: Remove excess space character from
4246 regex patterns. Handle s390 call instruction.
4247
4248 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4249
4250 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4251 define "*_start" label. Make "name" static.
4252 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4253 ${name} by references to ${name}_start.
4254
4255 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4256
4257 * gdb.base/info-macros.exp: Remove "debug" from the compile
4258 options.
4259
4260 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4261
4262 * gdb.dlang/demangle.exp: New file.
4263
4264 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4265
4266 * gdb.dlang/primitive-types.exp: New file.
4267
4268 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4269
4270 * configure.ac: Create gdb.dlang/Makefile.
4271 * configure: Regenerate.
4272 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4273 * gdb.dlang/Makefile.in: New file.
4274 * lib/d-support.exp: New file.
4275 * lib/gdb.exp (skip_d_tests): New proc.
4276
4277 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4278
4279 * gdb.btrace/delta.exp: Check reverse stepi.
4280 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4281 * gdb.btrace/finish.exp: New.
4282 * gdb.btrace/next.exp: New.
4283 * gdb.btrace/nexti.exp: New.
4284 * gdb.btrace/record_goto.c: Add comments.
4285 * gdb.btrace/step.exp: New.
4286 * gdb.btrace/stepi.exp: New.
4287 * gdb.btrace/multi-thread-step.c: New.
4288 * gdb.btrace/multi-thread-step.exp: New.
4289 * gdb.btrace/rn-dl-bind.c: New.
4290 * gdb.btrace/rn-dl-bind.exp: New.
4291 * gdb.btrace/data.c: New.
4292 * gdb.btrace/data.exp: New.
4293 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4294
4295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4296
4297 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4298 * gdb.btrace/exception.exp: Update.
4299 * gdb.btrace/instruction_history.exp: Update.
4300 * gdb.btrace/record_goto.exp: Update.
4301 * gdb.btrace/tailcall.exp: Update.
4302 * gdb.btrace/unknown_functions.exp: Update.
4303 * gdb.btrace/delta.exp: New.
4304
4305 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4306
4307 * gdb.btrace/record_goto.exp: Add backtrace test.
4308 * gdb.btrace/tailcall.exp: Add backtrace test.
4309
4310 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4311
4312 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4313 * gdb.btrace/record_goto.c: New.
4314 * gdb.btrace/record_goto.exp: New.
4315 * gdb.btrace/x86-record_goto.S: New.
4316
4317 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4318
4319 * gdb.btrace/function_call_history.exp: Update tests.
4320 * gdb.btrace/instruction_history.exp: Update tests.
4321
4322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4323
4324 * gdb.btrace/function_call_history.exp: Fix expected field
4325 order for "record function-call-history".
4326 Add new tests for "record function-call-history /c".
4327 * gdb.btrace/exception.cc: New.
4328 * gdb.btrace/exception.exp: New.
4329 * gdb.btrace/tailcall.exp: New.
4330 * gdb.btrace/x86-tailcall.S: New.
4331 * gdb.btrace/x86-tailcall.c: New.
4332 * gdb.btrace/unknown_functions.c: New.
4333 * gdb.btrace/unknown_functions.exp: New.
4334 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4335
4336 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4337
4338 * gdb.btrace/instruction_history.exp: Update.
4339 * gdb.btrace/function_call_history.exp: Update.
4340
4341 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4342
4343 * gdb.btrace/function_call_history.exp: Fix expected function
4344 trace.
4345 * gdb.btrace/instruction_history.exp: Initialize traced.
4346 Remove traced_functions.
4347
4348 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4349
4350 * gdb.btrace/function_call_history.exp: Update
4351 * gdb.btrace/instruction_history.exp: Update.
4352
4353 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4354
4355 * gdb.btrace/enable.exp: Update expected text.
4356
4357 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4358
4359 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4360 bytes.
4361
4362 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4363
4364 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4365
4366 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4367
4368 * lib/gdb.exp (supports_process_record): Return true for
4369 arm*-linux*. (supports_reverse): Likewise.
4370
4371 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4372
4373 PR python/15464
4374 PR python/16113
4375 * gdb.python/py-type.c: Enhance test case.
4376 * gdb.python/py-value-cc.cc: Likewise
4377 * gdb.python/py-type.exp: Add new tests.
4378 * gdb.python/py-value-cc.exp: Likewise
4379
4380 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4381 Pedro Alves <palves@redhat.com>
4382
4383 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4384 Make "name" extern.
4385 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4386 references to ${name}_start by references to ${name}.
4387
4388 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4389
4390 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4391
4392 2014-01-10 Joel Brobecker <brobecker@adacore.com>
4393
4394 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4395
4396 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4397 Pedro Alves <palves@redhat.com>
4398
4399 * gdb.mi/mi-info-os.exp: Connect to the target with
4400 mi_gdb_target_load.
4401
4402 2014-01-08 Pedro Alves <palves@redhat.com>
4403
4404 * gdb.threads/reconnect-signal.c: New file.
4405 * gdb.threads/reconnect-signal.exp: New file.
4406
4407 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4408
4409 * gdb.base/source-dir.exp: New file.
4410
4411 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4412
4413 * gdb.ada/mi_interface: New testcase.
4414
4415 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4416
4417 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4418 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4419 gdb.ada/pp-rec-component/pck.ads: New files.
4420
4421 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4422
4423 * gdb.python/py-pp-integral.c: New file.
4424 * gdb.python/py-pp-integral.py: New file.
4425 * gdb.python/py-pp-integral.exp: New file.
4426
4427 For older changes see ChangeLog-1993-2013.
4428 \f
4429 ;; Local Variables:
4430 ;; mode: change-log
4431 ;; left-margin: 8
4432 ;; fill-column: 74
4433 ;; version-control: never
4434 ;; End:
4435
4436 Copyright 2014-2015 Free Software Foundation, Inc.
4437 Copying and distribution of this file, with or without modification,
4438 are permitted provided the copyright notice and this notice are preserved.
This page took 0.120307 seconds and 5 git commands to generate.