]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Bump dwarf-mode version number
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
65630365
PA
12017-10-10 Pedro Alves <palves@redhat.com>
2
3 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4 expect CLI output.
5
bf469271
PA
62017-10-10 Pedro Alves <palves@redhat.com>
7
8 * lib/selftest-support.exp (selftest_setup): Update for
9 captured_command_loop's prototype change.
10
777a42f1
PA
112017-10-09 Pedro Alves <palves@redhat.com>
12
13 Test both arch1=>arch2 and arch2=>arch1.
14
15 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
16 (srcfile2, binfile2, march1, march2): Remove globals. Largely
17 factored out to...
18 (append_arch1_options, append_arch2_options, append_arch_options)
19 (build_executables): New procedures.
20 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
21 local.
22 (top level): Add new 'first_arch' testing axis.
23
cbd2b4e3
PA
242017-10-09 Pedro Alves <palves@redhat.com>
25
26 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
27 (barrier): New.
28 (thread_start, all_started): New functions.
29 (main): Spawn new thread and wait until it is scheduled.
30 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
31 option.
32 (do_test): Add 'selected_thread' parameter. Run to all_started
33 instead of main. Explicitly set the breakpoint at main. Switch
34 to the SELECTED_THREAD thread.
35 (top level): Test handling the exec event with either the main
36 thread or the second thread selected.
37
5c9e4427
PA
382017-10-09 Pedro Alves <palves@redhat.com>
39
40 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
41 logic. Move STOP marker after the value checks.
42 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
43 regexp.
44
b3b7c423
SL
452017-10-06 Sandra Loosemore <sandra@codesourcery.com>
46
47 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
48
3b4b2f16
UW
492017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
50
51 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
52 integer-to-dfp conversion.
53 * gdb.base/dfp-test.exp: Likewise.
54
5cd63fda
PA
552017-10-04 Pedro Alves <palves@redhat.com>
56
57 * gdb.multi/hangout.c: Include <unistd.h>.
58 (hangout_loop): New function.
59 (main): Call alarm. Call hangout_loop in a loop.
60 * gdb.multi/hello.c: Include <unistd.h>.
61 (hello_loop): New function.
62 (main): Call alarm. Call hangout_loop in a loop.
63 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
64 inferior with the other selected.
65
4c71c105
SM
662017-10-04 Simon Marchi <simon.marchi@ericsson.com>
67
68 * gdb.mi/list-thread-groups-available.exp: New file.
69 * gdb.mi/list-thread-groups-available.c: New file.
70
bc3b087d
SDJ
712017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
72
73 * gdb.base/set-cwd.exp: Make it available on
74 native-extended-gdbserver.
75
d092c5a2
SDJ
762017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
77
78 * gdb.base/set-cwd.c: New file.
79 * gdb.base/set-cwd.exp: Likewise.
80
45320ffa
TT
812017-10-02 Tom Tromey <tom@tromey.com>
82
83 PR rust/22236:
84 * gdb.rust/simple.rs (main): New variable "fslice".
85 * gdb.rust/simple.exp: Add slice tests. Update string tests.
86
b3e3859b
TT
872017-10-02 Tom Tromey <tom@tromey.com>
88
89 * gdb.rust/simple.exp: Test ptype of a slice.
90
01af5e0d
TT
912017-10-02 Tom Tromey <tom@tromey.com>
92
93 * gdb.rust/simple.exp: Test index of slice.
94
a9bbfbd8
TT
952017-09-27 Tom Tromey <tom@tromey.com>
96
97 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
98
df8899e5
TP
992017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
100 Pedro Alves <palves@redhat.com>
101
102 * gdb.base/compare-sections.exp (get value of read-only section): Read
103 as unsigned value.
104 (corrupt read-only section): Likewise and don't set written if patching
105 failed.
106
757bf54b
KB
1072017-09-21 Kevin Buettner <kevinb@redhat.com>
108
109 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
110 files.
111
06871ae8
PA
1122017-09-20 Pedro Alves <palves@redhat.com>
113
114 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
115 symbol names in gdb's output.
116 * gdb.cp/overload.exp ("list all overloads"): Likewise.
117
e5f25bc5
PA
1182017-09-20 Pedro Alves <palves@redhat.com>
119
120 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
121 Rename to ...
122 (test_list_ambiguous_symbol): ... this and add a symbol name
123 parameter. Adjust.
124 (test_list_ambiguous_function): Reimplement on top of
125 test_list_ambiguous_symbol and also test listing ambiguous
126 variables.
127 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
128 (ambiguous_fun): ... this.
129 (ambiguous_var): New.
130 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
131 (ambiguous_fun): ... this.
132 (ambiguous_var): New.
133
4e5a4f58
JB
1342017-09-19 John Baldwin <jhb@FreeBSD.org>
135
136 * gdb.base/starti.c: New file.
137 * gdb.base/starti.exp: New file.
138 * lib/gdb.exp (gdb_starti_cmd): New procedure.
139
26e53f3e
PA
1402017-09-14 Pedro Alves <palves@redhat.com>
141
142 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
143 (top level): Use it instead of runto.
144
cb791d59
TT
1452017-09-11 Tom Tromey <tom@tromey.com>
146
147 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
148
7c96f8c1
TT
1492017-09-11 Tom Tromey <tom@tromey.com>
150
151 * gdb.python/py-infthread.exp: Add tests for new_thread event.
152 * gdb.python/py-inferior.exp: Add tests for new inferior events.
153
469412dd
CW
1542017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
155
156 * gdb.fortran/printing-types.exp: New file.
157 * gdb.fortran/printing-types.exp: New file.
158
e0f86435
BH
1592017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
160
161 * gdb.fortran/vla-ptype.exp: Fix typos.
162 * gdb.fortran/vla-value.exp: Same.
163
9e9af4be
BH
1642017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
165
166 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
167 * gdb.mi/mi-var-child-f.exp: Likewise.
168 * gdb.mi/mi-vla-fortran.exp: Likewise.
169
a5ad232b
FP
1702017-09-08 Frank Penczek <frank.penczek@intel.com>
171 Christoph Weinmann <christoph.t.weinmann@intel.com>
172 Bernhard Heckel <bernhard.heckel@intel.com>
173
174 * gdb.fortran/ptr-indentation.f90: New file.
175 * gdb.fortran/ptr-indentation.exp: New file.
176
5aec60eb
TT
1772017-09-05 Tom Tromey <tom@tromey.com>
178
179 PR gdb/22010:
180 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
181
8f8f8152
TP
1822017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
183
184 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
185
fbd1b771
JK
1862017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
187
188 * gdb.threads/tls-nodebug-pie.c: New file.
189 * gdb.threads/tls-nodebug-pie.exp: New file.
190
5eb5f850
TT
1912017-09-05 Tom Tromey <tom@tromey.com>
192
193 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
194 for rust.
195
ae780a21
SM
1962017-09-05 Simon Marchi <simon.marchi@ericsson.com>
197
198 * gdb.multi/multi-arch-exec.exp: Test with different
199 "follow-exec-mode" settings.
200 (do_test): New procedure.
201
3693fdb3
PA
2022017-09-04 Pedro Alves <palves@redhat.com>
203
204 * gdb.base/func-static.c (S::method const, S::method volatile)
205 (S::method volatile const): New methods.
206 (c_s, v_s, cv_s): New instances.
207 (main): Call method() on them.
208 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
209 (cannot_resolve): New procedure.
210 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
211 print-quote-unquoted columns.
212 (do_test): Test printing each scope too.
213
e68cb8e0
PA
2142017-09-04 Pedro Alves <palves@redhat.com>
215
216 * gdb.base/local-static.exp: Also test with
217 class::method::variable wholly quoted.
218 * gdb.cp/m-static.exp (class::method::variable): Remove test.
219
858be34c
PA
2202017-09-04 Pedro Alves <palves@redhat.com>
221
222 * gdb.base/local-static.c: New.
223 * gdb.base/local-static.cc: New.
224 * gdb.base/local-static.exp: New.
225
46a4882b
PA
2262017-09-04 Pedro Alves <palves@redhat.com>
227
228 * gdb.asm/asm-source.exp: Add casts to int.
229 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
230 (dataglobal64_1, dataglobal64_2): New globals.
231 * gdb.base/nodebug.exp: Test different expressions involving the
232 new globals, with print, whatis and ptype. Add casts to int.
233 * gdb.base/solib-display.exp: Add casts to int.
234 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
235 * gdb.cp/m-static.exp: Add cast to int.
236 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
237 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
238 tls variable with no debug info without a cast. Test with a cast
239 to int too.
240 * gdb.trace/entry-values.exp: Add casts.
241
2c5a2be1
PA
2422017-09-04 Pedro Alves <palves@redhat.com>
243
244 * gdb.base/nodebug.exp: Test that ptype's error about functions
245 with unknown return type includes the function name too.
246
7022349d
PA
2472017-09-04 Pedro Alves <palves@redhat.com>
248
249 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
250 return type of munmap in infcall.
251 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
252 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
253 type of ftell in infcall.
254 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
255 type of getpid in infcall.
256 * gdb.base/infcall-exec.exp: Cast return type of execlp in
257 infcall.
258 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
259 Bail on failure to extract the pid.
260 * gdb.base/nodebug.c: #include <stdint.h>.
261 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
262 New functions.
263 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
264 Change expected output of print/whatis/ptype with functions with
265 no debug info. Test all supported languages. Call
266 test_call_promotion.
267 * gdb.compile/compile.exp: Adjust expected output to expect
268 warning.
269 * gdb.threads/siginfo-threads.exp: Likewise.
270
54990598
PA
2712017-09-04 Pedro Alves <palves@redhat.com>
272
273 * gdb.base/callfuncs.exp (do_function_calls): New parameter
274 "prototypes". Test calling float functions via prototyped and
275 unprototyped function pointers.
276 (perform_all_tests): New parameter "prototypes". Pass it down.
277 (top level): Pass down "prototypes" parameter to
278 perform_all_tests.
279
34d16ea2
SM
2802017-09-04 Simon Marchi <simon.marchi@ericsson.com>
281
282 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
283 Test with nested loops.
284
9521ecda
SM
2852017-09-04 Simon Marchi <simon.marchi@ericsson.com>
286
287 * gdb.base/commands.exp: Call the new procedures.
288 (loop_break_test, loop_continue_test): New procedures.
289
80a65e9b
SM
2902017-09-04 Simon Marchi <simon.marchi@ericsson.com>
291
292 * gdb.base/commands.exp: Call new procedure.
293 (define_if_without_arg_test): New procedure.
294
e439fa14
PA
2952017-09-04 Pedro Alves <palves@redhat.com>
296
297 * gdb.base/list-ambiguous.exp: New file.
298 * gdb.base/list-ambiguous0.c: New file.
299 * gdb.base/list-ambiguous1.c: New file.
300 * gdb.base/list.exp (test_list_range): Adjust expected output.
301
0a2dde4a
SDJ
3022017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
303
304 * gdb.base/share-env-with-gdbserver.c: New file.
305 * gdb.base/share-env-with-gdbserver.exp: Likewise.
306
5e89eb3a
SM
3072017-08-28 Simon Marchi <simon.marchi@ericsson.com>
308
309 * gdb.base/commands.exp (gdbvar_simple_if_test,
310 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
311 progvar_simple_if_test, progvar_simple_while_test,
312 progvar_complex_if_while_test, user_defined_command_test,
313 user_defined_command_args_eval,
314 user_defined_command_args_stack_test,
315 user_defined_command_manyargs_test, bp_deleted_in_command_test,
316 temporary_breakpoint_commands,
317 gdb_test_no_prompt, redefine_hook_test,
318 redefine_backtrace_test): Remove "global gdb_prompt".
319
fd437cbc
SM
3202017-08-28 Simon Marchi <simon.marchi@ericsson.com>
321
322 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
323 New proc, call it from toplevel.
324
87215ad1
SDJ
3252017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
326
327 PR remote/21852
328 * gdb.server/normal.c: New file, copied from gdb.base.
329 * gdb.server/run-without-local-binary.exp: New file.
330
58afddc6
WP
3312017-08-07 Weimin Pan <weimin.pan@oracle.com>
332
333 * gdb.arch/sparc64-adi.exp: New file.
334 * gdb.arch/sparc64-adi.c: New file.
335
5277199a
PA
3362017-08-22 Pedro Alves <palves@redhat.com>
337
338 * gdb.cp/overload.exp (line_range_pattern): New procedure.
339 (top level): Add "list all overloads" tests.
340
14278e1f
TT
3412017-08-22 Tom Tromey <tom@tromey.com>
342
343 * gdb.gdb/xfullpath.exp: Remove.
344
bf223d3e
PA
3452017-08-21 Pedro Alves <palves@redhat.com>
346
347 PR gdb/19487
348 * gdb.base/symbol-alias.c: New.
349 * gdb.base/symbol-alias2.c: New.
350 * gdb.base/symbol-alias.exp: New.
351
c973d0aa
PA
3522017-08-21 Pedro Alves <palves@redhat.com>
353
354 * gdb.base/dfp-test.c
355 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
356 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
357 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
358 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
359 * gdb.base/whatis-ptype-typedefs.c: New.
360 * gdb.base/whatis-ptype-typedefs.exp: New.
361 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
362 (an_int, an_int_type, an_int_type2): New globals.
363 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
364 involving typedefs and cast expressions.
365 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
366 (lookup_typedefs_function): New.
367 (typedefs_pretty_printers_dict): New.
368 (top level): Register lookup_typedefs_function in
369 gdb.pretty_printers.
370
6d580b63
YQ
3712017-08-18 Yao Qi <yao.qi@linaro.org>
372
373 * gdb.server/unittest.exp: New.
374
206726fb
SDJ
3752017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
376
377 PR gdb/21954
378 * gdb.base/environ.exp: Add test to check if 'unset environment'
379 works.
380
bf0ec4c2
AA
3812017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
382
383 * lib/gdb.exp (universal_compile_options): New caching proc.
384 (gdb_compile): Suppress GCC's coloring of messages.
385
d6382fff
TT
3862017-08-14 Tom Tromey <tom@tromey.com>
387
388 PR gdb/21675:
389 * gdb.base/printcmds.exp (test_radices): New function.
390 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
391 * gdb.base/sizeof.exp (check_valueof): Use p/d.
392 * lib/gdb.exp (get_integer_valueof): Use p/d.
393
c2c2dd9f
SM
3942017-08-12 Simon Marchi <simon.marchi@ericsson.com>
395
396 * lib/gdb.exp (get_valueof): Don't capture end-of-line
397 characters.
398
fdffd6f4
TT
3992017-08-05 Tom Tromey <tom@tromey.com>
400
401 * gdb.rust/simple.exp: Allow String to appear in a different
402 namespace.
403
27d41eac
YQ
4042017-07-26 Yao Qi <yao.qi@linaro.org>
405
406 * gdb.gdb/unittest.exp: Invoke command
407 "maintenance check xml-descriptions".
408
031ed05d
AA
4092017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
410
411 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
412 calling context.
413 (hex128): Drop erroneous calculation of parameters.
414
dcd27ddf
SM
4152017-07-22 Simon Marchi <simon.marchi@ericsson.com>
416
417 * gdb.python/py-unwind.exp: Disable stack protection when
418 building test file.
419
47e77640
PA
4202017-07-20 Pedro Alves <palves@redhat.com>
421
422 * gdb.base/default.exp (set language): Adjust expected output.
423
62d2a18a
PA
4242017-07-20 Pedro Alves <palves@redhat.com>
425
426 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
427 (test_minsym): ... this, and make static.
428 (get_pck__foo__bar__minsym): Rename to ...
429 (get_test_minsym): ... this.
430 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
431 symbol names and comments.
432 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
433 (get_test_minsym): ... this.
434 (pck__foo__bar__minsym__2): Rename to ...
435 (test_minsym): ... this.
436 (main): Adjust.
437
c45ec17c
PA
4382017-07-17 Pedro Alves <palves@redhat.com>
439
440 * gdb.base/completion.exp: Adjust expected output.
441 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
442 the completer works.
443
c6756f62
PA
4442017-07-17 Pedro Alves <palves@redhat.com>
445
446 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
447
5bd68487
AB
4482017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
449
450 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
451
8880f2a9
TT
4522017-07-14 Tom Tromey <tom@tromey.com>
453
454 PR rust/21764:
455 * gdb.rust/simple.exp: Add tests.
456
65547233
TT
4572017-07-14 Tom Tromey <tom@tromey.com>
458
459 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
460
8f14146e
PA
4612017-07-14 Pedro Alves <palves@redhat.com>
462
463 * gdb.linespec/base/one/thefile.cc (z1): New function.
464 * gdb.linespec/base/two/thefile.cc (z2): New function.
465 * gdb.linespec/linespec.exp: Add tests.
466
b4365d02
AB
4672017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
468
469 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
470 to mi_create_breakpoint.
471
5d2cbaa5
AB
4722017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
473
474 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
475 mi_create_breakpoint.
476
11cb5716
IB
4772017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
478
479 * gdb.dlang/demangle.exp: Update for demangling changes.
480
03278692
TT
4812017-07-09 Tom Tromey <tom@tromey.com>
482
483 * gdb.dwarf2/shortpiece.exp: New file.
484
33c5cd75
DB
4852017-07-06 David Blaikie <dblaikie@gmail.com>
486
487 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
488 built from fissiont-multi-cu{1,2}.c.
489 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
490 except putting 'main' and 'func' in separate CUs in the same DWO file.
491 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
492 test.
493 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
494 test.
495
8455d262
PA
4962017-07-06 Pedro Alves <palves@redhat.com>
497
498 * gdb.python/py-unwind.exp: Test flushregs.
499
dc4bde35
SDJ
5002017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
501
502 PR cli/21688
503 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
504 tests for alias commands and trailing whitespace.
505
51ed89aa
SDJ
5062017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
507
508 PR cli/21688
509 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
510 procedure. Call it.
511
eb17d413
PA
5122017-06-29 Pedro Alves <palves@redhat.com>
513
514 * gdb.base/printcmds.exp: Add tests.
515
41664b45
DG
5162017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
517
518 PR gdb/21337
519 * gdb.base/reread-readsym.exp: New file.
520 * gdb.base/reread-readsym.c: New file.
521
75312ae3
KB
5222017-06-21 Kevin Buettner <kevinb@redhat.com>
523
524 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
525 subpattern.
526
66953522
PB
5272017-06-19 Peter Bergner <bergner@vnet.ibm.com>
528
529 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
530 extended mnemonic.
531 * gdb.arch/powerpc-power9.s: Likewise.
532
5524b525
AA
5332017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
534
535 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
536 on 32-bit x86 targets. Exploit is_*_target macros where
537 appropriate.
538
03c8af18
AA
5392017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
540
541 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
542 register pieces.
543
3bf31011
AA
5442017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
545
546 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
547 located in one or more DWARF pieces.
548
805acca0
AA
5492017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
550
551 * lib/gdb.exp (get_endianness): New proc.
552 * gdb.arch/aarch64-fp.exp: Use it.
553 * gdb.arch/altivec-regs.exp: Likewise.
554 * gdb.arch/e500-regs.exp: Likewise.
555 * gdb.arch/vsx-regs.exp: Likewise.
556 * gdb.base/dump.exp: Likewise.
557 * gdb.base/funcargs.exp: Likewise.
558 * gdb.base/gnu_vector.exp: Likewise.
559 * gdb.dwarf2/formdata16.exp: Likewise.
560 * gdb.dwarf2/implptrpiece.exp: Likewise.
561 * gdb.dwarf2/nonvar-access.exp: Likewise.
562 * gdb.python/py-inferior.exp: Likewise.
563 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
564
e9352324
AA
5652017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
566
567 PR gdb/21226
568 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
569 stack value pieces are taken from the LSB end.
570
d5d1163e
AA
5712017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
572
573 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
574 variable at nonzero offset.
575
0567c986
AA
5762017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
577
578 * gdb.dwarf2/var-access.c: New file.
579 * gdb.dwarf2/var-access.exp: New test.
580 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
581
973e9aab
TT
5822017-06-12 Tom Tromey <tom@tromey.com>
583
584 * gdb.dwarf2/formdata16.exp: Add tests.
585
d9109c80
TT
5862017-06-12 Tom Tromey <tom@tromey.com>
587
588 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
589
30a25466
TT
5902017-06-12 Tom Tromey <tom@tromey.com>
591
592 PR exp/16225:
593 * gdb.reverse/i386-sse-reverse.exp: Update tests.
594 * gdb.arch/vsx-regs.exp: Update tests.
595 * gdb.arch/s390-vregs.exp (hex128): New proc.
596 Update test.
597 * gdb.arch/altivec-regs.exp: Update tests.
598
aefd8b33
SDJ
5992017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
600
601 * gdb.base/startup-with-shell.c: New file.
602 * gdb.base/startup-with-shell.exp: Likewise.
603
2090129c
SDJ
6042017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
605
606 * gdb.server/non-existing-program.exp: Update regex in order to
607 reflect the fact that gdbserver is now using fork_inferior (with a
608 shell) to startup the inferior.
609
8e86a419
SM
6102017-05-30 Simon Marchi <simon.marchi@ericsson.com>
611
612 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
613 support function calls from GDB.
614
e6cf65f2
TT
6152017-05-21 Tom Tromey <tom@tromey.com>
616
617 PR rust/21466:
618 * gdb.rust/unsized.exp: New file.
619 * gdb.rust/unsized.rs: New file.
620
43cc5389
TT
6212017-05-19 Tom Tromey <tom@tromey.com>
622
623 PR rust/21484:
624 * gdb.rust/watch.exp: New file.
625 * gdb.rust/watch.rs: New file.
626
ec8df234
TT
6272017-05-18 Tom Tromey <tom@tromey.com>
628
629 * gdb.rust/simple.exp: Allow Box to be qualified.
630
3e3e7fae
TP
6312017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
632
633 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
634
59cc050d
PA
6352017-05-18 Pedro Alves <palves@redhat.com>
636
637 * gdb.base/fileio.c (test_write, test_read, test_close)
638 (test_fstat): Don't print 'ret' in the fail path.
639
c8f6abd1
PA
6402017-05-18 Pedro Alves <palves@redhat.com>
641
642 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
643 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
644 (test_system, test_rename, test_unlink, test_time): Change
645 prototypes.
646 * gdb.base/fileio.exp (stop_msg): Adjust.
647
d2a03b77
PA
6482017-05-18 Pedro Alves <palves@redhat.com>
649
650 * gdb.base/fileio.c (null_str): New global.
651 (test_stat): Use it.
652 * gdb.base/fileio.exp: Remove nowarnings.
653
0d5c6999
YQ
6542017-05-17 Yao Qi <yao.qi@linaro.org>
655
656 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
657
21873064
YQ
6582017-05-17 Simon Marchi <simon.marchi@ericsson.com>
659
660 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
661 argument command.
662 (top-level): Invoke test_set_inferior_tty.
663
d512d31c
PA
6642017-05-04 Pedro Alves <palves@redhat.com>
665
666 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
667 Add parens to print call for Python 3.
668
90cef2ed
KS
6692017-05-03 Keith Seitz <keiths@redhat.com>
670
671 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
672 (main): Call it.
673
14f819c8
TW
6742017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
675
676 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
677 to prev and next.
678
913aeadd
TW
6792017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
680
681 * gdb.python/py-record-btrace.exp: Remove test for
682 gdb.BtraceInstruction.error.
683
a3be24ad
TW
6842017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
685
686 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
687
ae20e79a
TW
6882017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
689
690 * gdb.python/py-record-btrace-threads.c: New file.
691 * gdb.python/py-record-btrace-threads.exp: New file.
692
45ce1b47
SDJ
6932017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
694
695 PR testsuite/8595
696 * gdb.base/environ.exp: Make test available in all architectures.
697 Move bits related to "info program" testing to
698 gdb.base/info-program.exp. Rewrite tests to use the two new
699 procedures mentione below.
700 (test_set_show_env_var) New procedure.
701 (test_set_show_env_var_equal): Likewise.
702 * gdb.base/info-program.exp: New file.
703
e15c3eb4
KS
7042017-04-27 Keith Seitz <keiths@redhat.com>
705
706 * gdb.cp/oranking.cc (test15): New function.
707 (main): Call test15 and declare additional variables for testing.
708 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
709 "p foo101('abc')" tests.
710 Add tests for cv qualifier overloads.
711 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
712 "lvalue reference overload" test.
713 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
714 "print value of f1 on Child&& in f2" test.
715
3a3fd0fd
PA
7162017-04-19 Pedro Alves <palves@redhat.com>
717
718 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
719 procedure.
720 (top level): Call it.
721 * lib/gdb.exp (gdb_define_cmd): New procedure.
722
53375380
PA
7232017-04-12 Pedro Alves <palves@redhat.com>
724
725 PR gdb/21323
726 * gdb.cp/wide_char_types.c: Include <wchar.h>.
727 (wchar): New global.
728 * gdb.cp/wide_char_types.exp (wide_char_types_program)
729 (do_test_wide_char, wide_char_types_no_program, top level): Add
730 wchar_t testing.
731
53e710ac
PA
7322017-04-12 Pedro Alves <palves@redhat.com>
733
734 PR c++/21323
735 * gdb.cp/wide_char_types.c: New file.
736 * gdb.cp/wide_char_types.exp: New file.
737
0ad9d8c7
SDJ
7382017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
739
740 PR gdb/21352
741 * gdb.trace/tsv.exp: Add test for "tsave -r".
742
b1b45502
IB
7432017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
744
745 * gdb.dlang/watch-loc.c: New file.
746 * gdb.dlang/watch-loc.exp: New file.
747
ec13808e
JK
7482017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
749
750 * gdb.python/py-section-script.exp (sepdebug): New testcases.
751
fe5f7374
AK
7522017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
753
754 * gdb.arch/arc-analyze-prologue.S: New file.
755 * gdb.arch/arc-analyze-prologue.exp: Likewise.
756
eea78757
AK
7572017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
758
759 * gdb.arch/arc-decode-insn.S: New file.
760 * gdb.arch/arc-decode-insn.exp: Likewise.
761
5badf10a
IR
7622017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
763
764 PR tdep/20928
765 * gdb.arch/sparc64-regs.exp: New file.
766 * gdb.arch/sparc64-regs.S: Likewise.
767
cee59b3f
TW
7682017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
769
770 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
771 and memory view on Python 3.
772
c0f55cc6
AV
7732017-03-20 Artemiy Volkov <artemiyv@acm.org>
774 Keith Seitz <keiths@redhat.com>
775
776 PR gdb/14441
777 * gdb.cp/demangle.exp: Add rvalue reference tests.
778 * gdb.cp/rvalue-ref-casts.cc: New file.
779 * gdb.cp/rvalue-ref-casts.exp: New file.
780 * gdb.cp/rvalue-ref-overload.cc: New file.
781 * gdb.cp/rvalue-ref-overload.exp: New file.
782 * gdb.cp/rvalue-ref-params.cc: New file.
783 * gdb.cp/rvalue-ref-params.exp: New file.
784 * gdb.cp/rvalue-ref-sizeof.cc: New file.
785 * gdb.cp/rvalue-ref-sizeof.exp: New file.
786 * gdb.cp/rvalue-ref-types.cc: New file.
787 * gdb.cp/rvalue-ref-types.exp: New file.
788 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
789 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
790
51457a05
MAL
7912017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
792
793 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
794 New procedure.
795
5b291c04
MAL
7962017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
797
798 * lib/mi-support.exp (mi_gdb_test): Add additional message
799 for unexpected output.
800
59a56148
AA
8012017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
802
803 * gdb.base/examine-backward.c (Barrier): New character array
804 constant, to ensure that TestStrings is preceded by a string
805 terminator.
806
7942e96e
AA
8072017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
808
809 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
810 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
811 and implicit pointer into such a location.
812
6ebac3fb
DE
8132017-03-16 Doug Evans <dje@google.com>
814
815 * gdb.python/py-lazy-string (pointer): Really add new typedef.
816
ec3b243d
TP
8172017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
818
819 * gdb.cp/m-static.exp: Fix expectation for prototype of
820 test5.single_constructor and single_constructor::single_constructor.
2cc36e25
DE
821
8222017-03-16 Doug Evans <dje@google.com>
a7c0469f
DE
823
824 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
825 * gdb.guile/scm-lazy-string.c: New file.
826 * gdb.guile/scm-value.exp: Move lazy string tests to ...
827 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
828 for pointer, array, typedef lazy strings.
829
2cc36e25 8302017-03-16 Doug Evans <dje@google.com>
34b43320
DE
831
832 PR python/17728, python/18439, python/18779
833 * gdb.python/py-value.c (main) Delete locals sptr, sn.
834 * gdb.python/py-lazy-string.c (pointer): New typedef.
835 (main): New locals ptr, array, typedef_ptr.
836 * gdb.python/py-value.exp: Move lazy string tests to ...
837 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
838 array, typedef lazy strings.
ec3b243d 839
0efcde63
AK
8402017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
841
842 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
843 Add optional 'test' parameter.
844
7978d7c3
SM
8452017-03-13 Simon Marchi <simon.marchi@ericsson.com>
846
847 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
848 Skip for versions of DejaGnu < 1.5.
849
896c0c1e
SM
8502017-03-13 Simon Marchi <simon.marchi@ericsson.com>
851
852 * lib/gdb.exp (dejagnu_version): New proc.
853 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
854 Use dejagnu_version.
855
5f4d1085
KS
8562017-03-10 Keith Seitz <keiths@redhat.com>
857
858 PR c++/8128
859 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
860 type from destructor regexps.
861 Add a branch which actually passes the test.
862 Adjust "ptype t5i" test names.
863
1de05205
PA
8642017-03-08 Pedro Alves <palves@redhat.com>
865
866 * gdb.base/step-over-exit.exp: Add explicit test message.
867
c65d6b55
PA
8682017-03-08 Pedro Alves <palves@redhat.com>
869
870 PR gdb/18360
871 * gdb.threads/interrupt-while-step-over.c: New file.
872 * gdb.threads/interrupt-while-step-over.exp: New file.
873
2e86a283
PA
8742017-03-08 Pedro Alves <palves@redhat.com>
875
876 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
877 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
878
25dcbff6
PA
8792017-03-08 Pedro Alves <palves@redhat.com>
880
881 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
882 PKRU as not supported as a PASS.
883
dc9366eb
PA
8842017-03-08 Pedro Alves <palves@redhat.com>
885
886 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
887 prefix instead of $binfile1/$binfile2.
888 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
889 in test message.
890 * gdb.python/py-completion.exp: Use "load python file" as test
891 messages instead of unstable path names.
892
6e5d74e7
PA
8932017-03-08 Pedro Alves <palves@redhat.com>
894 Jan Kratochvil <jan.kratochvil@redhat.com>
895
896 PR cli/21218
897 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
898 New proc.
899 (top level): Call it.
900
9753a2f6
PA
9012017-03-08 Pedro Alves <palves@redhat.com>
902
903 PR tui/21216
904 * gdb.tui/tui-nl-filtered-output.exp: New file.
905
1a4dd9dd
PA
9062017-03-08 Pedro Alves <palves@redhat.com>
907
908 * gdb.base/completion.exp: Move TUI completion tests to ...
909 * gdb.tui/completion.exp: ... this new file.
910
7cbbff33
PA
9112017-03-08 Pedro Alves <palves@redhat.com>
912
913 * gdb.base/tui-disasm-long-lines.c,
914 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
915 gdb.base/tui-layout.exp: Move to ...
916 * gdb.tui/: ... this new directory.
917
5f6fd321
PA
9182017-03-07 Pedro Alves <palves@redhat.com>
919
920 * gdb.base/tui-layout.c: New file.
921 * gdb.base/tui-layout.exp: New file.
922
44959fa8
PA
9232017-03-07 Pedro Alves <palves@redhat.com>
924
925 * gdb.base/tui-layout.c: Rename to ...
926 * gdb.base/tui-disasm-long-lines.c: ... this.
927 * gdb.base/tui-layout.exp: Rename to ...
928 * gdb.base/tui-disasm-long-lines.exp: ... this.
929
f8c4e718
PA
9302017-03-07 Pedro Alves <palves@redhat.com>
931
932 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
933
6dbb839a 9342017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
4a612d6f
WT
935
936 * i386-mpx-call.c: New file.
937 * i386-mpx-call.exp: New file.
938
65b48a81
PB
9392017-02-28 Peter Bergner <bergner@vnet.ibm.com>
940
941 * gdb.arch/powerpc-power.exp: Delete test.
942 * gdb.arch/powerpc-power.s: Likewise.
943 * gdb.disasm/disassembler-options.exp: New test.
944 * gdb.arch/powerpc-altivec.exp: Likewise.
945 * gdb.arch/powerpc-altivec.s: Likewise.
946 * gdb.arch/powerpc-altivec2.exp: Likewise.
947 * gdb.arch/powerpc-altivec2.s: Likewise.
948 * gdb.arch/powerpc-altivec3.exp: Likewise.
949 * gdb.arch/powerpc-altivec3.s: Likewise.
950 * gdb.arch/powerpc-power7.exp: Likewise.
951 * gdb.arch/powerpc-power7.s: Likewise.
952 * gdb.arch/powerpc-power8.exp: Likewise.
953 * gdb.arch/powerpc-power8.s: Likewise.
954 * gdb.arch/powerpc-power9.exp: Likewise.
955 * gdb.arch/powerpc-power9.s: Likewise.
956 * gdb.arch/powerpc-vsx.exp: Likewise.
957 * gdb.arch/powerpc-vsx.s: Likewise.
958 * gdb.arch/powerpc-vsx2.exp: Likewise.
959 * gdb.arch/powerpc-vsx2.s: Likewise.
960 * gdb.arch/powerpc-vsx3.exp: Likewise.
961 * gdb.arch/powerpc-vsx3.s: Likewise.
962 * gdb.arch/arm-disassembler-options.exp: Likewise.
963 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
964 * gdb.arch/s390-disassembler-options.exp: Likewise.
965
17cd4947
LM
9662017-02-23 Luis Machado <lgustavo@codesourcery.com>
967
968 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
969 (check_supported_features): ... this. Changed return type to void.
970 (supports_rdseed): New static global.
971 (rdseed): Check supports_rdseed.
972 (initialize): Call check_supported_features.
973
2039d74e
EBM
9742017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
975
976 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
977 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
978 and lqarx/stqcx.
979 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
980 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
981
a51d7ecf
EBM
9822017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
983
984 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
985 uppercase.
986
0224619f
JK
9872017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
988
989 * gdb.dwarf2/formdata16.c: New file.
990 * gdb.dwarf2/formdata16.exp: New file.
991 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
992
216f72a1
JK
9932017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
994
995 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
996 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
997 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
998 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
999 DW_AT_GNU_*.
1000
43988095
JK
10012017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1002
1003 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
1004
99e8a4f9
SDJ
10052017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
1006
1007 PR gdb/21164
1008 * gdb.base/maint.exp: Add testcases for when the commands do
1009 not have arguments.
1010
b58a8c0c
TP
10112017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1012
1013 * gdb.cp/chained-calls.exp: Use p instead of P.
1014
4e746bb6
TW
10152017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
1016
1017 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
1018 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
1019
3f77c769
TT
10202017-02-14 Tom Tromey <tom@tromey.com>
1021
1022 PR python/13598:
1023 * gdb.python/py-events.exp: Add before_prompt event tests.
1024
075beec0
AA
10252017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
1026
1027 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
1028
bf5f525c
LM
10292017-02-13 Luis Machado <lgustavo@codesourcery.com>
1030
1031 * gdb.linespec/explicit.c (my_unique_function_name): New function.
1032 (main): Call my_unique_function_name.
1033 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
1034 completion of patterns with a single match.
1035 Add missing -re switches to gdb_test_multiple calls.
1036
13a66184
LM
10372017-02-13 Luis Machado <lgustavo@codesourcery.com>
1038
1039 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
1040 return if core file is not recognized.
1041
26a06916
SM
10422017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1043
1044 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
1045 and extra UIs.
1046
b761ca9e
SM
10472017-02-10 Simon Marchi <simon.marchi@ericsson.com>
1048
1049 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
1050 proc_with_prefix.
1051
b964bee0
TT
10522017-02-10 Tom Tromey <tom@tromey.com>
1053
1054 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
1055
18da0c51
MG
10562017-02-10 Martin Galvan <martingalvan@sourceware.org>
1057
1058 PR gdb/21122
1059 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
1060
604c4576
JG
10612017-02-08 Jerome Guitton <guitton@adacore.com>
1062
1063 * gdb.base/define.exp: Add test for command abbreviations
1064 in define.
1065
20b477a7
LM
10662017-02-06 Luis Machado <lgustavo@codesourcery.com>
1067
1068 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
1069 * gdb.reverse/insn-reverse-x86.c: New file.
1070
3f7b46f2
IR
10712017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
1072
1073 PR tdep/20936
1074 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
1075
f0fd41c1
TT
10762017-02-03 Tom Tromey <tom@tromey.com>
1077
1078 PR rust/21097:
1079 * gdb.rust/simple.exp: Add new tests.
1080
5be5dbf0
PA
10812017-02-02 Pedro Alves <palves@redhat.com>
1082
1083 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
1084 tests.
1085
7346ef59
AA
10862017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
1087
1088 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
1089 taking a 2-byte value out of a 4-byte DWARF implicit value on
1090 big-endian targets.
1091 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
1092 logic. Add test cases for DW_OP_implicit.
1093
787f0025
MM
10942017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1095
1096 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
1097
68777c29
MM
10982017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1099
1100 * gdb.btrace/enable.exp: Call gdb_exit before
1101 skip_gdbserver_tests.
1102
0a1c7e28
MM
11032017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1104
1105 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
1106 GDBFLAGS.
1107
b5ac99b0
MM
11082017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1109
1110 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
1111 the test is skipped.
1112 * gdb.btrace/data.exp: Likewise.
1113 * gdb.btrace/delta.exp: Likewise.
1114 * gdb.btrace/dlopen.exp: Likewise.
1115 * gdb.btrace/enable-running.exp: Likewise.
1116 * gdb.btrace/enable.exp: Likewise.
1117 * gdb.btrace/exception.exp: Likewise.
1118 * gdb.btrace/function_call_history.exp: Likewise.
1119 * gdb.btrace/gcore.exp: Likewise.
1120 * gdb.btrace/instruction_history.exp: Likewise.
1121 * gdb.btrace/multi-thread-step.exp: Likewise.
1122 * gdb.btrace/nohist.exp: Likewise.
1123 * gdb.btrace/non-stop.exp: Likewise.
1124 * gdb.btrace/reconnect.exp: Likewise.
1125 * gdb.btrace/record_goto-step.exp: Likewise.
1126 * gdb.btrace/record_goto.exp: Likewise.
1127 * gdb.btrace/rn-dl-bind.exp: Likewise.
1128 * gdb.btrace/segv.exp: Likewise.
1129 * gdb.btrace/step.exp: Likewise.
1130 * gdb.btrace/stepi.exp: Likewise.
1131 * gdb.btrace/tailcall-only.exp: Likewise.
1132 * gdb.btrace/tailcall.exp: Likewise.
1133 * gdb.btrace/tsx.exp: Likewise.
1134 * gdb.btrace/unknown_functions.exp: Likewise.
1135 * gdb.btrace/vdso.exp: Likewise.
1136
cd4007e4
MM
11372017-02-01 Markus Metzger <markus.t.metzger@intel.com>
1138
1139 * gdb.btrace/enable-running.c: New.
1140 * gdb.btrace/enable-running.exp: New.
1141
2735833d
WT
11422017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1143
1144 * gdb.arch/amd64-gs_base.c: New file.
1145 * gdb.arch/amd64-gs_base.exp: New file.
1146
b51e1e94
LM
11472017-01-26 Luis Machado <lgustavo@codesourcery.com>
1148
1149 * lib/memory.exp: Remove spurious empty newlines.
1150
72ca0410
SM
11512017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
1152
1153 * gdb.python/py-bad-printers.exp: Load python file using "source".
1154 * gdb.python/py-events.exp: Likewise.
1155 * gdb.python/py-evsignal.exp: Likewise.
1156 * gdb.python/py-evthreads.exp: Likewise.
1157 * gdb.python/py-frame-args.exp: Likewise.
1158 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
1159 * gdb.python/py-framefilter-mi.exp: Likewise.
1160 * gdb.python/py-framefilter.exp: Likewise.
1161 * gdb.python/py-mi.exp: Likewise.
1162 * gdb.python/py-pp-maint.exp: Likewise.
1163 * gdb.python/py-pp-registration.exp: Likewise.
1164 * gdb.python/py-prettyprint.exp: Likewise.
1165 (run_lang_tests): Likewise.
1166 * gdb.python/py-typeprint.exp: Likewise.
1167
e309aa65
LM
11682017-01-26 Luis Machado <lgustavo@codesourcery.com>
1169
1170 * lib/memory.exp: New file.
1171 * lib/gdb.exp: Load memory.exp.
1172 * gdb.base/memattr.exp (delete_memory): Move proc to
1173 lib/memory.exp and rename to delete_memory_regions.
1174 Replace delete_memory with delete_memory_regions.
1175 Cleanup memory regions before tests.
1176 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
1177 before tests.
1178
515aff23
LM
11792017-01-26 Luis Machado <lgustavo@codesourcery.com>
1180
1181 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
1182 files.
1183 (initialize): New function conditionally defined.
1184 (testcases): Move within conditional block.
1185 (main): Call initialize.
1186 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
1187 of gdb.reverse/insn-reverse.c.
1188 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
1189 gdb.reverse/insn-reverse.c.
1190
d8b49cf0
YQ
11912017-01-26 Yao Qi <yao.qi@linaro.org>
1192
1193 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
1194 disassemble on address 0.
1195
f13a9a0c
YQ
11962017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
1197 Yao Qi <yao.qi@linaro.org>
1198
1199 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
1200 * gdb.dwarf2/implptr-64bit.S: Remove.
1201 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
1202 variables in caller's context. Add DW_OP_implicit_value.
1203
5ac95241
YQ
12042017-01-25 Yao Qi <yao.qi@linaro.org>
1205
1206 * lib/dwarf.exp (Dwarf::_location): Handle
1207 DW_OP_GNU_implicit_pointer with proper size.
1208
23e82930
LM
12092017-01-20 Luis Machado <lgustavo@codesourcery.com>
1210
1211 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
1212 and add untested calls.
1213
d334ae25
LM
12142017-01-20 Luis Machado <lgustavo@codesourcery.com>
1215
1216 * gdb.python/python.exp: Check line number against what GDB thinks
1217 the line number is for func1.
1218
f5e6296e
IB
12192017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
1220
1221 * gdb.dlang/debug-expr.exp: New file.
1222
5b362f04
LM
12232016-12-23 Luis Machado <lgustavo@codesourcery.com>
1224
1225 Fix test names for the following files:
1226
1227 * gdb.ada/exec_changed.exp
1228 * gdb.ada/info_types.exp
1229 * gdb.arch/aarch64-atomic-inst.exp
1230 * gdb.arch/aarch64-fp.exp
1231 * gdb.arch/altivec-abi.exp
1232 * gdb.arch/altivec-regs.exp
1233 * gdb.arch/amd64-byte.exp
1234 * gdb.arch/amd64-disp-step.exp
1235 * gdb.arch/amd64-dword.exp
1236 * gdb.arch/amd64-entry-value-inline.exp
1237 * gdb.arch/amd64-entry-value-param.exp
1238 * gdb.arch/amd64-entry-value-paramref.exp
1239 * gdb.arch/amd64-entry-value.exp
1240 * gdb.arch/amd64-i386-address.exp
1241 * gdb.arch/amd64-invalid-stack-middle.exp
1242 * gdb.arch/amd64-invalid-stack-top.exp
1243 * gdb.arch/amd64-optimout-repeat.exp
1244 * gdb.arch/amd64-prologue-skip.exp
1245 * gdb.arch/amd64-prologue-xmm.exp
1246 * gdb.arch/amd64-stap-special-operands.exp
1247 * gdb.arch/amd64-stap-wrong-subexp.exp
1248 * gdb.arch/amd64-tailcall-cxx.exp
1249 * gdb.arch/amd64-tailcall-noret.exp
1250 * gdb.arch/amd64-tailcall-ret.exp
1251 * gdb.arch/amd64-tailcall-self.exp
1252 * gdb.arch/amd64-word.exp
1253 * gdb.arch/arm-bl-branch-dest.exp
1254 * gdb.arch/arm-disp-step.exp
1255 * gdb.arch/arm-neon.exp
1256 * gdb.arch/arm-single-step-kernel-helper.exp
1257 * gdb.arch/avr-flash-qualifier.exp
1258 * gdb.arch/disp-step-insn-reloc.exp
1259 * gdb.arch/e500-abi.exp
1260 * gdb.arch/e500-regs.exp
1261 * gdb.arch/ftrace-insn-reloc.exp
1262 * gdb.arch/i386-avx512.exp
1263 * gdb.arch/i386-bp_permanent.exp
1264 * gdb.arch/i386-byte.exp
1265 * gdb.arch/i386-cfi-notcurrent.exp
1266 * gdb.arch/i386-disp-step.exp
1267 * gdb.arch/i386-dr3-watch.exp
1268 * gdb.arch/i386-float.exp
1269 * gdb.arch/i386-gnu-cfi.exp
1270 * gdb.arch/i386-mpx-map.exp
1271 * gdb.arch/i386-mpx-sigsegv.exp
1272 * gdb.arch/i386-mpx-simple_segv.exp
1273 * gdb.arch/i386-mpx.exp
1274 * gdb.arch/i386-permbkpt.exp
1275 * gdb.arch/i386-prologue.exp
1276 * gdb.arch/i386-signal.exp
1277 * gdb.arch/i386-size-overlap.exp
1278 * gdb.arch/i386-unwind.exp
1279 * gdb.arch/i386-word.exp
1280 * gdb.arch/mips-fcr.exp
1281 * gdb.arch/powerpc-d128-regs.exp
1282 * gdb.arch/powerpc-stackless.exp
1283 * gdb.arch/ppc64-atomic-inst.exp
1284 * gdb.arch/s390-stackless.exp
1285 * gdb.arch/s390-tdbregs.exp
1286 * gdb.arch/s390-vregs.exp
1287 * gdb.arch/sparc-sysstep.exp
1288 * gdb.arch/thumb-bx-pc.exp
1289 * gdb.arch/thumb-singlestep.exp
1290 * gdb.arch/thumb2-it.exp
1291 * gdb.arch/vsx-regs.exp
1292 * gdb.asm/asm-source.exp
1293 * gdb.base/a2-run.exp
1294 * gdb.base/advance.exp
1295 * gdb.base/all-bin.exp
1296 * gdb.base/anon.exp
1297 * gdb.base/args.exp
1298 * gdb.base/arithmet.exp
1299 * gdb.base/async-shell.exp
1300 * gdb.base/async.exp
1301 * gdb.base/attach-pie-noexec.exp
1302 * gdb.base/attach-twice.exp
1303 * gdb.base/auto-load.exp
1304 * gdb.base/bang.exp
1305 * gdb.base/bitfields.exp
1306 * gdb.base/break-always.exp
1307 * gdb.base/break-caller-line.exp
1308 * gdb.base/break-entry.exp
1309 * gdb.base/break-inline.exp
1310 * gdb.base/break-on-linker-gcd-function.exp
1311 * gdb.base/break-probes.exp
1312 * gdb.base/break.exp
1313 * gdb.base/breakpoint-shadow.exp
1314 * gdb.base/call-ar-st.exp
1315 * gdb.base/call-sc.exp
1316 * gdb.base/call-signal-resume.exp
1317 * gdb.base/call-strs.exp
1318 * gdb.base/callfuncs.exp
1319 * gdb.base/catch-fork-static.exp
1320 * gdb.base/catch-gdb-caused-signals.exp
1321 * gdb.base/catch-load.exp
1322 * gdb.base/catch-signal-fork.exp
1323 * gdb.base/catch-signal.exp
1324 * gdb.base/catch-syscall.exp
1325 * gdb.base/charset.exp
1326 * gdb.base/checkpoint.exp
1327 * gdb.base/chng-syms.exp
1328 * gdb.base/code-expr.exp
1329 * gdb.base/code_elim.exp
1330 * gdb.base/commands.exp
1331 * gdb.base/completion.exp
1332 * gdb.base/complex.exp
1333 * gdb.base/cond-expr.exp
1334 * gdb.base/condbreak.exp
1335 * gdb.base/consecutive.exp
1336 * gdb.base/continue-all-already-running.exp
1337 * gdb.base/coredump-filter.exp
1338 * gdb.base/corefile.exp
1339 * gdb.base/dbx.exp
1340 * gdb.base/debug-expr.exp
1341 * gdb.base/define.exp
1342 * gdb.base/del.exp
1343 * gdb.base/disabled-location.exp
1344 * gdb.base/disasm-end-cu.exp
1345 * gdb.base/disasm-optim.exp
1346 * gdb.base/display.exp
1347 * gdb.base/duplicate-bp.exp
1348 * gdb.base/ena-dis-br.exp
1349 * gdb.base/ending-run.exp
1350 * gdb.base/enumval.exp
1351 * gdb.base/environ.exp
1352 * gdb.base/eu-strip-infcall.exp
1353 * gdb.base/eval-avoid-side-effects.exp
1354 * gdb.base/eval-skip.exp
1355 * gdb.base/exitsignal.exp
1356 * gdb.base/expand-psymtabs.exp
1357 * gdb.base/filesym.exp
1358 * gdb.base/find-unmapped.exp
1359 * gdb.base/finish.exp
1360 * gdb.base/float.exp
1361 * gdb.base/foll-exec-mode.exp
1362 * gdb.base/foll-exec.exp
1363 * gdb.base/foll-fork.exp
1364 * gdb.base/fortran-sym-case.exp
1365 * gdb.base/freebpcmd.exp
1366 * gdb.base/func-ptr.exp
1367 * gdb.base/func-ptrs.exp
1368 * gdb.base/funcargs.exp
1369 * gdb.base/gcore-buffer-overflow.exp
1370 * gdb.base/gcore-relro-pie.exp
1371 * gdb.base/gcore-relro.exp
1372 * gdb.base/gcore.exp
1373 * gdb.base/gdb1090.exp
1374 * gdb.base/gdb11530.exp
1375 * gdb.base/gdb11531.exp
1376 * gdb.base/gdb1821.exp
1377 * gdb.base/gdbindex-stabs.exp
1378 * gdb.base/gdbvars.exp
1379 * gdb.base/hbreak.exp
1380 * gdb.base/hbreak2.exp
1381 * gdb.base/included.exp
1382 * gdb.base/infcall-input.exp
1383 * gdb.base/inferior-died.exp
1384 * gdb.base/infnan.exp
1385 * gdb.base/info-macros.exp
1386 * gdb.base/info-os.exp
1387 * gdb.base/info-proc.exp
1388 * gdb.base/info-shared.exp
1389 * gdb.base/info-target.exp
1390 * gdb.base/infoline.exp
1391 * gdb.base/interp.exp
1392 * gdb.base/interrupt.exp
1393 * gdb.base/jit-reader.exp
1394 * gdb.base/jit-simple.exp
1395 * gdb.base/kill-after-signal.exp
1396 * gdb.base/kill-detach-inferiors-cmd.exp
1397 * gdb.base/label.exp
1398 * gdb.base/langs.exp
1399 * gdb.base/ldbl_e308.exp
1400 * gdb.base/line-symtabs.exp
1401 * gdb.base/linespecs.exp
1402 * gdb.base/list.exp
1403 * gdb.base/long_long.exp
1404 * gdb.base/longest-types.exp
1405 * gdb.base/maint.exp
1406 * gdb.base/max-value-size.exp
1407 * gdb.base/memattr.exp
1408 * gdb.base/mips_pro.exp
1409 * gdb.base/morestack.exp
1410 * gdb.base/moribund-step.exp
1411 * gdb.base/multi-forks.exp
1412 * gdb.base/nested-addr.exp
1413 * gdb.base/nextoverexit.exp
1414 * gdb.base/noreturn-finish.exp
1415 * gdb.base/noreturn-return.exp
1416 * gdb.base/nostdlib.exp
1417 * gdb.base/offsets.exp
1418 * gdb.base/opaque.exp
1419 * gdb.base/pc-fp.exp
1420 * gdb.base/permissions.exp
1421 * gdb.base/print-symbol-loading.exp
1422 * gdb.base/prologue-include.exp
1423 * gdb.base/psymtab.exp
1424 * gdb.base/ptype.exp
1425 * gdb.base/random-signal.exp
1426 * gdb.base/randomize.exp
1427 * gdb.base/range-stepping.exp
1428 * gdb.base/readline-ask.exp
1429 * gdb.base/recpar.exp
1430 * gdb.base/recurse.exp
1431 * gdb.base/relational.exp
1432 * gdb.base/restore.exp
1433 * gdb.base/return-nodebug.exp
1434 * gdb.base/return.exp
1435 * gdb.base/run-after-attach.exp
1436 * gdb.base/save-bp.exp
1437 * gdb.base/scope.exp
1438 * gdb.base/sect-cmd.exp
1439 * gdb.base/set-lang-auto.exp
1440 * gdb.base/set-noassign.exp
1441 * gdb.base/setvar.exp
1442 * gdb.base/sigall.exp
1443 * gdb.base/sigbpt.exp
1444 * gdb.base/siginfo-addr.exp
1445 * gdb.base/siginfo-infcall.exp
1446 * gdb.base/siginfo-obj.exp
1447 * gdb.base/siginfo.exp
1448 * gdb.base/signals-state-child.exp
1449 * gdb.base/signest.exp
1450 * gdb.base/sigstep.exp
1451 * gdb.base/sizeof.exp
1452 * gdb.base/skip.exp
1453 * gdb.base/solib-corrupted.exp
1454 * gdb.base/solib-nodir.exp
1455 * gdb.base/solib-search.exp
1456 * gdb.base/stack-checking.exp
1457 * gdb.base/stale-infcall.exp
1458 * gdb.base/stap-probe.exp
1459 * gdb.base/start.exp
1460 * gdb.base/step-break.exp
1461 * gdb.base/step-bt.exp
1462 * gdb.base/step-line.exp
1463 * gdb.base/step-over-exit.exp
1464 * gdb.base/step-over-syscall.exp
1465 * gdb.base/step-resume-infcall.exp
1466 * gdb.base/step-test.exp
1467 * gdb.base/store.exp
1468 * gdb.base/structs3.exp
1469 * gdb.base/sym-file.exp
1470 * gdb.base/symbol-without-target_section.exp
1471 * gdb.base/term.exp
1472 * gdb.base/testenv.exp
1473 * gdb.base/ui-redirect.exp
1474 * gdb.base/until.exp
1475 * gdb.base/unwindonsignal.exp
1476 * gdb.base/value-double-free.exp
1477 * gdb.base/vla-datatypes.exp
1478 * gdb.base/vla-ptr.exp
1479 * gdb.base/vla-sideeffect.exp
1480 * gdb.base/volatile.exp
1481 * gdb.base/watch-cond-infcall.exp
1482 * gdb.base/watch-cond.exp
1483 * gdb.base/watch-non-mem.exp
1484 * gdb.base/watch-read.exp
1485 * gdb.base/watch-vfork.exp
1486 * gdb.base/watchpoint-cond-gone.exp
1487 * gdb.base/watchpoint-delete.exp
1488 * gdb.base/watchpoint-hw-hit-once.exp
1489 * gdb.base/watchpoint-hw.exp
1490 * gdb.base/watchpoint-stops-at-right-insn.exp
1491 * gdb.base/watchpoints.exp
1492 * gdb.base/wchar.exp
1493 * gdb.base/whatis-exp.exp
1494 * gdb.btrace/buffer-size.exp
1495 * gdb.btrace/data.exp
1496 * gdb.btrace/delta.exp
1497 * gdb.btrace/dlopen.exp
1498 * gdb.btrace/enable.exp
1499 * gdb.btrace/exception.exp
1500 * gdb.btrace/function_call_history.exp
1501 * gdb.btrace/gcore.exp
1502 * gdb.btrace/instruction_history.exp
1503 * gdb.btrace/nohist.exp
1504 * gdb.btrace/reconnect.exp
1505 * gdb.btrace/record_goto-step.exp
1506 * gdb.btrace/record_goto.exp
1507 * gdb.btrace/rn-dl-bind.exp
1508 * gdb.btrace/segv.exp
1509 * gdb.btrace/step.exp
1510 * gdb.btrace/stepi.exp
1511 * gdb.btrace/tailcall-only.exp
1512 * gdb.btrace/tailcall.exp
1513 * gdb.btrace/tsx.exp
1514 * gdb.btrace/unknown_functions.exp
1515 * gdb.btrace/vdso.exp
1516 * gdb.compile/compile-ifunc.exp
1517 * gdb.compile/compile-ops.exp
1518 * gdb.compile/compile-print.exp
1519 * gdb.compile/compile-setjmp.exp
1520 * gdb.cp/abstract-origin.exp
1521 * gdb.cp/ambiguous.exp
1522 * gdb.cp/annota2.exp
1523 * gdb.cp/annota3.exp
1524 * gdb.cp/anon-ns.exp
1525 * gdb.cp/anon-struct.exp
1526 * gdb.cp/anon-union.exp
1527 * gdb.cp/arg-reference.exp
1528 * gdb.cp/baseenum.exp
1529 * gdb.cp/bool.exp
1530 * gdb.cp/breakpoint.exp
1531 * gdb.cp/bs15503.exp
1532 * gdb.cp/call-c.exp
1533 * gdb.cp/casts.exp
1534 * gdb.cp/chained-calls.exp
1535 * gdb.cp/class2.exp
1536 * gdb.cp/classes.exp
1537 * gdb.cp/cmpd-minsyms.exp
1538 * gdb.cp/converts.exp
1539 * gdb.cp/cp-relocate.exp
1540 * gdb.cp/cpcompletion.exp
1541 * gdb.cp/cpexprs.exp
1542 * gdb.cp/cplabel.exp
1543 * gdb.cp/cplusfuncs.exp
1544 * gdb.cp/cpsizeof.exp
1545 * gdb.cp/ctti.exp
1546 * gdb.cp/derivation.exp
1547 * gdb.cp/destrprint.exp
1548 * gdb.cp/dispcxx.exp
1549 * gdb.cp/enum-class.exp
1550 * gdb.cp/exception.exp
1551 * gdb.cp/exceptprint.exp
1552 * gdb.cp/expand-psymtabs-cxx.exp
1553 * gdb.cp/expand-sals.exp
1554 * gdb.cp/extern-c.exp
1555 * gdb.cp/filename.exp
1556 * gdb.cp/formatted-ref.exp
1557 * gdb.cp/fpointer.exp
1558 * gdb.cp/gdb1355.exp
1559 * gdb.cp/gdb2495.exp
1560 * gdb.cp/hang.exp
1561 * gdb.cp/impl-this.exp
1562 * gdb.cp/infcall-dlopen.exp
1563 * gdb.cp/inherit.exp
1564 * gdb.cp/iostream.exp
1565 * gdb.cp/koenig.exp
1566 * gdb.cp/local.exp
1567 * gdb.cp/m-data.exp
1568 * gdb.cp/m-static.exp
1569 * gdb.cp/mb-ctor.exp
1570 * gdb.cp/mb-inline.exp
1571 * gdb.cp/mb-templates.exp
1572 * gdb.cp/member-name.exp
1573 * gdb.cp/member-ptr.exp
1574 * gdb.cp/meth-typedefs.exp
1575 * gdb.cp/method.exp
1576 * gdb.cp/method2.exp
1577 * gdb.cp/minsym-fallback.exp
1578 * gdb.cp/misc.exp
1579 * gdb.cp/namelessclass.exp
1580 * gdb.cp/namespace-enum.exp
1581 * gdb.cp/namespace-nested-import.exp
1582 * gdb.cp/namespace.exp
1583 * gdb.cp/nextoverthrow.exp
1584 * gdb.cp/no-dmgl-verbose.exp
1585 * gdb.cp/non-trivial-retval.exp
1586 * gdb.cp/noparam.exp
1587 * gdb.cp/nsdecl.exp
1588 * gdb.cp/nsimport.exp
1589 * gdb.cp/nsnested.exp
1590 * gdb.cp/nsnoimports.exp
1591 * gdb.cp/nsrecurs.exp
1592 * gdb.cp/nsstress.exp
1593 * gdb.cp/nsusing.exp
1594 * gdb.cp/operator.exp
1595 * gdb.cp/oranking.exp
1596 * gdb.cp/overload-const.exp
1597 * gdb.cp/overload.exp
1598 * gdb.cp/ovldbreak.exp
1599 * gdb.cp/ovsrch.exp
1600 * gdb.cp/paren-type.exp
1601 * gdb.cp/parse-lang.exp
1602 * gdb.cp/pass-by-ref.exp
1603 * gdb.cp/pr-1023.exp
1604 * gdb.cp/pr-1210.exp
1605 * gdb.cp/pr-574.exp
1606 * gdb.cp/pr10687.exp
1607 * gdb.cp/pr12028.exp
1608 * gdb.cp/pr17132.exp
1609 * gdb.cp/pr17494.exp
1610 * gdb.cp/pr9067.exp
1611 * gdb.cp/pr9167.exp
1612 * gdb.cp/pr9631.exp
1613 * gdb.cp/printmethod.exp
1614 * gdb.cp/psmang.exp
1615 * gdb.cp/psymtab-parameter.exp
1616 * gdb.cp/ptype-cv-cp.exp
1617 * gdb.cp/ptype-flags.exp
1618 * gdb.cp/re-set-overloaded.exp
1619 * gdb.cp/ref-types.exp
1620 * gdb.cp/rtti.exp
1621 * gdb.cp/scope-err.exp
1622 * gdb.cp/shadow.exp
1623 * gdb.cp/smartp.exp
1624 * gdb.cp/static-method.exp
1625 * gdb.cp/static-print-quit.exp
1626 * gdb.cp/temargs.exp
1627 * gdb.cp/templates.exp
1628 * gdb.cp/try_catch.exp
1629 * gdb.cp/typedef-operator.exp
1630 * gdb.cp/typeid.exp
1631 * gdb.cp/userdef.exp
1632 * gdb.cp/using-crash.exp
1633 * gdb.cp/var-tag.exp
1634 * gdb.cp/virtbase.exp
1635 * gdb.cp/virtfunc.exp
1636 * gdb.cp/virtfunc2.exp
1637 * gdb.cp/vla-cxx.exp
1638 * gdb.disasm/t01_mov.exp
1639 * gdb.disasm/t02_mova.exp
1640 * gdb.disasm/t03_add.exp
1641 * gdb.disasm/t04_sub.exp
1642 * gdb.disasm/t05_cmp.exp
1643 * gdb.disasm/t06_ari2.exp
1644 * gdb.disasm/t07_ari3.exp
1645 * gdb.disasm/t08_or.exp
1646 * gdb.disasm/t09_xor.exp
1647 * gdb.disasm/t10_and.exp
1648 * gdb.disasm/t11_logs.exp
1649 * gdb.disasm/t12_bit.exp
1650 * gdb.disasm/t13_otr.exp
1651 * gdb.dlang/circular.exp
1652 * gdb.dwarf2/arr-stride.exp
1653 * gdb.dwarf2/arr-subrange.exp
1654 * gdb.dwarf2/atomic-type.exp
1655 * gdb.dwarf2/bad-regnum.exp
1656 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1657 * gdb.dwarf2/callframecfa.exp
1658 * gdb.dwarf2/clztest.exp
1659 * gdb.dwarf2/corrupt.exp
1660 * gdb.dwarf2/data-loc.exp
1661 * gdb.dwarf2/dup-psym.exp
1662 * gdb.dwarf2/dw2-anon-mptr.exp
1663 * gdb.dwarf2/dw2-anonymous-func.exp
1664 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1665 * gdb.dwarf2/dw2-bad-unresolved.exp
1666 * gdb.dwarf2/dw2-basic.exp
1667 * gdb.dwarf2/dw2-canonicalize-type.exp
1668 * gdb.dwarf2/dw2-case-insensitive.exp
1669 * gdb.dwarf2/dw2-common-block.exp
1670 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1671 * gdb.dwarf2/dw2-compressed.exp
1672 * gdb.dwarf2/dw2-const.exp
1673 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1674 * gdb.dwarf2/dw2-cu-size.exp
1675 * gdb.dwarf2/dw2-dup-frame.exp
1676 * gdb.dwarf2/dw2-entry-value.exp
1677 * gdb.dwarf2/dw2-icycle.exp
1678 * gdb.dwarf2/dw2-ifort-parameter.exp
1679 * gdb.dwarf2/dw2-inline-break.exp
1680 * gdb.dwarf2/dw2-inline-param.exp
1681 * gdb.dwarf2/dw2-intercu.exp
1682 * gdb.dwarf2/dw2-intermix.exp
1683 * gdb.dwarf2/dw2-lexical-block-bare.exp
1684 * gdb.dwarf2/dw2-linkage-name-trust.exp
1685 * gdb.dwarf2/dw2-minsym-in-cu.exp
1686 * gdb.dwarf2/dw2-noloc.exp
1687 * gdb.dwarf2/dw2-op-call.exp
1688 * gdb.dwarf2/dw2-op-out-param.exp
1689 * gdb.dwarf2/dw2-opt-structptr.exp
1690 * gdb.dwarf2/dw2-param-error.exp
1691 * gdb.dwarf2/dw2-producer.exp
1692 * gdb.dwarf2/dw2-ranges-base.exp
1693 * gdb.dwarf2/dw2-ref-missing-frame.exp
1694 * gdb.dwarf2/dw2-reg-undefined.exp
1695 * gdb.dwarf2/dw2-regno-invalid.exp
1696 * gdb.dwarf2/dw2-restore.exp
1697 * gdb.dwarf2/dw2-restrict.exp
1698 * gdb.dwarf2/dw2-single-line-discriminators.exp
1699 * gdb.dwarf2/dw2-strp.exp
1700 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1701 * gdb.dwarf2/dw2-unresolved.exp
1702 * gdb.dwarf2/dw2-var-zero-addr.exp
1703 * gdb.dwarf2/dw4-sig-types.exp
1704 * gdb.dwarf2/dwz.exp
1705 * gdb.dwarf2/dynarr-ptr.exp
1706 * gdb.dwarf2/enum-type.exp
1707 * gdb.dwarf2/gdb-index.exp
1708 * gdb.dwarf2/implptr-64bit.exp
1709 * gdb.dwarf2/implptr-optimized-out.exp
1710 * gdb.dwarf2/implptr.exp
1711 * gdb.dwarf2/implref-array.exp
1712 * gdb.dwarf2/implref-const.exp
1713 * gdb.dwarf2/implref-global.exp
1714 * gdb.dwarf2/implref-struct.exp
1715 * gdb.dwarf2/mac-fileno.exp
1716 * gdb.dwarf2/main-subprogram.exp
1717 * gdb.dwarf2/member-ptr-forwardref.exp
1718 * gdb.dwarf2/method-ptr.exp
1719 * gdb.dwarf2/missing-sig-type.exp
1720 * gdb.dwarf2/nonvar-access.exp
1721 * gdb.dwarf2/opaque-type-lookup.exp
1722 * gdb.dwarf2/pieces-optimized-out.exp
1723 * gdb.dwarf2/pieces.exp
1724 * gdb.dwarf2/pr10770.exp
1725 * gdb.dwarf2/pr13961.exp
1726 * gdb.dwarf2/staticvirtual.exp
1727 * gdb.dwarf2/subrange.exp
1728 * gdb.dwarf2/symtab-producer.exp
1729 * gdb.dwarf2/trace-crash.exp
1730 * gdb.dwarf2/typeddwarf.exp
1731 * gdb.dwarf2/valop.exp
1732 * gdb.dwarf2/watch-notconst.exp
1733 * gdb.fortran/array-element.exp
1734 * gdb.fortran/charset.exp
1735 * gdb.fortran/common-block.exp
1736 * gdb.fortran/complex.exp
1737 * gdb.fortran/derived-type-function.exp
1738 * gdb.fortran/derived-type.exp
1739 * gdb.fortran/logical.exp
1740 * gdb.fortran/module.exp
1741 * gdb.fortran/multi-dim.exp
1742 * gdb.fortran/nested-funcs.exp
1743 * gdb.fortran/print-formatted.exp
1744 * gdb.fortran/subarray.exp
1745 * gdb.fortran/vla-alloc-assoc.exp
1746 * gdb.fortran/vla-datatypes.exp
1747 * gdb.fortran/vla-history.exp
1748 * gdb.fortran/vla-ptr-info.exp
1749 * gdb.fortran/vla-ptype-sub.exp
1750 * gdb.fortran/vla-ptype.exp
1751 * gdb.fortran/vla-sizeof.exp
1752 * gdb.fortran/vla-type.exp
1753 * gdb.fortran/vla-value-sub-arbitrary.exp
1754 * gdb.fortran/vla-value-sub-finish.exp
1755 * gdb.fortran/vla-value-sub.exp
1756 * gdb.fortran/vla-value.exp
1757 * gdb.fortran/whatis_type.exp
1758 * gdb.go/chan.exp
1759 * gdb.go/handcall.exp
1760 * gdb.go/hello.exp
1761 * gdb.go/integers.exp
1762 * gdb.go/methods.exp
1763 * gdb.go/package.exp
1764 * gdb.go/strings.exp
1765 * gdb.go/types.exp
1766 * gdb.go/unsafe.exp
1767 * gdb.guile/scm-arch.exp
1768 * gdb.guile/scm-block.exp
1769 * gdb.guile/scm-breakpoint.exp
1770 * gdb.guile/scm-cmd.exp
1771 * gdb.guile/scm-disasm.exp
1772 * gdb.guile/scm-equal.exp
1773 * gdb.guile/scm-frame-args.exp
1774 * gdb.guile/scm-frame-inline.exp
1775 * gdb.guile/scm-frame.exp
1776 * gdb.guile/scm-iterator.exp
1777 * gdb.guile/scm-math.exp
1778 * gdb.guile/scm-objfile.exp
1779 * gdb.guile/scm-ports.exp
1780 * gdb.guile/scm-symbol.exp
1781 * gdb.guile/scm-symtab.exp
1782 * gdb.guile/scm-value-cc.exp
1783 * gdb.guile/types-module.exp
1784 * gdb.linespec/break-ask.exp
1785 * gdb.linespec/cpexplicit.exp
1786 * gdb.linespec/explicit.exp
1787 * gdb.linespec/keywords.exp
1788 * gdb.linespec/linespec.exp
1789 * gdb.linespec/ls-dollar.exp
1790 * gdb.linespec/ls-errs.exp
1791 * gdb.linespec/skip-two.exp
1792 * gdb.linespec/thread.exp
1793 * gdb.mi/mi-async.exp
1794 * gdb.mi/mi-basics.exp
1795 * gdb.mi/mi-break.exp
1796 * gdb.mi/mi-catch-load.exp
1797 * gdb.mi/mi-cli.exp
1798 * gdb.mi/mi-cmd-param-changed.exp
1799 * gdb.mi/mi-console.exp
1800 * gdb.mi/mi-detach.exp
1801 * gdb.mi/mi-disassemble.exp
1802 * gdb.mi/mi-eval.exp
1803 * gdb.mi/mi-file-transfer.exp
1804 * gdb.mi/mi-file.exp
1805 * gdb.mi/mi-fill-memory.exp
1806 * gdb.mi/mi-inheritance-syntax-error.exp
1807 * gdb.mi/mi-linespec-err-cp.exp
1808 * gdb.mi/mi-logging.exp
1809 * gdb.mi/mi-memory-changed.exp
1810 * gdb.mi/mi-read-memory.exp
1811 * gdb.mi/mi-record-changed.exp
1812 * gdb.mi/mi-reg-undefined.exp
1813 * gdb.mi/mi-regs.exp
1814 * gdb.mi/mi-return.exp
1815 * gdb.mi/mi-reverse.exp
1816 * gdb.mi/mi-simplerun.exp
1817 * gdb.mi/mi-solib.exp
1818 * gdb.mi/mi-stack.exp
1819 * gdb.mi/mi-stepi.exp
1820 * gdb.mi/mi-syn-frame.exp
1821 * gdb.mi/mi-until.exp
1822 * gdb.mi/mi-var-block.exp
1823 * gdb.mi/mi-var-child.exp
1824 * gdb.mi/mi-var-cmd.exp
1825 * gdb.mi/mi-var-cp.exp
1826 * gdb.mi/mi-var-display.exp
1827 * gdb.mi/mi-var-invalidate.exp
1828 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1829 * gdb.mi/mi-vla-fortran.exp
1830 * gdb.mi/mi-watch.exp
1831 * gdb.mi/mi2-var-child.exp
1832 * gdb.mi/user-selected-context-sync.exp
1833 * gdb.modula2/unbounded-array.exp
1834 * gdb.multi/dummy-frame-restore.exp
1835 * gdb.multi/multi-arch-exec.exp
1836 * gdb.multi/multi-arch.exp
1837 * gdb.multi/tids.exp
1838 * gdb.multi/watchpoint-multi.exp
1839 * gdb.opencl/callfuncs.exp
1840 * gdb.opencl/convs_casts.exp
1841 * gdb.opencl/datatypes.exp
1842 * gdb.opencl/operators.exp
1843 * gdb.opencl/vec_comps.exp
1844 * gdb.opt/clobbered-registers-O2.exp
1845 * gdb.opt/inline-break.exp
1846 * gdb.opt/inline-bt.exp
1847 * gdb.opt/inline-cmds.exp
1848 * gdb.opt/inline-locals.exp
1849 * gdb.pascal/case-insensitive-symbols.exp
1850 * gdb.pascal/floats.exp
1851 * gdb.pascal/gdb11492.exp
1852 * gdb.python/lib-types.exp
1853 * gdb.python/py-arch.exp
1854 * gdb.python/py-as-string.exp
1855 * gdb.python/py-bad-printers.exp
1856 * gdb.python/py-block.exp
1857 * gdb.python/py-breakpoint-create-fail.exp
1858 * gdb.python/py-breakpoint.exp
1859 * gdb.python/py-caller-is.exp
1860 * gdb.python/py-cmd.exp
1861 * gdb.python/py-explore-cc.exp
1862 * gdb.python/py-explore.exp
1863 * gdb.python/py-finish-breakpoint.exp
1864 * gdb.python/py-finish-breakpoint2.exp
1865 * gdb.python/py-frame-args.exp
1866 * gdb.python/py-frame-inline.exp
1867 * gdb.python/py-frame.exp
1868 * gdb.python/py-framefilter-mi.exp
1869 * gdb.python/py-infthread.exp
1870 * gdb.python/py-lazy-string.exp
1871 * gdb.python/py-linetable.exp
1872 * gdb.python/py-mi-events.exp
1873 * gdb.python/py-mi-objfile.exp
1874 * gdb.python/py-mi.exp
1875 * gdb.python/py-objfile.exp
1876 * gdb.python/py-pp-integral.exp
1877 * gdb.python/py-pp-maint.exp
1878 * gdb.python/py-pp-re-notag.exp
1879 * gdb.python/py-pp-registration.exp
1880 * gdb.python/py-recurse-unwind.exp
1881 * gdb.python/py-strfns.exp
1882 * gdb.python/py-symbol.exp
1883 * gdb.python/py-symtab.exp
1884 * gdb.python/py-sync-interp.exp
1885 * gdb.python/py-typeprint.exp
1886 * gdb.python/py-unwind-maint.exp
1887 * gdb.python/py-unwind.exp
1888 * gdb.python/py-value-cc.exp
1889 * gdb.python/py-xmethods.exp
1890 * gdb.reverse/amd64-tailcall-reverse.exp
1891 * gdb.reverse/break-precsave.exp
1892 * gdb.reverse/break-reverse.exp
1893 * gdb.reverse/consecutive-precsave.exp
1894 * gdb.reverse/consecutive-reverse.exp
1895 * gdb.reverse/finish-precsave.exp
1896 * gdb.reverse/finish-reverse-bkpt.exp
1897 * gdb.reverse/finish-reverse.exp
1898 * gdb.reverse/fstatat-reverse.exp
1899 * gdb.reverse/getresuid-reverse.exp
1900 * gdb.reverse/i386-precsave.exp
1901 * gdb.reverse/i386-reverse.exp
1902 * gdb.reverse/i386-sse-reverse.exp
1903 * gdb.reverse/i387-env-reverse.exp
1904 * gdb.reverse/i387-stack-reverse.exp
1905 * gdb.reverse/insn-reverse.exp
1906 * gdb.reverse/machinestate-precsave.exp
1907 * gdb.reverse/machinestate.exp
1908 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1909 * gdb.reverse/pipe-reverse.exp
1910 * gdb.reverse/readv-reverse.exp
1911 * gdb.reverse/recvmsg-reverse.exp
1912 * gdb.reverse/rerun-prec.exp
1913 * gdb.reverse/s390-mvcle.exp
1914 * gdb.reverse/step-precsave.exp
1915 * gdb.reverse/step-reverse.exp
1916 * gdb.reverse/time-reverse.exp
1917 * gdb.reverse/until-precsave.exp
1918 * gdb.reverse/until-reverse.exp
1919 * gdb.reverse/waitpid-reverse.exp
1920 * gdb.reverse/watch-precsave.exp
1921 * gdb.reverse/watch-reverse.exp
1922 * gdb.rust/generics.exp
1923 * gdb.rust/methods.exp
1924 * gdb.rust/modules.exp
1925 * gdb.rust/simple.exp
1926 * gdb.server/connect-with-no-symbol-file.exp
1927 * gdb.server/ext-attach.exp
1928 * gdb.server/ext-restart.exp
1929 * gdb.server/ext-wrapper.exp
1930 * gdb.server/file-transfer.exp
1931 * gdb.server/server-exec-info.exp
1932 * gdb.server/server-kill.exp
1933 * gdb.server/server-mon.exp
1934 * gdb.server/wrapper.exp
1935 * gdb.stabs/exclfwd.exp
1936 * gdb.stabs/gdb11479.exp
1937 * gdb.threads/clone-new-thread-event.exp
1938 * gdb.threads/corethreads.exp
1939 * gdb.threads/current-lwp-dead.exp
1940 * gdb.threads/dlopen-libpthread.exp
1941 * gdb.threads/gcore-thread.exp
1942 * gdb.threads/sigstep-threads.exp
1943 * gdb.threads/watchpoint-fork.exp
1944 * gdb.trace/actions-changed.exp
1945 * gdb.trace/backtrace.exp
1946 * gdb.trace/change-loc.exp
1947 * gdb.trace/circ.exp
1948 * gdb.trace/collection.exp
1949 * gdb.trace/disconnected-tracing.exp
1950 * gdb.trace/ftrace.exp
1951 * gdb.trace/mi-trace-frame-collected.exp
1952 * gdb.trace/mi-trace-unavailable.exp
1953 * gdb.trace/mi-traceframe-changed.exp
1954 * gdb.trace/mi-tsv-changed.exp
1955 * gdb.trace/no-attach-trace.exp
1956 * gdb.trace/passc-dyn.exp
1957 * gdb.trace/qtro.exp
1958 * gdb.trace/range-stepping.exp
1959 * gdb.trace/read-memory.exp
1960 * gdb.trace/save-trace.exp
1961 * gdb.trace/signal.exp
1962 * gdb.trace/status-stop.exp
1963 * gdb.trace/tfile.exp
1964 * gdb.trace/trace-break.exp
1965 * gdb.trace/trace-buffer-size.exp
1966 * gdb.trace/trace-condition.exp
1967 * gdb.trace/tracefile-pseudo-reg.exp
1968 * gdb.trace/tstatus.exp
1969 * gdb.trace/unavailable.exp
1970 * gdb.trace/while-dyn.exp
1971 * gdb.trace/while-stepping.exp
1972
34c41c68
DE
19732016-12-22 Doug Evans <xdje42@gmail.com>
1974
1975 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1976 and msymbols.
1977
16e69324
YQ
19782016-12-19 Yao Qi <yao.qi@linaro.org>
1979
1980 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1981 (test_with_self): Don't call do_steps_and_nexts, and remove
1982 code about stepping into xmalloc.
1983
f94f411b
YQ
19842016-12-09 Yao Qi <yao.qi@linaro.org>
1985
1986 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1987
19882016-12-09 Yao Qi <yao.qi@linaro.org>
1989
1990 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1991
f1b5deee
PA
19922016-12-09 Pedro Alves <palves@redhat.com>
1993
1994 * gdb.base/all-architectures-0.exp: New file.
1995 * gdb.base/all-architectures-1.exp: New file.
1996 * gdb.base/all-architectures-2.exp: New file.
1997 * gdb.base/all-architectures-3.exp: New file.
1998 * gdb.base/all-architectures-4.exp: New file.
1999 * gdb.base/all-architectures-5.exp: New file.
2000 * gdb.base/all-architectures-6.exp: New file.
2001 * gdb.base/all-architectures-7.exp: New file.
2002 * gdb.base/all-architectures.exp.in: New file.
2003
364ca42e
YQ
20042016-12-09 Yao Qi <yao.qi@linaro.org>
2005
2006 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
2007
107c2d62
LM
20082016-12-02 Luis Machado <lgustavo@codesourcery.com>
2009
2010 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
2011 possible.
2012 Remove useless pattern-matching code.
2013
df3ee9ca
PA
20142016-12-02 Pedro Alves <palves@redhat.com>
2015
2016 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
2017 procedure.
2018 (top level): Call it.
2019
ec835369
PA
20202016-12-02 Pedro Alves <palves@redhat.com>
2021
2022 * gdb.base/commands.exp (user_defined_command_args_stack_test):
2023 New procedure.
2024 (top level): Call it.
2025
01770bbd
PA
20262016-12-02 Pedro Alves <palves@redhat.com>
2027
2028 PR cli/20559
2029 * gdb.base/commands.exp (user_defined_command_args_eval): New
2030 procedure.
2031 (top level): Call it.
2032
008459ea
LM
20332016-12-02 Luis Machado <lgustavo@codesourcery.com>
2034
2035 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
2036 timeout handling.
2037
0c1b455e
TT
20382016-12-02 Tom Tromey <tom@tromey.com>
2039
2040 * gdb.dwarf2/main-subprogram.c: New file.
2041 * gdb.dwarf2/main-subprogram.exp: New file.
2042
018572b8
LM
20432016-12-01 Luis Machado <lgustavo@codesourcery.com>
2044
2045 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
2046 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
2047 gdb_test_no_output for a couple of cases.
2048 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
2049
84c93cd5
LM
20502016-12-01 Luis Machado <lgustavo@codesourcery.com>
2051
2052 Fix test names and standardize compilation error messages throughout
2053 the following files:
2054
2055 * gdb.ada/start.exp
2056 * gdb.arch/alpha-step.exp
2057 * gdb.arch/e500-prologue.exp
2058 * gdb.arch/ftrace-insn-reloc.exp
2059 * gdb.arch/gdb1291.exp
2060 * gdb.arch/gdb1431.exp
2061 * gdb.arch/gdb1558.exp
2062 * gdb.arch/i386-dr3-watch.exp
2063 * gdb.arch/i386-sse-stack-align.exp
2064 * gdb.arch/ia64-breakpoint-shadow.exp
2065 * gdb.arch/pa-nullify.exp
2066 * gdb.arch/powerpc-aix-prologue.exp
2067 * gdb.arch/thumb-bx-pc.exp
2068 * gdb.base/annota1.exp
2069 * gdb.base/annota3.exp
2070 * gdb.base/arrayidx.exp
2071 * gdb.base/assign.exp
2072 * gdb.base/attach.exp
2073 * gdb.base/auxv.exp
2074 * gdb.base/bang.exp
2075 * gdb.base/bfp-test.exp
2076 * gdb.base/bigcore.exp
2077 * gdb.base/bitfields2.exp
2078 * gdb.base/break-fun-addr.exp
2079 * gdb.base/break-probes.exp
2080 * gdb.base/call-rt-st.exp
2081 * gdb.base/callexit.exp
2082 * gdb.base/catch-fork-kill.exp
2083 * gdb.base/charset.exp
2084 * gdb.base/checkpoint.exp
2085 * gdb.base/comprdebug.exp
2086 * gdb.base/constvars.exp
2087 * gdb.base/coredump-filter.exp
2088 * gdb.base/cursal.exp
2089 * gdb.base/cvexpr.exp
2090 * gdb.base/detach.exp
2091 * gdb.base/display.exp
2092 * gdb.base/dmsym.exp
2093 * gdb.base/dprintf-pending.exp
2094 * gdb.base/dso2dso.exp
2095 * gdb.base/dtrace-probe.exp
2096 * gdb.base/dump.exp
2097 * gdb.base/enum_cond.exp
2098 * gdb.base/exe-lock.exp
2099 * gdb.base/exec-invalid-sysroot.exp
2100 * gdb.base/execl-update-breakpoints.exp
2101 * gdb.base/exprs.exp
2102 * gdb.base/fileio.exp
2103 * gdb.base/find.exp
2104 * gdb.base/finish.exp
2105 * gdb.base/fixsection.exp
2106 * gdb.base/foll-vfork.exp
2107 * gdb.base/frame-args.exp
2108 * gdb.base/gcore.exp
2109 * gdb.base/gdb1250.exp
2110 * gdb.base/global-var-nested-by-dso.exp
2111 * gdb.base/gnu-ifunc.exp
2112 * gdb.base/hashline1.exp
2113 * gdb.base/hashline2.exp
2114 * gdb.base/hashline3.exp
2115 * gdb.base/hbreak-in-shr-unsupported.exp
2116 * gdb.base/huge.exp
2117 * gdb.base/infcall-input.exp
2118 * gdb.base/info-fun.exp
2119 * gdb.base/info-shared.exp
2120 * gdb.base/jit-simple.exp
2121 * gdb.base/jit-so.exp
2122 * gdb.base/jit.exp
2123 * gdb.base/jump.exp
2124 * gdb.base/label.exp
2125 * gdb.base/lineinc.exp
2126 * gdb.base/logical.exp
2127 * gdb.base/longjmp.exp
2128 * gdb.base/macscp.exp
2129 * gdb.base/miscexprs.exp
2130 * gdb.base/new-ui-echo.exp
2131 * gdb.base/new-ui-pending-input.exp
2132 * gdb.base/new-ui.exp
2133 * gdb.base/nodebug.exp
2134 * gdb.base/nofield.exp
2135 * gdb.base/offsets.exp
2136 * gdb.base/overlays.exp
2137 * gdb.base/pending.exp
2138 * gdb.base/pointers.exp
2139 * gdb.base/pr11022.exp
2140 * gdb.base/printcmds.exp
2141 * gdb.base/prologue.exp
2142 * gdb.base/ptr-typedef.exp
2143 * gdb.base/realname-expand.exp
2144 * gdb.base/relativedebug.exp
2145 * gdb.base/relocate.exp
2146 * gdb.base/remote.exp
2147 * gdb.base/reread.exp
2148 * gdb.base/return2.exp
2149 * gdb.base/savedregs.exp
2150 * gdb.base/sep.exp
2151 * gdb.base/sepdebug.exp
2152 * gdb.base/sepsymtab.exp
2153 * gdb.base/set-inferior-tty.exp
2154 * gdb.base/setshow.exp
2155 * gdb.base/shlib-call.exp
2156 * gdb.base/sigaltstack.exp
2157 * gdb.base/siginfo-addr.exp
2158 * gdb.base/signals.exp
2159 * gdb.base/signull.exp
2160 * gdb.base/sigrepeat.exp
2161 * gdb.base/so-impl-ld.exp
2162 * gdb.base/solib-display.exp
2163 * gdb.base/solib-overlap.exp
2164 * gdb.base/solib-search.exp
2165 * gdb.base/solib-symbol.exp
2166 * gdb.base/structs.exp
2167 * gdb.base/structs2.exp
2168 * gdb.base/symtab-search-order.exp
2169 * gdb.base/twice.exp
2170 * gdb.base/unload.exp
2171 * gdb.base/varargs.exp
2172 * gdb.base/watchpoint-solib.exp
2173 * gdb.base/watchpoint.exp
2174 * gdb.base/whatis.exp
2175 * gdb.base/wrong_frame_bt_full.exp
2176 * gdb.btrace/dlopen.exp
2177 * gdb.cell/ea-standalone.exp
2178 * gdb.cell/ea-test.exp
2179 * gdb.cp/dispcxx.exp
2180 * gdb.cp/gdb2384.exp
2181 * gdb.cp/method2.exp
2182 * gdb.cp/nextoverthrow.exp
2183 * gdb.cp/pr10728.exp
2184 * gdb.disasm/am33.exp
2185 * gdb.disasm/h8300s.exp
2186 * gdb.disasm/mn10300.exp
2187 * gdb.disasm/sh3.exp
2188 * gdb.dwarf2/dw2-dir-file-name.exp
2189 * gdb.fortran/complex.exp
2190 * gdb.fortran/library-module.exp
2191 * gdb.guile/scm-pretty-print.exp
2192 * gdb.guile/scm-symbol.exp
2193 * gdb.guile/scm-type.exp
2194 * gdb.guile/scm-value.exp
2195 * gdb.linespec/linespec.exp
2196 * gdb.mi/gdb701.exp
2197 * gdb.mi/gdb792.exp
2198 * gdb.mi/mi-breakpoint-changed.exp
2199 * gdb.mi/mi-dprintf-pending.exp
2200 * gdb.mi/mi-dprintf.exp
2201 * gdb.mi/mi-exit-code.exp
2202 * gdb.mi/mi-pending.exp
2203 * gdb.mi/mi-solib.exp
2204 * gdb.mi/new-ui-mi-sync.exp
2205 * gdb.mi/pr11022.exp
2206 * gdb.mi/user-selected-context-sync.exp
2207 * gdb.opt/solib-intra-step.exp
2208 * gdb.python/py-events.exp
2209 * gdb.python/py-finish-breakpoint.exp
2210 * gdb.python/py-mi.exp
2211 * gdb.python/py-prettyprint.exp
2212 * gdb.python/py-shared.exp
2213 * gdb.python/py-symbol.exp
2214 * gdb.python/py-template.exp
2215 * gdb.python/py-type.exp
2216 * gdb.python/py-value.exp
2217 * gdb.reverse/solib-precsave.exp
2218 * gdb.reverse/solib-reverse.exp
2219 * gdb.server/solib-list.exp
2220 * gdb.stabs/weird.exp
2221 * gdb.threads/reconnect-signal.exp
2222 * gdb.threads/stepi-random-signal.exp
2223 * gdb.trace/actions.exp
2224 * gdb.trace/ax.exp
2225 * gdb.trace/backtrace.exp
2226 * gdb.trace/change-loc.exp
2227 * gdb.trace/deltrace.exp
2228 * gdb.trace/ftrace-lock.exp
2229 * gdb.trace/ftrace.exp
2230 * gdb.trace/infotrace.exp
2231 * gdb.trace/mi-tracepoint-changed.exp
2232 * gdb.trace/packetlen.exp
2233 * gdb.trace/passcount.exp
2234 * gdb.trace/pending.exp
2235 * gdb.trace/range-stepping.exp
2236 * gdb.trace/report.exp
2237 * gdb.trace/stap-trace.exp
2238 * gdb.trace/tfind.exp
2239 * gdb.trace/trace-break.exp
2240 * gdb.trace/trace-condition.exp
2241 * gdb.trace/trace-enable-disable.exp
2242 * gdb.trace/trace-mt.exp
2243 * gdb.trace/tracecmd.exp
2244 * gdb.trace/tspeed.exp
2245 * gdb.trace/tsv.exp
2246 * lib/perftest.exp
2247
fb9feb35
LM
22482016-12-01 Luis Machado <lgustavo@codesourcery.com>
2249
2250 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
2251 with gdb_test_no_output.
2252 Use command as test name.
2253
cd2ddb6c
LM
22542016-12-01 Luis Machado <lgustavo@codesourcery.com>
2255
2256 Fix test names starting with uppercase throughout the files.
2257
2258 * gdb.ada/assign_1.exp
2259 * gdb.ada/boolean_expr.exp
2260 * gdb.base/arrayidx.exp
2261 * gdb.base/del.exp
2262 * gdb.base/gcore-buffer-overflow.exp
2263 * gdb.base/testenv.exp
2264 * gdb.compile/compile.exp
2265 * gdb.python/py-framefilter-invalidarg.exp
2266 * gdb.python/py-framefilter.exp
2267
bb95117e
LM
22682016-12-01 Luis Machado <lgustavo@codesourcery.com>
2269
2270 Fix test names starting with uppercase throughout the files.
2271
2272 * gdb.ada/array_return.exp
2273 * gdb.ada/expr_delims.exp
2274 * gdb.ada/mi_dyn_arr.exp
2275 * gdb.ada/mi_interface.exp
2276 * gdb.ada/mi_var_array.exp
2277 * gdb.ada/watch_arg.exp
2278 * gdb.arch/alpha-step.exp
2279 * gdb.arch/altivec-regs.exp
2280 * gdb.arch/e500-regs.exp
2281 * gdb.arch/powerpc-d128-regs.exp
2282 * gdb.base/arrayidx.exp
2283 * gdb.base/break.exp
2284 * gdb.base/checkpoint.exp
2285 * gdb.base/debug-expr.exp
2286 * gdb.base/dmsym.exp
2287 * gdb.base/radix.exp
2288 * gdb.base/sepdebug.exp
2289 * gdb.base/testenv.exp
2290 * gdb.base/watch_thread_num.exp
2291 * gdb.base/watchpoint-cond-gone.exp
2292 * gdb.cell/break.exp
2293 * gdb.cell/ea-cache.exp
2294 * gdb.compile/compile.exp
2295 * gdb.cp/gdb2495.exp
2296 * gdb.gdb/selftest.exp
2297 * gdb.gdb/xfullpath.exp
2298 * gdb.go/hello.exp
2299 * gdb.go/integers.exp
2300 * gdb.objc/basicclass.exp
2301 * gdb.pascal/hello.exp
2302 * gdb.pascal/integers.exp
2303 * gdb.python/py-breakpoint.exp
2304 * gdb.python/py-cmd.exp
2305 * gdb.python/py-linetable.exp
2306 * gdb.python/py-xmethods.exp
2307 * gdb.python/python.exp
2308 * gdb.reverse/consecutive-precsave.exp
2309 * gdb.reverse/finish-precsave.exp
2310 * gdb.reverse/i386-precsave.exp
2311 * gdb.reverse/machinestate-precsave.exp
2312 * gdb.reverse/sigall-precsave.exp
2313 * gdb.reverse/solib-precsave.exp
2314 * gdb.reverse/step-precsave.exp
2315 * gdb.reverse/until-precsave.exp
2316 * gdb.reverse/watch-precsave.exp
2317 * gdb.threads/leader-exit.exp
2318 * gdb.threads/pthreads.exp
2319 * gdb.threads/wp-replication.exp
2320 * gdb.trace/actions.exp
2321 * gdb.trace/mi-tsv-changed.exp
2322 * gdb.trace/tsv.exp
2323
de97fdd4
LM
23242016-12-01 Luis Machado <lgustavo@codesourcery.com>
2325
2326 Fix test names starting with uppercase throughout the files.
2327
2328 * gdb.arch/i386-bp_permanent.exp
2329 * gdb.arch/i386-gnu-cfi.exp
2330 * gdb.base/disasm-end-cu.exp
2331 * gdb.base/macscp.exp
2332 * gdb.base/pending.exp
2333 * gdb.base/watch_thread_num.exp
2334 * gdb.cp/exception.exp
2335 * gdb.cp/gdb2495.exp
2336 * gdb.cp/local.exp
2337 * gdb.python/py-evsignal.exp
2338 * gdb.python/python.exp
2339 * gdb.trace/tracecmd.exp
2340
9f058c10
LM
23412016-12-01 Luis Machado <lgustavo@codesourcery.com>
2342
2343 Fix test names starting with uppercase throughout the files.
2344
2345 * gdb.base/charset.exp
2346 * gdb.base/eval.exp
2347 * gdb.base/multi-forks.exp
2348 * gdb.guile/scm-progspace.exp
2349 * gdb.opencl/datatypes.exp
2350 * gdb.python/py-block.exp
2351 * gdb.python/py-function.exp
2352 * gdb.python/py-symbol.exp
2353 * gdb.python/py-symtab.exp
2354 * gdb.python/py-xmethods.exp
2355 * gdb.reverse/break-precsave.exp
2356 * gdb.reverse/break-reverse.exp
2357 * gdb.reverse/consecutive-precsave.exp
2358 * gdb.reverse/consecutive-reverse.exp
2359 * gdb.reverse/finish-precsave.exp
2360 * gdb.reverse/finish-reverse-bkpt.exp
2361 * gdb.reverse/finish-reverse.exp
2362 * gdb.reverse/fstatat-reverse.exp
2363 * gdb.reverse/getresuid-reverse.exp
2364 * gdb.reverse/i386-precsave.exp
2365 * gdb.reverse/i386-reverse.exp
2366 * gdb.reverse/i386-sse-reverse.exp
2367 * gdb.reverse/i387-stack-reverse.exp
2368 * gdb.reverse/insn-reverse.exp
2369 * gdb.reverse/machinestate-precsave.exp
2370 * gdb.reverse/machinestate.exp
2371 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2372 * gdb.reverse/pipe-reverse.exp
2373 * gdb.reverse/readv-reverse.exp
2374 * gdb.reverse/recvmsg-reverse.exp
2375 * gdb.reverse/rerun-prec.exp
2376 * gdb.reverse/s390-mvcle.exp
2377 * gdb.reverse/sigall-precsave.exp
2378 * gdb.reverse/sigall-reverse.exp
2379 * gdb.reverse/solib-precsave.exp
2380 * gdb.reverse/solib-reverse.exp
2381 * gdb.reverse/step-precsave.exp
2382 * gdb.reverse/step-reverse.exp
2383 * gdb.reverse/time-reverse.exp
2384 * gdb.reverse/until-precsave.exp
2385 * gdb.reverse/until-reverse.exp
2386 * gdb.reverse/waitpid-reverse.exp
2387 * gdb.reverse/watch-precsave.exp
2388 * gdb.reverse/watch-reverse.exp
2389
cdc7edd7
LM
23902016-12-01 Luis Machado <lgustavo@codesourcery.com>
2391
2392 Fix test names starting with uppercase throughout the files.
2393
2394 * gdb.arch/i386-mpx-simple_segv.exp
2395 * gdb.arch/i386-mpx.exp
2396 * gdb.arch/i386-permbkpt.exp
2397 * gdb.arch/pa-nullify.exp
2398 * gdb.arch/powerpc-d128-regs.exp
2399 * gdb.arch/vsx-regs.exp
2400 * gdb.base/bfp-test.exp
2401 * gdb.base/break.exp
2402 * gdb.base/breakpoint-shadow.exp
2403 * gdb.base/callfuncs.exp
2404 * gdb.base/charset.exp
2405 * gdb.base/commands.exp
2406 * gdb.base/completion.exp
2407 * gdb.base/dfp-test.exp
2408 * gdb.base/echo.exp
2409 * gdb.base/ending-run.exp
2410 * gdb.base/eval.exp
2411 * gdb.base/expand-psymtabs.exp
2412 * gdb.base/float128.exp
2413 * gdb.base/floatn.exp
2414 * gdb.base/foll-exec-mode.exp
2415 * gdb.base/gdb1056.exp
2416 * gdb.base/gdb11531.exp
2417 * gdb.base/kill-after-signal.exp
2418 * gdb.base/multi-forks.exp
2419 * gdb.base/overlays.exp
2420 * gdb.base/pending.exp
2421 * gdb.base/sepdebug.exp
2422 * gdb.base/testenv.exp
2423 * gdb.base/valgrind-db-attach.exp
2424 * gdb.base/watch_thread_num.exp
2425 * gdb.base/watchpoint-cond-gone.exp
2426 * gdb.base/watchpoint.exp
2427 * gdb.base/watchpoints.exp
2428 * gdb.cp/arg-reference.exp
2429 * gdb.cp/baseenum.exp
2430 * gdb.cp/operator.exp
2431 * gdb.cp/shadow.exp
2432 * gdb.dwarf2/dw2-op-out-param.exp
2433 * gdb.dwarf2/dw2-reg-undefined.exp
2434 * gdb.go/chan.exp
2435 * gdb.go/hello.exp
2436 * gdb.go/integers.exp
2437 * gdb.go/methods.exp
2438 * gdb.go/package.exp
2439 * gdb.guile/scm-parameter.exp
2440 * gdb.guile/scm-progspace.exp
2441 * gdb.guile/scm-value.exp
2442 * gdb.mi/mi-pending.exp
2443 * gdb.mi/user-selected-context-sync.exp
2444 * gdb.multi/multi-attach.exp
2445 * gdb.multi/tids.exp
2446 * gdb.opt/clobbered-registers-O2.exp
2447 * gdb.pascal/floats.exp
2448 * gdb.pascal/integers.exp
2449 * gdb.python/py-block.exp
2450 * gdb.python/py-events.exp
2451 * gdb.python/py-parameter.exp
2452 * gdb.python/py-symbol.exp
2453 * gdb.python/py-symtab.exp
2454 * gdb.python/py-type.exp
2455 * gdb.python/py-value.exp
2456 * gdb.python/py-xmethods.exp
2457 * gdb.python/python.exp
2458 * gdb.reverse/break-precsave.exp
2459 * gdb.reverse/consecutive-precsave.exp
2460 * gdb.reverse/finish-precsave.exp
2461 * gdb.reverse/i386-precsave.exp
2462 * gdb.reverse/machinestate-precsave.exp
2463 * gdb.reverse/sigall-precsave.exp
2464 * gdb.reverse/solib-precsave.exp
2465 * gdb.reverse/step-precsave.exp
2466 * gdb.reverse/until-precsave.exp
2467 * gdb.reverse/watch-precsave.exp
2468 * gdb.server/ext-attach.exp
2469 * gdb.server/ext-restart.exp
2470 * gdb.server/ext-run.exp
2471 * gdb.server/ext-wrapper.exp
2472 * gdb.stabs/gdb11479.exp
2473 * gdb.stabs/weird.exp
2474 * gdb.threads/attach-many-short-lived-threads.exp
2475 * gdb.threads/kill.exp
2476 * gdb.threads/watchpoint-fork.exp
2477
bc6c7af4
LM
24782016-12-01 Luis Machado <lgustavo@codesourcery.com>
2479
2480 Fix test names starting with uppercase throughout all the files below.
2481
2482 * gdb.ada/array_return.exp
2483 * gdb.ada/catch_ex.exp
2484 * gdb.ada/info_exc.exp
2485 * gdb.ada/mi_catch_ex.exp
2486 * gdb.ada/mi_dyn_arr.exp
2487 * gdb.ada/mi_ex_cond.exp
2488 * gdb.ada/mi_exc_info.exp
2489 * gdb.ada/mi_interface.exp
2490 * gdb.ada/mi_task_arg.exp
2491 * gdb.ada/mi_task_info.exp
2492 * gdb.ada/mi_var_array.exp
2493 * gdb.arch/alpha-step.exp
2494 * gdb.arch/amd64-disp-step.exp
2495 * gdb.arch/arm-disp-step.exp
2496 * gdb.arch/disp-step-insn-reloc.exp
2497 * gdb.arch/e500-prologue.exp
2498 * gdb.arch/ftrace-insn-reloc.exp
2499 * gdb.arch/gdb1558.exp
2500 * gdb.arch/i386-bp_permanent.exp
2501 * gdb.arch/i386-disp-step.exp
2502 * gdb.arch/i386-float.exp
2503 * gdb.arch/i386-gnu-cfi.exp
2504 * gdb.arch/ia64-breakpoint-shadow.exp
2505 * gdb.arch/mips16-thunks.exp
2506 * gdb.arch/pa-nullify.exp
2507 * gdb.arch/powerpc-aix-prologue.exp
2508 * gdb.arch/powerpc-power.exp
2509 * gdb.arch/ppc-dfp.exp
2510 * gdb.arch/s390-tdbregs.exp
2511 * gdb.arch/spu-info.exp
2512 * gdb.arch/spu-ls.exp
2513 * gdb.arch/thumb-bx-pc.exp
2514 * gdb.base/advance.exp
2515 * gdb.base/annota-input-while-running.exp
2516 * gdb.base/arrayidx.exp
2517 * gdb.base/asmlabel.exp
2518 * gdb.base/async.exp
2519 * gdb.base/attach-wait-input.exp
2520 * gdb.base/auto-connect-native-target.exp
2521 * gdb.base/batch-preserve-term-settings.exp
2522 * gdb.base/bfp-test.exp
2523 * gdb.base/bigcore.exp
2524 * gdb.base/bp-permanent.exp
2525 * gdb.base/break-always.exp
2526 * gdb.base/break-fun-addr.exp
2527 * gdb.base/break-idempotent.exp
2528 * gdb.base/break-main-file-remove-fail.exp
2529 * gdb.base/break-probes.exp
2530 * gdb.base/break-unload-file.exp
2531 * gdb.base/break.exp
2532 * gdb.base/call-ar-st.exp
2533 * gdb.base/call-rt-st.exp
2534 * gdb.base/call-sc.exp
2535 * gdb.base/call-signal-resume.exp
2536 * gdb.base/call-strs.exp
2537 * gdb.base/callexit.exp
2538 * gdb.base/callfuncs.exp
2539 * gdb.base/catch-gdb-caused-signals.exp
2540 * gdb.base/catch-signal-siginfo-cond.exp
2541 * gdb.base/catch-syscall.exp
2542 * gdb.base/compare-sections.exp
2543 * gdb.base/cond-eval-mode.exp
2544 * gdb.base/condbreak-call-false.exp
2545 * gdb.base/consecutive-step-over.exp
2546 * gdb.base/cursal.exp
2547 * gdb.base/disabled-location.exp
2548 * gdb.base/disasm-end-cu.exp
2549 * gdb.base/display.exp
2550 * gdb.base/double-prompt-target-event-error.exp
2551 * gdb.base/dprintf-bp-same-addr.exp
2552 * gdb.base/dprintf-detach.exp
2553 * gdb.base/dprintf-next.exp
2554 * gdb.base/dprintf-non-stop.exp
2555 * gdb.base/dprintf-pending.exp
2556 * gdb.base/dso2dso.exp
2557 * gdb.base/ending-run.exp
2558 * gdb.base/enum_cond.exp
2559 * gdb.base/examine-backward.exp
2560 * gdb.base/exe-lock.exp
2561 * gdb.base/exec-invalid-sysroot.exp
2562 * gdb.base/execl-update-breakpoints.exp
2563 * gdb.base/execution-termios.exp
2564 * gdb.base/fileio.exp
2565 * gdb.base/fixsection.exp
2566 * gdb.base/foll-exec-mode.exp
2567 * gdb.base/foll-exec.exp
2568 * gdb.base/fork-running-state.exp
2569 * gdb.base/frame-args.exp
2570 * gdb.base/fullpath-expand.exp
2571 * gdb.base/func-ptr.exp
2572 * gdb.base/gcore-relro-pie.exp
2573 * gdb.base/gdb1090.exp
2574 * gdb.base/gdb1555.exp
2575 * gdb.base/global-var-nested-by-dso.exp
2576 * gdb.base/gnu-ifunc.exp
2577 * gdb.base/hbreak-in-shr-unsupported.exp
2578 * gdb.base/hbreak-unmapped.exp
2579 * gdb.base/hook-stop.exp
2580 * gdb.base/infcall-input.exp
2581 * gdb.base/info-fun.exp
2582 * gdb.base/info-shared.exp
2583 * gdb.base/interrupt-noterm.exp
2584 * gdb.base/jit-so.exp
2585 * gdb.base/jit.exp
2586 * gdb.base/line-symtabs.exp
2587 * gdb.base/list.exp
2588 * gdb.base/longjmp.exp
2589 * gdb.base/macscp.exp
2590 * gdb.base/max-value-size.exp
2591 * gdb.base/nodebug.exp
2592 * gdb.base/nofield.exp
2593 * gdb.base/overlays.exp
2594 * gdb.base/paginate-after-ctrl-c-running.exp
2595 * gdb.base/paginate-bg-execution.exp
2596 * gdb.base/paginate-inferior-exit.exp
2597 * gdb.base/pending.exp
2598 * gdb.base/pr11022.exp
2599 * gdb.base/printcmds.exp
2600 * gdb.base/ptr-typedef.exp
2601 * gdb.base/ptype.exp
2602 * gdb.base/randomize.exp
2603 * gdb.base/range-stepping.exp
2604 * gdb.base/realname-expand.exp
2605 * gdb.base/relativedebug.exp
2606 * gdb.base/remote.exp
2607 * gdb.base/savedregs.exp
2608 * gdb.base/sepdebug.exp
2609 * gdb.base/set-noassign.exp
2610 * gdb.base/shlib-call.exp
2611 * gdb.base/shreloc.exp
2612 * gdb.base/sigaltstack.exp
2613 * gdb.base/sigbpt.exp
2614 * gdb.base/siginfo-addr.exp
2615 * gdb.base/siginfo-obj.exp
2616 * gdb.base/siginfo-thread.exp
2617 * gdb.base/signest.exp
2618 * gdb.base/signull.exp
2619 * gdb.base/sigrepeat.exp
2620 * gdb.base/skip.exp
2621 * gdb.base/so-impl-ld.exp
2622 * gdb.base/solib-corrupted.exp
2623 * gdb.base/solib-disc.exp
2624 * gdb.base/solib-display.exp
2625 * gdb.base/solib-overlap.exp
2626 * gdb.base/solib-search.exp
2627 * gdb.base/solib-symbol.exp
2628 * gdb.base/source-execution.exp
2629 * gdb.base/sss-bp-on-user-bp-2.exp
2630 * gdb.base/sss-bp-on-user-bp.exp
2631 * gdb.base/stack-checking.exp
2632 * gdb.base/stale-infcall.exp
2633 * gdb.base/step-break.exp
2634 * gdb.base/step-line.exp
2635 * gdb.base/step-over-exit.exp
2636 * gdb.base/step-test.exp
2637 * gdb.base/structs.exp
2638 * gdb.base/sym-file.exp
2639 * gdb.base/symtab-search-order.exp
2640 * gdb.base/term.exp
2641 * gdb.base/type-opaque.exp
2642 * gdb.base/unload.exp
2643 * gdb.base/until-nodebug.exp
2644 * gdb.base/until.exp
2645 * gdb.base/unwindonsignal.exp
2646 * gdb.base/watch-cond.exp
2647 * gdb.base/watch-non-mem.exp
2648 * gdb.base/watch_thread_num.exp
2649 * gdb.base/watchpoint-reuse-slot.exp
2650 * gdb.base/watchpoint-solib.exp
2651 * gdb.base/watchpoint.exp
2652 * gdb.btrace/dlopen.exp
2653 * gdb.cell/arch.exp
2654 * gdb.cell/break.exp
2655 * gdb.cell/bt.exp
2656 * gdb.cell/core.exp
2657 * gdb.cell/data.exp
2658 * gdb.cell/dwarfaddr.exp
2659 * gdb.cell/ea-cache.exp
2660 * gdb.cell/ea-standalone.exp
2661 * gdb.cell/ea-test.exp
2662 * gdb.cell/f-regs.exp
2663 * gdb.cell/fork.exp
2664 * gdb.cell/gcore.exp
2665 * gdb.cell/mem-access.exp
2666 * gdb.cell/ptype.exp
2667 * gdb.cell/registers.exp
2668 * gdb.cell/sizeof.exp
2669 * gdb.cell/solib-symbol.exp
2670 * gdb.cell/solib.exp
2671 * gdb.compile/compile-tls.exp
2672 * gdb.cp/exception.exp
2673 * gdb.cp/gdb2495.exp
2674 * gdb.cp/local.exp
2675 * gdb.cp/mb-inline.exp
2676 * gdb.cp/mb-templates.exp
2677 * gdb.cp/pr10687.exp
2678 * gdb.cp/pr9167.exp
2679 * gdb.cp/scope-err.exp
2680 * gdb.cp/templates.exp
2681 * gdb.cp/virtfunc.exp
2682 * gdb.dwarf2/dw2-dir-file-name.exp
2683 * gdb.dwarf2/dw2-single-line-discriminators.exp
2684 * gdb.fortran/complex.exp
2685 * gdb.fortran/library-module.exp
2686 * gdb.guile/guile.exp
2687 * gdb.guile/scm-cmd.exp
2688 * gdb.guile/scm-frame-inline.exp
2689 * gdb.guile/scm-objfile.exp
2690 * gdb.guile/scm-pretty-print.exp
2691 * gdb.guile/scm-symbol.exp
2692 * gdb.guile/scm-type.exp
2693 * gdb.guile/scm-value.exp
2694 * gdb.linespec/keywords.exp
2695 * gdb.linespec/ls-errs.exp
2696 * gdb.linespec/macro-relative.exp
2697 * gdb.linespec/thread.exp
2698 * gdb.mi/mi-breakpoint-changed.exp
2699 * gdb.mi/mi-dprintf-pending.exp
2700 * gdb.mi/mi-fullname-deleted.exp
2701 * gdb.mi/mi-logging.exp
2702 * gdb.mi/mi-pending.exp
2703 * gdb.mi/mi-solib.exp
2704 * gdb.mi/new-ui-mi-sync.exp
2705 * gdb.mi/user-selected-context-sync.exp
2706 * gdb.multi/dummy-frame-restore.exp
2707 * gdb.multi/multi-arch-exec.exp
2708 * gdb.multi/remove-inferiors.exp
2709 * gdb.multi/watchpoint-multi-exit.exp
2710 * gdb.opt/solib-intra-step.exp
2711 * gdb.perf/backtrace.exp
2712 * gdb.perf/single-step.exp
2713 * gdb.perf/skip-command.exp
2714 * gdb.perf/skip-prologue.exp
2715 * gdb.perf/solib.exp
2716 * gdb.python/lib-types.exp
2717 * gdb.python/py-as-string.exp
2718 * gdb.python/py-bad-printers.exp
2719 * gdb.python/py-block.exp
2720 * gdb.python/py-breakpoint.exp
2721 * gdb.python/py-cmd.exp
2722 * gdb.python/py-events.exp
2723 * gdb.python/py-evthreads.exp
2724 * gdb.python/py-finish-breakpoint.exp
2725 * gdb.python/py-finish-breakpoint2.exp
2726 * gdb.python/py-frame-inline.exp
2727 * gdb.python/py-frame.exp
2728 * gdb.python/py-inferior.exp
2729 * gdb.python/py-infthread.exp
2730 * gdb.python/py-mi.exp
2731 * gdb.python/py-objfile.exp
2732 * gdb.python/py-pp-maint.exp
2733 * gdb.python/py-pp-registration.exp
2734 * gdb.python/py-prettyprint.exp
2735 * gdb.python/py-recurse-unwind.exp
2736 * gdb.python/py-shared.exp
2737 * gdb.python/py-symbol.exp
2738 * gdb.python/py-symtab.exp
2739 * gdb.python/py-template.exp
2740 * gdb.python/py-type.exp
2741 * gdb.python/py-unwind-maint.exp
2742 * gdb.python/py-unwind.exp
2743 * gdb.python/py-value.exp
2744 * gdb.python/python.exp
2745 * gdb.reverse/finish-reverse-bkpt.exp
2746 * gdb.reverse/insn-reverse.exp
2747 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2748 * gdb.reverse/solib-precsave.exp
2749 * gdb.reverse/solib-reverse.exp
2750 * gdb.stabs/gdb11479.exp
2751 * gdb.stabs/weird.exp
2752 * gdb.threads/fork-child-threads.exp
2753 * gdb.threads/fork-plus-threads.exp
2754 * gdb.threads/fork-thread-pending.exp
2755 * gdb.threads/forking-threads-plus-breakpoint.exp
2756 * gdb.threads/hand-call-in-threads.exp
2757 * gdb.threads/interrupted-hand-call.exp
2758 * gdb.threads/linux-dp.exp
2759 * gdb.threads/local-watch-wrong-thread.exp
2760 * gdb.threads/next-while-other-thread-longjmps.exp
2761 * gdb.threads/non-ldr-exit.exp
2762 * gdb.threads/pending-step.exp
2763 * gdb.threads/print-threads.exp
2764 * gdb.threads/process-dies-while-detaching.exp
2765 * gdb.threads/process-dies-while-handling-bp.exp
2766 * gdb.threads/pthreads.exp
2767 * gdb.threads/queue-signal.exp
2768 * gdb.threads/reconnect-signal.exp
2769 * gdb.threads/signal-command-handle-nopass.exp
2770 * gdb.threads/signal-command-multiple-signals-pending.exp
2771 * gdb.threads/signal-delivered-right-thread.exp
2772 * gdb.threads/signal-sigtrap.exp
2773 * gdb.threads/sigthread.exp
2774 * gdb.threads/staticthreads.exp
2775 * gdb.threads/stepi-random-signal.exp
2776 * gdb.threads/thread-unwindonsignal.exp
2777 * gdb.threads/thread_check.exp
2778 * gdb.threads/thread_events.exp
2779 * gdb.threads/tid-reuse.exp
2780 * gdb.threads/tls-nodebug.exp
2781 * gdb.threads/tls-shared.exp
2782 * gdb.threads/tls-so_extern.exp
2783 * gdb.threads/tls.exp
2784 * gdb.threads/wp-replication.exp
2785 * gdb.trace/actions-changed.exp
2786 * gdb.trace/actions.exp
2787 * gdb.trace/backtrace.exp
2788 * gdb.trace/change-loc.exp
2789 * gdb.trace/collection.exp
2790 * gdb.trace/deltrace.exp
2791 * gdb.trace/disconnected-tracing.exp
2792 * gdb.trace/entry-values.exp
2793 * gdb.trace/ftrace-lock.exp
2794 * gdb.trace/ftrace.exp
2795 * gdb.trace/infotrace.exp
2796 * gdb.trace/mi-trace-frame-collected.exp
2797 * gdb.trace/mi-trace-unavailable.exp
2798 * gdb.trace/mi-traceframe-changed.exp
2799 * gdb.trace/mi-tracepoint-changed.exp
2800 * gdb.trace/mi-tsv-changed.exp
2801 * gdb.trace/no-attach-trace.exp
2802 * gdb.trace/packetlen.exp
2803 * gdb.trace/passc-dyn.exp
2804 * gdb.trace/passcount.exp
2805 * gdb.trace/pending.exp
2806 * gdb.trace/pr16508.exp
2807 * gdb.trace/qtro.exp
2808 * gdb.trace/range-stepping.exp
2809 * gdb.trace/read-memory.exp
2810 * gdb.trace/report.exp
2811 * gdb.trace/save-trace.exp
2812 * gdb.trace/signal.exp
2813 * gdb.trace/stap-trace.exp
2814 * gdb.trace/status-stop.exp
2815 * gdb.trace/strace.exp
2816 * gdb.trace/tfile.exp
2817 * gdb.trace/tfind.exp
2818 * gdb.trace/trace-break.exp
2819 * gdb.trace/trace-condition.exp
2820 * gdb.trace/trace-enable-disable.exp
2821 * gdb.trace/trace-mt.exp
2822 * gdb.trace/tracecmd.exp
2823 * gdb.trace/tracefile-pseudo-reg.exp
2824 * gdb.trace/tspeed.exp
2825 * gdb.trace/tstatus.exp
2826 * gdb.trace/tsv.exp
2827 * gdb.trace/unavailable.exp
2828 * gdb.trace/while-dyn.exp
2829 * gdb.trace/while-stepping.exp
2830 * lib/gdb-guile.exp
2831 * lib/gdb.exp
2832 * lib/mi-support.exp
2833 * lib/pascal.exp
2834 * lib/perftest.exp
2835 * lib/prelink-support.exp
2836 * lib/selftest-support.exp
2837
ad02e4fe
SM
28382016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2839
2840 * Makefile.in: Include disable-implicit-rules.mk.
2841
22347e55
AA
28422016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2843
2844 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2845 non-byte-aligned bit fields.
2846
da5b30da
AA
28472016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2848
2849 PR gdb/12616
2850 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2851 respects the DW_AT_data_bit_offset attribute.
2852
b593ecca
SM
28532016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2854
2855 * gdb.base/default.exp: Fix output of "set language".
2856
3b165252
SM
28572016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2858
2859 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2860 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2861 make.
2862 * configure.ac: Remove checks for the make program.
2863 * configure: Re-generate.
2864
1a2f3d7f
KB
28652016-11-16 Kevin Buettner <kevinb@redhat.com>
2866
2867 * gdb.python/py-recurse-unwind.c (main): Add loop.
2868 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2869 to read_register() and gdb.parse_and_eval(). Make each code
2870 call a separate case that can be individually tested.
2871 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2872 proc. Call cont_and_backtrace for each of the code paths that
2873 we want to test in the unwinder.
2874
b7f38fda
AA
28752016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2876
2877 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2878 the definition of struct S.
2879
1f8db343
CM
28802016-11-11 Catherine Moore <clm@codesourcery.com>
2881
2882 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2883
fad0c9fb
PA
28842016-11-09 Pedro Alves <palves@redhat.com>
2885
2886 * gdb.base/commands.exp (runto_or_return): New procedure.
2887 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2888 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2889 (progvar_simple_while_test, progvar_complex_if_while_test)
2890 (if_while_breakpoint_command_test)
2891 (infrun_breakpoint_command_test, breakpoint_command_test)
2892 (user_defined_command_test, watchpoint_command_test)
2893 (test_command_prompt_position, redefine_hook_test)
2894 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2895 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2896 multi_line_input and multi_line. Remove gdb_expect and
2897 gdb_stop_suppressing_tests uses.
2898 * lib/gdb.exp (valnum_re): New global.
2899 (multi_line_input): New procedure.
2900
8354c62c
SM
29012016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2902
2903 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2904 Remove.
2905 (test_setup): Define with proc_with_prefix.
2906 (test_cli_inferior): Likewise.
2907 (test_cli_thread): Likewise.
2908 (test_cli_frame): Likewise.
2909 (test_cli_select_frame): Likewise.
2910 (test_cli_up_down): Likewise.
2911 (test_mi_thread_select): Likewise.
2912 (test_mi_stack_select_frame): Likewise.
2913 (test_cli_in_mi_inferior): Likewise.
2914 (test_cli_in_mi_thread): Likewise.
2915 (test_cli_in_mi_frame): Likewise.
2916 (top level): Do not use with_test_prefix_procname.
2917
64f367a2
PA
29182016-11-09 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/commands.exp (gdbvar_simple_if_test)
2921 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2922 (progvar_simple_if_test, progvar_simple_while_test)
2923 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2924 (infrun_breakpoint_command_test, breakpoint_command_test)
2925 (user_defined_command_test, watchpoint_command_test)
2926 (test_command_prompt_position, deprecated_command_test)
2927 (bp_deleted_in_command, temporary_breakpoint_commands)
2928 (stray_arg0_test, source_file_with_indented_comment)
2929 (recursive_source_test, if_commands_test)
2930 (error_clears_commands_left, redefine_hook_test)
2931 (redefine_backtrace_test): Use proc_with_prefix.
2932 * lib/gdb.exp (proc_with_prefix): New proc.
2933
0bb65f1e
AA
29342016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2935
2936 * gdb.base/tui-layout.c: New file.
2937 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2938 disassembly window contains very long lines.
2939
7353f247
TT
29402016-11-08 Tom Tromey <tom@tromey.com>
2941
2942 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2943 depend on Python 2.
2944
30a7bb83
TT
29452016-11-08 Tom Tromey <tom@tromey.com>
2946
2947 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2948 New method.
2949
cdf5a07c
MG
29502016-10-29 Manish Goregaokar <manish@mozilla.com>
2951
2806dc7e 2952 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
cdf5a07c 2953
51a789c3
MG
29542016-10-27 Manish Goregaokar <manish@mozilla.com>
2955
2806dc7e
PA
2956 * gdb.rust/simple.rs: Add test for univariant enums without
2957 discriminants and for encoded struct-like enums.
51a789c3 2958
f610ab6d
PA
29592016-10-28 Pedro Alves <palves@redhat.com>
2960
2961 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2962 gdb_test_multiple, tighten regexps and match symtabs and line
2963 tables incrementally.
2964
b129b0ca
LM
29652016-10-28 Luis Machado <lgustavo@codesourcery.com>
2966
2967 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2968 general.
2969
ecf45d2c
SL
29702016-10-25 Luis Machado <lgustavo@codesourcery.com>
2971
2972 * gdb.base/exec-invalid-sysroot.exp: New file.
2973
b8d38ee4
JK
29742016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2975
2976 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2977
f90fd8c2
JK
29782016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2979
2980 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2981
2d2476aa
MR
29822016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2983
2806dc7e
PA
2984 * gdb.base/killed-outside.exp: Remove $options from a call to
2985 `prepare_for_testing'.
2d2476aa 2986
e42b25a0
SM
29872016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2988
2989 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2990 Change test message.
2991
3ccdb432
SM
29922016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2993
2994 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2995 Update comment.
2996
5bad3170
SM
29972016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2998
2999 * gdb.trace/mi-trace-save.exp: New file.
3000
5ad9dba7
YQ
30012016-10-13 Yao Qi <yao.qi@linaro.org>
3002
3003 * gdb.base/code_elim.exp (get_var_address): Remove.
3004 * gdb.base/relocate.exp: Likewise.
3005 * gdb.base/shreloc.exp: Likewise.
3006 * lib/gdb.exp (get_var_address): New.
3007
62df7e21
YQ
30082016-10-13 Yao Qi <yao.qi@linaro.org>
3009
3010 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
3011 floating point tests if $skip_float_test is false.
3012
4dac951e
LM
30132016-10-12 Luis Machado <lgustavo@codesourcery.com>
3014
3015 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
3016 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
3017 argc values.
3018 Add 1 to argc so we guarantee distinct initial/modified argc values.
3019
8f1a8fc4
JK
30202016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3021
3022 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
3023
16c85b5d
JK
30242016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3025
3026 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
3027 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
3028 * gdb.arch/vsx-regs.exp: Likewise.
3029
1d0e042a
YQ
30302016-10-07 Yao Qi <yao.qi@linaro.org>
3031
3032 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
3033
68dadef5
MM
30342016-10-07 Markus Metzger <markus.t.metzger@intel.com>
3035
3036 * gdb.python/python.exp: Test decode_line("*0").
3037
33fa2c6e
DE
30382016-10-06 Doug Evans <dje@google.com>
3039
3040 * gdb.python/py-value.exp (test_value_creation): Add test for large
3041 unsigned 64-bit value.
3042
9c37b5ae
TT
30432016-10-06 Tom Tromey <tom@tromey.com>
3044
3045 * gdb.compile/compile.exp: Change java tests to rust.
3046 * gdb.base/setshow.exp: Change java tests to rust.
3047 * gdb.base/default.exp: Remove java from language list.
3048 * README (Examples): Update language example.
3049 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
3050 test.
3051 * lib/gdb.exp (skip_java_tests): Remove.
3052 * lib/java.exp: Remove.
3053 * gdb.java: Remove.
3054
78b86327
MR
30552016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3056
3057 * gdb.arch/mips-fcr.exp: New test.
3058 * gdb.arch/mips-fcr.c: Source for the new test.
3059
7470adbb
MR
30602016-10-06 Maciej W. Rozycki <macro@imgtec.com>
3061
3062 * gdb.base/solib-disc.exp: Use `standard_output_file'
3063 throughout.
3064
4a556533
PA
30652016-10-06 Pedro Alves <palves@redhat.com>
3066
3067 * gdb.base/jit-simple-dl.c: New file.
3068 * gdb.base/jit-simple-jit.c: New file, factored out from ...
3069 * gdb.base/jit-simple.c: ... this.
3070 * gdb.base/jit-simple.exp (jit_run): Delete.
3071 (build_jit): New proc.
3072 (jit_test_reread): Recompile either the main program or the shared
3073 library, depending on what is being tested. Skip changing address
3074 if caller wants to. Compare before/after addresses. If testing
3075 standalone, explicitly load the binary. Test "maint info
3076 breakpoints".
3077 (top level): Add "standalone vs shared lib" and "change address"
3078 vs "same address" axes.
3079
5a122fbc
PA
30802016-10-06 Pedro Alves <palves@redhat.com>
3081
3082 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
3083 call.
3084 (jit_run): Delete.
3085 (jit_test_reread): Use with_test_prefix. Reload the main binary
3086 explicitly. Compare the before/after addresses of the JIT
3087 descriptor.
3088
ee8da4b8
DE
30892016-08-15 Doug Evans <dje@google.com>
3090
3091 * gdb.xml/extra-regs.xml: Update, end field now required, default type
3092 for single bitfields is bool.
3093 * gdb.xml/tdesc-regs.exp: Ditto.
3094
f389f6fe
JK
30952016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3096
3097 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
3098
fdebf1a4
YQ
30992016-10-05 Yao Qi <yao.qi@linaro.org>
3100
3101 * lib/gdb.exp (support_complex_tests): Return zero if
3102 gdb_skip_float_test return true.
3103
9c36d954 31042016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 3105 Simon Marchi <simon.marchi@ericsson.com>
9c36d954
AT
3106
3107 PR gdb/20487
3108 * gdb.mi/user-selected-context-sync.exp: New file.
3109 * gdb.mi/user-selected-context-sync.c: New file.
3110
4034d0ff 31112016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2806dc7e 3112 Simon Marchi <simon.marchi@ericsson.com>
4034d0ff
AT
3113
3114 PR gdb/20487
3115 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
3116 =thread-select-event check.
3117
a4297203
PB
31182016-09-29 Peter Bergner <bergner@vnet.ibm.com>
3119
3120 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
3121 the compulsory L operand changes.
3122 * gdb.arch/powerpc-power.s: Likewise.
3123
bb805577
JK
31242016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3125
3126 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
3127 * gdb.base/jit-attach-pie.c: New file.
3128 * gdb.base/jit-attach-pie.exp: New file.
3129
6d61dee5
PA
31302016-09-28 Pedro Alves <palves@redhat.com>
3131
3132 * gdb.base/infcall-input.c: New file.
3133 * gdb.base/infcall-input.exp: New file.
3134
f73842fc
YQ
31352016-09-22 Yao Qi <yao.qi@linaro.org>
3136
3137 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
3138 (gdb_exit): Rename it to ...
3139 (gdbserver_gdb_exit): ... Close GDBserver.
3140 (gdb_exit): New proc, call gdbserver_gdb_exit.
3141 (mi_gdb_exit): Likewise.
3142
90681dab
YQ
31432016-09-22 Yao Qi <yao.qi@linaro.org>
3144
3145 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
3146 path.
3147 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
3148 Remove duplication.
3149
9c211fd8
YQ
31502016-09-22 Yao Qi <yao.qi@linaro.org>
3151
3152 * lib/gdbserver-support.exp: Check the existence of
3153 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
3154
ad0a504f
AK
31552016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
3156
3157 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
3158
36cf1806
TT
31592016-09-21 Tom Tromey <tom@tromey.com>
3160
3161 PR gdb/20604:
3162 * gdb.base/quit.exp: New file.
3163
74172ecf
SM
31642016-09-21 Simon Marchi <simon.marchi@ericsson.com>
3165
3166 * .gitignore: New file.
3167
3d0ec882
MR
31682016-09-21 Maciej W. Rozycki <macro@imgtec.com>
3169
3170 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
3171 throughout.
3172
8193adea
AA
31732016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3174
3175 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
3176
d41a5c09
JK
31772016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3178
3179 * gdb.cp/casts.cc (decltype): Move it ...
3180 (main): ... with its call to ...
3181 * gdb.cp/casts03.cc: ... a new file.
3182 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
3183
d2dfe700
JK
31842016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3185
3186 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
3187
e2a92b16
PB
31882016-09-15 Peter Bergner <bergner@vnet.ibm.com>
3189
3190 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
3191 and sync up the test with tests in gas/testsuite/gas/ppc.
3192 * gdb.arch/powerpc-power.exp: Likewise.
3193
49b4de64
JK
31942016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3195
3196 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
3197
2c29df25
SDJ
31982016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
3199 Jan Kratochvil <jan.kratochvil@redhat.com>
3200
3201 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
3202 make m1's definition to be different from m2's. Use 'dummy' as an
3203 argument for probe 'two'.
3204
cc3c2846
JB
32052016-09-10 Jon Beniston <jon@beniston.com>
3206
3207 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
3208 for sim target.
3209
e1b2624a
AA
32102016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
3211
3212 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
3213 variable declaration.
3214 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
3215 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
3216 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
3217 received HWCAP as its argument.
3218
4295e285
PA
32192016-09-06 Pedro Alves <palves@redhat.com>
3220
3221 * gdb.base/new-ui-pending-input.c: New file.
3222 * gdb.base/new-ui-pending-input.exp: New file.
3223 * gdb.exp (clear_gdb_spawn_id): New procedure.
3224 (with_spawn_id): Check whether gdb_spawn_id exists before
3225 referencing it. If gdb_spawn_id didn't exist on entry, clear it
3226 on exit.
3227
00d5215e
UW
32282016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3229
3230 * gdb.base/float128.c: New file.
3231 * gdb.base/float128.exp: Likewise.
3232 * gdb.base/floatn.c: Likewise.
3233 * gdb.base/floatn.exp: Likewise.
3234
a9ff5f12
UW
32352016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
3236
3237 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
3238
f245535c
PA
32392016-09-05 Pedro Alves <palves@redhat.com>
3240
3241 PR backtrace/19927
3242 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
3243 unwinders are immediately called as side effect of "source" or
3244 "disable unwinder" commands.
3245 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
3246
ae9cf263
YQ
32472016-09-02 Yao Qi <yao.qi@linaro.org>
3248
3249 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
3250 is true and $type is "float" or "double".
3251
27aba047
YQ
32522016-09-02 Yao Qi <yao.qi@linaro.org>
3253
3254 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
3255 true.
3256 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
3257 * gdb.base/call-rt-st.exp: Likewise.
3258 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
3259 return value instead of gdb,skip_float_test.
3260 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
3261 (do_function_calls): Use its return value instead of
3262 gdb,skip_float_test.
3263 * gdb.base/finish.exp: Likewise.
3264 * gdb.base/funcargs.exp: Likewise.
3265 * gdb.base/return.exp: Likewise.
3266 * gdb.base/return2.exp: Likewise.
3267 * gdb.base/varargs.exp: Likewise.
3268 * lib/gdb.exp (gdb_skip_float_test): Change it to
3269 gdb_caching_proc. Detect the broken ptrace on arm-linux.
3270
5af962df
AA
32712016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3272
3273 * gdb.multi/tids.exp: Test "thread apply all".
3274
7fac6910
JK
32752016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3276
3277 * gdb.base/default.exp (tty): Remove.
3278
bb1fe4ac
KB
32792016-08-24 Kevin Buettner <kevinb@redhat.com>
3280
2806dc7e
PA
3281 * gdb.python/py-recurse-unwind.c: New file.
3282 * gdb.python/py-recurse-unwind.py: New file.
3283 * gdb.python/py-recurse-unwind.exp: New file.
bb1fe4ac 3284
0a1ddfa6
SM
32852016-08-24 Simon Marchi <simon.marchi@ericsson.com>
3286
3287 * gdb.base/set-inferior-tty.exp: New file.
3288 * gdb.base/set-inferior-tty.c: New file.
3289
d9de1fe3
PA
32902016-08-23 Pedro Alves <palves@redhat.com>
3291
3292 PR gdb/20494
3293 * gdb.base/new-ui-echo.c: New file.
3294 * gdb.base/new-ui-echo.exp: New file.
3295
e9d9abd7
YQ
32962016-08-23 Yao Qi <yao.qi@linaro.org>
3297
3298 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
3299 gdbserver_spawn.
3300 * gdb.server/connect-without-multi-process.exp (do_test):
3301 Likewise.
3302
3589529e
YQ
33032016-08-23 Yao Qi <yao.qi@linaro.org>
3304
3305 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
3306 standalone_txt. Delete gdb_txt and standalone_txt on host
3307 and target. Spawn the binary on target. Copy files from
3308 target to host.
3309
6bb90213
PA
33102016-08-22 Pedro Alves <palves@redhat.com>
3311
3312 PR gdb/20505
3313 * gdb.base/vdso-warning.exp: Test core dumps too. Use
3314 with_test_prefix. Factor out bits to ...
3315 (test_no_vdso): ... this new procedure.
3316
20c2c024
CL
33172016-08-19 Carl Love <cel@us.ibm.com>
3318
3319 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
3320 maintaining separate logic for constructing the output path.
3321 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3322 * gdb.arch/ppc-dfp.exp: Likewise.
3323 * gdb.arch/ppc-fp.exp: Likewise.
3324 * gdb.arch/vsx-regs.exp: Likewise.
3325 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
3326 binprefix for generating the additional binary files.
3327
0646e07d
PA
33282016-08-19 Pedro Alves <palves@redhat.com>
3329
3330 * gdb.trace/mi-trace-frame-collected.exp
3331 (test_trace_frame_collected): On x32, expect two registers.
3332
46da9242
CL
33332016-08-18 Carl Love <cel@us.ibm.com>
3334
3335 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
3336 and sync up the test with tests in gas/testsuite/gas/ppc.
3337 * gdb.arch/powerpc-power.exp: Likewise.
3338
eb2332d7
SM
33392016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3340
3341 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
3342 expected error message.
3343
63c61e04
SM
33442016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3345
3346 * gdb.multi/remove-inferiors.exp: New file.
3347 * gdb.multi/remove-inferiors.c: New file.
3348
7b17065f
YQ
33492016-08-12 Yao Qi <yao.qi@linaro.org>
3350
3351 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
3352 argument list.
3353
01d3dedf
PA
33542016-08-10 Pedro Alves <palves@redhat.com>
3355
3356 PR gdb/19187
3357 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
3358 setup_kfails.
3359
3eb7562a
PA
33602016-08-09 Pedro Alves <palves@redhat.com>
3361 Simon Marchi <simon.marchi@ericsson.com>
3362
3363 PR gdb/20418
3364 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
3365 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
3366
80614914
PA
33672016-08-09 Pedro Alves <palves@redhat.com>
3368
3369 PR mi/20431
3370 * gdb.mi/mi-cmd-error.exp: New file.
3371
f348d89a
PA
33722016-08-09 Pedro Alves <palves@redhat.com>
3373
3374 PR gdb/18653
3375 * gdb.base/signals-state-child.c: New file.
3376 * gdb.base/signals-state-child.exp: New file.
3377 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
3378
e5ca03b4
PA
33792016-08-09 Pedro Alves <palves@redhat.com>
3380
3381 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
3382
282a0691
TT
33832016-08-03 Tom Tromey <tom@tromey.com>
3384
3385 PR python/18565:
3386 * gdb.python/py-frame-inline.exp: Add Frame.function test.
3387
41bfcd63
YQ
33882016-08-01 Yao Qi <yao.qi@linaro.org>
3389
3390 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
3391 variable mode to "multi-process" if $multi_process is 1, otherwise
3392 set it to "single-process".
3393
e3465b24
YQ
33942016-08-01 Yao Qi <yao.qi@linaro.org>
3395
3396 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3397 * gdb.cp/cpexprs.exp: Likewise.
3398 * gdb.cp/m-static.exp: Likewise.
3399
0b31a4bc
TT
34002016-07-26 Tom Tromey <tom@tromey.com>
3401
3402 PR python/20190:
3403 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3404 test.
3405
e0461dbb
MM
34062016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3407
3408 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3409 selecting assembly source files.
3410 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3411 assembly source files.
3412 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3413 assembly source files.
3414 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3415 selecting assembly source files.
3416
8194e927
SM
34172016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3418
3419 * gdb.base/new-ui.exp (do_test_invalid_args): New
3420 procedure.
3421
c0272db5
TW
34222016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3423
3424 * gdb.btrace/reconnect.c: New file.
3425 * gdb.btrace/reconnect.exp: New file.
3426
e3487908
GKB
34272016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3428
3429 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3430 to test_catch_syscall_group.
3431 (test_catch_syscall_group): New.
3432
12df5c00
TT
34332016-07-21 Tom Tromey <tom@tromey.com>
3434
3435 * gdb.rust/simple.rs (main): Use empty struct expression.
3436 * gdb.rust/simple.exp: Add tests for empty struct expression.
3437
bae62ee2
YQ
34382016-07-21 Yao Qi <yao.qi@linaro.org>
3439
3440 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3441 if gdb_skip_xml_test is true on some targets.
3442
b1b53fb3
YQ
34432016-07-21 Yao Qi <yao.qi@linaro.org>
3444
3445 * gdb.server/solib-list.exp: Unset last_loaded_file.
3446
027d97f8
JK
34472016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3448
3449 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3450 "step into captured_main (args)".
3451
7674d381
JK
34522016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3453
3454 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3455
72b5d099
JK
34562016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3457
3458 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3459
1f960ced
PA
34602016-07-19 Pedro Alves <palves@redhat.com>
3461
3462 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3463 * gdb.opt/inline-bt.exp: Likewise.
3464 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3465 additional_flags=-Winline.
3466 * gdb.opt/inline-locals.exp: Likewise.
3467 * gdb.opt/inline-markers.c (ATTR): Define.
3468 (inlined_fn): Use it.
3469
f25827c1
YQ
34702016-07-19 Yao Qi <yao.qi@linaro.org>
3471
3472 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3473 (test_with_self): Remove some code. Remove argument executable.
3474 (top-level): Use do_self_tests.
3475
37539ebe
DB
34762016-07-15 Zachary Welch <zwelch@codesourcery.com>
3477 Don Breazeal <donb@codesourcery.com>
3478
3479 * gdb.base/maint.exp: Escape paths used in regular expressions.
3480 * gdb.stabs/weird.exp: Likewise.
3481
dac790e1
TT
34822016-07-13 Tom Tromey <tom@tromey.com>
3483
3484 PR python/15620, PR python/18620:
3485 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3486 (test_bkpt_events): New procs.
3487
93daf339
TT
34882016-07-13 Tom Tromey <tom@tromey.com>
3489
3490 PR python/17698:
3491 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3492 test.
3493 (test_watchpoints): Likewise.
3494 (test_bkpt_pending): New proc.
3495
6571a381
TT
34962016-07-13 Tom Tromey <tom@tromey.com>
3497
3498 PR cli/18053:
3499 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3500 completion test.
3501
e8732474
JK
35022016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3503
3504 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3505 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3506 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3507 f_label.
3508 (g): Rename g_end_lbl to g_label.
3509 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3510 low_pc and high_pc.
3511 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3512
e0f3fd7c
TT
35132016-07-12 Tom Tromey <tom@tromey.com>
3514
3515 PR python/19293:
3516 * gdb.python/py-unwind-maint.exp: Update tests.
3517
3cfe46b6
YQ
35182016-07-12 Yao Qi <yao.qi@linaro.org>
3519
3520 * lib/selftest-support.exp (selftest_setup): Match the output
3521 when captured_main is inlined.
3522
4f19a0e6
WT
35232016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3524
3525 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3526 New variables.
3527 (print this%a, print this%b, print this): New tests.
3528 * gdb.fortran/derived-types.f90 (this): New object and
3529 initialization.
3530
986cf455
SM
35312016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3532
3533 * gdb.ada/arraydim.exp: Remove extra directory level in build
3534 directory.
3535
f0464b23
SM
35362016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3537
3538 * lib/ada.exp: Remove extra directory level in build directory.
3539 * gdb.ada/cond_lang.exp: Likewise.
3540 * gdb.ada/exec_changed.exp: Likewise.
3541 * gdb.ada/lang_switch.exp: Likewise.
3542
42d94011
MG
35432016-07-06 Manish Goregaokar <manish@mozilla.com>
3544
2806dc7e
PA
3545 * simple.rs: Add test for raw pointer subscripting.
3546 * simple.exp: Add test expectations.
42d94011 3547
647c264c
YQ
35482016-07-05 Yao Qi <yao.qi@linaro.org>
3549
3550 * gdb.mi/mi-reverse.exp: Match =record-started output.
3551
20aa2c60
PA
35522016-07-01 Pedro Alves <palves@redhat.com>
3553
3554 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3555 procedure.
3556 (jit_reader_test): Test the jit reader's unwinder.
3557 * gdb.base/jithost.c (jit_function_00_code): New global.
3558 (main): Use memcpy to fill in the mmapped code, instead of poking
3559 bytes manually here.
3560 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3561 value.
3562 (read_debug_info): Save the function's range.
3563 (read_sp): New function.
3564 (unwind_frame): Use it. Also unwind RBP.
3565 (get_frame_id): Use read_sp.
3566 (gdb_init_reader): Use calloc instead of malloc.
3567 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3568 parameter. Use gdb_test_multiple.
3569
ced2dffb
PA
35702016-07-01 Pedro Alves <palves@redhat.com>
3571 Antoine Tremblay <antoine.tremblay@ericsson.com>
3572
3573 * gdb.threads/process-dies-while-detaching.c: New file.
3574 * gdb.threads/process-dies-while-detaching.exp: New file.
3575
63000888
PA
35762016-07-01 Pedro Alves <palves@redhat.com>
3577
3578 * gdb.multi/watchpoint-multi-exit.c: New file.
3579 * gdb.multi/watchpoint-multi-exit.exp: New file.
3580
038d4868
PA
35812016-06-30 Pedro Alves <palves@redhat.com>
3582
3583 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3584 unset inferior_spawn_id.
3585
994e9c83
PA
35862016-06-30 Pedro Alves <palves@redhat.com>
3587
3588 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3589 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3590
e5653468
YQ
35912016-06-29 Yao Qi <yao.qi@linaro.org>
3592
3593 * gdb.base/return.c: Add copyright header.
3594
803b47e5
TT
35952016-06-29 Tom Tromey <tom@tromey.com>
3596
3597 PR python/20129:
3598 * gdb.python/py-framefilter.exp: Add tests for setting priority
3599 and disabling of non-existent frame filter.
3600
28244707
YQ
36012016-06-29 Yao Qi <yao.qi@linaro.org>
3602
3603 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3604 0x0f07ff.
3605
a31d2f06
YQ
36062016-06-28 Yao Qi <yao.qi@linaro.org>
3607
3608 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3609 triplets. Start gdb, execute catch syscall, and continue. Check
3610 gdb's output to determine catch syscall is supported.
3611
921d8f54
MG
36122016-06-27 Manish Goregaokar <manish@mozilla.com>
3613
25d49b86
PA
3614 * gdb.rust/simple.rs: Add test for returning unit in a function.
3615 * gdb.rust/simple.exp: Add expectation for functions returning
3616 unit.
921d8f54 3617
f4952523
PMR
36182016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3619
3620 * gdb.python/py-breakpoint-create-fail.c,
3621 gdb.python/py-breakpoint-create-fail.exp,
3622 gdb.python/py-breakpoint-create-fail.py: New testcase.
3623
fccb08f8
MG
36242016-06-25 Manish Goregaokar <manish@mozilla.com>
3625
3626 PR gdb/20239
3627 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
25d49b86
PA
3628 * gdb.rust/simple.exp: Add test expectations for new NonZero
3629 tests.
fccb08f8 3630
6b850546
DT
36312016-06-24 David Taylor <dtaylor@emc.com>
3632
3633 * gdb.base/offsets.exp: New file.
3634 * gdb.base/offsets.c: New file.
3635
17621150
TT
36362016-06-23 Tom Tromey <tom@tromey.com>
3637
3638 PR gdb/16483:
3639 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3640 before any filters are loaded.
3641
04d59df6
WT
36422016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3643
3644 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3645 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3646 structs.
3647 * gdb.fortran/derived-type-function.exp: New file.
3648 * gdb.fortran/derived-type-function.f90: New file.
3649
3650
ac69f786
PA
36512016-06-21 Pedro Alves <palves@redhat.com>
3652
3653 * gdb.base/new-ui.exp: New file.
3654 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3655 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3656 (with_spawn_id): New procedure.
3657
49940788
PA
36582016-06-21 Pedro Alves <palves@redhat.com>
3659
3660 * gdb.mi/mi-exec-run.exp: New file.
3661
ef274d26
PA
36622016-06-21 Pedro Alves <palves@redhat.com>
3663
3664 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3665 breakpoint command's output on the main UI.
3666 (test_break): New procedure, factored out from calls in the top
3667 level.
3668 (top level): Use foreach_with_prefix to test MI as main UI and as
3669 separate UI.
3670
468afe6c
PA
36712016-06-21 Pedro Alves <palves@redhat.com>
3672
3673 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3674 (test_awatch_creation_and_listing)
3675 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3676 Remove 'type' parameter.
3677 (test_watchpoint_all): New parameter mi_mode. Remove
3678 with_test_prefix.
3679 (top level): Use foreach_with_prefix, and add main/separate UI MI
3680 testing axis.
3681
51f77c37
PA
36822016-06-21 Pedro Alves <palves@redhat.com>
3683
3684 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3685 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3686 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3687 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3688 (gdb_main_spawn_id, mi_spawn_id): Declare and
3689 comment.
3690 (mi_create_inferior_pty): New procedure,
3691 factored out from default_mi_gdb_start.
3692 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3693 procedures.
3694 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3695 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3696 Use mi_create_inferior_pty.
3697 (mi_gdb_start): Use eval to pass down args list.
3698
8980e177
PA
36992016-06-21 Pedro Alves <palves@redhat.com>
3700
3701 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3702 * gdb.opt/inline-cmds.exp: Add MI tests.
3703
f38d3ad1
PA
37042016-06-21 Pedro Alves <palves@redhat.com>
3705
3706 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3707
45db7c09
PA
37082016-06-21 Pedro Alves <palves@redhat.com>
3709
3710 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3711 (top level): Use it instead of mi_execute_to.
3712
5a069ab3
PA
37132016-06-21 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3716 (cont_handler_str): New.
3717 (signal_stop_handler): Set stop_handler_str instead of printing to
3718 stdout.
3719 (continue_handler): Set cont_handler_str instead of printing to
3720 stdout.
3721 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3722 mi_send_resuming_command. Print stop_handler_str and
3723 cont_handler_str instead of expecting the python events print
3724 directly.
3725
2838cc1d
SD
37262016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3727
3728 * gdb.base/jit-reader.exp: New file.
3729 * gdb.base/jithost.c: New file.
3730 * gdb.base/jithost.h: New file.
3731 * gdb.base/jitreader.c : New file.
3732 * gdb.base/jit-protocol.h: New file.
3733
21a77091
YQ
37342016-06-17 Yao Qi <yao.qi@linaro.org>
3735
3736 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3737 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3738 and detach-on-fork. Adjust tests.
3739 (top level): Invoke break_cond_on_syscall with combinations of
3740 syscall, follow-fork-mode and detach-on-fork.
3741
f50bf8e5
YQ
37422016-06-17 Yao Qi <yao.qi@linaro.org>
3743
3744 * gdb.base/step-over-exit.c: New.
3745 * gdb.base/step-over-exit.exp: New.
3746
a28d8e50
YTL
37472016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3748
3749 * gdb.base/float.exp: Add target check for nds32*-*-*.
3750 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3751
cad8e26d
AB
37522016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3753
3754 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3755 for unsupported target features.
3756 * gdb.base/call-rt-st.exp: Likewise.
3757 * gdb.base/call-sc.exp: Likewise.
3758 * gdb.base/call-signal-resume.exp: Likewise.
3759 * gdb.base/call-strs.exp: Likewise.
3760 * gdb.base/callexit.exp: Likewise.
3761 * gdb.base/callfuncs.exp: Likewise.
3762 * gdb.base/nodebug.exp: Likewise.
3763 * gdb.base/printcmds.exp: Likewise.
3764 * gdb.base/ptype.exp: Likewise.
3765 * gdb.base/structs.exp: Likewise.
3766 * gdb.base/unwindonsignal.exp: Likewise.
3767 * gdb.cp/gdb2495.exp: Likewise.
3768 * gdb.cp/templates.exp: Likewise.
3769 * gdb.cp/virtfunc.exp: Likewise.
3770 * gdb.threads/hand-call-in-threads.exp: Likewise.
3771 * gdb.threads/interrupted-hand-call.exp: Likewise.
3772 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3773
347dc102
TT
37742016-06-10 Tom Tromey <tom@tromey.com>
3775
3776 PR rust/20110:
3777 * gdb.rust/expr.exp: Add test for integer constant larger than
3778 i32.
3779
5e13cf25
BH
37802016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3781
3782 * gdb.fortran/nested-funcs.exp: New.
3783 * gdb.fortran/nested-funcs.f90: New.
3784
bb556f1f
TK
37852016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3786
3787 * gdb.base/examine-backward.c: New file.
3788 * gdb.base/examine-backward.exp: New file.
3789
38b022b4
SM
37902016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3791
3792 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3793 matching.
3794
1b40ec05
TT
37952016-06-02 Tom Tromey <tom@tromey.com>
3796
3797 PR python/18984:
3798 * gdb.python/py-shared.exp: Add solib_name test.
3799
193bd378
SM
38002016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3801
3802 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3803
3326303b
MG
38042016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3805
3806 PR c++/19893
3807 * gdb.dwarf2/implref.exp: Rename to...
3808 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3809 * gdb.dwarf2/implref-array.c: New file.
3810 * gdb.dwarf2/implref-array.exp: Likewise.
3811 * gdb.dwarf2/implref-global.c: Likewise.
3812 * gdb.dwarf2/implref-global.exp: Likewise.
3813 * gdb.dwarf2/implref-struct.c: Likewise.
3814 * gdb.dwarf2/implref-struct.exp: Likewise.
3815
825c8ef2
AT
38162016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3817
3818 * gdb.trace/trace-condition.exp: Add 64bit tests.
3819
2320162a
AT
38202016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3821
3822 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3823 bits types.
3824 (main): Adapt to 8 to 64 bits types.
3825 * gdb.trace/trace-condition.exp: Add new tests.
3826
a7818233
AT
38272016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3828
3829 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3830
0d336466
AT
38312016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3832
3833 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3834 Move condition tests...
3835 * gdb.trace/trace-condition.exp: Here.
3836
7faeb45a
AT
38372016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3838
3839 * gdb.trace/trace-condition.exp: Add counter-case tests.
3840
e385593e
JK
38412016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3842
3843 PR c++/15231
3844 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3845 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3846
744608cc
PA
38472016-05-27 Pedro Alves <palves@redhat.com>
3848
3849 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3850 New procedure.
3851 (top level): Call it, and bail out of DejaGnu is known to be bad.
3852
ac775bf4
AB
38532016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3854
3855 * gdb.base/whatis.c: Extend the test case.
3856 * gdb.base/whatis.exp: Add additional tests.
3857
2bbad2ea
BH
38582016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3859
3860* gdb.fortran/type.f90: Add pointer variable.
3861* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3862
8b70175d
BH
38632016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3864
3865 * gdb.fortran/vla-type.exp: Fix testcase name.
3866
86d8a848
BH
38672016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3868
3869 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3870
e188eb36
BH
38712016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3872
3873 * gdb.fortran/type.f90: Add nested structures.
3874 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3875 * gdb.fortran/derived-type.exp: Adapt expected output.
3876 * gdb.fortran/vla-type.exp: Adapt expected output.
3877
9b2db1fd
BH
38782016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3879
3880 * gdb.fortran/whatis_type.exp: Adapt expected output.
3881
72b17055
BH
38822016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3883
3884 * gdb.fortran/print_type.exp: Fix expected output.
3885 * gdb.fortran/whatis_type.exp: Fix expected output.
3886
3cd81d8d
BH
38872016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3888
3889 * gdb.fortran/whatis_type.exp: Use multi_line.
3890
ddae9462
TT
38912016-05-24 Tom Tromey <tom@tromey.com>
3892
3893 PR python/17386:
3894 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3895 use value as an index.
3896
1957f6b8
TT
38972016-05-23 Tom Tromey <tom@tromey.com>
3898
3899 PR python/17981:
3900 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3901 no-breakpoint case.
3902
026a9174
PA
39032016-05-24 Pedro Alves <palves@redhat.com>
3904
3905 PR gdb/19828
3906 * gdb.threads/clone-attach-detach.c: New file.
3907 * gdb.threads/clone-attach-detach.exp: New file.
3908
e70a7231
FR
39092016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3910
3911 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3912
0f6ed0e0
TT
39132016-05-23 Tom Tromey <tom@tromey.com>
3914
3915 PR python/19438, PR python/18393:
3916 * gdb.python/py-progspace.exp: Add "dir" test.
3917 * gdb.python/py-objfile.exp: Add "dir" test.
3918
ffd19d61
YQ
39192016-05-23 Yao Qi <yao.qi@linaro.org>
3920
3921 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3922 * gdb.arch/thumb2-it.exp: Likewise.
3923
9e8f9b05
SM
39242016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3925
3926 * gdb.mi/mi-threads-interrupt.c: New file.
3927 * gdb.mi/mi-threads-interrupt.exp: New file.
3928
61c6156d
SM
39292016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3930
3931 PR gdb/18077
3932 * gdb.mi/mi-async-run.exp: New file.
3933 * gdb.mi/mi-async-run.c: New file.
3934
67218854
TT
39352016-05-17 Tom Tromey <tom@tromey.com>
3936 Manish Goregaokar <manishsmail@gmail.com>
3937
3938 * lib/rust-support.exp: New file.
3939 * lib/gdb.exp (skip_rust_tests): New proc.
3940 (build_executable_from_specs): Handle rust.
3941 * lib/future.exp (gdb_find_rustc): New proc.
3942 (gdb_default_target_compile): Handle rust.
3943 * gdb.rust/expr.exp: New file.
3944 * gdb.rust/generics.exp: New file.
3945 * gdb.rust/generics.rs: New file.
3946 * gdb.rust/methods.exp: New file.
3947 * gdb.rust/methods.rs: New file.
3948 * gdb.rust/modules.exp: New file.
3949 * gdb.rust/modules.rs: New file.
3950 * gdb.rust/simple.exp: New file.
3951 * gdb.rust/simple.rs: New file.
3952
c44af4eb
TT
39532016-05-17 Tom Tromey <tom@tromey.com>
3954
3955 * gdb.base/default.exp (set language): Add rust.
3956
dcd1f979
TT
39572016-05-17 Tom Tromey <tom@tromey.com>
3958
3959 * gdb.gdb/unittest.exp: New file.
3960
155b7f57
YQ
39612016-05-16 Yao Qi <yao.qi@linaro.org>
3962
3963 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3964 shell_prompt. Update shell_prompt_re.
3965
8ddd5a6c
DE
39662016-05-12 Doug Evans <dje@google.com>
3967
3968 PR symtab/19999
3969 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3970 $options when building executable.
3971 * gdb.dwarf2/fission-loclists-pie.S: New file.
3972 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3973
02e370d9
SM
39742016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3975
3976 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3977 of [is_remote target],
3978
8929ad8b
SM
39792016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3980
3981 * lib/gdb.exp (use_gdb_stub): New procedure.
3982
6c447423
DE
39832016-05-03 Yunlian Jiang <yunlian@google.com>
3984 Doug Evans <dje@google.com>
3985
3986 PR symtab/19914
3987 * gdb.dwarf2/dwp-sepdebug.c: New file.
3988 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3989
444e826c
SM
39902016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3991
3992 * gdb.base/detach.exp: Remove is_remote check.
3993
740feeaa
SM
39942016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3995
3996 * gdb.base/annota-input-while-running.exp: Don't check for
3997 [is_remote target]. Enable annotations after running to main.
3998 Remove unused "set test..." line.
3999
9080ac9d
SM
40002016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4001
4002 * gdb.trace/trace-enable-disable.exp: New file.
4003 * gdb.trace/trace-enable-disable.c: New file.
4004
952ebca5
SM
40052016-04-28 Simon Marchi <simon.marchi@ericsson.com>
4006
4007 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
4008 use it in info sharedlibrary test.
4009 * gdb.trace/ftrace-lock.exp: Likewise.
4010 * gdb.trace/ftrace.exp: Likewise.
4011 * gdb.trace/range-stepping.exp: Likewise.
4012 * gdb.trace/trace-break.exp: Likewise.
4013 * gdb.trace/trace-condition.exp: Likewise.
4014 * gdb.trace/trace-mt.exp: Likewise.
4015
d9019901
SM
40162016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4017
4018 * lib/gdb.exp (gdb_load_shlibs): Rename to...
4019 (gdb_load_shlib): ... this.
4020 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
4021 gdb_load_shlib.
4022 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
4023 * gdb.base/ctxobj.exp: Likewise.
4024 * gdb.base/dprintf-pending.exp: Likewise.
4025 * gdb.base/dso2dso.exp: Likewise.
4026 * gdb.base/fixsection.exp: Likewise.
4027 * gdb.base/gcore-relro.exp: Likewise.
4028 * gdb.base/gdb1555.exp: Likewise.
4029 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4030 * gdb.base/gnu-ifunc.exp: Likewise.
4031 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
4032 * gdb.base/jit-so.exp (one_jit_test): Likewise.
4033 * gdb.base/pending.exp: Likewise.
4034 * gdb.base/print-file-var.exp: Likewise.
4035 * gdb.base/print-symbol-loading.exp: Likewise.
4036 * gdb.base/shlib-call.exp: Likewise.
4037 * gdb.base/shreloc.exp: Likewise.
4038 * gdb.base/so-impl-ld.exp: Likewise.
4039 * gdb.base/solib-disc.exp: Likewise.
4040 * gdb.base/solib-nodir.exp: Likewise.
4041 * gdb.base/solib-overlap.exp: Likewise.
4042 * gdb.base/solib-symbol.exp: Likewise.
4043 * gdb.base/solib-weak.exp (do_test): Likewise.
4044 * gdb.base/sym-file.exp: Likewise.
4045 * gdb.base/symtab-search-order.exp: Likewise.
4046 * gdb.base/type-opaque.exp: Likewise.
4047 * gdb.base/unload.exp: Likewise.
4048 * gdb.base/watchpoint-solib.exp: Likewise.
4049 * gdb.compile/compile.exp: Likewise.
4050 * gdb.cp/gdb2384.exp: Likewise.
4051 * gdb.cp/infcall-dlopen.exp: Likewise.
4052 * gdb.cp/re-set-overloaded.exp: Likewise.
4053 * gdb.fortran/library-module.exp: Likewise.
4054 * gdb.opt/solib-intra-step.exp: Likewise.
4055 * gdb.python/py-finish-breakpoint.exp: Likewise.
4056 * gdb.python/py-shared.exp: Likewise.
4057 * gdb.reverse/solib-precsave.exp: Likewise.
4058 * gdb.reverse/solib-reverse.exp: Likewise.
4059 * gdb.server/solib-list.exp: Likewise.
4060 * gdb.threads/dlopen-libpthread.exp: Likewise.
4061 * gdb.threads/tls-shared.exp: Likewise.
4062 * gdb.threads/tls-so_extern.exp: Likewise.
4063 * gdb.trace/change-loc.exp: Likewise.
4064 * gdb.trace/ftrace-lock.exp: Likewise.
4065 * gdb.trace/ftrace.exp: Likewise.
4066 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
4067 * gdb.trace/pending.exp: Likewise.
4068 * gdb.trace/range-stepping.exp: Likewise.
4069 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
4070 (strace_info_marker): Likewise.
4071 (strace_probe_marker): Likewise.
4072 (strace_trace_on_same_addr): Likewise.
4073 (strace_trace_on_diff_addr): Likewise.
4074 * gdb.trace/trace-break.exp: Likewise.
4075 * gdb.trace/trace-condition.exp: Likewise.
4076 * gdb.trace/trace-mt.exp: Likewise.
4077
fca4cfd9
SM
40782016-04-27 Simon Marchi <simon.marchi@ericsson.com>
4079
4080 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
4081 result of gdb_remote_download.
4082 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
4083 * gdb.base/dso2dso.exp: Likewise.
4084 * gdb.base/global-var-nested-by-dso.exp: Likewise.
4085 * gdb.base/print-file-var.exp: Likewise.
4086 * gdb.base/shlib-call.exp: Likewise.
4087 * gdb.base/shreloc.exp: Likewise.
4088 * gdb.base/solib-overlap.exp: Likewise.
4089 * gdb.base/solib-weak.exp (do_test): Likewise.
4090 * gdb.base/unload.exp: Likewise.
4091
11cf4ffb
YQ
40922016-04-27 Yao Qi <yao.qi@linaro.org>
4093
4094 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
4095 exists.
4096
3e2e34f8
KB
40972016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4098
4099 * vla-type.exp: Print structure from toplevel.
4100
8f07e298
BH
41012016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4102
4103 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
4104 of dynamic types.
4105 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
4106 of dynamic types.
4107
9920b434
BH
41082016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
4109
4110 * gdb.fortran/vla-type.f90: New file.
4111 * gdb.fortran/vla-type.exp: New file.
4112
f3abeff5
YQ
41132016-04-25 Yao Qi <yao.qi@linaro.org>
4114
4115 * gdb.base/branch-to-self.c: New file.
4116 * gdb.base/branch-to-self.exp: New file.
4117
0a5d52f0
YQ
41182016-04-22 Yao Qi <yao.qi@linaro.org>
4119
4120 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
4121 more after $hex.
4122
495346f6
YQ
41232016-04-22 Yao Qi <yao.qi@linaro.org>
4124
4125 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
4126 * gdb.base/annota3.exp: Likewise.
4127
4a7e075c
YQ
41282016-04-22 Yao Qi <yao.qi@linaro.org>
4129
4130 * gdb.reverse/step-precsave.exp: Do one step and test program
4131 stops in "callee" and do multiple steps until program goes out
4132 of "callee".
4133 * gdb.reverse/step-reverse.exp: Likewise.
4134
5b061e98
YQ
41352016-04-22 Yao Qi <yao.qi@linaro.org>
4136
4137 * gdb.trace/signal.exp: Also pass if
4138 $tracepoint_hits($i) > $iterations.
4139
5c5dc57f
YQ
41402016-04-22 Yao Qi <yao.qi@linaro.org>
4141
4142 * gdb.trace/signal.c: New file.
4143 * gdb.trace/signal.exp: New file.
4144
a55411b9
DE
41452016-04-19 Doug Evans <xdje42@gmail.com>
4146
4147 * gdb.base/bad-file.exp: New file.
4148
a22df60a
MG
41492016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
4150
4151 * gdb.dwarf2/implref.exp: New file.
4152
0c13f7e5
BH
41532016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4154
4155 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
4156 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
4157 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
4158 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
4159 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
4160 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
4161 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
4162 * lib/fortran.exp (fortran_int4): New procedure.
4163 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
4164 (fortran_logical4): Likewise.
4165
9b9b09e9
BH
41662016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
4167
4168 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
4169
a14d1f4d
BH
41702016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
4171
4172 * lib/compiler.c: Add Intel specific preprocessor macros.
4173 * lib/compiler.cc: Likewise.
25d49b86 4174
7d49b1d0
LM
41752016-04-13 Luis Machado <lgustavo@codesourcery.com>
4176
4177 * gdb.server/connect-with-no-symbol-file.c: New file.
4178 * gdb.server/connect-with-no-symbol-file.exp: New file.
4179
8392fa22
SM
41802016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4181
4182 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
4183
8c4c4aeb
SM
41842016-04-13 Simon Marchi <simon.marchi@ericsson.com>
4185
4186 * boards/gdbserver-base.exp (${board}_download): Copy source file to
4187 standard output directory.
4188
45e3745e
AT
41892016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
4190
4191 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
4192
e26b7e41
MM
41932016-04-13 Markus Metzger <markus.t.metzger@intel.com>
4194
4195 * gdb.btrace/instruction_history.c (loop): Add declaration.
4196
8ce09462
AT
41972016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
4198
4199 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
4200
2e88a1ea
SM
42012016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
4202
4203 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
4204 parentheses to print.
4205 (continue_handler): Likewise.
4206
f48e22e3
SM
42072016-04-08 Simon Marchi <simon.marchi@ericsson.com>
4208
4209 * gdb.server/solib-list.exp: Remove is_remote check.
4210 Pass shlib= to gdb_compile. Don't link shared library with
4211 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
4212 Run binary filename through "readlink -f" on the target.
4213
096be756
PA
42142016-04-08 Pedro Alves <palves@redhat.com>
4215
4216 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
4217 interpreter filename as argument to gdbserver_spawn.
4218 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4219 Return empty if $last_loaded_file does not exist.
4220
06500533
JK
42212016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4222
4223 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
4224 * gdb.base/jit-main.c: Use exit after usage.
4225
2d35e871
JK
42262016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4227
4228 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
4229 GDBHISTSIZE prior to the tests.
4230 * gdb.base/gdbinit-history.exp: Likewise.
4231
42322016-04-07 Pedro Alves <palves@redhat.com>
9553661a
PA
4233
4234 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
4235 instead of build_executable. Use gdb_load_shlibs.
4236
c8064e7e
YQ
42372016-04-07 Yao Qi <yao.qi@linaro.org>
4238
4239 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
4240 Execute "si" command.
4241
bde47561
YQ
42422016-04-07 Yao Qi <yao.qi@linaro.org>
4243
4244 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
4245 number instead of the comments on some line.
4246
b16f8a3b
DB
42472016-04-06 Don Breazeal <donb@codesourcery.com>
4248
4249 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
4250 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
4251
c2f901df
SM
42522016-04-06 Simon Marchi <simon.marchi@ericsson.com>
4253
4254 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
4255 standard_output_file. Remove unused binfile variable.
4256
ac17fda0
CU
42572016-04-05 Catalin Udma <catalin.udma@freescale.com>
4258
4259 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
4260 * gdb.python/py-mi-objfile.exp: Match "list main" output
4261 in console format.
4262
03a8c4df
SM
42632016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
4264
4265 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
4266 absolute.
4267
6e774b13
SM
42682016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4269
4270 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4271 absolute.
4272 * gdb.trace/ftrace.exp: Likewise.
4273 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
4274 targets as well.
4275 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
4276 (gdb_load_shlibs): Copy libraries to test directory when testing
4277 natively. Only set solib-search-path if testing remotely.
4278 * lib/mi-support.exp (mi_load_shlibs): Likewise.
4279
7817ea46
SM
42802016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4281
4282 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
4283 gdb_download. Use it even if the target is not remote.
4284 * gdb.base/jit.exp (compile_jit_test): Likewise.
4285 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
4286 output directory if the destination board is local, otherwise use
4287 the standard remote_download from DejaGnu.
4288 (gdb_download): Remove.
4289 (gdb_load_shlibs): Use gdb_remote_download instead of
4290 gdb_download.
4291 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4292 Use gdb_remote_download instead of gdb_download. Use it even if
4293 the target is not remote.
4294 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
4295 instead of gdb_download.
4296
7beb7f68
SM
42972016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
4298
4299 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
4300 (test_insert_delete_modify): Call mi_load_shlibs before trying to
4301 run.
4302
cc63428a
AV
43032016-04-01 Artemiy Volkov <artemiyv@acm.org>
4304
4305 PR gdb/19820
4306 * gdb.base/printcmds.exp: Add artificial arrays tests.
4307
64cdf930
PA
43082016-03-31 Pedro Alves <palves@redhat.com>
4309
4310 PR gdb/19858
4311 * gdb.base/jit-main.c: Include unistd.h.
4312 (ATTACH): Define to 0 if not already defined.
4313 (wait_for_gdb, mypid): New globals.
4314 (WAIT_FOR_GDB): New macro.
4315 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
4316 some breakpoint locations.
4317 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
4318 New procedures.
4319 (one_jit_test): Add REATTACH parameter, and handle it. Use
4320 continue_to_test_location.
4321 (top level): Test attach, and adjusts calls to one_jit_test.
4322
40dea8cb
PA
43232016-03-31 Pedro Alves <palves@redhat.com>
4324
4325 PR gdb/19858
4326 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
4327 BINSUFFIX parameter, and handle it.
4328 (top level): Adjust calls compile_jit_test.
4329
e7ea3ec7
CU
43302016-03-31 Catalin Udma <catalin.udma@freescale.com>
4331
4332 PR python/19743
4333 * gdb.python/py-mi-events-gdb.py: New file.
4334 * gdb.python/py-mi-events.c: New file.
4335 * gdb.python/py-mi-events.exp: New file.
4336
e6359af3
YQ
43372016-03-30 Yao Qi <yao.qi@linaro.org>
4338
4339 * gdb.reverse/until-precsave.exp: Match function name only.
4340 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
4341 Move malloc to a condition block.
4342 * gdb.reverse/until-reverse.exp: Match function name only.
4343
a4105d04
MK
43442016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
4345
4346 * gdb.trace/ftrace.exp: Set arg0exp for s390.
4347 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
4348 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
4349 variable for GPR 0 instead of assuming it is register 0.
4350 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
4351 * lib/trace-support.exp: Add s390 registers.
4352
bfa6adb9
YQ
43532016-03-29 Yao Qi <yao.qi@linaro.org>
4354
4355 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
4356
1e6697ea
YQ
43572016-03-24 Yao Qi <yao.qi@linaro.org>
4358
4359 * gdb.reverse/break-reverse.exp: Add quotation mark in the
4360 test message.
4361
64bcd522
AA
43622016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4363
4364 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
4365 maintaining separate logic for constructing the output path.
4366
7868401b
DB
43672016-03-16 Don Breazeal <donb@codesourcery.com>
4368
4369 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4370 Retry fork and waitpid on interrupted system call errors.
4371 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4372 Use with_timeout_factor to increase timeout by factor of 10.
4373
1cafadb4
DB
43742016-03-15 Don Breazeal <donb@codesourcery.com>
4375
4376 * gdb.cp/scope-err.cc: New test program.
4377 * gdb.cp/scope-err.exp: New test script.
4378 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
4379 lines and "set breakpoint here" comment.
4380 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
4381 Fixed some whitespace and format issues.
4382 * gdb.mi/mi-linespec-err-cp.cc: New test program.
4383 * gdb.mi/mi-linespec-err-cp.exp: New test script.
4384
81516450
DE
43852016-03-15 Doug Evans <dje@google.com>
4386
4387 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
4388 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
4389 All callers updated. Add tests for enums, mixed flags register.
4390
aa52b601
DE
43912016-03-15 Doug Evans <dje@google.com>
4392
4393 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4394 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4395
fa4ff313
SM
43962016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4397
4398 * gdb.base/default.exp: Add $_as_string to the list of expected
4399 convenience functions.
4400
f2403c39
AB
44012016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4402
4403 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4404
f2f3ccb9
SM
44052016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4406
4407 * gdb.python/py-as-string.exp: New file.
4408 * gdb.python/py-as-string.c: New file.
4409
00dbd492
PA
44102016-03-09 Pedro Alves <palves@redhat.com>
4411
4412 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4413 signal" -> "Thread NN received signal" output change.
4414 * gdb.threads/ia64-sigill.exp: Likewise.
4415 * gdb.threads/linux-dp.exp: Likewise.
4416 * gdb.threads/manythreads.exp: Likewise.
4417 * gdb.threads/pending-step.exp: Likewise.
4418 * gdb.threads/print-threads.exp: Likewise.
4419 * gdb.threads/sigstep-threads.exp: Likewise.
4420 * gdb.threads/staticthreads.exp: Likewise.
4421 * gdb.threads/tls.exp: Likewise.
4422
1e6697ea
YQ
44232016-03-09 Pedro Alves <palves@redhat.com>
4424
4425 * gdb.base/command-line-input.exp: New file.
4426
b04fd3be
MK
44272016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4428
4429 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4430 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4431 * gdb.trace/pending.exp: Accept leading dot before function name.
4432 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4433 * lib/trace-support.exp: Set registers for ppc.
4434
98fa59e9
MK
44352016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4436
4437 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4438 use it for disassembly; accept .main in addition to main in backtrace.
4439
f77198c8
MK
44402016-03-09 Wei-cheng Wang <cole945@gmail.com>
4441 Marcin Kościelnicki <koriakin@0x04.net>
4442
4443 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4444 (gdb_recursion_test_ptr): New global variable.
4445 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4446 gdb_recursion_test.
4447 (gdb_c_test): Ditto.
4448
ba84e0da
MK
44492016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4450
4451 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4452 ordering.
4453
4366d36e
MK
44542016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4455
4456 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4457 (bar): Add bar_start_lbl label.
4458 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4459 of foo/bar for emitting DWARF and tracing.
4460
5eb264df
SDJ
44612016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4462
4463 * analyze-racy-logs.py: Set executable bit.
4464
fb6a751f
SDJ
44652016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4466
4467 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4468 (CHECK_TARGET_TMP): Likewise.
4469 (check-single-racy): New rule.
4470 (check-parallel-racy): Likewise.
4471 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4472 (do-check-parallel-racy): New rule.
4473 (check-racy/%.exp): Likewise.
4474 * README (Racy testcases): New section.
4475 * analyze-racy-logs.py: New file.
4476
bdf7e230
DE
44772016-03-03 Doug Evans <dje@google.com>
4478
4479 * gdb.base/skip.exp: Use with_test_prefix.
4480
4719d415
YQ
44812016-03-03 Yao Qi <yao.qi@linaro.org>
4482
4483 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4484 Invoke step_over_syscall "clone" and break_cond_on_syscall
4485 "clone".
4486 * gdb.base/step-over-clone.c: New file.
4487
ea507862
YQ
44882016-03-03 Yao Qi <yao.qi@linaro.org>
4489
4490 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4491 code format.
4492
8fc8cbda
YQ
44932016-03-03 Yao Qi <yao.qi@linaro.org>
4494
4495 * gdb.base/disp-step-fork.c: Rename to ...
4496 * gdb.base/step-over-fork.c: ... it. New file.
4497 * gdb.base/disp-step-vfork.c: Rename to ...
4498 * gdb.base/step-over-vfork.c: ... it. New file.
4499 * gdb.base/disp-step-syscall.exp: Rename to ...
4500 * gdb.base/step-over-syscall.exp: ... it. New file.
4501 (disp_step_cross_syscall): Rename to ...
4502 (step_over_syscall): ... it.
4503
92fa70b0
YQ
45042016-03-03 Yao Qi <yao.qi@linaro.org>
4505
4506 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4507 If target supports condition evaluation on target, invoke
4508 break_cond_on_syscall for fork and vfork.
4509
e197ad3c
YQ
45102016-03-03 Yao Qi <yao.qi@linaro.org>
4511
4512 * gdb.base/disp-step-syscall.exp: Don't invoke
4513 support_displaced_stepping.
4514 (disp_step_cross_syscall): Test with displaced stepping off and
4515 on if supported.
4516
0b47da9f
YQ
45172016-03-03 Yao Qi <yao.qi@linaro.org>
4518
4519 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4520 proc.
4521 (setup): New proc.
4522 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4523 and setup.
4524
065ab6dc
BH
45252016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4526
4527 * gdb.fortran/vla-history.exp: Remove breakpoint.
4528
07e448ad 45292016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4530
25d49b86
PA
4531 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4532 exceeds timeout.
07e448ad 4533
9ac2d526 45342016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4535
25d49b86
PA
4536 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4537 breakpoint.
9ac2d526 4538
17807369
BH
45392016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4540
4541 * gdb.mi/vla.f90: Nullify pointer after declaration.
4542
86e501af
PA
45432016-03-01 Pedro Alves <palves@redhat.com>
4544
4545 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4546
1e903e32
PA
45472016-03-01 Pedro Alves <palves@redhat.com>
4548
4549 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4550 before anything else.
4551 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4552 _GNU_SOURCE here.
4553 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4554 before anything else.
4555 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4556
6ccb54e2
PA
45572016-03-01 Pedro Alves <palves@redhat.com>
4558
4559 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4560
30ca9da1
YQ
45612016-03-01 Yao Qi <yao.qi@linaro.org>
4562
4563 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4564 prepare_for_testing.
4565
dc856b38
YQ
45662016-03-01 Yao Qi <yao.qi@linaro.org>
4567
4568 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4569
4a932159
AA
45702016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4571
4572 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4573 manually constructing the output path.
4574
f2489477
AA
45752016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4576
4577 * gdb.arch/s390-stackless.S: New.
4578 * gdb.arch/s390-stackless.exp: New.
4579
38899f16
IB
45802016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4581
4582 * gdb.dlang/circular.c: New file.
4583 * gdb.dlang/circular.exp: New file.
4584
9fde51ed
YQ
45852016-02-26 Yao Qi <yao.qi@linaro.org>
4586
4587 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4588 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4589 (testcases): Update.
4590
ce90fefe
YQ
45912016-02-26 Yao Qi <yao.qi@linaro.org>
4592
4593 * gdb.reverse/aarch64.c: Rename to ...
4594 * gdb.reverse/insn-reverse.c: ... it.
4595 * gdb.reverse/aarch64.exp: Rename to ...
4596 * gdb.reverse/insn-reverse.exp: ... it.
4597
3263bceb
YQ
45982016-02-26 Yao Qi <yao.qi@linaro.org>
4599
4600 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4601 (testcase_ftype): New.
4602 (testcases): New array.
4603 (n_testcases): New.
4604 (main): Call each element in testcases.
4605 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4606 (read_testcase): New.
4607 Do the tests in a loop.
4608
6cb59ff1
YQ
46092016-02-25 Yao Qi <yao.qi@linaro.org>
4610
4611 * gdb.base/branches.c: Remove.
4612
ae91f625
MK
46132016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4614
4615 PR gdb/13808
4616 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4617
678b48b7
MK
46182016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4619
4620 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4621
7337a6f2
MK
46222016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4623
4624 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4625 change x86_64 call_insn to 'callq'.
4626
861ca91f
AT
46272016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4628
4629 * gdb.trace/tfile-avx.c: Move to...
4630 * gdb.trace/tracefile-pseudo-reg.c: Here.
4631 * gdb.trace/tfile-avx.exp: Move to...
4632 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4633
bf74e428
GB
46342016-02-24 Gary Benson <gbenson@redhat.com>
4635
4636 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4637 message on attach.
4638
cce0e923
DE
46392016-02-23 Doug Evans <dje@google.com>
4640
4641 * gdb.base/skip.c (test_skip): New function.
4642 (end_test_skip_file_and_function): New function.
4643 (test_skip_file_and_function): New function.
4644 * gdb.base/skip1.c (test_skip): New function.
4645 (skip1_test_skip_file_and_function): New function.
4646 * gdb.base/skip.exp: Add tests for new skip options.
4647 * gdb.base/skip-solib.exp: Update expected output.
4648 * gdb.perf/skip-command.cc: New file.
4649 * gdb.perf/skip-command.exp: New file.
4650 * gdb.perf/skip-command.py: New file.
4651
4000e47e
MK
46522016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4653
4654 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4655 info registers pattern.
4656
24f75ead
IB
46572016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4658
4659 * lib/future.exp: Add D support.
4660 (gdb_find_gdc): New proc.
4661 (gdb_default_target_compile): Add D support.
4662
fbb7bcbe
WW
46632016-02-18 Wei-cheng Wang <cole945@gmail.com>
4664
4665 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4666 user+system time.
4667 (trace_speed_test): Determine the iteration count for a time
4668 between 15..30 seconds.
4669
012b3a21
WT
46702016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4671
4672 * gdb.arch/i386-mpx-sigsegv.c: New file.
4673 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4674 * gdb.arch/i386-mpx-simple_segv.c: New file.
4675 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4676
2d5189bd
YQ
46772016-02-18 Yao Qi <yao.qi@linaro.org>
4678
4679 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4680 Don't call setup_kfail.
4681
40fb20d0
YQ
46822016-02-18 Yao Qi <yao.qi@linaro.org>
4683
4684 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4685 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4686
21b1f8d2
DE
46872016-02-16 Doug Evans <dje@google.com>
4688
4689 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4690 * gdb.base/skip1.c: Ditto.
4691 * gdb.base/skip.exp: Whitespace cleanup.
4692
4041ed77
DB
46932016-02-16 Don Breazeal <donb@codesourcery.com>
4694
4695 PR remote/19496
4696 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4697 Remove kfail for PR remote/19496.
4698
c4ef31bf
SM
46992016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4700
4701 * lib/gdb.exp (standard_temp_file): Return a path specific to
4702 the runtest invocation.
4703
266b65b3
SM
47042016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4705
4706 * gdb.trace/save-trace.exp: Change relative path to be in the
4707 standard output directory.
4708
a7a0a6a9
JK
47092016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4710
4711 * gdb.arch/i386-prologue.c: Add missing prototypes.
4712
c99dbb42
JK
47132016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4714
4715 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4716 * gdb.arch/i386-prologue.exp: Likewise.
4717 * gdb.arch/i386-size.exp: Likewise.
4718
aa480355
SM
47192016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4720
4721 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4722 define object file path.
4723 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4724 file path.
4725 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4726 standard_output_file to define binfile.
4727
ba881f50
JK
47282016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4729
4730 Fix compatibility with recent gfortran-5.3.1.
4731 * gdb.fortran/vla-history.exp (print vla1 allocated)
4732 (print vla2 allocated, print $2, print $3): Remove
4733 (print $4): Rename to ...
4734 (print $2): ... here.
4735 (print $9): Rename to ...
4736 (print $5): ... here.
4737 (print $10): Rename to ...
4738 (print $6): ... here.
4739 * gdb.fortran/vla.f90: Add pvla initialization.
4740
e9fb005c
JK
47412016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4742
4743 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4744 New test.
4745 * gdb.fortran/vla-value-sub.exp: Likewise.
4746
e44e00ff
MK
47472016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4748
4749 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4750
97e94151
SM
47512016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4752
4753 * i386-biarch-core.exp: Define corefile using
4754 standard_output_file.
4755
01113bc1
YQ
47562016-02-12 Yao Qi <yao.qi@linaro.org>
4757
4758 * gdb.arch/arm-single-step-kernel-helper.c: New.
4759 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4760
33b4777c
MM
47612016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4762
4763 * gdb.btrace/tailcall-only.exp: New.
4764 * gdb.btrace/tailcall-only.c: New.
4765 * gdb.btrace/x86_64-tailcall-only.S: New.
4766 * gdb.btrace/i686-tailcall-only.S: New.
4767
acc23c11
PA
47682016-02-11 Pedro Alves <palves@redhat.com>
4769
4770 * README (Parallel testing): Add missing double quotes.
4771
e352bf0a
PA
47722016-02-11 Pedro Alves <palves@redhat.com>
4773
4774 * README (Parallel testing): New section.
4775 (GDB_PARALLEL): Rewrite.
4776 (FORCE_PARALLEL): Document.
4777
9f5fed78
MK
47782016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4779
4780 * gdb.trace/tfile-avx.c: New test.
4781 * gdb.trace/tfile-avx.exp: New test.
4782
9ef9e6a6
KS
47832016-02-09 Keith Seitz <keiths@redhat.com>
4784
4785 PR breakpoints/19546
4786 * gdb.base/infcall-exec.c: New file.
4787 * gdb.base/infcall-exec2.c: New file.
4788 * gdb.base/infcall-exec.exp: New file.
4789
a96e36da
KS
47902016-02-09 Keith Seitz <keiths@redhat.com>
4791
4792 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4793 (toplevel): Call test_bkpt_address.
4794
9f61929f
KS
47952016-02-09 Keith Seitz <keiths@redhat.com>
4796
4797 PR python/19506
4798 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4799 (toplevel): Call test_bkpt_address.
4800
1e94266c
SM
48012016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4802
4803 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4804 to AC_OUTPUT.
4805 * configure: Regenerate.
4806
2a7f3dff
PA
48072016-02-09 Pedro Alves <palves@redhat.com>
4808
4809 PR breakpoints/19548
4810 * gdb.base/execl-update-breakpoints.c (some_function): New
4811 function.
4812 (main): Call it.
4813 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4814 Tighten expected GDB output.
4815
2151ccc5
SM
48162016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4817
4818 * Makefile.in (ALL_SUBDIRS): Remove.
4819 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4820 (distclean maintainer-clean realclean): Likewise.
4821 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4822 * configure: Regenerate.
4823 * gdb.ada/Makefile.in: Delete.
4824 * gdb.arch/Makefile.in: Likewise.
4825 * gdb.asm/Makefile.in: Likewise.
4826 * gdb.base/Makefile.in: Likewise.
4827 * gdb.btrace/Makefile.in: Likewise.
4828 * gdb.cell/Makefile.in: Likewise.
4829 * gdb.compile/Makefile.in: Likewise.
4830 * gdb.cp/Makefile.in: Likewise.
4831 * gdb.disasm/Makefile.in: Likewise.
4832 * gdb.dlang/Makefile.in: Likewise.
4833 * gdb.dwarf2/Makefile.in: Likewise.
4834 * gdb.fortran/Makefile.in: Likewise.
4835 * gdb.gdb/Makefile.in: Likewise.
4836 * gdb.go/Makefile.in: Likewise.
4837 * gdb.guile/Makefile.in: Likewise.
4838 * gdb.java/Makefile.in: Likewise.
4839 * gdb.linespec/Makefile.in: Likewise.
4840 * gdb.mi/Makefile.in: Likewise.
4841 * gdb.modula2/Makefile.in: Likewise.
4842 * gdb.multi/Makefile.in: Likewise.
4843 * gdb.objc/Makefile.in: Likewise.
4844 * gdb.opencl/Makefile.in: Likewise.
4845 * gdb.opt/Makefile.in: Likewise.
4846 * gdb.pascal/Makefile.in: Likewise.
4847 * gdb.perf/Makefile.in: Likewise.
4848 * gdb.python/Makefile.in: Likewise.
4849 * gdb.reverse/Makefile.in: Likewise.
4850 * gdb.server/Makefile.in: Likewise.
4851 * gdb.stabs/Makefile.in: Likewise.
4852 * gdb.threads/Makefile.in: Likewise.
4853 * gdb.trace/Makefile.in: Likewise.
4854 * gdb.xml/Makefile.in: Likewise.
4855 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4856 GDB_PARALLEL.
4857 (standard_output_file): Remove check for GDB_PARALLEL, always
4858 return path in outputs/$subdir/$testname.
4859
437277d4
SM
48602016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4861
4862 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4863 (site.exp): Assign abs_srcdir to tcl's srcdir.
4864
31d913c7
YQ
48652016-02-04 Yao Qi <yao.qi@linaro.org>
4866
4867 * gdb.base/foll-exec-mode.c: Include limits.h.
4868 (main): Add parameters argc and argv. Get directory from
4869 argv[0].
4870 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4871 compilation.
4872 * gdb.base/foll-exec.c: Include limits.h.
4873 (main): Add parameters argc and argv.
4874 Get directory from argv[0].
4875 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4876 Adjust tests on the number of lines as source code changed.
4877 * gdb.base/foll-vfork-exit.c: Include limits.h.
4878 (main): Add one line of statement before vfork.
4879 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4880 (main): Add parameters argc and argv. Get directory from
4881 argv[0].
4882 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4883 (setup_gdb): Set tbreak to skip some source lines.
4884 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4885 (main): Add parameters argc and argv. Get directory from
4886 argv[0].
4887 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4888 compilation.
4889 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4890 (main): Add parameters argc and argv. Get directory from
4891 argv[0].
4892 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4893 compilation.
4894
9482b9fb
DE
48952016-02-01 Doug Evans <dje@google.com>
4896
4897 * gdb.base/skip.exp: Clean up multiple references to same test name.
4898
6b2e4f10
PA
48992016-02-01 Pedro Alves <palves@redhat.com>
4900
ccb6afd6 4901 PR remote/19496
6b2e4f10
PA
4902 * gdb.threads/forking-threads-plus-breakpoint.exp
4903 (displaced_stepping_supported): New global.
4904 (probe_displaced_stepping_support): New procedure.
4905 (do_test): Add 'displaced' parameter, and use it.
4906 (top level): Check for displaced stepping support. Add displaced
4907 stepping on/off testing axis.
4908
37a8db1a
AB
49092016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4910
4911 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4912 pointer. Don't perform further tests on the unassociated pointer
4913 if the first test fails.
4914
5fdf6324
AB
49152016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4916
4917 * gdb.base/max-value-size.c: New file.
4918 * gdb.base/max-value-size.exp: New file.
4919 * gdb.base/huge.exp: Disable max-value-size for this test.
4920
935c6144
IB
49212016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4922
4923 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4924
7fe8399d
YQ
49252016-01-28 Yao Qi <yao.qi@linaro.org>
4926
4927 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4928
a2077e25
PA
49292016-01-25 Pedro Alves <palves@redhat.com>
4930
4931 PR threads/19461
4932 * gdb.base/fork-running-state.c: New file.
4933 * gdb.base/fork-running-state.exp: New file.
4934
1d2736d4
PA
49352016-01-25 Pedro Alves <palves@redhat.com>
4936
4937 PR gdb/19494
4938 * gdb.base/catch-fork-kill.c: New file.
4939 * gdb.base/catch-fork-kill.exp: New file.
4940
f1da4b11
PA
49412016-01-25 Pedro Alves <palves@redhat.com>
4942
4943 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4944 Delete, moved to lib/gdb.exp.
4945 * gdb.threads/forking-threads-plus-breakpoint.exp
4946 (foreach_with_prefix): Likewise.
4947 * gdb.threads/process-dies-while-handling-bp.exp
4948 (foreach_with_prefix): Likewise.
4949 * lib/gdb.exp (foreach_with_prefix): New procedure.
4950
45f38546
MK
49512016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4952
4953 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4954 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4955
dc29a1ce
MK
49562016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4957
4958 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4959 endian targets.
4960
092127d7
JK
49612016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4962 Pedro Alves <palves@redhat.com>
4963
4964 Fix testsuite compatibility with Guile.
4965 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4966 number.
4967
31d765d3
JK
49682016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4969
4970 Fix testsuite compatibility with Guile.
4971 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4972 (thread 1): New test for backtrace through signal handler.
4973
1ac78c04
YQ
49742016-01-22 Yao Qi <yao.qi@linaro.org>
4975
4976 PR testsuite/19491
4977 * gdb.base/multi-forks.c: Include
4978 ../lib/unbuffer_output.c
4979 (main): Call gdb_unbuffer_output.
4980
4f5946a8
DE
49812016-01-21 Doug Evans <dje@google.com>
4982
4983 * lib/ada.exp (gdb_compile_ada): Fix typo.
4984
305e13e6
JB
49852016-01-21 Joel Brobecker <brobecker@adacore.com>
4986
4987 * gdb.base/break-fun-addr.exp: New file.
4988 * gdb.base/break-fun-addr1.c: New file.
4989 * gdb.base/break-fun-addr2.c: New file.
4990
5f5dfff6
SM
49912016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4992
4993 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4994 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4995 enum flag values.
4996
fd356fa2
AA
49972016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4998
4999 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
5000 when GDB can not set the vector return value. Add more comments
5001 for clarification.
5002
9df22175
AT
50032016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
5004
5005 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
5006 command.
5007
41d1845e
SM
50082016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5009
5010 * Makefile.in (DO_RUNTEST): Add --status and update usages.
5011
01ac6840
SM
50122016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5013
5014 * Makefile.in (check-single): Pass --status to runtest.
5015 (check/%.exp): Likewise.
5016
50172016-01-19 Simon Marchi <simon.marchi@ericsson.com>
5018
5019 * Makefile.in (check-parallel): Propagate return code from make
5020 do-check-parallel.
5021
bd0a71fa
MK
50222016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
5023
5024 * gdb.trace/ftrace.exp: Fix expected message on continue.
5025 * gdb.trace/pending.exp: Fix expected message on continue.
5026 * gdb.trace/trace-break.exp: Fix expected message on continue.
5027
8bcbad33
SM
50282016-01-18 Simon Marchi <simon.marchi@ericsson.com>
5029
5030 * lib/gdb.exp (gdb_test): Remove unused global references.
5031
f303dbd6
PA
50322016-01-18 Pedro Alves <palves@redhat.com>
5033
5034 * gdb.base/async-shell.exp: Adjust expected output.
5035 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
5036 * gdb.base/siginfo-thread.exp: Adjust expected output.
5037 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
5038 * gdb.java/jnpe.exp: Adjust expected output.
5039 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
5040 * gdb.threads/continue-pending-status.exp: Adjust expected output.
5041 * gdb.threads/leader-exit.exp: Adjust expected output.
5042 * gdb.threads/manythreads.exp: Adjust expected output.
5043 * gdb.threads/pthreads.exp: Adjust expected output.
5044 * gdb.threads/schedlock.exp: Adjust expected output.
5045 * gdb.threads/siginfo-threads.exp: Adjust expected output.
5046 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
5047 expected output.
5048 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
5049 output.
5050 * gdb.threads/sigthread.exp: Adjust expected output.
5051 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
5052
b2789696
YQ
50532016-01-18 Yao Qi <yao.qi@linaro.org>
5054
5055 * gdb.guile/scm-section-script.c: Replace @progbits with
5056 %progbits.
5057 * gdb.python/py-section-script.c: Likewise.
5058
71ef29a8
PA
50592016-01-15 Pedro Alves <palves@redhat.com>
5060
5061 * gdb.multi/tids.exp: Test star wildcard ranges.
5062
3f5b7598
PA
50632016-01-15 Pedro Alves <palves@redhat.com>
5064
5065 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
5066 command from "thread apply" invocation.
5067 (thr_apply_info_thr_invalid): Default the expected output to the
5068 input tid list.
5069 (top level): Add tests that use convenience variables. Add tests
5070 for "thread apply" with a valid TID list, but missing the command.
5071
663f6d42
PA
50722016-01-13 Pedro Alves <palves@redhat.com>
5073
5074 * gdb.base/default.exp: Expect $_gthread as well.
5075 * gdb.multi/tids.exp: Test $_gthread.
5076 * gdb.threads/thread-specific.exp: Test $_gthread.
5077
c84f6bbf
PA
50782016-01-13 Pedro Alves <palves@redhat.com>
5079
5080 * gdb.multi/tids.exp: Test "info threads -gid".
5081
22a02324
PA
50822016-01-13 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.multi/tids.exp: Test InferiorThread.global_num and
5085 Breakpoint.thread.
5086 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
5087
5d5658a1
PA
50882016-01-07 Pedro Alves <palves@redhat.com>
5089
5090 * gdb.base/break.exp: Adjust to output changes.
5091 * gdb.base/hbreak2.exp: Likewise.
5092 * gdb.base/sepdebug.exp: Likewise.
5093 * gdb.base/watch_thread_num.exp: Likewise.
5094 * gdb.linespec/keywords.exp: Likewise.
5095 * gdb.multi/info-threads.exp: Likewise.
5096 * gdb.threads/thread-find.exp: Likewise.
5097 * gdb.multi/tids.c: New file.
5098 * gdb.multi/tids.exp: New file.
5099
84654457
PA
51002016-01-13 Pedro Alves <palves@redhat.com>
5101
5102 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
5103
e3940304
PA
51042016-01-13 Pedro Alves <palves@redhat.com>
5105
5106 * gdb.base/default.exp: Expect $_inferior as well.
5107 * gdb.multi/base.exp: Test $_inferior.
5108
a911d87a
PA
51092016-01-13 Pedro Alves <palves@redhat.com>
5110
5111 PR breakpoints/19388
5112 * gdb.base/catch-signal-siginfo-cond.c: New file.
5113 * gdb.base/catch-signal-siginfo-cond.exp: New file.
5114
82075af2
JS
51152016-01-12 Josh Stone <jistone@redhat.com>
5116 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5117
5118 * gdb.base/catch-syscall.c (do_execve): New variable.
5119 (main): Conditionally trigger an execve.
5120 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
5121 (test_catch_syscall_execve): New, check entry/return across execve.
5122 (do_syscall_tests): Call test_catch_syscall_execve.
5123
e46eeedd
PA
51242016-01-12 Pedro Alves <palves@redhat.com>
5125
5126 * gdb.base/random-signal.exp (do_test): New procedure, with body
5127 of testcase moved in.
5128
01d8c27e
JK
51292016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5130 Pedro Alves <palves@redhat.com>
5131
5132 * gdb.base/funcargs.exp (finish from indirectly called function):
5133 Reintroduce the case for 'First'.
5134
9a706302
JK
51352016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5136 Pedro Alves <palves@redhat.com>
5137
5138 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5139 (tcatch_vfork_then_child_follow_exec)
5140 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
5141 identification.
5142
c0ecb95f
JK
51432016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5144
5145 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
5146 and repeats to unlimited.
5147 * gdb.python/py-value.exp: Likewise.
5148 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
5149 and repeats to unlimited.
5150
6cfc1fcb
JK
51512016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5152
5153 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
5154 and reordering the functions.
5155 * gdb.multi/hangout.c: Likewise.
5156 * gdb.multi/hello.c: Likewise.
5157
582a1b00
SM
51582016-01-08 Simon Marchi <simon.marchi@ericsson.com>
5159
5160 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
5161 absolute.
5162 (SingleStatisticTestResult.report): Use dict.keys instead of
5163 dict.iterkeys.
5164
79bc59cb
PA
51652016-01-06 Pedro Alves <palves@redhat.com>
5166
5167 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
5168
43368e1d
MM
51692016-01-04 Markus Metzger <markus.t.metzger@intel.com>
5170
5171 * gdb.btrace/dlopen.exp: New.
5172 * gdb.btrace/dlopen.c: New.
5173 * gdb.btrace/dlopen-dso.c: New.
5174
79fad5b8
SL
51752015-12-25 Sandra Loosemore <sandra@codesourcery.com>
5176
5177 * lib/gdb.exp (gdb_test): Update comments to clarify that the
5178 PATTERN argument is optional.
5179
ab8314b3
JB
51802015-12-24 Joel Brobecker <brobecker@adacore.com>
5181
5182 * lib/ada.exp (target_compile_ada_from_dir): New function.
5183 (gdb_compile_ada): Reimplement avoiding the use of project files.
5184 * gdb.ada/gnat_ada.gpr: Delete.
5185 * gdb.ada/cond_lang.exp: Adjust test to make path before
5186 filename optional.
5187 * gdb.ada/small_reg_param.exp: Likewise.
5188
fe33faff
SM
51892015-12-22 Simon Marchi <simon.marchi@ericsson.com>
5190
5191 * gdb.base/foll-vork.exp: Remove HP-UX special case.
5192
6d265cb4
TP
51932015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
5194
5195 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
5196 case.
5197
10125099
SM
51982015-12-21 Simon Marchi <simon.marchi@ericsson.com>
5199
5200 * gdb.base/break.exp: Remove dead code.
5201 * gdb.base/sepdebug.exp: Likewise.
5202
3ca22649
SM
52032015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5204
5205 * gdb.asm/asm-source.exp: Remove HP-UX references.
5206 * gdb.base/annota1.exp: Likewise.
5207 * gdb.base/annota3.exp: Likewise.
5208 * gdb.base/attach.exp: Likewise.
5209 * gdb.base/bigcore.exp: Likewise.
5210 * gdb.base/break.exp: Likewise.
5211 * gdb.base/call-ar-st.exp: Likewise.
5212 * gdb.base/callfuncs.exp: Likewise.
5213 * gdb.base/catch-fork-static.exp: Likewise.
5214 * gdb.base/display.exp: Likewise.
5215 * gdb.base/foll-exec-mode.exp: Likewise.
5216 * gdb.base/foll-exec.exp: Likewise.
5217 * gdb.base/foll-fork.exp: Likewise.
5218 * gdb.base/foll-vfork.exp: Likewise.
5219 * gdb.base/funcargs.exp: Likewise.
5220 * gdb.base/hbreak2.exp: Likewise.
5221 * gdb.base/inferior-died.exp: Likewise.
5222 * gdb.base/interrupt.exp: Likewise.
5223 * gdb.base/multi-forks.exp: Likewise.
5224 * gdb.base/nodebug.exp: Likewise.
5225 * gdb.base/sepdebug.exp: Likewise.
5226 * gdb.base/solib1.c: Likewise.
5227 * gdb.base/step-test.exp: Likewise.
5228 * gdb.mi/non-stop.c: Likewise.
5229 * gdb.mi/pthreads.c: Likewise.
5230 * gdb.multi/bkpt-multi-exec.ex: Likewise.
5231 * gdb.threads/pthreads.c: Likewise.
5232 * gdb.threads/staticthreads.exp: Likewise.
5233 * lib/future.exp: Likewise.
5234 * lib/gdb.exp: Likewise.
5235 * gdb.base/so-indr-cl.c: Remove.
5236 * gdb.base/so-indr-cl.exp: Likewise.
5237 * gdb.base/solib.c: Likewise.
5238 * gdb.base/solib.exp: Likewise.
5239 * gdb.base/solib2.c: Likewise.
5240
b6304613
SM
52412015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
5242
5243 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
5244 * gdb.base/call-ar-st.exp: Likewise.
5245 * gdb.base/callfuncs.exp: Likewise.
5246 * gdb.base/condbreak.exp: Likewise.
5247 * gdb.base/constvars.exp: Likewise.
5248 * gdb.base/hbreak2.exp: Likewise.
5249 * gdb.base/langs.exp: Likewise.
5250 * gdb.base/list.exp: Likewise.
5251 * gdb.base/long_long.exp: Likewise.
5252 * gdb.base/ptype.exp: Likewise.
5253 * gdb.base/scope.exp: Likewise.
5254 * gdb.base/signals.exp: Likewise.
5255 * gdb.base/so-impl-ld.exp: Likewise.
5256 * gdb.base/varargs.exp: Likewise.
5257 * gdb.base/volatile.exp: Likewise.
5258 * gdb.base/whatis.exp: Likewise.
5259 * gdb.cp/cplusfuncs.exp: Likewise.
5260 * gdb.cp/inherit.exp: Likewise.
5261 * gdb.cp/local.exp: Likewise.
5262 * gdb.cp/member-ptr.exp: Likewise.
5263 * gdb.cp/method.exp: Likewise.
5264 * gdb.cp/overload.exp: Likewise.
5265 * gdb.cp/templates.exp: Likewise.
5266 * gdb.stabs/weird.exp: Likewise.
5267 * lib/compiler.c: Likewise.
5268 * lib/compiler.cc: Likewise.
5269 * lib/cp-support.exp: Likewise.
5270 * lib/gdb.exp: Likewise.
5271
bf401b07
SM
52722015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
5273
5274 * configure.ac: Remove HP-UX case.
5275 * configure: Regenerate.
5276
aff9c0f8
SM
52772015-12-18 Simon Marchi <simon.marchi@ericsson.com>
5278
5279 * lib/gdb.exp (gdb_compile): Add function doc.
5280
a6904d5a
PA
52812015-12-17 Pedro Alves <palves@redhat.com>
5282
5283 PR threads/19354
5284 * gdb.multi/info-threads.exp: New file.
5285
a22279dd
YQ
52862015-12-15 Yao Qi <yao.qi@linaro.org>
5287
5288 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
5289 is aarch64*-*-*.
5290
0588c796
SL
52912015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5292
5293 * gdb.base/history-duplicates.exp: Skip if no readline support.
5294
5d978e17
SL
52952015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5296
5297 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
5298
7e763b86
SL
52992015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5300
5301 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
5302
87a3a92c
SL
53032015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5304
5305 * gdb.base/completion.exp: Skip tests that interrupt GDB with
5306 ctrl-C if nointerrupts target property is set.
5307 * gdb.base/double-prompt-target-event-error.exp: Likewise.
5308 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
5309 * gdb.base/paginate-bg-execution.exp: Likewise.
5310 * gdb.base/paginate-execution-startup.exp: Likewise.
5311 * gdb.base/random-signal.exp: Likewise.
5312 * gdb.base/range-stepping.exp: Likewise.
5313 * gdb.cp/annota2.exp: Likewise.
5314 * gdb.cp/annota3.exp: Likewise.
5315 * gdb.gdb/selftest.exp: Likewise.
5316 * gdb.threads/continue-pending-status.exp: Likewise.
5317 * gdb.threads/leader-exit.exp: Likewise.
5318 * gdb.threads/manythreads.exp: Likewise.
5319 * gdb.threads/pthreads.exp: Likewise.
5320 * gdb.threads/schedlock.exp: Likewise.
5321 * gdb.threads/sigthread.exp: Likewise.
5322
a8f077dc
DB
53232015-12-11 Don Breazeal <donb@codesourcery.com>
5324
5325 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
5326 remote.
5327 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
5328 * gdb.base/foll-exec.exp (main): Enable for target remote.
5329 * gdb.base/foll-fork.exp (main): Likewise.
5330 * gdb.base/foll-vfork.exp (main): Likewise.
5331 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
5332 (proc continue_to_exit_bp_loc): Use clean_restart.
5333 * gdb.base/pie-execl.exp (main): Disable for target remote.
5334 * gdb.base/watch-vfork.exp (main): Enable for target remote.
5335 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
5336 * gdb.threads/execl.exp (main): Likewise.
5337 * gdb.threads/fork-child-threads.exp (main): Likewise.
5338 * gdb.threads/fork-plus-threads.exp (main): Disable for target
5339 remote.
5340 * gdb.threads/fork-thread-pending.exp (main): Enable for target
5341 remote.
5342 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
5343 pid.tid style ptids, instead of just tid.
5344 * gdb.threads/thread-execl.exp (main): Enable for target remote.
5345 * gdb.threads/watchpoint-fork.exp (main): Likewise.
5346 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
5347 ptids, instead of just tid.
5348
3b2464a8
AB
53492015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5350
5351 * gdb.base/list.exp (test_list_forward): Add end of file error
5352 test.
5353 (test_repeat_list_command): Add end of file error test.
5354 (test_list_backwards): Add beginning of file error test.
5355
a0def019
AB
53562015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5357
5358 * gdb.base/list.exp (test_list_invalid_args): New function,
5359 defined, and called.
5360
5c000dff
AB
53612015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5362
5363 * gdb.base/list.exp (test_list): Make test names unique.
5364
f1637ebe
YQ
53652015-12-11 Yao Qi <yao.qi@linaro.org>
5366
5367 * gdb.base/coremaker2.c: Remove.
5368
36d6fc0a
PA
53692015-12-10 Pedro Alves <palves@redhat.com>
5370
5371 * gdb.multi/base.exp: Remove stale "spaces" references.
5372
762f7747
PA
53732015-12-10 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.multi/base.exp: Don't use nowarnings.
5376 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
5377 * gdb.multi/hangout.c: Include stdio.h.
5378 * gdb.multi/hello.c: Include stdlib.h.
5379 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
5380 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
5381 * gdb.multi/multi-arch.exp: Don't use nowarnings.
5382
28d2bfb9
AB
53832015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
5384
5385 * gdb.dwarf2/dw2-ranges-base.c: New file.
5386 * gdb.dwarf2/dw2-ranges-base.exp: New file.
5387 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
5388 support additional line table, and debug ranges generation.
5389 (Dwarf::ranges): New function, generate .debug_ranges.
5390 (Dwarf::lines): Support generating simple line table programs.
5391 (Dwarf::assemble): Initialise new namespace variables.
5392
5fc2beac
KB
53932015-12-09 Kevin Buettner <kevinb@redhat.com>
5394
5395 * gdb.base/async.exp (proc test_background): Add case for
5396 asynchronous execution not supported.
5397
1c35a88f
LM
53982015-12-09 Luis Machado <lgustavo@codesourcery.com>
5399
5400 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5401 format and change test names to make them unique.
5402
b593e3d9
RK
54032015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5404 Pedro Alves <pedro@redhat.com>
5405
5406 PR gdb/18702
5407 Add checking of floatformats setup on x86_64 hosts.
5408 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5409 (smallval, bigval): New labels/constants.
5410 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5411 float" after loading bigval and smallval.
5412
d72413e6
PMR
54132015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5414
5415 * gdb.ada/fun_overload_menu.exp: New testcase.
5416 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5417
ece66d65
JS
54182015-12-04 Josh Stone <jistone@redhat.com>
5419
5420 * gdb.base/catch-fork-static.exp: New.
5421
41d0efca
YQ
54222015-12-03 Yao Qi <yao.qi@linaro.org>
5423
5424 * gdb.base/sizeof.c: Don't include stdio.h and
5425 ../lib/unbuffer_output.c.
5426 (main): New variable 'size' and 'value'. Remove printf and
5427 gdb_unbuffer_output. Assign return value to size and value.
5428 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5429 at the beginning.
5430 (check_sizeof): Check the result by printing variable 'size'.
5431 (check_valueof): Check the result by printing variable 'value'.
5432
99fd02d9
YQ
54332015-12-01 Yao Qi <yao.qi@linaro.org>
5434
5435 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5436 for aarch64*-*-linux* target.
5437
f2faf941
PA
54382015-11-30 Pedro Alves <palves@redhat.com>
5439
5440 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5441
04bf20c5
PA
54422015-11-30 Pedro Alves <palves@redhat.com>
5443
5444 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5445 Handle non-stop mode vCont replies.
5446
09df4675
PA
54472015-11-30 Pedro Alves <palves@redhat.com>
5448
5449 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5450 prepare_for_testing. Start gdb with "set non-stop on" appended to
5451 GDBFLAGS. Lax expected stop output.
5452
58b584af
YQ
54532015-11-27 Yao Qi <yao.qi@linaro.org>
5454
5455 * gdb.arch/arm-neon.exp: New.
5456 * gdb.arch/arm-neon.c: New.
5457
dfcb77a8
YQ
54582015-11-27 Yao Qi <yao.qi@linaro.org>
5459
5460 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5461
88e8ec1b
YQ
54622015-11-27 Yao Qi <yao.qi@linaro.org>
5463
5464 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5465 frames-invalid annotation.
5466
bfde72c2
YQ
54672015-11-27 Yao Qi <yao.qi@linaro.org>
5468
5469 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5470
f6512a69
SM
54712015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5472
5473 * gdb.threads/names.exp: New file.
5474 * gdb.threads/names.c: New file.
5475 * README: Mention gdb,no_thread_names.
5476
46a3515b
MM
54772015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5478
5479 PR 19297
5480 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5481 support" error.
5482
62147a22
PA
54832015-11-24 Pedro Alves <palves@redhat.com>
5484
5485 PR 17539
5486 * gdb.base/display.exp: Expect displays to be sorted in ascending
5487 order. Use multi_line.
5488 * gdb.base/solib-display.exp: Likewise.
5489
2f341b6e
PA
54902015-11-24 Pedro Alves <palves@redhat.com>
5491
5492 PR 17539
25d49b86
PA
5493 * gdb.base/display.exp: Expect displays to be sorted in ascending
5494 order. Use multi_line.
5495 * gdb.base/solib-display.exp: Likewise.
2f341b6e 5496
7e0aa6aa
PA
54972015-11-24 Pedro Alves <palves@redhat.com>
5498
5499 PR 17539
5500 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5501 threads in ascending order.
5502 * gdb.base/foll-fork.exp: Likewise.
5503 * gdb.base/foll-vfork.exp: Likewise.
5504 * gdb.base/multi-forks.exp: Likewise.
5505 * gdb.mi/mi-nonstop.exp: Likewise.
5506 * gdb.mi/mi-nsintrall.exp: Likewise.
5507 * gdb.multi/base.exp: Likewise.
5508 * gdb.multi/multi-arch.exp: Likewise.
5509 * gdb.python/py-inferior.exp: Likewise.
5510 * gdb.threads/break-while-running.exp: Likewise.
5511 * gdb.threads/execl.exp: Likewise.
5512 * gdb.threads/gcore-thread.exp: Likewise.
5513 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5514 * gdb.threads/kill.exp: Likewise.
5515 * gdb.threads/linux-dp.exp: Likewise.
5516 * gdb.threads/multiple-step-overs.exp: Likewise.
5517 * gdb.threads/next-bp-other-thread.exp: Likewise.
5518 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5519 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5520 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5521 * gdb.threads/thread-find.exp: Likewise.
5522 * gdb.threads/tls.exp: Likewise.
5523 * lib/mi-support.exp (mi_reverse_list): Delete.
5524 (mi_check_thread_states): No longer reverse list.
5525
2cc57ad8
PA
55262015-11-24 Pedro Alves <palves@redhat.com>
5527
5528 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5529 use lowercase.
5530
c93e8391
SM
55312015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5532
5533 * gdb.trace/actions.c: Include trace-common.h.
5534 (main): Add a location for a fast tracepoint.
5535 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5536 the normal tracepoints.
5537 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5538
045ccf91
SM
55392015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5540
5541 * save-trace.exp: Factor out code to these...
5542 (gdb_save_tracepoints): New.
5543 (gdb_load_tracepoints): New.
5544 (do_save_load_test): New.
5545
5506f9f6
KB
55462015-11-23 Kevin Buettner <kevinb@redhat.com>
5547
5548 * gdb.base/asmlabel.exp: New test.
5549 * gdb.base/asmlabel.c: New test case.
5550
16c3b12f
JB
55512015-11-23 Joel Brobecker <brobecker@adacore.com>
5552
5553 * gdb.base/wrong_frame_bt_full-main.c: New file.
5554 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5555 * gdb.base/wrong_frame_bt_full.exp: New file.
5556
155bfbd3
JB
55572015-11-23 Joel Brobecker <brobecker@adacore.com>
5558
5559 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5560
bb097445
JM
55612015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5562
206853a0 5563 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
bb097445
JM
5564 pstate register when comparing registers values in
5565 sparc64-*-linux-gnu targets to avoid spurious differences.
5566
9c88ed8f
JM
55672015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5568
206853a0 5569 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
9c88ed8f 5570
96161e25
SL
55712015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5572
5573 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5574 as type argument to gdb_compile.
5575 * gdb.base/nested-subp2.exp: Likewise.
5576 * gdb.base/nested-subp3.exp: Likewise.
5577
340c2830
DV
55782015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5579
5580 * lib/dwarf.exp (_note): Fix left shift of negative value.
5581 * gdb.trace/trace-condition.exp: Likewise.
5582
c1862d0f
YQ
55832015-11-13 Yao Qi <yao.qi@linaro.org>
5584
5585 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5586 comments about d10v.
5587 (test_scalar_returns): Likewise.
5588 * gdb.base/d10v.ld: Remove.
5589 * gdb.base/overlays.exp: Remove the target triplet checking for
5590 d10v-*-*.
5591 * gdb.base/structs.exp (test_struct_returns): Remove the
5592 comments about d10v.
5593 (test_struct_calls): Likewise.
5594
77ae9c19
YQ
55952015-11-13 Yao Qi <yao.qi@linaro.org>
5596
5597 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5598 * gdb.base/gnu_vector.c: Don't include stdio.h.
5599 (main): Don't print res and call add_some_intvecs.
5600
430e004e
MK
56012015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5602
5603 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5604 macro.
5605 (func5): Removed.
5606 (func4): Use FAST_TRACEPOINT_LABEL.
5607 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5608 macro.
5609 (func): Removed.
5610 (thread_function): Use FAST_TRACEPOINT_LABEL.
5611 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5612 (func): Remove.
5613 (marker): Use FAST_TRACEPOINT_LABEL.
5614 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5615 (pendfunc1): Remove.
5616 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5617 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5618 (foo): Remove.
5619 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5620 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5621 macro.
5622 (func): Remove.
5623 (marker): Use FAST_TRACEPOINT_LABEL.
5624 * gdb.trace/trace-common.h: New header.
5625 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5626 macro.
5627 (func): Remove.
5628 (marker): Use FAST_TRACEPOINT_LABEL.
5629 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5630 (func): Remove.
5631 (thread_function): Use FAST_TRACEPOINT_LABEL.
5632
6e7675a7
MK
56332015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5634
5635 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5636 in front.
5637 * gdb.trace/change-loc.exp: Use global pcreg definition.
5638 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5639 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5640 in front.
5641 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5642 * gdb.trace/pending.exp: Likewise.
5643 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5644 * gdb.trace/trace-break.exp: Likewise.
5645 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5646 in front.
5647 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5648 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5649 in front.
5650 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5651
dddc0e16
JB
56522015-11-09 Joel Brobecker <brobecker@adacore.com>
5653
5654 * gdb.ada/fin_fun_out: New testcase.
5655
c6f0b406
KB
56562015-11-07 Kevin Buettner <kevinb@redhat.com>
5657
5658 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5659 value associated with DW_AT_byte_size.
5660 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5661 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5662 DW_AT_upper_bound.
5663
f01dcfd9
KB
56642015-11-07 Kevin Buettner <kevinb@redhat.com>
5665
5666 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5667 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5668 version.
5669 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5670 gdb.dwarf2/dw2-canonicalize-type.exp,
5671 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5672 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5673 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5674 provided by gdb_target_symbol_prefix_flags_asm.
5675 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5676 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5677 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5678 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5679 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5680 macros where needed). Use this macro for symbols which require
5681 the prefix provided by SYMBOL_PREFIX.
5682
2223449a
KB
56832015-11-05 Kevin Buettner <kevinb@redhat.com>
5684
5685 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5686 New procs.
5687 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5688 representing expressions, of more than one list element.
5689 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5690 to prepend linker symbol prefix to f.
5691 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5692 table_1 and table_2.
5693 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5694 Likewise, for f and g.
5695 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5696 for ptr.
5697 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5698 for main.
5699 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5700 table_1_ptr and table_2_ptr.
5701
6f2f1a3a
JK
57022015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5703 Joel Brobecker <brobecker@adacore.com>
5704
5705 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5706
566c56c9
MK
57072015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5708
5709 * gdb.reverse/s390-mvcle.c: New test.
5710 * gdb.reverse/s390-mvcle.exp: New file.
5711 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5712
d5f0636b
MK
57132015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5714
5715 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5716
7ad8b86c
MK
57172015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5718
5719 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5720 reaching marker2.
5721 * gdb.reverse/getresuid-reverse.exp: Likewise.
5722 * gdb.reverse/pipe-reverse.exp: Likewise.
5723 * gdb.reverse/readv-reverse.exp: Likewise.
5724 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5725 * gdb.reverse/time-reverse.exp: Likewise.
5726 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5727
4081c0f1
YQ
57282015-10-30 Yao Qi <yao.qi@linaro.org>
5729
5730 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5731 (empty_cycle): Remove.
5732 (main): Don't call empty_cycle. Don't use watch_count_done.
5733 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5734 empty_cycle. Rewrite the code counting HW watchpoints.
5735
452b4ba5
MK
57362015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5737
5738 * gdb.reverse/fstatat-reverse.c: New test.
5739 * gdb.reverse/fstatat-reverse.exp: New file.
5740 * gdb.reverse/getresuid-reverse.c: New test.
5741 * gdb.reverse/getresuid-reverse.exp: New file.
5742 * gdb.reverse/pipe-reverse.c: New test.
5743 * gdb.reverse/pipe-reverse.exp: New file.
5744 * gdb.reverse/readv-reverse.c: New test.
5745 * gdb.reverse/readv-reverse.exp: New file.
5746 * gdb.reverse/recvmsg-reverse.c: New test.
5747 * gdb.reverse/recvmsg-reverse.exp: New file.
5748 * gdb.reverse/time-reverse.c: New test.
5749 * gdb.reverse/time-reverse.exp: New file.
5750 * gdb.reverse/waitpid-reverse.c: New test.
5751 * gdb.reverse/waitpid-reverse.exp: New file.
5752
5e2e7507
JK
57532015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5754
5755 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5756
0fde2c53
DE
57572015-10-26 Doug Evans <dje@google.com>
5758
5759 PR symtab/17391
5760 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5761 * gdb.dwarf2/bad-regnum.c: New file.
5762 * gdb.dwarf2/bad-regnum.exp: New file.
5763
1a70ae97
DE
57642015-10-26 Doug Evans <dje@google.com>
5765
5766 PR python/18938
5767 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5768 file.
5769
27dc26ab
JK
57702015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5771
5772 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5773 for a change by "Mention language in compile error message".
5774
bed91f4d
SM
57752015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5776
5777 PR python/18073
5778 * gdb.python/py-type.c (C::a_method): New.
5779 (C::a_const_method): New.
5780 (C::a_static_method): New.
5781 (a_function): New.
5782 * gdb.python/py-type.exp (test_fields): Test getting fields
5783 from function and method.
5784
3f2f83dd
KB
57852015-10-21 Keven Boell <keven.boell@intel.com>
5786
5787 * gdb.fortran/vla-alloc-assoc.exp: New file.
5788 * gdb.fortran/vla-datatypes.exp: New file.
5789 * gdb.fortran/vla-datatypes.f90: New file.
5790 * gdb.fortran/vla-history.exp: New file.
5791 * gdb.fortran/vla-ptype-sub.exp: New file.
5792 * gdb.fortran/vla-ptype.exp: New file.
5793 * gdb.fortran/vla-sizeof.exp: New file.
5794 * gdb.fortran/vla-sub.f90: New file.
5795 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5796 * gdb.fortran/vla-value-sub-finish.exp: New file.
5797 * gdb.fortran/vla-value-sub.exp: New file.
5798 * gdb.fortran/vla-value.exp: New file.
5799 * gdb.fortran/vla-ptr-info.exp: New file.
5800 * gdb.mi/mi-vla-fortran.exp: New file.
5801 * gdb.mi/vla.f90: New file.
5802
27145d50
SL
58032015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5804
5805 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5806 of hardwired timeout value.
5807
5f3ff4f8
JK
58082015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5809 Pedro Alves <palves@redhat.com>
5810
5811 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5812 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5813
bfd09d20
JS
58142015-10-19 Josh Stone <jistone@redhat.com>
5815
5816 * gdb.base/catch-syscall.c: Include <sched.h>.
5817 (unknown_syscall): New variable.
5818 (main): Trigger a vfork and an unknown syscall.
5819 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5820 (unknown_syscall_number): Likewise.
5821 (check_call_to_syscall): Accept an optional syscall pattern.
5822 (check_return_from_syscall): Likewise.
5823 (check_continue): Likewise.
5824 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5825 (test_catch_syscall_skipping_return): New test toggling off 'catch
5826 syscall' to step over the syscall return, then toggling back on.
5827 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5828 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5829 (do_syscall_tests): Call test_catch_syscall_without_args and
5830 test_catch_syscall_mid_vfork.
5831 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5832 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5833
b32b93c6
AS
58342015-10-19 Andrew Stubbs <ams@codesourcery.com>
5835
5836 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5837 print g_vE): Add new pass patterns.
5838 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5839 print various symbol names for vptr fields.
5840
9d622bda
AB
58412015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5842
5843 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5844 results.
5845
0fd8ac1c
YQ
58462015-10-12 Yao Qi <yao.qi@linaro.org>
5847
5848 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5849
34240514
YQ
58502015-10-12 Yao Qi <yao.qi@linaro.org>
5851
5852 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5853 is aarch64*-*-linux*.
5854
8240f442
YQ
58552015-10-12 Yao Qi <yao.qi@linaro.org>
5856
5857 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5858 (can_relocate_bcond_true): ... it.
5859 (can_relocate_bcond_false): New function.
5860 (foo): Likewise.
5861 (can_relocate_bl): Likewise.
5862 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5863 can_relocate_bl.
5864
2520f728
PMR
58652015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5866
5867 * gdb.base/nested-addr.c: New file.
5868 * gdb.base/nested-addr.exp: New testcase.
5869
abcef95a
MM
58702015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5871
5872 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5873 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5874 its output. Ignore the output of "record goto begin" and instead
5875 check that GDB is replaying.
5876
145e3ddb
PA
58772015-10-09 Pedro Alves <palves@redhat.com>
5878
5879 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5880 (top level): Use it in the run with no args test.
5881
d5d8c4e1
IB
58822015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5883
5884 * gdb.dlang/properties.exp: New file.
5885
06e635ef
SL
58862015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5887
5888 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5889 whether or not address 0x1000 is mapped on the target.
5890
e019fd1d
SM
58912015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5892
5893 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5894 build.
5895
77ba2a67
MM
58962015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5897
5898 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5899 instruction-history test.
5900
c60eb31f
DE
59012015-09-28 Doug Evans <dje@google.com>
5902
5903 * gdb.base/gcore.c (array_func): Add reference to static_array.
5904
9a3c8263
SM
59052015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5906
5907 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5908 source line.
5909
9720e656
SL
59102015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5911
5912 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5913 short or char as base type.
5914
938d3bf2
SL
59152015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5916
5917 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5918 to allow any size enum.
5919
e6c2c623
PMR
59202015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5921
5922 * gdb.ada/array_ptr_renaming.exp: New testcase.
5923 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5924 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5925
06da0f77
PL
59262015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5927
5928 * gdb.trace/ftrace-lock.c: New file.
5929 * gdb.trace/ftrace-lock.exp: New file.
5930
4f51c22a
PL
59312015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5932
5933 * gdb.arch/insn-reloc.c: New file.
5934 * gdb.arch/ftrace-insn-reloc.exp: New file.
5935
7041adf4
PL
59362015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5937
5938 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5939 instruction.
5940 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5941 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5942 * gdb.trace/range-stepping.c: Likewise.
5943 * gdb.trace/trace-break.c: Likewise.
5944 * gdb.trace/trace-mt.c (thread_function): Likewise.
5945 * gdb.trace/ftrace.c (marker): Likewise.
5946 * gdb.trace/trace-condition.c (marker): Likewise.
5947 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5948 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5949 is_aarch64_target.
5950
015d2e7e
DE
59512015-09-18 Doug Evans <xdje42@gmail.com>
5952
5953 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5954 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5955
26b188a2
SL
59562015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5957
5958 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5959 the breakpoint.
5960
79dc332b
SL
59612015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5962
5963 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5964 the pending breakpoint. Remove timeout override for "Run till
5965 MI pending breakpoint on pendfunc3 on thread 2" test.
5966
f57929f2
SL
59672015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5968
5969 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5970 filename pattern.
5971
3f469b17
SL
59722015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5973
5974 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5975 in breakpoint filename pattern.
5976
515b89b3
SL
59772015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5978
7800dbe4
SL
5979 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5980
59812015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5982
515b89b3
SL
5983 * gdb.linespec/explicit.exp: Check for readline support for
5984 tab-completion tests. Fix obvious typo.
5985
d2939ba2
MM
59862015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5987
5988 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5989 and replay.
5990
cbb55fa7
MM
59912015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5992
5993 * gdb.btrace/non-stop.c: New.
5994 * gdb.btrace/non-stop.exp: New.
5995
43691ca1
PL
59962015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5997 Yao Qi <yao.qi@linaro.org>
5998
5999 * gdb.trace/trace-condition.c: New file.
6000 * gdb.trace/trace-condition.exp: New file.
6001
d78908cf
WW
60022015-09-16 Wei-cheng Wang <cole945@gmail.com>
6003
6004 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
6005 for testing bytecode compilation.
6006
1ed415e2
PA
60072015-09-16 Pedro Alves <palves@redhat.com>
6008 Sandra Loosemore <sandra@codesourcery.com>
6009
6010 * gdb.threads/non-stop-fair-events.c (timeout): New global.
6011 (SECONDS): Redefine.
6012 (main): Call pthread_kill and alarm early.
6013 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
6014 support.
6015 (test): If the target can't hardware step and doesn't support
6016 displaced stepping, increase the timeout.
6017
d136eff5
PA
60182015-09-16 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
6021 (enable_debug): New procedures.
6022 (test): Use them. Bail out if waiting for threads fails.
6023 (top level): Bail out if a test fails.
6024
991f019c
YQ
60252015-09-16 Yao Qi <yao.qi@linaro.org>
6026
6027 * gdb.asm/asm-source.exp: Set asm-arch for
6028 aarch64*-*-* target.
6029 * gdb.asm/aarch64.inc: New file.
6030
bfca584f
PMR
60312015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
6032
6033 * gdb.ada/array_of_variable_length.exp: New testcase.
6034 * gdb.ada/array_of_variable_length/foo.adb: New file.
6035 * gdb.ada/array_of_variable_length/pck.adb: New file.
6036 * gdb.ada/array_of_variable_length/pck.ads: New file.
6037
b326e587
DE
60382015-09-15 Doug Evans <dje@google.com>
6039
6040 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
6041 of function static local variable.
6042
5382cfab
PW
60432015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6044
6045 * gdb.threads/tls-so_extern.exp: New test file.
6046 * gdb.threads/tls-so_extern.c: New test file.
6047 * gdb.threads/tls-so_extern_main.c: New test file.
6048
141c5cc4
JK
60492015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6050
6051 * gdb.opt/solib-intra-step-lib.c: New file.
6052 * gdb.opt/solib-intra-step-main.c: New file.
6053 * gdb.opt/solib-intra-step.exp: New file.
6054
d15dcecd
PA
60552015-09-15 Pedro Alves <palves@redhat.com>
6056
6057 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
6058 gdb_continue_to_breakpoint instead of gdb_test_multiple.
6059
4c2f2a79
PA
60602015-09-14 Pedro Alves <palves@redhat.com>
6061
6062 * gdb.base/hook-stop-continue.c: Delete.
6063 * gdb.base/hook-stop-continue.exp: Delete.
6064 * gdb.base/hook-stop-frame.c: Delete.
6065 * gdb.base/hook-stop-frame.exp: Delete.
6066 * gdb.base/hook-stop.c: New file.
6067 * gdb.base/hook-stop.exp: New file.
6068
919e6dbe
PMR
60692015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
6070
6071 * gdb.ada/access_to_packed_array.exp: New testcase.
6072 * gdb.ada/access_to_packed_array/foo.adb: New file.
6073 * gdb.ada/access_to_packed_array/pack.adb: New file.
6074 * gdb.ada/access_to_packed_array/pack.ads: New file.
6075
157280a4
MM
60762015-09-14 Markus Metzger <markus.t.metzger@intel.com>
6077
6078 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
6079 buffer size test.
6080
2fd33e94
DB
60812015-09-11 Don Breazeal <donb@codesourcery.com>
6082
6083 * gdb.base/foll-exec.c: Add copyright header. Fix
6084 formatting issues.
6085 * gdb.base/foll-exec.exp (zap_session): Delete proc.
6086 (do_exec_tests): Use clean_restart in place of zap_session,
6087 and for test initialization. Fix formatting issues. Use
6088 fail in place of perror.
6089 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
6090 an expect statement to match an expression with output from
6091 the program under debug.
6092 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
6093 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
6094 * gdb.threads/non-ldr-exc-2.exp: Likewise.
6095 * gdb.threads/non-ldr-exc-3.exp: Likewise.
6096 * gdb.threads/non-ldr-exc-4.exp: Likewise.
6097
e70b6e8e
DE
60982015-09-09 Doug Evans <dje@google.com>
6099
6100 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
6101
7a551a51
DE
61022015-09-09 Doug Evans <dje@google.com>
6103
6104 * gdb.base/pie-execl.exp: Fix result test of build_executable.
6105
4c666f84
DE
61062015-09-09 Doug Evans <dje@google.com>
6107
6108 * gdb.base/savedregs.exp: Fix typo.
6109
243a9253
PA
61102015-09-09 Pedro Alves <palves@redhat.com>
6111
6112 * gdb.mi/mi-cli.exp: Add CLI finish tests.
6113
c0fa8fbd
SL
61142015-09-08 Sandra Loosemore <sandra@codesourcery.com>
6115
6116 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
6117 command actually switches threads. Give up on remaining
6118 tests if target fails to stop at breakpoint.
6119
cd7c1778
PMR
61202015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
6121
6122 * gdb.ada/funcall_char.exp: New testcase.
6123 * gdb.ada/funcall_char/foo.adb: New file.
6124
dc5c8746
PMR
61252015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
6126
6127 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
6128 expected outputs. Add two testcases for completing ambiguous
6129 functions.
6130 * gdb.ada/complete/aux_pck.adb: New file.
6131 * gdb.ada/complete/aux_pck.ads: New file.
6132 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
6133 Ambiguous_Func functions.
6134 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
6135 * gdb.ada/complete/pck.adb: Likewise.
6136
4e83a1e7
UW
61372015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
6138
6139 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
6140 failures to run the test program under GDB.
6141
8ce74153
LM
61422015-08-26 Luis Machado <lgustavo@codesourcery.com>
6143
6144 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
6145 to C.
6146
e9756d52
PP
61472015-08-26 Patrick Palka <patrick@parcs.ath.cx>
6148
6149 * gdb.base/run-after-attach.exp: New test file.
6150 * gdb.base/run-after-attach.c: New test file.
6151
8d37573b
DB
61522015-08-26 Don Breazeal <donb@codesourcery.com>
6153
6154 * gdb.base/foll-exec-2.c: New test program.
6155 * gdb.base/foll-exec-2.exp: New test.
6156
63e43d3a
PMR
61572015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
6158
6159 * gdb.base/nested-subp1.exp: New file.
6160 * gdb.base/nested-subp1.c: New file.
6161 * gdb.base/nested-subp2.exp: New file.
6162 * gdb.base/nested-subp2.c: New file.
6163 * gdb.base/nested-subp3.exp: New file.
6164 * gdb.base/nested-subp3.c: New file.
6165
3d40fbb5
PA
61662015-08-24 Pedro Alves <palves@redhat.com>
6167
6168 * gdb.server/connect-without-multi-process.c: New file.
6169 * gdb.server/connect-without-multi-process.exp: New file.
6170
4422ac93
LM
61712015-08-24 Luis Machado <lgustavo@codesourcery.com>
6172
6173 * gdb.opt/inline-markers.c: Make z int.
6174
91dddb86
LM
61752015-08-24 Luis Machado <lgustavo@codesourcery.com>
6176
6177 * gdb.opt/inline-markers.c: Make z volatile.
6178
a48847ee
LM
61792015-08-24 Luis Machado <lgustavo@codesourcery.com>
6180
6181 * gdb.opt/inline-bt.c: New volatile global z.
6182 * gdb.opt/inline-cmds.c: Likewise.
6183 * gdb.opt/inline-locals.c: Likewise.
6184 * gdb.opt/inline-markers.c: New extern global z.
6185 (marker): Use z.
6186 (inline_fn): Likewise.
6187
0ebbc52b
PA
61882015-08-24 Pedro Alves <palves@redhat.com>
6189
6190 * config/m32r-stub.exp: Remove file.
6191 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
6192 * gdb.base/call-rt-st.exp: Likewise.
6193 * gdb.base/call-strs.exp: Likewise.
6194 * gdb.base/default.exp: Remove references to h8300-*-hms and
6195 *-*-udi*.
6196 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
6197
77c365df
AA
61982015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6199
6200 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
6201 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
6202 and "return" use KFAIL when GDB can not read/write the vector
6203 return value.
6204
4313b8c0
GB
62052015-08-21 Gary Benson <gbenson@redhat.com>
6206
6207 * gdb.trace/pending.exp: Cope with remote transfer warnings.
6208
0e433b32
PA
62092015-08-20 Pedro Alves <palves@redhat.com>
6210
6211 * gdb.server/solib-list.exp: No longer expect an interior stop in
6212 non-stop mode.
6213
221e1a37
PA
62142015-08-20 Pedro Alves <palves@redhat.com>
6215
6216 * gdb.server/connect-stopped-target.c: New file.
6217 * gdb.server/connect-stopped-target.exp: New file.
6218
40e3ad0e
PA
62192015-08-20 Pedro Alves <palves@redhat.com>
6220
6221 * gdb.dwarf2/comp-unit-lang.exp: New file.
6222 * gdb.dwarf2/comp-unit-lang.c: New file.
6223
af39b327
PMR
62242015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
6225
6226 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
6227 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
6228
7d45c7c3 62292015-08-19 Kevin Buettner <kevinb@redhat.com>
206853a0 6230
7d45c7c3
KB
6231 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
6232 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
6233
4d6cceb4
DE
62342015-08-18 Doug Evans <dje@google.com>
6235 Adrian Sendroiu <adrian.sendroiu@freescale.com>
6236
6237 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
6238 skip_python_tests. New arg prompt_regexp.
6239 (skip_python_tests): New function.
6240 * lib/mi-support.exp (mi_skip_python_tests): New function.
6241 * gdb.python/py-mi-objfile-gdb.py: New file.
6242 * gdb.python/py-mi-objfile.c: New file.
6243 * gdb.python/py-mi-objfile.exp: New file.
6244
ad89c2aa
KS
62452015-08-17 Keith Seitz <keiths@redhat.com>
6246
6247 * gdb.linespec/explicit.exp: Move strace test from here ...
6248 * gdb.trace/strace.exp: ... to here.
6249
e3ae3c43
PP
62502015-08-15 Patrick Palka <patrick@parcs.ath.cx>
6251
6252 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
6253 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
6254
604b2636
DE
62552015-08-14 Doug Evans <xdje42@gmail.com>
6256
6257 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
6258 inferior before selecting a new file.
6259
6ff0ba5f
DE
62602015-08-14 Doug Evans <xdje42@gmail.com>
6261
6262 * gdb.mi/mi-disassemble.exp: Update.
6263 * gdb.base/disasm-optim.S: New file.
6264 * gdb.base/disasm-optim.c: New file.
6265 * gdb.base/disasm-optim.h: New file.
6266 * gdb.base/disasm-optim.exp: New file.
6267
9ca98f92
KS
62682015-08-14 Keith Seitz <keiths@redhat.com>
6269
6270 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
6271 "evaluated-by".
6272
52bbc560
JB
62732015-08-13 Joel Brobecker <brobecker@adacore.com>
6274
6275 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
6276
5d8c3ed3
PMR
62772015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
6278
6279 * gdb.ada/fun_renaming.exp: New testcase.
6280 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
6281 * gdb.ada/fun_renaming/pack.adb: New file.
6282 * gdb.ada/fun_renaming/pack.ads: New file.
6283
ea8812bc
KS
62842015-08-12 Keith Seitz <keiths@redhat.com>
6285
6286 * gdb.base/dso2dso.exp: Pass basename of source file in call to
6287 gdb_get_line_number.
6288
4dafcdeb
JB
62892015-08-12 Joel Brobecker <brobecker@adacore.com>
6290
6291 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
6292 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
6293 gdb.base/dso2dso.exp: New files.
6294
5ba32597
SDJ
62952015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
6296 Pedro Alves <palves@redhat.com>
6297 Keith Seitz <keiths@redhat.com>
6298
6299 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
6300 GDBFLAGS.
6301
b6dafabf
PP
63022015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6303
6304 * gdb.base/gdbhistsize-history.exp
6305 (test_histsize_history_setting): Use save_vars.
6306 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6307 Use save_vars.
6308 (test_no_truncation_of_unlimited_history_file): Use save_vars.
6309 * gdb.base/readline.exp: Use save_vars.
6310
abe8e607
PP
63112015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6312
6313 * lib/gdb.exp (save_vars): New proc.
6314
629500fa
KS
63152015-08-11 Keith Seitz <keiths@redhat.com>
6316
6317 * gdb.base/help.exp: Update help_breakpoint_text.
6318
eb8c4e2e
KS
63192015-08-11 Keith Seitz <keiths@redhat.com>
6320
6321 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
6322 (at toplevel): Call test_explicit_breakpoints.
6323 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
6324 breakpoints.
6325 * lib/mi-support.exp (mi_make_breakpoint): Add support for
6326 breakpoint conditions, "-cond".
6327
87f0e720
KS
63282015-08-11 Keith Seitz <keiths@redhat.com>
6329
6330 * gdb.linespec/3explicit.c: New file.
6331 * gdb.linespec/cpexplicit.cc: New file.
6332 * gdb.linespec/cpexplicit.exp: New file.
6333 * gdb.linespec/explicit.c: New file.
6334 * gdb.linespec/explicit.exp: New file.
6335 * gdb.linespec/explicit2.c: New file.
6336 * gdb.linespec/ls-errs.exp: Add explicit location tests.
6337 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
6338 before using in the matching pattern.
6339 Clarify that `prefix' is a regular expression.
6340
f00aae0f
KS
63412015-08-11 Keith Seitz <keiths@redhat.com>
6342
6343 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
6344 test.
6345 Add tests for missing ",FMT" and ",".
6346
e27852be
DE
63472015-08-10 Doug Evans <dje@google.com>
6348 Keith Seitz <keiths@redhat.com>
6349
6350 PR gdb/17960
6351 * gdb.base/completion.exp: Add location completer tests.
6352
7f03bd92
PA
63532015-08-07 Pedro Alves <palves@redhat.com>
6354
6355 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
6356 tests here.
6357 (top level): Run do_test with and without displaced stepping.
6358
3fc8eb30
PA
63592015-08-07 Pedro Alves <palves@redhat.com>
6360
6361 * gdb.base/valgrind-disp-step.c: New file.
6362 * gdb.base/valgrind-disp-step.exp: New file.
6363
d4569d7b
PA
63642015-08-07 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
6367 Delete function.
6368 (main): Add alarm. Run an infinite loop instead of calling
6369 wait_threads.
6370 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
6371 comment.
6372 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
6373 Delete function.
6374 (main): Add alarm. Run an infinite loop instead of calling
6375 wait_threads.
6376 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
6377 comment.
6378
e1316e60
PA
63792015-08-07 Pedro Alves <palves@redhat.com>
6380
6381 * gdb.base/checkpoint-ns.exp: New file.
6382 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
6383 standard_testfile.
6384
da8c46d2
MM
63852015-08-07 Markus Metzger <markus.t.metzger@intel.com>
6386
6387 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
6388 * gdb.btrace/instruction_history.exp: Update.
6389 * gdb.btrace/tsx.exp: New.
6390 * gdb.btrace/tsx.c: New.
6391
de1c2c52
PA
63922015-08-06 Pedro Alves <palves@redhat.com>
6393
6394 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6395 increase timeout.
6396 * gdb.reverse/until-precsave.exp: Bump timeouts.
6397
782e0bf4
PA
63982015-08-06 Pedro Alves <palves@redhat.com>
6399
6400 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6401
83e97ed0
PA
64022015-08-06 Pedro Alves <palves@redhat.com>
6403
6404 PR gdb/18749
6405 * gdb.threads/process-dies-while-handling-bp.c: New file.
6406 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6407
863d01bd
PA
64082015-08-06 Pedro Alves <palves@redhat.com>
6409
6410 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6411 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6412
0a39bb32
PA
64132015-08-05 Pedro Alves <palves@redhat.com>
6414
6415 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6416 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6417
ee2d2b10
SL
64182015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6419
6420 * gdb.base/bp-permanent.exp: Report test as unsupported if
6421 the target cannot stop at the permanent breakpoint.
6422
4e1bdb00
DE
64232015-08-03 Doug Evans <dje@google.com>
6424
6425 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6426 10000.
6427
3d338901
DE
64282015-08-03 Doug Evans <dje@google.com>
6429
6430 * Makefile.in (workers/%.worker, build-perf): New rule.
6431 (GDB_PERFTEST_MODE): New variable.
6432 (check-perf): Use it.
6433 (clean): Clean up gdb.perf parallel build subdirs.
6434 * lib/build-piece.exp: New file.
6435 * lib/gdb.exp (make_gdb_parallel_path): New function
6436 (standard_output_file, standard_temp_file): Call it.
6437 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6438 of $GDB_PARALLEL.
6439 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6440
af061d3e
DE
64412015-08-03 Doug Evans <dje@google.com>
6442
8e1afc81 6443 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
af061d3e
DE
6444 (LOG_FILE_NAME): New global.
6445 (TextReporter.__init__): Initialize self.txt_sum.
6446 (TextReporter.report): Add support for multiple data-points.
6447 Move report to perftest.sum, put raw data in perftest.log.
6448 (TextReporter.start): Open sum and log files.
6449 (TextReporter.end): Close sum and log files.
8e1afc81
DE
6450 * gdb.perf/lib/perftest/testresult.py
6451 (SingleStatisticTestResult.record): Handle multiple data-points.
af061d3e 6452
2c8c5d37
PA
64532015-07-31 Pedro Alves <palves@redhat.com>
6454
6455 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6456 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6457 kill_wait_spawned_process instead of explicit "kill -9".
6458 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6459 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6460 kill_wait_spawned_process.
6461 * gdb.base/attach-twice.exp: Likewise.
6462 * gdb.base/attach.exp: Likewise.
6463 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6464 gdb_test_multiple.
6465 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6466 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6467 kill_wait_spawned_process.
6468 * gdb.base/valgrind-infcall.exp: Likewise.
6469 * gdb.multi/multi-attach.exp: Likewise.
6470 * gdb.python/py-prompt.exp: Likewise.
6471 * gdb.python/py-sync-interp.exp: Likewise.
6472 * gdb.server/ext-attach.exp: Likewise.
6473 * gdb.threads/attach-into-signal.exp (corefunc): Use
6474 spawn_wait_for_attach, spawn_id_get_pid and
6475 kill_wait_spawned_process.
6476 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6477 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6478 spawn_id_get_pid and kill_wait_spawned_process.
6479 * gdb.threads/attach-stopped.exp (corefunc): Use
6480 spawn_wait_for_attach, spawn_id_get_pid and
6481 kill_wait_spawned_process.
6482 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6483 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6484 kill_wait_spawned_process instead of explicit "kill -9".
6485 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6486 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6487 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6488 processes. Don't map cygwin/windows pids here. Now returns a
6489 spawn id list.
6490
032a0fca
SL
64912015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6492
6493 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6494 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6495 correct patch.
6496
61a934ca
SL
64972015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6498
6499 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6500
4bc4d428
SL
65012015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6502
6503 Reapply:
6504 2014-05-21 Mark Wielaard <mjw@redhat.com>
6505
6506 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6507
998d452a
PA
65082015-07-30 Pedro Alves <palves@redhat.com>
6509
6510 * linux-low.c (handle_extended_wait): Set the child's last
6511 reported status to TARGET_WAITKIND_STOPPED.
6512
69dde7dc
PA
65132015-07-30 Pedro Alves <palves@redhat.com>
6514
6515 PR threads/18600
6516 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6517 only shows inferior 1.
6518
4dd63d48
PA
65192015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6520 Pedro Alves <palves@redhat.com>
6521
6522 PR threads/18600
6523 * gdb.threads/fork-plus-threads.c: New file.
6524 * gdb.threads/fork-plus-threads.exp: New file.
6525
d618e4c5
PP
65262015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6527
6528 * gdb.base/batch-preserve-term-settings.exp
6529 (test_terminal_settings_preserved_after_cli_exit): Use
6530 send_quit_command.
6531
1eef6428
PA
65322015-07-29 Pedro Alves <palves@redhat.com>
6533 Don Breazeal <donb@codesourcery.com>
6534
6535 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6536 output from both inferior_spawn_id and gdb_spawn_id.
6537
7da5b897
SDJ
65382015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6539
6540 * gdb.threads/attach-into-signal.exp (corefunc): Use
6541 with_test_prefix on nested loops, uniquefying the test messages.
6542
dac804df
SDJ
65432015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6544
6545 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6546 commit.
6547
06265e53
PP
65482015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6549
6550 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6551 New proc.
6552 (test_terminal_settings_preserved_after_sigterm): New test.
6553
18206ca3
PP
65542015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6555
6556 * gdb.base/batch-preserve-term-settings.exp
6557 (test_terminal_settings_preserved_after_cli_exit): New test.
6558
90074d11
PP
65592015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6560
6561 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6562 manipulation of saved_gdbflags.
6563 (test_terminal_settings_preserved): Remove global declaration of
6564 the unused variable pagination_prompt. Remove manipulation of
6565 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6566 GDBFLAGS.
6567
eb1a7902
PA
65682015-07-29 Pedro Alves <palves@redhat.com>
6569
6570 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6571
8b75dd3b
PA
65722015-07-29 Pedro Alves <palves@redhat.com>
6573
6574 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6575 at the top.
6576
dedad4e3
PA
65772015-07-29 Pedro Alves <palves@redhat.com>
6578
6579 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6580 (main): Call gdb_unbuffer_output.
6581 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6582 (main): Call gdb_unbuffer_output.
6583 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6584 (main): Call gdb_unbuffer_output.
6585 * gdb.base/call-strs.exp: Adjust to step over the
6586 gdb_unbuffer_output call.
6587 * gdb.base/catch-gdb-caused-signals.c: Include
6588 "../lib/unbuffer_output.c".
6589 (main): Call gdb_unbuffer_output.
6590 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6591 (main): Call gdb_unbuffer_output.
6592 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6593 (main): Call gdb_unbuffer_output.
6594 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6595 (main): Call gdb_unbuffer_output.
6596 * gdb.base/shlib-call.exp: Adjust to step over the
6597 gdb_unbuffer_output call.
6598 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6599 (main): Call gdb_unbuffer_output.
6600 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6601 (main): Call gdb_unbuffer_output.
6602 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6603 (main): Rename to ...
6604 (test): ... this.
6605 (main): Reimplement.
6606 * gdb.base/varargs.exp: Run to test instead of to main.
6607 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6608 (main): Call gdb_unbuffer_output.
6609
58789a91
PA
66102015-07-29 Pedro Alves <palves@redhat.com>
6611
6612 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6613 factore out from mi_continue_dprintf. For call-style dprintfs,
6614 expect dprintf output out of $inferior_spawn_id.
6615 (mi_continue_dprintf): Use mi_expect_dprintf.
6616 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6617 (main): Call gdb_unbuffer_output.
6618
e8376742
PA
66192015-07-29 Pedro Alves <palves@redhat.com>
6620
6621 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6622 (default_mi_gdb_start): Set inferior_spawn_id instead of
6623 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6624 gdb_spawn_id.
6625 (mi_gdb_test): Always expect inferior output from both
6626 $inferior_spawn_id and $gdb_spawn_id.
6627
08280010
PA
66282015-07-29 Pedro Alves <palves@redhat.com>
6629
6630 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6631 send_inferior and $inferior_spawn_id.
6632
4d30e432
PA
66332015-07-29 Pedro Alves <palves@redhat.com>
6634
6635 * gdb.gdb/complaints.exp (test_initial_complaints)
6636 (test_serial_complaints, test_short_complaints): Use
6637 gdb_test_stdio.
6638 (test_empty_complaint): Handle $inferior_spawn_id !=
6639 $gdb_spawn_id.
6640
0d30a335
PA
66412015-07-29 Pedro Alves <palves@redhat.com>
6642
6643 * gdb.base/varargs.exp: Use gdb_test_stdio.
6644
39413b29
PA
66452015-07-29 Pedro Alves <palves@redhat.com>
6646
6647 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6648
7cb000a9
PA
66492015-07-29 Pedro Alves <palves@redhat.com>
6650
6651 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6652
d7b8ac82
PA
66532015-07-29 Pedro Alves <palves@redhat.com>
6654
6655 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6656 parameter into two new parameters, "inf_result" and "gdb_result".
6657 Expect inferior output and gdb output from $inferior_spawn_id and
6658 $gdb_spawn_id, respectively. Adjust all callers.
6659
789c3a0c
PA
66602015-07-29 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6663 of gdb_test_sequence.
6664
77e760c3
PA
66652015-07-29 Pedro Alves <palves@redhat.com>
6666
6667 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6668 (saw_spurious_output): Expect inferior output from
6669 $inferior_spawn_id. Use gdb_test_stdio.
6670
8396d2cd
PA
66712015-07-29 Pedro Alves <palves@redhat.com>
6672
6673 * gdb.base/dprintf.exp: Use standard_testfile. Change
6674 prepare_for_testing call.
6675 (srcfile): Don't set.
6676 (restart): New procedure.
6677 (test_dprintf): New procecure, use to continue over dprintfs.
6678 (test_call, test_agent): New procedures, tests moved here.
6679 Restart gdb and recreate dprintfs. Adjust expected output.
6680
2051d61f
PA
66812015-07-29 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6684
452397af
PA
66852015-07-29 Pedro Alves <palves@redhat.com>
6686
6687 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6688
8aed9555
PA
66892015-07-29 Pedro Alves <palves@redhat.com>
6690
6691 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6692 gdb_test_stdio.
6693
188a61b4
PA
66942015-07-29 Pedro Alves <palves@redhat.com>
6695
6696 * lib/gdb.exp (gdb_test_stdio): New procedure.
6697
12264a45
PA
66982015-07-29 Pedro Alves <palves@redhat.com>
6699
6700 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6701
23ffc893
PA
67022015-07-29 Pedro Alves <palves@redhat.com>
6703
6704 * gdb.base/call-signal-resume.exp: Remove check for
6705 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6706 * gdb.base/unwindonsignal.exp: Likewise.
6707 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6708 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6709
65566918
PA
67102015-07-29 Pedro Alves <palves@redhat.com>
6711
6712 * gdb.base/siginfo-addr.c (pass): New function.
6713 (handler): Call it iff si_addr is correct.
6714 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6715 Set a breakpoint at "pass" and continue to it.
6716
d60a9221
SDJ
67172015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6718
6719 * gdb.python/py-objfile.exp: Make some tests have unique names.
6720 * gdb.python/py-pp-registration.exp: Likewise.
6721
bde40b8f
PA
67222015-07-28 Pedro Alves <palves@redhat.com>
6723
6724 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6725
13e1dec8
SM
67262015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6727
6728 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6729
da33c9a7
SM
67302015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6731
6732 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6733
077836f7
PP
67342015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6735
6736 * gdb.base/gdb-sigterm-2.exp: New test.
6737
b8cc7b2e
DE
67382015-07-25 Doug Evans <xdje42@gmail.com>
6739
6740 Revert:
6741 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6742 (workers/%.worker, build-perf): New rule.
6743 (GDB_PERFTEST_MODE): New variable.
6744 (check-perf): Use it.
6745 (clean): Clean up gdb.perf parallel build subdirs.
6746 * lib/build-piece.exp: New file.
6747 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6748 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6749 name.
6750 (standard_temp_file): Ditto.
6751 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6752 of $GDB_PARALLEL.
6753
c8bd4544
DE
67542015-07-24 Doug Evans <dje@google.com>
6755
6756 * gdb.perf/lib/perftest/utils.py: New file.
6757 * gdb.perf/gm-hello.cc: New file.
6758 * gdb.perf/gm-pervasive-typedef.cc: New file.
6759 * gdb.perf/gm-pervasive-typedef.h: New file.
6760 * gdb.perf/gm-std.cc: New file.
6761 * gdb.perf/gm-std.h: New file.
6762 * gdb.perf/gm-use-cerr.cc: New file.
6763 * gdb.perf/gm-utils.h: New file.
6764 * gdb.perf/gmonster-null-lookup.py: New file.
6765 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6766 * gdb.perf/gmonster-print-cerr.py: New file.
6767 * gdb.perf/gmonster-ptype-string.py: New file.
6768 * gdb.perf/gmonster-runto-main.py: New file.
6769 * gdb.perf/gmonster-select-file.py: New file.
6770 * gdb.perf/gmonster1-null-lookup.exp: New file.
6771 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6772 * gdb.perf/gmonster1-print-cerr.exp: New file.
6773 * gdb.perf/gmonster1-ptype-string.exp: New file.
6774 * gdb.perf/gmonster1-runto-main.exp: New file.
6775 * gdb.perf/gmonster1-select-file.exp: New file.
6776 * gdb.perf/gmonster1.cc: New file.
6777 * gdb.perf/gmonster1.exp: New file.
6778 * gdb.perf/gmonster2-null-lookup.exp: New file.
6779 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6780 * gdb.perf/gmonster2-print-cerr.exp: New file.
6781 * gdb.perf/gmonster2-ptype-string.exp: New file.
6782 * gdb.perf/gmonster2-runto-main.exp: New file.
6783 * gdb.perf/gmonster2-select-file.exp: New file.
6784 * gdb.perf/gmonster2.cc: New file.
6785 * gdb.perf/gmonster2.exp: New file.
6786
6eab34f3
DE
67872015-07-24 Doug Evans <dje@google.com>
6788
6789 * gdb.perf/README: New file.
6790 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6791 * lib/gen-perf-test.exp: New file.
6792
63738bfd
DE
67932015-07-24 Doug Evans <dje@google.com>
6794
6795 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6796 (PerfTest::startup): New function.
6797 (PerfTest::run): Return result of calling body.
6798 (PerfTest::assemble): Rewrite.
6799 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6800 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6801 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6802 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6803 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6804
7b606f95
DE
68052015-07-24 Doug Evans <dje@google.com>
6806
6807 * lib/gdb.exp (clean_restart): Make executable optional.
6808
a97b16b8
DE
68092015-07-24 Doug Evans <dje@google.com>
6810
6811 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6812 compiler_info references.
6813 * gdb.cp/temargs.exp: Ditto.
6814 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6815 (get_compiler_info): Early exit if already computed. Set compiler_info
6816 to "unknown" if there was a problem.
6817 (test_compiler_info): Add function comment. Call get_compiler_info.
6818
35baa57f
DE
68192015-07-24 Doug Evans <dje@google.com>
6820
6821 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6822 (workers/%.worker, build-perf): New rule.
6823 (GDB_PERFTEST_MODE): New variable.
6824 (check-perf): Use it.
6825 (clean): Clean up gdb.perf parallel build subdirs.
6826 * lib/build-piece.exp: New file.
6827 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6828 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6829 name.
6830 (standard_temp_file): Ditto.
6831 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6832 of $GDB_PARALLEL.
6833
6ebea266
DE
68342015-07-24 Doug Evans <dje@google.com>
6835
6836 * lib/future.exp (gdb_default_target_compile): New option
6837 "early_flags".
6838 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6839 --as-needed.
6840
1e76a7e9
SDJ
68412015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6842
6843 * gdb.base/catch-syscall.exp: Call gdb_exit before
6844 gdb_skip_xml_test.
6845
5068630a
PA
68462015-07-24 Pedro Alves <palves@redhat.com>
6847
6848 * gdb.python/py-events.exp: Accept output between the stop event
6849 and the prompt.
6850 * gdb.python/py-evsignal.exp: Likewise.
6851 * gdb.python/py-evthreads.exp: Likewise.
6852
77598427
PA
68532015-07-24 Pedro Alves <palves@redhat.com>
6854
6855 PR gdb/18717
6856 * gdb.threads/non-ldr-exit.c: New file.
6857 * gdb.threads/non-ldr-exit.exp: New file.
6858
11e6c98f
YQ
68592015-07-24 Yao Qi <yao.qi@linaro.org>
6860
6861 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6862 restarting process.
6863
51aee833
YQ
68642015-07-24 Yao Qi <yao.qi@linaro.org>
6865
6866 * gdb.server/ext-restart.exp: New file.
6867
8cfe207c
YQ
68682015-07-24 Yao Qi <yao.qi@linaro.org>
6869
6870 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6871 argument options.
6872 * gdb.server/ext-wrapper.exp: New file.
6873
cc12ce38
DE
68742015-07-23 Doug Evans <dje@google.com>
6875
6876 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6877 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6878
d0d84780
PMR
68792015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6880
6881 * gdb.ada/var_arr_typedef.exp: New testcase.
6882 * gdb.ada/var_arr_typedef/pack.adb: New file.
6883 * gdb.ada/var_arr_typedef/pack.ads: New file.
6884 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6885
8b558f79
JB
68862015-07-20 Joel Brobecker <brobecker@adacore.com>
6887
6888 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6889
775a3298
JK
68902015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 * gdb.arch/i386-biarch-core.exp: Replace istarget
6893 by "complete set gnutarget". Remove expectation for the "core-file"
6894 command.
6895
db1ff28b
JK
68962015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6897
6898 Revert the previous commit:
6899 Tests for validate symbol file using build-id.
6900
0a94970d
JK
69012015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6902
6903 Tests for validate symbol file using build-id.
6904 * gdb.base/solib-mismatch-lib.c: New file.
6905 * gdb.base/solib-mismatch-libmod.c: New file.
6906 * gdb.base/solib-mismatch.c: New file.
6907 * gdb.base/solib-mismatch.exp: New file.
6908
03346981
SL
69092015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6910
6911 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6912 nios2-*-linux*.
6913 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6914 * gdb.base/siginfo.exp: Likewise.
6915 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6916
42422cc7
PL
69172015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6918
6919 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6920 Move it to ...
6921 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6922 ... here.
6923 * gdb.trace/range-stepping.exp: Check that the target supports
6924 range stepping.
6925
cfa68bae
JK
69262015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6927
6928 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6929
8ffdba26
PA
69302015-07-14 Pedro Alves <palves@redhat.com>
6931
6932 * gdb.base/killed-outside.exp: New file.
6933 * gdb.base/killed-outside.c: New file.
6934
218a5a11
JK
69352015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6936
6937 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6938 (n at main): New.
6939 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6940
e03ed3c6
AA
69412015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6942
6943 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6944 infcall tests instead of setting up for KFAIL.
6945
485668e5
MM
69462015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6947
6948 * gdb.btrace/record_goto-step.exp: New.
6949
08464196
JK
69502015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6951
6952 PR compile/18484
6953 * gdb.compile/compile.c (struct struct_type): Add volatile to
6954 selffield's type.
6955 * gdb.compile/compile.exp
6956 (compile code struct_object.selffield = &struct_object): Skip further
6957 struct_object tests if this one xfails.
6958
bcf5c1d9
RC
69592015-07-08 Robert O'Callahan <robert@ocallahan.org>
6960
6961 PR exp/18617
6962 * gdb.trace/ax.exp: Add test.
6963
4931af25
YQ
69642015-07-07 Yao Qi <yao.qi@linaro.org>
6965
6966 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6967 instead of istarget "aarch64*-*-*".
6968 * gdb.arch/aarch64-fp.exp: Likewise.
6969 * gdb.base/float.exp: Likewise.
6970 * gdb.reverse/aarch64.exp: Likewise.
6971 * lib/gdb.exp (is_aarch64_target): New proc.
6972
9fcf688e
YQ
69732015-07-07 Yao Qi <yao.qi@linaro.org>
6974
6975 * lib/gdb.exp (is_aarch32_target): New proc.
6976 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6977 instead of "istarget "arm*-*-*"".
6978 * gdb.arch/arm-disp-step.exp: Likewise.
6979 * gdb.arch/thumb-bx-pc.exp: Likewise.
6980 * gdb.arch/thumb-prologue.exp: Likewise.
6981 * gdb.arch/thumb-singlestep.exp: Likewise.
6982 * gdb.base/disp-step-syscall.exp: Likewise.
6983 * gdb.base/float.exp: Likewise.
6984
fbd8d50d
YQ
69852015-07-07 Yao Qi <yao.qi@linaro.org>
6986
6987 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6988 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6989
71be1fdc
YQ
69902015-07-07 Yao Qi <yao.qi@linaro.org>
6991
6992 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6993 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6994 if it exists.
6995 * gdb.multi/multi-arch.exp: Likewise.
6996
3e221d36
SM
69972015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6998
6999 * gdb.python/py-lazy-string.exp: Add missing parentheses to
7000 print.
7001
d441430b
YQ
70022015-07-07 Yao Qi <yao.qi@linaro.org>
7003
7004 * gdb.arch/thumb-singlestep.exp: Do one more single step.
7005
06f810bd
MG
70062015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
7007
7008 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
7009 '[' and ']' characters.
7010
5e61e7c0
IB
70112015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
7012
7013 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7014
28bf096c
PA
70152015-06-29 Pedro Alves <palves@redhat.com>
7016
7017 PR threads/18127
7018 * gdb.threads/hand-call-new-thread.c: New file.
7019 * gdb.threads/hand-call-new-thread.c: New file.
7020
ee93cd5e
KS
70212015-06-26 Keith Seitz <keiths@redhat.com>
7022 Doug Evans <dje@google.com>
7023
7024 PR 16253
7025 * gdb.cp/var-tag-2.cc: New file.
7026 * gdb.cp/var-tag-3.cc: New file.
7027 * gdb.cp/var-tag-4.cc: New file.
7028 * gdb.cp/var-tag.cc: New file.
7029 * gdb.cp/var-tag.exp: New file.
7030
fc637f04
PP
70312015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7032
7033 * gdb.base/history-duplicates.exp: New test.
7034
2e52ae68
PP
70352015-06-26 Patrick Palka <patrick@parcs.ath.cx>
7036
7037 * gdb.base/completion.exp: Test the completion of the "focus"
7038 command.
7039
6e22494e
JK
70402015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7041
7042 * gdb.arch/amd64-prologue-skip.S: New file.
7043 * gdb.arch/amd64-prologue-skip.exp: New file.
7044
bf7b9cd9
SM
70452015-06-25 Simon Marchi <simon.marchi@ericsson.com>
7046
7047 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
7048 is_address_zero_readable check.
7049
201e8dfd
PB
70502015-06-24 Peter Bergner <bergner@vnet.ibm.com>
7051
7052 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
7053 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
7054
5cd867b4
YQ
70552015-06-24 Yao Qi <yao.qi@linaro.org>
7056
7057 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
7058 linux targets.
7059
4d7be007
YQ
70602015-06-24 Yao Qi <yao.qi@linaro.org>
7061
7062 * lib/gdb.exp (supports_get_siginfo_type): New proc.
7063 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
7064 * gdb.base/siginfo-thread.exp: Likewise.
7065
07fcd301
YQ
70662015-06-22 Yao Qi <yao.qi@linaro.org>
7067
7068 * boards/remote-gdbserver-on-localhost.exp: Add comments.
7069
52042a00
YQ
70702015-06-22 Yao Qi <yao.qi@linaro.org>
7071
7072 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
7073 aarch64*-*-*.
7074 (skip_hw_watchpoint_tests): Likewise.
7075
74bd41ce
PP
70762015-06-18 Patrick Palka <patrick@parcs.ath.cx>
7077
7078 * gdb.base/gdbinit-history.exp: Test the interaction between
7079 setting GDBHISTSIZE and setting the history size via .gdbinit.
7080
bc460514
PP
70812015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7082
7083 PR gdb/16999
7084 * gdb.base/gdbhistsize-history.exp: New test.
7085
b58c513b
PP
70862015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7087
7088 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
7089 with GDBHISTSIZE.
7090 * gdb.base/readline.exp: Likewise.
7091
92046791
YQ
70922015-06-17 Yao Qi <yao.qi@linaro.org>
7093
7094 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
7095 line.
7096
2093d2d3
PP
70972015-06-17 Patrick Palka <patrick@parcs.ath.cx>
7098
7099 * gdb.base/gdbinit-history.exp: Add test case to check that
7100 an unlimited history file does not get truncated on exit.
7101
e6c693af
AA
71022015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7103
7104 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
7105 (VECTOR): New macro. Use it...
7106 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
7107 ...for these typedefs.
7108 (int8, char1, int1, double1): New typedefs.
7109 (struct just_int2, struct two_int2): New structures.
7110 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
7111 (add_structvecs, add_singlevecs): New functions.
7112 (main): Call add_some_intvecs twice.
7113 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
7114 the compile and exit upon failure. Try compiling for the "native"
7115 architecture. Test inferior function calls with vector arguments
7116 and vector return value handling with "finish" and "return".
7117
c74f7d1c
JT
71182015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
7119
7120 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
7121 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
7122 PE file.
7123 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
7124
98aa42ee
AT
71252015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7126
7127 PR breakpoints/16465
7128 * gdb.mi/mi-dprintf-pending.c: New file.
7129 * gdb.mi/mi-dprintf-pending.exp: New test.
7130 * gdb.mi/mi-dprintf-pendshr.c: New file.
7131
7d73c23c 71322015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
72f4393d 7133 Mircea Gherzan <mircea.gherzan@intel.com>
7d73c23c
WT
7134
7135 * gdb.arch/i386-mpx-map.c: New file.
7136 * gdb.arch/i386-mpx-map.exp: New File.
7137
71382015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7139
7140 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
7141 * gdb.arch/i386-mpx.exp: Indentation fixed.
7142
71432015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7144
7145 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
7146 function and improved indentation.
7147 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
7148 gdb_test_multiple. Added additional tests to skip the test.
7149
71502015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
7151
7152 * gdb.arch/i386-avx512.c: Change path in include file.
7153 * gdb.arch/i386-avx512.exp: Change include dir path
7154 compilation flag.
7155 * gdb.arch/i386-mpx.c: Change path in include file.
7156 * gdb.arch/i386-mpx.exp: Change include dir path compilation
7157 flag.
7158
d5eba19a
JK
71592015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7160
7161 * gdb.compile/compile-print.exp (compile print *vararray@3)
7162 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
7163
7f361056
JK
71642015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7165
7166 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
7167 (do not keep jit in memory): ... this.
7168 (expect 5): Change it to ...
7169 (expect no 5): ... this.
7170
3b462ec2
SM
71712015-06-02 Simon Marchi <simon.marchi@ericsson.com>
7172
7173 PR gdb/15564
7174 * gdb.mi/mi-detach.exp: New file.
7175
e0619de6
JK
71762015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7177
7178 PR symtab/18392
7179 * gdb.arch/amd64-tailcall-self.S: New file.
7180 * gdb.arch/amd64-tailcall-self.c: New file.
7181 * gdb.arch/amd64-tailcall-self.exp: New file.
7182
e970cb34
DB
71832015-05-28 Don Breazeal <donb@codesourcery.com>
7184
7185 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
7186 tests for remote targets by checking is_target_gdbserver.
7187
b2e2f908
DE
71882015-05-27 Doug Evans <dje@google.com>
7189
7190 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
7191 * gdb.dwarf2/opaque-type-lookup.c: New file.
7192 * gdb.dwarf2/opaque-type-lookup.exp: New file.
7193
82c7be31
DE
71942015-05-26 Doug Evans <dje@google.com>
7195
7196 * gdb.cp/iostream.cc: New file.
7197 * gdb.cp/iostream.exp: New file.
7198
b4f54984
DE
71992015-05-26 Doug Evans <dje@google.com>
7200
7201 * gdb.dwarf2/dw2-op-call.exp: Update.
7202 * gdb.dwarf2/dw4-sig-types.exp: Update.
7203 * gdb.dwarf2/implptr.exp: Update.
7204 * gdb.mi/mi-cmd-param-changed.exp: Update.
7205
4ea6efe9
DE
72062015-05-26 Doug Evans <dje@google.com>
7207
7208 * gdb.python/py-lazy-string.c: New file.
7209 * gdb.python/py-lazy-string.exp: New file.
7210 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
7211 (main): Update. Add estring3.
7212 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
7213 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
7214
f6bb7db3
YQ
72152015-05-26 Omair Javaid <omair.javaid@linaro.org>
7216 Yao Qi <yao.qi@linaro.org>
7217
7218 * gdb.reverse/aarch64.c: New.
7219 * gdb.reverse/aarch64.exp: New.
7220
a81bfbd0
OJ
72212015-05-26 Omair Javaid <omair.javaid@linaro.org>
7222
25d49b86
PA
7223 * lib/gdb.exp (supports_process_record): Return true for
7224 aarch64*-linux*.
a81bfbd0
OJ
7225 (supports_reverse): Likewise.
7226
158bf1b4
PP
72272015-05-22 Patrick Palka <patrick@parcs.ath.cx>
7228
7229 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7230 Use with_test_prefix.
7231
a0145030
AB
72322015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
7233
7234 * gdb.base/completion.exp: Add test for completion of layout
7235 names.
7236
ebe3b578
AB
72372015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
7238
7239 * lib/gdb.exp (skip_tui_tests): New proc.
7240 * gdb.base/tui-layout.exp: Check skip_tui_tests.
7241
84204ed7
PA
72422015-05-19 Pedro Alves <palves@redhat.com>
7243
7244 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
7245 Save the whole env array instead of just HOME. Unset HISTSIZE in
7246 the environment while testing. Restore whole environment
7247 afterwards.
7248
37442ce1
DE
72492015-05-16 Doug Evans <xdje42@gmail.com>
7250
7251 * gdb.guile/scm-ports.c: New file.
7252 * gdb.guile/scm-ports.exp: Add memory port tests.
7253
36de76f9
JK
72542015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7255
7256 * gdb.compile/compile-print.c: New file.
7257 * gdb.compile/compile-print.exp: New file.
7258
3a9558c4
JK
72592015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7260
7261 * gdb.compile/compile-ops.exp: Cast param to void.
7262 * gdb.compile/compile.exp: Complete type for _gdb_expr.
7263 (compile code struct_object.selffield = &struct_object): Add xfail.
7264
aa715135
JG
72652015-05-15 Joel Brobecker <brobecker@adacore.com>
7266
7267 * gdb.ada/arr_enum_with_gap: New testcase.
7268
931e5bc3
JG
72692015-05-15 Joel Brobecker <brobecker@adacore.com>
7270
7271 * gdb.ada/byte_packed_arr: New testcase.
7272
9cd4d857
JB
72732015-05-15 Joel Brobecker <brobecker@adacore.com>
7274
7275 * gdb.ada/pckd_neg: New testcase.
7276
ebfd00d2
PP
72772015-05-13 Patrick Palka <patrick@parcs.ath.cx>
7278
7279 PR gdb/17820
7280 * gdb.base/gdbinit-history.exp: New test.
7281 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
7282 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7283
4c082a81
SC
72842015-05-09 Siva Chandra Reddy <sivachandra@google.com>
7285
7286 * gdb.python/py-xmethods.cc: Enhance test case.
7287 * gdb.python/py-xmethods.exp: New tests.
7288 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
7289 function.
7290 (B_indexoper): Likewise.
7291 (global_dm_list) : Add new xmethod worker functions.
7292
f7797074
SDJ
72932015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
7294
7295 * gdb.base/coredump-filter.exp: Correctly unset
7296 "coredump_var_addr" array.
7297
a4674e4e
PA
72982015-05-08 Pedro Alves <palves@redhat.com>
7299
7300 * gdb.server/non-existing-program.exp: Unset spawn_id.
7301
df2eb078
SC
73022015-05-08 Siva Chandra Reddy <sivachandra@google.com>
7303
7304 PR python/18291
7305 * gdb.python/py-xmethods.exp: Add tests.
7306
422349a3
YQ
73072015-05-08 Yao Qi <yao.qi@linaro.org>
7308
7309 PR gdb/18208
7310 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
7311 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
7312 function set_coredump_filter, and remove remote_exec call.
7313 Remove argument ipid. Callers update.
7314 (top level): Don't get inferior's PID.
7315
63fc80ce
AA
73162015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
7317
7318 * gdb.base/watch_thread_num.exp: Skip test on targets without
7319 access watchpoints.
7320
80ad801e
PA
73212015-05-06 Pedro Alves <palves@redhat.com>
7322
7323 PR server/18081
7324 * gdb.server/non-existing-program.exp: New file.
7325
0fa7fe50
JB
73262015-05-05 Joel Brobecker <brobecker@adacore.com>
7327
7328 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
7329
3ea89b92
PMR
73302015-05-05 Joel Brobecker <brobecker@adacore.com>
7331
7332 * gdb.ada/out_of_line_in_inlined: New testcase.
7333
87b8eff0
JB
73342015-05-05 Joel Brobecker <brobecker@adacore.com>
7335
7336 * gdb.ada/var_rec_arr: New testcase.
7337
5fccc635
YQ
73382015-04-30 Yao Qi <yao.qi@linaro.org>
7339
7340 * gdb.base/break-idempotent.exp: If
7341 skip_hw_watchpoint_multi_tests returns true, skip the tests
7342 on "rwatch" and "awatch".
7343
42d38f42
YQ
73442015-04-30 Yao Qi <yao.qi@linaro.org>
7345
7346 * gdb.base/relativedebug.exp: Invoke gdb command
7347 "info sharedlibrary", and if libc.so doesn't have debug info,
7348 skip the test.
7349
2ce1cdbf
DE
73502015-04-29 Doug Evans <dje@google.com>
7351
7352 * gdb.python/py-xmethods.exp: Add ptype tests.
7353 * gdb.python/py-xmethods.py (E_method_char_worker): Add
7354 get_result_type method.
7355
f24a38c5
LM
73562015-04-29 Luis Machado <lgustavo@codesourcery.com>
7357
7358 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
7359 the target does not support hardware watchpoints.
7360
ecbf2b3c
LM
73612015-04-29 Luis Machado <lgustavo@codesourcery.com>
7362
7363 * gdb.base/break-always.exp: Abort testing if writing to memory
7364 causes an error.
7365
34f5f757
DE
73662015-04-28 Doug Evans <dje@google.com>
7367
7368 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
7369 * gdb.python/py-pp-registration.exp: ... here. New file.
7370 * gdb.python/py-pp-registration.c: New file.
7371 * gdb.python/py-pp-registration.py: New file.
7372
69b4374a
DE
73732015-04-28 Doug Evans <dje@google.com>
7374
7375 * gdb.python/py-bad-printers.c: New file.
7376 * gdb.python/py-bad-printers.py: New file.
7377 * gdb.python/py-bad-printers.exp: New file.
7378
59fb7612
SS
73792015-04-28 Sasha Smundak <asmundak@google.com>
7380
7381 * gdb.python/py-type.exp: New test.
7382
2631b16a
AW
73832015-04-28 Andy Wingo <wingo@igalia.com>
7384
7385 * gdb.python/py-parameter.exp:
7386 * gdb.guile/scm-parameter.exp: Escape the path that we are
7387 matching against, as it might contain characters that are special
7388 to regular expressions.
7389
460efde1
JB
73902015-04-27 Joel Brobecker <brobecker@adacore.com>
7391
7392 * gdb.ada/rec_comp: New testcase.
7393
2d369d8e
SDJ
73942015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7395
7396 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7397 before using it.
7398
cf75d6c3
AB
73992015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7400
7401 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7402 new tests for verilog output.
7403
8dbe7ca5
YQ
74042015-04-24 Yao Qi <yao.qi@linaro.org>
7405
7406 * boards/remote-gdbserver-on-localhost.exp: New file.
7407
4ef9fb2f
PA
74082015-04-23 Pedro Alves <palves@redhat.com>
7409
7410 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7411 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7412 "end of file", remove $inferior_spawn_id from the indirect list.
7413
0a803169
PA
74142015-04-23 Pedro Alves <palves@redhat.com>
7415
7416 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7417
749ef8f8
PA
74182015-04-23 Pedro Alves <palves@redhat.com>
7419
7420 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7421 on $any_spawn_id instead of only on $gdb_spawn_id.
7422
8aae4344
PM
74232015-04-21 Pierre Muller <muller@sourceware.org>
7424
7425 PR pascal/17815
7426 * lib/pascal.exp (gpc_compile): Add new option "class".
7427 (fpc_compile): Likewise.
7428 * gdb.pascal/case-insensitive-symbols.pas: New file.
7429 * gdb.pascal/case-insensitive-symbols.exp: New file.
7430
1586c8fb
GB
74312015-04-20 Gary Benson <gbenson@redhat.com>
7432
7433 * gdb.base/attach.exp: Fix three extended remote failures.
7434
1b6e6f5c
GB
74352015-04-17 Gary Benson <gbenson@redhat.com>
7436
7437 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7438 the main executable over the remote protocol.
7439
e797481d
PA
74402015-04-16 Pedro Alves <palves@redhat.com>
7441
7442 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7443 a new gdbserver if gdbserver_reconnect_p is set.
7444
1ca99c42
PA
74452015-04-16 Pedro Alves <palves@redhat.com>
7446
7447 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7448 is set, don't exit gdbserver.
7449
af9fd6f8
AA
74502015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7451
7452 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7453 appropriate .insn, such that an older assembler can be used.
7454 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7455 the z/Architecture instruction set on 31-bit targets as well.
7456
04ff1e61
AA
74572015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7458
7459 * gdb.go/handcall.exp: Remove all logic related to the first
7460 breakpoint and rely on go_runto_main instead.
7461 * gdb.go/strings.exp: Likewise.
7462 * gdb.go/unsafe.exp: Likewise.
7463 * gdb.go/hello.exp: Likewise. Also rename the remaining
7464 breakpoint marker to "breakpoint 1".
7465 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7466 * gdb.go/strings.go: Likewise.
7467 * gdb.go/unsafe.go: Likewise.
7468 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7469 "set breakpoint 2 here" and rename the remaining breakpoint marker
7470 to "breakpoint 1".
7471
40d2f8d6
SM
74722015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7473
7474 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7475 if itertools.imap is not present.
7476 * gdb.python/py-objfile.exp: Add parentheses.
7477 * gdb.python/py-type.exp: Same.
7478 * gdb.python/py-unwind-maint.py: Same.
7479
8cbc97c6
YQ
74802015-04-15 Yao Qi <yao.qi@linaro.org>
7481
7482 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7483 of ":$ptr_size" and set its form explicitly.
7484
45fd756c
YQ
74852015-04-15 Pedro Alves <palves@redhat.com>
7486 Yao Qi <yao.qi@linaro.org>
7487
7488 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7489 timeout by factor of 4.
7490 (test_regular_watch): Likewise.
7491 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7492 * gdb.reverse/sigall-reverse.exp: Likewise.
7493 * gdb.reverse/until-precsave.exp: Likewise.
7494 * lib/gdb.exp (with_timeout_factor): New proc.
7495 (gdb_expect): Move some code to ...
7496 (get_largest_timeout): ... here. New procedure.
7497
9e811bc3
LM
74982015-04-14 Luis Machado <lgustavo@codesourcery.com>
7499
7500 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7501
0ff6fcb2
LM
75022015-04-13 Luis Machado <lgustavo@codesourcery.com>
7503
7504 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7505 to write to the .text section.
7506
7578d5f7
LM
75072015-04-13 Luis Machado <lgustavo@codesourcery.com>
7508
7509 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7510 Handle the case of targets that do not provide PID information.
7511
2efe15c4
YQ
75122015-04-13 Yao Qi <yao.qi@linaro.org>
7513
7514 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7515 and use expect instead of gdb_expect.
7516
8cd8f2f8
SDJ
75172015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7518
7519 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7520 "coredump_var_addr" to avoid naming conflict with other testcases.
7521
9ee41772
PA
75222015-04-10 Pedro Alves <palves@redhat.com>
7523
7524 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7525 gdb_test_sequence and gdb_assert.
7526
07473109
PA
75272015-04-10 Pedro Alves <palves@redhat.com>
7528
7529 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7530 test messages that don't include the breakpoint address.
7531
de3db44c
YQ
75322015-04-10 Yao Qi <yao.qi@linaro.org>
7533
7534 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7535 false for some offset and width combinations which aren't
7536 supported by linux kernel.
7537
c79d856c
PA
75382015-04-10 Pedro Alves <palves@redhat.com>
7539
7540 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7541 procedure, factored out from ...
7542 (top level): ... here. Add "set displaced-stepping" testing axis.
7543 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7544 parameter "displaced". Use it.
7545 (top level): Use foreach and add "set displaced-stepping" testing
7546 axis.
7547
ebc90b50
PA
75482015-04-10 Pedro Alves <palves@redhat.com>
7549
7550 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7551 Remove comment.
7552 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7553 both the address of the instruction that triggers the watchpoint
7554 and the address of the instruction immediately after, and use
7555 those addresses for the test. Fix comment.
7556
8f572e5c
PA
75572015-04-10 Pedro Alves <palves@redhat.com>
7558
7559 * gdb.base/sigstep.exp (breakpoint_to_handler)
7560 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7561 Test "backtrace" in handler.
7562 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7563 (top level): Add new "displaced" test axis to
7564 breakpoint_to_handler, breakpoint_to_handler_entry and
7565 breakpoint_over_handler.
7566
8d707a12
PA
75672015-04-10 Pedro Alves <palves@redhat.com>
7568
7569 PR gdb/18216
7570 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7571
ef713951
YQ
75722015-04-10 Yao Qi <yao.qi@linaro.org>
7573
7574 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7575 (test_add_rn_pc): New function.
7576 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7577 (top level): Invoke test_add_rn_pc.
7578
906d60cf
PA
75792015-04-10 Pedro Alves <palves@redhat.com>
7580
7581 PR gdb/13858
7582 * gdb.base/step-over-no-symbols.exp: New file.
7583
f2983cc3
AW
75842015-04-09 Andy Wingo <wingo@igalia.com>
7585
7586 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7587 after the Python tests.
7588
6d62641c
SDJ
75892015-04-08 Keith Seitz <keiths@redhat.com>
7590
7591 PR python/16699
7592 * gdb.python/py-completion.exp: New tests for completion.
7593 * gdb.python/py-completion.py (CompleteLimit1): New class.
7594 (CompleteLimit2): Likewise.
7595 (CompleteLimit3): Likewise.
7596 (CompleteLimit4): Likewise.
7597 (CompleteLimit5): Likewise.
7598 (CompleteLimit6): Likewise.
7599 (CompleteLimit7): Likewise.
7600
f3770638
PA
76012015-04-08 Pedro Alves <palves@redhat.com>
7602
7603 PR gdb/18214
7604 PR gdb/18216
7605 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7606 function.
7607 (main): Install it as SIGUSR1 handler.
7608 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7609 parameter. Always use "setup" as prefix. Toggle "set
7610 displaced-stepping" off/on depending on global. Don't switch to
7611 thread 1 here.
7612 (top level): Add displaced stepping "off/on" test axis. Update
7613 "setup" calls. Wrap each subtest with with_test_prefix. Test
7614 continuing with a queued signal in each thread.
7615
4496bed7
PA
76162015-04-08 Pedro Alves <palves@redhat.com>
7617
7618 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7619 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7620 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7621 Return early if running to main fails.
7622 * gdb.trace/while-stepping.exp: Likewise.
7623
b97fde92
PA
76242015-04-07 Pedro Alves <palves@redhat.com>
7625
7626 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7627 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7628 interact with inferior program.
7629
f71c18e7
PA
76302015-04-07 Pedro Alves <palves@redhat.com>
7631
7632 * lib/gdb.exp (inferior_spawn_id): New global.
7633 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7634 spawn id after processing the user code.
7635 (default_gdb_start): Set inferior_spawn_id.
7636 (send_inferior): New procedure.
7637 * lib/gdbserver-support.exp (gdbserver_start): Set
7638 inferior_spawn_id.
7639 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7640
6423214f
PA
76412015-04-07 Pedro Alves <palves@redhat.com>
7642
7643 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7644 * lib/gdbserver-support.exp (gdbserver_start): Make
7645 $server_spawn_id global.
7646 (gdbserver_start): Don't wait for gdbserver's spawn id with
7647 expect_background.
7648 (close_gdbserver): New procedure.
7649 (gdb_exit): Rename the default version and reimplement.
7650
71c0ee8c
PA
76512015-04-07 Pedro Alves <palves@redhat.com>
7652
72f4393d 7653 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
71c0ee8c
PA
7654 append the substituted item, not the original item.
7655
203bc29b
PA
76562015-04-07 Pedro Alves <palves@redhat.com>
7657
7658 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7659 gdb_expect.
7660
508a3ddf
PA
76612015-04-07 Pedro Alves <palves@redhat.com>
7662
7663 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7664 output appearing once only.
7665
9f6dbe2b
PA
76662015-04-07 Pedro Alves <palves@redhat.com>
7667
7668 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7669 that doesn't expect anything. Return early if running to main
7670 fails.
7671
337532fa
YQ
76722015-04-07 Yao Qi <yao.qi@linaro.org>
7673
7674 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7675 (child_function): Call alarm.
7676 (main): Move call to alarm into the loop.
7677 * gdb.threads/non-stop-fair-events.exp: Build program with
7678 -DTIMEOUT=$timeout.
7679
01b622d4
DE
76802015-04-06 Doug Evans <xdje42@gmail.com>
7681
7682 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7683 Fix dest parameter to board_info.
7684 (fpc_compile): Ditto.
7685 (gdb_compile_pascal): Rename dest arg to destfile.
7686
961f4160
PMR
76872015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7688
7689 * gdb.ada/funcall_ref.exp: New file.
7690 * gdb.ada/funcall_ref/foo.adb: New file.
7691
cafda597
YQ
76922015-04-02 Yao Qi <yao.qi@linaro.org>
7693
7694 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7695 is remote.
7696
fed040c6
GB
76972015-04-02 Gary Benson <gbenson@redhat.com>
7698
7699 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7700
d11916aa
SS
77012015-04-01 Sasha Smundak <asmundak@google.com>
7702
7703 * gdb.python/py-unwind-maint.c: New file.
7704 * gdb.python/py-unwind-maint.exp: New test.
7705 * gdb.python/py-unwind-maint.py: New file.
7706 * gdb.python/py-unwind.c: New file.
7707 * gdb.python/py-unwind.exp: New test.
7708 * gdb.python/py-unwind.py: New test.
7709
a1471180
PA
77102015-04-01 Pedro Alves <palves@redhat.com>
7711
7712 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7713 to fail instead of non-existent $test.
7714
0bbeccb1
PA
77152015-04-01 Pedro Alves <palves@redhat.com>
7716
7717 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7718 GDBFLAGS if not empty.
7719
3c724c8c
PMR
77202015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7721
7722 * gdb.ada/complete.exp: Remove "multi_line".
7723 * gdb.ada/info_exc.exp: Remove "multi_line".
7724 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7725 * gdb.ada/ptype_field.exp: Remove "multi_line".
7726 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7727 * gdb.ada/tagged.exp: Remove "multi_line".
7728 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7729 [multi_line ...]
7730 * gdb.btrace/delta.exp: Likewise.
7731 * gdb.btrace/exception.exp: Likewise.
7732 * gdb.btrace/function_call_history.exp: Likewise.
7733 * gdb.btrace/instruction_history.exp: Likewise.
7734 * gdb.btrace/nohist.exp: Likewise.
7735 * gdb.btrace/record_goto.exp: Likewise.
7736 * gdb.btrace/segv.exp: Likewise.
7737 * gdb.btrace/stepi.exp: Likewise.
7738 * gdb.btrace/tailcall.exp: Likewise.
7739 * gdb.btrace/unknown_functions.exp: Likewise.
7740 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7741 * lib/gdb.exp: Add the "multi_line" helper.
7742
4eec2deb
PA
77432015-04-01 Pedro Alves <palves@redhat.com>
7744
7745 * gdb.threads/tid-reuse.c: New file.
7746 * gdb.threads/tid-reuse.exp: New file.
7747
df8411da
SDJ
77482015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7749
7750 PR corefiles/16092
7751 * gdb.base/coredump-filter.c: New file.
7752 * gdb.base/coredump-filter.exp: Likewise.
7753
6ef37366
PM
77542015-03-27 Petr Machata <pmachata@redhat.com>
7755
7756 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7757 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7758 (Dwarf::assemble): Initialize them.
7759 (Dwarf::lines): New function.
7760
7ec911b0
JT
77612015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7762
7763 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7764 SYMBOL_PREFIX for x86_64-*-cygwin.
7765
ff908ebf
AW
77662015-03-26 Andy Wingo <wingo@igalia.com>
7767
7768 PR symtab/18148
7769 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7770 const_value but not a location.
7771 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7772 location defined in non-main CUs are visible.
7773
6d5f0679
YQ
77742015-03-26 Yao Qi <yao.qi@linaro.org>
7775
7776 PR testsuite/18139
7777 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7778 Add a line number entry for the same line.
7779 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7780 Add a line number entry for the same line.
7781
2898689b
YQ
77822015-03-26 Yao Qi <yao.qi@linaro.org>
7783
7784 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7785 .int 0.
7786 (func): Likewise. Add .Lfunc_1 label.
7787 Use .Lfunc_1 label.
7788 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7789 .int 0.
7790 (func): Likewise.
7791 Use .Lfunc_1 label.
7792
85180498
YQ
77932015-03-26 Yao Qi <yao.qi@linaro.org>
7794
7795 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7796 Call gdb_compile instead to compile each .s files without debug
7797 information.
7798
8aa08a8d
YQ
77992015-03-26 Yao Qi <yao.qi@linaro.org>
7800
7801 * gdb.base/savedregs.exp (process_saved_regs): Make
7802 "Saved registers:" optional in the pattern.
7803
66849923
MM
78042015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7805
7806 * gdb.btrace/next.exp: Merged into step.exp.
7807 * gdb.btrace/finish.exp: Merged into step.exp.
7808 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7809 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7810 "record goto" and checking the exact replay position.
7811 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7812 check for "Recording format" in "info record" output.
7813 * gdb.btrace/record_goto.exp: Choose test file based on target.
7814 * gdb.btrace/x86-record_goto.S: Renamed into ...
7815 * gdb.btrace/x86_64-record_goto.S: ... this.
7816 * gdb.btrace/i686-record_goto.S: New.
7817 * gdb.btrace/x86-tailcall.S: Renamed into ...
7818 * gdb.btrace/x86_64-tailcall.S: ... this.
7819 * gdb.btrace/i686-tailcall.S: New.
7820 * gdb.btrace/x86-tailcall.c: Renamed into ...
7821 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7822 separate statements. Update test.
7823 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7824 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7825 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7826 * gdb.btrace/tailcall.exp: Choose test file based on target.
7827 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7828
11cc1b74
MM
78292015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7830
7831 * gdb.btrace/exception.exp: Increase BTS buffer size.
7832
a25d8bf9
PA
78332015-03-24 Pedro Alves <palves@redhat.com>
7834
7835 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7836
856e7dd6
PA
78372015-03-24 Pedro Alves <palves@redhat.com>
7838
7839 * gdb.threads/schedlock.exp (test_step): No longer expect that
7840 "set scheduler-locking step" with "next" over a function call runs
7841 threads unlocked.
7842
ad235a41
AT
78432015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7844
7845 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7846
15630549
AT
78472015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7848
7849 PR breakpoints/16466
7850 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7851 * gdb.mi/mi-pending.c (thread_func): New function.
7852 (int main): Add threading support required.
7853 * gdb.mi/mi-pending.exp: Add tests for this issue.
7854 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7855 (pendfunc2): Remove stdio dependency.
7856 * gdb.mi/mi-pendshr2.c: New file.
7857
693dca06
KS
78582015-03-23 Keith Seitz <keiths@redhat.com>
7859
7860 * gdb.linespec/keywords.c: New file.
7861 * gdb.linespec/keywords.exp: New file.
7862
7e993ebf
KS
78632015-03-23 Keith Seitz <keiths@redhat.com>
7864
7865 PR gdb/18021
7866 * gdb.dwarf2/staticvirtual.exp: New test.
7867
bc23328c
JK
78682015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7869
7870 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7871 * README: Remove HP-UX and gdb.hp.
7872 (configuration):
7873 * configure: Regenerate.
7874 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7875 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7876 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7877 gdb.hp/gdb.defects/Makefile.
7878 * gdb.hp/Makefile.in: File deleted.
7879 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7880 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7881 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7882 * gdb.hp/gdb.aCC/run.c: File deleted.
7883 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7884 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7885 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7886 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7887 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7888 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7889 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7890 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7891 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7892 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7893 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7894 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7895 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7896 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7897 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7898 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7899 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7900 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7901 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7902 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7903 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7904 * gdb.hp/gdb.compat/average.c: File deleted.
7905 * gdb.hp/gdb.compat/sum.c: File deleted.
7906 * gdb.hp/gdb.compat/xdb.c: File deleted.
7907 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7908 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7909 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7910 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7911 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7912 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7913 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7914 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7915 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7916 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7917 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7918 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7919 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7920 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7921 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7922 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7923 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7924 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7925 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7926 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7927 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7928 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7929 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7930 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7931 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7932 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7933 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7934 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7935 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7936 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7937 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7938 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7939 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7940 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7941 * gdb.hp/tools/odump: File deleted.
7942
8bf3b159
PA
79432015-03-19 Pedro Alves <palves@redhat.com>
7944
7945 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7946 (saw_thread_3): New globals.
7947 (top level): Increment them when an event for the corresponding
7948 thread is seen.
7949 (no thread starvation): New test.
7950
eb54c8bf
PA
79512015-03-19 Pedro Alves <palves@redhat.com>
7952
7953 * gdb.threads/continue-pending-status.c: New file.
7954 * gdb.threads/continue-pending-status.exp: New file.
7955
32d2e5d6
PA
79562015-03-18 Pedro Alves <palves@redhat.com>
7957
7958 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7959 Use gdb_is_target_remote instead of is_remote. Use
7960 gdb_test_multiple instead of gdb_expect. Exit early if
7961 gdb_test_multiple hits its internal matches. Tighten stepi tests
7962 expected output. Fail on exit with any signal, instead of just
7963 SIGILL.
7964
f68f11b7
YQ
79652015-03-18 Yao Qi <yao.qi@linaro.org>
7966
7967 PR tdep/18107
7968 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7969 variable.
7970 * gdb.base/catch-syscall.exp: Don't skip it on
7971 aarch64*-*-linux* target. Remove elements in all_syscalls.
7972 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7973 target.
7974 (setup_all_syscalls): New proc.
7975
ca5fd19b
YQ
79762015-03-16 Yao Qi <yao.qi@linaro.org>
7977
7978 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7979 (top level): Skip tests if valid_addr_p returns false for
7980 $cmd1 or $cmd2.
7981
85642ba0
AW
79822015-03-11 Andy Wingo <wingo@igalia.com>
7983
7984 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7985
e03f9645
YQ
79862015-03-11 Yao Qi <yao.qi@linaro.org>
7987
7988 * gdb.base/catch-syscall.exp: Fix typo in comments.
7989
5d0962b2
YQ
79902015-03-11 Yao Qi <yao.qi@linaro.org>
7991
7992 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7993
b2df3cef
PA
79942015-03-09 Pedro Alves <palves@redhat.com>
7995
7996 * dg-extract-results.py: Delete.
7997
ef878e53
PA
79982015-03-09 Pedro Alves <palves@redhat.com>
7999
8000 Merge dg-extract-results.sh from GCC upstream (r218843).
8001
8002 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
8003 * dg-extract-results.sh: Use --text with grep to avoid issues with
8004 binary files. Fall back to cat -v, if that doesn't work.
8005
9494d219
PA
80062015-03-05 Pedro Alves <palves@redhat.com>
8007
8008 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
8009
a8d9763a
SM
80102015-03-04 Simon Marchi <simon.marchi@ericsson.com>
8011
8012 * lib/mi-support.exp (mi_expect_interrupt): Accept
8013 alternative event for when in all-stop mode.
8014
be9957b8
PA
80152015-03-04 Pedro Alves <palves@redhat.com>
8016
8017 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
8018
d57be0f4 80192015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
8020
8021 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
8022
c214c7cf
AA
80232015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8024
8025 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
8026 regexps for GDB's current line display, accept a hex address
8027 preceding the line number.
8028
6d74a497
AA
80292015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
8030
8031 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
8032 the 'arch1' variable for "s390*-linux*" targets.
8033
511aee7c
PA
80342015-03-04 Pedro Alves <palves@redhat.com>
8035
8036 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
8037 (main): Pass missing retval argument to pthread_join call.
8038
95e50b27
PA
80392015-03-02 Pedro Alves <palves@redhat.com>
8040
8041 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
8042 (top level): Call do_test with non-stop as well.
8043
28054d69
PA
80442015-03-02 Pedro Alves <palves@redhat.com>
8045
8046 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
8047 -1.
8048
4fa5d7b4
AA
80492015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8050
8051 * gdb.arch/s390-vregs.exp: New test.
8052 * gdb.arch/s390-vregs.S: New file.
8053
97c18565
PA
80542015-02-27 Pedro Alves <palves@redhat.com>
8055
8056 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
8057 call to catch_command_errors.
8058 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
8059 catch_command_errors.
8060
a37bfa30
PA
80612015-02-27 Pedro Alves <palves@redhat.com>
8062
8063 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
8064 "true" for boolean result.
8065 * gdb.gdb/selftest.exp (test_with_self): Also accept full
8066 prototype of main.
8067
6f98576f
PA
80682015-02-27 Pedro Alves <palves@redhat.com>
8069
8070 * lib/unbuffer_output.c: New file.
8071 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
8072 (main): Call gdb_unbuffer_output.
8073
eba5ab56
YQ
80742015-02-27 Yao Qi <yao.qi@linaro.org>
8075
8076 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
8077 target.
8078
0def5aaa
DE
80792015-02-26 Doug Evans <dje@google.com>
8080
8081 * gdb.cp/class2.cc (Dbase, D): New classes.
8082 (main): New local delta.
8083 * gdb.cp/class2.exp: Test printing delta.
8084 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
8085 (dynbar): New global.
8086 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
8087
081a1c2c
JK
80882015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8089
8090 * gdb.compile/compile-ifunc.c: New file.
8091 * gdb.compile/compile-ifunc.exp: New file.
8092
2f41223f
AT
80932015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
8094
8095 * gdb.base/structs.exp: Check for correct struct on finish.
8096
03eddd80
YQ
80972015-02-26 Yao Qi <yao.qi@linaro.org>
8098
8099 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
8100 is zero.
8101
80c57053
JK
81022015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8103
8104 * gdb.arch/cordic.ko.bz2: New file.
8105 * gdb.arch/cordic.ko.debug.bz2: New file.
8106 * gdb.arch/ppc64-symtab-cordic.exp: New file.
8107
21613c12
YQ
81082015-02-25 Yao Qi <yao.qi@linaro.org>
8109
8110 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
8111 aarch64*-*-* target.
8112
d8b901ed
PA
81132015-02-23 Pedro Alves <palves@redhat.com>
8114
8115 * lib/gdb.exp (delete_breakpoints): Rewrite using
8116 gdb_test_multiple.
8117
e5b85ead
PA
81182015-02-23 Pedro Alves <palves@redhat.com>
8119
8120 * gdb.base/info-os.c: Include stdlib.h.
8121
85c3a371
DE
81222015-02-22 Doug Evans <xdje42@gmail.com>
8123
8124 PR symtab/17855
8125 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
8126 is read after symbols have been re-read.
8127 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
8128 * gdb.ada/exec_changed/second.adb (Second): Ditto.
8129
96553a0c
DE
81302015-02-21 Doug Evans <dje@google.com>
8131
8132 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
8133
97a0c697
JK
81342015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8135
8136 PR corefiles/17808
8137 * gdb.arch/i386-biarch-core.core.bz2: New file.
8138 * gdb.arch/i386-biarch-core.exp: New file.
8139
a47cd6e9
PA
81402015-02-21 Pedro Alves <palves@redhat.com>
8141
8142 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
8143 runto_main fails.
8144
c5facdc4
PA
81452015-02-20 Pedro Alves <palves@redhat.com>
8146
8147 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
8148 info probes.
8149
2db9a427
PA
81502015-02-20 Pedro Alves <palves@redhat.com>
8151
8152 * gdb.threads/multi-create-ns-info-thr.exp: New file.
8153
60fb7e9e
PA
81542015-02-20 Pedro Alves <palves@redhat.com>
8155
8156 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
8157 clean_restart before gdb_target_supports_trace.
8158
5c5019c2
PA
81592015-02-20 Pedro Alves <palves@redhat.com>
8160
8161 PR threads/18006
8162 * gdb.threads/clone-thread_db.c: New file.
8163 * gdb.threads/clone-thread_db.exp: New file.
8164
c9587f88
AT
81652015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
8166
8167 PR breakpoints/16812
8168 * gdb.base/catch-gdb-caused-signals.c: New file.
8169 * gdb.base/catch-gdb-caused-signals.exp: New file.
8170
f6a88844
JM
81712015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
8172
8173 * configure: Regenerated.
8174 * configure.ac: Use GDB_AC_TRANSFORM.
8175 * aclocal.m4: sinclude ../transform.m4.
8176
497c491b
JM
81772015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8178
8179 * lib/dtrace.exp: New file.
8180 * gdb.base/dtrace-probe.exp: Likewise.
8181 * gdb.base/dtrace-probe.d: Likewise.
8182 * gdb.base/dtrace-probe.c: Likewise.
8183 * lib/pdtrace.in: Likewise.
8184 * configure.ac: Output variables with the transformed names of
8185 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
8186 * configure: Regenerated.
8187
03e98035
JM
81882015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8189
8190 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
8191 expected message when trying to access $_probe_* convenience
8192 variables while not on a probe.
8193
63cc30e9
JK
81942015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8195
8196 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
8197
0703599a
PA
81982015-02-11 Pedro Alves <pedro@codesourcery.com>
8199
8200 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
8201 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
8202
7e60a48e
DE
82032015-02-10 Doug Evans <xdje42@gmail.com>
8204
8205 * lib/gdb.exp (gdb_load): Always return a result.
8206
01b088bc
PA
82072015-02-10 Pedro Alves <palves@redhat.com>
8208
8209 * gdb.threads/signal-sigtrap.c: New file.
8210 * gdb.threads/signal-sigtrap.exp: New file.
8211
b05ec7a5
AT
82122015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
8213
8214 * gdb.trace/no-attach-trace.c: New file.
8215 * gdb.trace/no-attach-trace.exp: New file.
8216
a2c2acaf
MW
82172015-02-09 Mark Wielaard <mjw@redhat.com>
8218
8219 * gdb.dwarf2/atomic.c: New file.
8220 * gdb.dwarf2/atomic-type.exp: Likewise.
8221
31fd9caa
MM
82222015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8223
8224 * gdb.btrace/buffer-size.exp: Update "info record" output.
8225 * gdb.btrace/delta.exp: Update "info record" output.
8226 * gdb.btrace/enable.exp: Update "info record" output.
8227 * gdb.btrace/finish.exp: Update "info record" output.
8228 * gdb.btrace/instruction_history.exp: Update "info record" output.
8229 * gdb.btrace/next.exp: Update "info record" output.
8230 * gdb.btrace/nexti.exp: Update "info record" output.
8231 * gdb.btrace/step.exp: Update "info record" output.
8232 * gdb.btrace/stepi.exp: Update "info record" output.
8233 * gdb.btrace/nohist.exp: Update "info record" output.
8234
d33501a5
MM
82352015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8236
8237 * gdb.btrace/buffer-size: New.
8238
f4abbc16
MM
82392015-02-09 Markus Metzger <markus.t.metzger@intel.com>
8240
8241 * gdb.btrace/delta.exp: Update "info record" output.
8242 * gdb.btrace/enable.exp: Update "info record" output.
8243 * gdb.btrace/finish.exp: Update "info record" output.
8244 * gdb.btrace/instruction_history.exp: Update "info record" output.
8245 * gdb.btrace/next.exp: Update "info record" output.
8246 * gdb.btrace/nexti.exp: Update "info record" output.
8247 * gdb.btrace/step.exp: Update "info record" output.
8248 * gdb.btrace/stepi.exp: Update "info record" output.
8249 * gdb.btrace/nohist.exp: Update "info record" output.
8250
b9d61307
SM
82512015-02-06 Simon Marchi <simon.marchi@ericsson.com>
8252
8253 PR gdb/15678
8254 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
8255
e584fdbc
PA
82562015-02-06 Pedro Alves <palves@redhat.com>
8257
8258 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
8259 macro.
8260 (seconds_left, again): New globals.
8261 (main): Wait seconds_left in a 1-second sleep loop instead of
8262 sleeping 180 seconds. If 'again' is set, reset the seconds
8263 counter.
8264 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
8265 'again' in the inferior before detaching. Print the seconds left.
8266 (options): New global.
8267 (top level): Build program with -DTIMEOUT=$timeout.
8268
77f41761
PA
82692015-02-06 Pedro Alves <palves@redhat.com>
8270
8271 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
8272 determine how many seconds to pass to 'alarm'.
8273 * gdb.base/gdb-sigterm.exp (top level): Build program with
8274 -DTIMEOUT=$timeout.
8275 (do_test): Return success/failure indication. Add more verbose
8276 logging. Don't fail if 200 single steps are seen. Instead, fail
8277 when the test times out.
8278 (passes): New global.
8279 (top level): Break the testing loop if testing fails on any
8280 iteration. Use gdb_assert.
8281
b9394193
DB
82822015-02-04 Don Breazeal <donb@codesourcery.com>
8283
8284 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
8285 and initialize them.
8286 (ipc_cleanup): New function.
8287 (main): Don't declare shmid, semid, and msqid. Add a call to
8288 atexit so that we call ipc_cleanup on exit.
8289
42d9e528
PA
82902015-02-04 Pedro Alves <palves@redhat.com>
8291
8292 * boards/native-extended-gdbserver.exp: Remove any target variant
8293 specifications from the board name before clearing the isremote
8294 flag from board_info.
8295
ae6ae975
DE
82962015-01-31 Doug Evans <xdje42@gmail.com>
8297
8298 * gdb.base/maint.exp <maint print type argc>: Update expected output.
8299
cfb069a8
GB
83002015-01-31 Gary Benson <gbenson@redhat.com>
8301
8302 * gdb.base/completion.exp: Disable completion limiting for
8303 existing tests. Add new tests to check completion limiting.
8304 * gdb.linespec/ls-errs.exp: Disable completion limiting.
8305
5dd31d79
DE
83062015-01-31 Doug Evans <xdje42@gmail.com>
8307
8308 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
8309
9f050062
DE
83102015-01-31 Doug Evans <xdje42@gmail.com>
8311
8312 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
8313 entries. Duplicate file section script entries.
8314 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
8315 inlined entries. Add test for safe-path rejection.
8316 * gdb.python/py-section-script.c: Add duplicate inlined section script
8317 entries. Duplicate file section script entries.
8318 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
8319 inlined entries. Add test for safe-path rejection.
8320
df25ebbd
JB
83212015-01-29 Joel Brobecker <brobecker@adacore.com>
8322
8323 * gdb.ada/disc_arr_bound: New testcase.
8324
4a0ca9ec
JB
83252015-01-29 Joel Brobecker <brobecker@adacore.com>
8326
8327 * gdb.ada/mi_var_array: New testcase.
8328
3a8b707a
DE
83292015-01-27 Doug Evans <dje@google.com>
8330
8331 * gdb.python/py-objfile.exp: Add tests for objfile.username.
8332 Add test for objfile.filename, objfile.username after objfile
8333 has been unloaded.
8334
f8313f6e
JB
83352015-01-26 Joel Brobecker <brobecker@adacore.com>
8336
8337 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
8338 the second test to print the name attribute of value
8339 returned by the call to gdb.lookup_type, and adjust
8340 the expected output accordingly.
8341
37bc665e
MW
83422015-01-25 Mark Wielaard <mjw@redhat.com>
8343
8344 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
8345 * gdb.base/disp-step-fork.c: Include unistd.h.
8346 * gdb.base/siginfo-obj.c: Include stdio.h.
8347 * gdb.base/siginfo-thread.c: Likewise.
8348 * gdb.mi/non-stop.c: Include unistd.h.
8349 * gdb.mi/nsthrexec.c: Include stdio.h.
8350 * gdb.mi/pthreads.c: Include unistd.h.
8351 * gdb.modula2/unbounded1.c (main): Declare returns int.
8352 * gdb.reverse/consecutive-reverse.c: Likewise.
8353 * gdb.threads/create-fail.c: Include unistd.h.
8354 * gdb.threads/killed.c: Likewise.
8355 * gdb.threads/linux-dp.c: Likewise.
8356 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
8357 * gdb.threads/non-ldr-exc-2.c: Likewise.
8358 * gdb.threads/non-ldr-exc-3.c: Likewise.
8359 * gdb.threads/non-ldr-exc-4.c: Likewise.
8360 * gdb.threads/pthreads.c: Include unistd.h.
8361 (main): Declare returns int.
8362 * gdb.threads/tls-main.c (foo): New declaration.
8363 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
8364
f7e5394d
SM
83652015-01-23 Simon Marchi <simon.marchi@ericsson.com>
8366
8367 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
8368 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
8369
743649fd
MW
83702015-01-15 Mark Wielaard <mjw@redhat.com>
8371
8372 * gdb.base/noreturn-return.c: New file.
8373 * gdb.base/noreturn-return.exp: New file.
8374 * gdb.base/noreturn-finish.c: New file.
8375 * gdb.base/noreturn-finish.exp: New file.
8376
198297aa
PA
83772015-01-23 Pedro Alves <palves@redhat.com>
8378
8379 * gdb.threads/continue-pending-after-query.c: New file.
8380 * gdb.threads/continue-pending-after-query.exp: New file.
8381
717cf30c
AG
83822015-01-22 Anders Granlund <anders.granlund@ericsson.com>
8383 Simon Marchi <simon.marchi@ericsson.com>
8384
8385 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
8386 * gdb.base/valgrind-db-attach.exp: Same.
8387 * gdb.base/valgrind-infcall.exp: Same.
8388 * lib/mi-support.exp (default_mi_gdb_start): Same.
8389 * lib/prompt.exp (default_prompt_gdb_start): Same.
8390 * lib/gdb.exp (default_gdb_spawn): Same.
8391 (gdb_interact): New.
8392
8393
4b62a76e
JK
83942015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8395
8396 * gdb.compile/compile.exp (pointer to jit function): New test.
8397
b4cdae6f
WW
83982015-01-17 Wei-cheng Wang <cole945@gmail.com>
8399
8400 * lib/gdb.exp (supports_process_record): Return true for
8401 powerpc*-*-linux*.
8402 (supports_reverse): Likewise.
8403
d221e7ef
DB
84042015-01-15 Don Breazeal <donb@codesourcery.com>
8405
8406 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8407 instead of checking whether the target board is remote and
8408 use spawn_wait_for_attach instead of exec/sleep.
8409 * gdb.base/attach-twice.exp: Likewise.
8410
bafffb51
JB
84112015-01-15 Joel Brobecker <brobecker@adacore.com>
8412
8413 * gdb.ada/var_arr_attrs: New testcase.
8414
5589af0e
PA
84152015-01-14 Pedro Alves <palves@redhat.com>
8416 Joel Brobecker <brobecker@adacore.com>
8417
8418 PR gdb/17525
8419 * gdb.base/bp-cmds-execution-x-script.c: New file.
8420 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8421 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8422
6c400b59
PA
84232015-01-14 Pedro Alves <palves@redhat.com>
8424
8425 PR cli/17828
8426 * gdb.base/batch-preserve-term-settings.c: New file.
8427 * gdb.base/batch-preserve-term-settings.exp: New file.
8428
e02c96a7
DE
84292015-01-13 Doug Evans <dje@google.com>
8430
8431 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8432 binary.
8433
576fd14c
JB
84342015-01-13 Joel Brobecker <brobecker@adacore.com>
8435
8436 * Makefile.in (clean mostlyclean): Do not delete *.py.
8437
04dccad0
JB
84382015-01-13 Joel Brobecker <brobecker@adacore.com>
8439
8440 * gdb.python/py-lookup-type.exp: New file.
8441
3d230f71
PA
84422015-01-12 Pedro Alves <palves@redhat.com>
8443
8444 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8445 restore GDBFLAGS before returning.
8446
7e67715d
JK
84472015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8448
8449 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8450 is_amd64_regs_target and is_x86_like_target.
8451
f2e0d4b4
DE
84522015-01-11 Doug Evans <xdje42@gmail.com>
8453
8454 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8455 is given without an explicit form.
8456 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8457 attributes.
8458 * gdb.dwarf/corrupt.exp: Ditto.
8459 * gdb.dwarf2/enum-type.exp: Ditto.
8460 * gdb.trace/entry-values.exp: Ditto.
8461 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8462
439250fb
DE
84632015-01-11 Doug Evans <xdje42@gmail.com>
8464
8465 PR gdb/15830
8466 * gdb.base/maint.exp: Remove references to "maint demangle".
8467 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8468 Add tests for explicitly specifying language to demangle.
8469 * gdb.dlang/demangle.exp: Ditto.
8470
ede9f622
PA
84712015-01-09 Pedro Alves <palves@redhat.com>
8472
8473 * gdb.threads/non-stop-fair-events.c: New file.
8474 * gdb.threads/non-stop-fair-events.exp: New file.
8475
a7b796db
PA
84762015-01-09 Pedro Alves <palves@redhat.com>
8477
8478 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8479 the global scope. Set a breakpoint after all threads are started
8480 rather than stepping over two source lines. Expect the prompt.
8481 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8482 global.
8483 (NUM): Now 15.
8484 (main): Use threads_started_barrier to wait for all threads to
8485 start. Main thread no longer calls thread_function. Exit after
8486 180 seconds.
8487 (loop): New function.
8488 (thread_function): Wait on threads_started_barrier barrier. Call
8489 'loop' at each iteration.
8490 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8491 threads have started, instead of hardcoding number of "next"
8492 steps. Use an access watchpoint instead of a write watchpoint.
8493
9665ffdd
PA
84942015-01-09 Pedro Alves <palves@redhat.com>
8495
8496 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8497 (thread_func): Wait on barrier.
8498 (main): Wait for all threads to start before stopping GDB.
8499 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8500 global.
8501 (thread1_func, thread2_func): Wait on barrier.
8502 (main): Wait for all threads to start before stopping GDB.
8503 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8504 New global.
8505 (thread1_func, thread2_func): Wait on barrier.
8506 (main): Wait for all threads to start before stopping GDB.
8507
c945a99f
PA
85082015-01-09 Pedro Alves <palves@redhat.com>
8509
8510 * gdb.threads/attach-many-short-lived-threads.c: New file.
8511 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8512
c1a747c1
PA
85132014-01-09 Pedro Alves <palves@redhat.com>
8514
8515 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8516 instead of to thread 2.
8517 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8518 Add barrier around each pthread_create call instead of around all
8519 calls.
8520 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8521 Set a break on thread_function and have the child threads hit it
8522 one at at a time.
8523
60b3033e
PA
85242015-01-09 Pedro Alves <palves@redhat.com>
8525
8526 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8527 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8528 false.
8529 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8530 checking whether the target board is remote.
8531 * gdb.multi/multi-attach.exp: Likewise.
8532 * gdb.python/py-sync-interp.exp: Likewise.
8533 * gdb.server/ext-attach.exp: Likewise.
8534 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8535 tests that need to attach, instead of checking whether the target
8536 board is remote at the top of the file.
8537
acc018ac
YQ
85382015-01-08 Yao Qi <yao@codesourcery.com>
8539
8540 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8541
50a18af8
JK
85422015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8543
8544 Fix testcase compilation.
8545 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8546
8503d6e1
JB
85472015-01-06 Joel Brobecker <brobecker@adacore.com>
8548
8549 * gdb.python/py-type.exp: Add a couple test about empty
8550 array creation, and negative-length array creation.
8551
cc73dbcc
DE
85522015-01-02 Doug Evans <xdje42@gmail.com>
8553
8554 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8555
0300bbc7
DE
85562015-01-02 Doug Evans <dje@google.com>
8557
8558 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8559
9d85a0ec
YQ
85602014-12-29 Yao Qi <yao@codesourcery.com>
8561
8562 * gdb.trace/entry-values.exp: Update comments. Rename variable
8563 bar_call_foo to returned_from_foo.
8564
87186c6a
MMN
85652014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8566
8567 PR gdb/17394
8568 * gdb.linespec/break-asm-file.c: New file.
8569 * gdb.linespec/break-asm-file.exp: New file.
8570 * gdb.linespec/break-asm-file0.s: New file.
8571 * gdb.linespec/break-asm-file1.s: New file.
8572
1bab7383
YQ
85732014-12-18 Nigel Stephens <nigel@mips.com>
8574 Maciej W. Rozycki <macro@codesourcery.com>
8575
8576 * gdb.base/float.exp: Handle the new output from "info float" on
8577 MIPS targets.
8578
1bc1068a
JK
85792014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8580
8581 Fix MinGW compilation.
8582 * gdb.compile/compile-ops.exp: Update untested message if
8583 !skip_compile_feature_tests.
8584 * gdb.compile/compile-setjmp.exp: Likewise.
8585 * gdb.compile/compile-tls.exp: Likewise.
8586 * gdb.compile/compile.exp: Likewise.
8587 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8588 supported on this host".
8589
b6615d10
DE
85902014-12-16 Doug Evans <xdje42@gmail.com>
8591
8592 * boards/stabs.exp: New file.
8593
25dda427
AA
85942014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8595
8596 * gdb.base/completion.exp: Adjust to format changes of "maint
8597 print user-registers".
8598
bf330350
CU
85992014-12-16 Catalin Udma <catalin.udma@freescale.com>
8600
8601 PR server/17457
8602 * gdb.arch/aarch64-fp.c: New file.
8603 * gdb.arch/aarch64-fp.exp: New file.
8604
395cf596
SDJ
86052014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8606
8607 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8608 r210637, r210913, r211666, r215400, r215817).
8609
8610 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8611 * dg-extract-results.py: New file.
8612 * dg-extract-results.sh: Use it if the environment seems
8613 suitable.
8614
8615 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8616
8617 * dg-extract-results.py (parse_run): Handle warnings that
8618 are printed before a test harness is run.
8619
8620 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8621
8622 * dg-extract-results.py (Named): Remove __cmp__ method.
8623 (output_variation): Use a key to sort variation.harnesses.
8624
8625 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8626
8627 * dg-extract-results.py: For Python 3, force sys.stdout to
8628 handle surrogate escape sequences.
8629 (safe_open): New function.
8630 (output_segment, main): Use it.
8631
8632 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8633
8634 * dg-extract-results.py (Prog.result_re): Include options
8635 in test name.
8636
8637 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8638
8639 * dg-extract-results.py (output_variation): Always sort if
8640 do_sum.
8641
e882ef3c
SM
86422014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8643
8644 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8645 as long as we get pagination notifications.
8646
4992aa20
JM
86472014-12-15 Jason Merrill <jason@redhat.com>
8648
8649 * Makefile.in (check-gdb.%): Restore.
8650 * README: Mention it.
8651
c1b5a1a6
JB
86522014-12-13 Joel Brobecker <brobecker@adacore.com>
8653
8654 * gdb.ada/str_uninit: New testcase.
8655
5537b577
JK
86562014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8657
8658 PR symtab/17642
8659 * gdb.base/vla-stub-define.c: New file.
8660 * gdb.base/vla-stub.c: New file.
8661 * gdb.base/vla-stub.exp: New file.
8662
bb2ec1b3
TT
86632014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8664 Jan Kratochvil <jan.kratochvil@redhat.com>
8665 Tom Tromey <tromey@redhat.com>
8666
8667 * configure.ac: Add gdb.compile/.
8668 * configure: Regenerate.
8669 * gdb.compile/Makefile.in: New file.
8670 * gdb.compile/compile-ops.exp: New file.
8671 * gdb.compile/compile-ops.c: New file.
8672 * gdb.compile/compile-tls.c: New file.
8673 * gdb.compile/compile-tls.exp: New file.
8674 * gdb.compile/compile-constvar.S: New file.
8675 * gdb.compile/compile-constvar.c: New file.
8676 * gdb.compile/compile-mod.c: New file.
8677 * gdb.compile/compile-nodebug.c: New file.
8678 * gdb.compile/compile-setjmp-mod.c: New file.
8679 * gdb.compile/compile-setjmp.c: New file.
8680 * gdb.compile/compile-setjmp.exp: New file.
8681 * gdb.compile/compile-shlib.c: New file.
8682 * gdb.compile/compile.c: New file.
8683 * gdb.compile/compile.exp: New file.
8684 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8685
4ff709eb
TT
86862014-12-12 Tom Tromey <tromey@redhat.com>
8687
8688 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8689 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8690
6dddd6a5
DE
86912014-12-12 Doug Evans <dje@google.com>
8692
8693 * lib/gdb-python.exp (get_python_valueof): New function.
8694 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8695
71c24708
AA
86962014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8697
8698 * gdb.base/completion.exp: Add test for completion of "info
8699 registers ".
8700
3e29f34a
MR
87012014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8702
8703 * gdb.base/func-ptrs.c: New file.
8704 * gdb.base/func-ptrs.exp: New file.
8705
fc126975
SM
87062014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8707
8708 PR breakpoints/17012
8709 * gdb.base/dprintf-detach.c: New file.
8710 * gdb.base/dprintf-detach.exp: New file.
8711
0a46d518
SM
87122014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8713
8714 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8715 * lib/gdb.exp (target_is_gdbserver): New procedure.
8716
a0be3e44
DE
87172014-12-08 Doug Evans <dje@google.com>
8718
8719 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8720
df1b803a
YQ
87212014-12-05 Yao Qi <yao@codesourcery.com>
8722
8723 * gdb.guile/scm-error.exp: Remove the third argument to
8724 gdb_remote_download.
8725 * gdb.guile/scm-frame-args.exp: Likewise.
8726 * gdb.guile/scm-section-script.exp: Likewise.
8727
ddb9f679
YQ
87282014-12-05 Yao Qi <yao@codesourcery.com>
8729
8730 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8731
86e4ed39
DE
87322014-12-04 Doug Evans <dje@google.com>
8733
8734 * gdb.python/py-objfile.exp: Add tests for
8735 objfile.add_separate_debug_file.
8736
7c50a931
DE
87372014-12-04 Doug Evans <dje@google.com>
8738
8739 * lib/gdb.exp (get_build_id): New function.
8740 (build_id_debug_filename_get): Rewrite to use it.
8741 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8742
621661e3
MR
87432014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8744
8745 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8746 `method(long)', not just 0x0.
8747 * gdb.cp/nsalias.exp: Align code labels to 4.
8748 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8749 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8750 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8751 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8752 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8753 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8754
29f0c3b7
DE
87552014-12-02 Doug Evans <dje@google.com>
8756
e1e061e7 8757 PR symtab/17602
29f0c3b7 8758 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 8759 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
8760 * gdb.cp/anon-ns.exp: Update.
8761
162078c8
NB
87622014-12-02 Nick Bull <nicholaspbull@gmail.com>
8763
8764 * gdb.python/py-events.py (inferior_call_handler): New.
8765 (register_changed_handler, memory_changed_handler): New.
8766 (test_events.invoke): Register new handlers.
8767 * gdb.python/py-events.exp: Add tests for inferior call,
8768 memory_changed and register_changed events.
8769
fdb09caf
AA
87702014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8771
8772 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8773 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8774 if the linker doesn't understand this.
8775
55cfb2c4
SM
87762014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8777
8778 * gdb.python/python.exp: Change expected reply to help().
8779
9e8cd6df
YQ
87802014-12-01 Yao Qi <yao@codesourcery.com>
8781
8782 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8783 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8784 * configure: Re-generated.
8785
6c659fc2
SC
87862014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8787
8788 * gdb.cp/chained-calls.cc: New file.
8789 * gdb.cp/chained-calls.exp: New file.
8790 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8791
d7fc3181
SM
87922014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8793
8794 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8795 * gdb.dwarf2/symtab-producer.exp: Same.
8796 * gdb.gdb/python-interrupts.exp: Same.
8797 * gdb.gdb/python-selftest.exp: Same.
8798 * gdb.python/py-linetable.exp: Same.
8799 * gdb.python/py-type.exp: Same.
8800 * gdb.python/py-value-cc.exp: Same.
8801 * gdb.python/py-value.exp: Same.
8802
10e79639
YQ
88032014-11-28 Yao Qi <yao@codesourcery.com>
8804
8805 * gdb.base/break-probes.exp: Match library name prefixed with
8806 sysroot.
8807
f28a0564
SM
88082014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8809
8810 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8811 test expected output. Add parentheses for the call to print.
8812 Remove L suffix from integers.
8813
3fe1ce1d
DE
88142014-11-26 Doug Evans <dje@google.com>
8815
8816 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8817
84429e27
YQ
88182014-11-22 Yao Qi <yao@codesourcery.com>
8819
8820 * gdb.trace/entry-values.c: Remove asms.
8821 (foo): Add foo_label.
8822 (bar): Add bar_label.
8823 * gdb.trace/entry-values.exp: Remove code computing foo's
8824 length and bar's length.
8825 (Dwarf::assemble): Invoke function_range for bar and use
8826 MACRO_AT_func for foo.
8827
26741859
YQ
88282014-11-22 Yao Qi <yao@codesourcery.com>
8829
8830 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8831 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8832 Use .Lgcc43_procstart instead of gcc43.
8833
45e44d27
JB
88342014-11-21 Joel Brobecker <brobecker@adacore.com>
8835
8836 * gdb.ada/n_arr_bound: New testcase.
8837
458c8db8
SDJ
88382014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8839
8840 PR breakpoints/10737
8841 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8842 test_catch_syscall_multi_arch.
8843 (test_catch_syscall_multi_arch): New function.
8844
43f3e411
DE
88452014-11-20 Doug Evans <xdje42@gmail.com>
8846
8847 * gdb.base/maint.exp: Update expected output.
8848
0d7b2549
AA
88492014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8850
8851 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8852 4-byte instruction on S390.
8853
8908fca5
JB
88542014-11-19 Joel Brobecker <brobecker@adacore.com>
8855
8856 * gdb.ada/arr_arr: New testcase.
8857
4a46959e
JB
88582014-11-19 Joel Brobecker <brobecker@adacore.com>
8859
8860 * gdb.ada/pkd_arr_elem: New Testcase.
8861
470e2f4e
LM
88622014-11-18 Luis Machado <lgustavo@codesourcery.com>
8863
8864 * gdb.reverse/break-precsave: Expect completion message for
8865 core file reads.
8866 * gdb.reverse/consecutive-precsave.exp: Likewise.
8867 * gdb.reverse/finish-precsave.exp: Likewise.
8868 * gdb.reverse/i386-precsave.exp: Likewise.
8869 * gdb.reverse/machinestate-precsave.exp: Likewise.
8870 * gdb.reverse/sigall-precsave.exp: Likewise.
8871 * gdb.reverse/solib-precsave.exp: Likewise.
8872 * gdb.reverse/step-precsave.exp: Likewise.
8873 * gdb.reverse/until-precsave.exp: Likewise.
8874 * gdb.reverse/watch-precsave.exp: Likewise.
8875
a267f3ad
AA
88762014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8877
8878 * gdb.base/bp-permanent.c: Include unistd.h.
8879 * gdb.python/py-framefilter-mi.c (main): Add return type.
8880 * gdb.python/py-framefilter.c (main): Likewise.
8881 * gdb.trace/actions-changed.c (main): Likewise.
8882
12084a9a
AA
88832014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8884
8885 * gdb.mi/until.c: Add eye-catchers.
8886 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8887 line numbers.
8888
dc7e1a77
AA
88892014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8890
8891 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8892 function header variants in break1.c.
8893 * gdb.base/ena-dis-br.exp: Likewise.
8894 * gdb.base/hbreak2.exp: Likewise.
8895 * gdb.reverse/until-precsave.exp: Drop references to removed
8896 non-prototype function header variants in ur1.c.
8897 * gdb.reverse/until-reverse.exp: Likewise.
8898
41c77605
PM
88992014-11-17 Petr Machata <pmachata@redhat.com>
8900
8901 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8902 ${_cu_offset_size} bytes abbrev offset.
8903
34248c3a
DE
89042014-11-15 Doug Evans <xdje42@gmail.com>
8905
8906 PR symtab/17559
8907 * gdb.base/line-symtabs.exp: New file.
8908 * gdb.base/line-symtabs.c: New file.
8909 * gdb.base/line-symtabs.h: New file.
8910
646da059
YQ
89112014-11-14 Yao Qi <yao@codesourcery.com>
8912
8913 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8914 (func): Add label func_label.
8915 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8916 Replace low_pc and high_pc with MACRO_AT_range.
8917 Replace name, low_pc and high_pc with MACRO_AT_func.
8918
9301ebe6
YQ
89192014-11-14 Yao Qi <yao@codesourcery.com>
8920
8921 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8922 Replace name, low_pc and high_pc with MACRO_AT_func.
8923
f166b542
YQ
89242014-11-14 Yao Qi <yao@codesourcery.com>
8925
8926 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8927 produce debug information.
8928 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8929
0f6e71e3
YQ
89302014-11-14 Yao Qi <yao@codesourcery.com>
8931
8932 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8933 object and get function length.
8934 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8935 with MACRO_AT_func.
8936 (top-level): Replace gdb_compile and clean_restart with
8937 prepare_for_testing.
8938 * gdb.dwarf2/main.c (main): Add label main_label.
8939
876c4df9
YQ
89402014-11-14 Yao Qi <yao@codesourcery.com>
8941
8942 * lib/dwarf.exp (function_range): New procedure.
8943 (Dwarf::_handle_macro_at_func): New procedure.
8944 (Dwarf::_handle_macro_at_range): New procedure.
8945 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8946
02ad9cf1
YQ
89472014-11-14 Yao Qi <yao@codesourcery.com>
8948
8949 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8950 (_handle_attribute): New procedure.
8951
a59add0c
AA
89522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8953
8954 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8955 * gdb.base/call-sc.c (zed): Likewise.
8956 * gdb.base/checkpoint.c (main): Likewise.
8957 * gdb.base/dump.c (main): Likewise.
8958 * gdb.base/gcore.c (main): Likewise.
8959 * gdb.base/huge.c (main): Likewise.
8960 * gdb.base/multi-forks.c (main): Likewise.
8961 * gdb.base/pr10179-a.c (main): Likewise.
8962 * gdb.base/savedregs.c (main): Likewise.
8963 * gdb.base/sigaltstack.c (main): Likewise.
8964 * gdb.base/siginfo.c (main): Likewise.
8965 * gdb.base/structs.c (zed): Likewise.
8966 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8967 * gdb.mi/mi-syn-frame.c (main): Likewise.
8968 * gdb.mi/until.c (foo, main): Likewise.
8969 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8970 * gdb.base/solib-weak.c (foo): Declare.
8971 * gdb.base/attach-twice.c: Include stdio.h.
8972 * gdb.base/weaklib1.c: Likewise.
8973 * gdb.base/weaklib2.c: Likewise.
8974 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8975 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8976 unistd.h.
8977 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8978 * gdb.mi/mi-exit-code.c: Likewise.
8979 * gdb.base/break-interp-lib.c: Include string.h.
8980 * gdb.base/coremaker.c: Likewise.
8981 * gdb.base/testenv.c: Likewise.
8982 * gdb.python/py-finish-breakpoint.c: Likewise.
8983 * gdb.base/inferior-died.c: Include sys/wait.h.
8984 * gdb.base/fileio.c: Include time.h.
8985 * gdb.base/async-shell.c: Include unistd.h.
8986 * gdb.base/dprintf-non-stop.c: Likewise.
8987 * gdb.base/info-os.c: Likewise.
8988 * gdb.mi/mi-console.c: Likewise.
8989 * gdb.mi/watch-nonstop.c: Likewise.
8990 * gdb.python/py-events.c: Likewise.
8991 * gdb.base/async.c (baz): Move up before its invocation.
8992 * gdb.base/code_elim2.c (my_global_func): Likewise.
8993 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8994 * gdb.base/advance.c (func2): Likewise.
8995
3b5d5997
AA
89962014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8997
8998 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8999 variant.
9000 * gdb.base/annota3.c: Likewise.
9001 * gdb.base/async.c: Likewise.
9002 * gdb.base/average.c: Likewise.
9003 * gdb.base/call-ar-st.c: Likewise.
9004 * gdb.base/call-rt-st.c: Likewise.
9005 * gdb.base/call-sc.c: Likewise.
9006 * gdb.base/call-strs.c: Likewise.
9007 * gdb.base/ending-run.c: Likewise.
9008 * gdb.base/execd-prog.c: Likewise.
9009 * gdb.base/exprs.c: Likewise.
9010 * gdb.base/foll-exec.c: Likewise.
9011 * gdb.base/foll-fork.c: Likewise.
9012 * gdb.base/foll-vfork.c: Likewise.
9013 * gdb.base/funcargs.c: Likewise.
9014 * gdb.base/gcore.c: Likewise.
9015 * gdb.base/jump.c: Likewise.
9016 * gdb.base/langs0.c: Likewise.
9017 * gdb.base/langs1.c: Likewise.
9018 * gdb.base/langs2.c: Likewise.
9019 * gdb.base/mips_pro.c: Likewise.
9020 * gdb.base/nodebug.c: Likewise.
9021 * gdb.base/opaque0.c: Likewise.
9022 * gdb.base/opaque1.c: Likewise.
9023 * gdb.base/recurse.c: Likewise.
9024 * gdb.base/run.c: Likewise.
9025 * gdb.base/scope0.c: Likewise.
9026 * gdb.base/scope1.c: Likewise.
9027 * gdb.base/setshow.c: Likewise.
9028 * gdb.base/setvar.c: Likewise.
9029 * gdb.base/shmain.c: Likewise.
9030 * gdb.base/shr1.c: Likewise.
9031 * gdb.base/shr2.c: Likewise.
9032 * gdb.base/sigall.c: Likewise.
9033 * gdb.base/signals.c: Likewise.
9034 * gdb.base/so-indr-cl.c: Likewise.
9035 * gdb.base/solib2.c: Likewise.
9036 * gdb.base/structs.c: Likewise.
9037 * gdb.base/sum.c: Likewise.
9038 * gdb.base/vforked-prog.c: Likewise.
9039 * gdb.base/watchpoint.c: Likewise.
9040 * gdb.reverse/shr2.c: Likewise.
9041 * gdb.reverse/until-reverse.c: Likewise.
9042 * gdb.reverse/ur1.c: Likewise.
9043 * gdb.reverse/watch-reverse.c: Likewise.
9044
066a77c5
AA
90452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9046
9047 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
9048 variant.
9049 * gdb.base/sepdebug.exp: Drop references to removed code.
9050
4f204ea5
AA
90512014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9052
9053 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
9054 variant. Preserve original line numbering.
9055 * gdb.base/list1.c: Likewise.
9056
3b377a3a
AA
90572014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9058
9059 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
9060 variant.
9061 * gdb.base/break1.c: Likewise.
9062 * gdb.base/break.exp: Drop references to removed code.
9063
e444df73
AA
90642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9065
9066 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
9067 variant.
9068
8008f2a7
AA
90692014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9070
9071 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
9072
a5a06887
AA
90732014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9074
9075 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
9076 logic into perform_all_tests() and invoke it with and without
9077 function header prototypes.
9078 (do_function_calls): Remove conditional XFAIL for PR 5318.
9079 (rerun_and_prepare): Remove duplicate code.
9080 (perform_all_tests): New. Main logic moved here.
9081
44dba9b9
AA
90822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9083
9084 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
9085 code guarded by #ifdef NO_PROTOTYPES.
9086 (t_double_many_args): Likewise.
9087 (DEF_FUNC_MANY_ARGS_1): Likewise.
9088 (DEF_FUNC_VALUES_1): Likewise.
9089 (t_structs_ldc): Renamed from t_structs_fc in conditional code
9090 guarded by #ifdef PROTOTYPES.
9091
d1fbcd56
AA
90922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9093
9094 * gdb.mi/mi-console.c: Add eye-catcher.
9095 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
9096 instead of literal line number.
9097
b0e59b8f
AA
90982014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9099
9100 * gdb.base/shr2.c: Add eye-catcher.
9101 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
9102 line number.
9103
78f98cca
AA
91042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9105
9106 * gdb.base/jump.c: Add eye-catchers.
9107 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
9108 numbers.
9109
58fa2af0
AA
91102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9111
9112 * gdb.base/execd-prog.c: Add eye-catchers.
9113 * gdb.base/foll-exec.c: Likewise.
9114 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
9115 line numbers.
9116
04e5059b
AA
91172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9118
9119 * gdb.base/ending-run.c: Add eye-catchers.
9120 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
9121 literal line numbers.
9122
dbfdb174
AA
91232014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9124
9125 * gdb.base/call-rt-st.c: Add eye-catchers.
9126 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
9127 literal line numbers.
9128
888a2ade
AA
91292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9130
9131 * gdb.base/call-ar-st.c: Add eye-catchers.
9132 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
9133 literal line numbers.
9134
6acc2dde
AA
91352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9136
9137 * gdb.base/average.c: Add eye-catchers.
9138 * gdb.base/sum.c: Likewise.
9139 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
9140 regexps dynamically.
9141
9ecfcd1d
AA
91422014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9143
9144 * gdb.base/solib1.c: Add eye-catchers.
9145 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
9146 literal line numbers.
9147
78708b7c
PA
91482014-11-12 Pedro Alves <palves@redhat.com>
9149
9150 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
9151 leader has exited.
9152
af48d08f
PA
91532014-11-12 Pedro Alves <palves@redhat.com>
9154
9155 * gdb.arch/i386-bp_permanent.c: New file.
9156 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
9157 (srcfile): Set to i386-bp_permanent.c.
9158 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
9159 that stepi does not execute the 'leave' instruction, instead of
9160 testing it does execute.
9161 * gdb.base/bp-permanent.c: New file.
9162 * gdb.base/bp-permanent.exp: New file.
9163
af3768e9
DE
91642014-11-10 Doug Evans <xdje42@gmail.com>
9165
9166 PR symtab/17564
9167 * gdb.base/symtab-search-order.exp: New file.
9168 * gdb.base/symtab-search-order.c: New file.
9169 * gdb.base/symtab-search-order-1.c: New file.
9170 * gdb.base/symtab-search-order-shlib-1.c: New file.
9171
9de00a4a
PA
91722014-11-07 Pedro Alves <palves@redhat.com>
9173
9174 PR gdb/17511
9175 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
9176 i?86-*-linux*.
9177
e0f52461
SC
91782014-11-03 Siva Chandra Reddy <sivachandra@google.com>
9179
9180 PR c++/17494
9181 * gdb.cp/pr17494.cc: New file.
9182 * gdb.cp/pr17494.exp: New file.
9183
6ce8c980
YQ
91842014-11-02 Yao Qi <yao@codesourcery.com>
9185
9186 * gdb.python/python.exp: Get working directory and match the
9187 output of "set extended-prompt \\w " with it.
9188
02be9a71
DE
91892014-10-30 Doug Evans <dje@google.com>
9190
9191 * gdb.python/py-objfile.exp: Add tests for setting random attributes
9192 in objfiles.
9193 * gdb.python/py-progspace.exp: Add tests for setting random attributes
9194 in progspaces.
9195
3bdff46b
LM
91962014-10-30 Janis Johnson <janisjo@codesourcery.com>
9197
9198 * gdb.base/fullpath-expand.exp: Skip for a remote host.
9199 * gdb.base/realname-expand.exp: Likewise.
9200 * gdb.linespec/macro-relative.exp: Likewise.
9201
ab917dfb
PA
92022014-10-29 Pedro Alves <palves@redhat.com>
9203
9204 PR gdb/17408
9205 * gdb.threads/schedlock.c (some_function): New function.
9206 (call_function): New global.
9207 (MAYBE_CALL_SOME_FUNCTION): New macro.
9208 (thread_function): Call it.
9209 * gdb.threads/schedlock.exp (get_args): Add description parameter,
9210 and use it instead of a global counter. Adjust all callers.
9211 (get_current_thread): Use "find current thread" for test message
9212 here rather than having all callers pass down the same string.
9213 (goto_loop): New procedure, factored out from ...
9214 (my_continue): ... this.
9215 (step_ten_loops): Change parameter from test message to command to
9216 use. Adjust.
9217 (list_count): Delete global.
9218 (check_result): New procedure, factored out from duplicate top
9219 level code.
9220 (continue tests): Wrap in with_test_prefix.
9221 (test_step): New procedure, factored out from duplicate top level
9222 code.
9223 (top level): Test "step" in combination with all scheduler-locking
9224 modes. Test "next" in combination with all scheduler-locking
9225 modes, and in combination with stepping over a function call or
9226 not.
9227 * gdb.threads/next-bp-other-thread.c: New file.
9228 * gdb.threads/next-bp-other-thread.exp: New file.
9229
d3d4baed
PA
92302014-10-29 Pedro Alves <palves@redhat.com>
9231
9232 PR python/17372
9233 * gdb.python/python.exp: Test a multi-line command that spawns
9234 interactive Python.
9235 * gdb.base/multi-line-starts-subshell.exp: New file.
9236
563e8d85
YQ
92372014-10-29 Yao Qi <yao@codesourcery.com>
9238
9239 * gdb.base/fileio.exp: Make directories on host.
9240
0ea4d52e
YQ
92412014-10-29 Yao Qi <yao@codesourcery.com>
9242
9243 * gdb.base/fileio.c (test_write): Close the file.
9244
7f5ef605
PA
92452014-10-28 Pedro Alves <palves@redhat.com>
9246
9247 PR gdb/12623
9248 * gdb.base/sigstep.c (no_handler): New global.
9249 (main): If 'no_handler is true, set the signal handlers to
9250 SIG_IGN.
9251 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
9252 with_sw_watch and no_handler parameters. Handle them.
9253 (top level) <stepping over handler when stopped at a breakpoint
9254 test>: Add a test axis for testing with a software watchpoint, and
9255 another for testing with the signal handler set to SIG_IGN.
9256 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
9257 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
9258
abbdbd03
PA
92592014-10-28 Pedro Alves <palves@redhat.com>
9260
9261 PR gdb/17511
9262 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
9263 * gdb.base/sigstep.exp (other_handler_location): New global.
9264 (advance): Support stepping into the signal handler, and running
9265 commands while in the handler.
9266 (in_handler_map): New global.
9267 (top level): In the advance test, add combinations for getting
9268 into the handler with stepping commands, and for running commands
9269 in the handler. Add comment descripting the advancei tests.
9270
1df4399f
PA
92712014-10-28 Pedro Alves <palves@redhat.com>
9272
9273 * gdb.base/sigstep.exp: Use build_executable instead of
9274 prepare_for_testing.
9275 (top level): Move code that starts GDB, runs to main and creates a
9276 display to ...
9277 (restart): ... this new procedure.
9278 (top level): Move backtrace from signal handler test to ...
9279 (validate_backtrace): ... this new procedure.
9280 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
9281 with_test_prefix. Always restart GDB.
9282 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
9283 with_test_prefix. Always restart GDB. No need to delete
9284 breakpoints after the test.
9285 (test_skip_handler): Remove prefix parameter.
9286 (skip_over_handler, breakpoint_to_handler)
9287 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
9288 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
9289 restart GDB. No need to delete breakpoints after the test.
9290 (top level): Use foreach to call the test procedures with
9291 different commands.
9292
a5b6e449
PA
92932014-10-28 Pedro Alves <palves@redhat.com>
9294
9295 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
9296 instead of GNATS numbers.
9297 * gdb.base/sigbpt.exp: Likewise.
9298 * gdb.base/siginfo.exp: Likewise.
9299 * gdb.base/sigstep.exp: Likewise.
9300
e5f8a7cc
PA
93012014-10-27 Pedro Alves <palves@redhat.com>
9302
9303 * gdb.base/sigstep.c (dummy): New global.
9304 (main): Issue a couple writes to the new global.
9305 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
9306 procedures.
9307 (skip_over_handler): Use test_skip_handler.
9308 (top level): Call skip_over_handler for stepi and nexti too.
9309 (breakpoint_over_handler): Use test_skip_handler.
9310 (top level): Call breakpoint_over_handler for stepi and nexti too.
9311
763905a3
YQ
93122014-10-27 Yao Qi <yao@codesourcery.com>
9313
9314 * gdb.trace/tfile.c (adjust_function_address)
9315 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
9316 function descriptor.
9317
6f259a23
DB
93182014-10-24 Don Breazeal <donb@codesourcery.com>
9319
9320 * gdb.base/foll-fork.exp (test_follow_fork,
9321 catch_fork_child_follow): Check for updated fork messages emitted
9322 from infrun.c.
9323 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
9324 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
9325 vfork_and_exec_child_follow_through_step): Check for updated vfork
9326 messages emitted from infrun.c.
9327
09dd9a69
PA
93282014-10-24 Pedro Alves <palves@redhat.com>
9329
9330 * gdb.base/corefile.exp: Remove references to ultrix.
9331 * gdb.base/interrupt.exp: Likewise.
9332 * gdb.base/whatis.exp: Likewise.
9333 * gdb.gdb/selftest.exp: Likewise.
9334 * gdb.threads/manythreads.exp: Likewise.
9335 * gdb.threads/print-threads.exp: Likewise.
9336 * gdb.threads/pthreads.exp:: Likewise.
9337 * gdb.threads/schedlock.exp: Likewise.
9338
3433cfa5
SC
93392014-10-24 Siva Chandra Reddy <sivachandra@google.com>
9340
9341 * gdb.cp/non-trivial-retval.cc: Add a test case.
9342 * gdb.cp/non-trivial-retval.exp: Add a test.
9343
092f880b
YQ
93442014-10-20 Yao Qi <yao@codesourcery.com>
9345
9346 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
9347 * gdb.python/py-objfile-script-gdb.py: New file.
9348 * gdb.python/py-objfile-script.exp: Update reference to
9349 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
9350 of remote_download. Remove the dest file.
9351
acbdb7f3
YQ
93522014-10-20 Yao Qi <yao@codesourcery.com>
9353
9354 * gdb.base/checkpoint.exp: Don't remove file copied on host.
9355 * gdb.base/step-line.exp: Likewise.
9356 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9357 * gdb.dwarf2/dw2-basic.exp: Likewise.
9358 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9359 * gdb.dwarf2/dw2-filename.exp: Likewise.
9360 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9361 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9362 * gdb.dwarf2/dw2-producer.exp: Likewise.
9363 * gdb.dwarf2/mac-fileno.exp: Likewise.
9364 * gdb.python/py-frame-args.exp: Likewise.
9365 * gdb.python/py-framefilter.exp: Likewise.
9366 * gdb.python/py-mi.exp: Likewise.
9367 * gdb.python/py-objfile-script.exp: Likewise
9368 * gdb.python/py-pp-integral.exp: Likewise.
9369 * gdb.python/py-pp-re-notag.exp: Likewise.
9370 * gdb.python/py-prettyprint.exp: Likewise.
9371 * gdb.python/py-section-script.exp: Likewise.
9372 * gdb.python/py-typeprint.exp: Likewise.
9373 * gdb.python/py-xmethods.exp: Likewise.
9374 * gdb.stabs/weird.exp: Likewise.
9375 * gdb.xml/tdesc-regs.exp: Likewise.
9376
bd286a29
KCY
93772014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
9378
9379 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
9380 (out_cu): Use addr_len for the size of addresses.
9381 (out_line): Likewise. Size DW_LNE_set_address instruction
9382 according to addr_len.
9383 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
9384 (FUNC): Add START_INSNS to definition.
9385
673dc4a0
YQ
93862014-10-18 Yao Qi <yao@codesourcery.com>
9387
9388 * gdb.base/argv0-symlink.exp: Check argv[0] value if
9389 gdb_has_argv0 return true.
9390 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
9391 check [target_info exists noargs], check [gdb_has_argv0]
9392 instead.
9393 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9394 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9395 procedures.
9396
4ffbba72
DE
93972014-10-17 Doug Evans <dje@google.com>
9398
9399 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9400 event.
9401 * gdb.python/py-events.py: Add clear_objfiles event.
9402
d096d8c1
DE
94032014-10-17 Doug Evans <dje@google.com>
9404
9405 * gdb.python/py-objfile.exp: Test progspace attribute.
9406
a80db015
LM
94072014-10-17 Luis Machado <lgustavo@codesourcery.com>
9408
9409 * gdb.guile/scm-breakpoint.exp: Do not assume any
9410 directory separators when matching source file paths.
9411 * gdb.python/py-breakpoint.exp: Likewise.
9412 * gdb.reverse/break-precsave.exp: Likewise.
9413 * gdb.reverse/break-reverse.exp: Likewise.
9414 * gdb.reverse/consecutive-precsave.exp: Likewise.
9415 * gdb.reverse/finish-precsave.exp: Likewise.
9416 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9417 * gdb.reverse/finish-reverse.exp: Likewise.
9418 * gdb.reverse/i386-precsave.exp: Likewise.
9419 * gdb.reverse/i387-env-reverse.exp: Likewise.
9420 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9421 * gdb.reverse/machinestate-precsave.exp: Likewise.
9422 * gdb.reverse/machinestate.exp: Likewise.
9423 * gdb.reverse/sigall-precsave.exp: Likewise.
9424 * gdb.reverse/solib-precsave.exp: Likewise.
9425 * gdb.reverse/step-precsave.exp: Likewise.
9426 * gdb.reverse/until-precsave.exp: Likewise.
9427 * gdb.reverse/watch-precsave.exp: Likewise.
9428 * gdb.reverse/watch-reverse.exp: Likewise.
9429
b22089ab
YQ
94302014-10-17 Yao Qi <yao@codesourcery.com>
9431
9432 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9433 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9434
6c4486e6
PA
94352014-10-17 Pedro Alves <palves@redhat.com>
9436
9437 PR gdb/17471
9438 * gdb.base/bg-execution-repeat.c: New file.
9439 * gdb.base/bg-execution-repeat.exp: New file.
9440
0ff33695
PA
94412014-10-17 Pedro Alves <palves@redhat.com>
9442
9443 PR gdb/17300
9444 * gdb.base/continue-all-already-running.c: New file.
9445 * gdb.base/continue-all-already-running.exp: New file.
9446
6fdebc3d
PA
94472014-10-17 Pedro Alves <palves@redhat.com>
9448
9449 PR gdb/17472
9450 * gdb.base/annota-input-while-running.c: New file.
9451 * gdb.base/annota-input-while-running.exp: New file.
9452
32a8097b
PA
94532014-10-17 Pedro Alves <palves@redhat.com>
9454
9455 * gdb.base/callfuncs.exp: emove references to osf.
9456 * gdb.base/sigall.exp: Likewise.
9457 * gdb.gdb/selftest.exp: Likewise.
9458 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9459 * gdb.mi/non-stop.c: Likewise.
9460 * gdb.mi/pthreads.c: Likewise.
9461 * gdb.reverse/sigall-precsave.exp: Likewise.
9462 * gdb.reverse/sigall-reverse.exp: Likewise.
9463 * gdb.threads/pthreads.c: Likewise.
9464 * gdb.threads/pthreads.exp: Likewise.
9465
7a3517ff
YQ
94662014-10-17 Yao Qi <yao@codesourcery.com>
9467
9468 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9469 check 'target_info exists noargs'.
9470 (test_command_prompt_position): Likewise.
9471 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9472 Remove "set args".
9473 (progvar_simple_while_test): Likewise.
9474 (progvar_complex_if_while_test): Likewise.
9475 (if_while_breakpoint_command_test): Likewise.
9476 (infrun_breakpoint_command_test): Likewise.
9477 (breakpoint_command_test): Likewise.
9478 (watchpoint_command_test): Likewise.
9479 (bp_deleted_in_command_test): Likewise.
9480 (temporary_breakpoint_commands): Likewise.
9481
bb99c472
YQ
94822014-10-16 Yao Qi <yao@codesourcery.com>
9483
9484 * gdb.base/remotetimeout.exp: Remove noargs checking.
9485
7c16b83e
PA
94862014-10-15 Pedro Alves <palves@redhat.com>
9487
9488 PR breakpoints/9649
9489 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9490 * gdb.base/breakpoint-in-ro-region.exp
9491 (probe_target_hardware_step): New procedure.
9492 (top level): Probe hardware stepping and hardware breakpoint
9493 support. Test stepping through a read-only region, with both
9494 "breakpoint auto-hw" on and off and both "always-inserted" on and
9495 off.
9496
35a49624
IB
94972014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9498
9499 * gdb.dlang/demangle.exp: Update for demangling changes.
9500
2d1c107c
SC
95012014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9502
9503 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9504 * gdb.cp/non-trivial-retval.exp: Add new tests.
9505
778811d5
SC
95062014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9507
9508 PR c++/13403
9509 PR c++/15154
9510 * gdb.cp/non-trivial-retval.cc: New file.
9511 * gdb.cp/non-trivial-retval.exp: New file.
9512
10c5f0a8
YQ
95132014-10-15 Yao Qi <yao@codesourcery.com>
9514
9515 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9516 remote host.
9517
65d7b369
YQ
95182014-10-15 Yao Qi <yao@codesourcery.com>
9519
9520 * gdb.python/py-symbol.exp: Match file base name if host is
9521 remote, otherwise match file name with dir name.
9522 * gdb.python/py-symtab.exp: Likewise.
9523 * gdb.python/python.exp: Likewise.
9524
46dc1394
YQ
95252014-10-15 Yao Qi <yao@codesourcery.com>
9526
9527 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9528 pattern.
9529 * gdb.python/py-symtab.exp: Likewise.
9530 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9531 locationn.
9532
c40cc657
JB
95332014-10-14 Joel Brobecker <brobecker@adacore.com>
9534
9535 * gdb.ada/addr_arith: New testcase.
9536
2abf49e1
MR
95372014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9538
9539 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9540 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9541 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9542 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9543
f7088df3
SDJ
95442014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9545
9546 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9547 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9548 * gdb.arch/stap-eval-lang-ada.exp: New file.
9549
4dc06805
YQ
95502014-10-14 Yao Qi <yao@codesourcery.com>
9551
9552 * gdb.mi/mi-var-child.c (nothing1): New function.
9553 (nothing2): New function.
9554 (do_children_tests): Set function pointers by nothing1 and
9555 nothing2.
9556 * gdb.mi/mi-var-child.exp: Step over new added statements.
9557 Update test to match the new output.
9558 * gdb.mi/var-cmd.c (nothing1): New function.
9559 (nothing2): New function.
9560 (do_children_tests): Set function pointers by nothing1 and
9561 nothing2.
9562 * gdb.mi/mi-var-display.exp: Update test to match output.
9563 Step to the line specified by $line_dct_nothing.
9564 Increase the number of lines to step.
9565
46a93de2
YQ
95662014-10-14 Yao Qi <yao@codesourcery.com>
9567
9568 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9569 tests.
9570 * gdb.mi/mi2-var-child.exp: Likewise.
9571
14ea52ee
DE
95722014-10-13 Doug Evans <dje@google.com>
9573
9574 * gdb.python/py-objfile.exp: Change name of file name test.
9575
e5c6e92b
DE
95762014-10-13 Doug Evans <dje@google.com>
9577
9578 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9579 from the start of the CU.
9580
c780cc2f
JK
95812014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9582 Yao Qi <yao@codesourcery.com>
9583
9584 Fix "save breakpoints" for "catch" command.
9585 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9586 Remove -nonewline. Match also the added "main" line.
9587
99894e11
JK
95882014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9589
9590 Fix "save breakpoints" for "disable $bpnum" command.
9591 * gdb.base/save-bp.c (main): Add label.
9592 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9593
6e1ac5a3
JK
95942014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9595
9596 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9597
754dd2b0
YQ
95982014-10-11 Yao Qi <yao@codesourcery.com>
9599
9600 * gdb.server/server-kill.exp: Execute command
9601 "set remote trace-status-packet on" before "tstatus".
9602
f90183d7
YQ
96032014-10-11 Yao Qi <yao@codesourcery.com>
9604
9605 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9606 (main): Call getppid.
9607 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9608 and continue to it. Read variable "server_pid".
9609
bf40a607
YQ
96102014-10-11 Yao Qi <yao@codesourcery.com>
9611
9612 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9613
052ca370
YQ
96142014-10-11 Yao Qi <yao@codesourcery.com>
9615
9616 * gdb.threads/thread-find.exp: Don't execute command
9617 "info threads".
9618 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9619 * gdb.threads/linux-dp.exp: Don't check the condition
9620 $threads_created equals to zero.
9621
3831839c
PA
96222014-10-10 Pedro Alves <palves@redhat.com>
9623
9624 * gdb.base/bigcore.exp: Remove references to IRIX.
9625 * gdb.base/funcargs.exp: Likewise.
9626 * gdb.base/interrupt.exp: Likewise.
9627 * gdb.base/mips_pro.exp: Likewise.
9628 * gdb.base/nodebug.exp: Likewise.
9629 * gdb.base/setvar.exp: Likewise.
9630 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9631
8b9a549d
PA
96322014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9633 Pedro Alves <palves@redhat.com>
9634
9635 PR symtab/14466
9636 * gdb.base/vdso-warning.c: New file.
9637 * gdb.base/vdso-warning.exp: New file.
9638
d48ba5e8
DE
96392014-10-02 Doug Evans <dje@google.com>
9640
9641 * gdb.base/structs.c (main): Don't run forever.
9642
2278c276
PA
96432014-10-02 Pedro Alves <palves@redhat.com>
9644
9645 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9646 (top level) <stop threads 1, stop threads 2>: Use it.
9647
b57bacec
PA
96482014-10-02 Pedro Alves <palves@redhat.com>
9649
9650 * gdb.threads/break-while-running.exp (test): Add new
9651 'update_thread_list' argument. Skip "info threads" if false.
9652 (top level): Add new 'update_thread_list' axis.
9653
13fd3ff3
PA
96542014-10-02 Pedro Alves <palves@redhat.com>
9655
9656 PR breakpoints/17431
9657 * gdb.base/execl-update-breakpoints.c: New file.
9658 * gdb.base/execl-update-breakpoints.exp: New file.
9659
0fec99e8
PA
96602014-10-01 Pedro Alves <palves@redhat.com>
9661
9662 * gdb.base/breakpoint-in-ro-region.c: New file.
9663 * gdb.base/breakpoint-in-ro-region.exp: New file.
9664
2ddf4301
SM
96652014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9666
9667 * gdb.mi/mi-exit-code.exp: New file.
9668 * gdb.mi/mi-exit-code.c: New file.
9669
6a5f3f43
YQ
96702014-09-30 Yao Qi <yao@codesourcery.com>
9671
9672 * lib/prelink-support.exp (build_executable_own_libs): Error if
9673 the target isn't native.
9674
345bcc73
YQ
96752014-09-30 Yao Qi <yao@codesourcery.com>
9676
9677 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9678 false.
9679
a25a5a45
PA
96802014-09-22 Pedro Alves <palves@redhat.com>
9681
9682 * gdb.threads/break-while-running.exp: New file.
9683 * gdb.threads/break-while-running.c: New file.
9684
00ba3162
YQ
96852014-09-19 Yao Qi <yao@codesourcery.com>
9686
9687 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9688 Invoke test. Restart GDB with --readnow and invoke test again.
9689
c3b7b696
YQ
96902014-09-19 Yao Qi <yao@codesourcery.com>
9691
9692 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9693 proc set_breakpoint_on_gcd_function. Invoke
9694 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9695 invoke set_breakpoint_on_gcd_function again.
9696
2b4fd423
DE
96972014-09-18 Doug Evans <dje@google.com>
9698
9699 * gdb.dwarf2/symtab-producer.exp: New file.
9700
a5947601
SDJ
97012014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9702
9703 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9704 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9705 * gdb.base/global-var-nested-by-dso.c: Likewise.
9706 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9707
91c19059
SDJ
97082014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9709 Pedro Alves <palves@redhat.com>
9710
9711 * gdb.base/watch-bitfields.exp: Pass string other than test file
9712 name to prepare_for_testing.
9713 (watch): New procedure.
9714 (expect_watchpoint): Use with_test_prefix.
9715 (top level): Factor out tests to ...
9716 (test_watch_location, test_regular_watch): ... these new
9717 procedures, and use with_test_prefix and gdb_continue_to_end.
9718
bb9d5f81
PP
97192014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9720
9721 PR breakpoints/12526
9722 * gdb.base/watch-bitfields.exp: New file.
9723 * gdb.base/watch-bitfields.c: New file.
9724
635856f5
PA
97252014-09-16 Pedro Alves <palves@redhat.com>
9726
9727 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9728 software and hardware addresses, not software address against
9729 itself.
9730
7280ceea
PA
97312014-09-16 Pedro Alves <palves@redhat.com>
9732
9733 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9734 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9735
428b16bd
PA
97362014-09-16 Pedro Alves <palves@redhat.com>
9737
9738 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9739 files.
9740 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9741 "*-*-vxworks*" throughout.
9742 * gdb.base/break.exp: Likewise.
9743 * gdb.base/default.exp: Likewise.
9744 * gdb.base/scope.exp: Likewise.
9745 * gdb.base/sepdebug.exp: Likewise.
9746 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9747 throughout.
9748 * gdb.base/run.c: Likewise.
9749 * gdb.base/sepdebug.c: Likewise.
9750 * gdb.hp/gdb.aCC/run.c: Likewise.
9751 * gdb.reverse/until-reverse.c: Likewise.
9752 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9753
666d413c
YQ
97542014-09-16 Yao Qi <yao@codesourcery.com>
9755
9756 * boards/local-remote-host-native.exp: New file.
9757
57cbd724
DE
97582014-09-14 Doug Evans <xdje42@gmail.com>
9759
9760 * gdb.threads/queue-signal.c (thread_count): New variable.
9761 (thread_count_mutex, thread_count_condvar): New variables.
9762 (incr_thread_count, wait_all_threads_running): New functions.
9763 (main): Wait for all threads to be in their thread functions.
9764
81219e53
DE
97652014-09-13 Doug Evans <xdje42@gmail.com>
9766
9767 * gdb.threads/queue-signal.c: New file.
9768 * gdb.threads/queue-signal.exp: New file.
9769
3714cea7
DE
97702014-09-13 Doug Evans <xdje42@gmail.com>
9771
9772 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9773 be consistent with what default_gdb_init uses.
9774 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9775 the plain text of the prompt. Add some logging printfs.
9776 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9777
fa43b1d7
PA
97782014-09-12 Pedro Alves <palves@redhat.com>
9779
9780 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9781 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9782 * gdb.arch/i386-size-overlap.exp: Likewise.
9783 * gdb.arch/i386-size.exp: Likewise.
9784 * gdb.arch/i386-unwind.exp: Likewise.
9785 * gdb.base/a2-run.exp: Likewise.
9786 * gdb.base/break.exp: Likewise.
9787 * gdb.base/charset.exp: Likewise.
9788 * gdb.base/chng-syms.exp: Likewise.
9789 * gdb.base/commands.exp: Likewise.
9790 * gdb.base/dbx.exp: Likewise.
9791 * gdb.base/find.exp: Likewise.
9792 * gdb.base/funcargs.exp: Likewise.
9793 * gdb.base/jit-simple.exp: Likewise.
9794 * gdb.base/reread.exp: Likewise.
9795 * gdb.base/sepdebug.exp: Likewise.
9796 * gdb.base/step-bt.exp: Likewise.
9797 * gdb.cp/mb-inline.exp: Likewise.
9798 * gdb.cp/mb-templates.exp: Likewise.
9799 * gdb.objc/basicclass.exp: Likewise.
9800 * gdb.threads/killed.exp: Likewise.
9801
9d9bf2df
EBM
98022014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9803
9804 PR tdep/17379
9805 * gdb.arch/powerpc-stackless.S: New file.
9806 * gdb.arch/powerpc-stackless.exp: New file.
9807
1cf2f1b0
JK
98082014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9809
9810 * gdb.base/attach.c: Include unistd.h.
9811 (main): Call alarm. Add label postloop.
9812 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9813 gdb_breakpoint, gdb_continue_to_breakpoint.
9814 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9815
98880d46
PA
98162014-09-11 Pedro Alves <palves@redhat.com>
9817
9818 PR gdb/17347
9819 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9820 * gdb.base/attach.exp (test_command_line_attach_run): New
9821 procedure.
9822 (top level): Call it.
9823
4c92ff2c
PA
98242014-09-11 Pedro Alves <palves@redhat.com>
9825
9826 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9827 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9828 (do_command_attach_tests): Use spawn_wait_for_attach.
9829 * gdb.base/solib-overlap.exp: Likewise.
9830 * gdb.multi/multi-attach.exp: Likewise.
9831 * gdb.python/py-prompt.exp: Likewise.
9832 * gdb.python/py-sync-interp.exp: Likewise.
9833 * gdb.server/ext-attach.exp: Likewise.
9834
3adc1a7d
GKB
98352014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9836
9837 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9838 command in testcase. Simplify testcase.
9839
96334934
JB
98402014-09-10 Joel Brobecker <brobecker@adacore.com>
9841
9842 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9843
eb479039
JB
98442014-09-10 Joel Brobecker <brobecker@adacore.com>
9845
9846 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9847
deede10c
JB
98482014-09-10 Joel Brobecker <brobecker@adacore.com>
9849
9850 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9851
7828a5f5
JB
98522014-09-10 Joel Brobecker <brobecker@adacore.com>
9853
9854 * gdb.dwarf2/dynarr-ptr.c: New file.
9855 * gdb.dwarf2/dynarr-ptr.exp: New file.
9856
33aeebcf
MR
98572014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9858
9859 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9860 of 30 rather than hardcoding 120 for a slow test case. Take the
9861 `gdb,timeout' target setting into account for this calculation.
9862 Don't extend the timeout for the test cases that don't need it.
9863
7b415901
MR
98642014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9865
9866 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9867 a factor of 2 for a slow test case. Take the `gdb,timeout'
9868 target setting into account for this calculation.
9869 * gdb.reverse/until-precsave.exp: Increase the timeout by
9870 a factor of 15 and 3 respectively rather than adding 120
9871 for a pair of slow test cases. Take the `gdb,timeout'
9872 target setting into account for this calculation.
9873
4a40f85a
MR
98742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9875
9876 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9877 timeout, don't pass one down to gdb_expect.
9878 (gdb_expect): Rework timeout selection.
9879
09635af7
MR
98802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9881
9882 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9883 exception on timeout.
9884 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9885 (gdbserver_start_extended): Catch any `gdbserver_start' error
9886 exceptions.
9887 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9888 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9889 `gdbserver_gdb_load' error exceptions.
9890
2bdd10b7
MR
98912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9892
9893 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9894 120 on waiting for the TCP socket to open.
9895
316935f0
DE
98962014-09-09 Doug Evans <xdje42@gmail.com>
9897
9898 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9899 _caller_matches, _any_caller_is, _any_caller_matches.
9900
83740597
DE
99012014-09-09 Doug Evans <xdje42@gmail.com>
9902
9903 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9904
4c122fc3
YQ
99052014-09-09 Yao Qi <yao@codesourcery.com>
9906
9907 * gdb.mi/mi-var-display.exp: Set print symbol off.
9908
a9f116cb
GKB
99092014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9910
9911 PR gdb/17035
9912 * gdb.base/commands.exp: Add tests to verify user-defined
9913 commands with empty bodies.
9914 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9915 python commands in `show user command`.
9916 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9917 scheme commands in `show user command`.
9918
c75bd3a2
JK
99192014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9920
9921 PR python/17355
9922 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9923 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9924 * gdb.python/py-framefilter-invalidarg.exp: New file.
9925 * gdb.python/py-framefilter-invalidarg.py: New file.
9926
faa42425
DE
99272014-09-06 Doug Evans <xdje42@gmail.com>
9928
9929 PR 15276
9930 * gdb.python/py-caller-is.c: New file.
9931 * gdb.python/py-caller-is.exp: New file.
9932
474ca4f6
SDJ
99332014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9934
9935 PR gdb/17235
9936 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9937 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9938
eb0b0463
SDJ
99392014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9940
9941 PR fortran/17237
9942 * gdb.fortran/print-formatted.exp: New file.
9943 * gdb.fortran/print-formatted.f90: Likewise.
9944
5f3b99cf
SS
99452014-09-03 Sasha Smundak <asmundak@google.com>
9946
9947 * gdb.python/py-frame.exp: Test Frame.read_register.
9948
7d793aa9
SDJ
99492014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9950
9951 PR python/16699
9952 * gdb.python/py-completion.exp: New file.
9953 * gdb.python/py-completion.py: Likewise.
9954
fb0576e9
DE
99552014-08-28 Doug Evans <dje@google.com>
9956
9957 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9958 eax,etc. are live with values set by gdb and thus the compiler can't
9959 use them.
9960 * gdb.arch/i386-pseudo.c (main): Ditto.
9961
ee92b0dd
DE
99622014-08-27 Doug Evans <dje@google.com>
9963
9964 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9965
6649db35
DE
99662014-08-25 Doug Evans <dje@google.com>
9967
9968 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9969 (main): Ditto.
9970
564b7600
DE
99712014-08-25 Doug Evans <dje@google.com>
9972
9973 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9974
3881fb67
YQ
99752014-08-24 Yao Qi <yao@codesourcery.com>
9976
9977 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9978 symbol off.
9979 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9980
a05a36a5
DE
99812014-08-22 Doug Evans <dje@google.com>
9982
9983 PR 17276
9984 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9985 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9986 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9987
7c343b48
YQ
99882014-08-22 Yao Qi <yao@codesourcery.com>
9989
9990 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9991 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9992 * gdb.python/python.exp: Likewise. Use .py file on the host
9993 instead of the build.
9994
22fd09ae
JK
99952014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9996
9997 * gdb.threads/gcore-stale-thread.c: New file.
9998 * gdb.threads/gcore-stale-thread.exp: New file.
9999
a8454a7c
PA
100002014-08-21 Pedro Alves <palves@redhat.com>
10001
10002 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
10003 * gdb.base/gcore-relro-pie.exp: Likewise.
10004 * gdb.base/gcore-relro.exp: Likewise.
10005 * gdb.base/gcore.exp: Likewise.
10006 * gdb.base/print-symbol-loading.exp: Likewise.
10007 * gdb.threads/gcore-thread.exp: Likewise.
10008 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
10009
2a31c623
PA
100102014-08-20 Pedro Alves <palves@redhat.com>
10011 Jan Kratochvil <jan.kratochvil@redhat.com>
10012
10013 * Makefile.in (EXTRA_RULES, CC): New variables, get from
10014 configure.
10015 (EXPECT): Handle READ1 being set.
10016 (all): Depend on EXTRA_RULES.
10017 (check-read1, expect-read1, read1.so, read1): New rules.
10018 * README (Testsuite Parameters): Document the READ1 make variable.
10019 (Race detection): New section.
10020 * configure: Regenerate.
10021 * configure.ac: If build==host==target, and running under a
10022 GNU/glibc system, add read1 to the extra Makefile rules.
10023 (EXTRA_RULES): AC_SUBST it.
10024 * lib/read1.c: New file.
10025
d36430db
JB
100262014-08-20 Joel Brobecker <brobecker@adacore.com>
10027
10028 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
10029 the handling of variables declared as a typedef to an array
10030 which a DW_AT_data_location attribute.
10031
9a0dc9e3
PA
100322014-08-19 Andrew Burgess <aburgess@broadcom.com>
10033 Pedro Alves <palves@redhat.com>
10034
10035 PR symtab/14604
10036 PR symtab/14605
10037 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
10038 gdb_test.
10039
0718a8da
PA
100402014-08-19 Pedro Alves <palves@redhat.com>
10041
10042 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
10043
13b448cd
YQ
100442014-08-19 Yao Qi <yao@codesourcery.com>
10045
10046 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
10047 right line.
10048
1cbf5077
DB
100492014-08-18 David Blaikie <dblaikie@gmail.com>
10050
10051 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
10052
bf0fae19
JB
100532014-08-18 Joel Brobecker <brobecker@adacore.com>
10054
10055 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
10056 attribute in array range.
10057
3c8c5dcc
JB
100582014-08-18 Joel Brobecker <brobecker@adacore.com>
10059
10060 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
10061
e66d4446
SC
100622014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10063
10064 PR c++/17132
10065 * gdb.cp/pr17132.cc: New file.
10066 * gdb.cp/pr17132.exp: New file.
10067
940df408
SC
100682014-08-15 Siva Chandra Reddy <sivachandra@google.com>
10069
10070 * gdb.python/py-xmethods.py (A_getarrayind)
10071 (E_method_char_worker.__call__, E_method_int_worker.__call__):
10072 Use 'print' with function call syntax.
10073 (E_method_matcher.match): Fix tab vs space indentation mixup.
10074
ebcc6c3a
YQ
100752014-08-15 Yao Qi <yao@codesourcery.com>
10076
10077 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
10078 false.
10079
775e0f04
YQ
100802014-08-15 Yao Qi <yao@codesourcery.com>
10081
10082 * gdb.cp/casts.exp: Set print symbol off.
10083 * gdb.cp/class2.exp: Likewise.
10084 * gdb.cp/overload.exp: Likewise.
10085 * gdb.cp/templates.exp: Likewise.
10086
d769e349
DE
100872014-08-11 Doug Evans <dje@google.com>
10088
10089 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
10090 (test_load_shlib): Update.
10091
20c6f1e1
YQ
100922014-08-09 Yao Qi <yao@codesourcery.com>
10093
10094 * gdb.base/display.exp: Invoke is_address_zero_readable.
10095 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
10096 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
10097 * gdb.base/hbreak-unmapped.exp: Return if
10098 is_address_zero_readable returns true.
10099 * gdb.base/signest.exp: Likewise.
10100 * gdb.base/signull.exp: Likewise.
10101 * gdb.base/sigbpt.exp: Likewise.
10102 * gdb.guile/scm-disasm.exp: Do the test if
10103 is_address_zero_readable returns false.
10104 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
10105 * gdb.python/py-arch.exp: Likewise.
10106 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
10107 * lib/gdb.exp (is_address_zero_readable): New proc.
10108
5792e8e3
YQ
101092014-08-09 Yao Qi <yao@codesourcery.com>
10110
10111 PR testsuite/13443
10112 * gdb.mi/mi-var-display.exp: Make test messages unique.
10113
3cecbbbe
TT
101142014-08-04 Tom Tromey <tromey@redhat.com>
10115
10116 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
10117 target 0".
10118
00b51ff5
TT
101192014-08-04 Tom Tromey <tromey@redhat.com>
10120
10121 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
10122 "target_resume".
10123
6908c509
JB
101242014-08-01 Joel Brobecker <brobecker@adacore.com>
10125
10126 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
10127 inner_vla_struct_object_size.
10128 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
10129 as xfail.
10130
cc6563d2
PA
101312014-07-30 Pedro Alves <palves@redhat.com>
10132
10133 * gdb.threads/signal-command-handle-nopass.exp (test): Add
10134 comment.
10135
7e09a223
YQ
101362014-07-29 Yao Qi <yao@codesourcery.com>
10137
10138 PR gdb/17206
10139 * gdb.base/until-nodebug.exp: New.
10140
7ebdbe92
DE
101412014-07-28 Doug Evans <xdje42@gmail.com>
10142
10143 PR guile/17203
10144 * gdb.guile/scm-parameter.exp: Add tests for trying to create
10145 previously existing parameter, and previously ambiguously spelled
10146 parameter.
10147
fdb1adc6
WN
101482014-07-28 Will Newton <will.newton@linaro.org>
10149
10150 * gdb.base/varargs.exp: Remove KFAILs for ARM.
10151
186fcde0
DE
101522014-07-26 Ludovic Courtès <ludo@gnu.org>
10153 Doug Evans <xdje42@gmail.com>
10154
10155 PR guile/17146
10156 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
10157
70509625
PA
101582014-07-25 Pedro Alves <palves@redhat.com>
10159
10160 * gdb.threads/signal-command-handle-nopass.c: New file.
10161 * gdb.threads/signal-command-handle-nopass.exp: New file.
10162 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
10163 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
10164 * gdb.threads/signal-delivered-right-thread.c: New file.
10165 * gdb.threads/signal-delivered-right-thread.exp: New file.
10166
c3f814a1
PA
101672014-07-25 Pedro Alves <palves@redhat.com>
10168
10169 * gdb.base/double-prompt-target-event-error.exp
10170 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
10171 match.
10172 (cancel_pagination_in_target_event): Rework double prompt
10173 detection.
10174 * gdb.base/paginate-after-ctrl-c-running.exp
10175 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
10176 <return>' match.
10177 * gdb.base/paginate-bg-execution.exp
10178 (test_bg_execution_pagination_return)
10179 (test_bg_execution_pagination_cancel): Remove '-notransfer
10180 <return>' matches.
10181 * gdb.base/paginate-execution-startup.exp
10182 (test_fg_execution_pagination_return)
10183 (test_fg_execution_pagination_cancel): Remove '-notransfer
10184 <return>' matches.
10185 * gdb.base/paginate-inferior-exit.exp
10186 (test_paginate_inferior_exited): Remove '-notransfer <return>'
10187 match.
10188 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
10189 * lib/gdb.exp (pagination_prompt): Run text through
10190 string_to_regexp.
10191 (gdb_test_multiple): Match $pagination_prompt instead of
10192 "<return>".
10193 (string_to_regexp): Move to lib/gdb-utils.exp.
10194
e214cf6c
JK
101952014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10196
10197 * gdb.arch/amd64-entry-value-paramref.S: New file.
10198 * gdb.arch/amd64-entry-value-paramref.cc: New file.
10199 * gdb.arch/amd64-entry-value-paramref.exp: New file.
10200 * gdb.arch/amd64-optimout-repeat.S: New file.
10201 * gdb.arch/amd64-optimout-repeat.c: New file.
10202 * gdb.arch/amd64-optimout-repeat.exp: New file.
10203
17d0c5c8
JK
102042014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10205
10206 PR gdb/17170
10207 * gdb.base/statistics.exp: New file.
10208
b8b8facf
DE
102092014-07-17 Doug Evans <dje@google.com>
10210
74b49205 10211 PR gdb/17170
b8b8facf
DE
10212 * gdb.base/maint.exp: Update testing of per-command stats.
10213
1b5d0ab3
PA
102142014-07-16 Pedro Alves <palves@redhat.com>
10215
10216 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
10217 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
10218 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
10219 (tfile_write_buf): New functions.
10220 (add_memory_block): Rewrite using the above.
10221 (adjust_function_address): New function.
10222 (FUNCTION_ADDRESS): New macro.
10223 (write_basic_trace_file): Remove short_x local, and use
10224 tfile_write_16. Change type of func_addr local to unsigned long
10225 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
10226 here. Cast argument of add_memory_block to char pointer.
10227 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
10228 (main): Remove parameters.
10229 * gdb.trace/tfile.exp: Remove nowarnings.
10230
4d974e88
SM
102312014-07-15 Simon Marchi <simon.marchi@ericsson.com>
10232
10233 * gdb.base/debug-expr.exp: Test string evaluation with
10234 "debug expression" on.
10235
41e99568
PA
102362014-07-15 Pedro Alves <palves@redhat.com>
10237
10238 * gdb.base/reread.exp: Use clean_restart.
10239
487d9753
PL
102402014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
10241
10242 * gdb.arch/avr-flash-qualifer.c: New.
10243 * gdb.arch/avr-flash-qualifer.exp: New.
10244
cc1c52ad
PA
102452014-07-14 Pedro Alves <palves@redhat.com>
10246
10247 * gdb.base/paginate-after-ctrl-c-running.c: New file.
10248 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
10249
1e973570
PA
102502014-07-14 Pedro Alves <palves@redhat.com>
10251
10252 * gdb.base/double-prompt-target-event-error.c: New file.
10253 * gdb.base/double-prompt-target-event-error.exp: New file.
10254
93d6eb10
PA
102552014-07-14 Pedro Alves <palves@redhat.com>
10256
10257 PR gdb/17072
10258 * gdb.base/paginate-inferior-exit.c: New file.
10259 * gdb.base/paginate-inferior-exit.exp: New file.
10260
0017922d
PA
102612014-07-14 Pedro Alves <palves@redhat.com>
10262
10263 PR gdb/17072
10264 * gdb.base/paginate-bg-execution.c: New file.
10265 * gdb.base/paginate-bg-execution.exp: New file.
10266
94696ad3
PA
102672014-07-14 Pedro Alves <palves@redhat.com>
10268
10269 PR gdb/17072
10270 * gdb.base/paginate-execution-startup.c: New file.
10271 * gdb.base/paginate-execution-startup.exp: New file.
10272 * lib/gdb.exp (pagination_prompt): New global.
10273 (default_gdb_spawn): New procedure, factored out from
10274 default_gdb_spawn.
10275 (default_gdb_start): Adjust to call default_gdb_spawn.
10276 (gdb_spawn): New procedure.
10277
bd293940
PA
102782014-07-14 Pedro Alves <palves@redhat.com>
10279
10280 * lib/gdb.exp (gdb_assert): New procedure.
10281 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
10282
c933f875
PA
102832014-07-14 Pedro Alves <palves@redhat.com>
10284
10285 * gdb.base/execution-termios.c: New file.
10286 * gdb.base/execution-termios.exp: New file.
10287
d98b7a16
TT
102882014-07-14 Tom Tromey <tromey@redhat.com>
10289
10290 * gdb.cp/vla-cxx.cc: New file.
10291 * gdb.cp/vla-cxx.exp: New file.
10292
548740d6
TT
102932014-07-14 Tom Tromey <tromey@redhat.com>
10294
10295 * gdb.reverse/rerun-prec.c: New file.
10296 * gdb.reverse/rerun-prec.exp: New file.
10297
a25eb028
MR
102982014-07-12 Maciej W. Rozycki <macro@mips.com>
10299 Maciej W. Rozycki <macro@codesourcery.com>
10300
10301 * lib/gdb-utils.exp: New file.
10302 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
10303 inline `gdb_init_command' processing.
10304 (gdb_start_cmd): Likewise.
10305 * lib/mi-support.exp (mi_run_cmd): Likewise.
10306 * README: Document `gdb_init_command' and `gdb_init_commands'.
10307
218c2655
JK
103082014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10309
10310 Fix false FAIL running under a very long directory name.
10311 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
10312 and "set print elements 10000". Twice.
10313
5401fde3
YQ
103142014-07-11 Yao Qi <yao@codesourcery.com>
10315
10316 * gdb.base/exprs.exp: "set print symbol off".
10317
e76126e8
PA
103182014-07-11 Pedro Alves <palves@redhat.com>
10319
10320 * gdb.threads/kill.c: New file.
10321 * gdb.threads/kill.exp: New file.
10322
2d6f0de6
YQ
103232014-07-10 Yao Qi <yao@codesourcery.com>
10324
10325 * gdb.trace/tfile.c (write_basic_trace_file)
10326 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
10327 address written to trace file.
10328
7180e04a
PA
103292014-07-09 Pedro Alves <palves@redhat.com>
10330
10331 * gdb.base/attach-wait-input.exp: New file.
10332 * gdb.base/attach-wait-input.c: New file.
10333
9a9a7608
AB
103342014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10335
10336 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
10337 setting up test structures.
10338 (main): Call new test function.
10339 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
10340 test function, continue into test function and walk test
10341 structures.
10342
161ac41e
YQ
103432014-07-02 Yao Qi <yao@codesourcery.com>
10344
10345 * gdb.trace/entry-values.c: Define labels 'foo_start' and
10346 'bar_start' at the beginning of functions 'foo' and 'bar'
10347 respectively.
10348 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
10349 instead of 'foo' and 'bar'.
10350
1f267ae3
MM
103512014-07-08 Markus Metzger <markus.t.metzger@intel.com>
10352
10353 * gdb.btrace/segv.exp: New.
10354 * gdb.btrace/segv.c: New.
10355
2b239efb
LM
103562014-07-02 Luis Machado <lgustavo@codesourcery.com>
10357
10358 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
10359 instruction.
10360
cf363f18
MW
103612014-06-30 Mark Wielaard <mjw@redhat.com>
10362
10363 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
10364 vulture, vilify, villar): New volatile array constants.
10365 (vindictive, vegetation): New const volatile array constants.
10366 * gdb.base/volatile.exp: Test volatile and const volatile array
10367 types.
10368
aebf9d24
AA
103692014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10370
10371 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
10372 target lacks support for awatch, rwatch, or hbreak.
10373
b67a2c6f
YQ
103742014-06-27 Yao Qi <yao@codesourcery.com>
10375
10376 * gdb.multi/dummy-frame-restore.exp: New.
10377 * gdb.multi/dummy-frame-restore.c: New.
10378
aef92902
MM
103792014-06-25 Markus Metzger <markus.t.metzger@intel.com>
10380
10381 * gdb.btrace/gcore.exp: New.
10382
8e9db26e
PA
103832014-06-23 Pedro Alves <palves@redhat.com>
10384
10385 * gdb.base/watchpoint-reuse-slot.c: New file.
10386 * gdb.base/watchpoint-reuse-slot.exp: New file.
10387
70afc5b7
SC
103882014-06-23 Siva Chandra Reddy <sivachandra@google.com>
10389
10390 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
10391 progspace's filename in 'info', 'enable' and 'disable' command
10392 tests.
10393
b972bd9c
JK
103942014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10395
10396 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10397 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10398 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10399
125f8a3d
GB
104002014-06-20 Gary Benson <gbenson@redhat.com>
10401
10402 * gdb.arch/i386-avx.exp: Fix include file location.
10403 * gdb.arch/i386-sse.exp: Likewise.
10404
3ed9baed
IB
104052014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10406
10407 * gdb.dlang/expression.exp: New file.
10408
034f788c
PA
104092014-06-19 Pedro Alves <palves@redhat.com>
10410
10411 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10412 out from ...
10413 (top level): ... here. Iterate running tests under different
10414 scheduler-locking settings.
10415
45371d0c
LM
104162014-06-18 Luis Machado <lgustavo@codesourcery.com>
10417
10418 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10419 to DW_FORM_addr and use non-zero addresses.
10420
5d376983
SC
104212014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10422
10423 PR gdb/17017
10424 * gdb.python/py-xmethods.cc: Add global function call counters and
10425 increment them in their respective functions. Remove "cout"
10426 statements.
10427 * gdb.python/py-xmethods.exp: Make tests check the global function
10428 call counters instead of depending on inferior IO.
10429
a1aa2221
LM
104302014-06-18 Don Breazeal <donb@codesourcery.com>
10431
10432 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10433 Deleted procedure.
10434 (explicit_fork_parent_follow): Deleted procedure.
10435 (explicit_fork_child_follow): Deleted procedure.
10436 (test_follow_fork): New procedure.
10437 (do_fork_tests): Replace calls to deleted procedures with
72f4393d 10438 calls to test_follow_fork and reset GDB for subsequent
a1aa2221
LM
10439 procedure calls.
10440
0fc05997
YQ
104412014-06-17 Yao Qi <yao@codesourcery.com>
10442
10443 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10444 CP1252.
10445
70795c52
LM
104462014-06-17 Luis Machado <lgustavo@codesourcery.com>
10447
10448 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10449 Initialize ptr and S explicitly.
10450 (skip_type_update_when_not_use_rtti_test): Likewise.
10451
6be47f0c
KS
104522014-06-16 Keith Seitz <keiths@redhat.com>
10453
10454 PR mi/15863
10455 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10456 the inferior is started.
10457
d03de421
PA
104582014-06-16 Pedro Alves <palves@redhat.com>
10459
10460 * gdb.base/break-main-file-remove-fail.c: New file.
10461 * gdb.base/break-main-file-remove-fail.exp: New file.
10462 * gdb.base/break-unload-file.exp: Use build_executable instead of
10463 prepare_for_testing.
10464 (test_break): New parameter "initial_load". Handle it.
10465 (top level): Add initial_load cmdline/file axis.
10466
f9579b99
TT
104672014-06-12 Tom Tromey <tromey@redhat.com>
10468
10469 * gdb.base/completion.exp: Don't use directory name in test.
10470
3657956b
GB
104712014-06-09 Gary Benson <gbenson@redhat.com>
10472
10473 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10474 separate the always-available ANSI-standard signals from the
10475 signals that require checking.
10476 (main): Likewise.
10477 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10478 Likewise.
10479 (main): Likewise.
10480
4186eb54
KS
104812014-06-07 Keith Seitz <keiths@redhat.com>
10482
10483 Revert:
10484 PR c++/16253
10485 * gdb.cp/var-tag.cc: New file.
10486 * gdb.cp/var-tag.exp: New file.
10487 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10488 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10489 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10490 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10491
25326a28 104922014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
10493
10494 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10495
829155c9
PA
104962014-06-06 Pedro Alves <palves@redhat.com>
10497
10498 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10499 in target debug output instead of looking at RSP packets,
10500 disabling the test on any target that uses hardware stepping.
10501 Update comments.
10502
61c8d22e
PA
105032014-06-06 Pedro Alves <palves@redhat.com>
10504
10505 * gdb.base/break-unload-file.exp: Fix typo.
10506
d9a47287
YQ
105072014-06-06 Yao Qi <yao@codesourcery.com>
10508
10509 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10510 from "jit_function" to "^jit_function".
10511
e5e01dbf
YQ
105122014-06-06 Yao Qi <yao@codesourcery.com>
10513
10514 * gdb.base/async.c (foo): Add one statement.
10515 * gdb.base/async.exp: Get the next instruction address and
10516 match the output of "nexti" by instruction address. Match
10517 the hex address in the output of "finish".
10518
73ba372c
GB
105192014-06-06 Gary Benson <gbenson@redhat.com>
10520
10521 * gdb.base/call-signals.c: Remove preprocessor conditionals
10522 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10523 SIGSEGV and SIGTERM.
10524 * gdb.base/sigall.c: Likewise.
10525 * gdb.base/unwindonsignal.c: Likewise.
10526 * gdb.reverse/sigall-reverse.c: Likewise.
10527
831517df
YQ
105282014-06-06 Yao Qi <yao@codesourcery.com>
10529
10530 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10531 readable, skip the test.
10532
b8b91e98
YQ
105332014-06-06 Yao Qi <yao@codesourcery.com>
10534
10535 * gdb.threads/staticthreads.c (thread_function): Move the line
10536 setting breakpoint on forward.
10537 * gdb.threads/staticthreads.exp: Update comments.
10538
fb934770
LC
105392014-06-05 Ludovic Courtès <ludo@gnu.org>
10540
10541 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10542 "history-append! type error".
10543
6ef284bd
SM
105442014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10545
10546 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10547 erroneous dprintf expected input.
10548
a872e241
DE
105492014-06-04 Doug Evans <xdje42@gmail.com>
10550
10551 * gdb.guile/scm-generics.exp: Delete.
10552
16f691fb
DE
105532014-06-04 Doug Evans <xdje42@gmail.com>
10554
10555 * gdb.guile/scm-breakpoint.exp: Update.
10556 Add tests for breakpoint registration.
10557
012370f6
TT
105582014-06-04 Tom Tromey <tromey@redhat.com>
10559
10560 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10561 VLA-in-union.
10562 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10563 inner_vla_struct, vla_union types. Initialize objects of those
10564 types and compute their sizes.
10565
9f5a4cef
HZ
105662014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10567 Hui Zhu <hui@codesourcery.com>
10568
10569 * gdb.base/fileio.exp: Add test for shell not available as well as
10570 available.
10571 * gdb.base/fileio.c (test_system): Check for shell twice.
10572
90a45c4d
YQ
105732014-06-04 Yao Qi <yao@codesourcery.com>
10574
10575 * gdb.base/auto-connect-native-target.exp: Remove redundant
10576 space from the regexp pattern.
10577
70017e41
YQ
105782014-06-04 Yao Qi <yao@codesourcery.com>
10579
10580 * gdb.base/default.exp: Replace "child" with "native" in
10581 regexp pattern.
10582
883964a7
SC
105832014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10584
10585 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10586 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10587 * gdb.python/py-xmethods.py: Python script supporting the
10588 new testcase and tests.
10589
ef370185
JB
105902014-06-03 Joel Brobecker <brobecker@adacore.com>
10591 Pedro Alves <palves@redhat.com>
10592
10593 PR breakpoints/17000
10594 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10595 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10596
1e2ccb61
BM
105972014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10598
10599 * gdb.base/subst.exp: Add tests to verify partial path matching
10600 output.
10601
c6ec5ab2
PA
106022014-06-03 Pedro Alves <palves@redhat.com>
10603
10604 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10605 target that doesn't use software single-stepping.
10606
835c559f
PA
106072014-06-03 Pedro Alves <palves@redhat.com>
10608
10609 PR breakpoints/17000
10610 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10611 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10612
06eb1586
DE
106132014-06-02 Doug Evans <xdje42@gmail.com>
10614
10615 * gdb.guile/scm-parameter.exp: New file.
10616
e698b8c4
DE
106172014-06-02 Doug Evans <xdje42@gmail.com>
10618
10619 * gdb.guile/scm-cmd.c: New file.
10620 * gdb.guile/scm-cmd.exp: New file.
10621
ded03782
DE
106222014-06-02 Doug Evans <xdje42@gmail.com>
10623
10624 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10625 pretty-printer lookup.
10626 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10627 (make-pp_s-printer): Call it.
10628 (make-pretty-printer-from-dict): New function.
10629 (lookup-pretty-printer-maker-from-dict): New function.
10630 (*pretty-printer*): Simplify.
10631 (make-objfile-pp_s-printer): New function.
10632 (install-objfile-pretty-printers!): New function.
10633 (make-progspace-pp_s-printer): New function.
10634 (install-progspace-pretty-printers!): New function.
10635 * gdb.guile/scm-progspace.c: New file.
10636 * gdb.guile/scm-progspace.exp: New file.
10637
41fac0cf
PA
106382014-06-02 Pedro Alves <palves@redhat.com>
10639
10640 * gdb.base/dprintf-bp-same-addr.c: New file.
10641 * gdb.base/dprintf-bp-same-addr.exp: New file.
10642
96ae5695
EBM
106432014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10644
10645 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10646 * gdb.arch/powerpc-power.s: Likewise.
10647
da02b3a8
JB
106482014-06-02 Joel Brobecker <brobecker@adacore.com>
10649
10650 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10651
c72b2e7b
YQ
106522014-06-01 Yao Qi <yao@codesourcery.com>
10653
10654 * gdb.base/watchpoint.exp (test_watch_location): Check null
10655 pointer can be dereferenced. If not, do the test, otherwise
10656 skip it.
10657
53e8a631
AB
106582014-05-30 Andrew Burgess <aburgess@broadcom.com>
10659
10660 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10661 results.
10662 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10663
938f0e2f
AB
106642014-05-30 Andrew Burgess <aburgess@broadcom.com>
10665
10666 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10667 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10668 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10669 * gdb.arch/amd64-invalid-stack-top.c: New file.
10670 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10671
9ba6657a
PA
106722014-05-30 Pedro Alves <palves@redhat.com>
10673
10674 PR breakpoints/17000
10675 * gdb.base/sss-bp-on-user-bp.c: New file.
10676 * gdb.base/sss-bp-on-user-bp.exp: New file.
10677
522c09bf
DB
106782014-05-30 David Blaikie <dblaikie@gmail.com>
10679
10680 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10681 gnu_inline semantics via attribute.
10682 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10683 source explicitly specifies the required semantics.
10684
bf4ef81e
MR
106852014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10686
10687 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10688
329ea579
PA
106892014-05-29 Pedro Alves <palves@redhat.com>
10690 Tom Tromey <tromey@redhat.com>
10691
10692 * gdb.base/async-shell.exp: Don't enable target-async.
10693 * gdb.base/async.exp
10694 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10695 parameter. Adjust.
10696 (top level): Don't test with "target-async".
10697 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10698 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10699 * gdb.base/inferior-died.exp: Don't enable target-async.
10700 * gdb.base/interrupt-noterm.exp: Likewise.
10701 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10702 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10703 * gdb.mi/mi-nonstop.exp: Likewise.
10704 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10705 * gdb.mi/mi-nsintrall.exp: Likewise.
10706 * gdb.mi/mi-nsmoribund.exp: Likewise.
10707 * gdb.mi/mi-nsthrexec.exp: Likewise.
10708 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10709 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10710 * gdb.python/py-evsignal.exp: Don't enable target-async.
10711 * gdb.python/py-evthreads.exp: Likewise.
10712 * gdb.python/py-prompt.exp: Likewise.
10713 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10714 * gdb.server/solib-list.exp: Don't enable target-async.
10715 * gdb.threads/thread-specific-bp.exp: Likewise.
10716 * lib/mi-support.exp: Adjust to use mi-async.
10717
fd664c91
PA
107182014-05-29 Pedro Alves <palves@redhat.com>
10719
10720 PR gdb/13860
10721 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10722 reason, even in sync mode.
10723
251bde03
PA
107242014-05-29 Pedro Alves <palves@redhat.com>
10725 Hui Zhu <hui@codesourcery.com>
10726
10727 PR PR15693
10728 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10729 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10730 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10731 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10732
7f3c0343
JB
107332014-05-28 Joel Brobecker <brobecker@adacore.com>
10734
10735 * config/monitor.exp (gdb_target_monitor): Replace use of
10736 "set remotebaud" by "set serial baud".
10737
b2715b27
AW
107382014-05-26 Andy Wingo <wingo@igalia.com>
10739
10740 * gdb.guile/scm-breakpoint.exp:
10741 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10742 properties instead of gdb-object-properties.
10743
498a4489
YQ
107442014-05-26 Yao Qi <yao@codesourcery.com>
10745
10746 * gdb.server/no-thread-db.exp: Specify source file name
10747 explicitly when setting a breakpoint.
10748
589fdceb
MM
107492014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10750
10751 * gdb.btrace/vdso.c: New.
10752 * gdb.btrace/vdso.exp: New.
10753
e9089e05
MM
107542014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10755
10756 * gdb.base/gcore.exp (capture_command_output): Move ...
10757 * lib/gdb.exp (capture_command_output): ... here.
10758
67b5c0c1
MM
107592014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10760
10761 * gdb.btrace/data.exp: Test memory access during btrace replay.
10762
a2199296
SM
107632014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10764
10765 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10766
17b2616c
PA
107672014-05-21 Pedro Alves <palves@redhat.com>
10768
10769 PR gdb/13860
10770 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10771 (top level): Test that output related to execution commands is
10772 sent to the console with CLI commands, but not with MI commands.
10773 Test that breakpoint events are always mirrored to the console.
10774 Also expect the new source line to be output after a "next" in
10775 async mode too. Make it a pass/fail test.
10776 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10777 output.
10778 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10779
5166082f
PA
107802014-05-21 Pedro Alves <palves@redhat.com>
10781
10782 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10783 Use them to test variations of "list" after reaching a breakpoint.
10784 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10785 Test "list" with listsize 10 after reaching a breakpoint.
10786 * gdb.python/python.exp (decode_line current location line
10787 number): Adjust expected line number.
10788
2f25d70f
SM
107892014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10790
10791 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10792 behavior for $args, pass it directly to "run".
10793
ff604a67
MR
107942014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10795
10796 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10797 30000 to 65536.
10798
6a3cb8e8
PA
107992014-05-21 Pedro Alves <palves@redhat.com>
10800
10801 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10802 auto-connect-native-target off".
10803 * gdb.base/auto-connect-native-target.c: New file.
10804 * gdb.base/auto-connect-native-target.exp: New file.
10805
4ebfc96e
PA
108062014-05-21 Pedro Alves <palves@redhat.com>
10807
10808 * gdb.base/default.exp: Test "target native" instead of "target
10809 child".
10810
36d46afb
MW
108112014-05-21 Mark Wielaard <mjw@redhat.com>
10812
10813 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10814
5876f503
JK
108152014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10816
10817 Fix TLS access for -static -pthread.
10818 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10819 <HAVE_TLS> (thread_function, main): Initialize it.
10820 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10821 Add clean_restart.
10822 <$have_tls != "">: Check TLSVAR.
10823
0256a6ac
PA
108242014-05-21 Pedro Alves <palves@redhat.com>
10825
10826 * gdb.base/dcache-line-read-error.c: New.
10827 * gdb.base/dcache-line-read-error.exp: New.
10828
936d2992
PA
108292014-05-20 Pedro Alves <palves@redhat.com>
10830
10831 * gdb.base/compare-sections.c: New file.
10832 * gdb.base/compare-sections.exp: New file.
10833
802e8e6d
PA
108342014-05-20 Pedro Alves <palves@redhat.com>
10835
10836 * gdb.base/break-idempotent.c: New file.
10837 * gdb.base/break-idempotent.exp: New file.
10838
e59fa00f
MM
108392014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10840
10841 * gdb.btrace/nohist.exp: New.
10842
8b696e31
YQ
108432014-05-20 Yao Qi <yao@codesourcery.com>
10844
10845 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10846 gdb.reverse directory and gdb_reverse_timeout exists in board
10847 setting.
10848 * README: Document gdb_reverse_timeout.
10849
73c9764f
YQ
108502014-05-20 Yao Qi <yao@codesourcery.com>
10851
10852 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10853 'test_file_name'. Treat args as a string instead of a list.
10854 (gdb_init): Rename argument 'args' by 'test_file_name'.
10855
f1f4348a
JK
108562014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10857
10858 * gdb.arch/powerpc-power.exp: New file.
10859 * gdb.arch/powerpc-power.s: New file.
10860
0dbe70ce
DE
108612014-05-16 Doug Evans <dje@google.com>
10862
10863 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
10864 * gdb.base/completion.exp: Check that all expected files exist
10865 before doing file completion.
0dbe70ce 10866
8d551b02
DE
108672014-05-16 Doug Evans <dje@google.com>
10868
10869 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10870 Update.
10871 (do_syscall_tests_without_xml): Update.
10872
73eb7709
PA
108732014-05-16 Pedro Alves <palves@redhat.com>
10874
10875 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10876 instead of "unknown output after running".
10877
3fae92fc
YQ
108782014-05-16 Yao Qi <yao@codesourcery.com>
10879
10880 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10881 file1.txt from host at the end.
10882 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10883
c2b2ccc5
DE
108842014-05-15 Doug Evans <dje@google.com>
10885
10886 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10887 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10888 loading file. Add test for TU lookup.
10889
8c217a4b
SM
108902014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10891
10892 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10893 calling "-exec-arguments" or "set args" before running the
10894 inferior.
10895
3deb39c6
SM
108962014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10897
10898 * lib/mi-support.exp (mi_expect_stop): Expect message for
10899 inferiors that exit with non-zero exit code.
10900
71a79f8c
YQ
109012014-05-14 Yao Qi <yao@codesourcery.com>
10902
10903 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10904 match absolute path on remote host.
10905 (test_file_list_exec_source_files): Remove "/" from the
10906 pattern.
10907
f23fcd46
YQ
109082014-05-14 Yao Qi <yao@codesourcery.com>
10909
10910 * boards/local-remote-host-notty.exp (${board}_file): New
10911 proc.
10912
9404b58f
KM
109132014-05-07 Kyle McMartin <kyle@redhat.com>
10914
10915 Pushed by Joel Brobecker <brobecker@adacore.com>.
10916 * gdb.arch/aarch64-atomic-inst.c: New file.
10917 * gdb.arch/aarch64-atomic-inst.exp: New file.
10918
5e45f04c
YQ
109192014-05-07 Yao Qi <yao@codesourcery.com>
10920
10921 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10922 in current context" too.
10923
c888a17d
KS
109242014-05-05 Keith Seitz <keiths@redhat.com>
10925
10926 * gdb.linespec/ls-dollar.exp: Add test for linespec
10927 file:convenience_variable.
10928
290a839c
YQ
109292014-05-05 Yao Qi <yao@codesourcery.com>
10930
10931 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10932 traceframes into tfile and ctf trace files. Read data from
10933 trace file and test collected data.
10934 (gdb_collect_locals_test): Likewise.
10935 (gdb_unavailable_registers_test): Likewise.
10936 (gdb_unavailable_floats): Likewise.
10937 (gdb_collect_globals_test): Likewise.
10938 (top-level): Append "ctf" to trace_file_targets if GDB
10939 supports.
10940
b5262cd0
YQ
109412014-05-05 Yao Qi <yao@codesourcery.com>
10942
10943 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10944 code to ...
10945 (gdb_collect_args_test_1): ... it. New proc.
10946 (gdb_collect_locals_test): Move some code to ...
10947 (gdb_collect_locals_test_1): ... it. New proc.
10948 (gdb_unavailable_registers_test): Move some code to ...
10949 (gdb_unavailable_registers_test_1): ... it. New proc.
10950 (gdb_unavailable_floats): Move some code to ...
10951 (gdb_unavailable_floats_1): ... it. New proc.
10952
30a1e6cc
SDJ
109532014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10954
10955 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10956 probes to test for bitness recognition.
10957 * gdb.arch/amd64-stap-optional-prefix.exp
10958 (test_probe_value_without_reg): New procedure.
10959 Add code to test for different kinds of bitness.
10960
f33da99a
SDJ
109612014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10962
10963 PR breakpoints/16889
10964 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10965 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10966
5b80f00d
PA
109672014-05-01 Pedro Alves <palves@redhat.com>
10968
10969 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10970 gdb_file_cmd if no file is specified.
10971 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10972 last_loaded_file to set the remote exec-file.
10973
f8c2a73c
PA
109742014-05-01 Pedro Alves <palves@redhat.com>
10975
10976 * boards/local-remote-host.exp: New file.
10977
be6e8ac7
PA
109782014-05-01 Pedro Alves <palves@redhat.com>
10979
10980 * boards/local-remote-host.exp: Rename to ...
10981 * boards/local-remote-host-notty.exp: ... this.
10982
cac0dc8f
JB
109832014-04-28 Joel Brobecker <brobecker@adacore.com>
10984
10985 * gdb.ada/dyn_arrayidx: New testcase.
10986
9730e6cc
YQ
109872014-04-26 Yao Qi <yao@codesourcery.com>
10988
10989 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10990 and compute the length of function main. Save it in
10991 $main_length.
10992 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10993 (top-level): Use gdb_compile to compile objects into
10994 executable and restart GDB. Remove invocation to
10995 prepare_for_testing.
10996
7ae1a6a6
PA
109972014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10998 Pedro Alves <palves@redhat.com>
10999
11000 PR server/16255
11001 * gdb.multi/multi-attach.c: New file.
11002 * gdb.multi/multi-attach.exp: New file.
11003
4082afcc
PA
110042014-04-25 Pedro Alves <palves@redhat.com>
11005
11006 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
11007 user.
11008 (top level): Test that "set remote conditional-breakpoints-packet
11009 off" works as intended.
11010 * gdb.base/dprintf.exp: Test that "set remote
11011 breakpoint-commands-packet off" works as intended.
11012 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
11013 New function.
11014 (top level): Call it.
11015 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
11016 remote fast-tracepoints-packet off" works as intended.
11017 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
11018 * lib/gdb.exp (gdb_is_target_remote): ... here.
11019
2abc3f8d
DB
110202014-04-24 David Blaikie <dblaikie@gmail.com>
11021
11022 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
11023 ensure clang would not discard them.
11024 * gdb.base/gdbvars.c: Ditto.
11025 * gdb.base/memattr.c: Ditto.
11026 * gdb.base/whatis.c: Ditto.
11027 * gdb.python/py-prettyprint.c: Ditto.
11028 * gdb.trace/actions.c: Ditto.
11029 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
11030 ensure clang would not discard it.
11031
bfd39632
DB
110322014-04-24 David Blaikie <dblaikie@gmail.com>
11033
11034 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
11035 clang to emit the full definition of type required by the test
11036 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
11037
22842ff6
DB
110382014-04-24 David Blaikie <dblaikie@gmail.com>
11039
11040 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
11041 coax Clang into emitting the definition of the type.
11042 * gdb.cp/pr10728-x.h (y): Ditto.
11043 * gdb.cp/pr10728-y.cc (y): Ditto.
11044
c2e827ad
DB
110452014-04-24 David Blaikie <dblaikie@gmail.com>
11046
11047 * gdb.base/label.exp: XFAIL label related tests under Clang.
11048 * gdb.cp/cplabel.exp: Ditto.
11049 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
11050 under Clang those using labels.
11051
4c2d33e7
YQ
110522014-04-25 Yao Qi <yao@codesourcery.com>
11053
11054 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
11055 double_label.
11056 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
11057 partial_label and double_label.
11058
56083b99
DB
110592014-04-24 David Blaikie <dblaikie@gmail.com>
11060
11061 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
11062
25d4e99d
DB
110632014-04-24 David Blaikie <dblaikie@gmail.com>
11064
11065 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
11066 of the function to work across GCC and Clang.
11067 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
11068 pointer types (const void ** const V void **).
11069
01f9f808
MS
110702014-04-24 Michael Sturm <michael.sturm@mintel.com>
11071 Walfred Tedeschi <walfred.tedeschi@intel.com>
11072
11073 * Makefile.in (EXECUTABLES): Added i386-avx512.
11074 * gdb.arch/i386-avx512.c: New file.
11075 * gdb.arch/i386-avx512.exp: Likewise.
11076
4b48d439
KS
110772014-04-23 Keith Seitz <keiths@redhat.com>
11078
11079 * lib/mi-support.exp (mi_list_breakpoints): Delete.
11080 (mi_make_breakpoint_table): New procedure.
11081 (mi_create_breakpoint): Use mi_make_breakpoint
11082 and return the result.
11083 (mi_make_breakpoint): New procedure.
11084 (mi_build_kv_pairs): New procedure.
11085
11086 * gdb.mi/mi-break.exp: Remove unused globals,
11087 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
11088 All callers updated.
11089 * gdb.mi/mi-dprintf.exp: Use variable to track command
11090 number.
11091 Update all callers of mi_create_breakpoint and use
11092 mi_make_breakpoint_table.
11093 Remove any unused global variables.
11094 * gdb.mi/mi-nonstop.exp: Likewise.
11095 * gdb.mi/mi-nsintrall.exp: Likewise.
11096 * gdb.mi/mi-nsmoribund.exp: Likewise.
11097 * gdb.mi/mi-nsthrexec.exp: Likewise.
11098 * gdb.mi/mi-reverse.exp: Likewise.
11099 * gdb.mi/mi-simplerun.exp: Likewise.
11100 * gdb.mi/mi-stepn.exp: Likewise.
11101 * gdb.mi/mi-syn-frame.exp: Likewise.
11102 * gdb.mi/mi-until.exp: Likewise.
11103 * gdb.mi/mi-var-cp.exp: Likewise.
11104 * gdb.mi/mi-var-display.exp: Likewise.
11105 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
11106 * gdb.mi/mi2-var-child.exp: Likewise.
11107 * gdb.mi/mi-vla-c99.exp: Likewise.
11108 * lib/mi-support.exp: Likewise.
11109
11110 From Ian Lance Taylor <iant@cygnus.com>:
11111 * lib/gdb.exp (parse_args): New procedure.
11112
08351840
PA
111132014-04-23 Pedro Alves <palves@redhat.com>
11114
11115 * gdb.base/break-unload-file.c: New file.
11116 * gdb.base/break-unload-file.exp: New file.
11117 * gdb.base/sym-file-lib.c (baz): New function.
11118 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
11119 field.
11120 (load): Store the segment's mapped size.
11121 (unload): New function.
11122 (unload_shlib): New function.
11123 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
11124 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
11125 set a breakpoint at baz, and call it.
11126 * gdb.base/sym-file.exp: New tests for stale breakpoint
11127 instructions.
11128
076855f9
PA
111292014-04-23 Pedro Alves <palves@redhat.com>
11130
11131 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
11132 * gdb.base/hbreak-in-shr-unsupported.c: New file.
11133 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
11134 * gdb.base/hbreak-unmapped.c: New file.
11135 * gdb.base/hbreak-unmapped.exp: New file.
11136 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
11137 * lib/gdb.exp (gdb_is_target_remote): ... here.
11138
483805cf
PA
111392014-04-22 Pedro Alves <palves@redhat.com>
11140
11141 * gdb.base/consecutive-step-over.c: New file.
11142 * gdb.base/consecutive-step-over.exp: New file.
11143
06d97543
PA
111442014-04-22 Pedro Alves <palves@redhat.com>
11145
11146 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
11147 instead of send_gdb/gdb_expect.
11148
b4429ea2
YQ
111492014-04-22 Yao Qi <yao@codesourcery.com>
11150
11151 * lib/trace-support.exp (generate_tracefile): New procedure.
11152 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
11153 return 0.
11154 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
11155 if generate_tracefile returns 1.
11156
51d48146
PA
111572014-04-18 Tom Tromey <palves@redhat.com>
11158 Pedro alves <tromey@redhat.com>
11159
11160 PR backtrace/15558
11161 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
11162 with a backtrace limit.
11163 * gdb.python/py-frame-inline.exp: Test running to an inline
11164 function with a backtrace limit, and printing the newest frame.
11165 * gdb.python/py-frame-inline.c (main): Call f.
11166
bd1dce5f
MS
111672014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11168
11169 * gdb.java/jnpe.exp: Drop srcdir from untested path.
11170
40d1a503
MS
111712014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
11172
11173 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
11174 Drop prefix from unsupported source file path.
11175
389b98f7
YQ
111762014-04-17 Yao Qi <yao@codesourcery.com>
11177
11178 * lib/gdb.exp (with_target_charset): New proc.
11179 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
11180 with_target_charset.
11181 (test_print_strings): Likewise.
11182 (test_repeat_bytes): Likewise.
11183 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
11184 for some tests.
11185
22869d73
KS
111862014-04-16 Keith Seitz <keiths@redhat.com>
11187
11188 PR gdb/15827
11189 * gdb.dwarf2/corrupt.c: New file.
11190 * gdb.dwarf2/corrupt.exp: New file.
11191
c4f87ca6
KS
111922014-04-16 Keith Seitz <keiths@redhat.com>
11193
11194 PR c++/16597
11195 * gdb.cp/namelessclass.cc: New file.
11196 * gdb.cp/namelessclass.exp: New file.
11197 * gdb.cp/namelessclass.S: New file.
11198
ab19de87
DE
111992014-04-16 Doug Evans <dje@google.com>
11200
11201 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
11202 Add comment.
11203 (gdbserver_default_get_comm_port): New function.
11204 (gdbserver_start): Check if board file provided
11205 "gdbserver,get_comm_port" and use it if so.
11206 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
11207 (gdb,socketport): Set to "stdio".
11208 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
11209 (stdio_gdbserver_template): Delete.
11210 (${board}_get_remote_address): Update.
11211 (${board}_build_remote_cmd): Delete.
11212 (${board}_get_comm_port): New function.
11213 (${board}_spawn): Update.
11214 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
11215 Delete.
11216 (${board}_get_remote_address): Update.
11217 (${board}_get_comm_port): New function.
11218
fc98a809
AB
112192014-04-16 Andrew Burgess <aburgess@broadcom.com>
11220
11221 * gdb.base/memattr.exp: Improve regexps to handle memory regions
11222 appearing in any order.
11223
87fd9e6e
DE
112242014-04-15 Doug Evans <dje@google.com>
11225
11226 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
11227 uninitialized value of "description".
11228
099fc3ea
KS
112292014-04-15 Keith Seitz <keiths@redhat.com>
11230
11231 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
11232 Remove unused globals.
11233 (test_running_the_program): Likewise.
11234 (test_controlled_execution): Likewise.
11235 (test_controlling_breakpoints): Likewise.
11236 (test_program_termination): Likewise.
11237
5da151d4
KS
112382014-04-15 Keith Seitz <keiths@redhat.com>
11239
11240 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
11241 unused globals.
11242 (test_rbreak_creation_and_listing): Likewise.
11243 (test_ignore_count): Likewise.
11244 (test_error): Likewise.
11245
35e5d2f0
PA
112462014-04-15 Pedro Alves <palves@redhat.com>
11247
11248 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
11249 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
11250 sym-file-loader.c.
11251 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11252 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11253 to sym-file-loader.c.
11254 (struct library): Forward declare.
11255 (load_shlib, lookup_function): Change prototypes.
11256 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11257 (translate_offset): Remove declarations.
11258 (get_text_addr): New declaration.
11259 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
11260 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
11261 sym-file-loader.h.
11262 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
11263 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
11264 here from sym-file-loader.h.
11265 (struct library): New structure.
11266 (load_shlib, lookup_function): Change prototypes and adjust to
11267 work with a struct library.
11268 (find_shstrtab, find_strtab, find_shdr, find_symtab)
11269 (translate_offset): Make static.
11270 (get_text_addr): New function.
11271 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
11272
eb4c1710
PA
112732014-04-15 Pedro Alves <palves@redhat.com>
11274
11275 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
11276
2d1baf52
PA
112772014-04-15 Pedro Alves <palves@redhat.com>
11278
11279 * gdb.base/sym-file-loader.c: Include <limits.h>.
11280 (SELF_LINK): New define.
11281 (get_origin): New function.
11282 (load_shlib): Use it.
11283 * gdb.base/sym-file.exp: Don't early return if the target is
11284 remote. Use runto_main, and issue fail is that fails. Use
11285 gdb_load_shlibs.
11286 (shlib_name): Delete.
11287 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
11288
7dd6df01
PA
112892014-04-15 Pedro Alves <palves@redhat.com>
11290
11291 * gdb.base/sym-file.exp: Remove regex characters from test
11292 message. Don't refer to breakpoint numbers in test messages.
11293
b50c8614
KS
112942014-04-14 Keith Seitz <keiths@redhat.com>
11295
11296 PR c++/16253
11297 * gdb.cp/var-tag.cc: New file.
11298 * gdb.cp/var-tag.exp: New file.
11299 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11300 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11301 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11302 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11303
3d567982
TT
113042014-04-14 Tom Tromey <tromey@redhat.com>
11305
11306 * gdb.cp/classes.exp (test_enums): Handle underlying type.
11307 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
11308 type.
11309 * gdb.cp/enum-class.exp: New file.
11310 * gdb.cp/enum-class.cc: New file.
11311
0626fc76
TT
113122014-04-14 Tom Tromey <tromey@redhat.com>
11313
11314 * gdb.dwarf2/enum-type.exp: New file.
11315
dca325b3
SA
113162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11317
11318 * gdb.mi/mi-vla-c99.exp: New file.
11319 * gdb.mi/vla.c: New file.
11320
5854b38a
SA
113212014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11322
11323 * gdb.base/vla-datatypes.c: New file.
11324 * gdb.base/vla-datatypes.exp: New file.
11325
463bb957
SA
113262014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11327
11328 * gdb.base/vla-ptr.c: New file.
11329 * gdb.base/vla-ptr.exp: New file.
11330
3dd170be
SA
113312014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11332
11333 * gdb.dwarf2/count.exp: New file.
11334
5ecaaa66
SA
113352014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11336
11337 * gdb.base/vla-sideeffect.c: New file.
11338 * gdb.base/vla-sideeffect.exp: New file.
11339
41f1ada5
DB
113402014-04-14 David Blaikie <dblaikie@gmail.com>
11341
11342 * gdb.mi/non-stop.c: Add return value for non-void function return
11343 statement.
11344 * gdb.threads/staticthreads.c: Ditto.
11345
0be03e84
DE
113462014-04-12 Siva Chandra Reddy <sivachandra@google.com>
11347 Doug Evans <xdje42@gmail.com>
11348
11349 * gdb.guile/scm-value.c: Improve test case.
11350 * gdb.guile/scm-value.exp: Add new test.
11351
f180a1fb
DB
113522014-04-11 David Blaikie <dblaikie@gmail.com>
11353
11354 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
11355 override Clang's default.
11356
6b662e19
JB
113572014-04-11 Joel Brobecker <brobecker@adacore.com>
11358
11359 Revert the following changes (regressions):
11360
11361 * gdb.base/vla-sideeffect.c: New file.
11362 * gdb.base/vla-sideeffect.exp: New file.
11363
11364 * gdb.dwarf2/count.exp: New file.
11365
11366 * gdb.base/vla-multi.c: New file.
11367 * gdb.base/vla-multi.exp: New file.
11368
11369 * gdb.base/vla-ptr.c: New file.
11370 * gdb.base/vla-ptr.exp: New file.
11371
11372 * gdb.base/vla-datatypes.c: New file.
11373 * gdb.base/vla-datatypes.exp: New file.
11374
11375 * gdb.mi/mi-vla-c99.exp: New file.
11376 * gdb.mi/vla.c: New file.
11377
245a5f0b
KS
113782014-04-11 Keith Seitz <keiths@redhat.com>
11379
11380 PR c++/16675
11381 * gdb.cp/cpsizeof.exp: New file.
11382 * gdb.cp/cpsizeof.cc: New file.
11383
58a84dcf
SA
113842014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11385
191a8a90
JB
11386 * gdb.mi/mi-vla-c99.exp: New file.
11387 * gdb.mi/vla.c: New file.
58a84dcf 11388
c8655f75
SA
113892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11390
11391 * gdb.base/vla-datatypes.c: New file.
11392 * gdb.base/vla-datatypes.exp: New file.
11393
024e13b4
SA
113942014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11395
11396 * gdb.base/vla-ptr.c: New file.
11397 * gdb.base/vla-ptr.exp: New file.
11398
1a237e0e
SA
113992014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11400
11401 * gdb.base/vla-multi.c: New file.
11402 * gdb.base/vla-multi.exp: New file.
11403
504f3432
SA
114042014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11405
11406 * gdb.dwarf2/count.exp: New file.
11407
3bce8237
SA
114082014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11409
191a8a90
JB
11410 * gdb.base/vla-sideeffect.c: New file.
11411 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 11412
322f9c21
YQ
114132014-04-11 Yao Qi <yao@codesourcery.com>
11414
11415 * gdb.base/completion.exp: Check file exists before running tests
11416 on file completion.
11417
d708bcd1
PA
114182014-04-10 Pedro Alves <palves@redhat.com>
11419
11420 * gdb.base/cond-eval-mode.c: New file.
11421 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11422 prepare_for_testing to build the new file. Check result of
11423 runto_main.
11424 (test_break, test_watch): New procedures.
11425 (top level): Use them.
11426
ae1d2761
PM
114272014-04-08 Pierre Muller <muller@sourceware.org>
11428
11429 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11430 Ctrl-V use for mingw hosts.
11431
7af389b8
SC
114322014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11433
11434 * gdb.python/py-value.c: Improve test case.
11435 * gdb.python/py-value.exp: Add new test.
11436
5e703181
DE
114372014-04-07 David Blaikie <dblaikie@gmail.com>
11438
11439 * lib/compiler.c: Identify the clang compiler.
11440 * lib/compiler.cc: Ditto.
11441
9810b410
YQ
114422014-04-03 Yao Qi <yao@codesourcery.com>
11443
11444 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11445
98d1b8dc
AB
114462014-04-01 Anton Blanchard <anton@samba.org>
11447
11448 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11449 messages unique.
11450
3114cea1
AB
114512014-04-01 Anton Blanchard <anton@samba.org>
11452
11453 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11454 prepare_for_testing.
11455
62f7182c
AB
114562014-04-01 Anton Blanchard <anton@samba.org>
11457
11458 * gdb.arch/ppc64-atomic-inst.c: Remove.
11459 * gdb.arch/ppc64-atomic-inst.S: New file.
11460 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11461
770e7fc7
DE
114622014-03-31 Doug Evans <dje@google.com>
11463
11464 * gdb.base/print-symbol-loading-lib.c: New file.
11465 * gdb.base/print-symbol-loading-main.c: New file.
11466 * gdb.base/print-symbol-loading.exp: New file.
11467
46e2bafa
YQ
114682014-03-31 Yao Qi <yao@codesourcery.com>
11469
11470 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11471
8776cfe9
JB
114722014-03-28 Joel Brobecker <brobecker@adacore.com>
11473
11474 * gdb.ada/mi_dyn_arr: New testcase.
11475
5d1ef361
DE
114762014-03-27 Doug Evans <dje@google.com>
11477
11478 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11479
b5bee914
YQ
114802014-03-27 Yao Qi <yao@codesourcery.com>
11481
11482 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11483 if target is nios2-*-*.
11484
0d4d0e77
YQ
114852014-03-26 Yao Qi <yao@codesourcery.com>
11486
11487 * lib/gdb.exp (readline_is_used): New proc.
11488 * gdb.base/completion.exp: Move tests on command complete up.
11489 Skip the rest of tests if readline is not used.
11490 * gdb.ada/complete.exp: Skp the test if readline is not
11491 used.
11492 * gdb.base/filesym.exp: Likewise.
11493 * gdb.base/macscp.exp: Likewise.
11494 * gdb.base/readline-ask.exp: Likewise.
11495 * gdb.base/readline.exp: Likewise.
11496 * gdb.python/py-cmd.exp: Likewise.
11497 * gdb.trace/tfile.exp: Likewise.
11498
29361eee
YQ
114992014-03-26 Yao Qi <yao@codesourcery.com>
11500
11501 * gdb.base/macscp.exp: Fix code format issues.
11502
bc9a5525
UW
115032014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11504
11505 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11506 * gdb.asm/powerpc64le.inc: New file.
11507
d3839ede
PA
115082014-03-25 Pedro Alves <palves@redhat.com>
11509 Doug Evans <dje@google.com>
11510
11511 * gdb.base/source-execution.c: New file.
11512 * gdb.base/source-execution.exp: New file.
11513 * gdb.base/source-execution.gdb: New file.
11514
01672a57
DE
115152014-03-24 Doug Evans <dje@google.com>
11516
11517 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11518 using fission.
11519
88bbeca9
HZ
115202014-03-24 Hui Zhu <hui@codesourcery.com>
11521 Pedro Alves <palves@redhat.com>
11522
11523 PR breakpoints/16101
11524 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11525 test pass/fail messages. Detect missing support for dprintf when
11526 breakpoints are actually inserted.
11527 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11528 breakpoints are actually inserted.
11529 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11530 fails.
11531
d2348791
JK
115322014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11533
11534 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11535
feef67ab
DE
115362014-03-22 Doug Evans <xdje42@gmail.com>
11537
11538 * gdb.python/python.exp (python not supported): Verify multi-line
11539 python command issues an error.
25d743f9 11540 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 11541 guile command issues an error.
feef67ab 11542
ecebef6a
MR
115432014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11544
11545 * gdb.threads/thread-specific.exp: Handle the lack of usable
11546 $this_breakpoint and $this_thread.
11547
ccdd1909
HZ
115482014-03-21 Hui Zhu <hui@codesourcery.com>
11549
11550 * gdb.base/attach.exp (do_command_attach_tests): New.
11551
beb460e8
PA
115522014-03-20 Tom Tromey <tromey@redhat.com>
11553 Pedro Alves <palves@redhat.com>
11554
11555 PR cli/15718
11556 * gdb.base/condbreak-call-false.c: New file.
11557 * gdb.base/condbreak-call-false.exp: New file.
11558
40acf43a
PA
115592014-03-20 Pedro Alves <palves@redhat.com>
11560
11561 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11562 Delete.
11563 (block_signals, unblock_signals): Delete.
11564 (child_function_2, main): Remove references to deleted variable
11565 and functions.
11566
9f5e1e02
PA
115672014-03-20 Pedro Alves <palves@redhat.com>
11568
11569 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11570 Use pthread_kill to signal thread 2.
11571 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11572 Adjust to make the test send itself a signal rather than using the
11573 host's "kill" command.
11574
99619bea
PA
115752014-03-20 Pedro Alves <palves@redhat.com>
11576
11577 * gdb.threads/multiple-step-overs.c: New file.
11578 * gdb.threads/multiple-step-overs.exp: New file.
11579 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11580 Adjust expected infrun debug output.
11581
2adfaa28
PA
115822014-03-20 Pedro Alves <palves@redhat.com>
11583
11584 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11585 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11586
31e77af2
PA
115872014-03-20 Pedro Alves <palves@redhat.com>
11588
11589 PR breakpoints/7143
11590 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11591 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11592 of gdb_test_multiple.
11593 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11594 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11595
b9f437de
PA
115962014-03-20 Pedro Alves <palves@redhat.com>
11597
11598 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11599 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11600
05adc73e
PA
116012014-03-19 Pedro Alves <palves@redhat.com>
11602
11603 * gdb.base/async.exp: Remove early return.
11604
6048b950
PA
116052014-03-19 Pedro Alves <palves@redhat.com>
11606
11607 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11608
8bcfb00a
PA
116092014-03-19 Pedro Alves <palves@redhat.com>
11610
11611 * gdb.base/async.exp (test_background): Expect \r\n after
11612 "completed." in the fail pattern.
11613
884e37dc
PA
116142014-03-19 Pedro Alves <palves@redhat.com>
11615
11616 * gdb.base/async.exp (test_background): New procedure.
11617 Use it for all background execution command tests.
11618
148e57e2
PA
116192014-03-19 Pedro Alves <palves@redhat.com>
11620
11621 * gdb.base/async.exp: Use prepare_for_testing.
11622
f48088c7
PA
116232014-03-19 Pedro Alves <palves@redhat.com>
11624
11625 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11626 the same line.
11627
e2f6c966
PA
116282014-03-19 Pedro Alves <palves@redhat.com>
11629
11630 * gdb.base/async.c (main): Add "jump here" and "until here" line
11631 marker comments.
11632 * gdb.base/async.exp (jump_here): New global.
11633 (jump& test): Use it.
11634 (until_here): New global.
11635 (until& test): Use it.
11636
c30568d4
PA
116372014-03-19 Pedro Alves <palves@redhat.com>
11638
11639 * gdb.base/async.exp: Don't frob gdb_protocol.
11640
0172b6a7
DE
116412014-03-18 Doug Evans <xdje42@gmail.com>
11642
11643 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11644 Fix spelling of exec-done-display.
11645
06c868a8
JK
116462014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11647
11648 PR gdb/15358
11649 * gdb.base/gdb-sigterm.c: New file.
11650 * gdb.base/gdb-sigterm.exp: New file.
11651
0c7e1a46
PA
116522014-03-18 Pedro Alves <palves@redhat.com>
11653
11654 PR gdb/13860
11655 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11656 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11657 solib-event.
11658
f7c77d93
JB
116592014-03-17 Joel Brobecker <brobecker@adacore.com>
11660
11661 * gdb.ada/pckd_arr_ren: New testcase.
11662
5a1e8c7a
DE
116632014-03-13 Doug Evans <xdje42@gmail.com>
11664
11665 PR guile/16612
11666 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11667 collect after discarding symbols.
11668
350e1a76
DE
116692014-03-13 Ludovic Courtès <ludo@gnu.org>
11670 Doug Evans <xdje42@gmail.com>
11671
11672 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11673 to history survives a gc.
11674
a69900ae
PA
116752014-03-13 Pedro Alves <palves@redhat.com>
11676
11677 * gdb.base/default.exp: Don't test "target procfs".
11678
5db9f0bd
PA
116792014-03-13 Pedro Alves <palves@redhat.com>
11680
11681 * gdb.base/default.exp: Update "target child" and "target procfs"
11682 tests to not expect "Unix".
11683
b3ccfe11
TT
116842014-03-12 Tom Tromey <tromey@redhat.com>
11685
11686 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11687 New procs. Add target-async tests.
11688 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11689 Add target-async tests.
11690
646f4417
AA
116912014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11692
11693 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11694 'func_start' and 'func_end' for the beginning and end of the
11695 function code, respectively.
11696 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11697 'func_end' instead of 'func' and 'main'.
11698
288c211f
AA
116992014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11700
11701 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11702 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11703 generate the debug info assembler source.
11704
e0c0f156
AA
117052014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11706
11707 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11708 * gdb.dwarf2/arr-subrange.exp: Likewise.
11709 * gdb.dwarf2/dwz.exp: Likewise.
11710 * gdb.dwarf2/method-ptr.exp: Likewise.
11711 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11712 * gdb.dwarf2/subrange.exp: Likewise.
11713 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11714 * gdb.dwarf2/implptrpiece.exp: Likewise.
11715 * gdb.dwarf2/nostaticblock.exp: Likewise.
11716
0e5c4555
AA
117172014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11718
11719 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11720 directory to absolute path name arguments.
11721
5ec18f2b
JG
117222014-03-10 Joel Brobecker <brobecker@adacore.com>
11723
11724 * gdb.ada/tagged_access: New testcase.
11725
847fc4f2
MM
117262014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11727
11728 * gdb.btrace/data.exp: Update expected output.
11729
cc3da688
YQ
117302014-03-06 Yao Qi <yao@codesourcery.com>
11731
11732 * gdb.trace/pr16508.exp: New file.
11733
0f26cec1
PA
117342014-03-05 Pedro Alves <palves@redhat.com>
11735
11736 PR gdb/16575
11737 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11738 procedure.
11739 (top level): Adjust to use it. Add tests that exercise breakpoint
11740 interaction with the code-cache.
11741
7a5a839f
LC
117422014-02-26 Ludovic Courtès <ludo@gnu.org>
11743
11744 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11745 test for 'history-append!'.
11746
31aa7e4e
JB
117472014-02-26 Joel Brobecker <brobecker@adacore.com>
11748
11749 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11750 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11751 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11752 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11753 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11754 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11755
1b588015
JB
117562014-02-26 Joel Brobecker <brobecker@adacore.com>
11757
11758 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11759 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11760 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11761
55426c9d
JB
117622014-02-26 Joel Brobecker <brobecker@adacore.com>
11763
11764 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11765
dc53a7ad
JB
117662014-02-26 Joel Brobecker <brobecker@adacore.com>
11767
11768 * gdb.dwarf2/arr-stride.c: New file.
11769 * gdb.dwarf2/arr-stride.exp: New file.
11770
12ab52e9
PA
117712014-02-26 Pedro Alves <palves@redhat.com>
11772
11773 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11774 that won't ever trigger. Make sure that GDB reports the correct
11775 breakpoint that caused the stop.
11776
849c862e
JK
117772014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11778
11779 PR gdb/16626
11780 * gdb.base/auto-load-script: New file.
11781 * gdb.base/auto-load.c: New file.
11782 * gdb.base/auto-load.exp: New file.
11783
71b7d793
JK
11784 PR gdb/16626
11785 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11786
e2f0d509
JK
117872014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11788
11789 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11790 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11791
50cc37c8
DE
117922014-02-24 Doug Evans <dje@google.com>
11793
11794 * lib/gdb.exp (run_on_host): Log error output if program fails.
11795
ea4758f2
PA
117962014-02-21 Pedro Alves <palves@redhat.com>
11797
11798 * gdb.threads/step-after-sr-lock.c: Rename to ...
11799 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11800 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11801 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11802 ... this.
11803
d7b30f67
SDJ
118042014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11805
11806 PR tdep/16397
11807 * gdb.arch/amd64-stap-special-operands.exp: New file.
11808 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11809 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11810 * gdb.arch/amd64-stap-triplet.S: Likewise.
11811 * gdb.arch/amd64-stap-triplet.c: Likewise.
11812
83deb43f
JB
118132014-02-20 Joel Brobecker <brobecker@adacore.com>
11814
11815 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11816 in .section pseudo-op.
11817
adde2bff
DE
118182014-02-20 lin zuojian <manjian2006@gmail.com>
11819 Joel Brobecker <brobecker@adacore.com>
11820 Doug Evans <xdje42@gmail.com>
11821
11822 PR symtab/16581
11823 * gdb.dwarf2/dw2-icycle.S: New file.
11824 * gdb.dwarf2/dw2-icycle.c: New file.
11825 * gdb.dwarf2/dw2-icycle.exp: New file.
11826
f7bd0f78
SC
118272014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11828
11829 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11830 operations on gdb.Value objects.
11831 * gdb.python/py-value-cc.exp: Add new test to test operations on
11832 gdb.Value objects.
11833
c17ef0d5
DE
118342014-02-18 Doug Evans <dje@google.com>
11835
11836 * Makefile.in (TESTS): New variable.
11837 (expanded_tests, expanded_tests_or_none): New variables
11838 (check-single): Pass $(expanded_tests_or_none) to runtest.
11839 (check-parallel): Only run tests in $(TESTS) if non-empty.
11840 (check/no-matching-tests-found): New rule.
11841 * README: Document TESTS makefile variable.
11842
5dd3176f
DE
118432014-02-18 Doug Evans <dje@google.com>
11844
11845 * Makefile.in (check-parallel): rm -rf outputs temp.
11846
0b10be4f
JK
118472014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11848
11849 Fix "ERROR: no fileid for" in the testsuite.
11850 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11851
85f224e7
DE
118522014-02-12 Doug Evans <dje@google.com>
11853
11854 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11855 (MISCELLANEOUS): New variable.
11856 (clean): rm -rf $(MISCELLANEOUS).
11857 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11858 dwp live in the same directory as symlinks, with each symlink pointed
11859 to a differently named file in a different directory.
11860
149b30ff
DE
118612014-02-11 Doug Evans <dje@google.com>
11862
11863 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11864 of Tcl file commands.
11865
1dfdac32
MK
118662014-02-10 Mark Kettenis <kettenis@gnu.org>
11867
11868 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11869 "kill -SIGUSR1 -1".
11870
aa4fb036
JB
118712014-02-10 Joel Brobecker <brobecker@adacore.com>
11872
11873 * gdb.ada/tick_length_array_enum_idx: New testcase.
11874
ed3ef339
DE
118752014-02-10 Doug Evans <xdje42@gmail.com>
11876
11877 * configure.ac (AC_OUTPUT): Add gdb.guile.
11878 * configure: Regenerate.
11879 * lib/gdb-guile.exp: New file.
11880 * lib/gdb.exp (get_target_charset): New function.
11881 * gdb.base/help.exp: Update expected output from "apropos apropos".
11882 * gdb.guile/Makefile.in: New file.
11883 * gdb.guile/guile.exp: New file.
11884 * gdb.guile/scm-arch.c: New file.
11885 * gdb.guile/scm-arch.exp: New file.
11886 * gdb.guile/scm-block.c: New file.
11887 * gdb.guile/scm-block.exp: New file.
11888 * gdb.guile/scm-breakpoint.c: New file.
11889 * gdb.guile/scm-breakpoint.exp: New file.
11890 * gdb.guile/scm-disasm.c: New file.
11891 * gdb.guile/scm-disasm.exp: New file.
11892 * gdb.guile/scm-equal.c: New file.
11893 * gdb.guile/scm-equal.exp: New file.
11894 * gdb.guile/scm-error.exp: New file.
11895 * gdb.guile/scm-error.scm: New file.
11896 * gdb.guile/scm-frame-args.c: New file.
11897 * gdb.guile/scm-frame-args.exp: New file.
11898 * gdb.guile/scm-frame-args.scm: New file.
11899 * gdb.guile/scm-frame-inline.c: New file.
11900 * gdb.guile/scm-frame-inline.exp: New file.
11901 * gdb.guile/scm-frame.c: New file.
11902 * gdb.guile/scm-frame.exp: New file.
11903 * gdb.guile/scm-generics.exp: New file.
11904 * gdb.guile/scm-gsmob.exp: New file.
11905 * gdb.guile/scm-iterator.c: New file.
11906 * gdb.guile/scm-iterator.exp: New file.
11907 * gdb.guile/scm-math.c: New file.
11908 * gdb.guile/scm-math.exp: New file.
11909 * gdb.guile/scm-objfile-script-gdb.in: New file.
11910 * gdb.guile/scm-objfile-script.c: New file.
11911 * gdb.guile/scm-objfile-script.exp: New file.
11912 * gdb.guile/scm-objfile.c: New file.
11913 * gdb.guile/scm-objfile.exp: New file.
11914 * gdb.guile/scm-ports.exp: New file.
11915 * gdb.guile/scm-pretty-print.c: New file.
11916 * gdb.guile/scm-pretty-print.exp: New file.
11917 * gdb.guile/scm-pretty-print.scm: New file.
11918 * gdb.guile/scm-section-script.c: New file.
11919 * gdb.guile/scm-section-script.exp: New file.
11920 * gdb.guile/scm-section-script.scm: New file.
11921 * gdb.guile/scm-symbol.c: New file.
11922 * gdb.guile/scm-symbol.exp: New file.
11923 * gdb.guile/scm-symtab-2.c: New file.
11924 * gdb.guile/scm-symtab.c: New file.
11925 * gdb.guile/scm-symtab.exp: New file.
11926 * gdb.guile/scm-type.c: New file.
11927 * gdb.guile/scm-type.exp: New file.
11928 * gdb.guile/scm-value-cc.cc: New file.
11929 * gdb.guile/scm-value-cc.exp: New file.
11930 * gdb.guile/scm-value.c: New file.
11931 * gdb.guile/scm-value.exp: New file.
11932 * gdb.guile/source2.scm: New file.
11933 * gdb.guile/types-module.cc: New file.
11934 * gdb.guile/types-module.exp: New file.
11935
7026a7c1
YQ
119362014-02-10 Yao Qi <yao@codesourcery.com>
11937
11938 PR testsuite/16543
11939 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11940 * configure: Regenerated.
11941 * Makefile.in: New file.
11942
6c466447
AS
119432014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11944
11945 * gdb.python/py-framefilter.exp: Fix typo.
11946
6e854735
YQ
119472014-02-08 Yao Qi <yao@codesourcery.com>
11948
11949 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11950 that no =breakpoint-modified is emitted when breakpoints are
11951 modified through MI commands.
11952
d137e6dc
PA
119532014-02-07 Pedro Alves <pedro@codesourcery.com>
11954 Pedro Alves <palves@redhat.com>
11955
11956 * gdb.threads/step-after-sr-lock.c: New file.
11957 * gdb.threads/step-after-sr-lock.exp: New file.
11958
b5ee5a50
PA
119592014-02-07 Pedro Alves <palves@redhat.com>
11960
11961 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11962
3c77faf3
JK
119632014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11964
11965 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11966 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11967
6dddc817
DE
119682014-02-06 Doug Evans <xdje42@gmail.com>
11969
11970 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11971 output.
11972
11973 * gdb.gdb/python-interrupts.exp: New file.
11974
de7b2893
YQ
119752014-02-05 Yao Qi <yao@codesourcery.com>
11976
11977 * gdb.trace/report.exp (use_collected_data): Test the output
11978 of "info threads" and "info inferiors".
11979
66d032ac
YQ
119802014-02-05 Yao Qi <yao@codesourcery.com>
11981
11982 Revert this patch:
11983
11984 2013-05-24 Yao Qi <yao@codesourcery.com>
11985
11986 * gdb.trace/tfile.exp: Test inferior and thread.
11987
591a12a1
UW
119882014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11989
11990 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11991 on a function.
11992 * gdb.base/step-bt.c: Call hello via function pointer to make
11993 sure its first instruction is executed on powerpc64le-linux.
11994
0ff3e01f
UW
119952014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11996
11997 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11998
084ee545
UW
119992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12000
12001 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
12002 of the test patterns for use on little-endian systems.
12003
6ed14ff3
UW
120042014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
12005
12006 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
12007 (decimal_vector): Fix for little-endian.
12008
401e27fd
JM
120092014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
12010
12011 * gdb.arch/sparc-sysstep.exp: New file.
12012 * gdb.arch/sparc-sysstep.c: Likewise.
12013
12014 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
12015
8b924729
EBM
120162014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12017
12018 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
12019
fb151210
JB
120202014-01-23 Tom Tromey <tromey@redhat.com>
12021
12022 * gdb.ada/array_char_idx: New testcase.
12023
0740f8d8
TT
120242014-01-23 Tom Tromey <tromey@redhat.com>
12025
12026 PR python/16487:
12027 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
12028 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
12029 classes.
12030
21909fa1
TT
120312014-01-23 Tom Tromey <tromey@redhat.com>
12032
12033 PR python/16491:
12034 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
12035 string from an inferior frame.
12036 * gdb.python/py-framefilter-mi.exp: Update.
12037
87ce2a04
DE
120382014-01-22 Doug Evans <dje@google.com>
12039
12040 * gdb.server/server-mon.exp: Add tests for "set debug-format".
12041
237b092b
AA
120422014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12043
12044 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
12045
d674a709
AA
120462014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12047
12048 * gdb.trace/entry-values.exp: Remove excess space character from
12049 regex patterns. Handle s390 call instruction.
12050
20fa3390
AA
120512014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12052
12053 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
12054 define "*_start" label. Make "name" static.
12055 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
12056 ${name} by references to ${name}_start.
12057
78466714
AA
120582014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
12059
12060 * gdb.base/info-macros.exp: Remove "debug" from the compile
12061 options.
12062
ec9f644a
IB
120632014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12064
12065 * gdb.dlang/demangle.exp: New file.
12066
94b1b47e
IB
120672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12068
12069 * gdb.dlang/primitive-types.exp: New file.
12070
7f420862
IB
120712014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
12072
12073 * configure.ac: Create gdb.dlang/Makefile.
12074 * configure: Regenerate.
12075 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
12076 * gdb.dlang/Makefile.in: New file.
12077 * lib/d-support.exp: New file.
12078 * lib/gdb.exp (skip_d_tests): New proc.
12079
52834460
MM
120802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12081
12082 * gdb.btrace/delta.exp: Check reverse stepi.
12083 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
12084 * gdb.btrace/finish.exp: New.
12085 * gdb.btrace/next.exp: New.
12086 * gdb.btrace/nexti.exp: New.
12087 * gdb.btrace/record_goto.c: Add comments.
12088 * gdb.btrace/step.exp: New.
12089 * gdb.btrace/stepi.exp: New.
12090 * gdb.btrace/multi-thread-step.c: New.
12091 * gdb.btrace/multi-thread-step.exp: New.
12092 * gdb.btrace/rn-dl-bind.c: New.
12093 * gdb.btrace/rn-dl-bind.exp: New.
12094 * gdb.btrace/data.c: New.
12095 * gdb.btrace/data.exp: New.
12096 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12097
6e07b1d2
MM
120982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12099
12100 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
12101 * gdb.btrace/exception.exp: Update.
12102 * gdb.btrace/instruction_history.exp: Update.
12103 * gdb.btrace/record_goto.exp: Update.
12104 * gdb.btrace/tailcall.exp: Update.
12105 * gdb.btrace/unknown_functions.exp: Update.
12106 * gdb.btrace/delta.exp: New.
12107
0b722aec
MM
121082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12109
12110 * gdb.btrace/record_goto.exp: Add backtrace test.
12111 * gdb.btrace/tailcall.exp: Add backtrace test.
12112
066ce621
MM
121132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12114
12115 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
12116 * gdb.btrace/record_goto.c: New.
12117 * gdb.btrace/record_goto.exp: New.
12118 * gdb.btrace/x86-record_goto.S: New.
12119
0688d04e
MM
121202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12121
12122 * gdb.btrace/function_call_history.exp: Update tests.
12123 * gdb.btrace/instruction_history.exp: Update tests.
12124
8710b709
MM
121252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12126
12127 * gdb.btrace/function_call_history.exp: Fix expected field
12128 order for "record function-call-history".
12129 Add new tests for "record function-call-history /c".
12130 * gdb.btrace/exception.cc: New.
12131 * gdb.btrace/exception.exp: New.
12132 * gdb.btrace/tailcall.exp: New.
12133 * gdb.btrace/x86-tailcall.S: New.
12134 * gdb.btrace/x86-tailcall.c: New.
12135 * gdb.btrace/unknown_functions.c: New.
12136 * gdb.btrace/unknown_functions.exp: New.
12137 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
12138
5de9129b
MM
121392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12140
12141 * gdb.btrace/instruction_history.exp: Update.
12142 * gdb.btrace/function_call_history.exp: Update.
12143
23a7fe75
MM
121442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12145
12146 * gdb.btrace/function_call_history.exp: Fix expected function
12147 trace.
12148 * gdb.btrace/instruction_history.exp: Initialize traced.
12149 Remove traced_functions.
12150
724c7dd8
MM
121512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12152
12153 * gdb.btrace/function_call_history.exp: Update
12154 * gdb.btrace/instruction_history.exp: Update.
12155
6d78d93b
MM
121562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
12157
12158 * gdb.btrace/enable.exp: Update expected text.
12159
93a360cc
OJ
121602014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
12161
12162 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
12163 bytes.
12164
3772b53f
MR
121652014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
12166
12167 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
12168
596662fa
OJ
121692014-01-15 Omair Javaid <omair.javaid@linaro.org>
12170
12171 * lib/gdb.exp (supports_process_record): Return true for
12172 arm*-linux*. (supports_reverse): Likewise.
12173
b5b08fb4
SC
121742014-01-13 Siva Chandra Reddy <sivachandra@google.com>
12175
12176 PR python/15464
12177 PR python/16113
12178 * gdb.python/py-type.c: Enhance test case.
12179 * gdb.python/py-value-cc.cc: Likewise
12180 * gdb.python/py-type.exp: Add new tests.
12181 * gdb.python/py-value-cc.exp: Likewise
12182
52d7fb13
AA
121832014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12184 Pedro Alves <palves@redhat.com>
12185
12186 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
12187 Make "name" extern.
12188 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
12189 references to ${name}_start by references to ${name}.
12190
a2cd8cfe
JB
121912014-01-10 Joel Brobecker <brobecker@adacore.com>
12192
12193 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
12194
4e23fced
JB
121952014-01-10 Joel Brobecker <brobecker@adacore.com>
12196
12197 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
12198
c6a9e42c
PA
121992014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
12200 Pedro Alves <palves@redhat.com>
12201
12202 * gdb.mi/mi-info-os.exp: Connect to the target with
72f4393d 12203 mi_gdb_target_load.
c6a9e42c 12204
b7ea362b
PA
122052014-01-08 Pedro Alves <palves@redhat.com>
12206
12207 * gdb.threads/reconnect-signal.c: New file.
12208 * gdb.threads/reconnect-signal.exp: New file.
12209
5e3f4fab
EBM
122102014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12211
12212 * gdb.base/source-dir.exp: New file.
12213
79301218
JB
122142014-01-07 Joel Brobecker <brobecker@adacore.com>
12215
12216 * gdb.ada/mi_interface: New testcase.
12217
8e355c5d
JB
122182014-01-07 Joel Brobecker <brobecker@adacore.com>
12219
12220 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
12221 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
12222 gdb.ada/pp-rec-component/pck.ads: New files.
12223
c0d48811
JB
122242014-01-07 Joel Brobecker <brobecker@adacore.com>
12225
12226 * gdb.python/py-pp-integral.c: New file.
12227 * gdb.python/py-pp-integral.py: New file.
12228 * gdb.python/py-pp-integral.exp: New file.
12229
17b609c3 12230For older changes see ChangeLog-1993-2013.
c906108c 12231\f
8d8cb839
EZ
12232;; Local Variables:
12233;; mode: change-log
12234;; left-margin: 8
12235;; fill-column: 74
12236;; version-control: never
12237;; End:
902f2ccb 12238
61baf725 12239 Copyright 2014-2017 Free Software Foundation, Inc.
902f2ccb
MC
12240 Copying and distribution of this file, with or without modification,
12241 are permitted provided the copyright notice and this notice are preserved.