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