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