arm: properly range check immediate operands of VSHL and VQSHL
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12015-01-11 Doug Evans <xdje42@gmail.com>
2
3 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4 is given without an explicit form.
5 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
6 attributes.
7 * gdb.dwarf/corrupt.exp: Ditto.
8 * gdb.dwarf2/enum-type.exp: Ditto.
9 * gdb.trace/entry-values.exp: Ditto.
10 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11
122015-01-11 Doug Evans <xdje42@gmail.com>
13
14 PR gdb/15830
15 * gdb.base/maint.exp: Remove references to "maint demangle".
16 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
17 Add tests for explicitly specifying language to demangle.
18 * gdb.dlang/demangle.exp: Ditto.
19
202015-01-09 Pedro Alves <palves@redhat.com>
21
22 * gdb.threads/non-stop-fair-events.c: New file.
23 * gdb.threads/non-stop-fair-events.exp: New file.
24
252015-01-09 Pedro Alves <palves@redhat.com>
26
27 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
28 the global scope. Set a breakpoint after all threads are started
29 rather than stepping over two source lines. Expect the prompt.
30 * gdb.base/watch_thread_num.c (threads_started_barrier): New
31 global.
32 (NUM): Now 15.
33 (main): Use threads_started_barrier to wait for all threads to
34 start. Main thread no longer calls thread_function. Exit after
35 180 seconds.
36 (loop): New function.
37 (thread_function): Wait on threads_started_barrier barrier. Call
38 'loop' at each iteration.
39 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
40 threads have started, instead of hardcoding number of "next"
41 steps. Use an access watchpoint instead of a write watchpoint.
42
432015-01-09 Pedro Alves <palves@redhat.com>
44
45 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
46 (thread_func): Wait on barrier.
47 (main): Wait for all threads to start before stopping GDB.
48 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
49 global.
50 (thread1_func, thread2_func): Wait on barrier.
51 (main): Wait for all threads to start before stopping GDB.
52 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
53 New global.
54 (thread1_func, thread2_func): Wait on barrier.
55 (main): Wait for all threads to start before stopping GDB.
56
572015-01-09 Pedro Alves <palves@redhat.com>
58
59 * gdb.threads/attach-many-short-lived-threads.c: New file.
60 * gdb.threads/attach-many-short-lived-threads.exp: New file.
61
622014-01-09 Pedro Alves <palves@redhat.com>
63
64 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
65 instead of to thread 2.
66 * gdb.threads/signal-command-multiple-signals-pending.c (main):
67 Add barrier around each pthread_create call instead of around all
68 calls.
69 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
70 Set a break on thread_function and have the child threads hit it
71 one at at a time.
72
732015-01-09 Pedro Alves <palves@redhat.com>
74
75 * lib/gdb.exp (can_spawn_for_attach): New procedure.
76 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
77 false.
78 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
79 checking whether the target board is remote.
80 * gdb.multi/multi-attach.exp: Likewise.
81 * gdb.python/py-sync-interp.exp: Likewise.
82 * gdb.server/ext-attach.exp: Likewise.
83 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
84 tests that need to attach, instead of checking whether the target
85 board is remote at the top of the file.
86
872015-01-08 Yao Qi <yao@codesourcery.com>
88
89 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
90
912015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
92
93 Fix testcase compilation.
94 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
95
962015-01-06 Joel Brobecker <brobecker@adacore.com>
97
98 * gdb.python/py-type.exp: Add a couple test about empty
99 array creation, and negative-length array creation.
100
1012015-01-02 Doug Evans <xdje42@gmail.com>
102
103 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
104
1052015-01-02 Doug Evans <dje@google.com>
106
107 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
108
1092014-12-29 Yao Qi <yao@codesourcery.com>
110
111 * gdb.trace/entry-values.exp: Update comments. Rename variable
112 bar_call_foo to returned_from_foo.
113
1142014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
115
116 PR gdb/17394
117 * gdb.linespec/break-asm-file.c: New file.
118 * gdb.linespec/break-asm-file.exp: New file.
119 * gdb.linespec/break-asm-file0.s: New file.
120 * gdb.linespec/break-asm-file1.s: New file.
121
1222014-12-18 Nigel Stephens <nigel@mips.com>
123 Maciej W. Rozycki <macro@codesourcery.com>
124
125 * gdb.base/float.exp: Handle the new output from "info float" on
126 MIPS targets.
127
1282014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
129
130 Fix MinGW compilation.
131 * gdb.compile/compile-ops.exp: Update untested message if
132 !skip_compile_feature_tests.
133 * gdb.compile/compile-setjmp.exp: Likewise.
134 * gdb.compile/compile-tls.exp: Likewise.
135 * gdb.compile/compile.exp: Likewise.
136 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
137 supported on this host".
138
1392014-12-16 Doug Evans <xdje42@gmail.com>
140
141 * boards/stabs.exp: New file.
142
1432014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
144
145 * gdb.base/completion.exp: Adjust to format changes of "maint
146 print user-registers".
147
1482014-12-16 Catalin Udma <catalin.udma@freescale.com>
149
150 PR server/17457
151 * gdb.arch/aarch64-fp.c: New file.
152 * gdb.arch/aarch64-fp.exp: New file.
153
1542014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
155
156 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
157 r210637, r210913, r211666, r215400, r215817).
158
159 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
160 * dg-extract-results.py: New file.
161 * dg-extract-results.sh: Use it if the environment seems
162 suitable.
163
164 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
165
166 * dg-extract-results.py (parse_run): Handle warnings that
167 are printed before a test harness is run.
168
169 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
170
171 * dg-extract-results.py (Named): Remove __cmp__ method.
172 (output_variation): Use a key to sort variation.harnesses.
173
174 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
175
176 * dg-extract-results.py: For Python 3, force sys.stdout to
177 handle surrogate escape sequences.
178 (safe_open): New function.
179 (output_segment, main): Use it.
180
181 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
182
183 * dg-extract-results.py (Prog.result_re): Include options
184 in test name.
185
186 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
187
188 * dg-extract-results.py (output_variation): Always sort if
189 do_sum.
190
1912014-12-15 Simon Marchi <simon.marchi@ericsson.com>
192
193 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
194 as long as we get pagination notifications.
195
1962014-12-15 Jason Merrill <jason@redhat.com>
197
198 * Makefile.in (check-gdb.%): Restore.
199 * README: Mention it.
200
2012014-12-13 Joel Brobecker <brobecker@adacore.com>
202
203 * gdb.ada/str_uninit: New testcase.
204
2052014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
206
207 PR symtab/17642
208 * gdb.base/vla-stub-define.c: New file.
209 * gdb.base/vla-stub.c: New file.
210 * gdb.base/vla-stub.exp: New file.
211
2122014-12-12 Phil Muldoon <pmuldoon@redhat.com>
213 Jan Kratochvil <jan.kratochvil@redhat.com>
214 Tom Tromey <tromey@redhat.com>
215
216 * configure.ac: Add gdb.compile/.
217 * configure: Regenerate.
218 * gdb.compile/Makefile.in: New file.
219 * gdb.compile/compile-ops.exp: New file.
220 * gdb.compile/compile-ops.c: New file.
221 * gdb.compile/compile-tls.c: New file.
222 * gdb.compile/compile-tls.exp: New file.
223 * gdb.compile/compile-constvar.S: New file.
224 * gdb.compile/compile-constvar.c: New file.
225 * gdb.compile/compile-mod.c: New file.
226 * gdb.compile/compile-nodebug.c: New file.
227 * gdb.compile/compile-setjmp-mod.c: New file.
228 * gdb.compile/compile-setjmp.c: New file.
229 * gdb.compile/compile-setjmp.exp: New file.
230 * gdb.compile/compile-shlib.c: New file.
231 * gdb.compile/compile.c: New file.
232 * gdb.compile/compile.exp: New file.
233 * lib/gdb.exp (skip_compile_feature_tests): New proc.
234
2352014-12-12 Tom Tromey <tromey@redhat.com>
236
237 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
238 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
239
2402014-12-12 Doug Evans <dje@google.com>
241
242 * lib/gdb-python.exp (get_python_valueof): New function.
243 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
244
2452014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
246
247 * gdb.base/completion.exp: Add test for completion of "info
248 registers ".
249
2502014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
251
252 * gdb.base/func-ptrs.c: New file.
253 * gdb.base/func-ptrs.exp: New file.
254
2552014-12-10 Simon Marchi <simon.marchi@ericsson.com>
256
257 PR breakpoints/17012
258 * gdb.base/dprintf-detach.c: New file.
259 * gdb.base/dprintf-detach.exp: New file.
260
2612014-12-10 Simon Marchi <simon.marchi@ericsson.com>
262
263 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
264 * lib/gdb.exp (target_is_gdbserver): New procedure.
265
2662014-12-08 Doug Evans <dje@google.com>
267
268 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
269
2702014-12-05 Yao Qi <yao@codesourcery.com>
271
272 * gdb.guile/scm-error.exp: Remove the third argument to
273 gdb_remote_download.
274 * gdb.guile/scm-frame-args.exp: Likewise.
275 * gdb.guile/scm-section-script.exp: Likewise.
276
2772014-12-05 Yao Qi <yao@codesourcery.com>
278
279 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
280
2812014-12-04 Doug Evans <dje@google.com>
282
283 * gdb.python/py-objfile.exp: Add tests for
284 objfile.add_separate_debug_file.
285
2862014-12-04 Doug Evans <dje@google.com>
287
288 * lib/gdb.exp (get_build_id): New function.
289 (build_id_debug_filename_get): Rewrite to use it.
290 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
291
2922014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
293
294 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
295 `method(long)', not just 0x0.
296 * gdb.cp/nsalias.exp: Align code labels to 4.
297 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
298 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
299 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
300 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
301 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
302 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
303
3042014-12-02 Doug Evans <dje@google.com>
305
306 PR symtab/17602
307 * gdb.cp/anon-ns.cc: Move guts of this file to ...
308 * gdb.cp/anon-ns2.cc: ... here. New file.
309 * gdb.cp/anon-ns.exp: Update.
310
3112014-12-02 Nick Bull <nicholaspbull@gmail.com>
312
313 * gdb.python/py-events.py (inferior_call_handler): New.
314 (register_changed_handler, memory_changed_handler): New.
315 (test_events.invoke): Register new handlers.
316 * gdb.python/py-events.exp: Add tests for inferior call,
317 memory_changed and register_changed events.
318
3192014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
320
321 * gdb.base/execl-update-breakpoints.exp: Specify the link address
322 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
323 if the linker doesn't understand this.
324
3252014-12-01 Simon Marchi <simon.marchi@ericsson.com>
326
327 * gdb.python/python.exp: Change expected reply to help().
328
3292014-12-01 Yao Qi <yao@codesourcery.com>
330
331 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
332 AC_CONFIG_SUBDIRS(gdb.gdbtk).
333 * configure: Re-generated.
334
3352014-11-28 Siva Chandra Reddy <sivachandra@google.com>
336
337 * gdb.cp/chained-calls.cc: New file.
338 * gdb.cp/chained-calls.exp: New file.
339 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
340
3412014-11-28 Simon Marchi <simon.marchi@ericsson.com>
342
343 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
344 * gdb.dwarf2/symtab-producer.exp: Same.
345 * gdb.gdb/python-interrupts.exp: Same.
346 * gdb.gdb/python-selftest.exp: Same.
347 * gdb.python/py-linetable.exp: Same.
348 * gdb.python/py-type.exp: Same.
349 * gdb.python/py-value-cc.exp: Same.
350 * gdb.python/py-value.exp: Same.
351
3522014-11-28 Yao Qi <yao@codesourcery.com>
353
354 * gdb.base/break-probes.exp: Match library name prefixed with
355 sysroot.
356
3572014-11-27 Simon Marchi <simon.marchi@ericsson.com>
358
359 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
360 test expected output. Add parentheses for the call to print.
361 Remove L suffix from integers.
362
3632014-11-26 Doug Evans <dje@google.com>
364
365 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
366
3672014-11-22 Yao Qi <yao@codesourcery.com>
368
369 * gdb.trace/entry-values.c: Remove asms.
370 (foo): Add foo_label.
371 (bar): Add bar_label.
372 * gdb.trace/entry-values.exp: Remove code computing foo's
373 length and bar's length.
374 (Dwarf::assemble): Invoke function_range for bar and use
375 MACRO_AT_func for foo.
376
3772014-11-22 Yao Qi <yao@codesourcery.com>
378
379 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
380 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
381 Use .Lgcc43_procstart instead of gcc43.
382
3832014-11-21 Joel Brobecker <brobecker@adacore.com>
384
385 * gdb.ada/n_arr_bound: New testcase.
386
3872014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
388
389 PR breakpoints/10737
390 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
391 test_catch_syscall_multi_arch.
392 (test_catch_syscall_multi_arch): New function.
393
3942014-11-20 Doug Evans <xdje42@gmail.com>
395
396 * gdb.base/maint.exp: Update expected output.
397
3982014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
399
400 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
401 4-byte instruction on S390.
402
4032014-11-19 Joel Brobecker <brobecker@adacore.com>
404
405 * gdb.ada/arr_arr: New testcase.
406
4072014-11-19 Joel Brobecker <brobecker@adacore.com>
408
409 * gdb.ada/pkd_arr_elem: New Testcase.
410
4112014-11-18 Luis Machado <lgustavo@codesourcery.com>
412
413 * gdb.reverse/break-precsave: Expect completion message for
414 core file reads.
415 * gdb.reverse/consecutive-precsave.exp: Likewise.
416 * gdb.reverse/finish-precsave.exp: Likewise.
417 * gdb.reverse/i386-precsave.exp: Likewise.
418 * gdb.reverse/machinestate-precsave.exp: Likewise.
419 * gdb.reverse/sigall-precsave.exp: Likewise.
420 * gdb.reverse/solib-precsave.exp: Likewise.
421 * gdb.reverse/step-precsave.exp: Likewise.
422 * gdb.reverse/until-precsave.exp: Likewise.
423 * gdb.reverse/watch-precsave.exp: Likewise.
424
4252014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
426
427 * gdb.base/bp-permanent.c: Include unistd.h.
428 * gdb.python/py-framefilter-mi.c (main): Add return type.
429 * gdb.python/py-framefilter.c (main): Likewise.
430 * gdb.trace/actions-changed.c (main): Likewise.
431
4322014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
433
434 * gdb.mi/until.c: Add eye-catchers.
435 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
436 line numbers.
437
4382014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
439
440 * gdb.base/condbreak.exp: Drop references to removed non-prototype
441 function header variants in break1.c.
442 * gdb.base/ena-dis-br.exp: Likewise.
443 * gdb.base/hbreak2.exp: Likewise.
444 * gdb.reverse/until-precsave.exp: Drop references to removed
445 non-prototype function header variants in ur1.c.
446 * gdb.reverse/until-reverse.exp: Likewise.
447
4482014-11-17 Petr Machata <pmachata@redhat.com>
449
450 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
451 ${_cu_offset_size} bytes abbrev offset.
452
4532014-11-15 Doug Evans <xdje42@gmail.com>
454
455 PR symtab/17559
456 * gdb.base/line-symtabs.exp: New file.
457 * gdb.base/line-symtabs.c: New file.
458 * gdb.base/line-symtabs.h: New file.
459
4602014-11-14 Yao Qi <yao@codesourcery.com>
461
462 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
463 (func): Add label func_label.
464 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
465 Replace low_pc and high_pc with MACRO_AT_range.
466 Replace name, low_pc and high_pc with MACRO_AT_func.
467
4682014-11-14 Yao Qi <yao@codesourcery.com>
469
470 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
471 Replace name, low_pc and high_pc with MACRO_AT_func.
472
4732014-11-14 Yao Qi <yao@codesourcery.com>
474
475 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
476 produce debug information.
477 * gdb.dwarf2/implptr-optimized-out.S: Removed.
478
4792014-11-14 Yao Qi <yao@codesourcery.com>
480
481 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
482 object and get function length.
483 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
484 with MACRO_AT_func.
485 (top-level): Replace gdb_compile and clean_restart with
486 prepare_for_testing.
487 * gdb.dwarf2/main.c (main): Add label main_label.
488
4892014-11-14 Yao Qi <yao@codesourcery.com>
490
491 * lib/dwarf.exp (function_range): New procedure.
492 (Dwarf::_handle_macro_at_func): New procedure.
493 (Dwarf::_handle_macro_at_range): New procedure.
494 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
495
4962014-11-14 Yao Qi <yao@codesourcery.com>
497
498 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
499 (_handle_attribute): New procedure.
500
5012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
502
503 * gdb.ada/cond_lang/foo.c (callme): Add return type.
504 * gdb.base/call-sc.c (zed): Likewise.
505 * gdb.base/checkpoint.c (main): Likewise.
506 * gdb.base/dump.c (main): Likewise.
507 * gdb.base/gcore.c (main): Likewise.
508 * gdb.base/huge.c (main): Likewise.
509 * gdb.base/multi-forks.c (main): Likewise.
510 * gdb.base/pr10179-a.c (main): Likewise.
511 * gdb.base/savedregs.c (main): Likewise.
512 * gdb.base/sigaltstack.c (main): Likewise.
513 * gdb.base/siginfo.c (main): Likewise.
514 * gdb.base/structs.c (zed): Likewise.
515 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
516 * gdb.mi/mi-syn-frame.c (main): Likewise.
517 * gdb.mi/until.c (foo, main): Likewise.
518 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
519 * gdb.base/solib-weak.c (foo): Declare.
520 * gdb.base/attach-twice.c: Include stdio.h.
521 * gdb.base/weaklib1.c: Likewise.
522 * gdb.base/weaklib2.c: Likewise.
523 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
524 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
525 unistd.h.
526 * gdb.base/attach-pie-misread.c: Include stdlib.h.
527 * gdb.mi/mi-exit-code.c: Likewise.
528 * gdb.base/break-interp-lib.c: Include string.h.
529 * gdb.base/coremaker.c: Likewise.
530 * gdb.base/testenv.c: Likewise.
531 * gdb.python/py-finish-breakpoint.c: Likewise.
532 * gdb.base/inferior-died.c: Include sys/wait.h.
533 * gdb.base/fileio.c: Include time.h.
534 * gdb.base/async-shell.c: Include unistd.h.
535 * gdb.base/dprintf-non-stop.c: Likewise.
536 * gdb.base/info-os.c: Likewise.
537 * gdb.mi/mi-console.c: Likewise.
538 * gdb.mi/watch-nonstop.c: Likewise.
539 * gdb.python/py-events.c: Likewise.
540 * gdb.base/async.c (baz): Move up before its invocation.
541 * gdb.base/code_elim2.c (my_global_func): Likewise.
542 * gdb.base/skip-solib-lib.c (multiply): Likewise.
543 * gdb.base/advance.c (func2): Likewise.
544
5452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
546
547 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
548 variant.
549 * gdb.base/annota3.c: Likewise.
550 * gdb.base/async.c: Likewise.
551 * gdb.base/average.c: Likewise.
552 * gdb.base/call-ar-st.c: Likewise.
553 * gdb.base/call-rt-st.c: Likewise.
554 * gdb.base/call-sc.c: Likewise.
555 * gdb.base/call-strs.c: Likewise.
556 * gdb.base/ending-run.c: Likewise.
557 * gdb.base/execd-prog.c: Likewise.
558 * gdb.base/exprs.c: Likewise.
559 * gdb.base/foll-exec.c: Likewise.
560 * gdb.base/foll-fork.c: Likewise.
561 * gdb.base/foll-vfork.c: Likewise.
562 * gdb.base/funcargs.c: Likewise.
563 * gdb.base/gcore.c: Likewise.
564 * gdb.base/jump.c: Likewise.
565 * gdb.base/langs0.c: Likewise.
566 * gdb.base/langs1.c: Likewise.
567 * gdb.base/langs2.c: Likewise.
568 * gdb.base/mips_pro.c: Likewise.
569 * gdb.base/nodebug.c: Likewise.
570 * gdb.base/opaque0.c: Likewise.
571 * gdb.base/opaque1.c: Likewise.
572 * gdb.base/recurse.c: Likewise.
573 * gdb.base/run.c: Likewise.
574 * gdb.base/scope0.c: Likewise.
575 * gdb.base/scope1.c: Likewise.
576 * gdb.base/setshow.c: Likewise.
577 * gdb.base/setvar.c: Likewise.
578 * gdb.base/shmain.c: Likewise.
579 * gdb.base/shr1.c: Likewise.
580 * gdb.base/shr2.c: Likewise.
581 * gdb.base/sigall.c: Likewise.
582 * gdb.base/signals.c: Likewise.
583 * gdb.base/so-indr-cl.c: Likewise.
584 * gdb.base/solib2.c: Likewise.
585 * gdb.base/structs.c: Likewise.
586 * gdb.base/sum.c: Likewise.
587 * gdb.base/vforked-prog.c: Likewise.
588 * gdb.base/watchpoint.c: Likewise.
589 * gdb.reverse/shr2.c: Likewise.
590 * gdb.reverse/until-reverse.c: Likewise.
591 * gdb.reverse/ur1.c: Likewise.
592 * gdb.reverse/watch-reverse.c: Likewise.
593
5942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
595
596 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
597 variant.
598 * gdb.base/sepdebug.exp: Drop references to removed code.
599
6002014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
601
602 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
603 variant. Preserve original line numbering.
604 * gdb.base/list1.c: Likewise.
605
6062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
607
608 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
609 variant.
610 * gdb.base/break1.c: Likewise.
611 * gdb.base/break.exp: Drop references to removed code.
612
6132014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
614
615 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
616 variant.
617
6182014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
619
620 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
621
6222014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
623
624 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
625 logic into perform_all_tests() and invoke it with and without
626 function header prototypes.
627 (do_function_calls): Remove conditional XFAIL for PR 5318.
628 (rerun_and_prepare): Remove duplicate code.
629 (perform_all_tests): New. Main logic moved here.
630
6312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
632
633 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
634 code guarded by #ifdef NO_PROTOTYPES.
635 (t_double_many_args): Likewise.
636 (DEF_FUNC_MANY_ARGS_1): Likewise.
637 (DEF_FUNC_VALUES_1): Likewise.
638 (t_structs_ldc): Renamed from t_structs_fc in conditional code
639 guarded by #ifdef PROTOTYPES.
640
6412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
642
643 * gdb.mi/mi-console.c: Add eye-catcher.
644 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
645 instead of literal line number.
646
6472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
648
649 * gdb.base/shr2.c: Add eye-catcher.
650 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
651 line number.
652
6532014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
654
655 * gdb.base/jump.c: Add eye-catchers.
656 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
657 numbers.
658
6592014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
660
661 * gdb.base/execd-prog.c: Add eye-catchers.
662 * gdb.base/foll-exec.c: Likewise.
663 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
664 line numbers.
665
6662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
667
668 * gdb.base/ending-run.c: Add eye-catchers.
669 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
670 literal line numbers.
671
6722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
673
674 * gdb.base/call-rt-st.c: Add eye-catchers.
675 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
676 literal line numbers.
677
6782014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
679
680 * gdb.base/call-ar-st.c: Add eye-catchers.
681 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
682 literal line numbers.
683
6842014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
685
686 * gdb.base/average.c: Add eye-catchers.
687 * gdb.base/sum.c: Likewise.
688 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
689 regexps dynamically.
690
6912014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
692
693 * gdb.base/solib1.c: Add eye-catchers.
694 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
695 literal line numbers.
696
6972014-11-12 Pedro Alves <palves@redhat.com>
698
699 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
700 leader has exited.
701
7022014-11-12 Pedro Alves <palves@redhat.com>
703
704 * gdb.arch/i386-bp_permanent.c: New file.
705 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
706 (srcfile): Set to i386-bp_permanent.c.
707 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
708 that stepi does not execute the 'leave' instruction, instead of
709 testing it does execute.
710 * gdb.base/bp-permanent.c: New file.
711 * gdb.base/bp-permanent.exp: New file.
712
7132014-11-10 Doug Evans <xdje42@gmail.com>
714
715 PR symtab/17564
716 * gdb.base/symtab-search-order.exp: New file.
717 * gdb.base/symtab-search-order.c: New file.
718 * gdb.base/symtab-search-order-1.c: New file.
719 * gdb.base/symtab-search-order-shlib-1.c: New file.
720
7212014-11-07 Pedro Alves <palves@redhat.com>
722
723 PR gdb/17511
724 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
725 i?86-*-linux*.
726
7272014-11-03 Siva Chandra Reddy <sivachandra@google.com>
728
729 PR c++/17494
730 * gdb.cp/pr17494.cc: New file.
731 * gdb.cp/pr17494.exp: New file.
732
7332014-11-02 Yao Qi <yao@codesourcery.com>
734
735 * gdb.python/python.exp: Get working directory and match the
736 output of "set extended-prompt \\w " with it.
737
7382014-10-30 Doug Evans <dje@google.com>
739
740 * gdb.python/py-objfile.exp: Add tests for setting random attributes
741 in objfiles.
742 * gdb.python/py-progspace.exp: Add tests for setting random attributes
743 in progspaces.
744
7452014-10-30 Janis Johnson <janisjo@codesourcery.com>
746
747 * gdb.base/fullpath-expand.exp: Skip for a remote host.
748 * gdb.base/realname-expand.exp: Likewise.
749 * gdb.linespec/macro-relative.exp: Likewise.
750
7512014-10-29 Pedro Alves <palves@redhat.com>
752
753 PR gdb/17408
754 * gdb.threads/schedlock.c (some_function): New function.
755 (call_function): New global.
756 (MAYBE_CALL_SOME_FUNCTION): New macro.
757 (thread_function): Call it.
758 * gdb.threads/schedlock.exp (get_args): Add description parameter,
759 and use it instead of a global counter. Adjust all callers.
760 (get_current_thread): Use "find current thread" for test message
761 here rather than having all callers pass down the same string.
762 (goto_loop): New procedure, factored out from ...
763 (my_continue): ... this.
764 (step_ten_loops): Change parameter from test message to command to
765 use. Adjust.
766 (list_count): Delete global.
767 (check_result): New procedure, factored out from duplicate top
768 level code.
769 (continue tests): Wrap in with_test_prefix.
770 (test_step): New procedure, factored out from duplicate top level
771 code.
772 (top level): Test "step" in combination with all scheduler-locking
773 modes. Test "next" in combination with all scheduler-locking
774 modes, and in combination with stepping over a function call or
775 not.
776 * gdb.threads/next-bp-other-thread.c: New file.
777 * gdb.threads/next-bp-other-thread.exp: New file.
778
7792014-10-29 Pedro Alves <palves@redhat.com>
780
781 PR python/17372
782 * gdb.python/python.exp: Test a multi-line command that spawns
783 interactive Python.
784 * gdb.base/multi-line-starts-subshell.exp: New file.
785
7862014-10-29 Yao Qi <yao@codesourcery.com>
787
788 * gdb.base/fileio.exp: Make directories on host.
789
7902014-10-29 Yao Qi <yao@codesourcery.com>
791
792 * gdb.base/fileio.c (test_write): Close the file.
793
7942014-10-28 Pedro Alves <palves@redhat.com>
795
796 PR gdb/12623
797 * gdb.base/sigstep.c (no_handler): New global.
798 (main): If 'no_handler is true, set the signal handlers to
799 SIG_IGN.
800 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
801 with_sw_watch and no_handler parameters. Handle them.
802 (top level) <stepping over handler when stopped at a breakpoint
803 test>: Add a test axis for testing with a software watchpoint, and
804 another for testing with the signal handler set to SIG_IGN.
805 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
806 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
807
8082014-10-28 Pedro Alves <palves@redhat.com>
809
810 PR gdb/17511
811 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
812 * gdb.base/sigstep.exp (other_handler_location): New global.
813 (advance): Support stepping into the signal handler, and running
814 commands while in the handler.
815 (in_handler_map): New global.
816 (top level): In the advance test, add combinations for getting
817 into the handler with stepping commands, and for running commands
818 in the handler. Add comment descripting the advancei tests.
819
8202014-10-28 Pedro Alves <palves@redhat.com>
821
822 * gdb.base/sigstep.exp: Use build_executable instead of
823 prepare_for_testing.
824 (top level): Move code that starts GDB, runs to main and creates a
825 display to ...
826 (restart): ... this new procedure.
827 (top level): Move backtrace from signal handler test to ...
828 (validate_backtrace): ... this new procedure.
829 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
830 with_test_prefix. Always restart GDB.
831 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
832 with_test_prefix. Always restart GDB. No need to delete
833 breakpoints after the test.
834 (test_skip_handler): Remove prefix parameter.
835 (skip_over_handler, breakpoint_to_handler)
836 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
837 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
838 restart GDB. No need to delete breakpoints after the test.
839 (top level): Use foreach to call the test procedures with
840 different commands.
841
8422014-10-28 Pedro Alves <palves@redhat.com>
843
844 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
845 instead of GNATS numbers.
846 * gdb.base/sigbpt.exp: Likewise.
847 * gdb.base/siginfo.exp: Likewise.
848 * gdb.base/sigstep.exp: Likewise.
849
8502014-10-27 Pedro Alves <palves@redhat.com>
851
852 * gdb.base/sigstep.c (dummy): New global.
853 (main): Issue a couple writes to the new global.
854 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
855 procedures.
856 (skip_over_handler): Use test_skip_handler.
857 (top level): Call skip_over_handler for stepi and nexti too.
858 (breakpoint_over_handler): Use test_skip_handler.
859 (top level): Call breakpoint_over_handler for stepi and nexti too.
860
8612014-10-27 Yao Qi <yao@codesourcery.com>
862
863 * gdb.trace/tfile.c (adjust_function_address)
864 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
865 function descriptor.
866
8672014-10-24 Don Breazeal <donb@codesourcery.com>
868
869 * gdb.base/foll-fork.exp (test_follow_fork,
870 catch_fork_child_follow): Check for updated fork messages emitted
871 from infrun.c.
872 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
873 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
874 vfork_and_exec_child_follow_through_step): Check for updated vfork
875 messages emitted from infrun.c.
876
8772014-10-24 Pedro Alves <palves@redhat.com>
878
879 * gdb.base/corefile.exp: Remove references to ultrix.
880 * gdb.base/interrupt.exp: Likewise.
881 * gdb.base/whatis.exp: Likewise.
882 * gdb.gdb/selftest.exp: Likewise.
883 * gdb.threads/manythreads.exp: Likewise.
884 * gdb.threads/print-threads.exp: Likewise.
885 * gdb.threads/pthreads.exp:: Likewise.
886 * gdb.threads/schedlock.exp: Likewise.
887
8882014-10-24 Siva Chandra Reddy <sivachandra@google.com>
889
890 * gdb.cp/non-trivial-retval.cc: Add a test case.
891 * gdb.cp/non-trivial-retval.exp: Add a test.
892
8932014-10-20 Yao Qi <yao@codesourcery.com>
894
895 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
896 * gdb.python/py-objfile-script-gdb.py: New file.
897 * gdb.python/py-objfile-script.exp: Update reference to
898 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
899 of remote_download. Remove the dest file.
900
9012014-10-20 Yao Qi <yao@codesourcery.com>
902
903 * gdb.base/checkpoint.exp: Don't remove file copied on host.
904 * gdb.base/step-line.exp: Likewise.
905 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
906 * gdb.dwarf2/dw2-basic.exp: Likewise.
907 * gdb.dwarf2/dw2-compressed.exp: Likewise.
908 * gdb.dwarf2/dw2-filename.exp: Likewise.
909 * gdb.dwarf2/dw2-intercu.exp: Likewise.
910 * gdb.dwarf2/dw2-intermix.exp: Likewise.
911 * gdb.dwarf2/dw2-producer.exp: Likewise.
912 * gdb.dwarf2/mac-fileno.exp: Likewise.
913 * gdb.python/py-frame-args.exp: Likewise.
914 * gdb.python/py-framefilter.exp: Likewise.
915 * gdb.python/py-mi.exp: Likewise.
916 * gdb.python/py-objfile-script.exp: Likewise
917 * gdb.python/py-pp-integral.exp: Likewise.
918 * gdb.python/py-pp-re-notag.exp: Likewise.
919 * gdb.python/py-prettyprint.exp: Likewise.
920 * gdb.python/py-section-script.exp: Likewise.
921 * gdb.python/py-typeprint.exp: Likewise.
922 * gdb.python/py-xmethods.exp: Likewise.
923 * gdb.stabs/weird.exp: Likewise.
924 * gdb.xml/tdesc-regs.exp: Likewise.
925
9262014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
927
928 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
929 (out_cu): Use addr_len for the size of addresses.
930 (out_line): Likewise. Size DW_LNE_set_address instruction
931 according to addr_len.
932 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
933 (FUNC): Add START_INSNS to definition.
934
9352014-10-18 Yao Qi <yao@codesourcery.com>
936
937 * gdb.base/argv0-symlink.exp: Check argv[0] value if
938 gdb_has_argv0 return true.
939 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
940 check [target_info exists noargs], check [gdb_has_argv0]
941 instead.
942 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
943 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
944 procedures.
945
9462014-10-17 Doug Evans <dje@google.com>
947
948 * gdb.python/py-events.exp: Update expected output for clear_objfiles
949 event.
950 * gdb.python/py-events.py: Add clear_objfiles event.
951
9522014-10-17 Doug Evans <dje@google.com>
953
954 * gdb.python/py-objfile.exp: Test progspace attribute.
955
9562014-10-17 Luis Machado <lgustavo@codesourcery.com>
957
958 * gdb.guile/scm-breakpoint.exp: Do not assume any
959 directory separators when matching source file paths.
960 * gdb.python/py-breakpoint.exp: Likewise.
961 * gdb.reverse/break-precsave.exp: Likewise.
962 * gdb.reverse/break-reverse.exp: Likewise.
963 * gdb.reverse/consecutive-precsave.exp: Likewise.
964 * gdb.reverse/finish-precsave.exp: Likewise.
965 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
966 * gdb.reverse/finish-reverse.exp: Likewise.
967 * gdb.reverse/i386-precsave.exp: Likewise.
968 * gdb.reverse/i387-env-reverse.exp: Likewise.
969 * gdb.reverse/i387-stack-reverse.exp: Likewise.
970 * gdb.reverse/machinestate-precsave.exp: Likewise.
971 * gdb.reverse/machinestate.exp: Likewise.
972 * gdb.reverse/sigall-precsave.exp: Likewise.
973 * gdb.reverse/solib-precsave.exp: Likewise.
974 * gdb.reverse/step-precsave.exp: Likewise.
975 * gdb.reverse/until-precsave.exp: Likewise.
976 * gdb.reverse/watch-precsave.exp: Likewise.
977 * gdb.reverse/watch-reverse.exp: Likewise.
978
9792014-10-17 Yao Qi <yao@codesourcery.com>
980
981 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
982 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
983
9842014-10-17 Pedro Alves <palves@redhat.com>
985
986 PR gdb/17471
987 * gdb.base/bg-execution-repeat.c: New file.
988 * gdb.base/bg-execution-repeat.exp: New file.
989
9902014-10-17 Pedro Alves <palves@redhat.com>
991
992 PR gdb/17300
993 * gdb.base/continue-all-already-running.c: New file.
994 * gdb.base/continue-all-already-running.exp: New file.
995
9962014-10-17 Pedro Alves <palves@redhat.com>
997
998 PR gdb/17472
999 * gdb.base/annota-input-while-running.c: New file.
1000 * gdb.base/annota-input-while-running.exp: New file.
1001
10022014-10-17 Pedro Alves <palves@redhat.com>
1003
1004 * gdb.base/callfuncs.exp: emove references to osf.
1005 * gdb.base/sigall.exp: Likewise.
1006 * gdb.gdb/selftest.exp: Likewise.
1007 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1008 * gdb.mi/non-stop.c: Likewise.
1009 * gdb.mi/pthreads.c: Likewise.
1010 * gdb.reverse/sigall-precsave.exp: Likewise.
1011 * gdb.reverse/sigall-reverse.exp: Likewise.
1012 * gdb.threads/pthreads.c: Likewise.
1013 * gdb.threads/pthreads.exp: Likewise.
1014
10152014-10-17 Yao Qi <yao@codesourcery.com>
1016
1017 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
1018 check 'target_info exists noargs'.
1019 (test_command_prompt_position): Likewise.
1020 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
1021 Remove "set args".
1022 (progvar_simple_while_test): Likewise.
1023 (progvar_complex_if_while_test): Likewise.
1024 (if_while_breakpoint_command_test): Likewise.
1025 (infrun_breakpoint_command_test): Likewise.
1026 (breakpoint_command_test): Likewise.
1027 (watchpoint_command_test): Likewise.
1028 (bp_deleted_in_command_test): Likewise.
1029 (temporary_breakpoint_commands): Likewise.
1030
10312014-10-16 Yao Qi <yao@codesourcery.com>
1032
1033 * gdb.base/remotetimeout.exp: Remove noargs checking.
1034
10352014-10-15 Pedro Alves <palves@redhat.com>
1036
1037 PR breakpoints/9649
1038 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
1039 * gdb.base/breakpoint-in-ro-region.exp
1040 (probe_target_hardware_step): New procedure.
1041 (top level): Probe hardware stepping and hardware breakpoint
1042 support. Test stepping through a read-only region, with both
1043 "breakpoint auto-hw" on and off and both "always-inserted" on and
1044 off.
1045
10462014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1047
1048 * gdb.dlang/demangle.exp: Update for demangling changes.
1049
10502014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1051
1052 * gdb.cp/non-trivial-retval.cc: Add new test cases.
1053 * gdb.cp/non-trivial-retval.exp: Add new tests.
1054
10552014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1056
1057 PR c++/13403
1058 PR c++/15154
1059 * gdb.cp/non-trivial-retval.cc: New file.
1060 * gdb.cp/non-trivial-retval.exp: New file.
1061
10622014-10-15 Yao Qi <yao@codesourcery.com>
1063
1064 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
1065 remote host.
1066
10672014-10-15 Yao Qi <yao@codesourcery.com>
1068
1069 * gdb.python/py-symbol.exp: Match file base name if host is
1070 remote, otherwise match file name with dir name.
1071 * gdb.python/py-symtab.exp: Likewise.
1072 * gdb.python/python.exp: Likewise.
1073
10742014-10-15 Yao Qi <yao@codesourcery.com>
1075
1076 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
1077 pattern.
1078 * gdb.python/py-symtab.exp: Likewise.
1079 * gdb.python/python.exp: Remove trailing ".*". Fix typo
1080 locationn.
1081
10822014-10-14 Joel Brobecker <brobecker@adacore.com>
1083
1084 * gdb.ada/addr_arith: New testcase.
1085
10862014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
1087
1088 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
1089 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
1090 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
1091 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
1092
10932014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1094
1095 * gdb.arch/stap-eval-lang-ada.S: Likewise.
1096 * gdb.arch/stap-eval-lang-ada.c: Likewise.
1097 * gdb.arch/stap-eval-lang-ada.exp: New file.
1098
10992014-10-14 Yao Qi <yao@codesourcery.com>
1100
1101 * gdb.mi/mi-var-child.c (nothing1): New function.
1102 (nothing2): New function.
1103 (do_children_tests): Set function pointers by nothing1 and
1104 nothing2.
1105 * gdb.mi/mi-var-child.exp: Step over new added statements.
1106 Update test to match the new output.
1107 * gdb.mi/var-cmd.c (nothing1): New function.
1108 (nothing2): New function.
1109 (do_children_tests): Set function pointers by nothing1 and
1110 nothing2.
1111 * gdb.mi/mi-var-display.exp: Update test to match output.
1112 Step to the line specified by $line_dct_nothing.
1113 Increase the number of lines to step.
1114
11152014-10-14 Yao Qi <yao@codesourcery.com>
1116
1117 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
1118 tests.
1119 * gdb.mi/mi2-var-child.exp: Likewise.
1120
11212014-10-13 Doug Evans <dje@google.com>
1122
1123 * gdb.python/py-objfile.exp: Change name of file name test.
1124
11252014-10-13 Doug Evans <dje@google.com>
1126
1127 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
1128 from the start of the CU.
1129
11302014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1131 Yao Qi <yao@codesourcery.com>
1132
1133 Fix "save breakpoints" for "catch" command.
1134 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
1135 Remove -nonewline. Match also the added "main" line.
1136
11372014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1138
1139 Fix "save breakpoints" for "disable $bpnum" command.
1140 * gdb.base/save-bp.c (main): Add label.
1141 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
1142
11432014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1144
1145 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
1146
11472014-10-11 Yao Qi <yao@codesourcery.com>
1148
1149 * gdb.server/server-kill.exp: Execute command
1150 "set remote trace-status-packet on" before "tstatus".
1151
11522014-10-11 Yao Qi <yao@codesourcery.com>
1153
1154 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
1155 (main): Call getppid.
1156 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
1157 and continue to it. Read variable "server_pid".
1158
11592014-10-11 Yao Qi <yao@codesourcery.com>
1160
1161 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
1162
11632014-10-11 Yao Qi <yao@codesourcery.com>
1164
1165 * gdb.threads/thread-find.exp: Don't execute command
1166 "info threads".
1167 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
1168 * gdb.threads/linux-dp.exp: Don't check the condition
1169 $threads_created equals to zero.
1170
11712014-10-10 Pedro Alves <palves@redhat.com>
1172
1173 * gdb.base/bigcore.exp: Remove references to IRIX.
1174 * gdb.base/funcargs.exp: Likewise.
1175 * gdb.base/interrupt.exp: Likewise.
1176 * gdb.base/mips_pro.exp: Likewise.
1177 * gdb.base/nodebug.exp: Likewise.
1178 * gdb.base/setvar.exp: Likewise.
1179 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
1180
11812014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1182 Pedro Alves <palves@redhat.com>
1183
1184 PR symtab/14466
1185 * gdb.base/vdso-warning.c: New file.
1186 * gdb.base/vdso-warning.exp: New file.
1187
11882014-10-02 Doug Evans <dje@google.com>
1189
1190 * gdb.base/structs.c (main): Don't run forever.
1191
11922014-10-02 Pedro Alves <palves@redhat.com>
1193
1194 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
1195 (top level) <stop threads 1, stop threads 2>: Use it.
1196
11972014-10-02 Pedro Alves <palves@redhat.com>
1198
1199 * gdb.threads/break-while-running.exp (test): Add new
1200 'update_thread_list' argument. Skip "info threads" if false.
1201 (top level): Add new 'update_thread_list' axis.
1202
12032014-10-02 Pedro Alves <palves@redhat.com>
1204
1205 PR breakpoints/17431
1206 * gdb.base/execl-update-breakpoints.c: New file.
1207 * gdb.base/execl-update-breakpoints.exp: New file.
1208
12092014-10-01 Pedro Alves <palves@redhat.com>
1210
1211 * gdb.base/breakpoint-in-ro-region.c: New file.
1212 * gdb.base/breakpoint-in-ro-region.exp: New file.
1213
12142014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1215
1216 * gdb.mi/mi-exit-code.exp: New file.
1217 * gdb.mi/mi-exit-code.c: New file.
1218
12192014-09-30 Yao Qi <yao@codesourcery.com>
1220
1221 * lib/prelink-support.exp (build_executable_own_libs): Error if
1222 the target isn't native.
1223
12242014-09-30 Yao Qi <yao@codesourcery.com>
1225
1226 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
1227 false.
1228
12292014-09-22 Pedro Alves <palves@redhat.com>
1230
1231 * gdb.threads/break-while-running.exp: New file.
1232 * gdb.threads/break-while-running.c: New file.
1233
12342014-09-19 Yao Qi <yao@codesourcery.com>
1235
1236 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
1237 Invoke test. Restart GDB with --readnow and invoke test again.
1238
12392014-09-19 Yao Qi <yao@codesourcery.com>
1240
1241 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
1242 proc set_breakpoint_on_gcd_function. Invoke
1243 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
1244 invoke set_breakpoint_on_gcd_function again.
1245
12462014-09-18 Doug Evans <dje@google.com>
1247
1248 * gdb.dwarf2/symtab-producer.exp: New file.
1249
12502014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1251
1252 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
1253 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
1254 * gdb.base/global-var-nested-by-dso.c: Likewise.
1255 * gdb.base/global-var-nested-by-dso.exp: Likewise.
1256
12572014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1258 Pedro Alves <palves@redhat.com>
1259
1260 * gdb.base/watch-bitfields.exp: Pass string other than test file
1261 name to prepare_for_testing.
1262 (watch): New procedure.
1263 (expect_watchpoint): Use with_test_prefix.
1264 (top level): Factor out tests to ...
1265 (test_watch_location, test_regular_watch): ... these new
1266 procedures, and use with_test_prefix and gdb_continue_to_end.
1267
12682014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1269
1270 PR breakpoints/12526
1271 * gdb.base/watch-bitfields.exp: New file.
1272 * gdb.base/watch-bitfields.c: New file.
1273
12742014-09-16 Pedro Alves <palves@redhat.com>
1275
1276 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
1277 software and hardware addresses, not software address against
1278 itself.
1279
12802014-09-16 Pedro Alves <palves@redhat.com>
1281
1282 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
1283 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
1284
12852014-09-16 Pedro Alves <palves@redhat.com>
1286
1287 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
1288 files.
1289 * gdb.base/a2-run.exp: Remove all code guarded by istarget
1290 "*-*-vxworks*" throughout.
1291 * gdb.base/break.exp: Likewise.
1292 * gdb.base/default.exp: Likewise.
1293 * gdb.base/scope.exp: Likewise.
1294 * gdb.base/sepdebug.exp: Likewise.
1295 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
1296 throughout.
1297 * gdb.base/run.c: Likewise.
1298 * gdb.base/sepdebug.c: Likewise.
1299 * gdb.hp/gdb.aCC/run.c: Likewise.
1300 * gdb.reverse/until-reverse.c: Likewise.
1301 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
1302
13032014-09-16 Yao Qi <yao@codesourcery.com>
1304
1305 * boards/local-remote-host-native.exp: New file.
1306
13072014-09-14 Doug Evans <xdje42@gmail.com>
1308
1309 * gdb.threads/queue-signal.c (thread_count): New variable.
1310 (thread_count_mutex, thread_count_condvar): New variables.
1311 (incr_thread_count, wait_all_threads_running): New functions.
1312 (main): Wait for all threads to be in their thread functions.
1313
13142014-09-13 Doug Evans <xdje42@gmail.com>
1315
1316 * gdb.threads/queue-signal.c: New file.
1317 * gdb.threads/queue-signal.exp: New file.
1318
13192014-09-13 Doug Evans <xdje42@gmail.com>
1320
1321 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
1322 be consistent with what default_gdb_init uses.
1323 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
1324 the plain text of the prompt. Add some logging printfs.
1325 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
1326
13272014-09-12 Pedro Alves <palves@redhat.com>
1328
1329 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
1330 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
1331 * gdb.arch/i386-size-overlap.exp: Likewise.
1332 * gdb.arch/i386-size.exp: Likewise.
1333 * gdb.arch/i386-unwind.exp: Likewise.
1334 * gdb.base/a2-run.exp: Likewise.
1335 * gdb.base/break.exp: Likewise.
1336 * gdb.base/charset.exp: Likewise.
1337 * gdb.base/chng-syms.exp: Likewise.
1338 * gdb.base/commands.exp: Likewise.
1339 * gdb.base/dbx.exp: Likewise.
1340 * gdb.base/find.exp: Likewise.
1341 * gdb.base/funcargs.exp: Likewise.
1342 * gdb.base/jit-simple.exp: Likewise.
1343 * gdb.base/reread.exp: Likewise.
1344 * gdb.base/sepdebug.exp: Likewise.
1345 * gdb.base/step-bt.exp: Likewise.
1346 * gdb.cp/mb-inline.exp: Likewise.
1347 * gdb.cp/mb-templates.exp: Likewise.
1348 * gdb.objc/basicclass.exp: Likewise.
1349 * gdb.threads/killed.exp: Likewise.
1350
13512014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1352
1353 PR tdep/17379
1354 * gdb.arch/powerpc-stackless.S: New file.
1355 * gdb.arch/powerpc-stackless.exp: New file.
1356
13572014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1358
1359 * gdb.base/attach.c: Include unistd.h.
1360 (main): Call alarm. Add label postloop.
1361 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
1362 gdb_breakpoint, gdb_continue_to_breakpoint.
1363 (test_command_line_attach_run): Kill ${testpid} in one exit path.
1364
13652014-09-11 Pedro Alves <palves@redhat.com>
1366
1367 PR gdb/17347
1368 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
1369 * gdb.base/attach.exp (test_command_line_attach_run): New
1370 procedure.
1371 (top level): Call it.
1372
13732014-09-11 Pedro Alves <palves@redhat.com>
1374
1375 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
1376 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
1377 (do_command_attach_tests): Use spawn_wait_for_attach.
1378 * gdb.base/solib-overlap.exp: Likewise.
1379 * gdb.multi/multi-attach.exp: Likewise.
1380 * gdb.python/py-prompt.exp: Likewise.
1381 * gdb.python/py-sync-interp.exp: Likewise.
1382 * gdb.server/ext-attach.exp: Likewise.
1383
13842014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
1385
1386 * gdb.fortran/array-element.exp: Remove unexpected "continue"
1387 command in testcase. Simplify testcase.
1388
13892014-09-10 Joel Brobecker <brobecker@adacore.com>
1390
1391 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
1392
13932014-09-10 Joel Brobecker <brobecker@adacore.com>
1394
1395 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
1396
13972014-09-10 Joel Brobecker <brobecker@adacore.com>
1398
1399 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
1400
14012014-09-10 Joel Brobecker <brobecker@adacore.com>
1402
1403 * gdb.dwarf2/dynarr-ptr.c: New file.
1404 * gdb.dwarf2/dynarr-ptr.exp: New file.
1405
14062014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1407
1408 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
1409 of 30 rather than hardcoding 120 for a slow test case. Take the
1410 `gdb,timeout' target setting into account for this calculation.
1411 Don't extend the timeout for the test cases that don't need it.
1412
14132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1414
1415 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
1416 a factor of 2 for a slow test case. Take the `gdb,timeout'
1417 target setting into account for this calculation.
1418 * gdb.reverse/until-precsave.exp: Increase the timeout by
1419 a factor of 15 and 3 respectively rather than adding 120
1420 for a pair of slow test cases. Take the `gdb,timeout'
1421 target setting into account for this calculation.
1422
14232014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1424
1425 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
1426 timeout, don't pass one down to gdb_expect.
1427 (gdb_expect): Rework timeout selection.
1428
14292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1430
1431 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
1432 exception on timeout.
1433 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
1434 (gdbserver_start_extended): Catch any `gdbserver_start' error
1435 exceptions.
1436 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
1437 * lib/mi-support.exp (mi_gdb_target_load): Catch any
1438 `gdbserver_gdb_load' error exceptions.
1439
14402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1441
1442 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
1443 120 on waiting for the TCP socket to open.
1444
14452014-09-09 Doug Evans <xdje42@gmail.com>
1446
1447 * gdb.base/default.exp (show_conv_list): Add _caller_is,
1448 _caller_matches, _any_caller_is, _any_caller_matches.
1449
14502014-09-09 Doug Evans <xdje42@gmail.com>
1451
1452 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
1453
14542014-09-09 Yao Qi <yao@codesourcery.com>
1455
1456 * gdb.mi/mi-var-display.exp: Set print symbol off.
1457
14582014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
1459
1460 PR gdb/17035
1461 * gdb.base/commands.exp: Add tests to verify user-defined
1462 commands with empty bodies.
1463 * gdb.python/py-cmd.exp: Test that we don't show user-defined
1464 python commands in `show user command`.
1465 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
1466 scheme commands in `show user command`.
1467
14682014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1469
1470 PR python/17355
1471 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
1472 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
1473 * gdb.python/py-framefilter-invalidarg.exp: New file.
1474 * gdb.python/py-framefilter-invalidarg.py: New file.
1475
14762014-09-06 Doug Evans <xdje42@gmail.com>
1477
1478 PR 15276
1479 * gdb.python/py-caller-is.c: New file.
1480 * gdb.python/py-caller-is.exp: New file.
1481
14822014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
1483
1484 PR gdb/17235
1485 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
1486 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
1487
14882014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
1489
1490 PR fortran/17237
1491 * gdb.fortran/print-formatted.exp: New file.
1492 * gdb.fortran/print-formatted.f90: Likewise.
1493
14942014-09-03 Sasha Smundak <asmundak@google.com>
1495
1496 * gdb.python/py-frame.exp: Test Frame.read_register.
1497
14982014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
1499
1500 PR python/16699
1501 * gdb.python/py-completion.exp: New file.
1502 * gdb.python/py-completion.py: Likewise.
1503
15042014-08-28 Doug Evans <dje@google.com>
1505
1506 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
1507 eax,etc. are live with values set by gdb and thus the compiler can't
1508 use them.
1509 * gdb.arch/i386-pseudo.c (main): Ditto.
1510
15112014-08-27 Doug Evans <dje@google.com>
1512
1513 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
1514
15152014-08-25 Doug Evans <dje@google.com>
1516
1517 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
1518 (main): Ditto.
1519
15202014-08-25 Doug Evans <dje@google.com>
1521
1522 * gdb.threads/thread-execl.exp: #include <stdio.h>.
1523
15242014-08-24 Yao Qi <yao@codesourcery.com>
1525
1526 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
1527 symbol off.
1528 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
1529
15302014-08-22 Doug Evans <dje@google.com>
1531
1532 PR 17276
1533 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
1534 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
1535 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
1536
15372014-08-22 Yao Qi <yao@codesourcery.com>
1538
1539 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
1540 * gdb.python/py-finish-breakpoint2.exp: Likewise.
1541 * gdb.python/python.exp: Likewise. Use .py file on the host
1542 instead of the build.
1543
15442014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1545
1546 * gdb.threads/gcore-stale-thread.c: New file.
1547 * gdb.threads/gcore-stale-thread.exp: New file.
1548
15492014-08-21 Pedro Alves <palves@redhat.com>
1550
1551 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
1552 * gdb.base/gcore-relro-pie.exp: Likewise.
1553 * gdb.base/gcore-relro.exp: Likewise.
1554 * gdb.base/gcore.exp: Likewise.
1555 * gdb.base/print-symbol-loading.exp: Likewise.
1556 * gdb.threads/gcore-thread.exp: Likewise.
1557 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
1558
15592014-08-20 Pedro Alves <palves@redhat.com>
1560 Jan Kratochvil <jan.kratochvil@redhat.com>
1561
1562 * Makefile.in (EXTRA_RULES, CC): New variables, get from
1563 configure.
1564 (EXPECT): Handle READ1 being set.
1565 (all): Depend on EXTRA_RULES.
1566 (check-read1, expect-read1, read1.so, read1): New rules.
1567 * README (Testsuite Parameters): Document the READ1 make variable.
1568 (Race detection): New section.
1569 * configure: Regenerate.
1570 * configure.ac: If build==host==target, and running under a
1571 GNU/glibc system, add read1 to the extra Makefile rules.
1572 (EXTRA_RULES): AC_SUBST it.
1573 * lib/read1.c: New file.
1574
15752014-08-20 Joel Brobecker <brobecker@adacore.com>
1576
1577 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
1578 the handling of variables declared as a typedef to an array
1579 which a DW_AT_data_location attribute.
1580
15812014-08-19 Andrew Burgess <aburgess@broadcom.com>
1582 Pedro Alves <palves@redhat.com>
1583
1584 PR symtab/14604
1585 PR symtab/14605
1586 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
1587 gdb_test.
1588
15892014-08-19 Pedro Alves <palves@redhat.com>
1590
1591 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
1592
15932014-08-19 Yao Qi <yao@codesourcery.com>
1594
1595 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
1596 right line.
1597
15982014-08-18 David Blaikie <dblaikie@gmail.com>
1599
1600 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
1601
16022014-08-18 Joel Brobecker <brobecker@adacore.com>
1603
1604 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
1605 attribute in array range.
1606
16072014-08-18 Joel Brobecker <brobecker@adacore.com>
1608
1609 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
1610
16112014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1612
1613 PR c++/17132
1614 * gdb.cp/pr17132.cc: New file.
1615 * gdb.cp/pr17132.exp: New file.
1616
16172014-08-15 Siva Chandra Reddy <sivachandra@google.com>
1618
1619 * gdb.python/py-xmethods.py (A_getarrayind)
1620 (E_method_char_worker.__call__, E_method_int_worker.__call__):
1621 Use 'print' with function call syntax.
1622 (E_method_matcher.match): Fix tab vs space indentation mixup.
1623
16242014-08-15 Yao Qi <yao@codesourcery.com>
1625
1626 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
1627 false.
1628
16292014-08-15 Yao Qi <yao@codesourcery.com>
1630
1631 * gdb.cp/casts.exp: Set print symbol off.
1632 * gdb.cp/class2.exp: Likewise.
1633 * gdb.cp/overload.exp: Likewise.
1634 * gdb.cp/templates.exp: Likewise.
1635
16362014-08-11 Doug Evans <dje@google.com>
1637
1638 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1639 (test_load_shlib): Update.
1640
16412014-08-09 Yao Qi <yao@codesourcery.com>
1642
1643 * gdb.base/display.exp: Invoke is_address_zero_readable.
1644 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1645 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1646 * gdb.base/hbreak-unmapped.exp: Return if
1647 is_address_zero_readable returns true.
1648 * gdb.base/signest.exp: Likewise.
1649 * gdb.base/signull.exp: Likewise.
1650 * gdb.base/sigbpt.exp: Likewise.
1651 * gdb.guile/scm-disasm.exp: Do the test if
1652 is_address_zero_readable returns false.
1653 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1654 * gdb.python/py-arch.exp: Likewise.
1655 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1656 * lib/gdb.exp (is_address_zero_readable): New proc.
1657
16582014-08-09 Yao Qi <yao@codesourcery.com>
1659
1660 PR testsuite/13443
1661 * gdb.mi/mi-var-display.exp: Make test messages unique.
1662
16632014-08-04 Tom Tromey <tromey@redhat.com>
1664
1665 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1666 target 0".
1667
16682014-08-04 Tom Tromey <tromey@redhat.com>
1669
1670 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1671 "target_resume".
1672
16732014-08-01 Joel Brobecker <brobecker@adacore.com>
1674
1675 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1676 inner_vla_struct_object_size.
1677 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1678 as xfail.
1679
16802014-07-30 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1683 comment.
1684
16852014-07-29 Yao Qi <yao@codesourcery.com>
1686
1687 PR gdb/17206
1688 * gdb.base/until-nodebug.exp: New.
1689
16902014-07-28 Doug Evans <xdje42@gmail.com>
1691
1692 PR guile/17203
1693 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1694 previously existing parameter, and previously ambiguously spelled
1695 parameter.
1696
16972014-07-28 Will Newton <will.newton@linaro.org>
1698
1699 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1700
17012014-07-26 Ludovic Courtès <ludo@gnu.org>
1702 Doug Evans <xdje42@gmail.com>
1703
1704 PR guile/17146
1705 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1706
17072014-07-25 Pedro Alves <palves@redhat.com>
1708
1709 * gdb.threads/signal-command-handle-nopass.c: New file.
1710 * gdb.threads/signal-command-handle-nopass.exp: New file.
1711 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1712 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1713 * gdb.threads/signal-delivered-right-thread.c: New file.
1714 * gdb.threads/signal-delivered-right-thread.exp: New file.
1715
17162014-07-25 Pedro Alves <palves@redhat.com>
1717
1718 * gdb.base/double-prompt-target-event-error.exp
1719 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1720 match.
1721 (cancel_pagination_in_target_event): Rework double prompt
1722 detection.
1723 * gdb.base/paginate-after-ctrl-c-running.exp
1724 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1725 <return>' match.
1726 * gdb.base/paginate-bg-execution.exp
1727 (test_bg_execution_pagination_return)
1728 (test_bg_execution_pagination_cancel): Remove '-notransfer
1729 <return>' matches.
1730 * gdb.base/paginate-execution-startup.exp
1731 (test_fg_execution_pagination_return)
1732 (test_fg_execution_pagination_cancel): Remove '-notransfer
1733 <return>' matches.
1734 * gdb.base/paginate-inferior-exit.exp
1735 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1736 match.
1737 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1738 * lib/gdb.exp (pagination_prompt): Run text through
1739 string_to_regexp.
1740 (gdb_test_multiple): Match $pagination_prompt instead of
1741 "<return>".
1742 (string_to_regexp): Move to lib/gdb-utils.exp.
1743
17442014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1745
1746 * gdb.arch/amd64-entry-value-paramref.S: New file.
1747 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1748 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1749 * gdb.arch/amd64-optimout-repeat.S: New file.
1750 * gdb.arch/amd64-optimout-repeat.c: New file.
1751 * gdb.arch/amd64-optimout-repeat.exp: New file.
1752
17532014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1754
1755 PR gdb/17170
1756 * gdb.base/statistics.exp: New file.
1757
17582014-07-17 Doug Evans <dje@google.com>
1759
1760 PR gdb/17170
1761 * gdb.base/maint.exp: Update testing of per-command stats.
1762
17632014-07-16 Pedro Alves <palves@redhat.com>
1764
1765 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1766 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1767 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1768 (tfile_write_buf): New functions.
1769 (add_memory_block): Rewrite using the above.
1770 (adjust_function_address): New function.
1771 (FUNCTION_ADDRESS): New macro.
1772 (write_basic_trace_file): Remove short_x local, and use
1773 tfile_write_16. Change type of func_addr local to unsigned long
1774 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1775 here. Cast argument of add_memory_block to char pointer.
1776 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1777 (main): Remove parameters.
1778 * gdb.trace/tfile.exp: Remove nowarnings.
1779
17802014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1781
1782 * gdb.base/debug-expr.exp: Test string evaluation with
1783 "debug expression" on.
1784
17852014-07-15 Pedro Alves <palves@redhat.com>
1786
1787 * gdb.base/reread.exp: Use clean_restart.
1788
17892014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1790
1791 * gdb.arch/avr-flash-qualifer.c: New.
1792 * gdb.arch/avr-flash-qualifer.exp: New.
1793
17942014-07-14 Pedro Alves <palves@redhat.com>
1795
1796 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1797 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1798
17992014-07-14 Pedro Alves <palves@redhat.com>
1800
1801 * gdb.base/double-prompt-target-event-error.c: New file.
1802 * gdb.base/double-prompt-target-event-error.exp: New file.
1803
18042014-07-14 Pedro Alves <palves@redhat.com>
1805
1806 PR gdb/17072
1807 * gdb.base/paginate-inferior-exit.c: New file.
1808 * gdb.base/paginate-inferior-exit.exp: New file.
1809
18102014-07-14 Pedro Alves <palves@redhat.com>
1811
1812 PR gdb/17072
1813 * gdb.base/paginate-bg-execution.c: New file.
1814 * gdb.base/paginate-bg-execution.exp: New file.
1815
18162014-07-14 Pedro Alves <palves@redhat.com>
1817
1818 PR gdb/17072
1819 * gdb.base/paginate-execution-startup.c: New file.
1820 * gdb.base/paginate-execution-startup.exp: New file.
1821 * lib/gdb.exp (pagination_prompt): New global.
1822 (default_gdb_spawn): New procedure, factored out from
1823 default_gdb_spawn.
1824 (default_gdb_start): Adjust to call default_gdb_spawn.
1825 (gdb_spawn): New procedure.
1826
18272014-07-14 Pedro Alves <palves@redhat.com>
1828
1829 * lib/gdb.exp (gdb_assert): New procedure.
1830 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1831
18322014-07-14 Pedro Alves <palves@redhat.com>
1833
1834 * gdb.base/execution-termios.c: New file.
1835 * gdb.base/execution-termios.exp: New file.
1836
18372014-07-14 Tom Tromey <tromey@redhat.com>
1838
1839 * gdb.cp/vla-cxx.cc: New file.
1840 * gdb.cp/vla-cxx.exp: New file.
1841
18422014-07-14 Tom Tromey <tromey@redhat.com>
1843
1844 * gdb.reverse/rerun-prec.c: New file.
1845 * gdb.reverse/rerun-prec.exp: New file.
1846
18472014-07-12 Maciej W. Rozycki <macro@mips.com>
1848 Maciej W. Rozycki <macro@codesourcery.com>
1849
1850 * lib/gdb-utils.exp: New file.
1851 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1852 inline `gdb_init_command' processing.
1853 (gdb_start_cmd): Likewise.
1854 * lib/mi-support.exp (mi_run_cmd): Likewise.
1855 * README: Document `gdb_init_command' and `gdb_init_commands'.
1856
18572014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1858
1859 Fix false FAIL running under a very long directory name.
1860 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1861 and "set print elements 10000". Twice.
1862
18632014-07-11 Yao Qi <yao@codesourcery.com>
1864
1865 * gdb.base/exprs.exp: "set print symbol off".
1866
18672014-07-11 Pedro Alves <palves@redhat.com>
1868
1869 * gdb.threads/kill.c: New file.
1870 * gdb.threads/kill.exp: New file.
1871
18722014-07-10 Yao Qi <yao@codesourcery.com>
1873
1874 * gdb.trace/tfile.c (write_basic_trace_file)
1875 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1876 address written to trace file.
1877
18782014-07-09 Pedro Alves <palves@redhat.com>
1879
1880 * gdb.base/attach-wait-input.exp: New file.
1881 * gdb.base/attach-wait-input.c: New file.
1882
18832014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1884
1885 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1886 setting up test structures.
1887 (main): Call new test function.
1888 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1889 test function, continue into test function and walk test
1890 structures.
1891
18922014-07-02 Yao Qi <yao@codesourcery.com>
1893
1894 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1895 'bar_start' at the beginning of functions 'foo' and 'bar'
1896 respectively.
1897 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1898 instead of 'foo' and 'bar'.
1899
19002014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1901
1902 * gdb.btrace/segv.exp: New.
1903 * gdb.btrace/segv.c: New.
1904
19052014-07-02 Luis Machado <lgustavo@codesourcery.com>
1906
1907 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1908 instruction.
1909
19102014-06-30 Mark Wielaard <mjw@redhat.com>
1911
1912 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1913 vulture, vilify, villar): New volatile array constants.
1914 (vindictive, vegetation): New const volatile array constants.
1915 * gdb.base/volatile.exp: Test volatile and const volatile array
1916 types.
1917
19182014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1919
1920 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1921 target lacks support for awatch, rwatch, or hbreak.
1922
19232014-06-27 Yao Qi <yao@codesourcery.com>
1924
1925 * gdb.multi/dummy-frame-restore.exp: New.
1926 * gdb.multi/dummy-frame-restore.c: New.
1927
19282014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1929
1930 * gdb.btrace/gcore.exp: New.
1931
19322014-06-23 Pedro Alves <palves@redhat.com>
1933
1934 * gdb.base/watchpoint-reuse-slot.c: New file.
1935 * gdb.base/watchpoint-reuse-slot.exp: New file.
1936
19372014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1938
1939 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1940 progspace's filename in 'info', 'enable' and 'disable' command
1941 tests.
1942
19432014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1944
1945 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1946 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1947 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1948
19492014-06-20 Gary Benson <gbenson@redhat.com>
1950
1951 * gdb.arch/i386-avx.exp: Fix include file location.
1952 * gdb.arch/i386-sse.exp: Likewise.
1953
19542014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1955
1956 * gdb.dlang/expression.exp: New file.
1957
19582014-06-19 Pedro Alves <palves@redhat.com>
1959
1960 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1961 out from ...
1962 (top level): ... here. Iterate running tests under different
1963 scheduler-locking settings.
1964
19652014-06-18 Luis Machado <lgustavo@codesourcery.com>
1966
1967 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1968 to DW_FORM_addr and use non-zero addresses.
1969
19702014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1971
1972 PR gdb/17017
1973 * gdb.python/py-xmethods.cc: Add global function call counters and
1974 increment them in their respective functions. Remove "cout"
1975 statements.
1976 * gdb.python/py-xmethods.exp: Make tests check the global function
1977 call counters instead of depending on inferior IO.
1978
19792014-06-18 Don Breazeal <donb@codesourcery.com>
1980
1981 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1982 Deleted procedure.
1983 (explicit_fork_parent_follow): Deleted procedure.
1984 (explicit_fork_child_follow): Deleted procedure.
1985 (test_follow_fork): New procedure.
1986 (do_fork_tests): Replace calls to deleted procedures with
1987 calls to test_follow_fork and reset GDB for subsequent
1988 procedure calls.
1989
19902014-06-17 Yao Qi <yao@codesourcery.com>
1991
1992 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1993 CP1252.
1994
19952014-06-17 Luis Machado <lgustavo@codesourcery.com>
1996
1997 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1998 Initialize ptr and S explicitly.
1999 (skip_type_update_when_not_use_rtti_test): Likewise.
2000
20012014-06-16 Keith Seitz <keiths@redhat.com>
2002
2003 PR mi/15863
2004 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
2005 the inferior is started.
2006
20072014-06-16 Pedro Alves <palves@redhat.com>
2008
2009 * gdb.base/break-main-file-remove-fail.c: New file.
2010 * gdb.base/break-main-file-remove-fail.exp: New file.
2011 * gdb.base/break-unload-file.exp: Use build_executable instead of
2012 prepare_for_testing.
2013 (test_break): New parameter "initial_load". Handle it.
2014 (top level): Add initial_load cmdline/file axis.
2015
20162014-06-12 Tom Tromey <tromey@redhat.com>
2017
2018 * gdb.base/completion.exp: Don't use directory name in test.
2019
20202014-06-09 Gary Benson <gbenson@redhat.com>
2021
2022 * gdb.base/sigall.c [Functions to send signals]: Reorder to
2023 separate the always-available ANSI-standard signals from the
2024 signals that require checking.
2025 (main): Likewise.
2026 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
2027 Likewise.
2028 (main): Likewise.
2029
20302014-06-07 Keith Seitz <keiths@redhat.com>
2031
2032 Revert:
2033 PR c++/16253
2034 * gdb.cp/var-tag.cc: New file.
2035 * gdb.cp/var-tag.exp: New file.
2036 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2037 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2038 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2039 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2040
20412014-06-06 Doug Evans <xdje42@gmail.com>
2042
2043 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
2044
20452014-06-06 Pedro Alves <palves@redhat.com>
2046
2047 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
2048 in target debug output instead of looking at RSP packets,
2049 disabling the test on any target that uses hardware stepping.
2050 Update comments.
2051
20522014-06-06 Pedro Alves <palves@redhat.com>
2053
2054 * gdb.base/break-unload-file.exp: Fix typo.
2055
20562014-06-06 Yao Qi <yao@codesourcery.com>
2057
2058 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
2059 from "jit_function" to "^jit_function".
2060
20612014-06-06 Yao Qi <yao@codesourcery.com>
2062
2063 * gdb.base/async.c (foo): Add one statement.
2064 * gdb.base/async.exp: Get the next instruction address and
2065 match the output of "nexti" by instruction address. Match
2066 the hex address in the output of "finish".
2067
20682014-06-06 Gary Benson <gbenson@redhat.com>
2069
2070 * gdb.base/call-signals.c: Remove preprocessor conditionals
2071 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2072 SIGSEGV and SIGTERM.
2073 * gdb.base/sigall.c: Likewise.
2074 * gdb.base/unwindonsignal.c: Likewise.
2075 * gdb.reverse/sigall-reverse.c: Likewise.
2076
20772014-06-06 Yao Qi <yao@codesourcery.com>
2078
2079 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
2080 readable, skip the test.
2081
20822014-06-06 Yao Qi <yao@codesourcery.com>
2083
2084 * gdb.threads/staticthreads.c (thread_function): Move the line
2085 setting breakpoint on forward.
2086 * gdb.threads/staticthreads.exp: Update comments.
2087
20882014-06-05 Ludovic Courtès <ludo@gnu.org>
2089
2090 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
2091 "history-append! type error".
2092
20932014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2094
2095 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
2096 erroneous dprintf expected input.
2097
20982014-06-04 Doug Evans <xdje42@gmail.com>
2099
2100 * gdb.guile/scm-generics.exp: Delete.
2101
21022014-06-04 Doug Evans <xdje42@gmail.com>
2103
2104 * gdb.guile/scm-breakpoint.exp: Update.
2105 Add tests for breakpoint registration.
2106
21072014-06-04 Tom Tromey <tromey@redhat.com>
2108
2109 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
2110 VLA-in-union.
2111 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
2112 inner_vla_struct, vla_union types. Initialize objects of those
2113 types and compute their sizes.
2114
21152014-06-04 Nathan Sidwell <nathan@codesourcery.com>
2116 Hui Zhu <hui@codesourcery.com>
2117
2118 * gdb.base/fileio.exp: Add test for shell not available as well as
2119 available.
2120 * gdb.base/fileio.c (test_system): Check for shell twice.
2121
21222014-06-04 Yao Qi <yao@codesourcery.com>
2123
2124 * gdb.base/auto-connect-native-target.exp: Remove redundant
2125 space from the regexp pattern.
2126
21272014-06-04 Yao Qi <yao@codesourcery.com>
2128
2129 * gdb.base/default.exp: Replace "child" with "native" in
2130 regexp pattern.
2131
21322014-06-03 Siva Chandra Reddy <sivachandra@google.com>
2133
2134 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
2135 * gdb.python/py-xmethods.exp: New tests to test xmethods.
2136 * gdb.python/py-xmethods.py: Python script supporting the
2137 new testcase and tests.
2138
21392014-06-03 Joel Brobecker <brobecker@adacore.com>
2140 Pedro Alves <palves@redhat.com>
2141
2142 PR breakpoints/17000
2143 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
2144 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
2145
21462014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
2147
2148 * gdb.base/subst.exp: Add tests to verify partial path matching
2149 output.
2150
21512014-06-03 Pedro Alves <palves@redhat.com>
2152
2153 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
2154 target that doesn't use software single-stepping.
2155
21562014-06-03 Pedro Alves <palves@redhat.com>
2157
2158 PR breakpoints/17000
2159 * gdb.base/sss-bp-on-user-bp-2.c: New file.
2160 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
2161
21622014-06-02 Doug Evans <xdje42@gmail.com>
2163
2164 * gdb.guile/scm-parameter.exp: New file.
2165
21662014-06-02 Doug Evans <xdje42@gmail.com>
2167
2168 * gdb.guile/scm-cmd.c: New file.
2169 * gdb.guile/scm-cmd.exp: New file.
2170
21712014-06-02 Doug Evans <xdje42@gmail.com>
2172
2173 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
2174 pretty-printer lookup.
2175 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
2176 (make-pp_s-printer): Call it.
2177 (make-pretty-printer-from-dict): New function.
2178 (lookup-pretty-printer-maker-from-dict): New function.
2179 (*pretty-printer*): Simplify.
2180 (make-objfile-pp_s-printer): New function.
2181 (install-objfile-pretty-printers!): New function.
2182 (make-progspace-pp_s-printer): New function.
2183 (install-progspace-pretty-printers!): New function.
2184 * gdb.guile/scm-progspace.c: New file.
2185 * gdb.guile/scm-progspace.exp: New file.
2186
21872014-06-02 Pedro Alves <palves@redhat.com>
2188
2189 * gdb.base/dprintf-bp-same-addr.c: New file.
2190 * gdb.base/dprintf-bp-same-addr.exp: New file.
2191
21922014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2193
2194 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
2195 * gdb.arch/powerpc-power.s: Likewise.
2196
21972014-06-02 Joel Brobecker <brobecker@adacore.com>
2198
2199 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
2200
22012014-06-01 Yao Qi <yao@codesourcery.com>
2202
2203 * gdb.base/watchpoint.exp (test_watch_location): Check null
2204 pointer can be dereferenced. If not, do the test, otherwise
2205 skip it.
2206
22072014-05-30 Andrew Burgess <aburgess@broadcom.com>
2208
2209 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
2210 results.
2211 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
2212
22132014-05-30 Andrew Burgess <aburgess@broadcom.com>
2214
2215 * gdb.arch/amd64-invalid-stack-middle.S: New file.
2216 * gdb.arch/amd64-invalid-stack-middle.c: New file.
2217 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
2218 * gdb.arch/amd64-invalid-stack-top.c: New file.
2219 * gdb.arch/amd64-invalid-stack-top.exp: New file.
2220
22212014-05-30 Pedro Alves <palves@redhat.com>
2222
2223 PR breakpoints/17000
2224 * gdb.base/sss-bp-on-user-bp.c: New file.
2225 * gdb.base/sss-bp-on-user-bp.exp: New file.
2226
22272014-05-30 David Blaikie <dblaikie@gmail.com>
2228
2229 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
2230 gnu_inline semantics via attribute.
2231 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
2232 source explicitly specifies the required semantics.
2233
22342014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
2235
2236 * gdb.reverse/sigall-reverse.exp: Fix a typo.
2237
22382014-05-29 Pedro Alves <palves@redhat.com>
2239 Tom Tromey <tromey@redhat.com>
2240
2241 * gdb.base/async-shell.exp: Don't enable target-async.
2242 * gdb.base/async.exp
2243 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
2244 parameter. Adjust.
2245 (top level): Don't test with "target-async".
2246 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
2247 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
2248 * gdb.base/inferior-died.exp: Don't enable target-async.
2249 * gdb.base/interrupt-noterm.exp: Likewise.
2250 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
2251 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2252 * gdb.mi/mi-nonstop.exp: Likewise.
2253 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2254 * gdb.mi/mi-nsintrall.exp: Likewise.
2255 * gdb.mi/mi-nsmoribund.exp: Likewise.
2256 * gdb.mi/mi-nsthrexec.exp: Likewise.
2257 * gdb.mi/mi-watch-nonstop.exp: Likewise.
2258 * gdb.multi/watchpoint-multi.exp: Adjust comment.
2259 * gdb.python/py-evsignal.exp: Don't enable target-async.
2260 * gdb.python/py-evthreads.exp: Likewise.
2261 * gdb.python/py-prompt.exp: Likewise.
2262 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
2263 * gdb.server/solib-list.exp: Don't enable target-async.
2264 * gdb.threads/thread-specific-bp.exp: Likewise.
2265 * lib/mi-support.exp: Adjust to use mi-async.
2266
22672014-05-29 Pedro Alves <palves@redhat.com>
2268
2269 PR gdb/13860
2270 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
2271 reason, even in sync mode.
2272
22732014-05-29 Pedro Alves <palves@redhat.com>
2274 Hui Zhu <hui@codesourcery.com>
2275
2276 PR PR15693
2277 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
2278 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
2279 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
2280 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
2281
22822014-05-28 Joel Brobecker <brobecker@adacore.com>
2283
2284 * config/monitor.exp (gdb_target_monitor): Replace use of
2285 "set remotebaud" by "set serial baud".
2286
22872014-05-26 Andy Wingo <wingo@igalia.com>
2288
2289 * gdb.guile/scm-breakpoint.exp:
2290 * gdb.guile/scm-gsmob.exp: Update to use plain old object
2291 properties instead of gdb-object-properties.
2292
22932014-05-26 Yao Qi <yao@codesourcery.com>
2294
2295 * gdb.server/no-thread-db.exp: Specify source file name
2296 explicitly when setting a breakpoint.
2297
22982014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2299
2300 * gdb.btrace/vdso.c: New.
2301 * gdb.btrace/vdso.exp: New.
2302
23032014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2304
2305 * gdb.base/gcore.exp (capture_command_output): Move ...
2306 * lib/gdb.exp (capture_command_output): ... here.
2307
23082014-05-23 Markus Metzger <markus.t.metzger@intel.com>
2309
2310 * gdb.btrace/data.exp: Test memory access during btrace replay.
2311
23122014-05-22 Simon Marchi <simon.marchi@ericsson.com>
2313
2314 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
2315
23162014-05-21 Pedro Alves <palves@redhat.com>
2317
2318 PR gdb/13860
2319 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
2320 (top level): Test that output related to execution commands is
2321 sent to the console with CLI commands, but not with MI commands.
2322 Test that breakpoint events are always mirrored to the console.
2323 Also expect the new source line to be output after a "next" in
2324 async mode too. Make it a pass/fail test.
2325 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
2326 output.
2327 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
2328
23292014-05-21 Pedro Alves <palves@redhat.com>
2330
2331 * gdb.base/list.exp (build_pattern, test_list): New procedures.
2332 Use them to test variations of "list" after reaching a breakpoint.
2333 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
2334 Test "list" with listsize 10 after reaching a breakpoint.
2335 * gdb.python/python.exp (decode_line current location line
2336 number): Adjust expected line number.
2337
23382014-05-21 Simon Marchi <simon.marchi@ericsson.com>
2339
2340 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
2341 behavior for $args, pass it directly to "run".
2342
23432014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2344
2345 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
2346 30000 to 65536.
2347
23482014-05-21 Pedro Alves <palves@redhat.com>
2349
2350 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
2351 auto-connect-native-target off".
2352 * gdb.base/auto-connect-native-target.c: New file.
2353 * gdb.base/auto-connect-native-target.exp: New file.
2354
23552014-05-21 Pedro Alves <palves@redhat.com>
2356
2357 * gdb.base/default.exp: Test "target native" instead of "target
2358 child".
2359
23602014-05-21 Mark Wielaard <mjw@redhat.com>
2361
2362 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2363
23642014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2365
2366 Fix TLS access for -static -pthread.
2367 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
2368 <HAVE_TLS> (thread_function, main): Initialize it.
2369 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
2370 Add clean_restart.
2371 <$have_tls != "">: Check TLSVAR.
2372
23732014-05-21 Pedro Alves <palves@redhat.com>
2374
2375 * gdb.base/dcache-line-read-error.c: New.
2376 * gdb.base/dcache-line-read-error.exp: New.
2377
23782014-05-20 Pedro Alves <palves@redhat.com>
2379
2380 * gdb.base/compare-sections.c: New file.
2381 * gdb.base/compare-sections.exp: New file.
2382
23832014-05-20 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.base/break-idempotent.c: New file.
2386 * gdb.base/break-idempotent.exp: New file.
2387
23882014-05-20 Markus Metzger <markus.t.metzger@intel.com>
2389
2390 * gdb.btrace/nohist.exp: New.
2391
23922014-05-20 Yao Qi <yao@codesourcery.com>
2393
2394 * lib/gdb.exp (gdb_init): Set timeout if test file is under
2395 gdb.reverse directory and gdb_reverse_timeout exists in board
2396 setting.
2397 * README: Document gdb_reverse_timeout.
2398
23992014-05-20 Yao Qi <yao@codesourcery.com>
2400
2401 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
2402 'test_file_name'. Treat args as a string instead of a list.
2403 (gdb_init): Rename argument 'args' by 'test_file_name'.
2404
24052014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2406
2407 * gdb.arch/powerpc-power.exp: New file.
2408 * gdb.arch/powerpc-power.s: New file.
2409
24102014-05-16 Doug Evans <dje@google.com>
2411
2412 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
2413 * gdb.base/completion.exp: Check that all expected files exist
2414 before doing file completion.
2415
24162014-05-16 Doug Evans <dje@google.com>
2417
2418 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
2419 Update.
2420 (do_syscall_tests_without_xml): Update.
2421
24222014-05-16 Pedro Alves <palves@redhat.com>
2423
2424 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
2425 instead of "unknown output after running".
2426
24272014-05-16 Yao Qi <yao@codesourcery.com>
2428
2429 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
2430 file1.txt from host at the end.
2431 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2432
24332014-05-15 Doug Evans <dje@google.com>
2434
2435 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
2436 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
2437 loading file. Add test for TU lookup.
2438
24392014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2440
2441 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
2442 calling "-exec-arguments" or "set args" before running the
2443 inferior.
2444
24452014-05-15 Simon Marchi <simon.marchi@ericsson.com>
2446
2447 * lib/mi-support.exp (mi_expect_stop): Expect message for
2448 inferiors that exit with non-zero exit code.
2449
24502014-05-14 Yao Qi <yao@codesourcery.com>
2451
2452 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
2453 match absolute path on remote host.
2454 (test_file_list_exec_source_files): Remove "/" from the
2455 pattern.
2456
24572014-05-14 Yao Qi <yao@codesourcery.com>
2458
2459 * boards/local-remote-host-notty.exp (${board}_file): New
2460 proc.
2461
24622014-05-07 Kyle McMartin <kyle@redhat.com>
2463
2464 Pushed by Joel Brobecker <brobecker@adacore.com>.
2465 * gdb.arch/aarch64-atomic-inst.c: New file.
2466 * gdb.arch/aarch64-atomic-inst.exp: New file.
2467
24682014-05-07 Yao Qi <yao@codesourcery.com>
2469
2470 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
2471 in current context" too.
2472
24732014-05-05 Keith Seitz <keiths@redhat.com>
2474
2475 * gdb.linespec/ls-dollar.exp: Add test for linespec
2476 file:convenience_variable.
2477
24782014-05-05 Yao Qi <yao@codesourcery.com>
2479
2480 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
2481 traceframes into tfile and ctf trace files. Read data from
2482 trace file and test collected data.
2483 (gdb_collect_locals_test): Likewise.
2484 (gdb_unavailable_registers_test): Likewise.
2485 (gdb_unavailable_floats): Likewise.
2486 (gdb_collect_globals_test): Likewise.
2487 (top-level): Append "ctf" to trace_file_targets if GDB
2488 supports.
2489
24902014-05-05 Yao Qi <yao@codesourcery.com>
2491
2492 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
2493 code to ...
2494 (gdb_collect_args_test_1): ... it. New proc.
2495 (gdb_collect_locals_test): Move some code to ...
2496 (gdb_collect_locals_test_1): ... it. New proc.
2497 (gdb_unavailable_registers_test): Move some code to ...
2498 (gdb_unavailable_registers_test_1): ... it. New proc.
2499 (gdb_unavailable_floats): Move some code to ...
2500 (gdb_unavailable_floats_1): ... it. New proc.
2501
25022014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2503
2504 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
2505 probes to test for bitness recognition.
2506 * gdb.arch/amd64-stap-optional-prefix.exp
2507 (test_probe_value_without_reg): New procedure.
2508 Add code to test for different kinds of bitness.
2509
25102014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
2511
2512 PR breakpoints/16889
2513 * gdb.arch/amd64-stap-optional-prefix.S: New file.
2514 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
2515
25162014-05-01 Pedro Alves <palves@redhat.com>
2517
2518 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
2519 gdb_file_cmd if no file is specified.
2520 * boards/native-extended-gdbserver.exp (gdb_load): Use the
2521 last_loaded_file to set the remote exec-file.
2522
25232014-05-01 Pedro Alves <palves@redhat.com>
2524
2525 * boards/local-remote-host.exp: New file.
2526
25272014-05-01 Pedro Alves <palves@redhat.com>
2528
2529 * boards/local-remote-host.exp: Rename to ...
2530 * boards/local-remote-host-notty.exp: ... this.
2531
25322014-04-28 Joel Brobecker <brobecker@adacore.com>
2533
2534 * gdb.ada/dyn_arrayidx: New testcase.
2535
25362014-04-26 Yao Qi <yao@codesourcery.com>
2537
2538 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
2539 and compute the length of function main. Save it in
2540 $main_length.
2541 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
2542 (top-level): Use gdb_compile to compile objects into
2543 executable and restart GDB. Remove invocation to
2544 prepare_for_testing.
2545
25462014-04-25 Simon Marchi <simon.marchi@ericsson.com>
2547 Pedro Alves <palves@redhat.com>
2548
2549 PR server/16255
2550 * gdb.multi/multi-attach.c: New file.
2551 * gdb.multi/multi-attach.exp: New file.
2552
25532014-04-25 Pedro Alves <palves@redhat.com>
2554
2555 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
2556 user.
2557 (top level): Test that "set remote conditional-breakpoints-packet
2558 off" works as intended.
2559 * gdb.base/dprintf.exp: Test that "set remote
2560 breakpoint-commands-packet off" works as intended.
2561 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
2562 New function.
2563 (top level): Call it.
2564 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
2565 remote fast-tracepoints-packet off" works as intended.
2566 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
2567 * lib/gdb.exp (gdb_is_target_remote): ... here.
2568
25692014-04-24 David Blaikie <dblaikie@gmail.com>
2570
2571 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
2572 ensure clang would not discard them.
2573 * gdb.base/gdbvars.c: Ditto.
2574 * gdb.base/memattr.c: Ditto.
2575 * gdb.base/whatis.c: Ditto.
2576 * gdb.python/py-prettyprint.c: Ditto.
2577 * gdb.trace/actions.c: Ditto.
2578 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
2579 ensure clang would not discard it.
2580
25812014-04-24 David Blaikie <dblaikie@gmail.com>
2582
2583 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
2584 clang to emit the full definition of type required by the test
2585 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
2586
25872014-04-24 David Blaikie <dblaikie@gmail.com>
2588
2589 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
2590 coax Clang into emitting the definition of the type.
2591 * gdb.cp/pr10728-x.h (y): Ditto.
2592 * gdb.cp/pr10728-y.cc (y): Ditto.
2593
25942014-04-24 David Blaikie <dblaikie@gmail.com>
2595
2596 * gdb.base/label.exp: XFAIL label related tests under Clang.
2597 * gdb.cp/cplabel.exp: Ditto.
2598 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
2599 under Clang those using labels.
2600
26012014-04-25 Yao Qi <yao@codesourcery.com>
2602
2603 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
2604 double_label.
2605 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
2606 partial_label and double_label.
2607
26082014-04-24 David Blaikie <dblaikie@gmail.com>
2609
2610 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
2611
26122014-04-24 David Blaikie <dblaikie@gmail.com>
2613
2614 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
2615 of the function to work across GCC and Clang.
2616 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
2617 pointer types (const void ** const V void **).
2618
26192014-04-24 Michael Sturm <michael.sturm@mintel.com>
2620 Walfred Tedeschi <walfred.tedeschi@intel.com>
2621
2622 * Makefile.in (EXECUTABLES): Added i386-avx512.
2623 * gdb.arch/i386-avx512.c: New file.
2624 * gdb.arch/i386-avx512.exp: Likewise.
2625
26262014-04-23 Keith Seitz <keiths@redhat.com>
2627
2628 * lib/mi-support.exp (mi_list_breakpoints): Delete.
2629 (mi_make_breakpoint_table): New procedure.
2630 (mi_create_breakpoint): Use mi_make_breakpoint
2631 and return the result.
2632 (mi_make_breakpoint): New procedure.
2633 (mi_build_kv_pairs): New procedure.
2634
2635 * gdb.mi/mi-break.exp: Remove unused globals,
2636 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2637 All callers updated.
2638 * gdb.mi/mi-dprintf.exp: Use variable to track command
2639 number.
2640 Update all callers of mi_create_breakpoint and use
2641 mi_make_breakpoint_table.
2642 Remove any unused global variables.
2643 * gdb.mi/mi-nonstop.exp: Likewise.
2644 * gdb.mi/mi-nsintrall.exp: Likewise.
2645 * gdb.mi/mi-nsmoribund.exp: Likewise.
2646 * gdb.mi/mi-nsthrexec.exp: Likewise.
2647 * gdb.mi/mi-reverse.exp: Likewise.
2648 * gdb.mi/mi-simplerun.exp: Likewise.
2649 * gdb.mi/mi-stepn.exp: Likewise.
2650 * gdb.mi/mi-syn-frame.exp: Likewise.
2651 * gdb.mi/mi-until.exp: Likewise.
2652 * gdb.mi/mi-var-cp.exp: Likewise.
2653 * gdb.mi/mi-var-display.exp: Likewise.
2654 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2655 * gdb.mi/mi2-var-child.exp: Likewise.
2656 * gdb.mi/mi-vla-c99.exp: Likewise.
2657 * lib/mi-support.exp: Likewise.
2658
2659 From Ian Lance Taylor <iant@cygnus.com>:
2660 * lib/gdb.exp (parse_args): New procedure.
2661
26622014-04-23 Pedro Alves <palves@redhat.com>
2663
2664 * gdb.base/break-unload-file.c: New file.
2665 * gdb.base/break-unload-file.exp: New file.
2666 * gdb.base/sym-file-lib.c (baz): New function.
2667 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2668 field.
2669 (load): Store the segment's mapped size.
2670 (unload): New function.
2671 (unload_shlib): New function.
2672 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2673 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2674 set a breakpoint at baz, and call it.
2675 * gdb.base/sym-file.exp: New tests for stale breakpoint
2676 instructions.
2677
26782014-04-23 Pedro Alves <palves@redhat.com>
2679
2680 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2681 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2682 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2683 * gdb.base/hbreak-unmapped.c: New file.
2684 * gdb.base/hbreak-unmapped.exp: New file.
2685 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2686 * lib/gdb.exp (gdb_is_target_remote): ... here.
2687
26882014-04-22 Pedro Alves <palves@redhat.com>
2689
2690 * gdb.base/consecutive-step-over.c: New file.
2691 * gdb.base/consecutive-step-over.exp: New file.
2692
26932014-04-22 Pedro Alves <palves@redhat.com>
2694
2695 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2696 instead of send_gdb/gdb_expect.
2697
26982014-04-22 Yao Qi <yao@codesourcery.com>
2699
2700 * lib/trace-support.exp (generate_tracefile): New procedure.
2701 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2702 return 0.
2703 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2704 if generate_tracefile returns 1.
2705
27062014-04-18 Tom Tromey <palves@redhat.com>
2707 Pedro alves <tromey@redhat.com>
2708
2709 PR backtrace/15558
2710 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2711 with a backtrace limit.
2712 * gdb.python/py-frame-inline.exp: Test running to an inline
2713 function with a backtrace limit, and printing the newest frame.
2714 * gdb.python/py-frame-inline.c (main): Call f.
2715
27162014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2717
2718 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2719
27202014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2721
2722 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2723 Drop prefix from unsupported source file path.
2724
27252014-04-17 Yao Qi <yao@codesourcery.com>
2726
2727 * lib/gdb.exp (with_target_charset): New proc.
2728 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2729 with_target_charset.
2730 (test_print_strings): Likewise.
2731 (test_repeat_bytes): Likewise.
2732 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2733 for some tests.
2734
27352014-04-16 Keith Seitz <keiths@redhat.com>
2736
2737 PR gdb/15827
2738 * gdb.dwarf2/corrupt.c: New file.
2739 * gdb.dwarf2/corrupt.exp: New file.
2740
27412014-04-16 Keith Seitz <keiths@redhat.com>
2742
2743 PR c++/16597
2744 * gdb.cp/namelessclass.cc: New file.
2745 * gdb.cp/namelessclass.exp: New file.
2746 * gdb.cp/namelessclass.S: New file.
2747
27482014-04-16 Doug Evans <dje@google.com>
2749
2750 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2751 Add comment.
2752 (gdbserver_default_get_comm_port): New function.
2753 (gdbserver_start): Check if board file provided
2754 "gdbserver,get_comm_port" and use it if so.
2755 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2756 (gdb,socketport): Set to "stdio".
2757 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2758 (stdio_gdbserver_template): Delete.
2759 (${board}_get_remote_address): Update.
2760 (${board}_build_remote_cmd): Delete.
2761 (${board}_get_comm_port): New function.
2762 (${board}_spawn): Update.
2763 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2764 Delete.
2765 (${board}_get_remote_address): Update.
2766 (${board}_get_comm_port): New function.
2767
27682014-04-16 Andrew Burgess <aburgess@broadcom.com>
2769
2770 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2771 appearing in any order.
2772
27732014-04-15 Doug Evans <dje@google.com>
2774
2775 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2776 uninitialized value of "description".
2777
27782014-04-15 Keith Seitz <keiths@redhat.com>
2779
2780 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2781 Remove unused globals.
2782 (test_running_the_program): Likewise.
2783 (test_controlled_execution): Likewise.
2784 (test_controlling_breakpoints): Likewise.
2785 (test_program_termination): Likewise.
2786
27872014-04-15 Keith Seitz <keiths@redhat.com>
2788
2789 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2790 unused globals.
2791 (test_rbreak_creation_and_listing): Likewise.
2792 (test_ignore_count): Likewise.
2793 (test_error): Likewise.
2794
27952014-04-15 Pedro Alves <palves@redhat.com>
2796
2797 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2798 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2799 sym-file-loader.c.
2800 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2801 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2802 to sym-file-loader.c.
2803 (struct library): Forward declare.
2804 (load_shlib, lookup_function): Change prototypes.
2805 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2806 (translate_offset): Remove declarations.
2807 (get_text_addr): New declaration.
2808 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2809 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2810 sym-file-loader.h.
2811 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2812 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2813 here from sym-file-loader.h.
2814 (struct library): New structure.
2815 (load_shlib, lookup_function): Change prototypes and adjust to
2816 work with a struct library.
2817 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2818 (translate_offset): Make static.
2819 (get_text_addr): New function.
2820 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2821
28222014-04-15 Pedro Alves <palves@redhat.com>
2823
2824 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2825
28262014-04-15 Pedro Alves <palves@redhat.com>
2827
2828 * gdb.base/sym-file-loader.c: Include <limits.h>.
2829 (SELF_LINK): New define.
2830 (get_origin): New function.
2831 (load_shlib): Use it.
2832 * gdb.base/sym-file.exp: Don't early return if the target is
2833 remote. Use runto_main, and issue fail is that fails. Use
2834 gdb_load_shlibs.
2835 (shlib_name): Delete.
2836 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2837
28382014-04-15 Pedro Alves <palves@redhat.com>
2839
2840 * gdb.base/sym-file.exp: Remove regex characters from test
2841 message. Don't refer to breakpoint numbers in test messages.
2842
28432014-04-14 Keith Seitz <keiths@redhat.com>
2844
2845 PR c++/16253
2846 * gdb.cp/var-tag.cc: New file.
2847 * gdb.cp/var-tag.exp: New file.
2848 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2849 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2850 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2851 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2852
28532014-04-14 Tom Tromey <tromey@redhat.com>
2854
2855 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2856 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2857 type.
2858 * gdb.cp/enum-class.exp: New file.
2859 * gdb.cp/enum-class.cc: New file.
2860
28612014-04-14 Tom Tromey <tromey@redhat.com>
2862
2863 * gdb.dwarf2/enum-type.exp: New file.
2864
28652014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2866
2867 * gdb.mi/mi-vla-c99.exp: New file.
2868 * gdb.mi/vla.c: New file.
2869
28702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2871
2872 * gdb.base/vla-datatypes.c: New file.
2873 * gdb.base/vla-datatypes.exp: New file.
2874
28752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2876
2877 * gdb.base/vla-ptr.c: New file.
2878 * gdb.base/vla-ptr.exp: New file.
2879
28802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2881
2882 * gdb.dwarf2/count.exp: New file.
2883
28842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2885
2886 * gdb.base/vla-sideeffect.c: New file.
2887 * gdb.base/vla-sideeffect.exp: New file.
2888
28892014-04-14 David Blaikie <dblaikie@gmail.com>
2890
2891 * gdb.mi/non-stop.c: Add return value for non-void function return
2892 statement.
2893 * gdb.threads/staticthreads.c: Ditto.
2894
28952014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2896 Doug Evans <xdje42@gmail.com>
2897
2898 * gdb.guile/scm-value.c: Improve test case.
2899 * gdb.guile/scm-value.exp: Add new test.
2900
29012014-04-11 David Blaikie <dblaikie@gmail.com>
2902
2903 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2904 override Clang's default.
2905
29062014-04-11 Joel Brobecker <brobecker@adacore.com>
2907
2908 Revert the following changes (regressions):
2909
2910 * gdb.base/vla-sideeffect.c: New file.
2911 * gdb.base/vla-sideeffect.exp: New file.
2912
2913 * gdb.dwarf2/count.exp: New file.
2914
2915 * gdb.base/vla-multi.c: New file.
2916 * gdb.base/vla-multi.exp: New file.
2917
2918 * gdb.base/vla-ptr.c: New file.
2919 * gdb.base/vla-ptr.exp: New file.
2920
2921 * gdb.base/vla-datatypes.c: New file.
2922 * gdb.base/vla-datatypes.exp: New file.
2923
2924 * gdb.mi/mi-vla-c99.exp: New file.
2925 * gdb.mi/vla.c: New file.
2926
29272014-04-11 Keith Seitz <keiths@redhat.com>
2928
2929 PR c++/16675
2930 * gdb.cp/cpsizeof.exp: New file.
2931 * gdb.cp/cpsizeof.cc: New file.
2932
29332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2934
2935 * gdb.mi/mi-vla-c99.exp: New file.
2936 * gdb.mi/vla.c: New file.
2937
29382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2939
2940 * gdb.base/vla-datatypes.c: New file.
2941 * gdb.base/vla-datatypes.exp: New file.
2942
29432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2944
2945 * gdb.base/vla-ptr.c: New file.
2946 * gdb.base/vla-ptr.exp: New file.
2947
29482014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2949
2950 * gdb.base/vla-multi.c: New file.
2951 * gdb.base/vla-multi.exp: New file.
2952
29532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2954
2955 * gdb.dwarf2/count.exp: New file.
2956
29572014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2958
2959 * gdb.base/vla-sideeffect.c: New file.
2960 * gdb.base/vla-sideeffect.exp: New file.
2961
29622014-04-11 Yao Qi <yao@codesourcery.com>
2963
2964 * gdb.base/completion.exp: Check file exists before running tests
2965 on file completion.
2966
29672014-04-10 Pedro Alves <palves@redhat.com>
2968
2969 * gdb.base/cond-eval-mode.c: New file.
2970 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2971 prepare_for_testing to build the new file. Check result of
2972 runto_main.
2973 (test_break, test_watch): New procedures.
2974 (top level): Use them.
2975
29762014-04-08 Pierre Muller <muller@sourceware.org>
2977
2978 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2979 Ctrl-V use for mingw hosts.
2980
29812014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2982
2983 * gdb.python/py-value.c: Improve test case.
2984 * gdb.python/py-value.exp: Add new test.
2985
29862014-04-07 David Blaikie <dblaikie@gmail.com>
2987
2988 * lib/compiler.c: Identify the clang compiler.
2989 * lib/compiler.cc: Ditto.
2990
29912014-04-03 Yao Qi <yao@codesourcery.com>
2992
2993 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2994
29952014-04-01 Anton Blanchard <anton@samba.org>
2996
2997 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2998 messages unique.
2999
30002014-04-01 Anton Blanchard <anton@samba.org>
3001
3002 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
3003 prepare_for_testing.
3004
30052014-04-01 Anton Blanchard <anton@samba.org>
3006
3007 * gdb.arch/ppc64-atomic-inst.c: Remove.
3008 * gdb.arch/ppc64-atomic-inst.S: New file.
3009 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
3010
30112014-03-31 Doug Evans <dje@google.com>
3012
3013 * gdb.base/print-symbol-loading-lib.c: New file.
3014 * gdb.base/print-symbol-loading-main.c: New file.
3015 * gdb.base/print-symbol-loading.exp: New file.
3016
30172014-03-31 Yao Qi <yao@codesourcery.com>
3018
3019 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
3020
30212014-03-28 Joel Brobecker <brobecker@adacore.com>
3022
3023 * gdb.ada/mi_dyn_arr: New testcase.
3024
30252014-03-27 Doug Evans <dje@google.com>
3026
3027 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
3028
30292014-03-27 Yao Qi <yao@codesourcery.com>
3030
3031 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
3032 if target is nios2-*-*.
3033
30342014-03-26 Yao Qi <yao@codesourcery.com>
3035
3036 * lib/gdb.exp (readline_is_used): New proc.
3037 * gdb.base/completion.exp: Move tests on command complete up.
3038 Skip the rest of tests if readline is not used.
3039 * gdb.ada/complete.exp: Skp the test if readline is not
3040 used.
3041 * gdb.base/filesym.exp: Likewise.
3042 * gdb.base/macscp.exp: Likewise.
3043 * gdb.base/readline-ask.exp: Likewise.
3044 * gdb.base/readline.exp: Likewise.
3045 * gdb.python/py-cmd.exp: Likewise.
3046 * gdb.trace/tfile.exp: Likewise.
3047
30482014-03-26 Yao Qi <yao@codesourcery.com>
3049
3050 * gdb.base/macscp.exp: Fix code format issues.
3051
30522014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
3053
3054 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
3055 * gdb.asm/powerpc64le.inc: New file.
3056
30572014-03-25 Pedro Alves <palves@redhat.com>
3058 Doug Evans <dje@google.com>
3059
3060 * gdb.base/source-execution.c: New file.
3061 * gdb.base/source-execution.exp: New file.
3062 * gdb.base/source-execution.gdb: New file.
3063
30642014-03-24 Doug Evans <dje@google.com>
3065
3066 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
3067 using fission.
3068
30692014-03-24 Hui Zhu <hui@codesourcery.com>
3070 Pedro Alves <palves@redhat.com>
3071
3072 PR breakpoints/16101
3073 * gdb.base/dprintf.exp: Use unsupported rather than changing the
3074 test pass/fail messages. Detect missing support for dprintf when
3075 breakpoints are actually inserted.
3076 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
3077 breakpoints are actually inserted.
3078 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
3079 fails.
3080
30812014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3082
3083 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
3084
30852014-03-22 Doug Evans <xdje42@gmail.com>
3086
3087 * gdb.python/python.exp (python not supported): Verify multi-line
3088 python command issues an error.
3089 * gdb.guile/guile.exp (guile not supported): Verify multi-line
3090 guile command issues an error.
3091
30922014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
3093
3094 * gdb.threads/thread-specific.exp: Handle the lack of usable
3095 $this_breakpoint and $this_thread.
3096
30972014-03-21 Hui Zhu <hui@codesourcery.com>
3098
3099 * gdb.base/attach.exp (do_command_attach_tests): New.
3100
31012014-03-20 Tom Tromey <tromey@redhat.com>
3102 Pedro Alves <palves@redhat.com>
3103
3104 PR cli/15718
3105 * gdb.base/condbreak-call-false.c: New file.
3106 * gdb.base/condbreak-call-false.exp: New file.
3107
31082014-03-20 Pedro Alves <palves@redhat.com>
3109
3110 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
3111 Delete.
3112 (block_signals, unblock_signals): Delete.
3113 (child_function_2, main): Remove references to deleted variable
3114 and functions.
3115
31162014-03-20 Pedro Alves <palves@redhat.com>
3117
3118 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
3119 Use pthread_kill to signal thread 2.
3120 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3121 Adjust to make the test send itself a signal rather than using the
3122 host's "kill" command.
3123
31242014-03-20 Pedro Alves <palves@redhat.com>
3125
3126 * gdb.threads/multiple-step-overs.c: New file.
3127 * gdb.threads/multiple-step-overs.exp: New file.
3128 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3129 Adjust expected infrun debug output.
3130
31312014-03-20 Pedro Alves <palves@redhat.com>
3132
3133 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
3134 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
3135
31362014-03-20 Pedro Alves <palves@redhat.com>
3137
3138 PR breakpoints/7143
3139 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
3140 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
3141 of gdb_test_multiple.
3142 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
3143 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
3144
31452014-03-20 Pedro Alves <palves@redhat.com>
3146
3147 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
3148 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
3149
31502014-03-19 Pedro Alves <palves@redhat.com>
3151
3152 * gdb.base/async.exp: Remove early return.
3153
31542014-03-19 Pedro Alves <palves@redhat.com>
3155
3156 * gdb.base/async.exp (step& tests): Pass explicit test messages.
3157
31582014-03-19 Pedro Alves <palves@redhat.com>
3159
3160 * gdb.base/async.exp (test_background): Expect \r\n after
3161 "completed." in the fail pattern.
3162
31632014-03-19 Pedro Alves <palves@redhat.com>
3164
3165 * gdb.base/async.exp (test_background): New procedure.
3166 Use it for all background execution command tests.
3167
31682014-03-19 Pedro Alves <palves@redhat.com>
3169
3170 * gdb.base/async.exp: Use prepare_for_testing.
3171
31722014-03-19 Pedro Alves <palves@redhat.com>
3173
3174 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
3175 the same line.
3176
31772014-03-19 Pedro Alves <palves@redhat.com>
3178
3179 * gdb.base/async.c (main): Add "jump here" and "until here" line
3180 marker comments.
3181 * gdb.base/async.exp (jump_here): New global.
3182 (jump& test): Use it.
3183 (until_here): New global.
3184 (until& test): Use it.
3185
31862014-03-19 Pedro Alves <palves@redhat.com>
3187
3188 * gdb.base/async.exp: Don't frob gdb_protocol.
3189
31902014-03-18 Doug Evans <xdje42@gmail.com>
3191
3192 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
3193 Fix spelling of exec-done-display.
3194
31952014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3196
3197 PR gdb/15358
3198 * gdb.base/gdb-sigterm.c: New file.
3199 * gdb.base/gdb-sigterm.exp: New file.
3200
32012014-03-18 Pedro Alves <palves@redhat.com>
3202
3203 PR gdb/13860
3204 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
3205 * lib/mi-support.exp (mi_expect_stop): Add special handling for
3206 solib-event.
3207
32082014-03-17 Joel Brobecker <brobecker@adacore.com>
3209
3210 * gdb.ada/pckd_arr_ren: New testcase.
3211
32122014-03-13 Doug Evans <xdje42@gmail.com>
3213
3214 PR guile/16612
3215 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
3216 collect after discarding symbols.
3217
32182014-03-13 Ludovic Courtès <ludo@gnu.org>
3219 Doug Evans <xdje42@gmail.com>
3220
3221 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
3222 to history survives a gc.
3223
32242014-03-13 Pedro Alves <palves@redhat.com>
3225
3226 * gdb.base/default.exp: Don't test "target procfs".
3227
32282014-03-13 Pedro Alves <palves@redhat.com>
3229
3230 * gdb.base/default.exp: Update "target child" and "target procfs"
3231 tests to not expect "Unix".
3232
32332014-03-12 Tom Tromey <tromey@redhat.com>
3234
3235 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
3236 New procs. Add target-async tests.
3237 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
3238 Add target-async tests.
3239
32402014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3241
3242 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
3243 'func_start' and 'func_end' for the beginning and end of the
3244 function code, respectively.
3245 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
3246 'func_end' instead of 'func' and 'main'.
3247
32482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3249
3250 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
3251 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
3252 generate the debug info assembler source.
3253
32542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3255
3256 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
3257 * gdb.dwarf2/arr-subrange.exp: Likewise.
3258 * gdb.dwarf2/dwz.exp: Likewise.
3259 * gdb.dwarf2/method-ptr.exp: Likewise.
3260 * gdb.dwarf2/missing-sig-type.exp: Likewise.
3261 * gdb.dwarf2/subrange.exp: Likewise.
3262 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
3263 * gdb.dwarf2/implptrpiece.exp: Likewise.
3264 * gdb.dwarf2/nostaticblock.exp: Likewise.
3265
32662014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
3267
3268 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
3269 directory to absolute path name arguments.
3270
32712014-03-10 Joel Brobecker <brobecker@adacore.com>
3272
3273 * gdb.ada/tagged_access: New testcase.
3274
32752014-03-07 Markus Metzger <markus.t.metzger@intel.com>
3276
3277 * gdb.btrace/data.exp: Update expected output.
3278
32792014-03-06 Yao Qi <yao@codesourcery.com>
3280
3281 * gdb.trace/pr16508.exp: New file.
3282
32832014-03-05 Pedro Alves <palves@redhat.com>
3284
3285 PR gdb/16575
3286 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
3287 procedure.
3288 (top level): Adjust to use it. Add tests that exercise breakpoint
3289 interaction with the code-cache.
3290
32912014-02-26 Ludovic Courtès <ludo@gnu.org>
3292
3293 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
3294 test for 'history-append!'.
3295
32962014-02-26 Joel Brobecker <brobecker@adacore.com>
3297
3298 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
3299 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
3300 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
3301 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
3302 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
3303 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
3304
33052014-02-26 Joel Brobecker <brobecker@adacore.com>
3306
3307 * testsuite/gdb.python/py-pp-re-notag.c: New file.
3308 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
3309 * testsuite/gdb.python/py-pp-re-notag.p: New file.
3310
33112014-02-26 Joel Brobecker <brobecker@adacore.com>
3312
3313 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
3314
33152014-02-26 Joel Brobecker <brobecker@adacore.com>
3316
3317 * gdb.dwarf2/arr-stride.c: New file.
3318 * gdb.dwarf2/arr-stride.exp: New file.
3319
33202014-02-26 Pedro Alves <palves@redhat.com>
3321
3322 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
3323 that won't ever trigger. Make sure that GDB reports the correct
3324 breakpoint that caused the stop.
3325
33262014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3327
3328 PR gdb/16626
3329 * gdb.base/auto-load-script: New file.
3330 * gdb.base/auto-load.c: New file.
3331 * gdb.base/auto-load.exp: New file.
3332
3333 PR gdb/16626
3334 * gdb.base/auto-load.exp: Fix out-of-srctree run.
3335
33362014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3337
3338 Fix dw2-icycle.exp -fsanitize=address GDB crash.
3339 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
3340
33412014-02-24 Doug Evans <dje@google.com>
3342
3343 * lib/gdb.exp (run_on_host): Log error output if program fails.
3344
33452014-02-21 Pedro Alves <palves@redhat.com>
3346
3347 * gdb.threads/step-after-sr-lock.c: Rename to ...
3348 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
3349 * gdb.threads/step-after-sr-lock.exp: Rename to ...
3350 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3351 ... this.
3352
33532014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
3354
3355 PR tdep/16397
3356 * gdb.arch/amd64-stap-special-operands.exp: New file.
3357 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
3358 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
3359 * gdb.arch/amd64-stap-triplet.S: Likewise.
3360 * gdb.arch/amd64-stap-triplet.c: Likewise.
3361
33622014-02-20 Joel Brobecker <brobecker@adacore.com>
3363
3364 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
3365 in .section pseudo-op.
3366
33672014-02-20 lin zuojian <manjian2006@gmail.com>
3368 Joel Brobecker <brobecker@adacore.com>
3369 Doug Evans <xdje42@gmail.com>
3370
3371 PR symtab/16581
3372 * gdb.dwarf2/dw2-icycle.S: New file.
3373 * gdb.dwarf2/dw2-icycle.c: New file.
3374 * gdb.dwarf2/dw2-icycle.exp: New file.
3375
33762014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3377
3378 * gdb.python/py-value-cc.cc: Improve test case to enable testing
3379 operations on gdb.Value objects.
3380 * gdb.python/py-value-cc.exp: Add new test to test operations on
3381 gdb.Value objects.
3382
33832014-02-18 Doug Evans <dje@google.com>
3384
3385 * Makefile.in (TESTS): New variable.
3386 (expanded_tests, expanded_tests_or_none): New variables
3387 (check-single): Pass $(expanded_tests_or_none) to runtest.
3388 (check-parallel): Only run tests in $(TESTS) if non-empty.
3389 (check/no-matching-tests-found): New rule.
3390 * README: Document TESTS makefile variable.
3391
33922014-02-18 Doug Evans <dje@google.com>
3393
3394 * Makefile.in (check-parallel): rm -rf outputs temp.
3395
33962014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3397
3398 Fix "ERROR: no fileid for" in the testsuite.
3399 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
3400
34012014-02-12 Doug Evans <dje@google.com>
3402
3403 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
3404 (MISCELLANEOUS): New variable.
3405 (clean): rm -rf $(MISCELLANEOUS).
3406 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
3407 dwp live in the same directory as symlinks, with each symlink pointed
3408 to a differently named file in a different directory.
3409
34102014-02-11 Doug Evans <dje@google.com>
3411
3412 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
3413 of Tcl file commands.
3414
34152014-02-10 Mark Kettenis <kettenis@gnu.org>
3416
3417 * gdb.threads/step-after-sr-lock.exp: Avoid executing
3418 "kill -SIGUSR1 -1".
3419
34202014-02-10 Joel Brobecker <brobecker@adacore.com>
3421
3422 * gdb.ada/tick_length_array_enum_idx: New testcase.
3423
34242014-02-10 Doug Evans <xdje42@gmail.com>
3425
3426 * configure.ac (AC_OUTPUT): Add gdb.guile.
3427 * configure: Regenerate.
3428 * lib/gdb-guile.exp: New file.
3429 * lib/gdb.exp (get_target_charset): New function.
3430 * gdb.base/help.exp: Update expected output from "apropos apropos".
3431 * gdb.guile/Makefile.in: New file.
3432 * gdb.guile/guile.exp: New file.
3433 * gdb.guile/scm-arch.c: New file.
3434 * gdb.guile/scm-arch.exp: New file.
3435 * gdb.guile/scm-block.c: New file.
3436 * gdb.guile/scm-block.exp: New file.
3437 * gdb.guile/scm-breakpoint.c: New file.
3438 * gdb.guile/scm-breakpoint.exp: New file.
3439 * gdb.guile/scm-disasm.c: New file.
3440 * gdb.guile/scm-disasm.exp: New file.
3441 * gdb.guile/scm-equal.c: New file.
3442 * gdb.guile/scm-equal.exp: New file.
3443 * gdb.guile/scm-error.exp: New file.
3444 * gdb.guile/scm-error.scm: New file.
3445 * gdb.guile/scm-frame-args.c: New file.
3446 * gdb.guile/scm-frame-args.exp: New file.
3447 * gdb.guile/scm-frame-args.scm: New file.
3448 * gdb.guile/scm-frame-inline.c: New file.
3449 * gdb.guile/scm-frame-inline.exp: New file.
3450 * gdb.guile/scm-frame.c: New file.
3451 * gdb.guile/scm-frame.exp: New file.
3452 * gdb.guile/scm-generics.exp: New file.
3453 * gdb.guile/scm-gsmob.exp: New file.
3454 * gdb.guile/scm-iterator.c: New file.
3455 * gdb.guile/scm-iterator.exp: New file.
3456 * gdb.guile/scm-math.c: New file.
3457 * gdb.guile/scm-math.exp: New file.
3458 * gdb.guile/scm-objfile-script-gdb.in: New file.
3459 * gdb.guile/scm-objfile-script.c: New file.
3460 * gdb.guile/scm-objfile-script.exp: New file.
3461 * gdb.guile/scm-objfile.c: New file.
3462 * gdb.guile/scm-objfile.exp: New file.
3463 * gdb.guile/scm-ports.exp: New file.
3464 * gdb.guile/scm-pretty-print.c: New file.
3465 * gdb.guile/scm-pretty-print.exp: New file.
3466 * gdb.guile/scm-pretty-print.scm: New file.
3467 * gdb.guile/scm-section-script.c: New file.
3468 * gdb.guile/scm-section-script.exp: New file.
3469 * gdb.guile/scm-section-script.scm: New file.
3470 * gdb.guile/scm-symbol.c: New file.
3471 * gdb.guile/scm-symbol.exp: New file.
3472 * gdb.guile/scm-symtab-2.c: New file.
3473 * gdb.guile/scm-symtab.c: New file.
3474 * gdb.guile/scm-symtab.exp: New file.
3475 * gdb.guile/scm-type.c: New file.
3476 * gdb.guile/scm-type.exp: New file.
3477 * gdb.guile/scm-value-cc.cc: New file.
3478 * gdb.guile/scm-value-cc.exp: New file.
3479 * gdb.guile/scm-value.c: New file.
3480 * gdb.guile/scm-value.exp: New file.
3481 * gdb.guile/source2.scm: New file.
3482 * gdb.guile/types-module.cc: New file.
3483 * gdb.guile/types-module.exp: New file.
3484
34852014-02-10 Yao Qi <yao@codesourcery.com>
3486
3487 PR testsuite/16543
3488 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
3489 * configure: Regenerated.
3490 * Makefile.in: New file.
3491
34922014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3493
3494 * gdb.python/py-framefilter.exp: Fix typo.
3495
34962014-02-08 Yao Qi <yao@codesourcery.com>
3497
3498 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
3499 that no =breakpoint-modified is emitted when breakpoints are
3500 modified through MI commands.
3501
35022014-02-07 Pedro Alves <pedro@codesourcery.com>
3503 Pedro Alves <palves@redhat.com>
3504
3505 * gdb.threads/step-after-sr-lock.c: New file.
3506 * gdb.threads/step-after-sr-lock.exp: New file.
3507
35082014-02-07 Pedro Alves <palves@redhat.com>
3509
3510 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
3511
35122014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3513
3514 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
3515 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
3516
35172014-02-06 Doug Evans <xdje42@gmail.com>
3518
3519 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
3520 output.
3521
3522 * gdb.gdb/python-interrupts.exp: New file.
3523
35242014-02-05 Yao Qi <yao@codesourcery.com>
3525
3526 * gdb.trace/report.exp (use_collected_data): Test the output
3527 of "info threads" and "info inferiors".
3528
35292014-02-05 Yao Qi <yao@codesourcery.com>
3530
3531 Revert this patch:
3532
3533 2013-05-24 Yao Qi <yao@codesourcery.com>
3534
3535 * gdb.trace/tfile.exp: Test inferior and thread.
3536
35372014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3538
3539 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
3540 on a function.
3541 * gdb.base/step-bt.c: Call hello via function pointer to make
3542 sure its first instruction is executed on powerpc64le-linux.
3543
35442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3545
3546 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
3547
35482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3549
3550 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
3551 of the test patterns for use on little-endian systems.
3552
35532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3554
3555 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
3556 (decimal_vector): Fix for little-endian.
3557
35582014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3559
3560 * gdb.arch/sparc-sysstep.exp: New file.
3561 * gdb.arch/sparc-sysstep.c: Likewise.
3562
3563 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
3564
35652014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3566
3567 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
3568
35692014-01-23 Tom Tromey <tromey@redhat.com>
3570
3571 * gdb.ada/array_char_idx: New testcase.
3572
35732014-01-23 Tom Tromey <tromey@redhat.com>
3574
3575 PR python/16487:
3576 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
3577 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
3578 classes.
3579
35802014-01-23 Tom Tromey <tromey@redhat.com>
3581
3582 PR python/16491:
3583 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
3584 string from an inferior frame.
3585 * gdb.python/py-framefilter-mi.exp: Update.
3586
35872014-01-22 Doug Evans <dje@google.com>
3588
3589 * gdb.server/server-mon.exp: Add tests for "set debug-format".
3590
35912014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3592
3593 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
3594
35952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3596
3597 * gdb.trace/entry-values.exp: Remove excess space character from
3598 regex patterns. Handle s390 call instruction.
3599
36002014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3601
3602 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
3603 define "*_start" label. Make "name" static.
3604 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
3605 ${name} by references to ${name}_start.
3606
36072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3608
3609 * gdb.base/info-macros.exp: Remove "debug" from the compile
3610 options.
3611
36122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3613
3614 * gdb.dlang/demangle.exp: New file.
3615
36162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3617
3618 * gdb.dlang/primitive-types.exp: New file.
3619
36202014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3621
3622 * configure.ac: Create gdb.dlang/Makefile.
3623 * configure: Regenerate.
3624 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
3625 * gdb.dlang/Makefile.in: New file.
3626 * lib/d-support.exp: New file.
3627 * lib/gdb.exp (skip_d_tests): New proc.
3628
36292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3630
3631 * gdb.btrace/delta.exp: Check reverse stepi.
3632 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3633 * gdb.btrace/finish.exp: New.
3634 * gdb.btrace/next.exp: New.
3635 * gdb.btrace/nexti.exp: New.
3636 * gdb.btrace/record_goto.c: Add comments.
3637 * gdb.btrace/step.exp: New.
3638 * gdb.btrace/stepi.exp: New.
3639 * gdb.btrace/multi-thread-step.c: New.
3640 * gdb.btrace/multi-thread-step.exp: New.
3641 * gdb.btrace/rn-dl-bind.c: New.
3642 * gdb.btrace/rn-dl-bind.exp: New.
3643 * gdb.btrace/data.c: New.
3644 * gdb.btrace/data.exp: New.
3645 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3646
36472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3648
3649 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3650 * gdb.btrace/exception.exp: Update.
3651 * gdb.btrace/instruction_history.exp: Update.
3652 * gdb.btrace/record_goto.exp: Update.
3653 * gdb.btrace/tailcall.exp: Update.
3654 * gdb.btrace/unknown_functions.exp: Update.
3655 * gdb.btrace/delta.exp: New.
3656
36572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3658
3659 * gdb.btrace/record_goto.exp: Add backtrace test.
3660 * gdb.btrace/tailcall.exp: Add backtrace test.
3661
36622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3663
3664 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3665 * gdb.btrace/record_goto.c: New.
3666 * gdb.btrace/record_goto.exp: New.
3667 * gdb.btrace/x86-record_goto.S: New.
3668
36692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3670
3671 * gdb.btrace/function_call_history.exp: Update tests.
3672 * gdb.btrace/instruction_history.exp: Update tests.
3673
36742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3675
3676 * gdb.btrace/function_call_history.exp: Fix expected field
3677 order for "record function-call-history".
3678 Add new tests for "record function-call-history /c".
3679 * gdb.btrace/exception.cc: New.
3680 * gdb.btrace/exception.exp: New.
3681 * gdb.btrace/tailcall.exp: New.
3682 * gdb.btrace/x86-tailcall.S: New.
3683 * gdb.btrace/x86-tailcall.c: New.
3684 * gdb.btrace/unknown_functions.c: New.
3685 * gdb.btrace/unknown_functions.exp: New.
3686 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3687
36882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3689
3690 * gdb.btrace/instruction_history.exp: Update.
3691 * gdb.btrace/function_call_history.exp: Update.
3692
36932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3694
3695 * gdb.btrace/function_call_history.exp: Fix expected function
3696 trace.
3697 * gdb.btrace/instruction_history.exp: Initialize traced.
3698 Remove traced_functions.
3699
37002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3701
3702 * gdb.btrace/function_call_history.exp: Update
3703 * gdb.btrace/instruction_history.exp: Update.
3704
37052014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3706
3707 * gdb.btrace/enable.exp: Update expected text.
3708
37092014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3710
3711 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3712 bytes.
3713
37142014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3715
3716 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3717
37182014-01-15 Omair Javaid <omair.javaid@linaro.org>
3719
3720 * lib/gdb.exp (supports_process_record): Return true for
3721 arm*-linux*. (supports_reverse): Likewise.
3722
37232014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3724
3725 PR python/15464
3726 PR python/16113
3727 * gdb.python/py-type.c: Enhance test case.
3728 * gdb.python/py-value-cc.cc: Likewise
3729 * gdb.python/py-type.exp: Add new tests.
3730 * gdb.python/py-value-cc.exp: Likewise
3731
37322014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3733 Pedro Alves <palves@redhat.com>
3734
3735 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3736 Make "name" extern.
3737 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3738 references to ${name}_start by references to ${name}.
3739
37402014-01-10 Joel Brobecker <brobecker@adacore.com>
3741
3742 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3743
37442014-01-10 Joel Brobecker <brobecker@adacore.com>
3745
3746 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3747
37482014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3749 Pedro Alves <palves@redhat.com>
3750
3751 * gdb.mi/mi-info-os.exp: Connect to the target with
3752 mi_gdb_target_load.
3753
37542014-01-08 Pedro Alves <palves@redhat.com>
3755
3756 * gdb.threads/reconnect-signal.c: New file.
3757 * gdb.threads/reconnect-signal.exp: New file.
3758
37592014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3760
3761 * gdb.base/source-dir.exp: New file.
3762
37632014-01-07 Joel Brobecker <brobecker@adacore.com>
3764
3765 * gdb.ada/mi_interface: New testcase.
3766
37672014-01-07 Joel Brobecker <brobecker@adacore.com>
3768
3769 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3770 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3771 gdb.ada/pp-rec-component/pck.ads: New files.
3772
37732014-01-07 Joel Brobecker <brobecker@adacore.com>
3774
3775 * gdb.python/py-pp-integral.c: New file.
3776 * gdb.python/py-pp-integral.py: New file.
3777 * gdb.python/py-pp-integral.exp: New file.
3778
3779For older changes see ChangeLog-1993-2013.
3780\f
3781;; Local Variables:
3782;; mode: change-log
3783;; left-margin: 8
3784;; fill-column: 74
3785;; version-control: never
3786;; End:
3787
3788 Copyright 2014-2015 Free Software Foundation, Inc.
3789 Copying and distribution of this file, with or without modification,
3790 are permitted provided the copyright notice and this notice are preserved.
This page took 0.037265 seconds and 4 git commands to generate.