]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[AArch64] Relax long branch veneer insertion for non STT_FUNC symbol
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5f5dfff6
SM
12016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
5 enum flag values.
6
fd356fa2
AA
72016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8
9 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10 when GDB can not set the vector return value. Add more comments
11 for clarification.
12
9df22175
AT
132016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
14
15 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16 command.
17
41d1845e
SM
182016-01-19 Simon Marchi <simon.marchi@ericsson.com>
19
20 * Makefile.in (DO_RUNTEST): Add --status and update usages.
21
01ac6840
SM
222016-01-19 Simon Marchi <simon.marchi@ericsson.com>
23
24 * Makefile.in (check-single): Pass --status to runtest.
25 (check/%.exp): Likewise.
26
272016-01-19 Simon Marchi <simon.marchi@ericsson.com>
28
29 * Makefile.in (check-parallel): Propagate return code from make
30 do-check-parallel.
31
c2f4122d
PA
322016-01-19 Pedro Alves <palves@redhat.com>
33
34 * ax-gdb.c (agent_command_1): Adjust call to decode_line_full.
35 * break-catch-throw.c (re_set_exception_catchpoint): Pass the
36 current program space down to linespec decoding and breakpoint
37 location updating.
38 * breakpoint.c (parse_breakpoint_sals): Adjust calls to
39 decode_line_full.
40 (until_break_command): Adjust calls to decode_line_1.
41 (base_breakpoint_decode_location, bkpt_decode_location): Add
42 'search_pspace' parameter. Pass it along.
43 (bkpt_probe_create_sals_from_location): Adjust calls to
44 parse_probes.
45 (tracepoint_decode_location, tracepoint_probe_decode_location)
46 (strace_marker_decode_location): Add 'search_pspace' parameter.
47 Pass it along.
48 (all_locations_are_pending): Rewrite to take a breakpoint and
49 program space as arguments instead.
50 (hoist_existing_locations): New function.
51 (update_breakpoint_locations): Add 'filter_pspace' parameter. Use
52 hoist_existing_locations instead of always removing all locations,
53 and adjust to all_locations_are_pending change.
54 (location_to_sals): Add 'search_pspace' parameter. Pass it along.
55 Don't disable the breakpoint if there are other locations in
56 another program space.
57 (breakpoint_re_set_default): Adjust to pass down the current
58 program space as filter program space.
59 (decode_location_default): Add 'search_pspace' parameter and pass
60 it along.
61 (prepare_re_set_context): Don't switch program space here.
62 (breakpoint_re_set): Use save_current_space_and_thread instead of
63 save_current_program_space.
64 * breakpoint.h (struct breakpoint_ops) <decode_location>: Add
65 'search_pspace' parameter.
66 (update_breakpoint_locations): Add 'filter_pspace' parameter.
67 * cli/cli-cmds.c (edit_command, list_command): Adjust calls to
68 decode_line_1.
69 * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current
70 program space as filter program space.
71 * linespec.c (struct linespec_state) <search_pspace>: New field.
72 (create_sals_line_offset, convert_explicit_location_to_sals)
73 (parse_linespec): Pass the search program space down.
74 (linespec_state_constructor): Add 'search_pspace' parameter.
75 Store it.
76 (linespec_parser_new): Add 'search_pspace' parameter and pass it
77 along.
78 (linespec_lex_to_end): Adjust.
79 (decode_line_full, decode_line_1): Add 'search_pspace' parameter
80 and pass it along.
81 (decode_line_with_last_displayed): Adjust.
82 (collect_symtabs_from_filename, symtabs_from_filename): New
83 'search_pspace' parameter. Use it.
84 (find_function_symbols): Pass the search program space down.
85 * linespec.h (decode_line_1, decode_line_full): Add
86 'search_pspace' parameter.
87 * probe.c (parse_probes_in_pspace): New function, factored out
88 from ...
89 (parse_probes): ... this. Add 'search_pspace' parameter and use
90 it.
91 * probe.h (parse_probes): Add pspace' parameter.
92 * python/python.c (gdbpy_decode_line): Adjust.
93 * tracepoint.c (scope_info): Adjust.
94
bd0a71fa
MK
952016-01-19 Marcin Koƛcielnicki <koriakin@0x04.net>
96
97 * gdb.trace/ftrace.exp: Fix expected message on continue.
98 * gdb.trace/pending.exp: Fix expected message on continue.
99 * gdb.trace/trace-break.exp: Fix expected message on continue.
100
8bcbad33
SM
1012016-01-18 Simon Marchi <simon.marchi@ericsson.com>
102
103 * lib/gdb.exp (gdb_test): Remove unused global references.
104
f303dbd6
PA
1052016-01-18 Pedro Alves <palves@redhat.com>
106
107 * gdb.base/async-shell.exp: Adjust expected output.
108 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
109 * gdb.base/siginfo-thread.exp: Adjust expected output.
110 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
111 * gdb.java/jnpe.exp: Adjust expected output.
112 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
113 * gdb.threads/continue-pending-status.exp: Adjust expected output.
114 * gdb.threads/leader-exit.exp: Adjust expected output.
115 * gdb.threads/manythreads.exp: Adjust expected output.
116 * gdb.threads/pthreads.exp: Adjust expected output.
117 * gdb.threads/schedlock.exp: Adjust expected output.
118 * gdb.threads/siginfo-threads.exp: Adjust expected output.
119 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
120 expected output.
121 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
122 output.
123 * gdb.threads/sigthread.exp: Adjust expected output.
124 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
125
b2789696
YQ
1262016-01-18 Yao Qi <yao.qi@linaro.org>
127
128 * gdb.guile/scm-section-script.c: Replace @progbits with
129 %progbits.
130 * gdb.python/py-section-script.c: Likewise.
131
71ef29a8
PA
1322016-01-15 Pedro Alves <palves@redhat.com>
133
134 * gdb.multi/tids.exp: Test star wildcard ranges.
135
3f5b7598
PA
1362016-01-15 Pedro Alves <palves@redhat.com>
137
138 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
139 command from "thread apply" invocation.
140 (thr_apply_info_thr_invalid): Default the expected output to the
141 input tid list.
142 (top level): Add tests that use convenience variables. Add tests
143 for "thread apply" with a valid TID list, but missing the command.
144
663f6d42
PA
1452016-01-13 Pedro Alves <palves@redhat.com>
146
147 * gdb.base/default.exp: Expect $_gthread as well.
148 * gdb.multi/tids.exp: Test $_gthread.
149 * gdb.threads/thread-specific.exp: Test $_gthread.
150
c84f6bbf
PA
1512016-01-13 Pedro Alves <palves@redhat.com>
152
153 * gdb.multi/tids.exp: Test "info threads -gid".
154
22a02324
PA
1552016-01-13 Pedro Alves <palves@redhat.com>
156
157 * gdb.multi/tids.exp: Test InferiorThread.global_num and
158 Breakpoint.thread.
159 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
160
5d5658a1
PA
1612016-01-07 Pedro Alves <palves@redhat.com>
162
163 * gdb.base/break.exp: Adjust to output changes.
164 * gdb.base/hbreak2.exp: Likewise.
165 * gdb.base/sepdebug.exp: Likewise.
166 * gdb.base/watch_thread_num.exp: Likewise.
167 * gdb.linespec/keywords.exp: Likewise.
168 * gdb.multi/info-threads.exp: Likewise.
169 * gdb.threads/thread-find.exp: Likewise.
170 * gdb.multi/tids.c: New file.
171 * gdb.multi/tids.exp: New file.
172
84654457
PA
1732016-01-13 Pedro Alves <palves@redhat.com>
174
175 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
176
e3940304
PA
1772016-01-13 Pedro Alves <palves@redhat.com>
178
179 * gdb.base/default.exp: Expect $_inferior as well.
180 * gdb.multi/base.exp: Test $_inferior.
181
a911d87a
PA
1822016-01-13 Pedro Alves <palves@redhat.com>
183
184 PR breakpoints/19388
185 * gdb.base/catch-signal-siginfo-cond.c: New file.
186 * gdb.base/catch-signal-siginfo-cond.exp: New file.
187
82075af2
JS
1882016-01-12 Josh Stone <jistone@redhat.com>
189 Philippe Waroquiers <philippe.waroquiers@skynet.be>
190
191 * gdb.base/catch-syscall.c (do_execve): New variable.
192 (main): Conditionally trigger an execve.
193 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
194 (test_catch_syscall_execve): New, check entry/return across execve.
195 (do_syscall_tests): Call test_catch_syscall_execve.
196
e46eeedd
PA
1972016-01-12 Pedro Alves <palves@redhat.com>
198
199 * gdb.base/random-signal.exp (do_test): New procedure, with body
200 of testcase moved in.
201
01d8c27e
JK
2022016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
203 Pedro Alves <palves@redhat.com>
204
205 * gdb.base/funcargs.exp (finish from indirectly called function):
206 Reintroduce the case for 'First'.
207
9a706302
JK
2082016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
209 Pedro Alves <palves@redhat.com>
210
211 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
212 (tcatch_vfork_then_child_follow_exec)
213 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
214 identification.
215
c0ecb95f
JK
2162016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
217
218 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
219 and repeats to unlimited.
220 * gdb.python/py-value.exp: Likewise.
221 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
222 and repeats to unlimited.
223
6cfc1fcb
JK
2242016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
225
226 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
227 and reordering the functions.
228 * gdb.multi/hangout.c: Likewise.
229 * gdb.multi/hello.c: Likewise.
230
582a1b00
SM
2312016-01-08 Simon Marchi <simon.marchi@ericsson.com>
232
233 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
234 absolute.
235 (SingleStatisticTestResult.report): Use dict.keys instead of
236 dict.iterkeys.
237
79bc59cb
PA
2382016-01-06 Pedro Alves <palves@redhat.com>
239
240 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
241
43368e1d
MM
2422016-01-04 Markus Metzger <markus.t.metzger@intel.com>
243
244 * gdb.btrace/dlopen.exp: New.
245 * gdb.btrace/dlopen.c: New.
246 * gdb.btrace/dlopen-dso.c: New.
247
79fad5b8
SL
2482015-12-25 Sandra Loosemore <sandra@codesourcery.com>
249
250 * lib/gdb.exp (gdb_test): Update comments to clarify that the
251 PATTERN argument is optional.
252
ab8314b3
JB
2532015-12-24 Joel Brobecker <brobecker@adacore.com>
254
255 * lib/ada.exp (target_compile_ada_from_dir): New function.
256 (gdb_compile_ada): Reimplement avoiding the use of project files.
257 * gdb.ada/gnat_ada.gpr: Delete.
258 * gdb.ada/cond_lang.exp: Adjust test to make path before
259 filename optional.
260 * gdb.ada/small_reg_param.exp: Likewise.
261
fe33faff
SM
2622015-12-22 Simon Marchi <simon.marchi@ericsson.com>
263
264 * gdb.base/foll-vork.exp: Remove HP-UX special case.
265
6d265cb4
TP
2662015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
267
268 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
269 case.
270
10125099
SM
2712015-12-21 Simon Marchi <simon.marchi@ericsson.com>
272
273 * gdb.base/break.exp: Remove dead code.
274 * gdb.base/sepdebug.exp: Likewise.
275
3ca22649
SM
2762015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
277
278 * gdb.asm/asm-source.exp: Remove HP-UX references.
279 * gdb.base/annota1.exp: Likewise.
280 * gdb.base/annota3.exp: Likewise.
281 * gdb.base/attach.exp: Likewise.
282 * gdb.base/bigcore.exp: Likewise.
283 * gdb.base/break.exp: Likewise.
284 * gdb.base/call-ar-st.exp: Likewise.
285 * gdb.base/callfuncs.exp: Likewise.
286 * gdb.base/catch-fork-static.exp: Likewise.
287 * gdb.base/display.exp: Likewise.
288 * gdb.base/foll-exec-mode.exp: Likewise.
289 * gdb.base/foll-exec.exp: Likewise.
290 * gdb.base/foll-fork.exp: Likewise.
291 * gdb.base/foll-vfork.exp: Likewise.
292 * gdb.base/funcargs.exp: Likewise.
293 * gdb.base/hbreak2.exp: Likewise.
294 * gdb.base/inferior-died.exp: Likewise.
295 * gdb.base/interrupt.exp: Likewise.
296 * gdb.base/multi-forks.exp: Likewise.
297 * gdb.base/nodebug.exp: Likewise.
298 * gdb.base/sepdebug.exp: Likewise.
299 * gdb.base/solib1.c: Likewise.
300 * gdb.base/step-test.exp: Likewise.
301 * gdb.mi/non-stop.c: Likewise.
302 * gdb.mi/pthreads.c: Likewise.
303 * gdb.multi/bkpt-multi-exec.ex: Likewise.
304 * gdb.threads/pthreads.c: Likewise.
305 * gdb.threads/staticthreads.exp: Likewise.
306 * lib/future.exp: Likewise.
307 * lib/gdb.exp: Likewise.
308 * gdb.base/so-indr-cl.c: Remove.
309 * gdb.base/so-indr-cl.exp: Likewise.
310 * gdb.base/solib.c: Likewise.
311 * gdb.base/solib.exp: Likewise.
312 * gdb.base/solib2.c: Likewise.
313
b6304613
SM
3142015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
315
316 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
317 * gdb.base/call-ar-st.exp: Likewise.
318 * gdb.base/callfuncs.exp: Likewise.
319 * gdb.base/condbreak.exp: Likewise.
320 * gdb.base/constvars.exp: Likewise.
321 * gdb.base/hbreak2.exp: Likewise.
322 * gdb.base/langs.exp: Likewise.
323 * gdb.base/list.exp: Likewise.
324 * gdb.base/long_long.exp: Likewise.
325 * gdb.base/ptype.exp: Likewise.
326 * gdb.base/scope.exp: Likewise.
327 * gdb.base/signals.exp: Likewise.
328 * gdb.base/so-impl-ld.exp: Likewise.
329 * gdb.base/varargs.exp: Likewise.
330 * gdb.base/volatile.exp: Likewise.
331 * gdb.base/whatis.exp: Likewise.
332 * gdb.cp/cplusfuncs.exp: Likewise.
333 * gdb.cp/inherit.exp: Likewise.
334 * gdb.cp/local.exp: Likewise.
335 * gdb.cp/member-ptr.exp: Likewise.
336 * gdb.cp/method.exp: Likewise.
337 * gdb.cp/overload.exp: Likewise.
338 * gdb.cp/templates.exp: Likewise.
339 * gdb.stabs/weird.exp: Likewise.
340 * lib/compiler.c: Likewise.
341 * lib/compiler.cc: Likewise.
342 * lib/cp-support.exp: Likewise.
343 * lib/gdb.exp: Likewise.
344
bf401b07
SM
3452015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
346
347 * configure.ac: Remove HP-UX case.
348 * configure: Regenerate.
349
aff9c0f8
SM
3502015-12-18 Simon Marchi <simon.marchi@ericsson.com>
351
352 * lib/gdb.exp (gdb_compile): Add function doc.
353
a6904d5a
PA
3542015-12-17 Pedro Alves <palves@redhat.com>
355
356 PR threads/19354
357 * gdb.multi/info-threads.exp: New file.
358
a22279dd
YQ
3592015-12-15 Yao Qi <yao.qi@linaro.org>
360
361 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
362 is aarch64*-*-*.
363
0588c796
SL
3642015-12-14 Sandra Loosemore <sandra@codesourcery.com>
365
366 * gdb.base/history-duplicates.exp: Skip if no readline support.
367
5d978e17
SL
3682015-12-14 Sandra Loosemore <sandra@codesourcery.com>
369
370 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
371
7e763b86
SL
3722015-12-14 Sandra Loosemore <sandra@codesourcery.com>
373
374 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
375
87a3a92c
SL
3762015-12-14 Sandra Loosemore <sandra@codesourcery.com>
377
378 * gdb.base/completion.exp: Skip tests that interrupt GDB with
379 ctrl-C if nointerrupts target property is set.
380 * gdb.base/double-prompt-target-event-error.exp: Likewise.
381 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
382 * gdb.base/paginate-bg-execution.exp: Likewise.
383 * gdb.base/paginate-execution-startup.exp: Likewise.
384 * gdb.base/random-signal.exp: Likewise.
385 * gdb.base/range-stepping.exp: Likewise.
386 * gdb.cp/annota2.exp: Likewise.
387 * gdb.cp/annota3.exp: Likewise.
388 * gdb.gdb/selftest.exp: Likewise.
389 * gdb.threads/continue-pending-status.exp: Likewise.
390 * gdb.threads/leader-exit.exp: Likewise.
391 * gdb.threads/manythreads.exp: Likewise.
392 * gdb.threads/pthreads.exp: Likewise.
393 * gdb.threads/schedlock.exp: Likewise.
394 * gdb.threads/sigthread.exp: Likewise.
395
a8f077dc
DB
3962015-12-11 Don Breazeal <donb@codesourcery.com>
397
398 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
399 remote.
400 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
401 * gdb.base/foll-exec.exp (main): Enable for target remote.
402 * gdb.base/foll-fork.exp (main): Likewise.
403 * gdb.base/foll-vfork.exp (main): Likewise.
404 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
405 (proc continue_to_exit_bp_loc): Use clean_restart.
406 * gdb.base/pie-execl.exp (main): Disable for target remote.
407 * gdb.base/watch-vfork.exp (main): Enable for target remote.
408 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
409 * gdb.threads/execl.exp (main): Likewise.
410 * gdb.threads/fork-child-threads.exp (main): Likewise.
411 * gdb.threads/fork-plus-threads.exp (main): Disable for target
412 remote.
413 * gdb.threads/fork-thread-pending.exp (main): Enable for target
414 remote.
415 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
416 pid.tid style ptids, instead of just tid.
417 * gdb.threads/thread-execl.exp (main): Enable for target remote.
418 * gdb.threads/watchpoint-fork.exp (main): Likewise.
419 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
420 ptids, instead of just tid.
421
3b2464a8
AB
4222015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
423
424 * gdb.base/list.exp (test_list_forward): Add end of file error
425 test.
426 (test_repeat_list_command): Add end of file error test.
427 (test_list_backwards): Add beginning of file error test.
428
a0def019
AB
4292015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
430
431 * gdb.base/list.exp (test_list_invalid_args): New function,
432 defined, and called.
433
5c000dff
AB
4342015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
435
436 * gdb.base/list.exp (test_list): Make test names unique.
437
f1637ebe
YQ
4382015-12-11 Yao Qi <yao.qi@linaro.org>
439
440 * gdb.base/coremaker2.c: Remove.
441
36d6fc0a
PA
4422015-12-10 Pedro Alves <palves@redhat.com>
443
444 * gdb.multi/base.exp: Remove stale "spaces" references.
445
762f7747
PA
4462015-12-10 Pedro Alves <palves@redhat.com>
447
448 * gdb.multi/base.exp: Don't use nowarnings.
449 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
450 * gdb.multi/hangout.c: Include stdio.h.
451 * gdb.multi/hello.c: Include stdlib.h.
452 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
453 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
454 * gdb.multi/multi-arch.exp: Don't use nowarnings.
455
28d2bfb9
AB
4562015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
457
458 * gdb.dwarf2/dw2-ranges-base.c: New file.
459 * gdb.dwarf2/dw2-ranges-base.exp: New file.
460 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
461 support additional line table, and debug ranges generation.
462 (Dwarf::ranges): New function, generate .debug_ranges.
463 (Dwarf::lines): Support generating simple line table programs.
464 (Dwarf::assemble): Initialise new namespace variables.
465
5fc2beac
KB
4662015-12-09 Kevin Buettner <kevinb@redhat.com>
467
468 * gdb.base/async.exp (proc test_background): Add case for
469 asynchronous execution not supported.
470
1c35a88f
LM
4712015-12-09 Luis Machado <lgustavo@codesourcery.com>
472
473 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
474 format and change test names to make them unique.
475
b593e3d9
RK
4762015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
477 Pedro Alves <pedro@redhat.com>
478
479 PR gdb/18702
480 Add checking of floatformats setup on x86_64 hosts.
481 * gdb.arch/i386-float.S (main): Load bigval and smallval.
482 (smallval, bigval): New labels/constants.
483 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
484 float" after loading bigval and smallval.
485
d72413e6
PMR
4862015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
487
488 * gdb.ada/fun_overload_menu.exp: New testcase.
489 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
490
ece66d65
JS
4912015-12-04 Josh Stone <jistone@redhat.com>
492
493 * gdb.base/catch-fork-static.exp: New.
494
41d0efca
YQ
4952015-12-03 Yao Qi <yao.qi@linaro.org>
496
497 * gdb.base/sizeof.c: Don't include stdio.h and
498 ../lib/unbuffer_output.c.
499 (main): New variable 'size' and 'value'. Remove printf and
500 gdb_unbuffer_output. Assign return value to size and value.
501 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
502 at the beginning.
503 (check_sizeof): Check the result by printing variable 'size'.
504 (check_valueof): Check the result by printing variable 'value'.
505
99fd02d9
YQ
5062015-12-01 Yao Qi <yao.qi@linaro.org>
507
508 * gdb.base/disp-step-syscall.exp: Define syscall instruction
509 for aarch64*-*-linux* target.
510
f2faf941
PA
5112015-11-30 Pedro Alves <palves@redhat.com>
512
513 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
514
04bf20c5
PA
5152015-11-30 Pedro Alves <palves@redhat.com>
516
517 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
518 Handle non-stop mode vCont replies.
519
09df4675
PA
5202015-11-30 Pedro Alves <palves@redhat.com>
521
522 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
523 prepare_for_testing. Start gdb with "set non-stop on" appended to
524 GDBFLAGS. Lax expected stop output.
525
58b584af
YQ
5262015-11-27 Yao Qi <yao.qi@linaro.org>
527
528 * gdb.arch/arm-neon.exp: New.
529 * gdb.arch/arm-neon.c: New.
530
dfcb77a8
YQ
5312015-11-27 Yao Qi <yao.qi@linaro.org>
532
533 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
534
88e8ec1b
YQ
5352015-11-27 Yao Qi <yao.qi@linaro.org>
536
537 * gdb.cp/annota2.exp: Allow multiple occurrences of the
538 frames-invalid annotation.
539
bfde72c2
YQ
5402015-11-27 Yao Qi <yao.qi@linaro.org>
541
542 * gdb.cp/annota2.exp: Use ${frames_invalid}.
543
f6512a69
SM
5442015-11-26 Simon Marchi <simon.marchi@ericsson.com>
545
546 * gdb.threads/names.exp: New file.
547 * gdb.threads/names.c: New file.
548 * README: Mention gdb,no_thread_names.
549
46a3515b
MM
5502015-11-26 Markus Metzger <markus.t.metzger@intel.com>
551
552 PR 19297
553 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
554 support" error.
555
62147a22
PA
5562015-11-24 Pedro Alves <palves@redhat.com>
557
558 PR 17539
559 * gdb.base/display.exp: Expect displays to be sorted in ascending
560 order. Use multi_line.
561 * gdb.base/solib-display.exp: Likewise.
562
2f341b6e
PA
5632015-11-24 Pedro Alves <palves@redhat.com>
564
565 PR 17539
566 * gdb.base/display.exp: Expect displays to be sorted in ascending
567 order. Use multi_line.
568 * gdb.base/solib-display.exp: Likewise.
569
7e0aa6aa
PA
5702015-11-24 Pedro Alves <palves@redhat.com>
571
572 PR 17539
573 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
574 threads in ascending order.
575 * gdb.base/foll-fork.exp: Likewise.
576 * gdb.base/foll-vfork.exp: Likewise.
577 * gdb.base/multi-forks.exp: Likewise.
578 * gdb.mi/mi-nonstop.exp: Likewise.
579 * gdb.mi/mi-nsintrall.exp: Likewise.
580 * gdb.multi/base.exp: Likewise.
581 * gdb.multi/multi-arch.exp: Likewise.
582 * gdb.python/py-inferior.exp: Likewise.
583 * gdb.threads/break-while-running.exp: Likewise.
584 * gdb.threads/execl.exp: Likewise.
585 * gdb.threads/gcore-thread.exp: Likewise.
586 * gdb.threads/info-threads-cur-sal.exp: Likewise.
587 * gdb.threads/kill.exp: Likewise.
588 * gdb.threads/linux-dp.exp: Likewise.
589 * gdb.threads/multiple-step-overs.exp: Likewise.
590 * gdb.threads/next-bp-other-thread.exp: Likewise.
591 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
592 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
593 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
594 * gdb.threads/thread-find.exp: Likewise.
595 * gdb.threads/tls.exp: Likewise.
596 * lib/mi-support.exp (mi_reverse_list): Delete.
597 (mi_check_thread_states): No longer reverse list.
598
2cc57ad8
PA
5992015-11-24 Pedro Alves <palves@redhat.com>
600
601 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
602 use lowercase.
603
c93e8391
SM
6042015-11-23 Simon Marchi <simon.marchi@ericsson.com>
605
606 * gdb.trace/actions.c: Include trace-common.h.
607 (main): Add a location for a fast tracepoint.
608 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
609 the normal tracepoints.
610 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
611
045ccf91
SM
6122015-11-23 Simon Marchi <simon.marchi@ericsson.com>
613
614 * save-trace.exp: Factor out code to these...
615 (gdb_save_tracepoints): New.
616 (gdb_load_tracepoints): New.
617 (do_save_load_test): New.
618
5506f9f6
KB
6192015-11-23 Kevin Buettner <kevinb@redhat.com>
620
621 * gdb.base/asmlabel.exp: New test.
622 * gdb.base/asmlabel.c: New test case.
623
16c3b12f
JB
6242015-11-23 Joel Brobecker <brobecker@adacore.com>
625
626 * gdb.base/wrong_frame_bt_full-main.c: New file.
627 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
628 * gdb.base/wrong_frame_bt_full.exp: New file.
629
155bfbd3
JB
6302015-11-23 Joel Brobecker <brobecker@adacore.com>
631
632 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
633
bb097445
JM
6342015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
635
206853a0 636 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
637 pstate register when comparing registers values in
638 sparc64-*-linux-gnu targets to avoid spurious differences.
639
9c88ed8f
JM
6402015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
641
206853a0 642 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 643
96161e25
SL
6442015-11-19 Sandra Loosemore <sandra@codesourcery.com>
645
646 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
647 as type argument to gdb_compile.
648 * gdb.base/nested-subp2.exp: Likewise.
649 * gdb.base/nested-subp3.exp: Likewise.
650
340c2830
DV
6512015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
652
653 * lib/dwarf.exp (_note): Fix left shift of negative value.
654 * gdb.trace/trace-condition.exp: Likewise.
655
c1862d0f
YQ
6562015-11-13 Yao Qi <yao.qi@linaro.org>
657
658 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
659 comments about d10v.
660 (test_scalar_returns): Likewise.
661 * gdb.base/d10v.ld: Remove.
662 * gdb.base/overlays.exp: Remove the target triplet checking for
663 d10v-*-*.
664 * gdb.base/structs.exp (test_struct_returns): Remove the
665 comments about d10v.
666 (test_struct_calls): Likewise.
667
77ae9c19
YQ
6682015-11-13 Yao Qi <yao.qi@linaro.org>
669
670 * gdb.base/gnu_vector.exp: Check the return value by "p res".
671 * gdb.base/gnu_vector.c: Don't include stdio.h.
672 (main): Don't print res and call add_some_intvecs.
673
430e004e
MK
6742015-11-11 Marcin Koƛcielnicki <koriakin@0x04.net>
675
676 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
677 macro.
678 (func5): Removed.
679 (func4): Use FAST_TRACEPOINT_LABEL.
680 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
681 macro.
682 (func): Removed.
683 (thread_function): Use FAST_TRACEPOINT_LABEL.
684 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
685 (func): Remove.
686 (marker): Use FAST_TRACEPOINT_LABEL.
687 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
688 (pendfunc1): Remove.
689 (pendfunc): Use FAST_TRACEPOINT_LABEL.
690 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
691 (foo): Remove.
692 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
693 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
694 macro.
695 (func): Remove.
696 (marker): Use FAST_TRACEPOINT_LABEL.
697 * gdb.trace/trace-common.h: New header.
698 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
699 macro.
700 (func): Remove.
701 (marker): Use FAST_TRACEPOINT_LABEL.
702 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
703 (func): Remove.
704 (thread_function): Use FAST_TRACEPOINT_LABEL.
705
6e7675a7
MK
7062015-11-10 Marcin Koƛcielnicki <koriakin@0x04.net>
707
708 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
709 in front.
710 * gdb.trace/change-loc.exp: Use global pcreg definition.
711 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
712 * gdb.trace/entry-values.exp: Use global spreg definition, add $
713 in front.
714 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
715 * gdb.trace/pending.exp: Likewise.
716 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
717 * gdb.trace/trace-break.exp: Likewise.
718 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
719 in front.
720 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
721 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
722 in front.
723 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
724
dddc0e16
JB
7252015-11-09 Joel Brobecker <brobecker@adacore.com>
726
727 * gdb.ada/fin_fun_out: New testcase.
728
c6f0b406
KB
7292015-11-07 Kevin Buettner <kevinb@redhat.com>
730
731 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
732 value associated with DW_AT_byte_size.
733 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
734 constants for DW_AT_byte_size, DW_AT_lower_bound, and
735 DW_AT_upper_bound.
736
f01dcfd9
KB
7372015-11-07 Kevin Buettner <kevinb@redhat.com>
738
739 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
740 (gdb_target_symbol_prefix_flags): Define in terms of _asm
741 version.
742 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
743 gdb.dwarf2/dw2-canonicalize-type.exp,
744 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
745 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
746 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
747 provided by gdb_target_symbol_prefix_flags_asm.
748 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
749 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
750 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
751 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
752 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
753 macros where needed). Use this macro for symbols which require
754 the prefix provided by SYMBOL_PREFIX.
755
2223449a
KB
7562015-11-05 Kevin Buettner <kevinb@redhat.com>
757
758 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
759 New procs.
760 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
761 representing expressions, of more than one list element.
762 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
763 to prepend linker symbol prefix to f.
764 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
765 table_1 and table_2.
766 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
767 Likewise, for f and g.
768 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
769 for ptr.
770 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
771 for main.
772 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
773 table_1_ptr and table_2_ptr.
774
6f2f1a3a
JK
7752015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
776 Joel Brobecker <brobecker@adacore.com>
777
778 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
779
566c56c9
MK
7802015-11-04 Marcin Koƛcielnicki <koriakin@0x04.net>
781
782 * gdb.reverse/s390-mvcle.c: New test.
783 * gdb.reverse/s390-mvcle.exp: New file.
784 * lib/gdb.exp: Enable reverse tests on s390*-linux.
785
d5f0636b
MK
7862015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
787
788 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
789
7ad8b86c
MK
7902015-11-02 Marcin Koƛcielnicki <koriakin@0x04.net>
791
792 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
793 reaching marker2.
794 * gdb.reverse/getresuid-reverse.exp: Likewise.
795 * gdb.reverse/pipe-reverse.exp: Likewise.
796 * gdb.reverse/readv-reverse.exp: Likewise.
797 * gdb.reverse/recvmsg-reverse.exp: Likewise.
798 * gdb.reverse/time-reverse.exp: Likewise.
799 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
800
4081c0f1
YQ
8012015-10-30 Yao Qi <yao.qi@linaro.org>
802
803 * gdb.threads/wp-replication.c (watch_count_done): Remove.
804 (empty_cycle): Remove.
805 (main): Don't call empty_cycle. Don't use watch_count_done.
806 * gdb.threads/wp-replication.exp: Don't set breakpoint on
807 empty_cycle. Rewrite the code counting HW watchpoints.
808
452b4ba5
MK
8092015-10-30 Marcin Koƛcielnicki <koriakin@0x04.net>
810
811 * gdb.reverse/fstatat-reverse.c: New test.
812 * gdb.reverse/fstatat-reverse.exp: New file.
813 * gdb.reverse/getresuid-reverse.c: New test.
814 * gdb.reverse/getresuid-reverse.exp: New file.
815 * gdb.reverse/pipe-reverse.c: New test.
816 * gdb.reverse/pipe-reverse.exp: New file.
817 * gdb.reverse/readv-reverse.c: New test.
818 * gdb.reverse/readv-reverse.exp: New file.
819 * gdb.reverse/recvmsg-reverse.c: New test.
820 * gdb.reverse/recvmsg-reverse.exp: New file.
821 * gdb.reverse/time-reverse.c: New test.
822 * gdb.reverse/time-reverse.exp: New file.
823 * gdb.reverse/waitpid-reverse.c: New test.
824 * gdb.reverse/waitpid-reverse.exp: New file.
825
5e2e7507
JK
8262015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
827
828 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
829
0fde2c53
DE
8302015-10-26 Doug Evans <dje@google.com>
831
832 PR symtab/17391
833 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
834 * gdb.dwarf2/bad-regnum.c: New file.
835 * gdb.dwarf2/bad-regnum.exp: New file.
836
1a70ae97
DE
8372015-10-26 Doug Evans <dje@google.com>
838
839 PR python/18938
840 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
841 file.
842
27dc26ab
JK
8432015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
844
845 * gdb.compile/compile.exp (compile code globalvar): Update expectation
846 for a change by "Mention language in compile error message".
847
bed91f4d
SM
8482015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
849
850 PR python/18073
851 * gdb.python/py-type.c (C::a_method): New.
852 (C::a_const_method): New.
853 (C::a_static_method): New.
854 (a_function): New.
855 * gdb.python/py-type.exp (test_fields): Test getting fields
856 from function and method.
857
3f2f83dd
KB
8582015-10-21 Keven Boell <keven.boell@intel.com>
859
860 * gdb.fortran/vla-alloc-assoc.exp: New file.
861 * gdb.fortran/vla-datatypes.exp: New file.
862 * gdb.fortran/vla-datatypes.f90: New file.
863 * gdb.fortran/vla-history.exp: New file.
864 * gdb.fortran/vla-ptype-sub.exp: New file.
865 * gdb.fortran/vla-ptype.exp: New file.
866 * gdb.fortran/vla-sizeof.exp: New file.
867 * gdb.fortran/vla-sub.f90: New file.
868 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
869 * gdb.fortran/vla-value-sub-finish.exp: New file.
870 * gdb.fortran/vla-value-sub.exp: New file.
871 * gdb.fortran/vla-value.exp: New file.
872 * gdb.fortran/vla-ptr-info.exp: New file.
873 * gdb.mi/mi-vla-fortran.exp: New file.
874 * gdb.mi/vla.f90: New file.
875
27145d50
SL
8762015-10-21 Sandra Loosemore <sandra@codesourcery.com>
877
878 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
879 of hardwired timeout value.
880
5f3ff4f8
JK
8812015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
882 Pedro Alves <palves@redhat.com>
883
884 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
885 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
886
bfd09d20
JS
8872015-10-19 Josh Stone <jistone@redhat.com>
888
889 * gdb.base/catch-syscall.c: Include <sched.h>.
890 (unknown_syscall): New variable.
891 (main): Trigger a vfork and an unknown syscall.
892 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
893 (unknown_syscall_number): Likewise.
894 (check_call_to_syscall): Accept an optional syscall pattern.
895 (check_return_from_syscall): Likewise.
896 (check_continue): Likewise.
897 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
898 (test_catch_syscall_skipping_return): New test toggling off 'catch
899 syscall' to step over the syscall return, then toggling back on.
900 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
901 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
902 (do_syscall_tests): Call test_catch_syscall_without_args and
903 test_catch_syscall_mid_vfork.
904 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
905 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
906
b32b93c6
AS
9072015-10-19 Andrew Stubbs <ams@codesourcery.com>
908
909 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
910 print g_vE): Add new pass patterns.
911 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
912 print various symbol names for vptr fields.
913
9d622bda
AB
9142015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
915
916 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
917 results.
918
0fd8ac1c
YQ
9192015-10-12 Yao Qi <yao.qi@linaro.org>
920
921 * gdb.arch/disp-step-insn-reloc.exp: New test case.
922
34240514
YQ
9232015-10-12 Yao Qi <yao.qi@linaro.org>
924
925 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
926 is aarch64*-*-linux*.
927
8240f442
YQ
9282015-10-12 Yao Qi <yao.qi@linaro.org>
929
930 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
931 (can_relocate_bcond_true): ... it.
932 (can_relocate_bcond_false): New function.
933 (foo): Likewise.
934 (can_relocate_bl): Likewise.
935 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
936 can_relocate_bl.
937
2520f728
PMR
9382015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
939
940 * gdb.base/nested-addr.c: New file.
941 * gdb.base/nested-addr.exp: New testcase.
942
abcef95a
MM
9432015-10-09 Markus Metzger <markus.t.metzger@intel.com>
944
945 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
946 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
947 its output. Ignore the output of "record goto begin" and instead
948 check that GDB is replaying.
949
145e3ddb
PA
9502015-10-09 Pedro Alves <palves@redhat.com>
951
952 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
953 (top level): Use it in the run with no args test.
954
d5d8c4e1
IB
9552015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
956
957 * gdb.dlang/properties.exp: New file.
958
06e635ef
SL
9592015-10-02 Sandra Loosemore <sandra@codesourcery.com>
960
961 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
962 whether or not address 0x1000 is mapped on the target.
963
e019fd1d
SM
9642015-09-30 Simon Marchi <simon.marchi@ericsson.com>
965
966 * gdb.python/py-type.exp: Do not run tests if binaries fail to
967 build.
968
77ba2a67
MM
9692015-09-30 Markus Metzger <markus.t.metzger@intel.com>
970
971 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
972 instruction-history test.
973
c60eb31f
DE
9742015-09-28 Doug Evans <dje@google.com>
975
976 * gdb.base/gcore.c (array_func): Add reference to static_array.
977
9a3c8263
SM
9782015-09-25 Simon Marchi <simon.marchi@ericsson.com>
979
980 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
981 source line.
982
9720e656
SL
9832015-09-24 Sandra Loosemore <sandra@codesourcery.com>
984
985 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
986 short or char as base type.
987
938d3bf2
SL
9882015-09-23 Sandra Loosemore <sandra@codesourcery.com>
989
990 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
991 to allow any size enum.
992
e6c2c623
PMR
9932015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
994
995 * gdb.ada/array_ptr_renaming.exp: New testcase.
996 * gdb.ada/array_ptr_renaming/foo.adb: New file.
997 * gdb.ada/array_ptr_renaming/pack.ads: New file.
998
06da0f77
PL
9992015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1000
1001 * gdb.trace/ftrace-lock.c: New file.
1002 * gdb.trace/ftrace-lock.exp: New file.
1003
4f51c22a
PL
10042015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1005
1006 * gdb.arch/insn-reloc.c: New file.
1007 * gdb.arch/ftrace-insn-reloc.exp: New file.
1008
7041adf4
PL
10092015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1010
1011 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1012 instruction.
1013 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1014 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1015 * gdb.trace/range-stepping.c: Likewise.
1016 * gdb.trace/trace-break.c: Likewise.
1017 * gdb.trace/trace-mt.c (thread_function): Likewise.
1018 * gdb.trace/ftrace.c (marker): Likewise.
1019 * gdb.trace/trace-condition.c (marker): Likewise.
1020 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1021 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1022 is_aarch64_target.
1023
015d2e7e
DE
10242015-09-18 Doug Evans <xdje42@gmail.com>
1025
1026 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1027 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1028
26b188a2
SL
10292015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1030
1031 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1032 the breakpoint.
1033
79dc332b
SL
10342015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1035
1036 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1037 the pending breakpoint. Remove timeout override for "Run till
1038 MI pending breakpoint on pendfunc3 on thread 2" test.
1039
f57929f2
SL
10402015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1041
1042 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1043 filename pattern.
1044
3f469b17
SL
10452015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1046
1047 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1048 in breakpoint filename pattern.
1049
515b89b3
SL
10502015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1051
7800dbe4
SL
1052 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1053
10542015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1055
515b89b3
SL
1056 * gdb.linespec/explicit.exp: Check for readline support for
1057 tab-completion tests. Fix obvious typo.
1058
d2939ba2
MM
10592015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1060
1061 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1062 and replay.
1063
cbb55fa7
MM
10642015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1065
1066 * gdb.btrace/non-stop.c: New.
1067 * gdb.btrace/non-stop.exp: New.
1068
43691ca1
PL
10692015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1070 Yao Qi <yao.qi@linaro.org>
1071
1072 * gdb.trace/trace-condition.c: New file.
1073 * gdb.trace/trace-condition.exp: New file.
1074
d78908cf
WW
10752015-09-16 Wei-cheng Wang <cole945@gmail.com>
1076
1077 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1078 for testing bytecode compilation.
1079
1ed415e2
PA
10802015-09-16 Pedro Alves <palves@redhat.com>
1081 Sandra Loosemore <sandra@codesourcery.com>
1082
1083 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1084 (SECONDS): Redefine.
1085 (main): Call pthread_kill and alarm early.
1086 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1087 support.
1088 (test): If the target can't hardware step and doesn't support
1089 displaced stepping, increase the timeout.
1090
d136eff5
PA
10912015-09-16 Pedro Alves <palves@redhat.com>
1092
1093 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1094 (enable_debug): New procedures.
1095 (test): Use them. Bail out if waiting for threads fails.
1096 (top level): Bail out if a test fails.
1097
991f019c
YQ
10982015-09-16 Yao Qi <yao.qi@linaro.org>
1099
1100 * gdb.asm/asm-source.exp: Set asm-arch for
1101 aarch64*-*-* target.
1102 * gdb.asm/aarch64.inc: New file.
1103
bfca584f
PMR
11042015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1105
1106 * gdb.ada/array_of_variable_length.exp: New testcase.
1107 * gdb.ada/array_of_variable_length/foo.adb: New file.
1108 * gdb.ada/array_of_variable_length/pck.adb: New file.
1109 * gdb.ada/array_of_variable_length/pck.ads: New file.
1110
b326e587
DE
11112015-09-15 Doug Evans <dje@google.com>
1112
1113 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1114 of function static local variable.
1115
5382cfab
PW
11162015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1117
1118 * gdb.threads/tls-so_extern.exp: New test file.
1119 * gdb.threads/tls-so_extern.c: New test file.
1120 * gdb.threads/tls-so_extern_main.c: New test file.
1121
141c5cc4
JK
11222015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1123
1124 * gdb.opt/solib-intra-step-lib.c: New file.
1125 * gdb.opt/solib-intra-step-main.c: New file.
1126 * gdb.opt/solib-intra-step.exp: New file.
1127
d15dcecd
PA
11282015-09-15 Pedro Alves <palves@redhat.com>
1129
1130 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1131 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1132
4c2f2a79
PA
11332015-09-14 Pedro Alves <palves@redhat.com>
1134
1135 * gdb.base/hook-stop-continue.c: Delete.
1136 * gdb.base/hook-stop-continue.exp: Delete.
1137 * gdb.base/hook-stop-frame.c: Delete.
1138 * gdb.base/hook-stop-frame.exp: Delete.
1139 * gdb.base/hook-stop.c: New file.
1140 * gdb.base/hook-stop.exp: New file.
1141
919e6dbe
PMR
11422015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1143
1144 * gdb.ada/access_to_packed_array.exp: New testcase.
1145 * gdb.ada/access_to_packed_array/foo.adb: New file.
1146 * gdb.ada/access_to_packed_array/pack.adb: New file.
1147 * gdb.ada/access_to_packed_array/pack.ads: New file.
1148
157280a4
MM
11492015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1150
1151 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1152 buffer size test.
1153
2fd33e94
DB
11542015-09-11 Don Breazeal <donb@codesourcery.com>
1155
1156 * gdb.base/foll-exec.c: Add copyright header. Fix
1157 formatting issues.
1158 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1159 (do_exec_tests): Use clean_restart in place of zap_session,
1160 and for test initialization. Fix formatting issues. Use
1161 fail in place of perror.
1162 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1163 an expect statement to match an expression with output from
1164 the program under debug.
1165 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1166 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1167 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1168 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1169 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1170
e70b6e8e
DE
11712015-09-09 Doug Evans <dje@google.com>
1172
1173 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1174
7a551a51
DE
11752015-09-09 Doug Evans <dje@google.com>
1176
1177 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1178
4c666f84
DE
11792015-09-09 Doug Evans <dje@google.com>
1180
1181 * gdb.base/savedregs.exp: Fix typo.
1182
243a9253
PA
11832015-09-09 Pedro Alves <palves@redhat.com>
1184
1185 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1186
c0fa8fbd
SL
11872015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1188
1189 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1190 command actually switches threads. Give up on remaining
1191 tests if target fails to stop at breakpoint.
1192
cd7c1778
PMR
11932015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1194
1195 * gdb.ada/funcall_char.exp: New testcase.
1196 * gdb.ada/funcall_char/foo.adb: New file.
1197
dc5c8746
PMR
11982015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1199
1200 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1201 expected outputs. Add two testcases for completing ambiguous
1202 functions.
1203 * gdb.ada/complete/aux_pck.adb: New file.
1204 * gdb.ada/complete/aux_pck.ads: New file.
1205 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1206 Ambiguous_Func functions.
1207 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1208 * gdb.ada/complete/pck.adb: Likewise.
1209
4e83a1e7
UW
12102015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1211
1212 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1213 failures to run the test program under GDB.
1214
8ce74153
LM
12152015-08-26 Luis Machado <lgustavo@codesourcery.com>
1216
1217 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1218 to C.
1219
e9756d52
PP
12202015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1221
1222 * gdb.base/run-after-attach.exp: New test file.
1223 * gdb.base/run-after-attach.c: New test file.
1224
8d37573b
DB
12252015-08-26 Don Breazeal <donb@codesourcery.com>
1226
1227 * gdb.base/foll-exec-2.c: New test program.
1228 * gdb.base/foll-exec-2.exp: New test.
1229
63e43d3a
PMR
12302015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1231
1232 * gdb.base/nested-subp1.exp: New file.
1233 * gdb.base/nested-subp1.c: New file.
1234 * gdb.base/nested-subp2.exp: New file.
1235 * gdb.base/nested-subp2.c: New file.
1236 * gdb.base/nested-subp3.exp: New file.
1237 * gdb.base/nested-subp3.c: New file.
1238
3d40fbb5
PA
12392015-08-24 Pedro Alves <palves@redhat.com>
1240
1241 * gdb.server/connect-without-multi-process.c: New file.
1242 * gdb.server/connect-without-multi-process.exp: New file.
1243
4422ac93
LM
12442015-08-24 Luis Machado <lgustavo@codesourcery.com>
1245
1246 * gdb.opt/inline-markers.c: Make z int.
1247
91dddb86
LM
12482015-08-24 Luis Machado <lgustavo@codesourcery.com>
1249
1250 * gdb.opt/inline-markers.c: Make z volatile.
1251
a48847ee
LM
12522015-08-24 Luis Machado <lgustavo@codesourcery.com>
1253
1254 * gdb.opt/inline-bt.c: New volatile global z.
1255 * gdb.opt/inline-cmds.c: Likewise.
1256 * gdb.opt/inline-locals.c: Likewise.
1257 * gdb.opt/inline-markers.c: New extern global z.
1258 (marker): Use z.
1259 (inline_fn): Likewise.
1260
0ebbc52b
PA
12612015-08-24 Pedro Alves <palves@redhat.com>
1262
1263 * config/m32r-stub.exp: Remove file.
1264 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1265 * gdb.base/call-rt-st.exp: Likewise.
1266 * gdb.base/call-strs.exp: Likewise.
1267 * gdb.base/default.exp: Remove references to h8300-*-hms and
1268 *-*-udi*.
1269 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1270
77c365df
AA
12712015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1272
1273 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1274 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1275 and "return" use KFAIL when GDB can not read/write the vector
1276 return value.
1277
4313b8c0
GB
12782015-08-21 Gary Benson <gbenson@redhat.com>
1279
1280 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1281
0e433b32
PA
12822015-08-20 Pedro Alves <palves@redhat.com>
1283
1284 * gdb.server/solib-list.exp: No longer expect an interior stop in
1285 non-stop mode.
1286
221e1a37
PA
12872015-08-20 Pedro Alves <palves@redhat.com>
1288
1289 * gdb.server/connect-stopped-target.c: New file.
1290 * gdb.server/connect-stopped-target.exp: New file.
1291
40e3ad0e
PA
12922015-08-20 Pedro Alves <palves@redhat.com>
1293
1294 * gdb.dwarf2/comp-unit-lang.exp: New file.
1295 * gdb.dwarf2/comp-unit-lang.c: New file.
1296
af39b327
PMR
12972015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1298
1299 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1300 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1301
7d45c7c3 13022015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 1303
7d45c7c3
KB
1304 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1305 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1306
4d6cceb4
DE
13072015-08-18 Doug Evans <dje@google.com>
1308 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1309
1310 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1311 skip_python_tests. New arg prompt_regexp.
1312 (skip_python_tests): New function.
1313 * lib/mi-support.exp (mi_skip_python_tests): New function.
1314 * gdb.python/py-mi-objfile-gdb.py: New file.
1315 * gdb.python/py-mi-objfile.c: New file.
1316 * gdb.python/py-mi-objfile.exp: New file.
1317
ad89c2aa
KS
13182015-08-17 Keith Seitz <keiths@redhat.com>
1319
1320 * gdb.linespec/explicit.exp: Move strace test from here ...
1321 * gdb.trace/strace.exp: ... to here.
1322
e3ae3c43
PP
13232015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1324
1325 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1326 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1327
604b2636
DE
13282015-08-14 Doug Evans <xdje42@gmail.com>
1329
1330 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
1331 inferior before selecting a new file.
1332
6ff0ba5f
DE
13332015-08-14 Doug Evans <xdje42@gmail.com>
1334
1335 * gdb.mi/mi-disassemble.exp: Update.
1336 * gdb.base/disasm-optim.S: New file.
1337 * gdb.base/disasm-optim.c: New file.
1338 * gdb.base/disasm-optim.h: New file.
1339 * gdb.base/disasm-optim.exp: New file.
1340
9ca98f92
KS
13412015-08-14 Keith Seitz <keiths@redhat.com>
1342
1343 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
1344 "evaluated-by".
1345
52bbc560
JB
13462015-08-13 Joel Brobecker <brobecker@adacore.com>
1347
1348 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
1349
5d8c3ed3
PMR
13502015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
1351
1352 * gdb.ada/fun_renaming.exp: New testcase.
1353 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
1354 * gdb.ada/fun_renaming/pack.adb: New file.
1355 * gdb.ada/fun_renaming/pack.ads: New file.
1356
ea8812bc
KS
13572015-08-12 Keith Seitz <keiths@redhat.com>
1358
1359 * gdb.base/dso2dso.exp: Pass basename of source file in call to
1360 gdb_get_line_number.
1361
4dafcdeb
JB
13622015-08-12 Joel Brobecker <brobecker@adacore.com>
1363
1364 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
1365 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
1366 gdb.base/dso2dso.exp: New files.
1367
5ba32597
SDJ
13682015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
1369 Pedro Alves <palves@redhat.com>
1370 Keith Seitz <keiths@redhat.com>
1371
1372 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
1373 GDBFLAGS.
1374
b6dafabf
PP
13752015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1376
1377 * gdb.base/gdbhistsize-history.exp
1378 (test_histsize_history_setting): Use save_vars.
1379 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
1380 Use save_vars.
1381 (test_no_truncation_of_unlimited_history_file): Use save_vars.
1382 * gdb.base/readline.exp: Use save_vars.
1383
abe8e607
PP
13842015-08-12 Patrick Palka <patrick@parcs.ath.cx>
1385
1386 * lib/gdb.exp (save_vars): New proc.
1387
629500fa
KS
13882015-08-11 Keith Seitz <keiths@redhat.com>
1389
1390 * gdb.base/help.exp: Update help_breakpoint_text.
1391
eb8c4e2e
KS
13922015-08-11 Keith Seitz <keiths@redhat.com>
1393
1394 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
1395 (at toplevel): Call test_explicit_breakpoints.
1396 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
1397 breakpoints.
1398 * lib/mi-support.exp (mi_make_breakpoint): Add support for
1399 breakpoint conditions, "-cond".
1400
87f0e720
KS
14012015-08-11 Keith Seitz <keiths@redhat.com>
1402
1403 * gdb.linespec/3explicit.c: New file.
1404 * gdb.linespec/cpexplicit.cc: New file.
1405 * gdb.linespec/cpexplicit.exp: New file.
1406 * gdb.linespec/explicit.c: New file.
1407 * gdb.linespec/explicit.exp: New file.
1408 * gdb.linespec/explicit2.c: New file.
1409 * gdb.linespec/ls-errs.exp: Add explicit location tests.
1410 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
1411 before using in the matching pattern.
1412 Clarify that `prefix' is a regular expression.
1413
f00aae0f
KS
14142015-08-11 Keith Seitz <keiths@redhat.com>
1415
1416 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
1417 test.
1418 Add tests for missing ",FMT" and ",".
1419
e27852be
DE
14202015-08-10 Doug Evans <dje@google.com>
1421 Keith Seitz <keiths@redhat.com>
1422
1423 PR gdb/17960
1424 * gdb.base/completion.exp: Add location completer tests.
1425
7f03bd92
PA
14262015-08-07 Pedro Alves <palves@redhat.com>
1427
1428 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
1429 tests here.
1430 (top level): Run do_test with and without displaced stepping.
1431
3fc8eb30
PA
14322015-08-07 Pedro Alves <palves@redhat.com>
1433
1434 * gdb.base/valgrind-disp-step.c: New file.
1435 * gdb.base/valgrind-disp-step.exp: New file.
1436
d4569d7b
PA
14372015-08-07 Pedro Alves <palves@redhat.com>
1438
1439 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
1440 Delete function.
1441 (main): Add alarm. Run an infinite loop instead of calling
1442 wait_threads.
1443 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
1444 comment.
1445 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
1446 Delete function.
1447 (main): Add alarm. Run an infinite loop instead of calling
1448 wait_threads.
1449 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
1450 comment.
1451
e1316e60
PA
14522015-08-07 Pedro Alves <palves@redhat.com>
1453
1454 * gdb.base/checkpoint-ns.exp: New file.
1455 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
1456 standard_testfile.
1457
da8c46d2
MM
14582015-08-07 Markus Metzger <markus.t.metzger@intel.com>
1459
1460 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
1461 * gdb.btrace/instruction_history.exp: Update.
1462 * gdb.btrace/tsx.exp: New.
1463 * gdb.btrace/tsx.c: New.
1464
de1c2c52
PA
14652015-08-06 Pedro Alves <palves@redhat.com>
1466
1467 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
1468 increase timeout.
1469 * gdb.reverse/until-precsave.exp: Bump timeouts.
1470
782e0bf4
PA
14712015-08-06 Pedro Alves <palves@redhat.com>
1472
1473 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
1474
83e97ed0
PA
14752015-08-06 Pedro Alves <palves@redhat.com>
1476
1477 PR gdb/18749
1478 * gdb.threads/process-dies-while-handling-bp.c: New file.
1479 * gdb.threads/process-dies-while-handling-bp.exp: New file.
1480
863d01bd
PA
14812015-08-06 Pedro Alves <palves@redhat.com>
1482
1483 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
1484 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
1485
0a39bb32
PA
14862015-08-05 Pedro Alves <palves@redhat.com>
1487
1488 * gdb.threads/next-while-other-thread-longjmps.c: New file.
1489 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
1490
ee2d2b10
SL
14912015-08-03 Sandra Loosemore <sandra@codesourcery.com>
1492
1493 * gdb.base/bp-permanent.exp: Report test as unsupported if
1494 the target cannot stop at the permanent breakpoint.
1495
4e1bdb00
DE
14962015-08-03 Doug Evans <dje@google.com>
1497
1498 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
1499 10000.
1500
3d338901
DE
15012015-08-03 Doug Evans <dje@google.com>
1502
1503 * Makefile.in (workers/%.worker, build-perf): New rule.
1504 (GDB_PERFTEST_MODE): New variable.
1505 (check-perf): Use it.
1506 (clean): Clean up gdb.perf parallel build subdirs.
1507 * lib/build-piece.exp: New file.
1508 * lib/gdb.exp (make_gdb_parallel_path): New function
1509 (standard_output_file, standard_temp_file): Call it.
1510 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1511 of $GDB_PARALLEL.
1512 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
1513
af061d3e
DE
15142015-08-03 Doug Evans <dje@google.com>
1515
8e1afc81 1516 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
1517 (LOG_FILE_NAME): New global.
1518 (TextReporter.__init__): Initialize self.txt_sum.
1519 (TextReporter.report): Add support for multiple data-points.
1520 Move report to perftest.sum, put raw data in perftest.log.
1521 (TextReporter.start): Open sum and log files.
1522 (TextReporter.end): Close sum and log files.
8e1afc81
DE
1523 * gdb.perf/lib/perftest/testresult.py
1524 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 1525
2c8c5d37
PA
15262015-07-31 Pedro Alves <palves@redhat.com>
1527
1528 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
1529 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1530 kill_wait_spawned_process instead of explicit "kill -9".
1531 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
1532 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1533 kill_wait_spawned_process.
1534 * gdb.base/attach-twice.exp: Likewise.
1535 * gdb.base/attach.exp: Likewise.
1536 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
1537 gdb_test_multiple.
1538 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
1539 returning a spawn id instead of a pid. Use spawn_id_get_pid and
1540 kill_wait_spawned_process.
1541 * gdb.base/valgrind-infcall.exp: Likewise.
1542 * gdb.multi/multi-attach.exp: Likewise.
1543 * gdb.python/py-prompt.exp: Likewise.
1544 * gdb.python/py-sync-interp.exp: Likewise.
1545 * gdb.server/ext-attach.exp: Likewise.
1546 * gdb.threads/attach-into-signal.exp (corefunc): Use
1547 spawn_wait_for_attach, spawn_id_get_pid and
1548 kill_wait_spawned_process.
1549 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
1550 spawn_wait_for_attach returning a spawn id instead of a pid. Use
1551 spawn_id_get_pid and kill_wait_spawned_process.
1552 * gdb.threads/attach-stopped.exp (corefunc): Use
1553 spawn_wait_for_attach, spawn_id_get_pid and
1554 kill_wait_spawned_process.
1555 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
1556 Use spawn_id_get_pid. Wait for spawn id after eof. Use
1557 kill_wait_spawned_process instead of explicit "kill -9".
1558 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
1559 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
1560 (spawn_wait_for_attach): Use spawn instead of exec to spawn
1561 processes. Don't map cygwin/windows pids here. Now returns a
1562 spawn id list.
1563
032a0fca
SL
15642015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1565
1566 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
1567 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
1568 correct patch.
1569
61a934ca
SL
15702015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1571
1572 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
1573
4bc4d428
SL
15742015-07-30 Sandra Loosemore <sandra@codesourcery.com>
1575
1576 Reapply:
1577 2014-05-21 Mark Wielaard <mjw@redhat.com>
1578
1579 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1580
998d452a
PA
15812015-07-30 Pedro Alves <palves@redhat.com>
1582
1583 * linux-low.c (handle_extended_wait): Set the child's last
1584 reported status to TARGET_WAITKIND_STOPPED.
1585
69dde7dc
PA
15862015-07-30 Pedro Alves <palves@redhat.com>
1587
1588 PR threads/18600
1589 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
1590 only shows inferior 1.
1591
4dd63d48
PA
15922015-07-30 Simon Marchi <simon.marchi@ericsson.com>
1593 Pedro Alves <palves@redhat.com>
1594
1595 PR threads/18600
1596 * gdb.threads/fork-plus-threads.c: New file.
1597 * gdb.threads/fork-plus-threads.exp: New file.
1598
d618e4c5
PP
15992015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1600
1601 * gdb.base/batch-preserve-term-settings.exp
1602 (test_terminal_settings_preserved_after_cli_exit): Use
1603 send_quit_command.
1604
1eef6428
PA
16052015-07-29 Pedro Alves <palves@redhat.com>
1606 Don Breazeal <donb@codesourcery.com>
1607
1608 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
1609 output from both inferior_spawn_id and gdb_spawn_id.
1610
7da5b897
SDJ
16112015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1612
1613 * gdb.threads/attach-into-signal.exp (corefunc): Use
1614 with_test_prefix on nested loops, uniquefying the test messages.
1615
dac804df
SDJ
16162015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
1617
1618 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
1619 commit.
1620
06265e53
PP
16212015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1622
1623 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
1624 New proc.
1625 (test_terminal_settings_preserved_after_sigterm): New test.
1626
18206ca3
PP
16272015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1628
1629 * gdb.base/batch-preserve-term-settings.exp
1630 (test_terminal_settings_preserved_after_cli_exit): New test.
1631
90074d11
PP
16322015-07-29 Patrick Palka <patrick@parcs.ath.cx>
1633
1634 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
1635 manipulation of saved_gdbflags.
1636 (test_terminal_settings_preserved): Remove global declaration of
1637 the unused variable pagination_prompt. Remove manipulation of
1638 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
1639 GDBFLAGS.
1640
eb1a7902
PA
16412015-07-29 Pedro Alves <palves@redhat.com>
1642
1643 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
1644
8b75dd3b
PA
16452015-07-29 Pedro Alves <palves@redhat.com>
1646
1647 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
1648 at the top.
1649
dedad4e3
PA
16502015-07-29 Pedro Alves <palves@redhat.com>
1651
1652 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
1653 (main): Call gdb_unbuffer_output.
1654 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
1655 (main): Call gdb_unbuffer_output.
1656 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
1657 (main): Call gdb_unbuffer_output.
1658 * gdb.base/call-strs.exp: Adjust to step over the
1659 gdb_unbuffer_output call.
1660 * gdb.base/catch-gdb-caused-signals.c: Include
1661 "../lib/unbuffer_output.c".
1662 (main): Call gdb_unbuffer_output.
1663 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
1664 (main): Call gdb_unbuffer_output.
1665 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
1666 (main): Call gdb_unbuffer_output.
1667 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
1668 (main): Call gdb_unbuffer_output.
1669 * gdb.base/shlib-call.exp: Adjust to step over the
1670 gdb_unbuffer_output call.
1671 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
1672 (main): Call gdb_unbuffer_output.
1673 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
1674 (main): Call gdb_unbuffer_output.
1675 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
1676 (main): Rename to ...
1677 (test): ... this.
1678 (main): Reimplement.
1679 * gdb.base/varargs.exp: Run to test instead of to main.
1680 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1681 (main): Call gdb_unbuffer_output.
1682
58789a91
PA
16832015-07-29 Pedro Alves <palves@redhat.com>
1684
1685 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
1686 factore out from mi_continue_dprintf. For call-style dprintfs,
1687 expect dprintf output out of $inferior_spawn_id.
1688 (mi_continue_dprintf): Use mi_expect_dprintf.
1689 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
1690 (main): Call gdb_unbuffer_output.
1691
e8376742
PA
16922015-07-29 Pedro Alves <palves@redhat.com>
1693
1694 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
1695 (default_mi_gdb_start): Set inferior_spawn_id instead of
1696 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
1697 gdb_spawn_id.
1698 (mi_gdb_test): Always expect inferior output from both
1699 $inferior_spawn_id and $gdb_spawn_id.
1700
08280010
PA
17012015-07-29 Pedro Alves <palves@redhat.com>
1702
1703 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
1704 send_inferior and $inferior_spawn_id.
1705
4d30e432
PA
17062015-07-29 Pedro Alves <palves@redhat.com>
1707
1708 * gdb.gdb/complaints.exp (test_initial_complaints)
1709 (test_serial_complaints, test_short_complaints): Use
1710 gdb_test_stdio.
1711 (test_empty_complaint): Handle $inferior_spawn_id !=
1712 $gdb_spawn_id.
1713
0d30a335
PA
17142015-07-29 Pedro Alves <palves@redhat.com>
1715
1716 * gdb.base/varargs.exp: Use gdb_test_stdio.
1717
39413b29
PA
17182015-07-29 Pedro Alves <palves@redhat.com>
1719
1720 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
1721
7cb000a9
PA
17222015-07-29 Pedro Alves <palves@redhat.com>
1723
1724 * gdb.base/ending-run.exp: Use gdb_test_stdio.
1725
d7b8ac82
PA
17262015-07-29 Pedro Alves <palves@redhat.com>
1727
1728 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
1729 parameter into two new parameters, "inf_result" and "gdb_result".
1730 Expect inferior output and gdb output from $inferior_spawn_id and
1731 $gdb_spawn_id, respectively. Adjust all callers.
1732
789c3a0c
PA
17332015-07-29 Pedro Alves <palves@redhat.com>
1734
1735 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
1736 of gdb_test_sequence.
1737
77e760c3
PA
17382015-07-29 Pedro Alves <palves@redhat.com>
1739
1740 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
1741 (saw_spurious_output): Expect inferior output from
1742 $inferior_spawn_id. Use gdb_test_stdio.
1743
8396d2cd
PA
17442015-07-29 Pedro Alves <palves@redhat.com>
1745
1746 * gdb.base/dprintf.exp: Use standard_testfile. Change
1747 prepare_for_testing call.
1748 (srcfile): Don't set.
1749 (restart): New procedure.
1750 (test_dprintf): New procecure, use to continue over dprintfs.
1751 (test_call, test_agent): New procedures, tests moved here.
1752 Restart gdb and recreate dprintfs. Adjust expected output.
1753
2051d61f
PA
17542015-07-29 Pedro Alves <palves@redhat.com>
1755
1756 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
1757
452397af
PA
17582015-07-29 Pedro Alves <palves@redhat.com>
1759
1760 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
1761
8aed9555
PA
17622015-07-29 Pedro Alves <palves@redhat.com>
1763
1764 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
1765 gdb_test_stdio.
1766
188a61b4
PA
17672015-07-29 Pedro Alves <palves@redhat.com>
1768
1769 * lib/gdb.exp (gdb_test_stdio): New procedure.
1770
12264a45
PA
17712015-07-29 Pedro Alves <palves@redhat.com>
1772
1773 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
1774
23ffc893
PA
17752015-07-29 Pedro Alves <palves@redhat.com>
1776
1777 * gdb.base/call-signal-resume.exp: Remove check for
1778 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
1779 * gdb.base/unwindonsignal.exp: Likewise.
1780 * gdb.base/call-signals.c (gen_signal): Remove printf call.
1781 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
1782
65566918
PA
17832015-07-29 Pedro Alves <palves@redhat.com>
1784
1785 * gdb.base/siginfo-addr.c (pass): New function.
1786 (handler): Call it iff si_addr is correct.
1787 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
1788 Set a breakpoint at "pass" and continue to it.
1789
d60a9221
SDJ
17902015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
1791
1792 * gdb.python/py-objfile.exp: Make some tests have unique names.
1793 * gdb.python/py-pp-registration.exp: Likewise.
1794
bde40b8f
PA
17952015-07-28 Pedro Alves <palves@redhat.com>
1796
1797 * gdb.server/server-exec-info.exp: Issue a "disconnect".
1798
13e1dec8
SM
17992015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1800
1801 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
1802
da33c9a7
SM
18032015-07-27 Simon Marchi <simon.marchi@ericsson.com>
1804
1805 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
1806
077836f7
PP
18072015-07-27 Patrick Palka <patrick@parcs.ath.cx>
1808
1809 * gdb.base/gdb-sigterm-2.exp: New test.
1810
b8cc7b2e
DE
18112015-07-25 Doug Evans <xdje42@gmail.com>
1812
1813 Revert:
1814 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1815 (workers/%.worker, build-perf): New rule.
1816 (GDB_PERFTEST_MODE): New variable.
1817 (check-perf): Use it.
1818 (clean): Clean up gdb.perf parallel build subdirs.
1819 * lib/build-piece.exp: New file.
1820 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1821 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1822 name.
1823 (standard_temp_file): Ditto.
1824 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1825 of $GDB_PARALLEL.
1826
c8bd4544
DE
18272015-07-24 Doug Evans <dje@google.com>
1828
1829 * gdb.perf/lib/perftest/utils.py: New file.
1830 * gdb.perf/gm-hello.cc: New file.
1831 * gdb.perf/gm-pervasive-typedef.cc: New file.
1832 * gdb.perf/gm-pervasive-typedef.h: New file.
1833 * gdb.perf/gm-std.cc: New file.
1834 * gdb.perf/gm-std.h: New file.
1835 * gdb.perf/gm-use-cerr.cc: New file.
1836 * gdb.perf/gm-utils.h: New file.
1837 * gdb.perf/gmonster-null-lookup.py: New file.
1838 * gdb.perf/gmonster-pervasive-typedef.py: New file.
1839 * gdb.perf/gmonster-print-cerr.py: New file.
1840 * gdb.perf/gmonster-ptype-string.py: New file.
1841 * gdb.perf/gmonster-runto-main.py: New file.
1842 * gdb.perf/gmonster-select-file.py: New file.
1843 * gdb.perf/gmonster1-null-lookup.exp: New file.
1844 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
1845 * gdb.perf/gmonster1-print-cerr.exp: New file.
1846 * gdb.perf/gmonster1-ptype-string.exp: New file.
1847 * gdb.perf/gmonster1-runto-main.exp: New file.
1848 * gdb.perf/gmonster1-select-file.exp: New file.
1849 * gdb.perf/gmonster1.cc: New file.
1850 * gdb.perf/gmonster1.exp: New file.
1851 * gdb.perf/gmonster2-null-lookup.exp: New file.
1852 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
1853 * gdb.perf/gmonster2-print-cerr.exp: New file.
1854 * gdb.perf/gmonster2-ptype-string.exp: New file.
1855 * gdb.perf/gmonster2-runto-main.exp: New file.
1856 * gdb.perf/gmonster2-select-file.exp: New file.
1857 * gdb.perf/gmonster2.cc: New file.
1858 * gdb.perf/gmonster2.exp: New file.
1859
6eab34f3
DE
18602015-07-24 Doug Evans <dje@google.com>
1861
1862 * gdb.perf/README: New file.
1863 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
1864 * lib/gen-perf-test.exp: New file.
1865
63738bfd
DE
18662015-07-24 Doug Evans <dje@google.com>
1867
1868 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
1869 (PerfTest::startup): New function.
1870 (PerfTest::run): Return result of calling body.
1871 (PerfTest::assemble): Rewrite.
1872 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
1873 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
1874 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
1875 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
1876 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
1877
7b606f95
DE
18782015-07-24 Doug Evans <dje@google.com>
1879
1880 * lib/gdb.exp (clean_restart): Make executable optional.
1881
a97b16b8
DE
18822015-07-24 Doug Evans <dje@google.com>
1883
1884 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
1885 compiler_info references.
1886 * gdb.cp/temargs.exp: Ditto.
1887 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
1888 (get_compiler_info): Early exit if already computed. Set compiler_info
1889 to "unknown" if there was a problem.
1890 (test_compiler_info): Add function comment. Call get_compiler_info.
1891
35baa57f
DE
18922015-07-24 Doug Evans <dje@google.com>
1893
1894 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
1895 (workers/%.worker, build-perf): New rule.
1896 (GDB_PERFTEST_MODE): New variable.
1897 (check-perf): Use it.
1898 (clean): Clean up gdb.perf parallel build subdirs.
1899 * lib/build-piece.exp: New file.
1900 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
1901 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
1902 name.
1903 (standard_temp_file): Ditto.
1904 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
1905 of $GDB_PARALLEL.
1906
6ebea266
DE
19072015-07-24 Doug Evans <dje@google.com>
1908
1909 * lib/future.exp (gdb_default_target_compile): New option
1910 "early_flags".
1911 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
1912 --as-needed.
1913
1e76a7e9
SDJ
19142015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
1915
1916 * gdb.base/catch-syscall.exp: Call gdb_exit before
1917 gdb_skip_xml_test.
1918
5068630a
PA
19192015-07-24 Pedro Alves <palves@redhat.com>
1920
1921 * gdb.python/py-events.exp: Accept output between the stop event
1922 and the prompt.
1923 * gdb.python/py-evsignal.exp: Likewise.
1924 * gdb.python/py-evthreads.exp: Likewise.
1925
77598427
PA
19262015-07-24 Pedro Alves <palves@redhat.com>
1927
1928 PR gdb/18717
1929 * gdb.threads/non-ldr-exit.c: New file.
1930 * gdb.threads/non-ldr-exit.exp: New file.
1931
11e6c98f
YQ
19322015-07-24 Yao Qi <yao.qi@linaro.org>
1933
1934 * gdb.server/ext-wrapper.exp: Test --wrapper option when
1935 restarting process.
1936
51aee833
YQ
19372015-07-24 Yao Qi <yao.qi@linaro.org>
1938
1939 * gdb.server/ext-restart.exp: New file.
1940
8cfe207c
YQ
19412015-07-24 Yao Qi <yao.qi@linaro.org>
1942
1943 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
1944 argument options.
1945 * gdb.server/ext-wrapper.exp: New file.
1946
cc12ce38
DE
19472015-07-23 Doug Evans <dje@google.com>
1948
1949 * gdb.dwarf2/dw2-dummy-cu.S: New file.
1950 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
1951
d0d84780
PMR
19522015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
1953
1954 * gdb.ada/var_arr_typedef.exp: New testcase.
1955 * gdb.ada/var_arr_typedef/pack.adb: New file.
1956 * gdb.ada/var_arr_typedef/pack.ads: New file.
1957 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
1958
8b558f79
JB
19592015-07-20 Joel Brobecker <brobecker@adacore.com>
1960
1961 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
1962
775a3298
JK
19632015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1964
1965 * gdb.arch/i386-biarch-core.exp: Replace istarget
1966 by "complete set gnutarget". Remove expectation for the "core-file"
1967 command.
1968
db1ff28b
JK
19692015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1970
1971 Revert the previous commit:
1972 Tests for validate symbol file using build-id.
1973
0a94970d
JK
19742015-07-15 Aleksandar Ristovski <aristovski@qnx.com
1975
1976 Tests for validate symbol file using build-id.
1977 * gdb.base/solib-mismatch-lib.c: New file.
1978 * gdb.base/solib-mismatch-libmod.c: New file.
1979 * gdb.base/solib-mismatch.c: New file.
1980 * gdb.base/solib-mismatch.exp: New file.
1981
03346981
SL
19822015-07-15 Sandra Loosemore <sandra@codesourcery.com>
1983
1984 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
1985 nios2-*-linux*.
1986 * gdb.base/sigbpt.exp (stepi_out): Likewise.
1987 * gdb.base/siginfo.exp: Likewise.
1988 * gdb.base/sigstep.exp (advance, advancei): Likewise.
1989
42422cc7
PL
19902015-07-15 Pierre Langlois <pierre.langlois@arm.com>
1991
1992 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
1993 Move it to ...
1994 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
1995 ... here.
1996 * gdb.trace/range-stepping.exp: Check that the target supports
1997 range stepping.
1998
cfa68bae
JK
19992015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2000
2001 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2002
8ffdba26
PA
20032015-07-14 Pedro Alves <palves@redhat.com>
2004
2005 * gdb.base/killed-outside.exp: New file.
2006 * gdb.base/killed-outside.c: New file.
2007
218a5a11
JK
20082015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2009
2010 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2011 (n at main): New.
2012 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2013
e03ed3c6
AA
20142015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2015
2016 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2017 infcall tests instead of setting up for KFAIL.
2018
485668e5
MM
20192015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2020
2021 * gdb.btrace/record_goto-step.exp: New.
2022
08464196
JK
20232015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2024
2025 PR compile/18484
2026 * gdb.compile/compile.c (struct struct_type): Add volatile to
2027 selffield's type.
2028 * gdb.compile/compile.exp
2029 (compile code struct_object.selffield = &struct_object): Skip further
2030 struct_object tests if this one xfails.
2031
bcf5c1d9
RC
20322015-07-08 Robert O'Callahan <robert@ocallahan.org>
2033
2034 PR exp/18617
2035 * gdb.trace/ax.exp: Add test.
2036
4931af25
YQ
20372015-07-07 Yao Qi <yao.qi@linaro.org>
2038
2039 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2040 instead of istarget "aarch64*-*-*".
2041 * gdb.arch/aarch64-fp.exp: Likewise.
2042 * gdb.base/float.exp: Likewise.
2043 * gdb.reverse/aarch64.exp: Likewise.
2044 * lib/gdb.exp (is_aarch64_target): New proc.
2045
9fcf688e
YQ
20462015-07-07 Yao Qi <yao.qi@linaro.org>
2047
2048 * lib/gdb.exp (is_aarch32_target): New proc.
2049 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2050 instead of "istarget "arm*-*-*"".
2051 * gdb.arch/arm-disp-step.exp: Likewise.
2052 * gdb.arch/thumb-bx-pc.exp: Likewise.
2053 * gdb.arch/thumb-prologue.exp: Likewise.
2054 * gdb.arch/thumb-singlestep.exp: Likewise.
2055 * gdb.base/disp-step-syscall.exp: Likewise.
2056 * gdb.base/float.exp: Likewise.
2057
fbd8d50d
YQ
20582015-07-07 Yao Qi <yao.qi@linaro.org>
2059
2060 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2061 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2062
71be1fdc
YQ
20632015-07-07 Yao Qi <yao.qi@linaro.org>
2064
2065 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2066 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2067 if it exists.
2068 * gdb.multi/multi-arch.exp: Likewise.
2069
3e221d36
SM
20702015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2071
2072 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2073 print.
2074
d441430b
YQ
20752015-07-07 Yao Qi <yao.qi@linaro.org>
2076
2077 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2078
06f810bd
MG
20792015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2080
2081 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2082 '[' and ']' characters.
2083
5e61e7c0
IB
20842015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2085
2086 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2087
28bf096c
PA
20882015-06-29 Pedro Alves <palves@redhat.com>
2089
2090 PR threads/18127
2091 * gdb.threads/hand-call-new-thread.c: New file.
2092 * gdb.threads/hand-call-new-thread.c: New file.
2093
ee93cd5e
KS
20942015-06-26 Keith Seitz <keiths@redhat.com>
2095 Doug Evans <dje@google.com>
2096
2097 PR 16253
2098 * gdb.cp/var-tag-2.cc: New file.
2099 * gdb.cp/var-tag-3.cc: New file.
2100 * gdb.cp/var-tag-4.cc: New file.
2101 * gdb.cp/var-tag.cc: New file.
2102 * gdb.cp/var-tag.exp: New file.
2103
fc637f04
PP
21042015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2105
2106 * gdb.base/history-duplicates.exp: New test.
2107
2e52ae68
PP
21082015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2109
2110 * gdb.base/completion.exp: Test the completion of the "focus"
2111 command.
2112
6e22494e
JK
21132015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2114
2115 * gdb.arch/amd64-prologue-skip.S: New file.
2116 * gdb.arch/amd64-prologue-skip.exp: New file.
2117
bf7b9cd9
SM
21182015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2119
2120 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2121 is_address_zero_readable check.
2122
201e8dfd
PB
21232015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2124
2125 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2126 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2127
5cd867b4
YQ
21282015-06-24 Yao Qi <yao.qi@linaro.org>
2129
2130 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2131 linux targets.
2132
4d7be007
YQ
21332015-06-24 Yao Qi <yao.qi@linaro.org>
2134
2135 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2136 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2137 * gdb.base/siginfo-thread.exp: Likewise.
2138
07fcd301
YQ
21392015-06-22 Yao Qi <yao.qi@linaro.org>
2140
2141 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2142
52042a00
YQ
21432015-06-22 Yao Qi <yao.qi@linaro.org>
2144
2145 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2146 aarch64*-*-*.
2147 (skip_hw_watchpoint_tests): Likewise.
2148
74bd41ce
PP
21492015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2150
2151 * gdb.base/gdbinit-history.exp: Test the interaction between
2152 setting GDBHISTSIZE and setting the history size via .gdbinit.
2153
bc460514
PP
21542015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2155
2156 PR gdb/16999
2157 * gdb.base/gdbhistsize-history.exp: New test.
2158
b58c513b
PP
21592015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2160
2161 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2162 with GDBHISTSIZE.
2163 * gdb.base/readline.exp: Likewise.
2164
92046791
YQ
21652015-06-17 Yao Qi <yao.qi@linaro.org>
2166
2167 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2168 line.
2169
2093d2d3
PP
21702015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2171
2172 * gdb.base/gdbinit-history.exp: Add test case to check that
2173 an unlimited history file does not get truncated on exit.
2174
e6c693af
AA
21752015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2176
2177 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2178 (VECTOR): New macro. Use it...
2179 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2180 ...for these typedefs.
2181 (int8, char1, int1, double1): New typedefs.
2182 (struct just_int2, struct two_int2): New structures.
2183 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2184 (add_structvecs, add_singlevecs): New functions.
2185 (main): Call add_some_intvecs twice.
2186 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2187 the compile and exit upon failure. Try compiling for the "native"
2188 architecture. Test inferior function calls with vector arguments
2189 and vector return value handling with "finish" and "return".
2190
c74f7d1c
JT
21912015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2192
2193 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2194 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2195 PE file.
2196 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2197
98aa42ee
AT
21982015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2199
2200 PR breakpoints/16465
2201 * gdb.mi/mi-dprintf-pending.c: New file.
2202 * gdb.mi/mi-dprintf-pending.exp: New test.
2203 * gdb.mi/mi-dprintf-pendshr.c: New file.
2204
7d73c23c 22052015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 2206 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
2207
2208 * gdb.arch/i386-mpx-map.c: New file.
2209 * gdb.arch/i386-mpx-map.exp: New File.
2210
22112015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2212
2213 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2214 * gdb.arch/i386-mpx.exp: Indentation fixed.
2215
22162015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2217
2218 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2219 function and improved indentation.
2220 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2221 gdb_test_multiple. Added additional tests to skip the test.
2222
22232015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2224
2225 * gdb.arch/i386-avx512.c: Change path in include file.
2226 * gdb.arch/i386-avx512.exp: Change include dir path
2227 compilation flag.
2228 * gdb.arch/i386-mpx.c: Change path in include file.
2229 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2230 flag.
2231
d5eba19a
JK
22322015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2233
2234 * gdb.compile/compile-print.exp (compile print *vararray@3)
2235 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2236
7f361056
JK
22372015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2238
2239 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2240 (do not keep jit in memory): ... this.
2241 (expect 5): Change it to ...
2242 (expect no 5): ... this.
2243
3b462ec2
SM
22442015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2245
2246 PR gdb/15564
2247 * gdb.mi/mi-detach.exp: New file.
2248
e0619de6
JK
22492015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2250
2251 PR symtab/18392
2252 * gdb.arch/amd64-tailcall-self.S: New file.
2253 * gdb.arch/amd64-tailcall-self.c: New file.
2254 * gdb.arch/amd64-tailcall-self.exp: New file.
2255
e970cb34
DB
22562015-05-28 Don Breazeal <donb@codesourcery.com>
2257
2258 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2259 tests for remote targets by checking is_target_gdbserver.
2260
b2e2f908
DE
22612015-05-27 Doug Evans <dje@google.com>
2262
2263 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2264 * gdb.dwarf2/opaque-type-lookup.c: New file.
2265 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2266
82c7be31
DE
22672015-05-26 Doug Evans <dje@google.com>
2268
2269 * gdb.cp/iostream.cc: New file.
2270 * gdb.cp/iostream.exp: New file.
2271
b4f54984
DE
22722015-05-26 Doug Evans <dje@google.com>
2273
2274 * gdb.dwarf2/dw2-op-call.exp: Update.
2275 * gdb.dwarf2/dw4-sig-types.exp: Update.
2276 * gdb.dwarf2/implptr.exp: Update.
2277 * gdb.mi/mi-cmd-param-changed.exp: Update.
2278
4ea6efe9
DE
22792015-05-26 Doug Evans <dje@google.com>
2280
2281 * gdb.python/py-lazy-string.c: New file.
2282 * gdb.python/py-lazy-string.exp: New file.
2283 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2284 (main): Update. Add estring3.
2285 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2286 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2287
f6bb7db3
YQ
22882015-05-26 Omair Javaid <omair.javaid@linaro.org>
2289 Yao Qi <yao.qi@linaro.org>
2290
2291 * gdb.reverse/aarch64.c: New.
2292 * gdb.reverse/aarch64.exp: New.
2293
a81bfbd0
OJ
22942015-05-26 Omair Javaid <omair.javaid@linaro.org>
2295
2296 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2297 (supports_reverse): Likewise.
2298
158bf1b4
PP
22992015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2300
2301 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2302 Use with_test_prefix.
2303
a0145030
AB
23042015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2305
2306 * gdb.base/completion.exp: Add test for completion of layout
2307 names.
2308
ebe3b578
AB
23092015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2310
2311 * lib/gdb.exp (skip_tui_tests): New proc.
2312 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2313
84204ed7
PA
23142015-05-19 Pedro Alves <palves@redhat.com>
2315
2316 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2317 Save the whole env array instead of just HOME. Unset HISTSIZE in
2318 the environment while testing. Restore whole environment
2319 afterwards.
2320
37442ce1
DE
23212015-05-16 Doug Evans <xdje42@gmail.com>
2322
2323 * gdb.guile/scm-ports.c: New file.
2324 * gdb.guile/scm-ports.exp: Add memory port tests.
2325
36de76f9
JK
23262015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2327
2328 * gdb.compile/compile-print.c: New file.
2329 * gdb.compile/compile-print.exp: New file.
2330
3a9558c4
JK
23312015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2332
2333 * gdb.compile/compile-ops.exp: Cast param to void.
2334 * gdb.compile/compile.exp: Complete type for _gdb_expr.
2335 (compile code struct_object.selffield = &struct_object): Add xfail.
2336
aa715135
JG
23372015-05-15 Joel Brobecker <brobecker@adacore.com>
2338
2339 * gdb.ada/arr_enum_with_gap: New testcase.
2340
931e5bc3
JG
23412015-05-15 Joel Brobecker <brobecker@adacore.com>
2342
2343 * gdb.ada/byte_packed_arr: New testcase.
2344
9cd4d857
JB
23452015-05-15 Joel Brobecker <brobecker@adacore.com>
2346
2347 * gdb.ada/pckd_neg: New testcase.
2348
ebfd00d2
PP
23492015-05-13 Patrick Palka <patrick@parcs.ath.cx>
2350
2351 PR gdb/17820
2352 * gdb.base/gdbinit-history.exp: New test.
2353 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
2354 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
2355
4c082a81
SC
23562015-05-09 Siva Chandra Reddy <sivachandra@google.com>
2357
2358 * gdb.python/py-xmethods.cc: Enhance test case.
2359 * gdb.python/py-xmethods.exp: New tests.
2360 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
2361 function.
2362 (B_indexoper): Likewise.
2363 (global_dm_list) : Add new xmethod worker functions.
2364
f7797074
SDJ
23652015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
2366
2367 * gdb.base/coredump-filter.exp: Correctly unset
2368 "coredump_var_addr" array.
2369
a4674e4e
PA
23702015-05-08 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.server/non-existing-program.exp: Unset spawn_id.
2373
df2eb078
SC
23742015-05-08 Siva Chandra Reddy <sivachandra@google.com>
2375
2376 PR python/18291
2377 * gdb.python/py-xmethods.exp: Add tests.
2378
422349a3
YQ
23792015-05-08 Yao Qi <yao.qi@linaro.org>
2380
2381 PR gdb/18208
2382 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
2383 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
2384 function set_coredump_filter, and remove remote_exec call.
2385 Remove argument ipid. Callers update.
2386 (top level): Don't get inferior's PID.
2387
63fc80ce
AA
23882015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
2389
2390 * gdb.base/watch_thread_num.exp: Skip test on targets without
2391 access watchpoints.
2392
80ad801e
PA
23932015-05-06 Pedro Alves <palves@redhat.com>
2394
2395 PR server/18081
2396 * gdb.server/non-existing-program.exp: New file.
2397
0fa7fe50
JB
23982015-05-05 Joel Brobecker <brobecker@adacore.com>
2399
2400 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
2401
3ea89b92
PMR
24022015-05-05 Joel Brobecker <brobecker@adacore.com>
2403
2404 * gdb.ada/out_of_line_in_inlined: New testcase.
2405
87b8eff0
JB
24062015-05-05 Joel Brobecker <brobecker@adacore.com>
2407
2408 * gdb.ada/var_rec_arr: New testcase.
2409
5fccc635
YQ
24102015-04-30 Yao Qi <yao.qi@linaro.org>
2411
2412 * gdb.base/break-idempotent.exp: If
2413 skip_hw_watchpoint_multi_tests returns true, skip the tests
2414 on "rwatch" and "awatch".
2415
42d38f42
YQ
24162015-04-30 Yao Qi <yao.qi@linaro.org>
2417
2418 * gdb.base/relativedebug.exp: Invoke gdb command
2419 "info sharedlibrary", and if libc.so doesn't have debug info,
2420 skip the test.
2421
2ce1cdbf
DE
24222015-04-29 Doug Evans <dje@google.com>
2423
2424 * gdb.python/py-xmethods.exp: Add ptype tests.
2425 * gdb.python/py-xmethods.py (E_method_char_worker): Add
2426 get_result_type method.
2427
f24a38c5
LM
24282015-04-29 Luis Machado <lgustavo@codesourcery.com>
2429
2430 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
2431 the target does not support hardware watchpoints.
2432
ecbf2b3c
LM
24332015-04-29 Luis Machado <lgustavo@codesourcery.com>
2434
2435 * gdb.base/break-always.exp: Abort testing if writing to memory
2436 causes an error.
2437
34f5f757
DE
24382015-04-28 Doug Evans <dje@google.com>
2439
2440 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
2441 * gdb.python/py-pp-registration.exp: ... here. New file.
2442 * gdb.python/py-pp-registration.c: New file.
2443 * gdb.python/py-pp-registration.py: New file.
2444
69b4374a
DE
24452015-04-28 Doug Evans <dje@google.com>
2446
2447 * gdb.python/py-bad-printers.c: New file.
2448 * gdb.python/py-bad-printers.py: New file.
2449 * gdb.python/py-bad-printers.exp: New file.
2450
59fb7612
SS
24512015-04-28 Sasha Smundak <asmundak@google.com>
2452
2453 * gdb.python/py-type.exp: New test.
2454
2631b16a
AW
24552015-04-28 Andy Wingo <wingo@igalia.com>
2456
2457 * gdb.python/py-parameter.exp:
2458 * gdb.guile/scm-parameter.exp: Escape the path that we are
2459 matching against, as it might contain characters that are special
2460 to regular expressions.
2461
460efde1
JB
24622015-04-27 Joel Brobecker <brobecker@adacore.com>
2463
2464 * gdb.ada/rec_comp: New testcase.
2465
2d369d8e
SDJ
24662015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
2467
2468 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
2469 before using it.
2470
cf75d6c3
AB
24712015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
2472
2473 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
2474 new tests for verilog output.
2475
8dbe7ca5
YQ
24762015-04-24 Yao Qi <yao.qi@linaro.org>
2477
2478 * boards/remote-gdbserver-on-localhost.exp: New file.
2479
4ef9fb2f
PA
24802015-04-23 Pedro Alves <palves@redhat.com>
2481
2482 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
2483 $inferior_spawn_id instead of $inferior_spawn_id directly. On
2484 "end of file", remove $inferior_spawn_id from the indirect list.
2485
0a803169
PA
24862015-04-23 Pedro Alves <palves@redhat.com>
2487
2488 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
2489
749ef8f8
PA
24902015-04-23 Pedro Alves <palves@redhat.com>
2491
2492 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
2493 on $any_spawn_id instead of only on $gdb_spawn_id.
2494
8aae4344
PM
24952015-04-21 Pierre Muller <muller@sourceware.org>
2496
2497 PR pascal/17815
2498 * lib/pascal.exp (gpc_compile): Add new option "class".
2499 (fpc_compile): Likewise.
2500 * gdb.pascal/case-insensitive-symbols.pas: New file.
2501 * gdb.pascal/case-insensitive-symbols.exp: New file.
2502
1586c8fb
GB
25032015-04-20 Gary Benson <gbenson@redhat.com>
2504
2505 * gdb.base/attach.exp: Fix three extended remote failures.
2506
1b6e6f5c
GB
25072015-04-17 Gary Benson <gbenson@redhat.com>
2508
2509 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
2510 the main executable over the remote protocol.
2511
e797481d
PA
25122015-04-16 Pedro Alves <palves@redhat.com>
2513
2514 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
2515 a new gdbserver if gdbserver_reconnect_p is set.
2516
1ca99c42
PA
25172015-04-16 Pedro Alves <palves@redhat.com>
2518
2519 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
2520 is set, don't exit gdbserver.
2521
af9fd6f8
AA
25222015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2523
2524 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
2525 appropriate .insn, such that an older assembler can be used.
2526 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
2527 the z/Architecture instruction set on 31-bit targets as well.
2528
04ff1e61
AA
25292015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2530
2531 * gdb.go/handcall.exp: Remove all logic related to the first
2532 breakpoint and rely on go_runto_main instead.
2533 * gdb.go/strings.exp: Likewise.
2534 * gdb.go/unsafe.exp: Likewise.
2535 * gdb.go/hello.exp: Likewise. Also rename the remaining
2536 breakpoint marker to "breakpoint 1".
2537 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
2538 * gdb.go/strings.go: Likewise.
2539 * gdb.go/unsafe.go: Likewise.
2540 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
2541 "set breakpoint 2 here" and rename the remaining breakpoint marker
2542 to "breakpoint 1".
2543
40d2f8d6
SM
25442015-04-15 Simon Marchi <simon.marchi@ericsson.com>
2545
2546 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
2547 if itertools.imap is not present.
2548 * gdb.python/py-objfile.exp: Add parentheses.
2549 * gdb.python/py-type.exp: Same.
2550 * gdb.python/py-unwind-maint.py: Same.
2551
8cbc97c6
YQ
25522015-04-15 Yao Qi <yao.qi@linaro.org>
2553
2554 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
2555 of ":$ptr_size" and set its form explicitly.
2556
45fd756c
YQ
25572015-04-15 Pedro Alves <palves@redhat.com>
2558 Yao Qi <yao.qi@linaro.org>
2559
2560 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
2561 timeout by factor of 4.
2562 (test_regular_watch): Likewise.
2563 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
2564 * gdb.reverse/sigall-reverse.exp: Likewise.
2565 * gdb.reverse/until-precsave.exp: Likewise.
2566 * lib/gdb.exp (with_timeout_factor): New proc.
2567 (gdb_expect): Move some code to ...
2568 (get_largest_timeout): ... here. New procedure.
2569
9e811bc3
LM
25702015-04-14 Luis Machado <lgustavo@codesourcery.com>
2571
2572 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
2573
0ff6fcb2
LM
25742015-04-13 Luis Machado <lgustavo@codesourcery.com>
2575
2576 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
2577 to write to the .text section.
2578
7578d5f7
LM
25792015-04-13 Luis Machado <lgustavo@codesourcery.com>
2580
2581 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
2582 Handle the case of targets that do not provide PID information.
2583
2efe15c4
YQ
25842015-04-13 Yao Qi <yao.qi@linaro.org>
2585
2586 * lib/gdbserver-support.exp (gdb_exit): Catch exception
2587 and use expect instead of gdb_expect.
2588
8cd8f2f8
SDJ
25892015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
2590
2591 * gdb.base/coredump-filter.exp: Rename variable "addr" to
2592 "coredump_var_addr" to avoid naming conflict with other testcases.
2593
9ee41772
PA
25942015-04-10 Pedro Alves <palves@redhat.com>
2595
2596 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
2597 gdb_test_sequence and gdb_assert.
2598
07473109
PA
25992015-04-10 Pedro Alves <palves@redhat.com>
2600
2601 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
2602 test messages that don't include the breakpoint address.
2603
de3db44c
YQ
26042015-04-10 Yao Qi <yao.qi@linaro.org>
2605
2606 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
2607 false for some offset and width combinations which aren't
2608 supported by linux kernel.
2609
c79d856c
PA
26102015-04-10 Pedro Alves <palves@redhat.com>
2611
2612 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
2613 procedure, factored out from ...
2614 (top level): ... here. Add "set displaced-stepping" testing axis.
2615 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
2616 parameter "displaced". Use it.
2617 (top level): Use foreach and add "set displaced-stepping" testing
2618 axis.
2619
ebc90b50
PA
26202015-04-10 Pedro Alves <palves@redhat.com>
2621
2622 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
2623 Remove comment.
2624 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
2625 both the address of the instruction that triggers the watchpoint
2626 and the address of the instruction immediately after, and use
2627 those addresses for the test. Fix comment.
2628
8f572e5c
PA
26292015-04-10 Pedro Alves <palves@redhat.com>
2630
2631 * gdb.base/sigstep.exp (breakpoint_to_handler)
2632 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
2633 Test "backtrace" in handler.
2634 (breakpoint_over_handler): New parameter 'displaced'. Use it.
2635 (top level): Add new "displaced" test axis to
2636 breakpoint_to_handler, breakpoint_to_handler_entry and
2637 breakpoint_over_handler.
2638
8d707a12
PA
26392015-04-10 Pedro Alves <palves@redhat.com>
2640
2641 PR gdb/18216
2642 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
2643
ef713951
YQ
26442015-04-10 Yao Qi <yao.qi@linaro.org>
2645
2646 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
2647 (test_add_rn_pc): New function.
2648 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
2649 (top level): Invoke test_add_rn_pc.
2650
906d60cf
PA
26512015-04-10 Pedro Alves <palves@redhat.com>
2652
2653 PR gdb/13858
2654 * gdb.base/step-over-no-symbols.exp: New file.
2655
f2983cc3
AW
26562015-04-09 Andy Wingo <wingo@igalia.com>
2657
2658 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
2659 after the Python tests.
2660
6d62641c
SDJ
26612015-04-08 Keith Seitz <keiths@redhat.com>
2662
2663 PR python/16699
2664 * gdb.python/py-completion.exp: New tests for completion.
2665 * gdb.python/py-completion.py (CompleteLimit1): New class.
2666 (CompleteLimit2): Likewise.
2667 (CompleteLimit3): Likewise.
2668 (CompleteLimit4): Likewise.
2669 (CompleteLimit5): Likewise.
2670 (CompleteLimit6): Likewise.
2671 (CompleteLimit7): Likewise.
2672
f3770638
PA
26732015-04-08 Pedro Alves <palves@redhat.com>
2674
2675 PR gdb/18214
2676 PR gdb/18216
2677 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
2678 function.
2679 (main): Install it as SIGUSR1 handler.
2680 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
2681 parameter. Always use "setup" as prefix. Toggle "set
2682 displaced-stepping" off/on depending on global. Don't switch to
2683 thread 1 here.
2684 (top level): Add displaced stepping "off/on" test axis. Update
2685 "setup" calls. Wrap each subtest with with_test_prefix. Test
2686 continuing with a queued signal in each thread.
2687
4496bed7
PA
26882015-04-08 Pedro Alves <palves@redhat.com>
2689
2690 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
2691 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
2692 gdb_breakpoint instead of gdb_test that doesn't expect anything.
2693 Return early if running to main fails.
2694 * gdb.trace/while-stepping.exp: Likewise.
2695
b97fde92
PA
26962015-04-07 Pedro Alves <palves@redhat.com>
2697
2698 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
2699 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
2700 interact with inferior program.
2701
f71c18e7
PA
27022015-04-07 Pedro Alves <palves@redhat.com>
2703
2704 * lib/gdb.exp (inferior_spawn_id): New global.
2705 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
2706 spawn id after processing the user code.
2707 (default_gdb_start): Set inferior_spawn_id.
2708 (send_inferior): New procedure.
2709 * lib/gdbserver-support.exp (gdbserver_start): Set
2710 inferior_spawn_id.
2711 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
2712
6423214f
PA
27132015-04-07 Pedro Alves <palves@redhat.com>
2714
2715 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
2716 * lib/gdbserver-support.exp (gdbserver_start): Make
2717 $server_spawn_id global.
2718 (gdbserver_start): Don't wait for gdbserver's spawn id with
2719 expect_background.
2720 (close_gdbserver): New procedure.
2721 (gdb_exit): Rename the default version and reimplement.
2722
71c0ee8c
PA
27232015-04-07 Pedro Alves <palves@redhat.com>
2724
72f4393d 2725 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
2726 append the substituted item, not the original item.
2727
203bc29b
PA
27282015-04-07 Pedro Alves <palves@redhat.com>
2729
2730 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
2731 gdb_expect.
2732
508a3ddf
PA
27332015-04-07 Pedro Alves <palves@redhat.com>
2734
2735 * gdb.base/interrupt.exp: Don't handle the case of the inferior
2736 output appearing once only.
2737
9f6dbe2b
PA
27382015-04-07 Pedro Alves <palves@redhat.com>
2739
2740 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
2741 that doesn't expect anything. Return early if running to main
2742 fails.
2743
337532fa
YQ
27442015-04-07 Yao Qi <yao.qi@linaro.org>
2745
2746 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
2747 (child_function): Call alarm.
2748 (main): Move call to alarm into the loop.
2749 * gdb.threads/non-stop-fair-events.exp: Build program with
2750 -DTIMEOUT=$timeout.
2751
01b622d4
DE
27522015-04-06 Doug Evans <xdje42@gmail.com>
2753
2754 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
2755 Fix dest parameter to board_info.
2756 (fpc_compile): Ditto.
2757 (gdb_compile_pascal): Rename dest arg to destfile.
2758
961f4160
PMR
27592015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
2760
2761 * gdb.ada/funcall_ref.exp: New file.
2762 * gdb.ada/funcall_ref/foo.adb: New file.
2763
cafda597
YQ
27642015-04-02 Yao Qi <yao.qi@linaro.org>
2765
2766 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
2767 is remote.
2768
fed040c6
GB
27692015-04-02 Gary Benson <gbenson@redhat.com>
2770
2771 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
2772
d11916aa
SS
27732015-04-01 Sasha Smundak <asmundak@google.com>
2774
2775 * gdb.python/py-unwind-maint.c: New file.
2776 * gdb.python/py-unwind-maint.exp: New test.
2777 * gdb.python/py-unwind-maint.py: New file.
2778 * gdb.python/py-unwind.c: New file.
2779 * gdb.python/py-unwind.exp: New test.
2780 * gdb.python/py-unwind.py: New test.
2781
a1471180
PA
27822015-04-01 Pedro Alves <palves@redhat.com>
2783
2784 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
2785 to fail instead of non-existent $test.
2786
0bbeccb1
PA
27872015-04-01 Pedro Alves <palves@redhat.com>
2788
2789 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
2790 GDBFLAGS if not empty.
2791
3c724c8c
PMR
27922015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
2793
2794 * gdb.ada/complete.exp: Remove "multi_line".
2795 * gdb.ada/info_exc.exp: Remove "multi_line".
2796 * gdb.ada/packed_tagged.exp: Remove "multi_line".
2797 * gdb.ada/ptype_field.exp: Remove "multi_line".
2798 * gdb.ada/sym_print_name.exp: Remove "multi_line".
2799 * gdb.ada/tagged.exp: Remove "multi_line".
2800 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
2801 [multi_line ...]
2802 * gdb.btrace/delta.exp: Likewise.
2803 * gdb.btrace/exception.exp: Likewise.
2804 * gdb.btrace/function_call_history.exp: Likewise.
2805 * gdb.btrace/instruction_history.exp: Likewise.
2806 * gdb.btrace/nohist.exp: Likewise.
2807 * gdb.btrace/record_goto.exp: Likewise.
2808 * gdb.btrace/segv.exp: Likewise.
2809 * gdb.btrace/stepi.exp: Likewise.
2810 * gdb.btrace/tailcall.exp: Likewise.
2811 * gdb.btrace/unknown_functions.exp: Likewise.
2812 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
2813 * lib/gdb.exp: Add the "multi_line" helper.
2814
4eec2deb
PA
28152015-04-01 Pedro Alves <palves@redhat.com>
2816
2817 * gdb.threads/tid-reuse.c: New file.
2818 * gdb.threads/tid-reuse.exp: New file.
2819
df8411da
SDJ
28202015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
2821
2822 PR corefiles/16092
2823 * gdb.base/coredump-filter.c: New file.
2824 * gdb.base/coredump-filter.exp: Likewise.
2825
6ef37366
PM
28262015-03-27 Petr Machata <pmachata@redhat.com>
2827
2828 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
2829 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
2830 (Dwarf::assemble): Initialize them.
2831 (Dwarf::lines): New function.
2832
7ec911b0
JT
28332015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
2834
2835 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
2836 SYMBOL_PREFIX for x86_64-*-cygwin.
2837
ff908ebf
AW
28382015-03-26 Andy Wingo <wingo@igalia.com>
2839
2840 PR symtab/18148
2841 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
2842 const_value but not a location.
2843 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
2844 location defined in non-main CUs are visible.
2845
6d5f0679
YQ
28462015-03-26 Yao Qi <yao.qi@linaro.org>
2847
2848 PR testsuite/18139
2849 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
2850 Add a line number entry for the same line.
2851 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
2852 Add a line number entry for the same line.
2853
2898689b
YQ
28542015-03-26 Yao Qi <yao.qi@linaro.org>
2855
2856 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
2857 .int 0.
2858 (func): Likewise. Add .Lfunc_1 label.
2859 Use .Lfunc_1 label.
2860 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
2861 .int 0.
2862 (func): Likewise.
2863 Use .Lfunc_1 label.
2864
85180498
YQ
28652015-03-26 Yao Qi <yao.qi@linaro.org>
2866
2867 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
2868 Call gdb_compile instead to compile each .s files without debug
2869 information.
2870
8aa08a8d
YQ
28712015-03-26 Yao Qi <yao.qi@linaro.org>
2872
2873 * gdb.base/savedregs.exp (process_saved_regs): Make
2874 "Saved registers:" optional in the pattern.
2875
66849923
MM
28762015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2877
2878 * gdb.btrace/next.exp: Merged into step.exp.
2879 * gdb.btrace/finish.exp: Merged into step.exp.
2880 * gdb.btrace/nexti.exp: Merged into stepi.exp.
2881 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
2882 "record goto" and checking the exact replay position.
2883 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
2884 check for "Recording format" in "info record" output.
2885 * gdb.btrace/record_goto.exp: Choose test file based on target.
2886 * gdb.btrace/x86-record_goto.S: Renamed into ...
2887 * gdb.btrace/x86_64-record_goto.S: ... this.
2888 * gdb.btrace/i686-record_goto.S: New.
2889 * gdb.btrace/x86-tailcall.S: Renamed into ...
2890 * gdb.btrace/x86_64-tailcall.S: ... this.
2891 * gdb.btrace/i686-tailcall.S: New.
2892 * gdb.btrace/x86-tailcall.c: Renamed into ...
2893 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
2894 separate statements. Update test.
2895 * gdb.btrace/delta.exp: Use record_goto.c as test file.
2896 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
2897 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
2898 * gdb.btrace/tailcall.exp: Choose test file based on target.
2899 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
2900
11cc1b74
MM
29012015-03-25 Markus Metzger <markus.t.metzger@intel.com>
2902
2903 * gdb.btrace/exception.exp: Increase BTS buffer size.
2904
a25d8bf9
PA
29052015-03-24 Pedro Alves <palves@redhat.com>
2906
2907 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
2908
856e7dd6
PA
29092015-03-24 Pedro Alves <palves@redhat.com>
2910
2911 * gdb.threads/schedlock.exp (test_step): No longer expect that
2912 "set scheduler-locking step" with "next" over a function call runs
2913 threads unlocked.
2914
ad235a41
AT
29152015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2916
2917 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
2918
15630549
AT
29192015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
2920
2921 PR breakpoints/16466
2922 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
2923 * gdb.mi/mi-pending.c (thread_func): New function.
2924 (int main): Add threading support required.
2925 * gdb.mi/mi-pending.exp: Add tests for this issue.
2926 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
2927 (pendfunc2): Remove stdio dependency.
2928 * gdb.mi/mi-pendshr2.c: New file.
2929
693dca06
KS
29302015-03-23 Keith Seitz <keiths@redhat.com>
2931
2932 * gdb.linespec/keywords.c: New file.
2933 * gdb.linespec/keywords.exp: New file.
2934
7e993ebf
KS
29352015-03-23 Keith Seitz <keiths@redhat.com>
2936
2937 PR gdb/18021
2938 * gdb.dwarf2/staticvirtual.exp: New test.
2939
bc23328c
JK
29402015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2941
2942 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
2943 * README: Remove HP-UX and gdb.hp.
2944 (configuration):
2945 * configure: Regenerate.
2946 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
2947 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
2948 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
2949 gdb.hp/gdb.defects/Makefile.
2950 * gdb.hp/Makefile.in: File deleted.
2951 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
2952 * gdb.hp/gdb.aCC/optimize.c: File deleted.
2953 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
2954 * gdb.hp/gdb.aCC/run.c: File deleted.
2955 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
2956 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
2957 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
2958 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
2959 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
2960 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
2961 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
2962 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
2963 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
2964 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
2965 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
2966 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
2967 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
2968 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
2969 * gdb.hp/gdb.base-hp/reg.s: File deleted.
2970 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
2971 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
2972 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
2973 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
2974 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
2975 * gdb.hp/gdb.compat/Makefile.in: File deleted.
2976 * gdb.hp/gdb.compat/average.c: File deleted.
2977 * gdb.hp/gdb.compat/sum.c: File deleted.
2978 * gdb.hp/gdb.compat/xdb.c: File deleted.
2979 * gdb.hp/gdb.compat/xdb0.c: File deleted.
2980 * gdb.hp/gdb.compat/xdb0.h: File deleted.
2981 * gdb.hp/gdb.compat/xdb1.c: File deleted.
2982 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
2983 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
2984 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
2985 * gdb.hp/gdb.defects/Makefile.in: File deleted.
2986 * gdb.hp/gdb.defects/bs14602.c: File deleted.
2987 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
2988 * gdb.hp/gdb.defects/solib-d.c: File deleted.
2989 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
2990 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
2991 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
2992 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
2993 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
2994 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
2995 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
2996 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
2997 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
2998 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
2999 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3000 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3001 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3002 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3003 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3004 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3005 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3006 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3007 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3008 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3009 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3010 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3011 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3012 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3013 * gdb.hp/tools/odump: File deleted.
3014
8bf3b159
PA
30152015-03-19 Pedro Alves <palves@redhat.com>
3016
3017 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3018 (saw_thread_3): New globals.
3019 (top level): Increment them when an event for the corresponding
3020 thread is seen.
3021 (no thread starvation): New test.
3022
eb54c8bf
PA
30232015-03-19 Pedro Alves <palves@redhat.com>
3024
3025 * gdb.threads/continue-pending-status.c: New file.
3026 * gdb.threads/continue-pending-status.exp: New file.
3027
32d2e5d6
PA
30282015-03-18 Pedro Alves <palves@redhat.com>
3029
3030 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3031 Use gdb_is_target_remote instead of is_remote. Use
3032 gdb_test_multiple instead of gdb_expect. Exit early if
3033 gdb_test_multiple hits its internal matches. Tighten stepi tests
3034 expected output. Fail on exit with any signal, instead of just
3035 SIGILL.
3036
f68f11b7
YQ
30372015-03-18 Yao Qi <yao.qi@linaro.org>
3038
3039 PR tdep/18107
3040 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3041 variable.
3042 * gdb.base/catch-syscall.exp: Don't skip it on
3043 aarch64*-*-linux* target. Remove elements in all_syscalls.
3044 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3045 target.
3046 (setup_all_syscalls): New proc.
3047
ca5fd19b
YQ
30482015-03-16 Yao Qi <yao.qi@linaro.org>
3049
3050 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3051 (top level): Skip tests if valid_addr_p returns false for
3052 $cmd1 or $cmd2.
3053
85642ba0
AW
30542015-03-11 Andy Wingo <wingo@igalia.com>
3055
3056 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3057
e03f9645
YQ
30582015-03-11 Yao Qi <yao.qi@linaro.org>
3059
3060 * gdb.base/catch-syscall.exp: Fix typo in comments.
3061
5d0962b2
YQ
30622015-03-11 Yao Qi <yao.qi@linaro.org>
3063
3064 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3065
b2df3cef
PA
30662015-03-09 Pedro Alves <palves@redhat.com>
3067
3068 * dg-extract-results.py: Delete.
3069
ef878e53
PA
30702015-03-09 Pedro Alves <palves@redhat.com>
3071
3072 Merge dg-extract-results.sh from GCC upstream (r218843).
3073
3074 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3075 * dg-extract-results.sh: Use --text with grep to avoid issues with
3076 binary files. Fall back to cat -v, if that doesn't work.
3077
9494d219
PA
30782015-03-05 Pedro Alves <palves@redhat.com>
3079
3080 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3081
a8d9763a
SM
30822015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3083
3084 * lib/mi-support.exp (mi_expect_interrupt): Accept
3085 alternative event for when in all-stop mode.
3086
be9957b8
PA
30872015-03-04 Pedro Alves <palves@redhat.com>
3088
3089 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3090
d57be0f4 30912015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
3092
3093 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3094
c214c7cf
AA
30952015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3096
3097 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3098 regexps for GDB's current line display, accept a hex address
3099 preceding the line number.
3100
6d74a497
AA
31012015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3102
3103 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3104 the 'arch1' variable for "s390*-linux*" targets.
3105
511aee7c
PA
31062015-03-04 Pedro Alves <palves@redhat.com>
3107
3108 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3109 (main): Pass missing retval argument to pthread_join call.
3110
95e50b27
PA
31112015-03-02 Pedro Alves <palves@redhat.com>
3112
3113 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3114 (top level): Call do_test with non-stop as well.
3115
28054d69
PA
31162015-03-02 Pedro Alves <palves@redhat.com>
3117
3118 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3119 -1.
3120
4fa5d7b4
AA
31212015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3122
3123 * gdb.arch/s390-vregs.exp: New test.
3124 * gdb.arch/s390-vregs.S: New file.
3125
97c18565
PA
31262015-02-27 Pedro Alves <palves@redhat.com>
3127
3128 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3129 call to catch_command_errors.
3130 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3131 catch_command_errors.
3132
a37bfa30
PA
31332015-02-27 Pedro Alves <palves@redhat.com>
3134
3135 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3136 "true" for boolean result.
3137 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3138 prototype of main.
3139
6f98576f
PA
31402015-02-27 Pedro Alves <palves@redhat.com>
3141
3142 * lib/unbuffer_output.c: New file.
3143 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3144 (main): Call gdb_unbuffer_output.
3145
eba5ab56
YQ
31462015-02-27 Yao Qi <yao.qi@linaro.org>
3147
3148 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3149 target.
3150
0def5aaa
DE
31512015-02-26 Doug Evans <dje@google.com>
3152
3153 * gdb.cp/class2.cc (Dbase, D): New classes.
3154 (main): New local delta.
3155 * gdb.cp/class2.exp: Test printing delta.
3156 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3157 (dynbar): New global.
3158 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3159
081a1c2c
JK
31602015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3161
3162 * gdb.compile/compile-ifunc.c: New file.
3163 * gdb.compile/compile-ifunc.exp: New file.
3164
2f41223f
AT
31652015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3166
3167 * gdb.base/structs.exp: Check for correct struct on finish.
3168
03eddd80
YQ
31692015-02-26 Yao Qi <yao.qi@linaro.org>
3170
3171 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3172 is zero.
3173
80c57053
JK
31742015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3175
3176 * gdb.arch/cordic.ko.bz2: New file.
3177 * gdb.arch/cordic.ko.debug.bz2: New file.
3178 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3179
21613c12
YQ
31802015-02-25 Yao Qi <yao.qi@linaro.org>
3181
3182 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3183 aarch64*-*-* target.
3184
d8b901ed
PA
31852015-02-23 Pedro Alves <palves@redhat.com>
3186
3187 * lib/gdb.exp (delete_breakpoints): Rewrite using
3188 gdb_test_multiple.
3189
e5b85ead
PA
31902015-02-23 Pedro Alves <palves@redhat.com>
3191
3192 * gdb.base/info-os.c: Include stdlib.h.
3193
85c3a371
DE
31942015-02-22 Doug Evans <xdje42@gmail.com>
3195
3196 PR symtab/17855
3197 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3198 is read after symbols have been re-read.
3199 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3200 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3201
96553a0c
DE
32022015-02-21 Doug Evans <dje@google.com>
3203
3204 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3205
97a0c697
JK
32062015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3207
3208 PR corefiles/17808
3209 * gdb.arch/i386-biarch-core.core.bz2: New file.
3210 * gdb.arch/i386-biarch-core.exp: New file.
3211
a47cd6e9
PA
32122015-02-21 Pedro Alves <palves@redhat.com>
3213
3214 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3215 runto_main fails.
3216
c5facdc4
PA
32172015-02-20 Pedro Alves <palves@redhat.com>
3218
3219 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3220 info probes.
3221
2db9a427
PA
32222015-02-20 Pedro Alves <palves@redhat.com>
3223
3224 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3225
60fb7e9e
PA
32262015-02-20 Pedro Alves <palves@redhat.com>
3227
3228 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3229 clean_restart before gdb_target_supports_trace.
3230
5c5019c2
PA
32312015-02-20 Pedro Alves <palves@redhat.com>
3232
3233 PR threads/18006
3234 * gdb.threads/clone-thread_db.c: New file.
3235 * gdb.threads/clone-thread_db.exp: New file.
3236
c9587f88
AT
32372015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3238
3239 PR breakpoints/16812
3240 * gdb.base/catch-gdb-caused-signals.c: New file.
3241 * gdb.base/catch-gdb-caused-signals.exp: New file.
3242
f6a88844
JM
32432015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3244
3245 * configure: Regenerated.
3246 * configure.ac: Use GDB_AC_TRANSFORM.
3247 * aclocal.m4: sinclude ../transform.m4.
3248
497c491b
JM
32492015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3250
3251 * lib/dtrace.exp: New file.
3252 * gdb.base/dtrace-probe.exp: Likewise.
3253 * gdb.base/dtrace-probe.d: Likewise.
3254 * gdb.base/dtrace-probe.c: Likewise.
3255 * lib/pdtrace.in: Likewise.
3256 * configure.ac: Output variables with the transformed names of
3257 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3258 * configure: Regenerated.
3259
03e98035
JM
32602015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3261
3262 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3263 expected message when trying to access $_probe_* convenience
3264 variables while not on a probe.
3265
63cc30e9
JK
32662015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3267
3268 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3269
0703599a
PA
32702015-02-11 Pedro Alves <pedro@codesourcery.com>
3271
3272 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3273 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3274
7e60a48e
DE
32752015-02-10 Doug Evans <xdje42@gmail.com>
3276
3277 * lib/gdb.exp (gdb_load): Always return a result.
3278
01b088bc
PA
32792015-02-10 Pedro Alves <palves@redhat.com>
3280
3281 * gdb.threads/signal-sigtrap.c: New file.
3282 * gdb.threads/signal-sigtrap.exp: New file.
3283
b05ec7a5
AT
32842015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3285
3286 * gdb.trace/no-attach-trace.c: New file.
3287 * gdb.trace/no-attach-trace.exp: New file.
3288
a2c2acaf
MW
32892015-02-09 Mark Wielaard <mjw@redhat.com>
3290
3291 * gdb.dwarf2/atomic.c: New file.
3292 * gdb.dwarf2/atomic-type.exp: Likewise.
3293
31fd9caa
MM
32942015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3295
3296 * gdb.btrace/buffer-size.exp: Update "info record" output.
3297 * gdb.btrace/delta.exp: Update "info record" output.
3298 * gdb.btrace/enable.exp: Update "info record" output.
3299 * gdb.btrace/finish.exp: Update "info record" output.
3300 * gdb.btrace/instruction_history.exp: Update "info record" output.
3301 * gdb.btrace/next.exp: Update "info record" output.
3302 * gdb.btrace/nexti.exp: Update "info record" output.
3303 * gdb.btrace/step.exp: Update "info record" output.
3304 * gdb.btrace/stepi.exp: Update "info record" output.
3305 * gdb.btrace/nohist.exp: Update "info record" output.
3306
d33501a5
MM
33072015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3308
3309 * gdb.btrace/buffer-size: New.
3310
f4abbc16
MM
33112015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3312
3313 * gdb.btrace/delta.exp: Update "info record" output.
3314 * gdb.btrace/enable.exp: Update "info record" output.
3315 * gdb.btrace/finish.exp: Update "info record" output.
3316 * gdb.btrace/instruction_history.exp: Update "info record" output.
3317 * gdb.btrace/next.exp: Update "info record" output.
3318 * gdb.btrace/nexti.exp: Update "info record" output.
3319 * gdb.btrace/step.exp: Update "info record" output.
3320 * gdb.btrace/stepi.exp: Update "info record" output.
3321 * gdb.btrace/nohist.exp: Update "info record" output.
3322
b9d61307
SM
33232015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3324
3325 PR gdb/15678
3326 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3327
e584fdbc
PA
33282015-02-06 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
3331 macro.
3332 (seconds_left, again): New globals.
3333 (main): Wait seconds_left in a 1-second sleep loop instead of
3334 sleeping 180 seconds. If 'again' is set, reset the seconds
3335 counter.
3336 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
3337 'again' in the inferior before detaching. Print the seconds left.
3338 (options): New global.
3339 (top level): Build program with -DTIMEOUT=$timeout.
3340
77f41761
PA
33412015-02-06 Pedro Alves <palves@redhat.com>
3342
3343 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
3344 determine how many seconds to pass to 'alarm'.
3345 * gdb.base/gdb-sigterm.exp (top level): Build program with
3346 -DTIMEOUT=$timeout.
3347 (do_test): Return success/failure indication. Add more verbose
3348 logging. Don't fail if 200 single steps are seen. Instead, fail
3349 when the test times out.
3350 (passes): New global.
3351 (top level): Break the testing loop if testing fails on any
3352 iteration. Use gdb_assert.
3353
b9394193
DB
33542015-02-04 Don Breazeal <donb@codesourcery.com>
3355
3356 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
3357 and initialize them.
3358 (ipc_cleanup): New function.
3359 (main): Don't declare shmid, semid, and msqid. Add a call to
3360 atexit so that we call ipc_cleanup on exit.
3361
42d9e528
PA
33622015-02-04 Pedro Alves <palves@redhat.com>
3363
3364 * boards/native-extended-gdbserver.exp: Remove any target variant
3365 specifications from the board name before clearing the isremote
3366 flag from board_info.
3367
ae6ae975
DE
33682015-01-31 Doug Evans <xdje42@gmail.com>
3369
3370 * gdb.base/maint.exp <maint print type argc>: Update expected output.
3371
cfb069a8
GB
33722015-01-31 Gary Benson <gbenson@redhat.com>
3373
3374 * gdb.base/completion.exp: Disable completion limiting for
3375 existing tests. Add new tests to check completion limiting.
3376 * gdb.linespec/ls-errs.exp: Disable completion limiting.
3377
5dd31d79
DE
33782015-01-31 Doug Evans <xdje42@gmail.com>
3379
3380 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
3381
9f050062
DE
33822015-01-31 Doug Evans <xdje42@gmail.com>
3383
3384 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
3385 entries. Duplicate file section script entries.
3386 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
3387 inlined entries. Add test for safe-path rejection.
3388 * gdb.python/py-section-script.c: Add duplicate inlined section script
3389 entries. Duplicate file section script entries.
3390 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
3391 inlined entries. Add test for safe-path rejection.
3392
df25ebbd
JB
33932015-01-29 Joel Brobecker <brobecker@adacore.com>
3394
3395 * gdb.ada/disc_arr_bound: New testcase.
3396
4a0ca9ec
JB
33972015-01-29 Joel Brobecker <brobecker@adacore.com>
3398
3399 * gdb.ada/mi_var_array: New testcase.
3400
3a8b707a
DE
34012015-01-27 Doug Evans <dje@google.com>
3402
3403 * gdb.python/py-objfile.exp: Add tests for objfile.username.
3404 Add test for objfile.filename, objfile.username after objfile
3405 has been unloaded.
3406
f8313f6e
JB
34072015-01-26 Joel Brobecker <brobecker@adacore.com>
3408
3409 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
3410 the second test to print the name attribute of value
3411 returned by the call to gdb.lookup_type, and adjust
3412 the expected output accordingly.
3413
37bc665e
MW
34142015-01-25 Mark Wielaard <mjw@redhat.com>
3415
3416 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
3417 * gdb.base/disp-step-fork.c: Include unistd.h.
3418 * gdb.base/siginfo-obj.c: Include stdio.h.
3419 * gdb.base/siginfo-thread.c: Likewise.
3420 * gdb.mi/non-stop.c: Include unistd.h.
3421 * gdb.mi/nsthrexec.c: Include stdio.h.
3422 * gdb.mi/pthreads.c: Include unistd.h.
3423 * gdb.modula2/unbounded1.c (main): Declare returns int.
3424 * gdb.reverse/consecutive-reverse.c: Likewise.
3425 * gdb.threads/create-fail.c: Include unistd.h.
3426 * gdb.threads/killed.c: Likewise.
3427 * gdb.threads/linux-dp.c: Likewise.
3428 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
3429 * gdb.threads/non-ldr-exc-2.c: Likewise.
3430 * gdb.threads/non-ldr-exc-3.c: Likewise.
3431 * gdb.threads/non-ldr-exc-4.c: Likewise.
3432 * gdb.threads/pthreads.c: Include unistd.h.
3433 (main): Declare returns int.
3434 * gdb.threads/tls-main.c (foo): New declaration.
3435 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
3436
f7e5394d
SM
34372015-01-23 Simon Marchi <simon.marchi@ericsson.com>
3438
3439 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
3440 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
3441
743649fd
MW
34422015-01-15 Mark Wielaard <mjw@redhat.com>
3443
3444 * gdb.base/noreturn-return.c: New file.
3445 * gdb.base/noreturn-return.exp: New file.
3446 * gdb.base/noreturn-finish.c: New file.
3447 * gdb.base/noreturn-finish.exp: New file.
3448
198297aa
PA
34492015-01-23 Pedro Alves <palves@redhat.com>
3450
3451 * gdb.threads/continue-pending-after-query.c: New file.
3452 * gdb.threads/continue-pending-after-query.exp: New file.
3453
717cf30c
AG
34542015-01-22 Anders Granlund <anders.granlund@ericsson.com>
3455 Simon Marchi <simon.marchi@ericsson.com>
3456
3457 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
3458 * gdb.base/valgrind-db-attach.exp: Same.
3459 * gdb.base/valgrind-infcall.exp: Same.
3460 * lib/mi-support.exp (default_mi_gdb_start): Same.
3461 * lib/prompt.exp (default_prompt_gdb_start): Same.
3462 * lib/gdb.exp (default_gdb_spawn): Same.
3463 (gdb_interact): New.
3464
3465
4b62a76e
JK
34662015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3467
3468 * gdb.compile/compile.exp (pointer to jit function): New test.
3469
b4cdae6f
WW
34702015-01-17 Wei-cheng Wang <cole945@gmail.com>
3471
3472 * lib/gdb.exp (supports_process_record): Return true for
3473 powerpc*-*-linux*.
3474 (supports_reverse): Likewise.
3475
d221e7ef
DB
34762015-01-15 Don Breazeal <donb@codesourcery.com>
3477
3478 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
3479 instead of checking whether the target board is remote and
3480 use spawn_wait_for_attach instead of exec/sleep.
3481 * gdb.base/attach-twice.exp: Likewise.
3482
bafffb51
JB
34832015-01-15 Joel Brobecker <brobecker@adacore.com>
3484
3485 * gdb.ada/var_arr_attrs: New testcase.
3486
5589af0e
PA
34872015-01-14 Pedro Alves <palves@redhat.com>
3488 Joel Brobecker <brobecker@adacore.com>
3489
3490 PR gdb/17525
3491 * gdb.base/bp-cmds-execution-x-script.c: New file.
3492 * gdb.base/bp-cmds-execution-x-script.exp: New file.
3493 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
3494
6c400b59
PA
34952015-01-14 Pedro Alves <palves@redhat.com>
3496
3497 PR cli/17828
3498 * gdb.base/batch-preserve-term-settings.c: New file.
3499 * gdb.base/batch-preserve-term-settings.exp: New file.
3500
e02c96a7
DE
35012015-01-13 Doug Evans <dje@google.com>
3502
3503 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
3504 binary.
3505
576fd14c
JB
35062015-01-13 Joel Brobecker <brobecker@adacore.com>
3507
3508 * Makefile.in (clean mostlyclean): Do not delete *.py.
3509
04dccad0
JB
35102015-01-13 Joel Brobecker <brobecker@adacore.com>
3511
3512 * gdb.python/py-lookup-type.exp: New file.
3513
3d230f71
PA
35142015-01-12 Pedro Alves <palves@redhat.com>
3515
3516 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
3517 restore GDBFLAGS before returning.
3518
7e67715d
JK
35192015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3520
3521 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
3522 is_amd64_regs_target and is_x86_like_target.
3523
f2e0d4b4
DE
35242015-01-11 Doug Evans <xdje42@gmail.com>
3525
3526 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
3527 is given without an explicit form.
3528 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
3529 attributes.
3530 * gdb.dwarf/corrupt.exp: Ditto.
3531 * gdb.dwarf2/enum-type.exp: Ditto.
3532 * gdb.trace/entry-values.exp: Ditto.
3533 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
3534
439250fb
DE
35352015-01-11 Doug Evans <xdje42@gmail.com>
3536
3537 PR gdb/15830
3538 * gdb.base/maint.exp: Remove references to "maint demangle".
3539 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
3540 Add tests for explicitly specifying language to demangle.
3541 * gdb.dlang/demangle.exp: Ditto.
3542
ede9f622
PA
35432015-01-09 Pedro Alves <palves@redhat.com>
3544
3545 * gdb.threads/non-stop-fair-events.c: New file.
3546 * gdb.threads/non-stop-fair-events.exp: New file.
3547
a7b796db
PA
35482015-01-09 Pedro Alves <palves@redhat.com>
3549
3550 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
3551 the global scope. Set a breakpoint after all threads are started
3552 rather than stepping over two source lines. Expect the prompt.
3553 * gdb.base/watch_thread_num.c (threads_started_barrier): New
3554 global.
3555 (NUM): Now 15.
3556 (main): Use threads_started_barrier to wait for all threads to
3557 start. Main thread no longer calls thread_function. Exit after
3558 180 seconds.
3559 (loop): New function.
3560 (thread_function): Wait on threads_started_barrier barrier. Call
3561 'loop' at each iteration.
3562 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
3563 threads have started, instead of hardcoding number of "next"
3564 steps. Use an access watchpoint instead of a write watchpoint.
3565
9665ffdd
PA
35662015-01-09 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
3569 (thread_func): Wait on barrier.
3570 (main): Wait for all threads to start before stopping GDB.
3571 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
3572 global.
3573 (thread1_func, thread2_func): Wait on barrier.
3574 (main): Wait for all threads to start before stopping GDB.
3575 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
3576 New global.
3577 (thread1_func, thread2_func): Wait on barrier.
3578 (main): Wait for all threads to start before stopping GDB.
3579
c945a99f
PA
35802015-01-09 Pedro Alves <palves@redhat.com>
3581
3582 * gdb.threads/attach-many-short-lived-threads.c: New file.
3583 * gdb.threads/attach-many-short-lived-threads.exp: New file.
3584
c1a747c1
PA
35852014-01-09 Pedro Alves <palves@redhat.com>
3586
3587 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
3588 instead of to thread 2.
3589 * gdb.threads/signal-command-multiple-signals-pending.c (main):
3590 Add barrier around each pthread_create call instead of around all
3591 calls.
3592 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
3593 Set a break on thread_function and have the child threads hit it
3594 one at at a time.
3595
60b3033e
PA
35962015-01-09 Pedro Alves <palves@redhat.com>
3597
3598 * lib/gdb.exp (can_spawn_for_attach): New procedure.
3599 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
3600 false.
3601 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
3602 checking whether the target board is remote.
3603 * gdb.multi/multi-attach.exp: Likewise.
3604 * gdb.python/py-sync-interp.exp: Likewise.
3605 * gdb.server/ext-attach.exp: Likewise.
3606 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
3607 tests that need to attach, instead of checking whether the target
3608 board is remote at the top of the file.
3609
acc018ac
YQ
36102015-01-08 Yao Qi <yao@codesourcery.com>
3611
3612 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
3613
50a18af8
JK
36142015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3615
3616 Fix testcase compilation.
3617 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
3618
8503d6e1
JB
36192015-01-06 Joel Brobecker <brobecker@adacore.com>
3620
3621 * gdb.python/py-type.exp: Add a couple test about empty
3622 array creation, and negative-length array creation.
3623
cc73dbcc
DE
36242015-01-02 Doug Evans <xdje42@gmail.com>
3625
3626 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
3627
0300bbc7
DE
36282015-01-02 Doug Evans <dje@google.com>
3629
3630 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
3631
9d85a0ec
YQ
36322014-12-29 Yao Qi <yao@codesourcery.com>
3633
3634 * gdb.trace/entry-values.exp: Update comments. Rename variable
3635 bar_call_foo to returned_from_foo.
3636
87186c6a
MMN
36372014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
3638
3639 PR gdb/17394
3640 * gdb.linespec/break-asm-file.c: New file.
3641 * gdb.linespec/break-asm-file.exp: New file.
3642 * gdb.linespec/break-asm-file0.s: New file.
3643 * gdb.linespec/break-asm-file1.s: New file.
3644
1bab7383
YQ
36452014-12-18 Nigel Stephens <nigel@mips.com>
3646 Maciej W. Rozycki <macro@codesourcery.com>
3647
3648 * gdb.base/float.exp: Handle the new output from "info float" on
3649 MIPS targets.
3650
1bc1068a
JK
36512014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3652
3653 Fix MinGW compilation.
3654 * gdb.compile/compile-ops.exp: Update untested message if
3655 !skip_compile_feature_tests.
3656 * gdb.compile/compile-setjmp.exp: Likewise.
3657 * gdb.compile/compile-tls.exp: Likewise.
3658 * gdb.compile/compile.exp: Likewise.
3659 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
3660 supported on this host".
3661
b6615d10
DE
36622014-12-16 Doug Evans <xdje42@gmail.com>
3663
3664 * boards/stabs.exp: New file.
3665
25dda427
AA
36662014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
3667
3668 * gdb.base/completion.exp: Adjust to format changes of "maint
3669 print user-registers".
3670
bf330350
CU
36712014-12-16 Catalin Udma <catalin.udma@freescale.com>
3672
3673 PR server/17457
3674 * gdb.arch/aarch64-fp.c: New file.
3675 * gdb.arch/aarch64-fp.exp: New file.
3676
395cf596
SDJ
36772014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3678
3679 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
3680 r210637, r210913, r211666, r215400, r215817).
3681
3682 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
3683 * dg-extract-results.py: New file.
3684 * dg-extract-results.sh: Use it if the environment seems
3685 suitable.
3686
3687 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
3688
3689 * dg-extract-results.py (parse_run): Handle warnings that
3690 are printed before a test harness is run.
3691
3692 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
3693
3694 * dg-extract-results.py (Named): Remove __cmp__ method.
3695 (output_variation): Use a key to sort variation.harnesses.
3696
3697 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
3698
3699 * dg-extract-results.py: For Python 3, force sys.stdout to
3700 handle surrogate escape sequences.
3701 (safe_open): New function.
3702 (output_segment, main): Use it.
3703
3704 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
3705
3706 * dg-extract-results.py (Prog.result_re): Include options
3707 in test name.
3708
3709 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
3710
3711 * dg-extract-results.py (output_variation): Always sort if
3712 do_sum.
3713
e882ef3c
SM
37142014-12-15 Simon Marchi <simon.marchi@ericsson.com>
3715
3716 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
3717 as long as we get pagination notifications.
3718
4992aa20
JM
37192014-12-15 Jason Merrill <jason@redhat.com>
3720
3721 * Makefile.in (check-gdb.%): Restore.
3722 * README: Mention it.
3723
c1b5a1a6
JB
37242014-12-13 Joel Brobecker <brobecker@adacore.com>
3725
3726 * gdb.ada/str_uninit: New testcase.
3727
5537b577
JK
37282014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3729
3730 PR symtab/17642
3731 * gdb.base/vla-stub-define.c: New file.
3732 * gdb.base/vla-stub.c: New file.
3733 * gdb.base/vla-stub.exp: New file.
3734
bb2ec1b3
TT
37352014-12-12 Phil Muldoon <pmuldoon@redhat.com>
3736 Jan Kratochvil <jan.kratochvil@redhat.com>
3737 Tom Tromey <tromey@redhat.com>
3738
3739 * configure.ac: Add gdb.compile/.
3740 * configure: Regenerate.
3741 * gdb.compile/Makefile.in: New file.
3742 * gdb.compile/compile-ops.exp: New file.
3743 * gdb.compile/compile-ops.c: New file.
3744 * gdb.compile/compile-tls.c: New file.
3745 * gdb.compile/compile-tls.exp: New file.
3746 * gdb.compile/compile-constvar.S: New file.
3747 * gdb.compile/compile-constvar.c: New file.
3748 * gdb.compile/compile-mod.c: New file.
3749 * gdb.compile/compile-nodebug.c: New file.
3750 * gdb.compile/compile-setjmp-mod.c: New file.
3751 * gdb.compile/compile-setjmp.c: New file.
3752 * gdb.compile/compile-setjmp.exp: New file.
3753 * gdb.compile/compile-shlib.c: New file.
3754 * gdb.compile/compile.c: New file.
3755 * gdb.compile/compile.exp: New file.
3756 * lib/gdb.exp (skip_compile_feature_tests): New proc.
3757
4ff709eb
TT
37582014-12-12 Tom Tromey <tromey@redhat.com>
3759
3760 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
3761 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
3762
6dddd6a5
DE
37632014-12-12 Doug Evans <dje@google.com>
3764
3765 * lib/gdb-python.exp (get_python_valueof): New function.
3766 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
3767
71c24708
AA
37682014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3769
3770 * gdb.base/completion.exp: Add test for completion of "info
3771 registers ".
3772
3e29f34a
MR
37732014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
3774
3775 * gdb.base/func-ptrs.c: New file.
3776 * gdb.base/func-ptrs.exp: New file.
3777
fc126975
SM
37782014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3779
3780 PR breakpoints/17012
3781 * gdb.base/dprintf-detach.c: New file.
3782 * gdb.base/dprintf-detach.exp: New file.
3783
0a46d518
SM
37842014-12-10 Simon Marchi <simon.marchi@ericsson.com>
3785
3786 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
3787 * lib/gdb.exp (target_is_gdbserver): New procedure.
3788
a0be3e44
DE
37892014-12-08 Doug Evans <dje@google.com>
3790
3791 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
3792
df1b803a
YQ
37932014-12-05 Yao Qi <yao@codesourcery.com>
3794
3795 * gdb.guile/scm-error.exp: Remove the third argument to
3796 gdb_remote_download.
3797 * gdb.guile/scm-frame-args.exp: Likewise.
3798 * gdb.guile/scm-section-script.exp: Likewise.
3799
ddb9f679
YQ
38002014-12-05 Yao Qi <yao@codesourcery.com>
3801
3802 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
3803
86e4ed39
DE
38042014-12-04 Doug Evans <dje@google.com>
3805
3806 * gdb.python/py-objfile.exp: Add tests for
3807 objfile.add_separate_debug_file.
3808
7c50a931
DE
38092014-12-04 Doug Evans <dje@google.com>
3810
3811 * lib/gdb.exp (get_build_id): New function.
3812 (build_id_debug_filename_get): Rewrite to use it.
3813 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
3814
621661e3
MR
38152014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
3816
3817 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
3818 `method(long)', not just 0x0.
3819 * gdb.cp/nsalias.exp: Align code labels to 4.
3820 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
3821 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
3822 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
3823 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
3824 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
3825 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
3826
29f0c3b7
DE
38272014-12-02 Doug Evans <dje@google.com>
3828
e1e061e7 3829 PR symtab/17602
29f0c3b7 3830 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 3831 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
3832 * gdb.cp/anon-ns.exp: Update.
3833
162078c8
NB
38342014-12-02 Nick Bull <nicholaspbull@gmail.com>
3835
3836 * gdb.python/py-events.py (inferior_call_handler): New.
3837 (register_changed_handler, memory_changed_handler): New.
3838 (test_events.invoke): Register new handlers.
3839 * gdb.python/py-events.exp: Add tests for inferior call,
3840 memory_changed and register_changed events.
3841
fdb09caf
AA
38422014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3843
3844 * gdb.base/execl-update-breakpoints.exp: Specify the link address
3845 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
3846 if the linker doesn't understand this.
3847
55cfb2c4
SM
38482014-12-01 Simon Marchi <simon.marchi@ericsson.com>
3849
3850 * gdb.python/python.exp: Change expected reply to help().
3851
9e8cd6df
YQ
38522014-12-01 Yao Qi <yao@codesourcery.com>
3853
3854 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
3855 AC_CONFIG_SUBDIRS(gdb.gdbtk).
3856 * configure: Re-generated.
3857
6c659fc2
SC
38582014-11-28 Siva Chandra Reddy <sivachandra@google.com>
3859
3860 * gdb.cp/chained-calls.cc: New file.
3861 * gdb.cp/chained-calls.exp: New file.
3862 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
3863
d7fc3181
SM
38642014-11-28 Simon Marchi <simon.marchi@ericsson.com>
3865
3866 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
3867 * gdb.dwarf2/symtab-producer.exp: Same.
3868 * gdb.gdb/python-interrupts.exp: Same.
3869 * gdb.gdb/python-selftest.exp: Same.
3870 * gdb.python/py-linetable.exp: Same.
3871 * gdb.python/py-type.exp: Same.
3872 * gdb.python/py-value-cc.exp: Same.
3873 * gdb.python/py-value.exp: Same.
3874
10e79639
YQ
38752014-11-28 Yao Qi <yao@codesourcery.com>
3876
3877 * gdb.base/break-probes.exp: Match library name prefixed with
3878 sysroot.
3879
f28a0564
SM
38802014-11-27 Simon Marchi <simon.marchi@ericsson.com>
3881
3882 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
3883 test expected output. Add parentheses for the call to print.
3884 Remove L suffix from integers.
3885
3fe1ce1d
DE
38862014-11-26 Doug Evans <dje@google.com>
3887
3888 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
3889
84429e27
YQ
38902014-11-22 Yao Qi <yao@codesourcery.com>
3891
3892 * gdb.trace/entry-values.c: Remove asms.
3893 (foo): Add foo_label.
3894 (bar): Add bar_label.
3895 * gdb.trace/entry-values.exp: Remove code computing foo's
3896 length and bar's length.
3897 (Dwarf::assemble): Invoke function_range for bar and use
3898 MACRO_AT_func for foo.
3899
26741859
YQ
39002014-11-22 Yao Qi <yao@codesourcery.com>
3901
3902 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
3903 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
3904 Use .Lgcc43_procstart instead of gcc43.
3905
45e44d27
JB
39062014-11-21 Joel Brobecker <brobecker@adacore.com>
3907
3908 * gdb.ada/n_arr_bound: New testcase.
3909
458c8db8
SDJ
39102014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
3911
3912 PR breakpoints/10737
3913 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
3914 test_catch_syscall_multi_arch.
3915 (test_catch_syscall_multi_arch): New function.
3916
43f3e411
DE
39172014-11-20 Doug Evans <xdje42@gmail.com>
3918
3919 * gdb.base/maint.exp: Update expected output.
3920
0d7b2549
AA
39212014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3922
3923 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
3924 4-byte instruction on S390.
3925
8908fca5
JB
39262014-11-19 Joel Brobecker <brobecker@adacore.com>
3927
3928 * gdb.ada/arr_arr: New testcase.
3929
4a46959e
JB
39302014-11-19 Joel Brobecker <brobecker@adacore.com>
3931
3932 * gdb.ada/pkd_arr_elem: New Testcase.
3933
470e2f4e
LM
39342014-11-18 Luis Machado <lgustavo@codesourcery.com>
3935
3936 * gdb.reverse/break-precsave: Expect completion message for
3937 core file reads.
3938 * gdb.reverse/consecutive-precsave.exp: Likewise.
3939 * gdb.reverse/finish-precsave.exp: Likewise.
3940 * gdb.reverse/i386-precsave.exp: Likewise.
3941 * gdb.reverse/machinestate-precsave.exp: Likewise.
3942 * gdb.reverse/sigall-precsave.exp: Likewise.
3943 * gdb.reverse/solib-precsave.exp: Likewise.
3944 * gdb.reverse/step-precsave.exp: Likewise.
3945 * gdb.reverse/until-precsave.exp: Likewise.
3946 * gdb.reverse/watch-precsave.exp: Likewise.
3947
a267f3ad
AA
39482014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3949
3950 * gdb.base/bp-permanent.c: Include unistd.h.
3951 * gdb.python/py-framefilter-mi.c (main): Add return type.
3952 * gdb.python/py-framefilter.c (main): Likewise.
3953 * gdb.trace/actions-changed.c (main): Likewise.
3954
12084a9a
AA
39552014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3956
3957 * gdb.mi/until.c: Add eye-catchers.
3958 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
3959 line numbers.
3960
dc7e1a77
AA
39612014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3962
3963 * gdb.base/condbreak.exp: Drop references to removed non-prototype
3964 function header variants in break1.c.
3965 * gdb.base/ena-dis-br.exp: Likewise.
3966 * gdb.base/hbreak2.exp: Likewise.
3967 * gdb.reverse/until-precsave.exp: Drop references to removed
3968 non-prototype function header variants in ur1.c.
3969 * gdb.reverse/until-reverse.exp: Likewise.
3970
41c77605
PM
39712014-11-17 Petr Machata <pmachata@redhat.com>
3972
3973 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
3974 ${_cu_offset_size} bytes abbrev offset.
3975
34248c3a
DE
39762014-11-15 Doug Evans <xdje42@gmail.com>
3977
3978 PR symtab/17559
3979 * gdb.base/line-symtabs.exp: New file.
3980 * gdb.base/line-symtabs.c: New file.
3981 * gdb.base/line-symtabs.h: New file.
3982
646da059
YQ
39832014-11-14 Yao Qi <yao@codesourcery.com>
3984
3985 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
3986 (func): Add label func_label.
3987 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
3988 Replace low_pc and high_pc with MACRO_AT_range.
3989 Replace name, low_pc and high_pc with MACRO_AT_func.
3990
9301ebe6
YQ
39912014-11-14 Yao Qi <yao@codesourcery.com>
3992
3993 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
3994 Replace name, low_pc and high_pc with MACRO_AT_func.
3995
f166b542
YQ
39962014-11-14 Yao Qi <yao@codesourcery.com>
3997
3998 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
3999 produce debug information.
4000 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4001
0f6e71e3
YQ
40022014-11-14 Yao Qi <yao@codesourcery.com>
4003
4004 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4005 object and get function length.
4006 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4007 with MACRO_AT_func.
4008 (top-level): Replace gdb_compile and clean_restart with
4009 prepare_for_testing.
4010 * gdb.dwarf2/main.c (main): Add label main_label.
4011
876c4df9
YQ
40122014-11-14 Yao Qi <yao@codesourcery.com>
4013
4014 * lib/dwarf.exp (function_range): New procedure.
4015 (Dwarf::_handle_macro_at_func): New procedure.
4016 (Dwarf::_handle_macro_at_range): New procedure.
4017 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4018
02ad9cf1
YQ
40192014-11-14 Yao Qi <yao@codesourcery.com>
4020
4021 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4022 (_handle_attribute): New procedure.
4023
a59add0c
AA
40242014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4025
4026 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4027 * gdb.base/call-sc.c (zed): Likewise.
4028 * gdb.base/checkpoint.c (main): Likewise.
4029 * gdb.base/dump.c (main): Likewise.
4030 * gdb.base/gcore.c (main): Likewise.
4031 * gdb.base/huge.c (main): Likewise.
4032 * gdb.base/multi-forks.c (main): Likewise.
4033 * gdb.base/pr10179-a.c (main): Likewise.
4034 * gdb.base/savedregs.c (main): Likewise.
4035 * gdb.base/sigaltstack.c (main): Likewise.
4036 * gdb.base/siginfo.c (main): Likewise.
4037 * gdb.base/structs.c (zed): Likewise.
4038 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4039 * gdb.mi/mi-syn-frame.c (main): Likewise.
4040 * gdb.mi/until.c (foo, main): Likewise.
4041 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4042 * gdb.base/solib-weak.c (foo): Declare.
4043 * gdb.base/attach-twice.c: Include stdio.h.
4044 * gdb.base/weaklib1.c: Likewise.
4045 * gdb.base/weaklib2.c: Likewise.
4046 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4047 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4048 unistd.h.
4049 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4050 * gdb.mi/mi-exit-code.c: Likewise.
4051 * gdb.base/break-interp-lib.c: Include string.h.
4052 * gdb.base/coremaker.c: Likewise.
4053 * gdb.base/testenv.c: Likewise.
4054 * gdb.python/py-finish-breakpoint.c: Likewise.
4055 * gdb.base/inferior-died.c: Include sys/wait.h.
4056 * gdb.base/fileio.c: Include time.h.
4057 * gdb.base/async-shell.c: Include unistd.h.
4058 * gdb.base/dprintf-non-stop.c: Likewise.
4059 * gdb.base/info-os.c: Likewise.
4060 * gdb.mi/mi-console.c: Likewise.
4061 * gdb.mi/watch-nonstop.c: Likewise.
4062 * gdb.python/py-events.c: Likewise.
4063 * gdb.base/async.c (baz): Move up before its invocation.
4064 * gdb.base/code_elim2.c (my_global_func): Likewise.
4065 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4066 * gdb.base/advance.c (func2): Likewise.
4067
3b5d5997
AA
40682014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4069
4070 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4071 variant.
4072 * gdb.base/annota3.c: Likewise.
4073 * gdb.base/async.c: Likewise.
4074 * gdb.base/average.c: Likewise.
4075 * gdb.base/call-ar-st.c: Likewise.
4076 * gdb.base/call-rt-st.c: Likewise.
4077 * gdb.base/call-sc.c: Likewise.
4078 * gdb.base/call-strs.c: Likewise.
4079 * gdb.base/ending-run.c: Likewise.
4080 * gdb.base/execd-prog.c: Likewise.
4081 * gdb.base/exprs.c: Likewise.
4082 * gdb.base/foll-exec.c: Likewise.
4083 * gdb.base/foll-fork.c: Likewise.
4084 * gdb.base/foll-vfork.c: Likewise.
4085 * gdb.base/funcargs.c: Likewise.
4086 * gdb.base/gcore.c: Likewise.
4087 * gdb.base/jump.c: Likewise.
4088 * gdb.base/langs0.c: Likewise.
4089 * gdb.base/langs1.c: Likewise.
4090 * gdb.base/langs2.c: Likewise.
4091 * gdb.base/mips_pro.c: Likewise.
4092 * gdb.base/nodebug.c: Likewise.
4093 * gdb.base/opaque0.c: Likewise.
4094 * gdb.base/opaque1.c: Likewise.
4095 * gdb.base/recurse.c: Likewise.
4096 * gdb.base/run.c: Likewise.
4097 * gdb.base/scope0.c: Likewise.
4098 * gdb.base/scope1.c: Likewise.
4099 * gdb.base/setshow.c: Likewise.
4100 * gdb.base/setvar.c: Likewise.
4101 * gdb.base/shmain.c: Likewise.
4102 * gdb.base/shr1.c: Likewise.
4103 * gdb.base/shr2.c: Likewise.
4104 * gdb.base/sigall.c: Likewise.
4105 * gdb.base/signals.c: Likewise.
4106 * gdb.base/so-indr-cl.c: Likewise.
4107 * gdb.base/solib2.c: Likewise.
4108 * gdb.base/structs.c: Likewise.
4109 * gdb.base/sum.c: Likewise.
4110 * gdb.base/vforked-prog.c: Likewise.
4111 * gdb.base/watchpoint.c: Likewise.
4112 * gdb.reverse/shr2.c: Likewise.
4113 * gdb.reverse/until-reverse.c: Likewise.
4114 * gdb.reverse/ur1.c: Likewise.
4115 * gdb.reverse/watch-reverse.c: Likewise.
4116
066a77c5
AA
41172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4118
4119 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4120 variant.
4121 * gdb.base/sepdebug.exp: Drop references to removed code.
4122
4f204ea5
AA
41232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4124
4125 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4126 variant. Preserve original line numbering.
4127 * gdb.base/list1.c: Likewise.
4128
3b377a3a
AA
41292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4130
4131 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4132 variant.
4133 * gdb.base/break1.c: Likewise.
4134 * gdb.base/break.exp: Drop references to removed code.
4135
e444df73
AA
41362014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4137
4138 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4139 variant.
4140
8008f2a7
AA
41412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4142
4143 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4144
a5a06887
AA
41452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4146
4147 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4148 logic into perform_all_tests() and invoke it with and without
4149 function header prototypes.
4150 (do_function_calls): Remove conditional XFAIL for PR 5318.
4151 (rerun_and_prepare): Remove duplicate code.
4152 (perform_all_tests): New. Main logic moved here.
4153
44dba9b9
AA
41542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4155
4156 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4157 code guarded by #ifdef NO_PROTOTYPES.
4158 (t_double_many_args): Likewise.
4159 (DEF_FUNC_MANY_ARGS_1): Likewise.
4160 (DEF_FUNC_VALUES_1): Likewise.
4161 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4162 guarded by #ifdef PROTOTYPES.
4163
d1fbcd56
AA
41642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4165
4166 * gdb.mi/mi-console.c: Add eye-catcher.
4167 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4168 instead of literal line number.
4169
b0e59b8f
AA
41702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4171
4172 * gdb.base/shr2.c: Add eye-catcher.
4173 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4174 line number.
4175
78f98cca
AA
41762014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4177
4178 * gdb.base/jump.c: Add eye-catchers.
4179 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4180 numbers.
4181
58fa2af0
AA
41822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4183
4184 * gdb.base/execd-prog.c: Add eye-catchers.
4185 * gdb.base/foll-exec.c: Likewise.
4186 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4187 line numbers.
4188
04e5059b
AA
41892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4190
4191 * gdb.base/ending-run.c: Add eye-catchers.
4192 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4193 literal line numbers.
4194
dbfdb174
AA
41952014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4196
4197 * gdb.base/call-rt-st.c: Add eye-catchers.
4198 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4199 literal line numbers.
4200
888a2ade
AA
42012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4202
4203 * gdb.base/call-ar-st.c: Add eye-catchers.
4204 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4205 literal line numbers.
4206
6acc2dde
AA
42072014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4208
4209 * gdb.base/average.c: Add eye-catchers.
4210 * gdb.base/sum.c: Likewise.
4211 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4212 regexps dynamically.
4213
9ecfcd1d
AA
42142014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4215
4216 * gdb.base/solib1.c: Add eye-catchers.
4217 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4218 literal line numbers.
4219
78708b7c
PA
42202014-11-12 Pedro Alves <palves@redhat.com>
4221
4222 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4223 leader has exited.
4224
af48d08f
PA
42252014-11-12 Pedro Alves <palves@redhat.com>
4226
4227 * gdb.arch/i386-bp_permanent.c: New file.
4228 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4229 (srcfile): Set to i386-bp_permanent.c.
4230 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4231 that stepi does not execute the 'leave' instruction, instead of
4232 testing it does execute.
4233 * gdb.base/bp-permanent.c: New file.
4234 * gdb.base/bp-permanent.exp: New file.
4235
af3768e9
DE
42362014-11-10 Doug Evans <xdje42@gmail.com>
4237
4238 PR symtab/17564
4239 * gdb.base/symtab-search-order.exp: New file.
4240 * gdb.base/symtab-search-order.c: New file.
4241 * gdb.base/symtab-search-order-1.c: New file.
4242 * gdb.base/symtab-search-order-shlib-1.c: New file.
4243
9de00a4a
PA
42442014-11-07 Pedro Alves <palves@redhat.com>
4245
4246 PR gdb/17511
4247 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4248 i?86-*-linux*.
4249
e0f52461
SC
42502014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4251
4252 PR c++/17494
4253 * gdb.cp/pr17494.cc: New file.
4254 * gdb.cp/pr17494.exp: New file.
4255
6ce8c980
YQ
42562014-11-02 Yao Qi <yao@codesourcery.com>
4257
4258 * gdb.python/python.exp: Get working directory and match the
4259 output of "set extended-prompt \\w " with it.
4260
02be9a71
DE
42612014-10-30 Doug Evans <dje@google.com>
4262
4263 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4264 in objfiles.
4265 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4266 in progspaces.
4267
3bdff46b
LM
42682014-10-30 Janis Johnson <janisjo@codesourcery.com>
4269
4270 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4271 * gdb.base/realname-expand.exp: Likewise.
4272 * gdb.linespec/macro-relative.exp: Likewise.
4273
ab917dfb
PA
42742014-10-29 Pedro Alves <palves@redhat.com>
4275
4276 PR gdb/17408
4277 * gdb.threads/schedlock.c (some_function): New function.
4278 (call_function): New global.
4279 (MAYBE_CALL_SOME_FUNCTION): New macro.
4280 (thread_function): Call it.
4281 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4282 and use it instead of a global counter. Adjust all callers.
4283 (get_current_thread): Use "find current thread" for test message
4284 here rather than having all callers pass down the same string.
4285 (goto_loop): New procedure, factored out from ...
4286 (my_continue): ... this.
4287 (step_ten_loops): Change parameter from test message to command to
4288 use. Adjust.
4289 (list_count): Delete global.
4290 (check_result): New procedure, factored out from duplicate top
4291 level code.
4292 (continue tests): Wrap in with_test_prefix.
4293 (test_step): New procedure, factored out from duplicate top level
4294 code.
4295 (top level): Test "step" in combination with all scheduler-locking
4296 modes. Test "next" in combination with all scheduler-locking
4297 modes, and in combination with stepping over a function call or
4298 not.
4299 * gdb.threads/next-bp-other-thread.c: New file.
4300 * gdb.threads/next-bp-other-thread.exp: New file.
4301
d3d4baed
PA
43022014-10-29 Pedro Alves <palves@redhat.com>
4303
4304 PR python/17372
4305 * gdb.python/python.exp: Test a multi-line command that spawns
4306 interactive Python.
4307 * gdb.base/multi-line-starts-subshell.exp: New file.
4308
563e8d85
YQ
43092014-10-29 Yao Qi <yao@codesourcery.com>
4310
4311 * gdb.base/fileio.exp: Make directories on host.
4312
0ea4d52e
YQ
43132014-10-29 Yao Qi <yao@codesourcery.com>
4314
4315 * gdb.base/fileio.c (test_write): Close the file.
4316
7f5ef605
PA
43172014-10-28 Pedro Alves <palves@redhat.com>
4318
4319 PR gdb/12623
4320 * gdb.base/sigstep.c (no_handler): New global.
4321 (main): If 'no_handler is true, set the signal handlers to
4322 SIG_IGN.
4323 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4324 with_sw_watch and no_handler parameters. Handle them.
4325 (top level) <stepping over handler when stopped at a breakpoint
4326 test>: Add a test axis for testing with a software watchpoint, and
4327 another for testing with the signal handler set to SIG_IGN.
4328 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4329 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
4330
abbdbd03
PA
43312014-10-28 Pedro Alves <palves@redhat.com>
4332
4333 PR gdb/17511
4334 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
4335 * gdb.base/sigstep.exp (other_handler_location): New global.
4336 (advance): Support stepping into the signal handler, and running
4337 commands while in the handler.
4338 (in_handler_map): New global.
4339 (top level): In the advance test, add combinations for getting
4340 into the handler with stepping commands, and for running commands
4341 in the handler. Add comment descripting the advancei tests.
4342
1df4399f
PA
43432014-10-28 Pedro Alves <palves@redhat.com>
4344
4345 * gdb.base/sigstep.exp: Use build_executable instead of
4346 prepare_for_testing.
4347 (top level): Move code that starts GDB, runs to main and creates a
4348 display to ...
4349 (restart): ... this new procedure.
4350 (top level): Move backtrace from signal handler test to ...
4351 (validate_backtrace): ... this new procedure.
4352 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
4353 with_test_prefix. Always restart GDB.
4354 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
4355 with_test_prefix. Always restart GDB. No need to delete
4356 breakpoints after the test.
4357 (test_skip_handler): Remove prefix parameter.
4358 (skip_over_handler, breakpoint_to_handler)
4359 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
4360 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
4361 restart GDB. No need to delete breakpoints after the test.
4362 (top level): Use foreach to call the test procedures with
4363 different commands.
4364
a5b6e449
PA
43652014-10-28 Pedro Alves <palves@redhat.com>
4366
4367 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
4368 instead of GNATS numbers.
4369 * gdb.base/sigbpt.exp: Likewise.
4370 * gdb.base/siginfo.exp: Likewise.
4371 * gdb.base/sigstep.exp: Likewise.
4372
e5f8a7cc
PA
43732014-10-27 Pedro Alves <palves@redhat.com>
4374
4375 * gdb.base/sigstep.c (dummy): New global.
4376 (main): Issue a couple writes to the new global.
4377 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
4378 procedures.
4379 (skip_over_handler): Use test_skip_handler.
4380 (top level): Call skip_over_handler for stepi and nexti too.
4381 (breakpoint_over_handler): Use test_skip_handler.
4382 (top level): Call breakpoint_over_handler for stepi and nexti too.
4383
763905a3
YQ
43842014-10-27 Yao Qi <yao@codesourcery.com>
4385
4386 * gdb.trace/tfile.c (adjust_function_address)
4387 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
4388 function descriptor.
4389
6f259a23
DB
43902014-10-24 Don Breazeal <donb@codesourcery.com>
4391
4392 * gdb.base/foll-fork.exp (test_follow_fork,
4393 catch_fork_child_follow): Check for updated fork messages emitted
4394 from infrun.c.
4395 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
4396 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
4397 vfork_and_exec_child_follow_through_step): Check for updated vfork
4398 messages emitted from infrun.c.
4399
09dd9a69
PA
44002014-10-24 Pedro Alves <palves@redhat.com>
4401
4402 * gdb.base/corefile.exp: Remove references to ultrix.
4403 * gdb.base/interrupt.exp: Likewise.
4404 * gdb.base/whatis.exp: Likewise.
4405 * gdb.gdb/selftest.exp: Likewise.
4406 * gdb.threads/manythreads.exp: Likewise.
4407 * gdb.threads/print-threads.exp: Likewise.
4408 * gdb.threads/pthreads.exp:: Likewise.
4409 * gdb.threads/schedlock.exp: Likewise.
4410
3433cfa5
SC
44112014-10-24 Siva Chandra Reddy <sivachandra@google.com>
4412
4413 * gdb.cp/non-trivial-retval.cc: Add a test case.
4414 * gdb.cp/non-trivial-retval.exp: Add a test.
4415
092f880b
YQ
44162014-10-20 Yao Qi <yao@codesourcery.com>
4417
4418 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
4419 * gdb.python/py-objfile-script-gdb.py: New file.
4420 * gdb.python/py-objfile-script.exp: Update reference to
4421 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
4422 of remote_download. Remove the dest file.
4423
acbdb7f3
YQ
44242014-10-20 Yao Qi <yao@codesourcery.com>
4425
4426 * gdb.base/checkpoint.exp: Don't remove file copied on host.
4427 * gdb.base/step-line.exp: Likewise.
4428 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
4429 * gdb.dwarf2/dw2-basic.exp: Likewise.
4430 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4431 * gdb.dwarf2/dw2-filename.exp: Likewise.
4432 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4433 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4434 * gdb.dwarf2/dw2-producer.exp: Likewise.
4435 * gdb.dwarf2/mac-fileno.exp: Likewise.
4436 * gdb.python/py-frame-args.exp: Likewise.
4437 * gdb.python/py-framefilter.exp: Likewise.
4438 * gdb.python/py-mi.exp: Likewise.
4439 * gdb.python/py-objfile-script.exp: Likewise
4440 * gdb.python/py-pp-integral.exp: Likewise.
4441 * gdb.python/py-pp-re-notag.exp: Likewise.
4442 * gdb.python/py-prettyprint.exp: Likewise.
4443 * gdb.python/py-section-script.exp: Likewise.
4444 * gdb.python/py-typeprint.exp: Likewise.
4445 * gdb.python/py-xmethods.exp: Likewise.
4446 * gdb.stabs/weird.exp: Likewise.
4447 * gdb.xml/tdesc-regs.exp: Likewise.
4448
bd286a29
KCY
44492014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
4450
4451 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
4452 (out_cu): Use addr_len for the size of addresses.
4453 (out_line): Likewise. Size DW_LNE_set_address instruction
4454 according to addr_len.
4455 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
4456 (FUNC): Add START_INSNS to definition.
4457
673dc4a0
YQ
44582014-10-18 Yao Qi <yao@codesourcery.com>
4459
4460 * gdb.base/argv0-symlink.exp: Check argv[0] value if
4461 gdb_has_argv0 return true.
4462 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
4463 check [target_info exists noargs], check [gdb_has_argv0]
4464 instead.
4465 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
4466 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
4467 procedures.
4468
4ffbba72
DE
44692014-10-17 Doug Evans <dje@google.com>
4470
4471 * gdb.python/py-events.exp: Update expected output for clear_objfiles
4472 event.
4473 * gdb.python/py-events.py: Add clear_objfiles event.
4474
d096d8c1
DE
44752014-10-17 Doug Evans <dje@google.com>
4476
4477 * gdb.python/py-objfile.exp: Test progspace attribute.
4478
a80db015
LM
44792014-10-17 Luis Machado <lgustavo@codesourcery.com>
4480
4481 * gdb.guile/scm-breakpoint.exp: Do not assume any
4482 directory separators when matching source file paths.
4483 * gdb.python/py-breakpoint.exp: Likewise.
4484 * gdb.reverse/break-precsave.exp: Likewise.
4485 * gdb.reverse/break-reverse.exp: Likewise.
4486 * gdb.reverse/consecutive-precsave.exp: Likewise.
4487 * gdb.reverse/finish-precsave.exp: Likewise.
4488 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
4489 * gdb.reverse/finish-reverse.exp: Likewise.
4490 * gdb.reverse/i386-precsave.exp: Likewise.
4491 * gdb.reverse/i387-env-reverse.exp: Likewise.
4492 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4493 * gdb.reverse/machinestate-precsave.exp: Likewise.
4494 * gdb.reverse/machinestate.exp: Likewise.
4495 * gdb.reverse/sigall-precsave.exp: Likewise.
4496 * gdb.reverse/solib-precsave.exp: Likewise.
4497 * gdb.reverse/step-precsave.exp: Likewise.
4498 * gdb.reverse/until-precsave.exp: Likewise.
4499 * gdb.reverse/watch-precsave.exp: Likewise.
4500 * gdb.reverse/watch-reverse.exp: Likewise.
4501
b22089ab
YQ
45022014-10-17 Yao Qi <yao@codesourcery.com>
4503
4504 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
4505 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
4506
6c4486e6
PA
45072014-10-17 Pedro Alves <palves@redhat.com>
4508
4509 PR gdb/17471
4510 * gdb.base/bg-execution-repeat.c: New file.
4511 * gdb.base/bg-execution-repeat.exp: New file.
4512
0ff33695
PA
45132014-10-17 Pedro Alves <palves@redhat.com>
4514
4515 PR gdb/17300
4516 * gdb.base/continue-all-already-running.c: New file.
4517 * gdb.base/continue-all-already-running.exp: New file.
4518
6fdebc3d
PA
45192014-10-17 Pedro Alves <palves@redhat.com>
4520
4521 PR gdb/17472
4522 * gdb.base/annota-input-while-running.c: New file.
4523 * gdb.base/annota-input-while-running.exp: New file.
4524
32a8097b
PA
45252014-10-17 Pedro Alves <palves@redhat.com>
4526
4527 * gdb.base/callfuncs.exp: emove references to osf.
4528 * gdb.base/sigall.exp: Likewise.
4529 * gdb.gdb/selftest.exp: Likewise.
4530 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
4531 * gdb.mi/non-stop.c: Likewise.
4532 * gdb.mi/pthreads.c: Likewise.
4533 * gdb.reverse/sigall-precsave.exp: Likewise.
4534 * gdb.reverse/sigall-reverse.exp: Likewise.
4535 * gdb.threads/pthreads.c: Likewise.
4536 * gdb.threads/pthreads.exp: Likewise.
4537
7a3517ff
YQ
45382014-10-17 Yao Qi <yao@codesourcery.com>
4539
4540 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
4541 check 'target_info exists noargs'.
4542 (test_command_prompt_position): Likewise.
4543 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
4544 Remove "set args".
4545 (progvar_simple_while_test): Likewise.
4546 (progvar_complex_if_while_test): Likewise.
4547 (if_while_breakpoint_command_test): Likewise.
4548 (infrun_breakpoint_command_test): Likewise.
4549 (breakpoint_command_test): Likewise.
4550 (watchpoint_command_test): Likewise.
4551 (bp_deleted_in_command_test): Likewise.
4552 (temporary_breakpoint_commands): Likewise.
4553
bb99c472
YQ
45542014-10-16 Yao Qi <yao@codesourcery.com>
4555
4556 * gdb.base/remotetimeout.exp: Remove noargs checking.
4557
7c16b83e
PA
45582014-10-15 Pedro Alves <palves@redhat.com>
4559
4560 PR breakpoints/9649
4561 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
4562 * gdb.base/breakpoint-in-ro-region.exp
4563 (probe_target_hardware_step): New procedure.
4564 (top level): Probe hardware stepping and hardware breakpoint
4565 support. Test stepping through a read-only region, with both
4566 "breakpoint auto-hw" on and off and both "always-inserted" on and
4567 off.
4568
35a49624
IB
45692014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
4570
4571 * gdb.dlang/demangle.exp: Update for demangling changes.
4572
2d1c107c
SC
45732014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4574
4575 * gdb.cp/non-trivial-retval.cc: Add new test cases.
4576 * gdb.cp/non-trivial-retval.exp: Add new tests.
4577
778811d5
SC
45782014-10-15 Siva Chandra Reddy <sivachandra@google.com>
4579
4580 PR c++/13403
4581 PR c++/15154
4582 * gdb.cp/non-trivial-retval.cc: New file.
4583 * gdb.cp/non-trivial-retval.exp: New file.
4584
10c5f0a8
YQ
45852014-10-15 Yao Qi <yao@codesourcery.com>
4586
4587 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
4588 remote host.
4589
65d7b369
YQ
45902014-10-15 Yao Qi <yao@codesourcery.com>
4591
4592 * gdb.python/py-symbol.exp: Match file base name if host is
4593 remote, otherwise match file name with dir name.
4594 * gdb.python/py-symtab.exp: Likewise.
4595 * gdb.python/python.exp: Likewise.
4596
46dc1394
YQ
45972014-10-15 Yao Qi <yao@codesourcery.com>
4598
4599 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
4600 pattern.
4601 * gdb.python/py-symtab.exp: Likewise.
4602 * gdb.python/python.exp: Remove trailing ".*". Fix typo
4603 locationn.
4604
c40cc657
JB
46052014-10-14 Joel Brobecker <brobecker@adacore.com>
4606
4607 * gdb.ada/addr_arith: New testcase.
4608
2abf49e1
MR
46092014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
4610
4611 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
4612 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
4613 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
4614 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
4615
f7088df3
SDJ
46162014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
4617
4618 * gdb.arch/stap-eval-lang-ada.S: Likewise.
4619 * gdb.arch/stap-eval-lang-ada.c: Likewise.
4620 * gdb.arch/stap-eval-lang-ada.exp: New file.
4621
4dc06805
YQ
46222014-10-14 Yao Qi <yao@codesourcery.com>
4623
4624 * gdb.mi/mi-var-child.c (nothing1): New function.
4625 (nothing2): New function.
4626 (do_children_tests): Set function pointers by nothing1 and
4627 nothing2.
4628 * gdb.mi/mi-var-child.exp: Step over new added statements.
4629 Update test to match the new output.
4630 * gdb.mi/var-cmd.c (nothing1): New function.
4631 (nothing2): New function.
4632 (do_children_tests): Set function pointers by nothing1 and
4633 nothing2.
4634 * gdb.mi/mi-var-display.exp: Update test to match output.
4635 Step to the line specified by $line_dct_nothing.
4636 Increase the number of lines to step.
4637
46a93de2
YQ
46382014-10-14 Yao Qi <yao@codesourcery.com>
4639
4640 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
4641 tests.
4642 * gdb.mi/mi2-var-child.exp: Likewise.
4643
14ea52ee
DE
46442014-10-13 Doug Evans <dje@google.com>
4645
4646 * gdb.python/py-objfile.exp: Change name of file name test.
4647
e5c6e92b
DE
46482014-10-13 Doug Evans <dje@google.com>
4649
4650 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
4651 from the start of the CU.
4652
c780cc2f
JK
46532014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4654 Yao Qi <yao@codesourcery.com>
4655
4656 Fix "save breakpoints" for "catch" command.
4657 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
4658 Remove -nonewline. Match also the added "main" line.
4659
99894e11
JK
46602014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4661
4662 Fix "save breakpoints" for "disable $bpnum" command.
4663 * gdb.base/save-bp.c (main): Add label.
4664 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
4665
6e1ac5a3
JK
46662014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4667
4668 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
4669
754dd2b0
YQ
46702014-10-11 Yao Qi <yao@codesourcery.com>
4671
4672 * gdb.server/server-kill.exp: Execute command
4673 "set remote trace-status-packet on" before "tstatus".
4674
f90183d7
YQ
46752014-10-11 Yao Qi <yao@codesourcery.com>
4676
4677 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
4678 (main): Call getppid.
4679 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
4680 and continue to it. Read variable "server_pid".
4681
bf40a607
YQ
46822014-10-11 Yao Qi <yao@codesourcery.com>
4683
4684 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
4685
052ca370
YQ
46862014-10-11 Yao Qi <yao@codesourcery.com>
4687
4688 * gdb.threads/thread-find.exp: Don't execute command
4689 "info threads".
4690 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
4691 * gdb.threads/linux-dp.exp: Don't check the condition
4692 $threads_created equals to zero.
4693
3831839c
PA
46942014-10-10 Pedro Alves <palves@redhat.com>
4695
4696 * gdb.base/bigcore.exp: Remove references to IRIX.
4697 * gdb.base/funcargs.exp: Likewise.
4698 * gdb.base/interrupt.exp: Likewise.
4699 * gdb.base/mips_pro.exp: Likewise.
4700 * gdb.base/nodebug.exp: Likewise.
4701 * gdb.base/setvar.exp: Likewise.
4702 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
4703
8b9a549d
PA
47042014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4705 Pedro Alves <palves@redhat.com>
4706
4707 PR symtab/14466
4708 * gdb.base/vdso-warning.c: New file.
4709 * gdb.base/vdso-warning.exp: New file.
4710
d48ba5e8
DE
47112014-10-02 Doug Evans <dje@google.com>
4712
4713 * gdb.base/structs.c (main): Don't run forever.
4714
2278c276
PA
47152014-10-02 Pedro Alves <palves@redhat.com>
4716
4717 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
4718 (top level) <stop threads 1, stop threads 2>: Use it.
4719
b57bacec
PA
47202014-10-02 Pedro Alves <palves@redhat.com>
4721
4722 * gdb.threads/break-while-running.exp (test): Add new
4723 'update_thread_list' argument. Skip "info threads" if false.
4724 (top level): Add new 'update_thread_list' axis.
4725
13fd3ff3
PA
47262014-10-02 Pedro Alves <palves@redhat.com>
4727
4728 PR breakpoints/17431
4729 * gdb.base/execl-update-breakpoints.c: New file.
4730 * gdb.base/execl-update-breakpoints.exp: New file.
4731
0fec99e8
PA
47322014-10-01 Pedro Alves <palves@redhat.com>
4733
4734 * gdb.base/breakpoint-in-ro-region.c: New file.
4735 * gdb.base/breakpoint-in-ro-region.exp: New file.
4736
2ddf4301
SM
47372014-10-01 Simon Marchi <simon.marchi@ericsson.com>
4738
4739 * gdb.mi/mi-exit-code.exp: New file.
4740 * gdb.mi/mi-exit-code.c: New file.
4741
6a5f3f43
YQ
47422014-09-30 Yao Qi <yao@codesourcery.com>
4743
4744 * lib/prelink-support.exp (build_executable_own_libs): Error if
4745 the target isn't native.
4746
345bcc73
YQ
47472014-09-30 Yao Qi <yao@codesourcery.com>
4748
4749 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
4750 false.
4751
a25a5a45
PA
47522014-09-22 Pedro Alves <palves@redhat.com>
4753
4754 * gdb.threads/break-while-running.exp: New file.
4755 * gdb.threads/break-while-running.c: New file.
4756
00ba3162
YQ
47572014-09-19 Yao Qi <yao@codesourcery.com>
4758
4759 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
4760 Invoke test. Restart GDB with --readnow and invoke test again.
4761
c3b7b696
YQ
47622014-09-19 Yao Qi <yao@codesourcery.com>
4763
4764 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4765 proc set_breakpoint_on_gcd_function. Invoke
4766 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
4767 invoke set_breakpoint_on_gcd_function again.
4768
2b4fd423
DE
47692014-09-18 Doug Evans <dje@google.com>
4770
4771 * gdb.dwarf2/symtab-producer.exp: New file.
4772
a5947601
SDJ
47732014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4774
4775 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
4776 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
4777 * gdb.base/global-var-nested-by-dso.c: Likewise.
4778 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4779
91c19059
SDJ
47802014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
4781 Pedro Alves <palves@redhat.com>
4782
4783 * gdb.base/watch-bitfields.exp: Pass string other than test file
4784 name to prepare_for_testing.
4785 (watch): New procedure.
4786 (expect_watchpoint): Use with_test_prefix.
4787 (top level): Factor out tests to ...
4788 (test_watch_location, test_regular_watch): ... these new
4789 procedures, and use with_test_prefix and gdb_continue_to_end.
4790
bb9d5f81
PP
47912014-09-16 Patrick Palka <patrick@parcs.ath.cx>
4792
4793 PR breakpoints/12526
4794 * gdb.base/watch-bitfields.exp: New file.
4795 * gdb.base/watch-bitfields.c: New file.
4796
635856f5
PA
47972014-09-16 Pedro Alves <palves@redhat.com>
4798
4799 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
4800 software and hardware addresses, not software address against
4801 itself.
4802
7280ceea
PA
48032014-09-16 Pedro Alves <palves@redhat.com>
4804
4805 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
4806 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
4807
428b16bd
PA
48082014-09-16 Pedro Alves <palves@redhat.com>
4809
4810 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4811 files.
4812 * gdb.base/a2-run.exp: Remove all code guarded by istarget
4813 "*-*-vxworks*" throughout.
4814 * gdb.base/break.exp: Likewise.
4815 * gdb.base/default.exp: Likewise.
4816 * gdb.base/scope.exp: Likewise.
4817 * gdb.base/sepdebug.exp: Likewise.
4818 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
4819 throughout.
4820 * gdb.base/run.c: Likewise.
4821 * gdb.base/sepdebug.c: Likewise.
4822 * gdb.hp/gdb.aCC/run.c: Likewise.
4823 * gdb.reverse/until-reverse.c: Likewise.
4824 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
4825
666d413c
YQ
48262014-09-16 Yao Qi <yao@codesourcery.com>
4827
4828 * boards/local-remote-host-native.exp: New file.
4829
57cbd724
DE
48302014-09-14 Doug Evans <xdje42@gmail.com>
4831
4832 * gdb.threads/queue-signal.c (thread_count): New variable.
4833 (thread_count_mutex, thread_count_condvar): New variables.
4834 (incr_thread_count, wait_all_threads_running): New functions.
4835 (main): Wait for all threads to be in their thread functions.
4836
81219e53
DE
48372014-09-13 Doug Evans <xdje42@gmail.com>
4838
4839 * gdb.threads/queue-signal.c: New file.
4840 * gdb.threads/queue-signal.exp: New file.
4841
3714cea7
DE
48422014-09-13 Doug Evans <xdje42@gmail.com>
4843
4844 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
4845 be consistent with what default_gdb_init uses.
4846 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
4847 the plain text of the prompt. Add some logging printfs.
4848 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
4849
fa43b1d7
PA
48502014-09-12 Pedro Alves <palves@redhat.com>
4851
4852 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
4853 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
4854 * gdb.arch/i386-size-overlap.exp: Likewise.
4855 * gdb.arch/i386-size.exp: Likewise.
4856 * gdb.arch/i386-unwind.exp: Likewise.
4857 * gdb.base/a2-run.exp: Likewise.
4858 * gdb.base/break.exp: Likewise.
4859 * gdb.base/charset.exp: Likewise.
4860 * gdb.base/chng-syms.exp: Likewise.
4861 * gdb.base/commands.exp: Likewise.
4862 * gdb.base/dbx.exp: Likewise.
4863 * gdb.base/find.exp: Likewise.
4864 * gdb.base/funcargs.exp: Likewise.
4865 * gdb.base/jit-simple.exp: Likewise.
4866 * gdb.base/reread.exp: Likewise.
4867 * gdb.base/sepdebug.exp: Likewise.
4868 * gdb.base/step-bt.exp: Likewise.
4869 * gdb.cp/mb-inline.exp: Likewise.
4870 * gdb.cp/mb-templates.exp: Likewise.
4871 * gdb.objc/basicclass.exp: Likewise.
4872 * gdb.threads/killed.exp: Likewise.
4873
9d9bf2df
EBM
48742014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4875
4876 PR tdep/17379
4877 * gdb.arch/powerpc-stackless.S: New file.
4878 * gdb.arch/powerpc-stackless.exp: New file.
4879
1cf2f1b0
JK
48802014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4881
4882 * gdb.base/attach.c: Include unistd.h.
4883 (main): Call alarm. Add label postloop.
4884 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
4885 gdb_breakpoint, gdb_continue_to_breakpoint.
4886 (test_command_line_attach_run): Kill ${testpid} in one exit path.
4887
98880d46
PA
48882014-09-11 Pedro Alves <palves@redhat.com>
4889
4890 PR gdb/17347
4891 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
4892 * gdb.base/attach.exp (test_command_line_attach_run): New
4893 procedure.
4894 (top level): Call it.
4895
4c92ff2c
PA
48962014-09-11 Pedro Alves <palves@redhat.com>
4897
4898 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
4899 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
4900 (do_command_attach_tests): Use spawn_wait_for_attach.
4901 * gdb.base/solib-overlap.exp: Likewise.
4902 * gdb.multi/multi-attach.exp: Likewise.
4903 * gdb.python/py-prompt.exp: Likewise.
4904 * gdb.python/py-sync-interp.exp: Likewise.
4905 * gdb.server/ext-attach.exp: Likewise.
4906
3adc1a7d
GKB
49072014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
4908
4909 * gdb.fortran/array-element.exp: Remove unexpected "continue"
4910 command in testcase. Simplify testcase.
4911
96334934
JB
49122014-09-10 Joel Brobecker <brobecker@adacore.com>
4913
4914 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
4915
eb479039
JB
49162014-09-10 Joel Brobecker <brobecker@adacore.com>
4917
4918 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
4919
deede10c
JB
49202014-09-10 Joel Brobecker <brobecker@adacore.com>
4921
4922 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
4923
7828a5f5
JB
49242014-09-10 Joel Brobecker <brobecker@adacore.com>
4925
4926 * gdb.dwarf2/dynarr-ptr.c: New file.
4927 * gdb.dwarf2/dynarr-ptr.exp: New file.
4928
33aeebcf
MR
49292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4930
4931 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
4932 of 30 rather than hardcoding 120 for a slow test case. Take the
4933 `gdb,timeout' target setting into account for this calculation.
4934 Don't extend the timeout for the test cases that don't need it.
4935
7b415901
MR
49362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4937
4938 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
4939 a factor of 2 for a slow test case. Take the `gdb,timeout'
4940 target setting into account for this calculation.
4941 * gdb.reverse/until-precsave.exp: Increase the timeout by
4942 a factor of 15 and 3 respectively rather than adding 120
4943 for a pair of slow test cases. Take the `gdb,timeout'
4944 target setting into account for this calculation.
4945
4a40f85a
MR
49462014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4947
4948 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
4949 timeout, don't pass one down to gdb_expect.
4950 (gdb_expect): Rework timeout selection.
4951
09635af7
MR
49522014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4953
4954 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
4955 exception on timeout.
4956 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
4957 (gdbserver_start_extended): Catch any `gdbserver_start' error
4958 exceptions.
4959 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
4960 * lib/mi-support.exp (mi_gdb_target_load): Catch any
4961 `gdbserver_gdb_load' error exceptions.
4962
2bdd10b7
MR
49632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4964
4965 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
4966 120 on waiting for the TCP socket to open.
4967
316935f0
DE
49682014-09-09 Doug Evans <xdje42@gmail.com>
4969
4970 * gdb.base/default.exp (show_conv_list): Add _caller_is,
4971 _caller_matches, _any_caller_is, _any_caller_matches.
4972
83740597
DE
49732014-09-09 Doug Evans <xdje42@gmail.com>
4974
4975 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
4976
4c122fc3
YQ
49772014-09-09 Yao Qi <yao@codesourcery.com>
4978
4979 * gdb.mi/mi-var-display.exp: Set print symbol off.
4980
a9f116cb
GKB
49812014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
4982
4983 PR gdb/17035
4984 * gdb.base/commands.exp: Add tests to verify user-defined
4985 commands with empty bodies.
4986 * gdb.python/py-cmd.exp: Test that we don't show user-defined
4987 python commands in `show user command`.
4988 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
4989 scheme commands in `show user command`.
4990
c75bd3a2
JK
49912014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4992
4993 PR python/17355
4994 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
4995 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
4996 * gdb.python/py-framefilter-invalidarg.exp: New file.
4997 * gdb.python/py-framefilter-invalidarg.py: New file.
4998
faa42425
DE
49992014-09-06 Doug Evans <xdje42@gmail.com>
5000
5001 PR 15276
5002 * gdb.python/py-caller-is.c: New file.
5003 * gdb.python/py-caller-is.exp: New file.
5004
474ca4f6
SDJ
50052014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5006
5007 PR gdb/17235
5008 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5009 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5010
eb0b0463
SDJ
50112014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5012
5013 PR fortran/17237
5014 * gdb.fortran/print-formatted.exp: New file.
5015 * gdb.fortran/print-formatted.f90: Likewise.
5016
5f3b99cf
SS
50172014-09-03 Sasha Smundak <asmundak@google.com>
5018
5019 * gdb.python/py-frame.exp: Test Frame.read_register.
5020
7d793aa9
SDJ
50212014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5022
5023 PR python/16699
5024 * gdb.python/py-completion.exp: New file.
5025 * gdb.python/py-completion.py: Likewise.
5026
fb0576e9
DE
50272014-08-28 Doug Evans <dje@google.com>
5028
5029 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5030 eax,etc. are live with values set by gdb and thus the compiler can't
5031 use them.
5032 * gdb.arch/i386-pseudo.c (main): Ditto.
5033
ee92b0dd
DE
50342014-08-27 Doug Evans <dje@google.com>
5035
5036 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5037
6649db35
DE
50382014-08-25 Doug Evans <dje@google.com>
5039
5040 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5041 (main): Ditto.
5042
564b7600
DE
50432014-08-25 Doug Evans <dje@google.com>
5044
5045 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5046
3881fb67
YQ
50472014-08-24 Yao Qi <yao@codesourcery.com>
5048
5049 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5050 symbol off.
5051 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5052
a05a36a5
DE
50532014-08-22 Doug Evans <dje@google.com>
5054
5055 PR 17276
5056 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5057 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5058 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5059
7c343b48
YQ
50602014-08-22 Yao Qi <yao@codesourcery.com>
5061
5062 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5063 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5064 * gdb.python/python.exp: Likewise. Use .py file on the host
5065 instead of the build.
5066
22fd09ae
JK
50672014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5068
5069 * gdb.threads/gcore-stale-thread.c: New file.
5070 * gdb.threads/gcore-stale-thread.exp: New file.
5071
a8454a7c
PA
50722014-08-21 Pedro Alves <palves@redhat.com>
5073
5074 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5075 * gdb.base/gcore-relro-pie.exp: Likewise.
5076 * gdb.base/gcore-relro.exp: Likewise.
5077 * gdb.base/gcore.exp: Likewise.
5078 * gdb.base/print-symbol-loading.exp: Likewise.
5079 * gdb.threads/gcore-thread.exp: Likewise.
5080 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5081
2a31c623
PA
50822014-08-20 Pedro Alves <palves@redhat.com>
5083 Jan Kratochvil <jan.kratochvil@redhat.com>
5084
5085 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5086 configure.
5087 (EXPECT): Handle READ1 being set.
5088 (all): Depend on EXTRA_RULES.
5089 (check-read1, expect-read1, read1.so, read1): New rules.
5090 * README (Testsuite Parameters): Document the READ1 make variable.
5091 (Race detection): New section.
5092 * configure: Regenerate.
5093 * configure.ac: If build==host==target, and running under a
5094 GNU/glibc system, add read1 to the extra Makefile rules.
5095 (EXTRA_RULES): AC_SUBST it.
5096 * lib/read1.c: New file.
5097
d36430db
JB
50982014-08-20 Joel Brobecker <brobecker@adacore.com>
5099
5100 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5101 the handling of variables declared as a typedef to an array
5102 which a DW_AT_data_location attribute.
5103
9a0dc9e3
PA
51042014-08-19 Andrew Burgess <aburgess@broadcom.com>
5105 Pedro Alves <palves@redhat.com>
5106
5107 PR symtab/14604
5108 PR symtab/14605
5109 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5110 gdb_test.
5111
0718a8da
PA
51122014-08-19 Pedro Alves <palves@redhat.com>
5113
5114 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5115
13b448cd
YQ
51162014-08-19 Yao Qi <yao@codesourcery.com>
5117
5118 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5119 right line.
5120
1cbf5077
DB
51212014-08-18 David Blaikie <dblaikie@gmail.com>
5122
5123 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5124
bf0fae19
JB
51252014-08-18 Joel Brobecker <brobecker@adacore.com>
5126
5127 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5128 attribute in array range.
5129
3c8c5dcc
JB
51302014-08-18 Joel Brobecker <brobecker@adacore.com>
5131
5132 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5133
e66d4446
SC
51342014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5135
5136 PR c++/17132
5137 * gdb.cp/pr17132.cc: New file.
5138 * gdb.cp/pr17132.exp: New file.
5139
940df408
SC
51402014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5141
5142 * gdb.python/py-xmethods.py (A_getarrayind)
5143 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5144 Use 'print' with function call syntax.
5145 (E_method_matcher.match): Fix tab vs space indentation mixup.
5146
ebcc6c3a
YQ
51472014-08-15 Yao Qi <yao@codesourcery.com>
5148
5149 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5150 false.
5151
775e0f04
YQ
51522014-08-15 Yao Qi <yao@codesourcery.com>
5153
5154 * gdb.cp/casts.exp: Set print symbol off.
5155 * gdb.cp/class2.exp: Likewise.
5156 * gdb.cp/overload.exp: Likewise.
5157 * gdb.cp/templates.exp: Likewise.
5158
d769e349
DE
51592014-08-11 Doug Evans <dje@google.com>
5160
5161 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5162 (test_load_shlib): Update.
5163
20c6f1e1
YQ
51642014-08-09 Yao Qi <yao@codesourcery.com>
5165
5166 * gdb.base/display.exp: Invoke is_address_zero_readable.
5167 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5168 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5169 * gdb.base/hbreak-unmapped.exp: Return if
5170 is_address_zero_readable returns true.
5171 * gdb.base/signest.exp: Likewise.
5172 * gdb.base/signull.exp: Likewise.
5173 * gdb.base/sigbpt.exp: Likewise.
5174 * gdb.guile/scm-disasm.exp: Do the test if
5175 is_address_zero_readable returns false.
5176 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5177 * gdb.python/py-arch.exp: Likewise.
5178 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5179 * lib/gdb.exp (is_address_zero_readable): New proc.
5180
5792e8e3
YQ
51812014-08-09 Yao Qi <yao@codesourcery.com>
5182
5183 PR testsuite/13443
5184 * gdb.mi/mi-var-display.exp: Make test messages unique.
5185
3cecbbbe
TT
51862014-08-04 Tom Tromey <tromey@redhat.com>
5187
5188 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5189 target 0".
5190
00b51ff5
TT
51912014-08-04 Tom Tromey <tromey@redhat.com>
5192
5193 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5194 "target_resume".
5195
6908c509
JB
51962014-08-01 Joel Brobecker <brobecker@adacore.com>
5197
5198 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5199 inner_vla_struct_object_size.
5200 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5201 as xfail.
5202
cc6563d2
PA
52032014-07-30 Pedro Alves <palves@redhat.com>
5204
5205 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5206 comment.
5207
7e09a223
YQ
52082014-07-29 Yao Qi <yao@codesourcery.com>
5209
5210 PR gdb/17206
5211 * gdb.base/until-nodebug.exp: New.
5212
7ebdbe92
DE
52132014-07-28 Doug Evans <xdje42@gmail.com>
5214
5215 PR guile/17203
5216 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5217 previously existing parameter, and previously ambiguously spelled
5218 parameter.
5219
fdb1adc6
WN
52202014-07-28 Will Newton <will.newton@linaro.org>
5221
5222 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5223
186fcde0
DE
52242014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
5225 Doug Evans <xdje42@gmail.com>
5226
5227 PR guile/17146
5228 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5229
70509625
PA
52302014-07-25 Pedro Alves <palves@redhat.com>
5231
5232 * gdb.threads/signal-command-handle-nopass.c: New file.
5233 * gdb.threads/signal-command-handle-nopass.exp: New file.
5234 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5235 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5236 * gdb.threads/signal-delivered-right-thread.c: New file.
5237 * gdb.threads/signal-delivered-right-thread.exp: New file.
5238
c3f814a1
PA
52392014-07-25 Pedro Alves <palves@redhat.com>
5240
5241 * gdb.base/double-prompt-target-event-error.exp
5242 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5243 match.
5244 (cancel_pagination_in_target_event): Rework double prompt
5245 detection.
5246 * gdb.base/paginate-after-ctrl-c-running.exp
5247 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5248 <return>' match.
5249 * gdb.base/paginate-bg-execution.exp
5250 (test_bg_execution_pagination_return)
5251 (test_bg_execution_pagination_cancel): Remove '-notransfer
5252 <return>' matches.
5253 * gdb.base/paginate-execution-startup.exp
5254 (test_fg_execution_pagination_return)
5255 (test_fg_execution_pagination_cancel): Remove '-notransfer
5256 <return>' matches.
5257 * gdb.base/paginate-inferior-exit.exp
5258 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5259 match.
5260 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5261 * lib/gdb.exp (pagination_prompt): Run text through
5262 string_to_regexp.
5263 (gdb_test_multiple): Match $pagination_prompt instead of
5264 "<return>".
5265 (string_to_regexp): Move to lib/gdb-utils.exp.
5266
e214cf6c
JK
52672014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5268
5269 * gdb.arch/amd64-entry-value-paramref.S: New file.
5270 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5271 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5272 * gdb.arch/amd64-optimout-repeat.S: New file.
5273 * gdb.arch/amd64-optimout-repeat.c: New file.
5274 * gdb.arch/amd64-optimout-repeat.exp: New file.
5275
17d0c5c8
JK
52762014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5277
5278 PR gdb/17170
5279 * gdb.base/statistics.exp: New file.
5280
b8b8facf
DE
52812014-07-17 Doug Evans <dje@google.com>
5282
74b49205 5283 PR gdb/17170
b8b8facf
DE
5284 * gdb.base/maint.exp: Update testing of per-command stats.
5285
1b5d0ab3
PA
52862014-07-16 Pedro Alves <palves@redhat.com>
5287
5288 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5289 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5290 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5291 (tfile_write_buf): New functions.
5292 (add_memory_block): Rewrite using the above.
5293 (adjust_function_address): New function.
5294 (FUNCTION_ADDRESS): New macro.
5295 (write_basic_trace_file): Remove short_x local, and use
5296 tfile_write_16. Change type of func_addr local to unsigned long
5297 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5298 here. Cast argument of add_memory_block to char pointer.
5299 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5300 (main): Remove parameters.
5301 * gdb.trace/tfile.exp: Remove nowarnings.
5302
4d974e88
SM
53032014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5304
5305 * gdb.base/debug-expr.exp: Test string evaluation with
5306 "debug expression" on.
5307
41e99568
PA
53082014-07-15 Pedro Alves <palves@redhat.com>
5309
5310 * gdb.base/reread.exp: Use clean_restart.
5311
487d9753
PL
53122014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5313
5314 * gdb.arch/avr-flash-qualifer.c: New.
5315 * gdb.arch/avr-flash-qualifer.exp: New.
5316
cc1c52ad
PA
53172014-07-14 Pedro Alves <palves@redhat.com>
5318
5319 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5320 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5321
1e973570
PA
53222014-07-14 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.base/double-prompt-target-event-error.c: New file.
5325 * gdb.base/double-prompt-target-event-error.exp: New file.
5326
93d6eb10
PA
53272014-07-14 Pedro Alves <palves@redhat.com>
5328
5329 PR gdb/17072
5330 * gdb.base/paginate-inferior-exit.c: New file.
5331 * gdb.base/paginate-inferior-exit.exp: New file.
5332
0017922d
PA
53332014-07-14 Pedro Alves <palves@redhat.com>
5334
5335 PR gdb/17072
5336 * gdb.base/paginate-bg-execution.c: New file.
5337 * gdb.base/paginate-bg-execution.exp: New file.
5338
94696ad3
PA
53392014-07-14 Pedro Alves <palves@redhat.com>
5340
5341 PR gdb/17072
5342 * gdb.base/paginate-execution-startup.c: New file.
5343 * gdb.base/paginate-execution-startup.exp: New file.
5344 * lib/gdb.exp (pagination_prompt): New global.
5345 (default_gdb_spawn): New procedure, factored out from
5346 default_gdb_spawn.
5347 (default_gdb_start): Adjust to call default_gdb_spawn.
5348 (gdb_spawn): New procedure.
5349
bd293940
PA
53502014-07-14 Pedro Alves <palves@redhat.com>
5351
5352 * lib/gdb.exp (gdb_assert): New procedure.
5353 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
5354
c933f875
PA
53552014-07-14 Pedro Alves <palves@redhat.com>
5356
5357 * gdb.base/execution-termios.c: New file.
5358 * gdb.base/execution-termios.exp: New file.
5359
d98b7a16
TT
53602014-07-14 Tom Tromey <tromey@redhat.com>
5361
5362 * gdb.cp/vla-cxx.cc: New file.
5363 * gdb.cp/vla-cxx.exp: New file.
5364
548740d6
TT
53652014-07-14 Tom Tromey <tromey@redhat.com>
5366
5367 * gdb.reverse/rerun-prec.c: New file.
5368 * gdb.reverse/rerun-prec.exp: New file.
5369
a25eb028
MR
53702014-07-12 Maciej W. Rozycki <macro@mips.com>
5371 Maciej W. Rozycki <macro@codesourcery.com>
5372
5373 * lib/gdb-utils.exp: New file.
5374 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
5375 inline `gdb_init_command' processing.
5376 (gdb_start_cmd): Likewise.
5377 * lib/mi-support.exp (mi_run_cmd): Likewise.
5378 * README: Document `gdb_init_command' and `gdb_init_commands'.
5379
218c2655
JK
53802014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5381
5382 Fix false FAIL running under a very long directory name.
5383 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
5384 and "set print elements 10000". Twice.
5385
5401fde3
YQ
53862014-07-11 Yao Qi <yao@codesourcery.com>
5387
5388 * gdb.base/exprs.exp: "set print symbol off".
5389
e76126e8
PA
53902014-07-11 Pedro Alves <palves@redhat.com>
5391
5392 * gdb.threads/kill.c: New file.
5393 * gdb.threads/kill.exp: New file.
5394
2d6f0de6
YQ
53952014-07-10 Yao Qi <yao@codesourcery.com>
5396
5397 * gdb.trace/tfile.c (write_basic_trace_file)
5398 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
5399 address written to trace file.
5400
7180e04a
PA
54012014-07-09 Pedro Alves <palves@redhat.com>
5402
5403 * gdb.base/attach-wait-input.exp: New file.
5404 * gdb.base/attach-wait-input.c: New file.
5405
9a9a7608
AB
54062014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5407
5408 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
5409 setting up test structures.
5410 (main): Call new test function.
5411 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
5412 test function, continue into test function and walk test
5413 structures.
5414
161ac41e
YQ
54152014-07-02 Yao Qi <yao@codesourcery.com>
5416
5417 * gdb.trace/entry-values.c: Define labels 'foo_start' and
5418 'bar_start' at the beginning of functions 'foo' and 'bar'
5419 respectively.
5420 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
5421 instead of 'foo' and 'bar'.
5422
1f267ae3
MM
54232014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5424
5425 * gdb.btrace/segv.exp: New.
5426 * gdb.btrace/segv.c: New.
5427
2b239efb
LM
54282014-07-02 Luis Machado <lgustavo@codesourcery.com>
5429
5430 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
5431 instruction.
5432
cf363f18
MW
54332014-06-30 Mark Wielaard <mjw@redhat.com>
5434
5435 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
5436 vulture, vilify, villar): New volatile array constants.
5437 (vindictive, vegetation): New const volatile array constants.
5438 * gdb.base/volatile.exp: Test volatile and const volatile array
5439 types.
5440
aebf9d24
AA
54412014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
5442
5443 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
5444 target lacks support for awatch, rwatch, or hbreak.
5445
b67a2c6f
YQ
54462014-06-27 Yao Qi <yao@codesourcery.com>
5447
5448 * gdb.multi/dummy-frame-restore.exp: New.
5449 * gdb.multi/dummy-frame-restore.c: New.
5450
aef92902
MM
54512014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5452
5453 * gdb.btrace/gcore.exp: New.
5454
8e9db26e
PA
54552014-06-23 Pedro Alves <palves@redhat.com>
5456
5457 * gdb.base/watchpoint-reuse-slot.c: New file.
5458 * gdb.base/watchpoint-reuse-slot.exp: New file.
5459
70afc5b7
SC
54602014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5461
5462 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
5463 progspace's filename in 'info', 'enable' and 'disable' command
5464 tests.
5465
b972bd9c
JK
54662014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5467
5468 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
5469 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
5470 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
5471
125f8a3d
GB
54722014-06-20 Gary Benson <gbenson@redhat.com>
5473
5474 * gdb.arch/i386-avx.exp: Fix include file location.
5475 * gdb.arch/i386-sse.exp: Likewise.
5476
3ed9baed
IB
54772014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5478
5479 * gdb.dlang/expression.exp: New file.
5480
034f788c
PA
54812014-06-19 Pedro Alves <palves@redhat.com>
5482
5483 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
5484 out from ...
5485 (top level): ... here. Iterate running tests under different
5486 scheduler-locking settings.
5487
45371d0c
LM
54882014-06-18 Luis Machado <lgustavo@codesourcery.com>
5489
5490 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
5491 to DW_FORM_addr and use non-zero addresses.
5492
5d376983
SC
54932014-06-18 Siva Chandra Reddy <sivachandra@google.com>
5494
5495 PR gdb/17017
5496 * gdb.python/py-xmethods.cc: Add global function call counters and
5497 increment them in their respective functions. Remove "cout"
5498 statements.
5499 * gdb.python/py-xmethods.exp: Make tests check the global function
5500 call counters instead of depending on inferior IO.
5501
a1aa2221
LM
55022014-06-18 Don Breazeal <donb@codesourcery.com>
5503
5504 * gdb.base/foll-fork.exp (default_fork_parent_follow):
5505 Deleted procedure.
5506 (explicit_fork_parent_follow): Deleted procedure.
5507 (explicit_fork_child_follow): Deleted procedure.
5508 (test_follow_fork): New procedure.
5509 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 5510 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
5511 procedure calls.
5512
0fc05997
YQ
55132014-06-17 Yao Qi <yao@codesourcery.com>
5514
5515 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
5516 CP1252.
5517
70795c52
LM
55182014-06-17 Luis Machado <lgustavo@codesourcery.com>
5519
5520 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
5521 Initialize ptr and S explicitly.
5522 (skip_type_update_when_not_use_rtti_test): Likewise.
5523
6be47f0c
KS
55242014-06-16 Keith Seitz <keiths@redhat.com>
5525
5526 PR mi/15863
5527 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5528 the inferior is started.
5529
d03de421
PA
55302014-06-16 Pedro Alves <palves@redhat.com>
5531
5532 * gdb.base/break-main-file-remove-fail.c: New file.
5533 * gdb.base/break-main-file-remove-fail.exp: New file.
5534 * gdb.base/break-unload-file.exp: Use build_executable instead of
5535 prepare_for_testing.
5536 (test_break): New parameter "initial_load". Handle it.
5537 (top level): Add initial_load cmdline/file axis.
5538
f9579b99
TT
55392014-06-12 Tom Tromey <tromey@redhat.com>
5540
5541 * gdb.base/completion.exp: Don't use directory name in test.
5542
3657956b
GB
55432014-06-09 Gary Benson <gbenson@redhat.com>
5544
5545 * gdb.base/sigall.c [Functions to send signals]: Reorder to
5546 separate the always-available ANSI-standard signals from the
5547 signals that require checking.
5548 (main): Likewise.
5549 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
5550 Likewise.
5551 (main): Likewise.
5552
4186eb54
KS
55532014-06-07 Keith Seitz <keiths@redhat.com>
5554
5555 Revert:
5556 PR c++/16253
5557 * gdb.cp/var-tag.cc: New file.
5558 * gdb.cp/var-tag.exp: New file.
5559 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
5560 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
5561 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5562 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5563
25326a28 55642014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
5565
5566 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5567
829155c9
PA
55682014-06-06 Pedro Alves <palves@redhat.com>
5569
5570 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
5571 in target debug output instead of looking at RSP packets,
5572 disabling the test on any target that uses hardware stepping.
5573 Update comments.
5574
61c8d22e
PA
55752014-06-06 Pedro Alves <palves@redhat.com>
5576
5577 * gdb.base/break-unload-file.exp: Fix typo.
5578
d9a47287
YQ
55792014-06-06 Yao Qi <yao@codesourcery.com>
5580
5581 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
5582 from "jit_function" to "^jit_function".
5583
e5e01dbf
YQ
55842014-06-06 Yao Qi <yao@codesourcery.com>
5585
5586 * gdb.base/async.c (foo): Add one statement.
5587 * gdb.base/async.exp: Get the next instruction address and
5588 match the output of "nexti" by instruction address. Match
5589 the hex address in the output of "finish".
5590
73ba372c
GB
55912014-06-06 Gary Benson <gbenson@redhat.com>
5592
5593 * gdb.base/call-signals.c: Remove preprocessor conditionals
5594 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5595 SIGSEGV and SIGTERM.
5596 * gdb.base/sigall.c: Likewise.
5597 * gdb.base/unwindonsignal.c: Likewise.
5598 * gdb.reverse/sigall-reverse.c: Likewise.
5599
831517df
YQ
56002014-06-06 Yao Qi <yao@codesourcery.com>
5601
5602 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
5603 readable, skip the test.
5604
b8b91e98
YQ
56052014-06-06 Yao Qi <yao@codesourcery.com>
5606
5607 * gdb.threads/staticthreads.c (thread_function): Move the line
5608 setting breakpoint on forward.
5609 * gdb.threads/staticthreads.exp: Update comments.
5610
fb934770
LC
56112014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
5612
5613 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
5614 "history-append! type error".
5615
6ef284bd
SM
56162014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5617
5618 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
5619 erroneous dprintf expected input.
5620
a872e241
DE
56212014-06-04 Doug Evans <xdje42@gmail.com>
5622
5623 * gdb.guile/scm-generics.exp: Delete.
5624
16f691fb
DE
56252014-06-04 Doug Evans <xdje42@gmail.com>
5626
5627 * gdb.guile/scm-breakpoint.exp: Update.
5628 Add tests for breakpoint registration.
5629
012370f6
TT
56302014-06-04 Tom Tromey <tromey@redhat.com>
5631
5632 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5633 VLA-in-union.
5634 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
5635 inner_vla_struct, vla_union types. Initialize objects of those
5636 types and compute their sizes.
5637
9f5a4cef
HZ
56382014-06-04 Nathan Sidwell <nathan@codesourcery.com>
5639 Hui Zhu <hui@codesourcery.com>
5640
5641 * gdb.base/fileio.exp: Add test for shell not available as well as
5642 available.
5643 * gdb.base/fileio.c (test_system): Check for shell twice.
5644
90a45c4d
YQ
56452014-06-04 Yao Qi <yao@codesourcery.com>
5646
5647 * gdb.base/auto-connect-native-target.exp: Remove redundant
5648 space from the regexp pattern.
5649
70017e41
YQ
56502014-06-04 Yao Qi <yao@codesourcery.com>
5651
5652 * gdb.base/default.exp: Replace "child" with "native" in
5653 regexp pattern.
5654
883964a7
SC
56552014-06-03 Siva Chandra Reddy <sivachandra@google.com>
5656
5657 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
5658 * gdb.python/py-xmethods.exp: New tests to test xmethods.
5659 * gdb.python/py-xmethods.py: Python script supporting the
5660 new testcase and tests.
5661
ef370185
JB
56622014-06-03 Joel Brobecker <brobecker@adacore.com>
5663 Pedro Alves <palves@redhat.com>
5664
5665 PR breakpoints/17000
5666 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
5667 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
5668
1e2ccb61
BM
56692014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
5670
5671 * gdb.base/subst.exp: Add tests to verify partial path matching
5672 output.
5673
c6ec5ab2
PA
56742014-06-03 Pedro Alves <palves@redhat.com>
5675
5676 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
5677 target that doesn't use software single-stepping.
5678
835c559f
PA
56792014-06-03 Pedro Alves <palves@redhat.com>
5680
5681 PR breakpoints/17000
5682 * gdb.base/sss-bp-on-user-bp-2.c: New file.
5683 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
5684
06eb1586
DE
56852014-06-02 Doug Evans <xdje42@gmail.com>
5686
5687 * gdb.guile/scm-parameter.exp: New file.
5688
e698b8c4
DE
56892014-06-02 Doug Evans <xdje42@gmail.com>
5690
5691 * gdb.guile/scm-cmd.c: New file.
5692 * gdb.guile/scm-cmd.exp: New file.
5693
ded03782
DE
56942014-06-02 Doug Evans <xdje42@gmail.com>
5695
5696 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
5697 pretty-printer lookup.
5698 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
5699 (make-pp_s-printer): Call it.
5700 (make-pretty-printer-from-dict): New function.
5701 (lookup-pretty-printer-maker-from-dict): New function.
5702 (*pretty-printer*): Simplify.
5703 (make-objfile-pp_s-printer): New function.
5704 (install-objfile-pretty-printers!): New function.
5705 (make-progspace-pp_s-printer): New function.
5706 (install-progspace-pretty-printers!): New function.
5707 * gdb.guile/scm-progspace.c: New file.
5708 * gdb.guile/scm-progspace.exp: New file.
5709
41fac0cf
PA
57102014-06-02 Pedro Alves <palves@redhat.com>
5711
5712 * gdb.base/dprintf-bp-same-addr.c: New file.
5713 * gdb.base/dprintf-bp-same-addr.exp: New file.
5714
96ae5695
EBM
57152014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5716
5717 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
5718 * gdb.arch/powerpc-power.s: Likewise.
5719
da02b3a8
JB
57202014-06-02 Joel Brobecker <brobecker@adacore.com>
5721
5722 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
5723
c72b2e7b
YQ
57242014-06-01 Yao Qi <yao@codesourcery.com>
5725
5726 * gdb.base/watchpoint.exp (test_watch_location): Check null
5727 pointer can be dereferenced. If not, do the test, otherwise
5728 skip it.
5729
53e8a631
AB
57302014-05-30 Andrew Burgess <aburgess@broadcom.com>
5731
5732 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
5733 results.
5734 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
5735
938f0e2f
AB
57362014-05-30 Andrew Burgess <aburgess@broadcom.com>
5737
5738 * gdb.arch/amd64-invalid-stack-middle.S: New file.
5739 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5740 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
5741 * gdb.arch/amd64-invalid-stack-top.c: New file.
5742 * gdb.arch/amd64-invalid-stack-top.exp: New file.
5743
9ba6657a
PA
57442014-05-30 Pedro Alves <palves@redhat.com>
5745
5746 PR breakpoints/17000
5747 * gdb.base/sss-bp-on-user-bp.c: New file.
5748 * gdb.base/sss-bp-on-user-bp.exp: New file.
5749
522c09bf
DB
57502014-05-30 David Blaikie <dblaikie@gmail.com>
5751
5752 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
5753 gnu_inline semantics via attribute.
5754 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
5755 source explicitly specifies the required semantics.
5756
bf4ef81e
MR
57572014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
5758
5759 * gdb.reverse/sigall-reverse.exp: Fix a typo.
5760
329ea579
PA
57612014-05-29 Pedro Alves <palves@redhat.com>
5762 Tom Tromey <tromey@redhat.com>
5763
5764 * gdb.base/async-shell.exp: Don't enable target-async.
5765 * gdb.base/async.exp
5766 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
5767 parameter. Adjust.
5768 (top level): Don't test with "target-async".
5769 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
5770 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
5771 * gdb.base/inferior-died.exp: Don't enable target-async.
5772 * gdb.base/interrupt-noterm.exp: Likewise.
5773 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
5774 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5775 * gdb.mi/mi-nonstop.exp: Likewise.
5776 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5777 * gdb.mi/mi-nsintrall.exp: Likewise.
5778 * gdb.mi/mi-nsmoribund.exp: Likewise.
5779 * gdb.mi/mi-nsthrexec.exp: Likewise.
5780 * gdb.mi/mi-watch-nonstop.exp: Likewise.
5781 * gdb.multi/watchpoint-multi.exp: Adjust comment.
5782 * gdb.python/py-evsignal.exp: Don't enable target-async.
5783 * gdb.python/py-evthreads.exp: Likewise.
5784 * gdb.python/py-prompt.exp: Likewise.
5785 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
5786 * gdb.server/solib-list.exp: Don't enable target-async.
5787 * gdb.threads/thread-specific-bp.exp: Likewise.
5788 * lib/mi-support.exp: Adjust to use mi-async.
5789
fd664c91
PA
57902014-05-29 Pedro Alves <palves@redhat.com>
5791
5792 PR gdb/13860
5793 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
5794 reason, even in sync mode.
5795
251bde03
PA
57962014-05-29 Pedro Alves <palves@redhat.com>
5797 Hui Zhu <hui@codesourcery.com>
5798
5799 PR PR15693
5800 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
5801 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
5802 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
5803 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
5804
7f3c0343
JB
58052014-05-28 Joel Brobecker <brobecker@adacore.com>
5806
5807 * config/monitor.exp (gdb_target_monitor): Replace use of
5808 "set remotebaud" by "set serial baud".
5809
b2715b27
AW
58102014-05-26 Andy Wingo <wingo@igalia.com>
5811
5812 * gdb.guile/scm-breakpoint.exp:
5813 * gdb.guile/scm-gsmob.exp: Update to use plain old object
5814 properties instead of gdb-object-properties.
5815
498a4489
YQ
58162014-05-26 Yao Qi <yao@codesourcery.com>
5817
5818 * gdb.server/no-thread-db.exp: Specify source file name
5819 explicitly when setting a breakpoint.
5820
589fdceb
MM
58212014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5822
5823 * gdb.btrace/vdso.c: New.
5824 * gdb.btrace/vdso.exp: New.
5825
e9089e05
MM
58262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5827
5828 * gdb.base/gcore.exp (capture_command_output): Move ...
5829 * lib/gdb.exp (capture_command_output): ... here.
5830
67b5c0c1
MM
58312014-05-23 Markus Metzger <markus.t.metzger@intel.com>
5832
5833 * gdb.btrace/data.exp: Test memory access during btrace replay.
5834
a2199296
SM
58352014-05-22 Simon Marchi <simon.marchi@ericsson.com>
5836
5837 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
5838
17b2616c
PA
58392014-05-21 Pedro Alves <palves@redhat.com>
5840
5841 PR gdb/13860
5842 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
5843 (top level): Test that output related to execution commands is
5844 sent to the console with CLI commands, but not with MI commands.
5845 Test that breakpoint events are always mirrored to the console.
5846 Also expect the new source line to be output after a "next" in
5847 async mode too. Make it a pass/fail test.
5848 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
5849 output.
5850 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
5851
5166082f
PA
58522014-05-21 Pedro Alves <palves@redhat.com>
5853
5854 * gdb.base/list.exp (build_pattern, test_list): New procedures.
5855 Use them to test variations of "list" after reaching a breakpoint.
5856 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
5857 Test "list" with listsize 10 after reaching a breakpoint.
5858 * gdb.python/python.exp (decode_line current location line
5859 number): Adjust expected line number.
5860
2f25d70f
SM
58612014-05-21 Simon Marchi <simon.marchi@ericsson.com>
5862
5863 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
5864 behavior for $args, pass it directly to "run".
5865
ff604a67
MR
58662014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5867
5868 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
5869 30000 to 65536.
5870
6a3cb8e8
PA
58712014-05-21 Pedro Alves <palves@redhat.com>
5872
5873 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
5874 auto-connect-native-target off".
5875 * gdb.base/auto-connect-native-target.c: New file.
5876 * gdb.base/auto-connect-native-target.exp: New file.
5877
4ebfc96e
PA
58782014-05-21 Pedro Alves <palves@redhat.com>
5879
5880 * gdb.base/default.exp: Test "target native" instead of "target
5881 child".
5882
36d46afb
MW
58832014-05-21 Mark Wielaard <mjw@redhat.com>
5884
5885 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5886
5876f503
JK
58872014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5888
5889 Fix TLS access for -static -pthread.
5890 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
5891 <HAVE_TLS> (thread_function, main): Initialize it.
5892 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
5893 Add clean_restart.
5894 <$have_tls != "">: Check TLSVAR.
5895
0256a6ac
PA
58962014-05-21 Pedro Alves <palves@redhat.com>
5897
5898 * gdb.base/dcache-line-read-error.c: New.
5899 * gdb.base/dcache-line-read-error.exp: New.
5900
936d2992
PA
59012014-05-20 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.base/compare-sections.c: New file.
5904 * gdb.base/compare-sections.exp: New file.
5905
802e8e6d
PA
59062014-05-20 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.base/break-idempotent.c: New file.
5909 * gdb.base/break-idempotent.exp: New file.
5910
e59fa00f
MM
59112014-05-20 Markus Metzger <markus.t.metzger@intel.com>
5912
5913 * gdb.btrace/nohist.exp: New.
5914
8b696e31
YQ
59152014-05-20 Yao Qi <yao@codesourcery.com>
5916
5917 * lib/gdb.exp (gdb_init): Set timeout if test file is under
5918 gdb.reverse directory and gdb_reverse_timeout exists in board
5919 setting.
5920 * README: Document gdb_reverse_timeout.
5921
73c9764f
YQ
59222014-05-20 Yao Qi <yao@codesourcery.com>
5923
5924 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
5925 'test_file_name'. Treat args as a string instead of a list.
5926 (gdb_init): Rename argument 'args' by 'test_file_name'.
5927
f1f4348a
JK
59282014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5929
5930 * gdb.arch/powerpc-power.exp: New file.
5931 * gdb.arch/powerpc-power.s: New file.
5932
0dbe70ce
DE
59332014-05-16 Doug Evans <dje@google.com>
5934
5935 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
5936 * gdb.base/completion.exp: Check that all expected files exist
5937 before doing file completion.
0dbe70ce 5938
8d551b02
DE
59392014-05-16 Doug Evans <dje@google.com>
5940
5941 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
5942 Update.
5943 (do_syscall_tests_without_xml): Update.
5944
73eb7709
PA
59452014-05-16 Pedro Alves <palves@redhat.com>
5946
5947 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
5948 instead of "unknown output after running".
5949
3fae92fc
YQ
59502014-05-16 Yao Qi <yao@codesourcery.com>
5951
5952 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
5953 file1.txt from host at the end.
5954 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5955
c2b2ccc5
DE
59562014-05-15 Doug Evans <dje@google.com>
5957
5958 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
5959 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
5960 loading file. Add test for TU lookup.
5961
8c217a4b
SM
59622014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5963
5964 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
5965 calling "-exec-arguments" or "set args" before running the
5966 inferior.
5967
3deb39c6
SM
59682014-05-15 Simon Marchi <simon.marchi@ericsson.com>
5969
5970 * lib/mi-support.exp (mi_expect_stop): Expect message for
5971 inferiors that exit with non-zero exit code.
5972
71a79f8c
YQ
59732014-05-14 Yao Qi <yao@codesourcery.com>
5974
5975 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
5976 match absolute path on remote host.
5977 (test_file_list_exec_source_files): Remove "/" from the
5978 pattern.
5979
f23fcd46
YQ
59802014-05-14 Yao Qi <yao@codesourcery.com>
5981
5982 * boards/local-remote-host-notty.exp (${board}_file): New
5983 proc.
5984
9404b58f
KM
59852014-05-07 Kyle McMartin <kyle@redhat.com>
5986
5987 Pushed by Joel Brobecker <brobecker@adacore.com>.
5988 * gdb.arch/aarch64-atomic-inst.c: New file.
5989 * gdb.arch/aarch64-atomic-inst.exp: New file.
5990
5e45f04c
YQ
59912014-05-07 Yao Qi <yao@codesourcery.com>
5992
5993 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
5994 in current context" too.
5995
c888a17d
KS
59962014-05-05 Keith Seitz <keiths@redhat.com>
5997
5998 * gdb.linespec/ls-dollar.exp: Add test for linespec
5999 file:convenience_variable.
6000
290a839c
YQ
60012014-05-05 Yao Qi <yao@codesourcery.com>
6002
6003 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6004 traceframes into tfile and ctf trace files. Read data from
6005 trace file and test collected data.
6006 (gdb_collect_locals_test): Likewise.
6007 (gdb_unavailable_registers_test): Likewise.
6008 (gdb_unavailable_floats): Likewise.
6009 (gdb_collect_globals_test): Likewise.
6010 (top-level): Append "ctf" to trace_file_targets if GDB
6011 supports.
6012
b5262cd0
YQ
60132014-05-05 Yao Qi <yao@codesourcery.com>
6014
6015 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6016 code to ...
6017 (gdb_collect_args_test_1): ... it. New proc.
6018 (gdb_collect_locals_test): Move some code to ...
6019 (gdb_collect_locals_test_1): ... it. New proc.
6020 (gdb_unavailable_registers_test): Move some code to ...
6021 (gdb_unavailable_registers_test_1): ... it. New proc.
6022 (gdb_unavailable_floats): Move some code to ...
6023 (gdb_unavailable_floats_1): ... it. New proc.
6024
30a1e6cc
SDJ
60252014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6026
6027 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6028 probes to test for bitness recognition.
6029 * gdb.arch/amd64-stap-optional-prefix.exp
6030 (test_probe_value_without_reg): New procedure.
6031 Add code to test for different kinds of bitness.
6032
f33da99a
SDJ
60332014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6034
6035 PR breakpoints/16889
6036 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6037 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6038
5b80f00d
PA
60392014-05-01 Pedro Alves <palves@redhat.com>
6040
6041 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6042 gdb_file_cmd if no file is specified.
6043 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6044 last_loaded_file to set the remote exec-file.
6045
f8c2a73c
PA
60462014-05-01 Pedro Alves <palves@redhat.com>
6047
6048 * boards/local-remote-host.exp: New file.
6049
be6e8ac7
PA
60502014-05-01 Pedro Alves <palves@redhat.com>
6051
6052 * boards/local-remote-host.exp: Rename to ...
6053 * boards/local-remote-host-notty.exp: ... this.
6054
cac0dc8f
JB
60552014-04-28 Joel Brobecker <brobecker@adacore.com>
6056
6057 * gdb.ada/dyn_arrayidx: New testcase.
6058
9730e6cc
YQ
60592014-04-26 Yao Qi <yao@codesourcery.com>
6060
6061 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6062 and compute the length of function main. Save it in
6063 $main_length.
6064 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6065 (top-level): Use gdb_compile to compile objects into
6066 executable and restart GDB. Remove invocation to
6067 prepare_for_testing.
6068
7ae1a6a6
PA
60692014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6070 Pedro Alves <palves@redhat.com>
6071
6072 PR server/16255
6073 * gdb.multi/multi-attach.c: New file.
6074 * gdb.multi/multi-attach.exp: New file.
6075
4082afcc
PA
60762014-04-25 Pedro Alves <palves@redhat.com>
6077
6078 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6079 user.
6080 (top level): Test that "set remote conditional-breakpoints-packet
6081 off" works as intended.
6082 * gdb.base/dprintf.exp: Test that "set remote
6083 breakpoint-commands-packet off" works as intended.
6084 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6085 New function.
6086 (top level): Call it.
6087 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6088 remote fast-tracepoints-packet off" works as intended.
6089 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6090 * lib/gdb.exp (gdb_is_target_remote): ... here.
6091
2abc3f8d
DB
60922014-04-24 David Blaikie <dblaikie@gmail.com>
6093
6094 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6095 ensure clang would not discard them.
6096 * gdb.base/gdbvars.c: Ditto.
6097 * gdb.base/memattr.c: Ditto.
6098 * gdb.base/whatis.c: Ditto.
6099 * gdb.python/py-prettyprint.c: Ditto.
6100 * gdb.trace/actions.c: Ditto.
6101 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6102 ensure clang would not discard it.
6103
bfd39632
DB
61042014-04-24 David Blaikie <dblaikie@gmail.com>
6105
6106 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6107 clang to emit the full definition of type required by the test
6108 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6109
22842ff6
DB
61102014-04-24 David Blaikie <dblaikie@gmail.com>
6111
6112 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6113 coax Clang into emitting the definition of the type.
6114 * gdb.cp/pr10728-x.h (y): Ditto.
6115 * gdb.cp/pr10728-y.cc (y): Ditto.
6116
c2e827ad
DB
61172014-04-24 David Blaikie <dblaikie@gmail.com>
6118
6119 * gdb.base/label.exp: XFAIL label related tests under Clang.
6120 * gdb.cp/cplabel.exp: Ditto.
6121 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6122 under Clang those using labels.
6123
4c2d33e7
YQ
61242014-04-25 Yao Qi <yao@codesourcery.com>
6125
6126 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6127 double_label.
6128 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6129 partial_label and double_label.
6130
56083b99
DB
61312014-04-24 David Blaikie <dblaikie@gmail.com>
6132
6133 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6134
25d4e99d
DB
61352014-04-24 David Blaikie <dblaikie@gmail.com>
6136
6137 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6138 of the function to work across GCC and Clang.
6139 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6140 pointer types (const void ** const V void **).
6141
01f9f808
MS
61422014-04-24 Michael Sturm <michael.sturm@mintel.com>
6143 Walfred Tedeschi <walfred.tedeschi@intel.com>
6144
6145 * Makefile.in (EXECUTABLES): Added i386-avx512.
6146 * gdb.arch/i386-avx512.c: New file.
6147 * gdb.arch/i386-avx512.exp: Likewise.
6148
4b48d439
KS
61492014-04-23 Keith Seitz <keiths@redhat.com>
6150
6151 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6152 (mi_make_breakpoint_table): New procedure.
6153 (mi_create_breakpoint): Use mi_make_breakpoint
6154 and return the result.
6155 (mi_make_breakpoint): New procedure.
6156 (mi_build_kv_pairs): New procedure.
6157
6158 * gdb.mi/mi-break.exp: Remove unused globals,
6159 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6160 All callers updated.
6161 * gdb.mi/mi-dprintf.exp: Use variable to track command
6162 number.
6163 Update all callers of mi_create_breakpoint and use
6164 mi_make_breakpoint_table.
6165 Remove any unused global variables.
6166 * gdb.mi/mi-nonstop.exp: Likewise.
6167 * gdb.mi/mi-nsintrall.exp: Likewise.
6168 * gdb.mi/mi-nsmoribund.exp: Likewise.
6169 * gdb.mi/mi-nsthrexec.exp: Likewise.
6170 * gdb.mi/mi-reverse.exp: Likewise.
6171 * gdb.mi/mi-simplerun.exp: Likewise.
6172 * gdb.mi/mi-stepn.exp: Likewise.
6173 * gdb.mi/mi-syn-frame.exp: Likewise.
6174 * gdb.mi/mi-until.exp: Likewise.
6175 * gdb.mi/mi-var-cp.exp: Likewise.
6176 * gdb.mi/mi-var-display.exp: Likewise.
6177 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6178 * gdb.mi/mi2-var-child.exp: Likewise.
6179 * gdb.mi/mi-vla-c99.exp: Likewise.
6180 * lib/mi-support.exp: Likewise.
6181
6182 From Ian Lance Taylor <iant@cygnus.com>:
6183 * lib/gdb.exp (parse_args): New procedure.
6184
08351840
PA
61852014-04-23 Pedro Alves <palves@redhat.com>
6186
6187 * gdb.base/break-unload-file.c: New file.
6188 * gdb.base/break-unload-file.exp: New file.
6189 * gdb.base/sym-file-lib.c (baz): New function.
6190 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6191 field.
6192 (load): Store the segment's mapped size.
6193 (unload): New function.
6194 (unload_shlib): New function.
6195 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6196 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6197 set a breakpoint at baz, and call it.
6198 * gdb.base/sym-file.exp: New tests for stale breakpoint
6199 instructions.
6200
076855f9
PA
62012014-04-23 Pedro Alves <palves@redhat.com>
6202
6203 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6204 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6205 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6206 * gdb.base/hbreak-unmapped.c: New file.
6207 * gdb.base/hbreak-unmapped.exp: New file.
6208 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6209 * lib/gdb.exp (gdb_is_target_remote): ... here.
6210
483805cf
PA
62112014-04-22 Pedro Alves <palves@redhat.com>
6212
6213 * gdb.base/consecutive-step-over.c: New file.
6214 * gdb.base/consecutive-step-over.exp: New file.
6215
06d97543
PA
62162014-04-22 Pedro Alves <palves@redhat.com>
6217
6218 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6219 instead of send_gdb/gdb_expect.
6220
b4429ea2
YQ
62212014-04-22 Yao Qi <yao@codesourcery.com>
6222
6223 * lib/trace-support.exp (generate_tracefile): New procedure.
6224 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6225 return 0.
6226 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6227 if generate_tracefile returns 1.
6228
51d48146
PA
62292014-04-18 Tom Tromey <palves@redhat.com>
6230 Pedro alves <tromey@redhat.com>
6231
6232 PR backtrace/15558
6233 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6234 with a backtrace limit.
6235 * gdb.python/py-frame-inline.exp: Test running to an inline
6236 function with a backtrace limit, and printing the newest frame.
6237 * gdb.python/py-frame-inline.c (main): Call f.
6238
bd1dce5f
MS
62392014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6240
6241 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6242
40d1a503
MS
62432014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6244
6245 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6246 Drop prefix from unsupported source file path.
6247
389b98f7
YQ
62482014-04-17 Yao Qi <yao@codesourcery.com>
6249
6250 * lib/gdb.exp (with_target_charset): New proc.
6251 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6252 with_target_charset.
6253 (test_print_strings): Likewise.
6254 (test_repeat_bytes): Likewise.
6255 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6256 for some tests.
6257
22869d73
KS
62582014-04-16 Keith Seitz <keiths@redhat.com>
6259
6260 PR gdb/15827
6261 * gdb.dwarf2/corrupt.c: New file.
6262 * gdb.dwarf2/corrupt.exp: New file.
6263
c4f87ca6
KS
62642014-04-16 Keith Seitz <keiths@redhat.com>
6265
6266 PR c++/16597
6267 * gdb.cp/namelessclass.cc: New file.
6268 * gdb.cp/namelessclass.exp: New file.
6269 * gdb.cp/namelessclass.S: New file.
6270
ab19de87
DE
62712014-04-16 Doug Evans <dje@google.com>
6272
6273 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6274 Add comment.
6275 (gdbserver_default_get_comm_port): New function.
6276 (gdbserver_start): Check if board file provided
6277 "gdbserver,get_comm_port" and use it if so.
6278 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6279 (gdb,socketport): Set to "stdio".
6280 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6281 (stdio_gdbserver_template): Delete.
6282 (${board}_get_remote_address): Update.
6283 (${board}_build_remote_cmd): Delete.
6284 (${board}_get_comm_port): New function.
6285 (${board}_spawn): Update.
6286 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6287 Delete.
6288 (${board}_get_remote_address): Update.
6289 (${board}_get_comm_port): New function.
6290
fc98a809
AB
62912014-04-16 Andrew Burgess <aburgess@broadcom.com>
6292
6293 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6294 appearing in any order.
6295
87fd9e6e
DE
62962014-04-15 Doug Evans <dje@google.com>
6297
6298 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6299 uninitialized value of "description".
6300
099fc3ea
KS
63012014-04-15 Keith Seitz <keiths@redhat.com>
6302
6303 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6304 Remove unused globals.
6305 (test_running_the_program): Likewise.
6306 (test_controlled_execution): Likewise.
6307 (test_controlling_breakpoints): Likewise.
6308 (test_program_termination): Likewise.
6309
5da151d4
KS
63102014-04-15 Keith Seitz <keiths@redhat.com>
6311
6312 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6313 unused globals.
6314 (test_rbreak_creation_and_listing): Likewise.
6315 (test_ignore_count): Likewise.
6316 (test_error): Likewise.
6317
35e5d2f0
PA
63182014-04-15 Pedro Alves <palves@redhat.com>
6319
6320 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6321 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6322 sym-file-loader.c.
6323 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6324 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6325 to sym-file-loader.c.
6326 (struct library): Forward declare.
6327 (load_shlib, lookup_function): Change prototypes.
6328 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6329 (translate_offset): Remove declarations.
6330 (get_text_addr): New declaration.
6331 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
6332 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
6333 sym-file-loader.h.
6334 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6335 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6336 here from sym-file-loader.h.
6337 (struct library): New structure.
6338 (load_shlib, lookup_function): Change prototypes and adjust to
6339 work with a struct library.
6340 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6341 (translate_offset): Make static.
6342 (get_text_addr): New function.
6343 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
6344
eb4c1710
PA
63452014-04-15 Pedro Alves <palves@redhat.com>
6346
6347 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
6348
2d1baf52
PA
63492014-04-15 Pedro Alves <palves@redhat.com>
6350
6351 * gdb.base/sym-file-loader.c: Include <limits.h>.
6352 (SELF_LINK): New define.
6353 (get_origin): New function.
6354 (load_shlib): Use it.
6355 * gdb.base/sym-file.exp: Don't early return if the target is
6356 remote. Use runto_main, and issue fail is that fails. Use
6357 gdb_load_shlibs.
6358 (shlib_name): Delete.
6359 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
6360
7dd6df01
PA
63612014-04-15 Pedro Alves <palves@redhat.com>
6362
6363 * gdb.base/sym-file.exp: Remove regex characters from test
6364 message. Don't refer to breakpoint numbers in test messages.
6365
b50c8614
KS
63662014-04-14 Keith Seitz <keiths@redhat.com>
6367
6368 PR c++/16253
6369 * gdb.cp/var-tag.cc: New file.
6370 * gdb.cp/var-tag.exp: New file.
6371 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6372 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6373 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6374 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6375
3d567982
TT
63762014-04-14 Tom Tromey <tromey@redhat.com>
6377
6378 * gdb.cp/classes.exp (test_enums): Handle underlying type.
6379 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
6380 type.
6381 * gdb.cp/enum-class.exp: New file.
6382 * gdb.cp/enum-class.cc: New file.
6383
0626fc76
TT
63842014-04-14 Tom Tromey <tromey@redhat.com>
6385
6386 * gdb.dwarf2/enum-type.exp: New file.
6387
dca325b3
SA
63882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6389
6390 * gdb.mi/mi-vla-c99.exp: New file.
6391 * gdb.mi/vla.c: New file.
6392
5854b38a
SA
63932014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6394
6395 * gdb.base/vla-datatypes.c: New file.
6396 * gdb.base/vla-datatypes.exp: New file.
6397
463bb957
SA
63982014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6399
6400 * gdb.base/vla-ptr.c: New file.
6401 * gdb.base/vla-ptr.exp: New file.
6402
3dd170be
SA
64032014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6404
6405 * gdb.dwarf2/count.exp: New file.
6406
5ecaaa66
SA
64072014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
6408
6409 * gdb.base/vla-sideeffect.c: New file.
6410 * gdb.base/vla-sideeffect.exp: New file.
6411
41f1ada5
DB
64122014-04-14 David Blaikie <dblaikie@gmail.com>
6413
6414 * gdb.mi/non-stop.c: Add return value for non-void function return
6415 statement.
6416 * gdb.threads/staticthreads.c: Ditto.
6417
0be03e84
DE
64182014-04-12 Siva Chandra Reddy <sivachandra@google.com>
6419 Doug Evans <xdje42@gmail.com>
6420
6421 * gdb.guile/scm-value.c: Improve test case.
6422 * gdb.guile/scm-value.exp: Add new test.
6423
f180a1fb
DB
64242014-04-11 David Blaikie <dblaikie@gmail.com>
6425
6426 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
6427 override Clang's default.
6428
6b662e19
JB
64292014-04-11 Joel Brobecker <brobecker@adacore.com>
6430
6431 Revert the following changes (regressions):
6432
6433 * gdb.base/vla-sideeffect.c: New file.
6434 * gdb.base/vla-sideeffect.exp: New file.
6435
6436 * gdb.dwarf2/count.exp: New file.
6437
6438 * gdb.base/vla-multi.c: New file.
6439 * gdb.base/vla-multi.exp: New file.
6440
6441 * gdb.base/vla-ptr.c: New file.
6442 * gdb.base/vla-ptr.exp: New file.
6443
6444 * gdb.base/vla-datatypes.c: New file.
6445 * gdb.base/vla-datatypes.exp: New file.
6446
6447 * gdb.mi/mi-vla-c99.exp: New file.
6448 * gdb.mi/vla.c: New file.
6449
245a5f0b
KS
64502014-04-11 Keith Seitz <keiths@redhat.com>
6451
6452 PR c++/16675
6453 * gdb.cp/cpsizeof.exp: New file.
6454 * gdb.cp/cpsizeof.cc: New file.
6455
58a84dcf
SA
64562014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6457
191a8a90
JB
6458 * gdb.mi/mi-vla-c99.exp: New file.
6459 * gdb.mi/vla.c: New file.
58a84dcf 6460
c8655f75
SA
64612014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6462
6463 * gdb.base/vla-datatypes.c: New file.
6464 * gdb.base/vla-datatypes.exp: New file.
6465
024e13b4
SA
64662014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6467
6468 * gdb.base/vla-ptr.c: New file.
6469 * gdb.base/vla-ptr.exp: New file.
6470
1a237e0e
SA
64712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6472
6473 * gdb.base/vla-multi.c: New file.
6474 * gdb.base/vla-multi.exp: New file.
6475
504f3432
SA
64762014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6477
6478 * gdb.dwarf2/count.exp: New file.
6479
3bce8237
SA
64802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
6481
191a8a90
JB
6482 * gdb.base/vla-sideeffect.c: New file.
6483 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 6484
322f9c21
YQ
64852014-04-11 Yao Qi <yao@codesourcery.com>
6486
6487 * gdb.base/completion.exp: Check file exists before running tests
6488 on file completion.
6489
d708bcd1
PA
64902014-04-10 Pedro Alves <palves@redhat.com>
6491
6492 * gdb.base/cond-eval-mode.c: New file.
6493 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
6494 prepare_for_testing to build the new file. Check result of
6495 runto_main.
6496 (test_break, test_watch): New procedures.
6497 (top level): Use them.
6498
ae1d2761
PM
64992014-04-08 Pierre Muller <muller@sourceware.org>
6500
6501 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
6502 Ctrl-V use for mingw hosts.
6503
7af389b8
SC
65042014-04-07 Siva Chandra Reddy <sivachandra@google.com>
6505
6506 * gdb.python/py-value.c: Improve test case.
6507 * gdb.python/py-value.exp: Add new test.
6508
5e703181
DE
65092014-04-07 David Blaikie <dblaikie@gmail.com>
6510
6511 * lib/compiler.c: Identify the clang compiler.
6512 * lib/compiler.cc: Ditto.
6513
9810b410
YQ
65142014-04-03 Yao Qi <yao@codesourcery.com>
6515
6516 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
6517
98d1b8dc
AB
65182014-04-01 Anton Blanchard <anton@samba.org>
6519
6520 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
6521 messages unique.
6522
3114cea1
AB
65232014-04-01 Anton Blanchard <anton@samba.org>
6524
6525 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
6526 prepare_for_testing.
6527
62f7182c
AB
65282014-04-01 Anton Blanchard <anton@samba.org>
6529
6530 * gdb.arch/ppc64-atomic-inst.c: Remove.
6531 * gdb.arch/ppc64-atomic-inst.S: New file.
6532 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
6533
770e7fc7
DE
65342014-03-31 Doug Evans <dje@google.com>
6535
6536 * gdb.base/print-symbol-loading-lib.c: New file.
6537 * gdb.base/print-symbol-loading-main.c: New file.
6538 * gdb.base/print-symbol-loading.exp: New file.
6539
46e2bafa
YQ
65402014-03-31 Yao Qi <yao@codesourcery.com>
6541
6542 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
6543
8776cfe9
JB
65442014-03-28 Joel Brobecker <brobecker@adacore.com>
6545
6546 * gdb.ada/mi_dyn_arr: New testcase.
6547
5d1ef361
DE
65482014-03-27 Doug Evans <dje@google.com>
6549
6550 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
6551
b5bee914
YQ
65522014-03-27 Yao Qi <yao@codesourcery.com>
6553
6554 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
6555 if target is nios2-*-*.
6556
0d4d0e77
YQ
65572014-03-26 Yao Qi <yao@codesourcery.com>
6558
6559 * lib/gdb.exp (readline_is_used): New proc.
6560 * gdb.base/completion.exp: Move tests on command complete up.
6561 Skip the rest of tests if readline is not used.
6562 * gdb.ada/complete.exp: Skp the test if readline is not
6563 used.
6564 * gdb.base/filesym.exp: Likewise.
6565 * gdb.base/macscp.exp: Likewise.
6566 * gdb.base/readline-ask.exp: Likewise.
6567 * gdb.base/readline.exp: Likewise.
6568 * gdb.python/py-cmd.exp: Likewise.
6569 * gdb.trace/tfile.exp: Likewise.
6570
29361eee
YQ
65712014-03-26 Yao Qi <yao@codesourcery.com>
6572
6573 * gdb.base/macscp.exp: Fix code format issues.
6574
bc9a5525
UW
65752014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
6576
6577 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
6578 * gdb.asm/powerpc64le.inc: New file.
6579
d3839ede
PA
65802014-03-25 Pedro Alves <palves@redhat.com>
6581 Doug Evans <dje@google.com>
6582
6583 * gdb.base/source-execution.c: New file.
6584 * gdb.base/source-execution.exp: New file.
6585 * gdb.base/source-execution.gdb: New file.
6586
01672a57
DE
65872014-03-24 Doug Evans <dje@google.com>
6588
6589 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
6590 using fission.
6591
88bbeca9
HZ
65922014-03-24 Hui Zhu <hui@codesourcery.com>
6593 Pedro Alves <palves@redhat.com>
6594
6595 PR breakpoints/16101
6596 * gdb.base/dprintf.exp: Use unsupported rather than changing the
6597 test pass/fail messages. Detect missing support for dprintf when
6598 breakpoints are actually inserted.
6599 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
6600 breakpoints are actually inserted.
6601 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
6602 fails.
6603
d2348791
JK
66042014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6605
6606 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
6607
feef67ab
DE
66082014-03-22 Doug Evans <xdje42@gmail.com>
6609
6610 * gdb.python/python.exp (python not supported): Verify multi-line
6611 python command issues an error.
25d743f9 6612 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 6613 guile command issues an error.
feef67ab 6614
ecebef6a
MR
66152014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
6616
6617 * gdb.threads/thread-specific.exp: Handle the lack of usable
6618 $this_breakpoint and $this_thread.
6619
ccdd1909
HZ
66202014-03-21 Hui Zhu <hui@codesourcery.com>
6621
6622 * gdb.base/attach.exp (do_command_attach_tests): New.
6623
beb460e8
PA
66242014-03-20 Tom Tromey <tromey@redhat.com>
6625 Pedro Alves <palves@redhat.com>
6626
6627 PR cli/15718
6628 * gdb.base/condbreak-call-false.c: New file.
6629 * gdb.base/condbreak-call-false.exp: New file.
6630
40acf43a
PA
66312014-03-20 Pedro Alves <palves@redhat.com>
6632
6633 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
6634 Delete.
6635 (block_signals, unblock_signals): Delete.
6636 (child_function_2, main): Remove references to deleted variable
6637 and functions.
6638
9f5e1e02
PA
66392014-03-20 Pedro Alves <palves@redhat.com>
6640
6641 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
6642 Use pthread_kill to signal thread 2.
6643 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6644 Adjust to make the test send itself a signal rather than using the
6645 host's "kill" command.
6646
99619bea
PA
66472014-03-20 Pedro Alves <palves@redhat.com>
6648
6649 * gdb.threads/multiple-step-overs.c: New file.
6650 * gdb.threads/multiple-step-overs.exp: New file.
6651 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6652 Adjust expected infrun debug output.
6653
2adfaa28
PA
66542014-03-20 Pedro Alves <palves@redhat.com>
6655
6656 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
6657 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
6658
31e77af2
PA
66592014-03-20 Pedro Alves <palves@redhat.com>
6660
6661 PR breakpoints/7143
6662 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
6663 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
6664 of gdb_test_multiple.
6665 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
6666 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
6667
b9f437de
PA
66682014-03-20 Pedro Alves <palves@redhat.com>
6669
6670 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
6671 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
6672
05adc73e
PA
66732014-03-19 Pedro Alves <palves@redhat.com>
6674
6675 * gdb.base/async.exp: Remove early return.
6676
6048b950
PA
66772014-03-19 Pedro Alves <palves@redhat.com>
6678
6679 * gdb.base/async.exp (step& tests): Pass explicit test messages.
6680
8bcfb00a
PA
66812014-03-19 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.base/async.exp (test_background): Expect \r\n after
6684 "completed." in the fail pattern.
6685
884e37dc
PA
66862014-03-19 Pedro Alves <palves@redhat.com>
6687
6688 * gdb.base/async.exp (test_background): New procedure.
6689 Use it for all background execution command tests.
6690
148e57e2
PA
66912014-03-19 Pedro Alves <palves@redhat.com>
6692
6693 * gdb.base/async.exp: Use prepare_for_testing.
6694
f48088c7
PA
66952014-03-19 Pedro Alves <palves@redhat.com>
6696
6697 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
6698 the same line.
6699
e2f6c966
PA
67002014-03-19 Pedro Alves <palves@redhat.com>
6701
6702 * gdb.base/async.c (main): Add "jump here" and "until here" line
6703 marker comments.
6704 * gdb.base/async.exp (jump_here): New global.
6705 (jump& test): Use it.
6706 (until_here): New global.
6707 (until& test): Use it.
6708
c30568d4
PA
67092014-03-19 Pedro Alves <palves@redhat.com>
6710
6711 * gdb.base/async.exp: Don't frob gdb_protocol.
6712
0172b6a7
DE
67132014-03-18 Doug Evans <xdje42@gmail.com>
6714
6715 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
6716 Fix spelling of exec-done-display.
6717
06c868a8
JK
67182014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6719
6720 PR gdb/15358
6721 * gdb.base/gdb-sigterm.c: New file.
6722 * gdb.base/gdb-sigterm.exp: New file.
6723
0c7e1a46
PA
67242014-03-18 Pedro Alves <palves@redhat.com>
6725
6726 PR gdb/13860
6727 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
6728 * lib/mi-support.exp (mi_expect_stop): Add special handling for
6729 solib-event.
6730
f7c77d93
JB
67312014-03-17 Joel Brobecker <brobecker@adacore.com>
6732
6733 * gdb.ada/pckd_arr_ren: New testcase.
6734
5a1e8c7a
DE
67352014-03-13 Doug Evans <xdje42@gmail.com>
6736
6737 PR guile/16612
6738 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
6739 collect after discarding symbols.
6740
350e1a76
DE
67412014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
6742 Doug Evans <xdje42@gmail.com>
6743
6744 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
6745 to history survives a gc.
6746
a69900ae
PA
67472014-03-13 Pedro Alves <palves@redhat.com>
6748
6749 * gdb.base/default.exp: Don't test "target procfs".
6750
5db9f0bd
PA
67512014-03-13 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.base/default.exp: Update "target child" and "target procfs"
6754 tests to not expect "Unix".
6755
b3ccfe11
TT
67562014-03-12 Tom Tromey <tromey@redhat.com>
6757
6758 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
6759 New procs. Add target-async tests.
6760 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
6761 Add target-async tests.
6762
646f4417
AA
67632014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6764
6765 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
6766 'func_start' and 'func_end' for the beginning and end of the
6767 function code, respectively.
6768 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
6769 'func_end' instead of 'func' and 'main'.
6770
288c211f
AA
67712014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6772
6773 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
6774 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
6775 generate the debug info assembler source.
6776
e0c0f156
AA
67772014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6778
6779 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
6780 * gdb.dwarf2/arr-subrange.exp: Likewise.
6781 * gdb.dwarf2/dwz.exp: Likewise.
6782 * gdb.dwarf2/method-ptr.exp: Likewise.
6783 * gdb.dwarf2/missing-sig-type.exp: Likewise.
6784 * gdb.dwarf2/subrange.exp: Likewise.
6785 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
6786 * gdb.dwarf2/implptrpiece.exp: Likewise.
6787 * gdb.dwarf2/nostaticblock.exp: Likewise.
6788
0e5c4555
AA
67892014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
6790
6791 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
6792 directory to absolute path name arguments.
6793
5ec18f2b
JG
67942014-03-10 Joel Brobecker <brobecker@adacore.com>
6795
6796 * gdb.ada/tagged_access: New testcase.
6797
847fc4f2
MM
67982014-03-07 Markus Metzger <markus.t.metzger@intel.com>
6799
6800 * gdb.btrace/data.exp: Update expected output.
6801
cc3da688
YQ
68022014-03-06 Yao Qi <yao@codesourcery.com>
6803
6804 * gdb.trace/pr16508.exp: New file.
6805
0f26cec1
PA
68062014-03-05 Pedro Alves <palves@redhat.com>
6807
6808 PR gdb/16575
6809 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
6810 procedure.
6811 (top level): Adjust to use it. Add tests that exercise breakpoint
6812 interaction with the code-cache.
6813
7a5a839f
LC
68142014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
6815
6816 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
6817 test for 'history-append!'.
6818
31aa7e4e
JB
68192014-02-26 Joel Brobecker <brobecker@adacore.com>
6820
6821 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
6822 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
6823 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
6824 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
6825 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
6826 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
6827
1b588015
JB
68282014-02-26 Joel Brobecker <brobecker@adacore.com>
6829
6830 * testsuite/gdb.python/py-pp-re-notag.c: New file.
6831 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
6832 * testsuite/gdb.python/py-pp-re-notag.p: New file.
6833
55426c9d
JB
68342014-02-26 Joel Brobecker <brobecker@adacore.com>
6835
6836 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
6837
dc53a7ad
JB
68382014-02-26 Joel Brobecker <brobecker@adacore.com>
6839
6840 * gdb.dwarf2/arr-stride.c: New file.
6841 * gdb.dwarf2/arr-stride.exp: New file.
6842
12ab52e9
PA
68432014-02-26 Pedro Alves <palves@redhat.com>
6844
6845 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
6846 that won't ever trigger. Make sure that GDB reports the correct
6847 breakpoint that caused the stop.
6848
849c862e
JK
68492014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6850
6851 PR gdb/16626
6852 * gdb.base/auto-load-script: New file.
6853 * gdb.base/auto-load.c: New file.
6854 * gdb.base/auto-load.exp: New file.
6855
71b7d793
JK
6856 PR gdb/16626
6857 * gdb.base/auto-load.exp: Fix out-of-srctree run.
6858
e2f0d509
JK
68592014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6860
6861 Fix dw2-icycle.exp -fsanitize=address GDB crash.
6862 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
6863
50cc37c8
DE
68642014-02-24 Doug Evans <dje@google.com>
6865
6866 * lib/gdb.exp (run_on_host): Log error output if program fails.
6867
ea4758f2
PA
68682014-02-21 Pedro Alves <palves@redhat.com>
6869
6870 * gdb.threads/step-after-sr-lock.c: Rename to ...
6871 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
6872 * gdb.threads/step-after-sr-lock.exp: Rename to ...
6873 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6874 ... this.
6875
d7b30f67
SDJ
68762014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6877
6878 PR tdep/16397
6879 * gdb.arch/amd64-stap-special-operands.exp: New file.
6880 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
6881 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
6882 * gdb.arch/amd64-stap-triplet.S: Likewise.
6883 * gdb.arch/amd64-stap-triplet.c: Likewise.
6884
83deb43f
JB
68852014-02-20 Joel Brobecker <brobecker@adacore.com>
6886
6887 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
6888 in .section pseudo-op.
6889
adde2bff
DE
68902014-02-20 lin zuojian <manjian2006@gmail.com>
6891 Joel Brobecker <brobecker@adacore.com>
6892 Doug Evans <xdje42@gmail.com>
6893
6894 PR symtab/16581
6895 * gdb.dwarf2/dw2-icycle.S: New file.
6896 * gdb.dwarf2/dw2-icycle.c: New file.
6897 * gdb.dwarf2/dw2-icycle.exp: New file.
6898
f7bd0f78
SC
68992014-02-19 Siva Chandra Reddy <sivachandra@google.com>
6900
6901 * gdb.python/py-value-cc.cc: Improve test case to enable testing
6902 operations on gdb.Value objects.
6903 * gdb.python/py-value-cc.exp: Add new test to test operations on
6904 gdb.Value objects.
6905
c17ef0d5
DE
69062014-02-18 Doug Evans <dje@google.com>
6907
6908 * Makefile.in (TESTS): New variable.
6909 (expanded_tests, expanded_tests_or_none): New variables
6910 (check-single): Pass $(expanded_tests_or_none) to runtest.
6911 (check-parallel): Only run tests in $(TESTS) if non-empty.
6912 (check/no-matching-tests-found): New rule.
6913 * README: Document TESTS makefile variable.
6914
5dd3176f
DE
69152014-02-18 Doug Evans <dje@google.com>
6916
6917 * Makefile.in (check-parallel): rm -rf outputs temp.
6918
0b10be4f
JK
69192014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6920
6921 Fix "ERROR: no fileid for" in the testsuite.
6922 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
6923
85f224e7
DE
69242014-02-12 Doug Evans <dje@google.com>
6925
6926 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
6927 (MISCELLANEOUS): New variable.
6928 (clean): rm -rf $(MISCELLANEOUS).
6929 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
6930 dwp live in the same directory as symlinks, with each symlink pointed
6931 to a differently named file in a different directory.
6932
149b30ff
DE
69332014-02-11 Doug Evans <dje@google.com>
6934
6935 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
6936 of Tcl file commands.
6937
1dfdac32
MK
69382014-02-10 Mark Kettenis <kettenis@gnu.org>
6939
6940 * gdb.threads/step-after-sr-lock.exp: Avoid executing
6941 "kill -SIGUSR1 -1".
6942
aa4fb036
JB
69432014-02-10 Joel Brobecker <brobecker@adacore.com>
6944
6945 * gdb.ada/tick_length_array_enum_idx: New testcase.
6946
ed3ef339
DE
69472014-02-10 Doug Evans <xdje42@gmail.com>
6948
6949 * configure.ac (AC_OUTPUT): Add gdb.guile.
6950 * configure: Regenerate.
6951 * lib/gdb-guile.exp: New file.
6952 * lib/gdb.exp (get_target_charset): New function.
6953 * gdb.base/help.exp: Update expected output from "apropos apropos".
6954 * gdb.guile/Makefile.in: New file.
6955 * gdb.guile/guile.exp: New file.
6956 * gdb.guile/scm-arch.c: New file.
6957 * gdb.guile/scm-arch.exp: New file.
6958 * gdb.guile/scm-block.c: New file.
6959 * gdb.guile/scm-block.exp: New file.
6960 * gdb.guile/scm-breakpoint.c: New file.
6961 * gdb.guile/scm-breakpoint.exp: New file.
6962 * gdb.guile/scm-disasm.c: New file.
6963 * gdb.guile/scm-disasm.exp: New file.
6964 * gdb.guile/scm-equal.c: New file.
6965 * gdb.guile/scm-equal.exp: New file.
6966 * gdb.guile/scm-error.exp: New file.
6967 * gdb.guile/scm-error.scm: New file.
6968 * gdb.guile/scm-frame-args.c: New file.
6969 * gdb.guile/scm-frame-args.exp: New file.
6970 * gdb.guile/scm-frame-args.scm: New file.
6971 * gdb.guile/scm-frame-inline.c: New file.
6972 * gdb.guile/scm-frame-inline.exp: New file.
6973 * gdb.guile/scm-frame.c: New file.
6974 * gdb.guile/scm-frame.exp: New file.
6975 * gdb.guile/scm-generics.exp: New file.
6976 * gdb.guile/scm-gsmob.exp: New file.
6977 * gdb.guile/scm-iterator.c: New file.
6978 * gdb.guile/scm-iterator.exp: New file.
6979 * gdb.guile/scm-math.c: New file.
6980 * gdb.guile/scm-math.exp: New file.
6981 * gdb.guile/scm-objfile-script-gdb.in: New file.
6982 * gdb.guile/scm-objfile-script.c: New file.
6983 * gdb.guile/scm-objfile-script.exp: New file.
6984 * gdb.guile/scm-objfile.c: New file.
6985 * gdb.guile/scm-objfile.exp: New file.
6986 * gdb.guile/scm-ports.exp: New file.
6987 * gdb.guile/scm-pretty-print.c: New file.
6988 * gdb.guile/scm-pretty-print.exp: New file.
6989 * gdb.guile/scm-pretty-print.scm: New file.
6990 * gdb.guile/scm-section-script.c: New file.
6991 * gdb.guile/scm-section-script.exp: New file.
6992 * gdb.guile/scm-section-script.scm: New file.
6993 * gdb.guile/scm-symbol.c: New file.
6994 * gdb.guile/scm-symbol.exp: New file.
6995 * gdb.guile/scm-symtab-2.c: New file.
6996 * gdb.guile/scm-symtab.c: New file.
6997 * gdb.guile/scm-symtab.exp: New file.
6998 * gdb.guile/scm-type.c: New file.
6999 * gdb.guile/scm-type.exp: New file.
7000 * gdb.guile/scm-value-cc.cc: New file.
7001 * gdb.guile/scm-value-cc.exp: New file.
7002 * gdb.guile/scm-value.c: New file.
7003 * gdb.guile/scm-value.exp: New file.
7004 * gdb.guile/source2.scm: New file.
7005 * gdb.guile/types-module.cc: New file.
7006 * gdb.guile/types-module.exp: New file.
7007
7026a7c1
YQ
70082014-02-10 Yao Qi <yao@codesourcery.com>
7009
7010 PR testsuite/16543
7011 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7012 * configure: Regenerated.
7013 * Makefile.in: New file.
7014
6c466447
AS
70152014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7016
7017 * gdb.python/py-framefilter.exp: Fix typo.
7018
6e854735
YQ
70192014-02-08 Yao Qi <yao@codesourcery.com>
7020
7021 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7022 that no =breakpoint-modified is emitted when breakpoints are
7023 modified through MI commands.
7024
d137e6dc
PA
70252014-02-07 Pedro Alves <pedro@codesourcery.com>
7026 Pedro Alves <palves@redhat.com>
7027
7028 * gdb.threads/step-after-sr-lock.c: New file.
7029 * gdb.threads/step-after-sr-lock.exp: New file.
7030
b5ee5a50
PA
70312014-02-07 Pedro Alves <palves@redhat.com>
7032
7033 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7034
3c77faf3
JK
70352014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7036
7037 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7038 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7039
6dddc817
DE
70402014-02-06 Doug Evans <xdje42@gmail.com>
7041
7042 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7043 output.
7044
7045 * gdb.gdb/python-interrupts.exp: New file.
7046
de7b2893
YQ
70472014-02-05 Yao Qi <yao@codesourcery.com>
7048
7049 * gdb.trace/report.exp (use_collected_data): Test the output
7050 of "info threads" and "info inferiors".
7051
66d032ac
YQ
70522014-02-05 Yao Qi <yao@codesourcery.com>
7053
7054 Revert this patch:
7055
7056 2013-05-24 Yao Qi <yao@codesourcery.com>
7057
7058 * gdb.trace/tfile.exp: Test inferior and thread.
7059
591a12a1
UW
70602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7061
7062 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7063 on a function.
7064 * gdb.base/step-bt.c: Call hello via function pointer to make
7065 sure its first instruction is executed on powerpc64le-linux.
7066
0ff3e01f
UW
70672014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7068
7069 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7070
084ee545
UW
70712014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7072
7073 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7074 of the test patterns for use on little-endian systems.
7075
6ed14ff3
UW
70762014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7077
7078 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7079 (decimal_vector): Fix for little-endian.
7080
401e27fd
JM
70812014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7082
7083 * gdb.arch/sparc-sysstep.exp: New file.
7084 * gdb.arch/sparc-sysstep.c: Likewise.
7085
7086 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7087
8b924729
EBM
70882014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7089
7090 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7091
fb151210
JB
70922014-01-23 Tom Tromey <tromey@redhat.com>
7093
7094 * gdb.ada/array_char_idx: New testcase.
7095
0740f8d8
TT
70962014-01-23 Tom Tromey <tromey@redhat.com>
7097
7098 PR python/16487:
7099 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7100 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7101 classes.
7102
21909fa1
TT
71032014-01-23 Tom Tromey <tromey@redhat.com>
7104
7105 PR python/16491:
7106 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7107 string from an inferior frame.
7108 * gdb.python/py-framefilter-mi.exp: Update.
7109
87ce2a04
DE
71102014-01-22 Doug Evans <dje@google.com>
7111
7112 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7113
237b092b
AA
71142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7115
7116 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7117
d674a709
AA
71182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7119
7120 * gdb.trace/entry-values.exp: Remove excess space character from
7121 regex patterns. Handle s390 call instruction.
7122
20fa3390
AA
71232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7124
7125 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7126 define "*_start" label. Make "name" static.
7127 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7128 ${name} by references to ${name}_start.
7129
78466714
AA
71302014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7131
7132 * gdb.base/info-macros.exp: Remove "debug" from the compile
7133 options.
7134
ec9f644a
IB
71352014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7136
7137 * gdb.dlang/demangle.exp: New file.
7138
94b1b47e
IB
71392014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7140
7141 * gdb.dlang/primitive-types.exp: New file.
7142
7f420862
IB
71432014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7144
7145 * configure.ac: Create gdb.dlang/Makefile.
7146 * configure: Regenerate.
7147 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7148 * gdb.dlang/Makefile.in: New file.
7149 * lib/d-support.exp: New file.
7150 * lib/gdb.exp (skip_d_tests): New proc.
7151
52834460
MM
71522014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7153
7154 * gdb.btrace/delta.exp: Check reverse stepi.
7155 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7156 * gdb.btrace/finish.exp: New.
7157 * gdb.btrace/next.exp: New.
7158 * gdb.btrace/nexti.exp: New.
7159 * gdb.btrace/record_goto.c: Add comments.
7160 * gdb.btrace/step.exp: New.
7161 * gdb.btrace/stepi.exp: New.
7162 * gdb.btrace/multi-thread-step.c: New.
7163 * gdb.btrace/multi-thread-step.exp: New.
7164 * gdb.btrace/rn-dl-bind.c: New.
7165 * gdb.btrace/rn-dl-bind.exp: New.
7166 * gdb.btrace/data.c: New.
7167 * gdb.btrace/data.exp: New.
7168 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7169
6e07b1d2
MM
71702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7171
7172 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7173 * gdb.btrace/exception.exp: Update.
7174 * gdb.btrace/instruction_history.exp: Update.
7175 * gdb.btrace/record_goto.exp: Update.
7176 * gdb.btrace/tailcall.exp: Update.
7177 * gdb.btrace/unknown_functions.exp: Update.
7178 * gdb.btrace/delta.exp: New.
7179
0b722aec
MM
71802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7181
7182 * gdb.btrace/record_goto.exp: Add backtrace test.
7183 * gdb.btrace/tailcall.exp: Add backtrace test.
7184
066ce621
MM
71852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7186
7187 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7188 * gdb.btrace/record_goto.c: New.
7189 * gdb.btrace/record_goto.exp: New.
7190 * gdb.btrace/x86-record_goto.S: New.
7191
0688d04e
MM
71922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7193
7194 * gdb.btrace/function_call_history.exp: Update tests.
7195 * gdb.btrace/instruction_history.exp: Update tests.
7196
8710b709
MM
71972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7198
7199 * gdb.btrace/function_call_history.exp: Fix expected field
7200 order for "record function-call-history".
7201 Add new tests for "record function-call-history /c".
7202 * gdb.btrace/exception.cc: New.
7203 * gdb.btrace/exception.exp: New.
7204 * gdb.btrace/tailcall.exp: New.
7205 * gdb.btrace/x86-tailcall.S: New.
7206 * gdb.btrace/x86-tailcall.c: New.
7207 * gdb.btrace/unknown_functions.c: New.
7208 * gdb.btrace/unknown_functions.exp: New.
7209 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7210
5de9129b
MM
72112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7212
7213 * gdb.btrace/instruction_history.exp: Update.
7214 * gdb.btrace/function_call_history.exp: Update.
7215
23a7fe75
MM
72162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7217
7218 * gdb.btrace/function_call_history.exp: Fix expected function
7219 trace.
7220 * gdb.btrace/instruction_history.exp: Initialize traced.
7221 Remove traced_functions.
7222
724c7dd8
MM
72232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7224
7225 * gdb.btrace/function_call_history.exp: Update
7226 * gdb.btrace/instruction_history.exp: Update.
7227
6d78d93b
MM
72282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7229
7230 * gdb.btrace/enable.exp: Update expected text.
7231
93a360cc
OJ
72322014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7233
7234 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7235 bytes.
7236
3772b53f
MR
72372014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7238
7239 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7240
596662fa
OJ
72412014-01-15 Omair Javaid <omair.javaid@linaro.org>
7242
7243 * lib/gdb.exp (supports_process_record): Return true for
7244 arm*-linux*. (supports_reverse): Likewise.
7245
b5b08fb4
SC
72462014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7247
7248 PR python/15464
7249 PR python/16113
7250 * gdb.python/py-type.c: Enhance test case.
7251 * gdb.python/py-value-cc.cc: Likewise
7252 * gdb.python/py-type.exp: Add new tests.
7253 * gdb.python/py-value-cc.exp: Likewise
7254
52d7fb13
AA
72552014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7256 Pedro Alves <palves@redhat.com>
7257
7258 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7259 Make "name" extern.
7260 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7261 references to ${name}_start by references to ${name}.
7262
a2cd8cfe
JB
72632014-01-10 Joel Brobecker <brobecker@adacore.com>
7264
7265 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7266
4e23fced
JB
72672014-01-10 Joel Brobecker <brobecker@adacore.com>
7268
7269 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7270
c6a9e42c
PA
72712014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7272 Pedro Alves <palves@redhat.com>
7273
7274 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 7275 mi_gdb_target_load.
c6a9e42c 7276
b7ea362b
PA
72772014-01-08 Pedro Alves <palves@redhat.com>
7278
7279 * gdb.threads/reconnect-signal.c: New file.
7280 * gdb.threads/reconnect-signal.exp: New file.
7281
5e3f4fab
EBM
72822014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7283
7284 * gdb.base/source-dir.exp: New file.
7285
79301218
JB
72862014-01-07 Joel Brobecker <brobecker@adacore.com>
7287
7288 * gdb.ada/mi_interface: New testcase.
7289
8e355c5d
JB
72902014-01-07 Joel Brobecker <brobecker@adacore.com>
7291
7292 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7293 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7294 gdb.ada/pp-rec-component/pck.ads: New files.
7295
c0d48811
JB
72962014-01-07 Joel Brobecker <brobecker@adacore.com>
7297
7298 * gdb.python/py-pp-integral.c: New file.
7299 * gdb.python/py-pp-integral.py: New file.
7300 * gdb.python/py-pp-integral.exp: New file.
7301
17b609c3 7302For older changes see ChangeLog-1993-2013.
c906108c 7303\f
8d8cb839
EZ
7304;; Local Variables:
7305;; mode: change-log
7306;; left-margin: 8
7307;; fill-column: 74
7308;; version-control: never
7309;; End:
902f2ccb 7310
618f726f 7311 Copyright 2014-2016 Free Software Foundation, Inc.
902f2ccb
MC
7312 Copying and distribution of this file, with or without modification,
7313 are permitted provided the copyright notice and this notice are preserved.