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