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