1 2014-06-06 Pedro Alves <palves@redhat.com>
3 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
4 in target debug output instead of looking at RSP packets,
5 disabling the test on any target that uses hardware stepping.
8 2014-06-06 Pedro Alves <palves@redhat.com>
10 * gdb.base/break-unload-file.exp: Fix typo.
12 2014-06-06 Yao Qi <yao@codesourcery.com>
14 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15 from "jit_function" to "^jit_function".
17 2014-06-06 Yao Qi <yao@codesourcery.com>
19 * gdb.base/async.c (foo): Add one statement.
20 * gdb.base/async.exp: Get the next instruction address and
21 match the output of "nexti" by instruction address. Match
22 the hex address in the output of "finish".
24 2014-06-06 Gary Benson <gbenson@redhat.com>
26 * gdb.base/call-signals.c: Remove preprocessor conditionals
27 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
29 * gdb.base/sigall.c: Likewise.
30 * gdb.base/unwindonsignal.c: Likewise.
31 * gdb.reverse/sigall-reverse.c: Likewise.
33 2014-06-06 Yao Qi <yao@codesourcery.com>
35 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
36 readable, skip the test.
38 2014-06-06 Yao Qi <yao@codesourcery.com>
40 * gdb.threads/staticthreads.c (thread_function): Move the line
41 setting breakpoint on forward.
42 * gdb.threads/staticthreads.exp: Update comments.
44 2014-06-05 Ludovic Courtès <ludo@gnu.org>
46 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
47 "history-append! type error".
49 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
51 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
52 erroneous dprintf expected input.
54 2014-06-04 Doug Evans <xdje42@gmail.com>
56 * gdb.guile/scm-generics.exp: Delete.
58 2014-06-04 Doug Evans <xdje42@gmail.com>
60 * gdb.guile/scm-breakpoint.exp: Update.
61 Add tests for breakpoint registration.
63 2014-06-04 Tom Tromey <tromey@redhat.com>
65 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
67 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
68 inner_vla_struct, vla_union types. Initialize objects of those
69 types and compute their sizes.
71 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
72 Hui Zhu <hui@codesourcery.com>
74 * gdb.base/fileio.exp: Add test for shell not available as well as
76 * gdb.base/fileio.c (test_system): Check for shell twice.
78 2014-06-04 Yao Qi <yao@codesourcery.com>
80 * gdb.base/auto-connect-native-target.exp: Remove redundant
81 space from the regexp pattern.
83 2014-06-04 Yao Qi <yao@codesourcery.com>
85 * gdb.base/default.exp: Replace "child" with "native" in
88 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
90 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
91 * gdb.python/py-xmethods.exp: New tests to test xmethods.
92 * gdb.python/py-xmethods.py: Python script supporting the
93 new testcase and tests.
95 2014-06-03 Joel Brobecker <brobecker@adacore.com>
96 Pedro Alves <palves@redhat.com>
99 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
100 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
102 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
104 * gdb.base/subst.exp: Add tests to verify partial path matching
107 2014-06-03 Pedro Alves <palves@redhat.com>
109 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
110 target that doesn't use software single-stepping.
112 2014-06-03 Pedro Alves <palves@redhat.com>
115 * gdb.base/sss-bp-on-user-bp-2.c: New file.
116 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
118 2014-06-02 Doug Evans <xdje42@gmail.com>
120 * gdb.guile/scm-parameter.exp: New file.
122 2014-06-02 Doug Evans <xdje42@gmail.com>
124 * gdb.guile/scm-cmd.c: New file.
125 * gdb.guile/scm-cmd.exp: New file.
127 2014-06-02 Doug Evans <xdje42@gmail.com>
129 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
130 pretty-printer lookup.
131 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
132 (make-pp_s-printer): Call it.
133 (make-pretty-printer-from-dict): New function.
134 (lookup-pretty-printer-maker-from-dict): New function.
135 (*pretty-printer*): Simplify.
136 (make-objfile-pp_s-printer): New function.
137 (install-objfile-pretty-printers!): New function.
138 (make-progspace-pp_s-printer): New function.
139 (install-progspace-pretty-printers!): New function.
140 * gdb.guile/scm-progspace.c: New file.
141 * gdb.guile/scm-progspace.exp: New file.
143 2014-06-02 Pedro Alves <palves@redhat.com>
145 * gdb.base/dprintf-bp-same-addr.c: New file.
146 * gdb.base/dprintf-bp-same-addr.exp: New file.
148 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
150 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
151 * gdb.arch/powerpc-power.s: Likewise.
153 2014-06-02 Joel Brobecker <brobecker@adacore.com>
155 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
157 2014-06-01 Yao Qi <yao@codesourcery.com>
159 * gdb.base/watchpoint.exp (test_watch_location): Check null
160 pointer can be dereferenced. If not, do the test, otherwise
163 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
165 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
167 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
169 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
171 * gdb.arch/amd64-invalid-stack-middle.S: New file.
172 * gdb.arch/amd64-invalid-stack-middle.c: New file.
173 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
174 * gdb.arch/amd64-invalid-stack-top.c: New file.
175 * gdb.arch/amd64-invalid-stack-top.exp: New file.
177 2014-05-30 Pedro Alves <palves@redhat.com>
180 * gdb.base/sss-bp-on-user-bp.c: New file.
181 * gdb.base/sss-bp-on-user-bp.exp: New file.
183 2014-05-30 David Blaikie <dblaikie@gmail.com>
185 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
186 gnu_inline semantics via attribute.
187 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
188 source explicitly specifies the required semantics.
190 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
192 * gdb.reverse/sigall-reverse.exp: Fix a typo.
194 2014-05-29 Pedro Alves <palves@redhat.com>
195 Tom Tromey <tromey@redhat.com>
197 * gdb.base/async-shell.exp: Don't enable target-async.
199 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
201 (top level): Don't test with "target-async".
202 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
203 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
204 * gdb.base/inferior-died.exp: Don't enable target-async.
205 * gdb.base/interrupt-noterm.exp: Likewise.
206 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
207 * gdb.mi/mi-nonstop-exit.exp: Likewise.
208 * gdb.mi/mi-nonstop.exp: Likewise.
209 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
210 * gdb.mi/mi-nsintrall.exp: Likewise.
211 * gdb.mi/mi-nsmoribund.exp: Likewise.
212 * gdb.mi/mi-nsthrexec.exp: Likewise.
213 * gdb.mi/mi-watch-nonstop.exp: Likewise.
214 * gdb.multi/watchpoint-multi.exp: Adjust comment.
215 * gdb.python/py-evsignal.exp: Don't enable target-async.
216 * gdb.python/py-evthreads.exp: Likewise.
217 * gdb.python/py-prompt.exp: Likewise.
218 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
219 * gdb.server/solib-list.exp: Don't enable target-async.
220 * gdb.threads/thread-specific-bp.exp: Likewise.
221 * lib/mi-support.exp: Adjust to use mi-async.
223 2014-05-29 Pedro Alves <palves@redhat.com>
226 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
227 reason, even in sync mode.
229 2014-05-29 Pedro Alves <palves@redhat.com>
230 Hui Zhu <hui@codesourcery.com>
233 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
234 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
235 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
236 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
238 2014-05-28 Joel Brobecker <brobecker@adacore.com>
240 * config/monitor.exp (gdb_target_monitor): Replace use of
241 "set remotebaud" by "set serial baud".
243 2014-05-26 Andy Wingo <wingo@igalia.com>
245 * gdb.guile/scm-breakpoint.exp:
246 * gdb.guile/scm-gsmob.exp: Update to use plain old object
247 properties instead of gdb-object-properties.
249 2014-05-26 Yao Qi <yao@codesourcery.com>
251 * gdb.server/no-thread-db.exp: Specify source file name
252 explicitly when setting a breakpoint.
254 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
256 * gdb.btrace/vdso.c: New.
257 * gdb.btrace/vdso.exp: New.
259 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
261 * gdb.base/gcore.exp (capture_command_output): Move ...
262 * lib/gdb.exp (capture_command_output): ... here.
264 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
266 * gdb.btrace/data.exp: Test memory access during btrace replay.
268 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
270 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
272 2014-05-21 Pedro Alves <palves@redhat.com>
275 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
276 (top level): Test that output related to execution commands is
277 sent to the console with CLI commands, but not with MI commands.
278 Test that breakpoint events are always mirrored to the console.
279 Also expect the new source line to be output after a "next" in
280 async mode too. Make it a pass/fail test.
281 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
283 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
285 2014-05-21 Pedro Alves <palves@redhat.com>
287 * gdb.base/list.exp (build_pattern, test_list): New procedures.
288 Use them to test variations of "list" after reaching a breakpoint.
289 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
290 Test "list" with listsize 10 after reaching a breakpoint.
291 * gdb.python/python.exp (decode_line current location line
292 number): Adjust expected line number.
294 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
296 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
297 behavior for $args, pass it directly to "run".
299 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
301 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
304 2014-05-21 Pedro Alves <palves@redhat.com>
306 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
307 auto-connect-native-target off".
308 * gdb.base/auto-connect-native-target.c: New file.
309 * gdb.base/auto-connect-native-target.exp: New file.
311 2014-05-21 Pedro Alves <palves@redhat.com>
313 * gdb.base/default.exp: Test "target native" instead of "target
316 2014-05-21 Mark Wielaard <mjw@redhat.com>
318 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
320 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
322 Fix TLS access for -static -pthread.
323 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
324 <HAVE_TLS> (thread_function, main): Initialize it.
325 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
327 <$have_tls != "">: Check TLSVAR.
329 2014-05-21 Pedro Alves <palves@redhat.com>
331 * gdb.base/dcache-line-read-error.c: New.
332 * gdb.base/dcache-line-read-error.exp: New.
334 2014-05-20 Pedro Alves <palves@redhat.com>
336 * gdb.base/compare-sections.c: New file.
337 * gdb.base/compare-sections.exp: New file.
339 2014-05-20 Pedro Alves <palves@redhat.com>
341 * gdb.base/break-idempotent.c: New file.
342 * gdb.base/break-idempotent.exp: New file.
344 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
346 * gdb.btrace/nohist.exp: New.
348 2014-05-20 Yao Qi <yao@codesourcery.com>
350 * lib/gdb.exp (gdb_init): Set timeout if test file is under
351 gdb.reverse directory and gdb_reverse_timeout exists in board
353 * README: Document gdb_reverse_timeout.
355 2014-05-20 Yao Qi <yao@codesourcery.com>
357 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
358 'test_file_name'. Treat args as a string instead of a list.
359 (gdb_init): Rename argument 'args' by 'test_file_name'.
361 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
363 * gdb.arch/powerpc-power.exp: New file.
364 * gdb.arch/powerpc-power.s: New file.
366 2014-05-16 Doug Evans <dje@google.com>
368 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
369 * gdb.base/completion.exp: Check that all expected files exist
370 before doing file completion.
372 2014-05-16 Doug Evans <dje@google.com>
374 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
376 (do_syscall_tests_without_xml): Update.
378 2014-05-16 Pedro Alves <palves@redhat.com>
380 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
381 instead of "unknown output after running".
383 2014-05-16 Yao Qi <yao@codesourcery.com>
385 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
386 file1.txt from host at the end.
387 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
389 2014-05-15 Doug Evans <dje@google.com>
391 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
392 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
393 loading file. Add test for TU lookup.
395 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
397 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
398 calling "-exec-arguments" or "set args" before running the
401 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
403 * lib/mi-support.exp (mi_expect_stop): Expect message for
404 inferiors that exit with non-zero exit code.
406 2014-05-14 Yao Qi <yao@codesourcery.com>
408 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
409 match absolute path on remote host.
410 (test_file_list_exec_source_files): Remove "/" from the
413 2014-05-14 Yao Qi <yao@codesourcery.com>
415 * boards/local-remote-host-notty.exp (${board}_file): New
418 2014-05-07 Kyle McMartin <kyle@redhat.com>
420 Pushed by Joel Brobecker <brobecker@adacore.com>.
421 * gdb.arch/aarch64-atomic-inst.c: New file.
422 * gdb.arch/aarch64-atomic-inst.exp: New file.
424 2014-05-07 Yao Qi <yao@codesourcery.com>
426 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
427 in current context" too.
429 2014-05-05 Keith Seitz <keiths@redhat.com>
431 * gdb.linespec/ls-dollar.exp: Add test for linespec
432 file:convenience_variable.
434 2014-05-05 Yao Qi <yao@codesourcery.com>
436 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
437 traceframes into tfile and ctf trace files. Read data from
438 trace file and test collected data.
439 (gdb_collect_locals_test): Likewise.
440 (gdb_unavailable_registers_test): Likewise.
441 (gdb_unavailable_floats): Likewise.
442 (gdb_collect_globals_test): Likewise.
443 (top-level): Append "ctf" to trace_file_targets if GDB
446 2014-05-05 Yao Qi <yao@codesourcery.com>
448 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
450 (gdb_collect_args_test_1): ... it. New proc.
451 (gdb_collect_locals_test): Move some code to ...
452 (gdb_collect_locals_test_1): ... it. New proc.
453 (gdb_unavailable_registers_test): Move some code to ...
454 (gdb_unavailable_registers_test_1): ... it. New proc.
455 (gdb_unavailable_floats): Move some code to ...
456 (gdb_unavailable_floats_1): ... it. New proc.
458 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
460 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
461 probes to test for bitness recognition.
462 * gdb.arch/amd64-stap-optional-prefix.exp
463 (test_probe_value_without_reg): New procedure.
464 Add code to test for different kinds of bitness.
466 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
469 * gdb.arch/amd64-stap-optional-prefix.S: New file.
470 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
472 2014-05-01 Pedro Alves <palves@redhat.com>
474 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
475 gdb_file_cmd if no file is specified.
476 * boards/native-extended-gdbserver.exp (gdb_load): Use the
477 last_loaded_file to set the remote exec-file.
479 2014-05-01 Pedro Alves <palves@redhat.com>
481 * boards/local-remote-host.exp: New file.
483 2014-05-01 Pedro Alves <palves@redhat.com>
485 * boards/local-remote-host.exp: Rename to ...
486 * boards/local-remote-host-notty.exp: ... this.
488 2014-04-28 Joel Brobecker <brobecker@adacore.com>
490 * gdb.ada/dyn_arrayidx: New testcase.
492 2014-04-26 Yao Qi <yao@codesourcery.com>
494 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
495 and compute the length of function main. Save it in
497 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
498 (top-level): Use gdb_compile to compile objects into
499 executable and restart GDB. Remove invocation to
502 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
503 Pedro Alves <palves@redhat.com>
506 * gdb.multi/multi-attach.c: New file.
507 * gdb.multi/multi-attach.exp: New file.
509 2014-04-25 Pedro Alves <palves@redhat.com>
511 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
513 (top level): Test that "set remote conditional-breakpoints-packet
514 off" works as intended.
515 * gdb.base/dprintf.exp: Test that "set remote
516 breakpoint-commands-packet off" works as intended.
517 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
519 (top level): Call it.
520 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
521 remote fast-tracepoints-packet off" works as intended.
522 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
523 * lib/gdb.exp (gdb_is_target_remote): ... here.
525 2014-04-24 David Blaikie <dblaikie@gmail.com>
527 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
528 ensure clang would not discard them.
529 * gdb.base/gdbvars.c: Ditto.
530 * gdb.base/memattr.c: Ditto.
531 * gdb.base/whatis.c: Ditto.
532 * gdb.python/py-prettyprint.c: Ditto.
533 * gdb.trace/actions.c: Ditto.
534 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
535 ensure clang would not discard it.
537 2014-04-24 David Blaikie <dblaikie@gmail.com>
539 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
540 clang to emit the full definition of type required by the test
541 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
543 2014-04-24 David Blaikie <dblaikie@gmail.com>
545 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
546 coax Clang into emitting the definition of the type.
547 * gdb.cp/pr10728-x.h (y): Ditto.
548 * gdb.cp/pr10728-y.cc (y): Ditto.
550 2014-04-24 David Blaikie <dblaikie@gmail.com>
552 * gdb.base/label.exp: XFAIL label related tests under Clang.
553 * gdb.cp/cplabel.exp: Ditto.
554 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
555 under Clang those using labels.
557 2014-04-25 Yao Qi <yao@codesourcery.com>
559 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
561 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
562 partial_label and double_label.
564 2014-04-24 David Blaikie <dblaikie@gmail.com>
566 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
568 2014-04-24 David Blaikie <dblaikie@gmail.com>
570 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
571 of the function to work across GCC and Clang.
572 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
573 pointer types (const void ** const V void **).
575 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
576 Walfred Tedeschi <walfred.tedeschi@intel.com>
578 * Makefile.in (EXECUTABLES): Added i386-avx512.
579 * gdb.arch/i386-avx512.c: New file.
580 * gdb.arch/i386-avx512.exp: Likewise.
582 2014-04-23 Keith Seitz <keiths@redhat.com>
584 * lib/mi-support.exp (mi_list_breakpoints): Delete.
585 (mi_make_breakpoint_table): New procedure.
586 (mi_create_breakpoint): Use mi_make_breakpoint
587 and return the result.
588 (mi_make_breakpoint): New procedure.
589 (mi_build_kv_pairs): New procedure.
591 * gdb.mi/mi-break.exp: Remove unused globals,
592 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
594 * gdb.mi/mi-dprintf.exp: Use variable to track command
596 Update all callers of mi_create_breakpoint and use
597 mi_make_breakpoint_table.
598 Remove any unused global variables.
599 * gdb.mi/mi-nonstop.exp: Likewise.
600 * gdb.mi/mi-nsintrall.exp: Likewise.
601 * gdb.mi/mi-nsmoribund.exp: Likewise.
602 * gdb.mi/mi-nsthrexec.exp: Likewise.
603 * gdb.mi/mi-reverse.exp: Likewise.
604 * gdb.mi/mi-simplerun.exp: Likewise.
605 * gdb.mi/mi-stepn.exp: Likewise.
606 * gdb.mi/mi-syn-frame.exp: Likewise.
607 * gdb.mi/mi-until.exp: Likewise.
608 * gdb.mi/mi-var-cp.exp: Likewise.
609 * gdb.mi/mi-var-display.exp: Likewise.
610 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
611 * gdb.mi/mi2-var-child.exp: Likewise.
612 * gdb.mi/mi-vla-c99.exp: Likewise.
613 * lib/mi-support.exp: Likewise.
615 From Ian Lance Taylor <iant@cygnus.com>:
616 * lib/gdb.exp (parse_args): New procedure.
618 2014-04-23 Pedro Alves <palves@redhat.com>
620 * gdb.base/break-unload-file.c: New file.
621 * gdb.base/break-unload-file.exp: New file.
622 * gdb.base/sym-file-lib.c (baz): New function.
623 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
625 (load): Store the segment's mapped size.
626 (unload): New function.
627 (unload_shlib): New function.
628 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
629 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
630 set a breakpoint at baz, and call it.
631 * gdb.base/sym-file.exp: New tests for stale breakpoint
634 2014-04-23 Pedro Alves <palves@redhat.com>
636 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
637 * gdb.base/hbreak-in-shr-unsupported.c: New file.
638 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
639 * gdb.base/hbreak-unmapped.c: New file.
640 * gdb.base/hbreak-unmapped.exp: New file.
641 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
642 * lib/gdb.exp (gdb_is_target_remote): ... here.
644 2014-04-22 Pedro Alves <palves@redhat.com>
646 * gdb.base/consecutive-step-over.c: New file.
647 * gdb.base/consecutive-step-over.exp: New file.
649 2014-04-22 Pedro Alves <palves@redhat.com>
651 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
652 instead of send_gdb/gdb_expect.
654 2014-04-22 Yao Qi <yao@codesourcery.com>
656 * lib/trace-support.exp (generate_tracefile): New procedure.
657 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
659 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
660 if generate_tracefile returns 1.
662 2014-04-18 Tom Tromey <palves@redhat.com>
663 Pedro alves <tromey@redhat.com>
666 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
667 with a backtrace limit.
668 * gdb.python/py-frame-inline.exp: Test running to an inline
669 function with a backtrace limit, and printing the newest frame.
670 * gdb.python/py-frame-inline.c (main): Call f.
672 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
674 * gdb.java/jnpe.exp: Drop srcdir from untested path.
676 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
678 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
679 Drop prefix from unsupported source file path.
681 2014-04-17 Yao Qi <yao@codesourcery.com>
683 * lib/gdb.exp (with_target_charset): New proc.
684 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
686 (test_print_strings): Likewise.
687 (test_repeat_bytes): Likewise.
688 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
691 2014-04-16 Keith Seitz <keiths@redhat.com>
694 * gdb.dwarf2/corrupt.c: New file.
695 * gdb.dwarf2/corrupt.exp: New file.
697 2014-04-16 Keith Seitz <keiths@redhat.com>
700 * gdb.cp/namelessclass.cc: New file.
701 * gdb.cp/namelessclass.exp: New file.
702 * gdb.cp/namelessclass.S: New file.
704 2014-04-16 Doug Evans <dje@google.com>
706 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
708 (gdbserver_default_get_comm_port): New function.
709 (gdbserver_start): Check if board file provided
710 "gdbserver,get_comm_port" and use it if so.
711 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
712 (gdb,socketport): Set to "stdio".
713 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
714 (stdio_gdbserver_template): Delete.
715 (${board}_get_remote_address): Update.
716 (${board}_build_remote_cmd): Delete.
717 (${board}_get_comm_port): New function.
718 (${board}_spawn): Update.
719 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
721 (${board}_get_remote_address): Update.
722 (${board}_get_comm_port): New function.
724 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
726 * gdb.base/memattr.exp: Improve regexps to handle memory regions
727 appearing in any order.
729 2014-04-15 Doug Evans <dje@google.com>
731 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
732 uninitialized value of "description".
734 2014-04-15 Keith Seitz <keiths@redhat.com>
736 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
737 Remove unused globals.
738 (test_running_the_program): Likewise.
739 (test_controlled_execution): Likewise.
740 (test_controlling_breakpoints): Likewise.
741 (test_program_termination): Likewise.
743 2014-04-15 Keith Seitz <keiths@redhat.com>
745 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
747 (test_rbreak_creation_and_listing): Likewise.
748 (test_ignore_count): Likewise.
749 (test_error): Likewise.
751 2014-04-15 Pedro Alves <palves@redhat.com>
753 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
754 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
756 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
757 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
758 to sym-file-loader.c.
759 (struct library): Forward declare.
760 (load_shlib, lookup_function): Change prototypes.
761 (find_shstrtab, find_strtab, find_shdr, find_symtab)
762 (translate_offset): Remove declarations.
763 (get_text_addr): New declaration.
764 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
765 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
767 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
768 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
769 here from sym-file-loader.h.
770 (struct library): New structure.
771 (load_shlib, lookup_function): Change prototypes and adjust to
772 work with a struct library.
773 (find_shstrtab, find_strtab, find_shdr, find_symtab)
774 (translate_offset): Make static.
775 (get_text_addr): New function.
776 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
778 2014-04-15 Pedro Alves <palves@redhat.com>
780 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
782 2014-04-15 Pedro Alves <palves@redhat.com>
784 * gdb.base/sym-file-loader.c: Include <limits.h>.
785 (SELF_LINK): New define.
786 (get_origin): New function.
787 (load_shlib): Use it.
788 * gdb.base/sym-file.exp: Don't early return if the target is
789 remote. Use runto_main, and issue fail is that fails. Use
791 (shlib_name): Delete.
792 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
794 2014-04-15 Pedro Alves <palves@redhat.com>
796 * gdb.base/sym-file.exp: Remove regex characters from test
797 message. Don't refer to breakpoint numbers in test messages.
799 2014-04-14 Keith Seitz <keiths@redhat.com>
802 * gdb.cp/var-tag.cc: New file.
803 * gdb.cp/var-tag.exp: New file.
804 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
805 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
806 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
807 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
809 2014-04-14 Tom Tromey <tromey@redhat.com>
811 * gdb.cp/classes.exp (test_enums): Handle underlying type.
812 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
814 * gdb.cp/enum-class.exp: New file.
815 * gdb.cp/enum-class.cc: New file.
817 2014-04-14 Tom Tromey <tromey@redhat.com>
819 * gdb.dwarf2/enum-type.exp: New file.
821 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
823 * gdb.mi/mi-vla-c99.exp: New file.
824 * gdb.mi/vla.c: New file.
826 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
828 * gdb.base/vla-datatypes.c: New file.
829 * gdb.base/vla-datatypes.exp: New file.
831 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
833 * gdb.base/vla-ptr.c: New file.
834 * gdb.base/vla-ptr.exp: New file.
836 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
838 * gdb.dwarf2/count.exp: New file.
840 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
842 * gdb.base/vla-sideeffect.c: New file.
843 * gdb.base/vla-sideeffect.exp: New file.
845 2014-04-14 David Blaikie <dblaikie@gmail.com>
847 * gdb.mi/non-stop.c: Add return value for non-void function return
849 * gdb.threads/staticthreads.c: Ditto.
851 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
852 Doug Evans <xdje42@gmail.com>
854 * gdb.guile/scm-value.c: Improve test case.
855 * gdb.guile/scm-value.exp: Add new test.
857 2014-04-11 David Blaikie <dblaikie@gmail.com>
859 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
860 override Clang's default.
862 2014-04-11 Joel Brobecker <brobecker@adacore.com>
864 Revert the following changes (regressions):
866 * gdb.base/vla-sideeffect.c: New file.
867 * gdb.base/vla-sideeffect.exp: New file.
869 * gdb.dwarf2/count.exp: New file.
871 * gdb.base/vla-multi.c: New file.
872 * gdb.base/vla-multi.exp: New file.
874 * gdb.base/vla-ptr.c: New file.
875 * gdb.base/vla-ptr.exp: New file.
877 * gdb.base/vla-datatypes.c: New file.
878 * gdb.base/vla-datatypes.exp: New file.
880 * gdb.mi/mi-vla-c99.exp: New file.
881 * gdb.mi/vla.c: New file.
883 2014-04-11 Keith Seitz <keiths@redhat.com>
886 * gdb.cp/cpsizeof.exp: New file.
887 * gdb.cp/cpsizeof.cc: New file.
889 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
891 * gdb.mi/mi-vla-c99.exp: New file.
892 * gdb.mi/vla.c: New file.
894 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
896 * gdb.base/vla-datatypes.c: New file.
897 * gdb.base/vla-datatypes.exp: New file.
899 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
901 * gdb.base/vla-ptr.c: New file.
902 * gdb.base/vla-ptr.exp: New file.
904 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
906 * gdb.base/vla-multi.c: New file.
907 * gdb.base/vla-multi.exp: New file.
909 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
911 * gdb.dwarf2/count.exp: New file.
913 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
915 * gdb.base/vla-sideeffect.c: New file.
916 * gdb.base/vla-sideeffect.exp: New file.
918 2014-04-11 Yao Qi <yao@codesourcery.com>
920 * gdb.base/completion.exp: Check file exists before running tests
923 2014-04-10 Pedro Alves <palves@redhat.com>
925 * gdb.base/cond-eval-mode.c: New file.
926 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
927 prepare_for_testing to build the new file. Check result of
929 (test_break, test_watch): New procedures.
930 (top level): Use them.
932 2014-04-08 Pierre Muller <muller@sourceware.org>
934 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
935 Ctrl-V use for mingw hosts.
937 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
939 * gdb.python/py-value.c: Improve test case.
940 * gdb.python/py-value.exp: Add new test.
942 2014-04-07 David Blaikie <dblaikie@gmail.com>
944 * lib/compiler.c: Identify the clang compiler.
945 * lib/compiler.cc: Ditto.
947 2014-04-03 Yao Qi <yao@codesourcery.com>
949 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
951 2014-04-01 Anton Blanchard <anton@samba.org>
953 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
956 2014-04-01 Anton Blanchard <anton@samba.org>
958 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
961 2014-04-01 Anton Blanchard <anton@samba.org>
963 * gdb.arch/ppc64-atomic-inst.c: Remove.
964 * gdb.arch/ppc64-atomic-inst.S: New file.
965 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
967 2014-03-31 Doug Evans <dje@google.com>
969 * gdb.base/print-symbol-loading-lib.c: New file.
970 * gdb.base/print-symbol-loading-main.c: New file.
971 * gdb.base/print-symbol-loading.exp: New file.
973 2014-03-31 Yao Qi <yao@codesourcery.com>
975 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
977 2014-03-28 Joel Brobecker <brobecker@adacore.com>
979 * gdb.ada/mi_dyn_arr: New testcase.
981 2014-03-27 Doug Evans <dje@google.com>
983 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
985 2014-03-27 Yao Qi <yao@codesourcery.com>
987 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
988 if target is nios2-*-*.
990 2014-03-26 Yao Qi <yao@codesourcery.com>
992 * lib/gdb.exp (readline_is_used): New proc.
993 * gdb.base/completion.exp: Move tests on command complete up.
994 Skip the rest of tests if readline is not used.
995 * gdb.ada/complete.exp: Skp the test if readline is not
997 * gdb.base/filesym.exp: Likewise.
998 * gdb.base/macscp.exp: Likewise.
999 * gdb.base/readline-ask.exp: Likewise.
1000 * gdb.base/readline.exp: Likewise.
1001 * gdb.python/py-cmd.exp: Likewise.
1002 * gdb.trace/tfile.exp: Likewise.
1004 2014-03-26 Yao Qi <yao@codesourcery.com>
1006 * gdb.base/macscp.exp: Fix code format issues.
1008 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1010 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1011 * gdb.asm/powerpc64le.inc: New file.
1013 2014-03-25 Pedro Alves <palves@redhat.com>
1014 Doug Evans <dje@google.com>
1016 * gdb.base/source-execution.c: New file.
1017 * gdb.base/source-execution.exp: New file.
1018 * gdb.base/source-execution.gdb: New file.
1020 2014-03-24 Doug Evans <dje@google.com>
1022 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1025 2014-03-24 Hui Zhu <hui@codesourcery.com>
1026 Pedro Alves <palves@redhat.com>
1028 PR breakpoints/16101
1029 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1030 test pass/fail messages. Detect missing support for dprintf when
1031 breakpoints are actually inserted.
1032 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1033 breakpoints are actually inserted.
1034 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1037 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1039 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1041 2014-03-22 Doug Evans <xdje42@gmail.com>
1043 * gdb.python/python.exp (python not supported): Verify multi-line
1044 python command issues an error.
1045 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1046 guile command issues an error.
1048 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1050 * gdb.threads/thread-specific.exp: Handle the lack of usable
1051 $this_breakpoint and $this_thread.
1053 2014-03-21 Hui Zhu <hui@codesourcery.com>
1055 * gdb.base/attach.exp (do_command_attach_tests): New.
1057 2014-03-20 Tom Tromey <tromey@redhat.com>
1058 Pedro Alves <palves@redhat.com>
1061 * gdb.base/condbreak-call-false.c: New file.
1062 * gdb.base/condbreak-call-false.exp: New file.
1064 2014-03-20 Pedro Alves <palves@redhat.com>
1066 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1068 (block_signals, unblock_signals): Delete.
1069 (child_function_2, main): Remove references to deleted variable
1072 2014-03-20 Pedro Alves <palves@redhat.com>
1074 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1075 Use pthread_kill to signal thread 2.
1076 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1077 Adjust to make the test send itself a signal rather than using the
1078 host's "kill" command.
1080 2014-03-20 Pedro Alves <palves@redhat.com>
1082 * gdb.threads/multiple-step-overs.c: New file.
1083 * gdb.threads/multiple-step-overs.exp: New file.
1084 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1085 Adjust expected infrun debug output.
1087 2014-03-20 Pedro Alves <palves@redhat.com>
1089 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1090 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1092 2014-03-20 Pedro Alves <palves@redhat.com>
1095 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1096 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1097 of gdb_test_multiple.
1098 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1099 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1101 2014-03-20 Pedro Alves <palves@redhat.com>
1103 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1104 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1106 2014-03-19 Pedro Alves <palves@redhat.com>
1108 * gdb.base/async.exp: Remove early return.
1110 2014-03-19 Pedro Alves <palves@redhat.com>
1112 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1114 2014-03-19 Pedro Alves <palves@redhat.com>
1116 * gdb.base/async.exp (test_background): Expect \r\n after
1117 "completed." in the fail pattern.
1119 2014-03-19 Pedro Alves <palves@redhat.com>
1121 * gdb.base/async.exp (test_background): New procedure.
1122 Use it for all background execution command tests.
1124 2014-03-19 Pedro Alves <palves@redhat.com>
1126 * gdb.base/async.exp: Use prepare_for_testing.
1128 2014-03-19 Pedro Alves <palves@redhat.com>
1130 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1133 2014-03-19 Pedro Alves <palves@redhat.com>
1135 * gdb.base/async.c (main): Add "jump here" and "until here" line
1137 * gdb.base/async.exp (jump_here): New global.
1138 (jump& test): Use it.
1139 (until_here): New global.
1140 (until& test): Use it.
1142 2014-03-19 Pedro Alves <palves@redhat.com>
1144 * gdb.base/async.exp: Don't frob gdb_protocol.
1146 2014-03-18 Doug Evans <xdje42@gmail.com>
1148 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1149 Fix spelling of exec-done-display.
1151 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1154 * gdb.base/gdb-sigterm.c: New file.
1155 * gdb.base/gdb-sigterm.exp: New file.
1157 2014-03-18 Pedro Alves <palves@redhat.com>
1160 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1161 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1164 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1166 * gdb.ada/pckd_arr_ren: New testcase.
1168 2014-03-13 Doug Evans <xdje42@gmail.com>
1171 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1172 collect after discarding symbols.
1174 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1175 Doug Evans <xdje42@gmail.com>
1177 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1178 to history survives a gc.
1180 2014-03-13 Pedro Alves <palves@redhat.com>
1182 * gdb.base/default.exp: Don't test "target procfs".
1184 2014-03-13 Pedro Alves <palves@redhat.com>
1186 * gdb.base/default.exp: Update "target child" and "target procfs"
1187 tests to not expect "Unix".
1189 2014-03-12 Tom Tromey <tromey@redhat.com>
1191 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1192 New procs. Add target-async tests.
1193 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1194 Add target-async tests.
1196 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1198 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1199 'func_start' and 'func_end' for the beginning and end of the
1200 function code, respectively.
1201 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1202 'func_end' instead of 'func' and 'main'.
1204 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1206 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1207 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1208 generate the debug info assembler source.
1210 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1212 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1213 * gdb.dwarf2/arr-subrange.exp: Likewise.
1214 * gdb.dwarf2/dwz.exp: Likewise.
1215 * gdb.dwarf2/method-ptr.exp: Likewise.
1216 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1217 * gdb.dwarf2/subrange.exp: Likewise.
1218 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1219 * gdb.dwarf2/implptrpiece.exp: Likewise.
1220 * gdb.dwarf2/nostaticblock.exp: Likewise.
1222 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1224 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1225 directory to absolute path name arguments.
1227 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1229 * gdb.ada/tagged_access: New testcase.
1231 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1233 * gdb.btrace/data.exp: Update expected output.
1235 2014-03-06 Yao Qi <yao@codesourcery.com>
1237 * gdb.trace/pr16508.exp: New file.
1239 2014-03-05 Pedro Alves <palves@redhat.com>
1242 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1244 (top level): Adjust to use it. Add tests that exercise breakpoint
1245 interaction with the code-cache.
1247 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1249 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1250 test for 'history-append!'.
1252 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1254 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1255 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1256 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1257 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1258 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1259 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1261 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1263 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1264 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1265 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1267 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1269 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1271 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1273 * gdb.dwarf2/arr-stride.c: New file.
1274 * gdb.dwarf2/arr-stride.exp: New file.
1276 2014-02-26 Pedro Alves <palves@redhat.com>
1278 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1279 that won't ever trigger. Make sure that GDB reports the correct
1280 breakpoint that caused the stop.
1282 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1285 * gdb.base/auto-load-script: New file.
1286 * gdb.base/auto-load.c: New file.
1287 * gdb.base/auto-load.exp: New file.
1290 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1292 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1294 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1295 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1297 2014-02-24 Doug Evans <dje@google.com>
1299 * lib/gdb.exp (run_on_host): Log error output if program fails.
1301 2014-02-21 Pedro Alves <palves@redhat.com>
1303 * gdb.threads/step-after-sr-lock.c: Rename to ...
1304 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1305 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1306 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1309 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1312 * gdb.arch/amd64-stap-special-operands.exp: New file.
1313 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1314 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1315 * gdb.arch/amd64-stap-triplet.S: Likewise.
1316 * gdb.arch/amd64-stap-triplet.c: Likewise.
1318 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1320 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1321 in .section pseudo-op.
1323 2014-02-20 lin zuojian <manjian2006@gmail.com>
1324 Joel Brobecker <brobecker@adacore.com>
1325 Doug Evans <xdje42@gmail.com>
1328 * gdb.dwarf2/dw2-icycle.S: New file.
1329 * gdb.dwarf2/dw2-icycle.c: New file.
1330 * gdb.dwarf2/dw2-icycle.exp: New file.
1332 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1334 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1335 operations on gdb.Value objects.
1336 * gdb.python/py-value-cc.exp: Add new test to test operations on
1339 2014-02-18 Doug Evans <dje@google.com>
1341 * Makefile.in (TESTS): New variable.
1342 (expanded_tests, expanded_tests_or_none): New variables
1343 (check-single): Pass $(expanded_tests_or_none) to runtest.
1344 (check-parallel): Only run tests in $(TESTS) if non-empty.
1345 (check/no-matching-tests-found): New rule.
1346 * README: Document TESTS makefile variable.
1348 2014-02-18 Doug Evans <dje@google.com>
1350 * Makefile.in (check-parallel): rm -rf outputs temp.
1352 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1354 Fix "ERROR: no fileid for" in the testsuite.
1355 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1357 2014-02-12 Doug Evans <dje@google.com>
1359 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1360 (MISCELLANEOUS): New variable.
1361 (clean): rm -rf $(MISCELLANEOUS).
1362 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1363 dwp live in the same directory as symlinks, with each symlink pointed
1364 to a differently named file in a different directory.
1366 2014-02-11 Doug Evans <dje@google.com>
1368 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1369 of Tcl file commands.
1371 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1373 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1376 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1378 * gdb.ada/tick_length_array_enum_idx: New testcase.
1380 2014-02-10 Doug Evans <xdje42@gmail.com>
1382 * configure.ac (AC_OUTPUT): Add gdb.guile.
1383 * configure: Regenerate.
1384 * lib/gdb-guile.exp: New file.
1385 * lib/gdb.exp (get_target_charset): New function.
1386 * gdb.base/help.exp: Update expected output from "apropos apropos".
1387 * gdb.guile/Makefile.in: New file.
1388 * gdb.guile/guile.exp: New file.
1389 * gdb.guile/scm-arch.c: New file.
1390 * gdb.guile/scm-arch.exp: New file.
1391 * gdb.guile/scm-block.c: New file.
1392 * gdb.guile/scm-block.exp: New file.
1393 * gdb.guile/scm-breakpoint.c: New file.
1394 * gdb.guile/scm-breakpoint.exp: New file.
1395 * gdb.guile/scm-disasm.c: New file.
1396 * gdb.guile/scm-disasm.exp: New file.
1397 * gdb.guile/scm-equal.c: New file.
1398 * gdb.guile/scm-equal.exp: New file.
1399 * gdb.guile/scm-error.exp: New file.
1400 * gdb.guile/scm-error.scm: New file.
1401 * gdb.guile/scm-frame-args.c: New file.
1402 * gdb.guile/scm-frame-args.exp: New file.
1403 * gdb.guile/scm-frame-args.scm: New file.
1404 * gdb.guile/scm-frame-inline.c: New file.
1405 * gdb.guile/scm-frame-inline.exp: New file.
1406 * gdb.guile/scm-frame.c: New file.
1407 * gdb.guile/scm-frame.exp: New file.
1408 * gdb.guile/scm-generics.exp: New file.
1409 * gdb.guile/scm-gsmob.exp: New file.
1410 * gdb.guile/scm-iterator.c: New file.
1411 * gdb.guile/scm-iterator.exp: New file.
1412 * gdb.guile/scm-math.c: New file.
1413 * gdb.guile/scm-math.exp: New file.
1414 * gdb.guile/scm-objfile-script-gdb.in: New file.
1415 * gdb.guile/scm-objfile-script.c: New file.
1416 * gdb.guile/scm-objfile-script.exp: New file.
1417 * gdb.guile/scm-objfile.c: New file.
1418 * gdb.guile/scm-objfile.exp: New file.
1419 * gdb.guile/scm-ports.exp: New file.
1420 * gdb.guile/scm-pretty-print.c: New file.
1421 * gdb.guile/scm-pretty-print.exp: New file.
1422 * gdb.guile/scm-pretty-print.scm: New file.
1423 * gdb.guile/scm-section-script.c: New file.
1424 * gdb.guile/scm-section-script.exp: New file.
1425 * gdb.guile/scm-section-script.scm: New file.
1426 * gdb.guile/scm-symbol.c: New file.
1427 * gdb.guile/scm-symbol.exp: New file.
1428 * gdb.guile/scm-symtab-2.c: New file.
1429 * gdb.guile/scm-symtab.c: New file.
1430 * gdb.guile/scm-symtab.exp: New file.
1431 * gdb.guile/scm-type.c: New file.
1432 * gdb.guile/scm-type.exp: New file.
1433 * gdb.guile/scm-value-cc.cc: New file.
1434 * gdb.guile/scm-value-cc.exp: New file.
1435 * gdb.guile/scm-value.c: New file.
1436 * gdb.guile/scm-value.exp: New file.
1437 * gdb.guile/source2.scm: New file.
1438 * gdb.guile/types-module.cc: New file.
1439 * gdb.guile/types-module.exp: New file.
1441 2014-02-10 Yao Qi <yao@codesourcery.com>
1444 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1445 * configure: Regenerated.
1446 * Makefile.in: New file.
1448 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1450 * gdb.python/py-framefilter.exp: Fix typo.
1452 2014-02-08 Yao Qi <yao@codesourcery.com>
1454 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1455 that no =breakpoint-modified is emitted when breakpoints are
1456 modified through MI commands.
1458 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1459 Pedro Alves <palves@redhat.com>
1461 * gdb.threads/step-after-sr-lock.c: New file.
1462 * gdb.threads/step-after-sr-lock.exp: New file.
1464 2014-02-07 Pedro Alves <palves@redhat.com>
1466 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1468 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1470 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1471 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1473 2014-02-06 Doug Evans <xdje42@gmail.com>
1475 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1478 * gdb.gdb/python-interrupts.exp: New file.
1480 2014-02-05 Yao Qi <yao@codesourcery.com>
1482 * gdb.trace/report.exp (use_collected_data): Test the output
1483 of "info threads" and "info inferiors".
1485 2014-02-05 Yao Qi <yao@codesourcery.com>
1489 2013-05-24 Yao Qi <yao@codesourcery.com>
1491 * gdb.trace/tfile.exp: Test inferior and thread.
1493 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1495 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1497 * gdb.base/step-bt.c: Call hello via function pointer to make
1498 sure its first instruction is executed on powerpc64le-linux.
1500 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1502 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1504 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1506 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1507 of the test patterns for use on little-endian systems.
1509 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1511 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1512 (decimal_vector): Fix for little-endian.
1514 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1516 * gdb.arch/sparc-sysstep.exp: New file.
1517 * gdb.arch/sparc-sysstep.c: Likewise.
1519 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1521 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1523 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1525 2014-01-23 Tom Tromey <tromey@redhat.com>
1527 * gdb.ada/array_char_idx: New testcase.
1529 2014-01-23 Tom Tromey <tromey@redhat.com>
1532 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1533 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1536 2014-01-23 Tom Tromey <tromey@redhat.com>
1539 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1540 string from an inferior frame.
1541 * gdb.python/py-framefilter-mi.exp: Update.
1543 2014-01-22 Doug Evans <dje@google.com>
1545 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1547 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1549 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1551 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1553 * gdb.trace/entry-values.exp: Remove excess space character from
1554 regex patterns. Handle s390 call instruction.
1556 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1558 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1559 define "*_start" label. Make "name" static.
1560 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1561 ${name} by references to ${name}_start.
1563 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1565 * gdb.base/info-macros.exp: Remove "debug" from the compile
1568 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1570 * gdb.dlang/demangle.exp: New file.
1572 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1574 * gdb.dlang/primitive-types.exp: New file.
1576 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1578 * configure.ac: Create gdb.dlang/Makefile.
1579 * configure: Regenerate.
1580 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1581 * gdb.dlang/Makefile.in: New file.
1582 * lib/d-support.exp: New file.
1583 * lib/gdb.exp (skip_d_tests): New proc.
1585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1587 * gdb.btrace/delta.exp: Check reverse stepi.
1588 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1589 * gdb.btrace/finish.exp: New.
1590 * gdb.btrace/next.exp: New.
1591 * gdb.btrace/nexti.exp: New.
1592 * gdb.btrace/record_goto.c: Add comments.
1593 * gdb.btrace/step.exp: New.
1594 * gdb.btrace/stepi.exp: New.
1595 * gdb.btrace/multi-thread-step.c: New.
1596 * gdb.btrace/multi-thread-step.exp: New.
1597 * gdb.btrace/rn-dl-bind.c: New.
1598 * gdb.btrace/rn-dl-bind.exp: New.
1599 * gdb.btrace/data.c: New.
1600 * gdb.btrace/data.exp: New.
1601 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1603 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1605 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1606 * gdb.btrace/exception.exp: Update.
1607 * gdb.btrace/instruction_history.exp: Update.
1608 * gdb.btrace/record_goto.exp: Update.
1609 * gdb.btrace/tailcall.exp: Update.
1610 * gdb.btrace/unknown_functions.exp: Update.
1611 * gdb.btrace/delta.exp: New.
1613 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1615 * gdb.btrace/record_goto.exp: Add backtrace test.
1616 * gdb.btrace/tailcall.exp: Add backtrace test.
1618 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1620 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1621 * gdb.btrace/record_goto.c: New.
1622 * gdb.btrace/record_goto.exp: New.
1623 * gdb.btrace/x86-record_goto.S: New.
1625 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1627 * gdb.btrace/function_call_history.exp: Update tests.
1628 * gdb.btrace/instruction_history.exp: Update tests.
1630 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1632 * gdb.btrace/function_call_history.exp: Fix expected field
1633 order for "record function-call-history".
1634 Add new tests for "record function-call-history /c".
1635 * gdb.btrace/exception.cc: New.
1636 * gdb.btrace/exception.exp: New.
1637 * gdb.btrace/tailcall.exp: New.
1638 * gdb.btrace/x86-tailcall.S: New.
1639 * gdb.btrace/x86-tailcall.c: New.
1640 * gdb.btrace/unknown_functions.c: New.
1641 * gdb.btrace/unknown_functions.exp: New.
1642 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1644 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1646 * gdb.btrace/instruction_history.exp: Update.
1647 * gdb.btrace/function_call_history.exp: Update.
1649 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1651 * gdb.btrace/function_call_history.exp: Fix expected function
1653 * gdb.btrace/instruction_history.exp: Initialize traced.
1654 Remove traced_functions.
1656 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1658 * gdb.btrace/function_call_history.exp: Update
1659 * gdb.btrace/instruction_history.exp: Update.
1661 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1663 * gdb.btrace/enable.exp: Update expected text.
1665 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1667 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1670 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1672 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1674 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1676 * lib/gdb.exp (supports_process_record): Return true for
1677 arm*-linux*. (supports_reverse): Likewise.
1679 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1683 * gdb.python/py-type.c: Enhance test case.
1684 * gdb.python/py-value-cc.cc: Likewise
1685 * gdb.python/py-type.exp: Add new tests.
1686 * gdb.python/py-value-cc.exp: Likewise
1688 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1689 Pedro Alves <palves@redhat.com>
1691 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1693 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1694 references to ${name}_start by references to ${name}.
1696 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1698 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1700 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1702 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1704 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1705 Pedro Alves <palves@redhat.com>
1707 * gdb.mi/mi-info-os.exp: Connect to the target with
1710 2014-01-08 Pedro Alves <palves@redhat.com>
1712 * gdb.threads/reconnect-signal.c: New file.
1713 * gdb.threads/reconnect-signal.exp: New file.
1715 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1717 * gdb.base/source-dir.exp: New file.
1719 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1721 * gdb.ada/mi_interface: New testcase.
1723 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1725 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1726 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1727 gdb.ada/pp-rec-component/pck.ads: New files.
1729 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1731 * gdb.python/py-pp-integral.c: New file.
1732 * gdb.python/py-pp-integral.py: New file.
1733 * gdb.python/py-pp-integral.exp: New file.
1735 For older changes see ChangeLog-1993-2013.
1741 ;; version-control: never
1744 Copyright 2014 Free Software Foundation, Inc.
1745 Copying and distribution of this file, with or without modification,
1746 are permitted provided the copyright notice and this notice are preserved.