Use attribute to specify the required inlining semantics
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2014-05-30  David Blaikie  <dblaikie@gmail.com>
2
3         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
4         gnu_inline semantics via attribute.
5         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6         source explicitly specifies the required semantics.
7
8 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
9
10         * gdb.reverse/sigall-reverse.exp: Fix a typo.
11
12 2014-05-29  Pedro Alves  <palves@redhat.com>
13             Tom Tromey  <tromey@redhat.com>
14
15         * gdb.base/async-shell.exp: Don't enable target-async.
16         * gdb.base/async.exp
17         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18         parameter.  Adjust.
19         (top level): Don't test with "target-async".
20         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22         * gdb.base/inferior-died.exp: Don't enable target-async.
23         * gdb.base/interrupt-noterm.exp: Likewise.
24         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
25         * gdb.mi/mi-nonstop-exit.exp: Likewise.
26         * gdb.mi/mi-nonstop.exp: Likewise.
27         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
28         * gdb.mi/mi-nsintrall.exp: Likewise.
29         * gdb.mi/mi-nsmoribund.exp: Likewise.
30         * gdb.mi/mi-nsthrexec.exp: Likewise.
31         * gdb.mi/mi-watch-nonstop.exp: Likewise.
32         * gdb.multi/watchpoint-multi.exp: Adjust comment.
33         * gdb.python/py-evsignal.exp: Don't enable target-async.
34         * gdb.python/py-evthreads.exp: Likewise.
35         * gdb.python/py-prompt.exp: Likewise.
36         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
37         * gdb.server/solib-list.exp: Don't enable target-async.
38         * gdb.threads/thread-specific-bp.exp: Likewise.
39         * lib/mi-support.exp: Adjust to use mi-async.
40
41 2014-05-29  Pedro Alves  <palves@redhat.com>
42
43         PR gdb/13860
44         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
45         reason, even in sync mode.
46
47 2014-05-29  Pedro Alves  <palves@redhat.com>
48             Hui Zhu  <hui@codesourcery.com>
49
50         PR PR15693
51         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
52         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
53         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
54         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
55
56 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
57
58         * config/monitor.exp (gdb_target_monitor): Replace use of
59         "set remotebaud" by "set serial baud".
60
61 2014-05-26  Andy Wingo  <wingo@igalia.com>
62
63         * gdb.guile/scm-breakpoint.exp:
64         * gdb.guile/scm-gsmob.exp: Update to use plain old object
65         properties instead of gdb-object-properties.
66
67 2014-05-26  Yao Qi  <yao@codesourcery.com>
68
69         * gdb.server/no-thread-db.exp: Specify source file name
70         explicitly when setting a breakpoint.
71
72 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
73
74         * gdb.btrace/vdso.c: New.
75         * gdb.btrace/vdso.exp: New.
76
77 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
78
79         * gdb.base/gcore.exp (capture_command_output): Move ...
80         * lib/gdb.exp (capture_command_output): ... here.
81
82 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
83
84         * gdb.btrace/data.exp: Test memory access during btrace replay.
85
86 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
87
88         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
89
90 2014-05-21  Pedro Alves  <palves@redhat.com>
91
92         PR gdb/13860
93         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
94         (top level): Test that output related to execution commands is
95         sent to the console with CLI commands, but not with MI commands.
96         Test that breakpoint events are always mirrored to the console.
97         Also expect the new source line to be output after a "next" in
98         async mode too.  Make it a pass/fail test.
99         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
100         output.
101         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
102
103 2014-05-21  Pedro Alves  <palves@redhat.com>
104
105         * gdb.base/list.exp (build_pattern, test_list): New procedures.
106         Use them to test variations of "list" after reaching a breakpoint.
107         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
108         Test "list" with listsize 10 after reaching a breakpoint.
109         * gdb.python/python.exp (decode_line current location line
110         number): Adjust expected line number.
111
112 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
113
114         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
115         behavior for $args, pass it directly to "run".
116
117 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
118
119         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
120         30000 to 65536.
121
122 2014-05-21  Pedro Alves  <palves@redhat.com>
123
124         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
125         auto-connect-native-target off".
126         * gdb.base/auto-connect-native-target.c: New file.
127         * gdb.base/auto-connect-native-target.exp: New file.
128
129 2014-05-21  Pedro Alves  <palves@redhat.com>
130
131         * gdb.base/default.exp: Test "target native" instead of "target
132         child".
133
134 2014-05-21  Mark Wielaard  <mjw@redhat.com>
135
136         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
137
138 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
139
140         Fix TLS access for -static -pthread.
141         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
142         <HAVE_TLS> (thread_function, main): Initialize it.
143         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
144         Add clean_restart.
145         <$have_tls != "">: Check TLSVAR.
146
147 2014-05-21  Pedro Alves  <palves@redhat.com>
148
149         * gdb.base/dcache-line-read-error.c: New.
150         * gdb.base/dcache-line-read-error.exp: New.
151
152 2014-05-20  Pedro Alves  <palves@redhat.com>
153
154         * gdb.base/compare-sections.c: New file.
155         * gdb.base/compare-sections.exp: New file.
156
157 2014-05-20  Pedro Alves  <palves@redhat.com>
158
159         * gdb.base/break-idempotent.c: New file.
160         * gdb.base/break-idempotent.exp: New file.
161
162 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
163
164         * gdb.btrace/nohist.exp: New.
165
166 2014-05-20  Yao Qi  <yao@codesourcery.com>
167
168         * lib/gdb.exp (gdb_init): Set timeout if test file is under
169         gdb.reverse directory and gdb_reverse_timeout exists in board
170         setting.
171         * README: Document gdb_reverse_timeout.
172
173 2014-05-20  Yao Qi  <yao@codesourcery.com>
174
175         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
176         'test_file_name'.  Treat args as a string instead of a list.
177         (gdb_init): Rename argument 'args' by 'test_file_name'.
178
179 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
180
181         * gdb.arch/powerpc-power.exp: New file.
182         * gdb.arch/powerpc-power.s: New file.
183
184 2014-05-16  Doug Evans  <dje@google.com>
185
186         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
187         * gdb.base/completion.exp: Check that all expected files exist
188         before doing file completion.
189
190 2014-05-16  Doug Evans  <dje@google.com>
191
192         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
193         Update.
194         (do_syscall_tests_without_xml): Update.
195
196 2014-05-16  Pedro Alves  <palves@redhat.com>
197
198         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
199         instead of "unknown output after running".
200
201 2014-05-16  Yao Qi  <yao@codesourcery.com>
202
203         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
204         file1.txt from host at the end.
205         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
206
207 2014-05-15  Doug Evans  <dje@google.com>
208
209         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
210         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
211         loading file.  Add test for TU lookup.
212
213 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
214
215         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
216         calling "-exec-arguments" or "set args" before running the
217         inferior.
218
219 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
220
221         * lib/mi-support.exp (mi_expect_stop): Expect message for
222         inferiors that exit with non-zero exit code.
223
224 2014-05-14  Yao Qi  <yao@codesourcery.com>
225
226         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
227         match absolute path on remote host.
228         (test_file_list_exec_source_files): Remove "/" from the
229         pattern.
230
231 2014-05-14  Yao Qi  <yao@codesourcery.com>
232
233         * boards/local-remote-host-notty.exp (${board}_file): New
234         proc.
235
236 2014-05-07  Kyle McMartin  <kyle@redhat.com>
237
238         Pushed by Joel Brobecker  <brobecker@adacore.com>.
239         * gdb.arch/aarch64-atomic-inst.c: New file.
240         * gdb.arch/aarch64-atomic-inst.exp: New file.
241
242 2014-05-07  Yao Qi  <yao@codesourcery.com>
243
244         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
245         in current context" too.
246
247 2014-05-05  Keith Seitz  <keiths@redhat.com>
248
249         * gdb.linespec/ls-dollar.exp: Add test for linespec
250         file:convenience_variable.
251
252 2014-05-05  Yao Qi  <yao@codesourcery.com>
253
254         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
255         traceframes into tfile and ctf trace files.  Read data from
256         trace file and test collected data.
257         (gdb_collect_locals_test): Likewise.
258         (gdb_unavailable_registers_test): Likewise.
259         (gdb_unavailable_floats): Likewise.
260         (gdb_collect_globals_test): Likewise.
261         (top-level): Append "ctf" to trace_file_targets if GDB
262         supports.
263
264 2014-05-05  Yao Qi  <yao@codesourcery.com>
265
266         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
267         code to ...
268         (gdb_collect_args_test_1): ... it.  New proc.
269         (gdb_collect_locals_test): Move some code to ...
270         (gdb_collect_locals_test_1): ... it.  New proc.
271         (gdb_unavailable_registers_test): Move some code to ...
272         (gdb_unavailable_registers_test_1): ... it.  New proc.
273         (gdb_unavailable_floats): Move some code to ...
274         (gdb_unavailable_floats_1): ... it.  New proc.
275
276 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
277
278         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
279         probes to test for bitness recognition.
280         * gdb.arch/amd64-stap-optional-prefix.exp
281         (test_probe_value_without_reg): New procedure.
282         Add code to test for different kinds of bitness.
283
284 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
285
286         PR breakpoints/16889
287         * gdb.arch/amd64-stap-optional-prefix.S: New file.
288         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
289
290 2014-05-01  Pedro Alves  <palves@redhat.com>
291
292         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
293         gdb_file_cmd if no file is specified.
294         * boards/native-extended-gdbserver.exp (gdb_load): Use the
295         last_loaded_file to set the remote exec-file.
296
297 2014-05-01  Pedro Alves  <palves@redhat.com>
298
299         * boards/local-remote-host.exp: New file.
300
301 2014-05-01  Pedro Alves  <palves@redhat.com>
302
303         * boards/local-remote-host.exp: Rename to ...
304         * boards/local-remote-host-notty.exp: ... this.
305
306 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
307
308         * gdb.ada/dyn_arrayidx: New testcase.
309
310 2014-04-26  Yao Qi  <yao@codesourcery.com>
311
312         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
313         and compute the length of function main.  Save it in
314         $main_length.
315         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
316         (top-level): Use gdb_compile to compile objects into
317         executable and restart GDB.  Remove invocation to
318         prepare_for_testing.
319
320 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
321             Pedro Alves  <palves@redhat.com>
322
323         PR server/16255
324         * gdb.multi/multi-attach.c: New file.
325         * gdb.multi/multi-attach.exp: New file.
326
327 2014-04-25  Pedro Alves  <palves@redhat.com>
328
329         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
330         user.
331         (top level): Test that "set remote conditional-breakpoints-packet
332         off" works as intended.
333         * gdb.base/dprintf.exp: Test that "set remote
334         breakpoint-commands-packet off" works as intended.
335         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
336         New function.
337         (top level): Call it.
338         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
339         remote fast-tracepoints-packet off" works as intended.
340         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
341         * lib/gdb.exp (gdb_is_target_remote): ... here.
342
343 2014-04-24  David Blaikie  <dblaikie@gmail.com>
344
345         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
346         ensure clang would not discard them.
347         * gdb.base/gdbvars.c: Ditto.
348         * gdb.base/memattr.c: Ditto.
349         * gdb.base/whatis.c: Ditto.
350         * gdb.python/py-prettyprint.c: Ditto.
351         * gdb.trace/actions.c: Ditto.
352         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
353         ensure clang would not discard it.
354
355 2014-04-24  David Blaikie  <dblaikie@gmail.com>
356
357         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
358         clang to emit the full definition of type required by the test
359         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
360
361 2014-04-24  David Blaikie  <dblaikie@gmail.com>
362
363         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
364         coax Clang into emitting the definition of the type.
365         * gdb.cp/pr10728-x.h (y): Ditto.
366         * gdb.cp/pr10728-y.cc (y): Ditto.
367
368 2014-04-24  David Blaikie  <dblaikie@gmail.com>
369
370         * gdb.base/label.exp: XFAIL label related tests under Clang.
371         * gdb.cp/cplabel.exp: Ditto.
372         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
373         under Clang those using labels.
374
375 2014-04-25  Yao Qi  <yao@codesourcery.com>
376
377         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
378         double_label.
379         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
380         partial_label and double_label.
381
382 2014-04-24  David Blaikie  <dblaikie@gmail.com>
383
384         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
385
386 2014-04-24  David Blaikie  <dblaikie@gmail.com>
387
388         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
389         of the function to work across GCC and Clang.
390         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
391         pointer types (const void ** const V void **).
392
393 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
394             Walfred Tedeschi  <walfred.tedeschi@intel.com>
395
396         * Makefile.in (EXECUTABLES): Added i386-avx512.
397         * gdb.arch/i386-avx512.c: New file.
398         * gdb.arch/i386-avx512.exp: Likewise.
399
400 2014-04-23  Keith Seitz  <keiths@redhat.com>
401
402         * lib/mi-support.exp (mi_list_breakpoints): Delete.
403         (mi_make_breakpoint_table): New procedure.
404         (mi_create_breakpoint): Use mi_make_breakpoint
405         and return the result.
406         (mi_make_breakpoint): New procedure.
407         (mi_build_kv_pairs): New procedure.
408
409         * gdb.mi/mi-break.exp: Remove unused globals,
410         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
411         All callers updated.
412         * gdb.mi/mi-dprintf.exp: Use variable to track command
413         number.
414         Update all callers of mi_create_breakpoint and use
415         mi_make_breakpoint_table.
416         Remove any unused global variables.
417         * gdb.mi/mi-nonstop.exp: Likewise.
418         * gdb.mi/mi-nsintrall.exp: Likewise.
419         * gdb.mi/mi-nsmoribund.exp: Likewise.
420         * gdb.mi/mi-nsthrexec.exp: Likewise.
421         * gdb.mi/mi-reverse.exp: Likewise.
422         * gdb.mi/mi-simplerun.exp: Likewise.
423         * gdb.mi/mi-stepn.exp: Likewise.
424         * gdb.mi/mi-syn-frame.exp: Likewise.
425         * gdb.mi/mi-until.exp: Likewise.
426         * gdb.mi/mi-var-cp.exp: Likewise.
427         * gdb.mi/mi-var-display.exp: Likewise.
428         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
429         * gdb.mi/mi2-var-child.exp: Likewise.
430         * gdb.mi/mi-vla-c99.exp: Likewise.
431         * lib/mi-support.exp: Likewise.
432
433         From Ian Lance Taylor  <iant@cygnus.com>:
434         * lib/gdb.exp (parse_args): New procedure.
435
436 2014-04-23  Pedro Alves  <palves@redhat.com>
437
438         * gdb.base/break-unload-file.c: New file.
439         * gdb.base/break-unload-file.exp: New file.
440         * gdb.base/sym-file-lib.c (baz): New function.
441         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
442         field.
443         (load): Store the segment's mapped size.
444         (unload): New function.
445         (unload_shlib): New function.
446         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
447         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
448         set a breakpoint at baz, and call it.
449         * gdb.base/sym-file.exp: New tests for stale breakpoint
450         instructions.
451
452 2014-04-23  Pedro Alves  <palves@redhat.com>
453
454         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
455         * gdb.base/hbreak-in-shr-unsupported.c: New file.
456         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
457         * gdb.base/hbreak-unmapped.c: New file.
458         * gdb.base/hbreak-unmapped.exp: New file.
459         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
460         * lib/gdb.exp (gdb_is_target_remote): ... here.
461
462 2014-04-22  Pedro Alves  <palves@redhat.com>
463
464         * gdb.base/consecutive-step-over.c: New file.
465         * gdb.base/consecutive-step-over.exp: New file.
466
467 2014-04-22  Pedro Alves  <palves@redhat.com>
468
469         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
470         instead of send_gdb/gdb_expect.
471
472 2014-04-22  Yao Qi  <yao@codesourcery.com>
473
474         * lib/trace-support.exp (generate_tracefile): New procedure.
475         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
476         return 0.
477         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
478         if generate_tracefile returns 1.
479
480 2014-04-18  Tom Tromey  <palves@redhat.com>
481             Pedro alves  <tromey@redhat.com>
482
483         PR backtrace/15558
484         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
485         with a backtrace limit.
486         * gdb.python/py-frame-inline.exp: Test running to an inline
487         function with a backtrace limit, and printing the newest frame.
488         * gdb.python/py-frame-inline.c (main): Call f.
489
490 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
491
492         * gdb.java/jnpe.exp: Drop srcdir from untested path.
493
494 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
495
496         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
497         Drop prefix from unsupported source file path.
498
499 2014-04-17  Yao Qi  <yao@codesourcery.com>
500
501         * lib/gdb.exp (with_target_charset): New proc.
502         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
503         with_target_charset.
504         (test_print_strings): Likewise.
505         (test_repeat_bytes): Likewise.
506         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
507         for some tests.
508
509 2014-04-16  Keith Seitz  <keiths@redhat.com>
510
511         PR gdb/15827
512         * gdb.dwarf2/corrupt.c: New file.
513         * gdb.dwarf2/corrupt.exp: New file.
514
515 2014-04-16  Keith Seitz  <keiths@redhat.com>
516
517         PR c++/16597
518         * gdb.cp/namelessclass.cc: New file.
519         * gdb.cp/namelessclass.exp: New file.
520         * gdb.cp/namelessclass.S: New file.
521
522 2014-04-16  Doug Evans  <dje@google.com>
523
524         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
525         Add comment.
526         (gdbserver_default_get_comm_port): New function.
527         (gdbserver_start): Check if board file provided
528         "gdbserver,get_comm_port" and use it if so.
529         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
530         (gdb,socketport): Set to "stdio".
531         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
532         (stdio_gdbserver_template): Delete.
533         (${board}_get_remote_address): Update.
534         (${board}_build_remote_cmd): Delete.
535         (${board}_get_comm_port): New function.
536         (${board}_spawn): Update.
537         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
538         Delete.
539         (${board}_get_remote_address): Update.
540         (${board}_get_comm_port): New function.
541
542 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
543
544         * gdb.base/memattr.exp: Improve regexps to handle memory regions
545         appearing in any order.
546
547 2014-04-15  Doug Evans  <dje@google.com>
548
549         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
550         uninitialized value of "description".
551
552 2014-04-15  Keith Seitz  <keiths@redhat.com>
553
554         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
555         Remove unused globals.
556         (test_running_the_program): Likewise.
557         (test_controlled_execution): Likewise.
558         (test_controlling_breakpoints): Likewise.
559         (test_program_termination): Likewise.
560
561 2014-04-15  Keith Seitz  <keiths@redhat.com>
562
563         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
564         unused globals.
565         (test_rbreak_creation_and_listing): Likewise.
566         (test_ignore_count): Likewise.
567         (test_error): Likewise.
568
569 2014-04-15  Pedro Alves  <palves@redhat.com>
570
571         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
572         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
573         sym-file-loader.c.
574         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
575         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
576         to sym-file-loader.c.
577         (struct library): Forward declare.
578         (load_shlib, lookup_function): Change prototypes.
579         (find_shstrtab, find_strtab, find_shdr, find_symtab)
580         (translate_offset): Remove declarations.
581         (get_text_addr): New declaration.
582         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
583         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
584         sym-file-loader.h.
585         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
586         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
587         here from sym-file-loader.h.
588         (struct library): New structure.
589         (load_shlib, lookup_function): Change prototypes and adjust to
590         work with a struct library.
591         (find_shstrtab, find_strtab, find_shdr, find_symtab)
592         (translate_offset): Make static.
593         (get_text_addr): New function.
594         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
595
596 2014-04-15  Pedro Alves  <palves@redhat.com>
597
598         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
599
600 2014-04-15  Pedro Alves  <palves@redhat.com>
601
602         * gdb.base/sym-file-loader.c: Include <limits.h>.
603         (SELF_LINK): New define.
604         (get_origin): New function.
605         (load_shlib): Use it.
606         * gdb.base/sym-file.exp: Don't early return if the target is
607         remote.  Use runto_main, and issue fail is that fails.  Use
608         gdb_load_shlibs.
609         (shlib_name): Delete.
610         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
611
612 2014-04-15  Pedro Alves <palves@redhat.com>
613
614         * gdb.base/sym-file.exp: Remove regex characters from test
615         message.  Don't refer to breakpoint numbers in test messages.
616
617 2014-04-14  Keith Seitz  <keiths@redhat.com>
618
619         PR c++/16253
620         * gdb.cp/var-tag.cc: New file.
621         * gdb.cp/var-tag.exp: New file.
622         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
623         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
624         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
625         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
626
627 2014-04-14  Tom Tromey  <tromey@redhat.com>
628
629         * gdb.cp/classes.exp (test_enums): Handle underlying type.
630         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
631         type.
632         * gdb.cp/enum-class.exp: New file.
633         * gdb.cp/enum-class.cc: New file.
634
635 2014-04-14  Tom Tromey  <tromey@redhat.com>
636
637         * gdb.dwarf2/enum-type.exp: New file.
638
639 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
640
641         * gdb.mi/mi-vla-c99.exp: New file.
642         * gdb.mi/vla.c: New file.
643
644 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
645
646         * gdb.base/vla-datatypes.c: New file.
647         * gdb.base/vla-datatypes.exp: New file.
648
649 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
650
651         * gdb.base/vla-ptr.c: New file.
652         * gdb.base/vla-ptr.exp: New file.
653
654 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
655
656         * gdb.dwarf2/count.exp: New file.
657
658 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
659
660         * gdb.base/vla-sideeffect.c: New file.
661         * gdb.base/vla-sideeffect.exp: New file.
662
663 2014-04-14  David Blaikie <dblaikie@gmail.com>
664
665         * gdb.mi/non-stop.c: Add return value for non-void function return
666         statement.
667         * gdb.threads/staticthreads.c: Ditto.
668
669 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
670             Doug Evans  <xdje42@gmail.com>
671
672         * gdb.guile/scm-value.c: Improve test case.
673         * gdb.guile/scm-value.exp: Add new test.
674
675 2014-04-11  David Blaikie  <dblaikie@gmail.com>
676
677         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
678         override Clang's default.
679
680 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
681
682         Revert the following changes (regressions):
683
684         * gdb.base/vla-sideeffect.c: New file.
685         * gdb.base/vla-sideeffect.exp: New file.
686
687         * gdb.dwarf2/count.exp: New file.
688
689         * gdb.base/vla-multi.c: New file.
690         * gdb.base/vla-multi.exp: New file.
691
692         * gdb.base/vla-ptr.c: New file.
693         * gdb.base/vla-ptr.exp: New file.
694
695         * gdb.base/vla-datatypes.c: New file.
696         * gdb.base/vla-datatypes.exp: New file.
697
698         * gdb.mi/mi-vla-c99.exp: New file.
699         * gdb.mi/vla.c: New file.
700
701 2014-04-11  Keith Seitz  <keiths@redhat.com>
702
703         PR c++/16675
704         * gdb.cp/cpsizeof.exp: New file.
705         * gdb.cp/cpsizeof.cc: New file.
706
707 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
708
709         * gdb.mi/mi-vla-c99.exp: New file.
710         * gdb.mi/vla.c: New file.
711
712 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
713
714         * gdb.base/vla-datatypes.c: New file.
715         * gdb.base/vla-datatypes.exp: New file.
716
717 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
718
719         * gdb.base/vla-ptr.c: New file.
720         * gdb.base/vla-ptr.exp: New file.
721
722 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
723
724         * gdb.base/vla-multi.c: New file.
725         * gdb.base/vla-multi.exp: New file.
726
727 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
728
729         * gdb.dwarf2/count.exp: New file.
730
731 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
732
733         * gdb.base/vla-sideeffect.c: New file.
734         * gdb.base/vla-sideeffect.exp: New file.
735
736 2014-04-11  Yao Qi  <yao@codesourcery.com>
737
738         * gdb.base/completion.exp: Check file exists before running tests
739         on file completion.
740
741 2014-04-10  Pedro Alves  <palves@redhat.com>
742
743         * gdb.base/cond-eval-mode.c: New file.
744         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
745         prepare_for_testing to build the new file.  Check result of
746         runto_main.
747         (test_break, test_watch): New procedures.
748         (top level): Use them.
749
750 2014-04-08  Pierre Muller  <muller@sourceware.org>
751
752         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
753         Ctrl-V use for mingw hosts.
754
755 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
756
757         * gdb.python/py-value.c: Improve test case.
758         * gdb.python/py-value.exp: Add new test.
759
760 2014-04-07  David Blaikie  <dblaikie@gmail.com>
761
762         * lib/compiler.c: Identify the clang compiler.
763         * lib/compiler.cc: Ditto.
764
765 2014-04-03  Yao Qi  <yao@codesourcery.com>
766
767         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
768
769 2014-04-01  Anton Blanchard  <anton@samba.org>
770
771         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
772         messages unique.
773
774 2014-04-01  Anton Blanchard  <anton@samba.org>
775
776         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
777         prepare_for_testing.
778
779 2014-04-01  Anton Blanchard  <anton@samba.org>
780
781         * gdb.arch/ppc64-atomic-inst.c: Remove.
782         * gdb.arch/ppc64-atomic-inst.S: New file.
783         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
784
785 2014-03-31  Doug Evans  <dje@google.com>
786
787         * gdb.base/print-symbol-loading-lib.c: New file.
788         * gdb.base/print-symbol-loading-main.c: New file.
789         * gdb.base/print-symbol-loading.exp: New file.
790
791 2014-03-31  Yao Qi  <yao@codesourcery.com>
792
793         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
794
795 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
796
797         * gdb.ada/mi_dyn_arr: New testcase.
798
799 2014-03-27  Doug Evans  <dje@google.com>
800
801         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
802
803 2014-03-27  Yao Qi  <yao@codesourcery.com>
804
805         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
806         if target is nios2-*-*.
807
808 2014-03-26  Yao Qi  <yao@codesourcery.com>
809
810         * lib/gdb.exp (readline_is_used): New proc.
811         * gdb.base/completion.exp: Move tests on command complete up.
812         Skip the rest of tests if readline is not used.
813         * gdb.ada/complete.exp: Skp the test if readline is not
814         used.
815         * gdb.base/filesym.exp: Likewise.
816         * gdb.base/macscp.exp: Likewise.
817         * gdb.base/readline-ask.exp: Likewise.
818         * gdb.base/readline.exp: Likewise.
819         * gdb.python/py-cmd.exp: Likewise.
820         * gdb.trace/tfile.exp: Likewise.
821
822 2014-03-26  Yao Qi  <yao@codesourcery.com>
823
824         * gdb.base/macscp.exp: Fix code format issues.
825
826 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
827
828         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
829         * gdb.asm/powerpc64le.inc: New file.
830
831 2014-03-25  Pedro Alves  <palves@redhat.com>
832             Doug Evans  <dje@google.com>
833
834         * gdb.base/source-execution.c: New file.
835         * gdb.base/source-execution.exp: New file.
836         * gdb.base/source-execution.gdb: New file.
837
838 2014-03-24  Doug Evans  <dje@google.com>
839
840         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
841         using fission.
842
843 2014-03-24  Hui Zhu  <hui@codesourcery.com>
844             Pedro Alves  <palves@redhat.com>
845
846         PR breakpoints/16101
847         * gdb.base/dprintf.exp: Use unsupported rather than changing the
848         test pass/fail messages.  Detect missing support for dprintf when
849         breakpoints are actually inserted.
850         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
851         breakpoints are actually inserted.
852         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
853         fails.
854
855 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
856
857         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
858
859 2014-03-22  Doug Evans  <xdje42@gmail.com>
860
861         * gdb.python/python.exp (python not supported): Verify multi-line
862         python command issues an error.
863         * gdb.guile/guile.exp (guile not supported): Verify multi-line
864         guile command issues an error.
865
866 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
867
868         * gdb.threads/thread-specific.exp: Handle the lack of usable
869         $this_breakpoint and $this_thread.
870
871 2014-03-21  Hui Zhu  <hui@codesourcery.com>
872
873         * gdb.base/attach.exp (do_command_attach_tests): New.
874
875 2014-03-20  Tom Tromey  <tromey@redhat.com>
876             Pedro Alves  <palves@redhat.com>
877
878         PR cli/15718
879         * gdb.base/condbreak-call-false.c: New file.
880         * gdb.base/condbreak-call-false.exp: New file.
881
882 2014-03-20  Pedro Alves  <palves@redhat.com>
883
884         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
885         Delete.
886         (block_signals, unblock_signals): Delete.
887         (child_function_2, main): Remove references to deleted variable
888         and functions.
889
890 2014-03-20  Pedro Alves  <palves@redhat.com>
891
892         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
893         Use pthread_kill to signal thread 2.
894         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
895         Adjust to make the test send itself a signal rather than using the
896         host's "kill" command.
897
898 2014-03-20  Pedro Alves  <palves@redhat.com>
899
900         * gdb.threads/multiple-step-overs.c: New file.
901         * gdb.threads/multiple-step-overs.exp: New file.
902         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
903         Adjust expected infrun debug output.
904
905 2014-03-20  Pedro Alves  <palves@redhat.com>
906
907         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
908         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
909
910 2014-03-20  Pedro Alves  <palves@redhat.com>
911
912         PR breakpoints/7143
913         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
914         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
915         of gdb_test_multiple.
916         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
917         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
918
919 2014-03-20  Pedro Alves  <palves@redhat.com>
920
921         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
922         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
923
924 2014-03-19  Pedro Alves  <palves@redhat.com>
925
926         * gdb.base/async.exp: Remove early return.
927
928 2014-03-19  Pedro Alves  <palves@redhat.com>
929
930         * gdb.base/async.exp (step& tests): Pass explicit test messages.
931
932 2014-03-19  Pedro Alves  <palves@redhat.com>
933
934         * gdb.base/async.exp (test_background): Expect \r\n after
935         "completed." in the fail pattern.
936
937 2014-03-19  Pedro Alves  <palves@redhat.com>
938
939         * gdb.base/async.exp (test_background): New procedure.
940         Use it for all background execution command tests.
941
942 2014-03-19  Pedro Alves  <palves@redhat.com>
943
944         * gdb.base/async.exp: Use prepare_for_testing.
945
946 2014-03-19  Pedro Alves  <palves@redhat.com>
947
948         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
949         the same line.
950
951 2014-03-19  Pedro Alves  <palves@redhat.com>
952
953         * gdb.base/async.c (main): Add "jump here" and "until here" line
954         marker comments.
955         * gdb.base/async.exp (jump_here): New global.
956         (jump& test): Use it.
957         (until_here): New global.
958         (until& test): Use it.
959
960 2014-03-19  Pedro Alves  <palves@redhat.com>
961
962         * gdb.base/async.exp: Don't frob gdb_protocol.
963
964 2014-03-18  Doug Evans  <xdje42@gmail.com>
965
966         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
967         Fix spelling of exec-done-display.
968
969 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
970
971         PR gdb/15358
972         * gdb.base/gdb-sigterm.c: New file.
973         * gdb.base/gdb-sigterm.exp: New file.
974
975 2014-03-18  Pedro Alves  <palves@redhat.com>
976
977         PR gdb/13860
978         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
979         * lib/mi-support.exp (mi_expect_stop): Add special handling for
980         solib-event.
981
982 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
983
984         * gdb.ada/pckd_arr_ren: New testcase.
985
986 2014-03-13  Doug Evans  <xdje42@gmail.com>
987
988         PR guile/16612
989         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
990         collect after discarding symbols.
991
992 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
993             Doug Evans  <xdje42@gmail.com>
994
995         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
996         to history survives a gc.
997
998 2014-03-13  Pedro Alves  <palves@redhat.com>
999
1000         * gdb.base/default.exp: Don't test "target procfs".
1001
1002 2014-03-13  Pedro Alves  <palves@redhat.com>
1003
1004         * gdb.base/default.exp: Update "target child" and "target procfs"
1005         tests to not expect "Unix".
1006
1007 2014-03-12  Tom Tromey  <tromey@redhat.com>
1008
1009         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1010         New procs.  Add target-async tests.
1011         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1012         Add target-async tests.
1013
1014 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1015
1016         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1017         'func_start' and 'func_end' for the beginning and end of the
1018         function code, respectively.
1019         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1020         'func_end' instead of 'func' and 'main'.
1021
1022 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1023
1024         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1025         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1026         generate the debug info assembler source.
1027
1028 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1029
1030         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1031         * gdb.dwarf2/arr-subrange.exp: Likewise.
1032         * gdb.dwarf2/dwz.exp: Likewise.
1033         * gdb.dwarf2/method-ptr.exp: Likewise.
1034         * gdb.dwarf2/missing-sig-type.exp: Likewise.
1035         * gdb.dwarf2/subrange.exp: Likewise.
1036         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1037         * gdb.dwarf2/implptrpiece.exp: Likewise.
1038         * gdb.dwarf2/nostaticblock.exp: Likewise.
1039
1040 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1041
1042         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1043         directory to absolute path name arguments.
1044
1045 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
1046
1047         * gdb.ada/tagged_access: New testcase.
1048
1049 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
1050
1051         * gdb.btrace/data.exp: Update expected output.
1052
1053 2014-03-06  Yao Qi  <yao@codesourcery.com>
1054
1055         * gdb.trace/pr16508.exp: New file.
1056
1057 2014-03-05  Pedro Alves  <palves@redhat.com>
1058
1059         PR gdb/16575
1060         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1061         procedure.
1062         (top level): Adjust to use it.  Add tests that exercise breakpoint
1063         interaction with the code-cache.
1064
1065 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
1066
1067         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1068         test for 'history-append!'.
1069
1070 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
1071
1072         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1073         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1074         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1075         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1076         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1077         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1078
1079 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
1080
1081         * testsuite/gdb.python/py-pp-re-notag.c: New file.
1082         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1083         * testsuite/gdb.python/py-pp-re-notag.p: New file.
1084
1085 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
1086
1087         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1088
1089 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
1090
1091         * gdb.dwarf2/arr-stride.c: New file.
1092         * gdb.dwarf2/arr-stride.exp: New file.
1093
1094 2014-02-26  Pedro Alves  <palves@redhat.com>
1095
1096         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1097         that won't ever trigger.  Make sure that GDB reports the correct
1098         breakpoint that caused the stop.
1099
1100 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1101
1102         PR gdb/16626
1103         * gdb.base/auto-load-script: New file.
1104         * gdb.base/auto-load.c: New file.
1105         * gdb.base/auto-load.exp: New file.
1106
1107         PR gdb/16626
1108         * gdb.base/auto-load.exp: Fix out-of-srctree run.
1109
1110 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
1111
1112         Fix dw2-icycle.exp -fsanitize=address GDB crash.
1113         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1114
1115 2014-02-24  Doug Evans  <dje@google.com>
1116
1117         * lib/gdb.exp (run_on_host): Log error output if program fails.
1118
1119 2014-02-21  Pedro Alves  <palves@redhat.com>
1120
1121         * gdb.threads/step-after-sr-lock.c: Rename to ...
1122         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1123         * gdb.threads/step-after-sr-lock.exp: Rename to ...
1124         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1125         ... this.
1126
1127 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
1128
1129         PR tdep/16397
1130         * gdb.arch/amd64-stap-special-operands.exp: New file.
1131         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1132         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1133         * gdb.arch/amd64-stap-triplet.S: Likewise.
1134         * gdb.arch/amd64-stap-triplet.c: Likewise.
1135
1136 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
1137
1138         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1139         in .section pseudo-op.
1140
1141 2014-02-20  lin zuojian  <manjian2006@gmail.com>
1142             Joel Brobecker  <brobecker@adacore.com>
1143             Doug Evans  <xdje42@gmail.com>
1144
1145         PR symtab/16581
1146         * gdb.dwarf2/dw2-icycle.S: New file.
1147         * gdb.dwarf2/dw2-icycle.c: New file.
1148         * gdb.dwarf2/dw2-icycle.exp: New file.
1149
1150 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
1151
1152         * gdb.python/py-value-cc.cc: Improve test case to enable testing
1153         operations on gdb.Value objects.
1154         * gdb.python/py-value-cc.exp: Add new test to test operations on
1155         gdb.Value objects.
1156
1157 2014-02-18  Doug Evans  <dje@google.com>
1158
1159         * Makefile.in (TESTS): New variable.
1160         (expanded_tests, expanded_tests_or_none): New variables
1161         (check-single): Pass $(expanded_tests_or_none) to runtest.
1162         (check-parallel): Only run tests in $(TESTS) if non-empty.
1163         (check/no-matching-tests-found): New rule.
1164         * README: Document TESTS makefile variable.
1165
1166 2014-02-18  Doug Evans  <dje@google.com>
1167
1168         * Makefile.in (check-parallel): rm -rf outputs temp.
1169
1170 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1171
1172         Fix "ERROR: no fileid for" in the testsuite.
1173         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1174
1175 2014-02-12  Doug Evans  <dje@google.com>
1176
1177         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1178         (MISCELLANEOUS): New variable.
1179         (clean): rm -rf $(MISCELLANEOUS).
1180         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1181         dwp live in the same directory as symlinks, with each symlink pointed
1182         to a differently named file in a different directory.
1183
1184 2014-02-11  Doug Evans  <dje@google.com>
1185
1186         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1187         of Tcl file commands.
1188
1189 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
1190
1191         * gdb.threads/step-after-sr-lock.exp: Avoid executing
1192         "kill -SIGUSR1 -1".
1193
1194 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
1195
1196         * gdb.ada/tick_length_array_enum_idx: New testcase.
1197
1198 2014-02-10  Doug Evans  <xdje42@gmail.com>
1199
1200         * configure.ac (AC_OUTPUT): Add gdb.guile.
1201         * configure: Regenerate.
1202         * lib/gdb-guile.exp: New file.
1203         * lib/gdb.exp (get_target_charset): New function.
1204         * gdb.base/help.exp: Update expected output from "apropos apropos".
1205         * gdb.guile/Makefile.in: New file.
1206         * gdb.guile/guile.exp: New file.
1207         * gdb.guile/scm-arch.c: New file.
1208         * gdb.guile/scm-arch.exp: New file.
1209         * gdb.guile/scm-block.c: New file.
1210         * gdb.guile/scm-block.exp: New file.
1211         * gdb.guile/scm-breakpoint.c: New file.
1212         * gdb.guile/scm-breakpoint.exp: New file.
1213         * gdb.guile/scm-disasm.c: New file.
1214         * gdb.guile/scm-disasm.exp: New file.
1215         * gdb.guile/scm-equal.c: New file.
1216         * gdb.guile/scm-equal.exp: New file.
1217         * gdb.guile/scm-error.exp: New file.
1218         * gdb.guile/scm-error.scm: New file.
1219         * gdb.guile/scm-frame-args.c: New file.
1220         * gdb.guile/scm-frame-args.exp: New file.
1221         * gdb.guile/scm-frame-args.scm: New file.
1222         * gdb.guile/scm-frame-inline.c: New file.
1223         * gdb.guile/scm-frame-inline.exp: New file.
1224         * gdb.guile/scm-frame.c: New file.
1225         * gdb.guile/scm-frame.exp: New file.
1226         * gdb.guile/scm-generics.exp: New file.
1227         * gdb.guile/scm-gsmob.exp: New file.
1228         * gdb.guile/scm-iterator.c: New file.
1229         * gdb.guile/scm-iterator.exp: New file.
1230         * gdb.guile/scm-math.c: New file.
1231         * gdb.guile/scm-math.exp: New file.
1232         * gdb.guile/scm-objfile-script-gdb.in: New file.
1233         * gdb.guile/scm-objfile-script.c: New file.
1234         * gdb.guile/scm-objfile-script.exp: New file.
1235         * gdb.guile/scm-objfile.c: New file.
1236         * gdb.guile/scm-objfile.exp: New file.
1237         * gdb.guile/scm-ports.exp: New file.
1238         * gdb.guile/scm-pretty-print.c: New file.
1239         * gdb.guile/scm-pretty-print.exp: New file.
1240         * gdb.guile/scm-pretty-print.scm: New file.
1241         * gdb.guile/scm-section-script.c: New file.
1242         * gdb.guile/scm-section-script.exp: New file.
1243         * gdb.guile/scm-section-script.scm: New file.
1244         * gdb.guile/scm-symbol.c: New file.
1245         * gdb.guile/scm-symbol.exp: New file.
1246         * gdb.guile/scm-symtab-2.c: New file.
1247         * gdb.guile/scm-symtab.c: New file.
1248         * gdb.guile/scm-symtab.exp: New file.
1249         * gdb.guile/scm-type.c: New file.
1250         * gdb.guile/scm-type.exp: New file.
1251         * gdb.guile/scm-value-cc.cc: New file.
1252         * gdb.guile/scm-value-cc.exp: New file.
1253         * gdb.guile/scm-value.c: New file.
1254         * gdb.guile/scm-value.exp: New file.
1255         * gdb.guile/source2.scm: New file.
1256         * gdb.guile/types-module.cc: New file.
1257         * gdb.guile/types-module.exp: New file.
1258
1259 2014-02-10  Yao Qi  <yao@codesourcery.com>
1260
1261         PR testsuite/16543
1262         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1263         * configure: Regenerated.
1264         * Makefile.in: New file.
1265
1266 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
1267
1268         * gdb.python/py-framefilter.exp: Fix typo.
1269
1270 2014-02-08  Yao Qi  <yao@codesourcery.com>
1271
1272         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1273         that no =breakpoint-modified is emitted when breakpoints are
1274         modified through MI commands.
1275
1276 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
1277             Pedro Alves  <palves@redhat.com>
1278
1279         * gdb.threads/step-after-sr-lock.c: New file.
1280         * gdb.threads/step-after-sr-lock.exp: New file.
1281
1282 2014-02-07  Pedro Alves  <palves@redhat.com>
1283
1284         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1285
1286 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
1287
1288         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1289         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1290
1291 2014-02-06  Doug Evans  <xdje42@gmail.com>
1292
1293         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1294         output.
1295
1296         * gdb.gdb/python-interrupts.exp: New file.
1297
1298 2014-02-05  Yao Qi  <yao@codesourcery.com>
1299
1300         * gdb.trace/report.exp (use_collected_data): Test the output
1301         of "info threads" and "info inferiors".
1302
1303 2014-02-05  Yao Qi  <yao@codesourcery.com>
1304
1305         Revert this patch:
1306
1307         2013-05-24  Yao Qi  <yao@codesourcery.com>
1308
1309         * gdb.trace/tfile.exp: Test inferior and thread.
1310
1311 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1312
1313         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1314         on a function.
1315         * gdb.base/step-bt.c: Call hello via function pointer to make
1316         sure its first instruction is executed on powerpc64le-linux.
1317
1318 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1319
1320         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1321
1322 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1323
1324         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
1325         of the test patterns for use on little-endian systems.
1326
1327 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
1328
1329         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1330         (decimal_vector): Fix for little-endian.
1331
1332 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
1333
1334         * gdb.arch/sparc-sysstep.exp: New file.
1335         * gdb.arch/sparc-sysstep.c: Likewise.
1336
1337         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1338
1339 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1340
1341         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1342
1343 2014-01-23  Tom Tromey  <tromey@redhat.com>
1344
1345         * gdb.ada/array_char_idx: New testcase.
1346
1347 2014-01-23  Tom Tromey  <tromey@redhat.com>
1348
1349         PR python/16487:
1350         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1351         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1352         classes.
1353
1354 2014-01-23  Tom Tromey  <tromey@redhat.com>
1355
1356         PR python/16491:
1357         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1358         string from an inferior frame.
1359         * gdb.python/py-framefilter-mi.exp: Update.
1360
1361 2014-01-22  Doug Evans  <dje@google.com>
1362
1363         * gdb.server/server-mon.exp: Add tests for "set debug-format".
1364
1365 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1366
1367         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1368
1369 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1370
1371         * gdb.trace/entry-values.exp: Remove excess space character from
1372         regex patterns.  Handle s390 call instruction.
1373
1374 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1375
1376         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1377         define "*_start" label.  Make "name" static.
1378         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1379         ${name} by references to ${name}_start.
1380
1381 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
1382
1383         * gdb.base/info-macros.exp: Remove "debug" from the compile
1384         options.
1385
1386 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
1387
1388         * gdb.dlang/demangle.exp: New file.
1389
1390 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
1391
1392         * gdb.dlang/primitive-types.exp: New file.
1393
1394 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
1395
1396         * configure.ac: Create gdb.dlang/Makefile.
1397         * configure: Regenerate.
1398         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1399         * gdb.dlang/Makefile.in: New file.
1400         * lib/d-support.exp: New file.
1401         * lib/gdb.exp (skip_d_tests): New proc.
1402
1403 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1404
1405         * gdb.btrace/delta.exp: Check reverse stepi.
1406         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
1407         * gdb.btrace/finish.exp: New.
1408         * gdb.btrace/next.exp: New.
1409         * gdb.btrace/nexti.exp: New.
1410         * gdb.btrace/record_goto.c: Add comments.
1411         * gdb.btrace/step.exp: New.
1412         * gdb.btrace/stepi.exp: New.
1413         * gdb.btrace/multi-thread-step.c: New.
1414         * gdb.btrace/multi-thread-step.exp: New.
1415         * gdb.btrace/rn-dl-bind.c: New.
1416         * gdb.btrace/rn-dl-bind.exp: New.
1417         * gdb.btrace/data.c: New.
1418         * gdb.btrace/data.exp: New.
1419         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1420
1421 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1422
1423         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1424         * gdb.btrace/exception.exp: Update.
1425         * gdb.btrace/instruction_history.exp: Update.
1426         * gdb.btrace/record_goto.exp: Update.
1427         * gdb.btrace/tailcall.exp: Update.
1428         * gdb.btrace/unknown_functions.exp: Update.
1429         * gdb.btrace/delta.exp: New.
1430
1431 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1432
1433         * gdb.btrace/record_goto.exp: Add backtrace test.
1434         * gdb.btrace/tailcall.exp: Add backtrace test.
1435
1436 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1437
1438         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1439         * gdb.btrace/record_goto.c: New.
1440         * gdb.btrace/record_goto.exp: New.
1441         * gdb.btrace/x86-record_goto.S: New.
1442
1443 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1444
1445         * gdb.btrace/function_call_history.exp: Update tests.
1446         * gdb.btrace/instruction_history.exp: Update tests.
1447
1448 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1449
1450         * gdb.btrace/function_call_history.exp: Fix expected field
1451         order for "record function-call-history".
1452         Add new tests for "record function-call-history /c".
1453         * gdb.btrace/exception.cc: New.
1454         * gdb.btrace/exception.exp: New.
1455         * gdb.btrace/tailcall.exp: New.
1456         * gdb.btrace/x86-tailcall.S: New.
1457         * gdb.btrace/x86-tailcall.c: New.
1458         * gdb.btrace/unknown_functions.c: New.
1459         * gdb.btrace/unknown_functions.exp: New.
1460         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1461
1462 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1463
1464         * gdb.btrace/instruction_history.exp: Update.
1465         * gdb.btrace/function_call_history.exp: Update.
1466
1467 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1468
1469         * gdb.btrace/function_call_history.exp: Fix expected function
1470         trace.
1471         * gdb.btrace/instruction_history.exp: Initialize traced.
1472         Remove traced_functions.
1473
1474 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1475
1476         * gdb.btrace/function_call_history.exp: Update
1477         * gdb.btrace/instruction_history.exp: Update.
1478
1479 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
1480
1481         * gdb.btrace/enable.exp: Update expected text.
1482
1483 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
1484
1485         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1486         bytes.
1487
1488 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
1489
1490         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1491
1492 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
1493
1494         * lib/gdb.exp (supports_process_record): Return true for
1495         arm*-linux*.  (supports_reverse): Likewise.
1496
1497 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
1498
1499         PR python/15464
1500         PR python/16113
1501         * gdb.python/py-type.c: Enhance test case.
1502         * gdb.python/py-value-cc.cc: Likewise
1503         * gdb.python/py-type.exp: Add new tests.
1504         * gdb.python/py-value-cc.exp: Likewise
1505
1506 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1507             Pedro Alves <palves@redhat.com>
1508
1509         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1510         Make "name" extern.
1511         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1512         references to ${name}_start by references to ${name}.
1513
1514 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
1515
1516         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1517
1518 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
1519
1520         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1521
1522 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
1523             Pedro Alves  <palves@redhat.com>
1524
1525         * gdb.mi/mi-info-os.exp: Connect to the target with
1526         mi_gdb_target_load.
1527
1528 2014-01-08  Pedro Alves  <palves@redhat.com>
1529
1530         * gdb.threads/reconnect-signal.c: New file.
1531         * gdb.threads/reconnect-signal.exp: New file.
1532
1533 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
1534
1535         * gdb.base/source-dir.exp: New file.
1536
1537 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
1538
1539         * gdb.ada/mi_interface: New testcase.
1540
1541 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
1542
1543         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1544         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1545         gdb.ada/pp-rec-component/pck.ads: New files.
1546
1547 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
1548
1549         * gdb.python/py-pp-integral.c: New file.
1550         * gdb.python/py-pp-integral.py: New file.
1551         * gdb.python/py-pp-integral.exp: New file.
1552
1553 For older changes see ChangeLog-1993-2013.
1554 \f
1555 ;; Local Variables:
1556 ;; mode: change-log
1557 ;; left-margin: 8
1558 ;; fill-column: 74
1559 ;; version-control: never
1560 ;; End:
1561
1562     Copyright 2014 Free Software Foundation, Inc.
1563   Copying and distribution of this file, with or without modification,
1564   are permitted provided the copyright notice and this notice are preserved.