1 2014-06-06 Doug Evans <dje@google.com>
3 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
5 2014-06-06 Pedro Alves <palves@redhat.com>
7 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
8 in target debug output instead of looking at RSP packets,
9 disabling the test on any target that uses hardware stepping.
12 2014-06-06 Pedro Alves <palves@redhat.com>
14 * gdb.base/break-unload-file.exp: Fix typo.
16 2014-06-06 Yao Qi <yao@codesourcery.com>
18 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
19 from "jit_function" to "^jit_function".
21 2014-06-06 Yao Qi <yao@codesourcery.com>
23 * gdb.base/async.c (foo): Add one statement.
24 * gdb.base/async.exp: Get the next instruction address and
25 match the output of "nexti" by instruction address. Match
26 the hex address in the output of "finish".
28 2014-06-06 Gary Benson <gbenson@redhat.com>
30 * gdb.base/call-signals.c: Remove preprocessor conditionals
31 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
33 * gdb.base/sigall.c: Likewise.
34 * gdb.base/unwindonsignal.c: Likewise.
35 * gdb.reverse/sigall-reverse.c: Likewise.
37 2014-06-06 Yao Qi <yao@codesourcery.com>
39 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
40 readable, skip the test.
42 2014-06-06 Yao Qi <yao@codesourcery.com>
44 * gdb.threads/staticthreads.c (thread_function): Move the line
45 setting breakpoint on forward.
46 * gdb.threads/staticthreads.exp: Update comments.
48 2014-06-05 Ludovic Courtès <ludo@gnu.org>
50 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
51 "history-append! type error".
53 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
55 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
56 erroneous dprintf expected input.
58 2014-06-04 Doug Evans <xdje42@gmail.com>
60 * gdb.guile/scm-generics.exp: Delete.
62 2014-06-04 Doug Evans <xdje42@gmail.com>
64 * gdb.guile/scm-breakpoint.exp: Update.
65 Add tests for breakpoint registration.
67 2014-06-04 Tom Tromey <tromey@redhat.com>
69 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
71 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
72 inner_vla_struct, vla_union types. Initialize objects of those
73 types and compute their sizes.
75 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
76 Hui Zhu <hui@codesourcery.com>
78 * gdb.base/fileio.exp: Add test for shell not available as well as
80 * gdb.base/fileio.c (test_system): Check for shell twice.
82 2014-06-04 Yao Qi <yao@codesourcery.com>
84 * gdb.base/auto-connect-native-target.exp: Remove redundant
85 space from the regexp pattern.
87 2014-06-04 Yao Qi <yao@codesourcery.com>
89 * gdb.base/default.exp: Replace "child" with "native" in
92 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
94 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
95 * gdb.python/py-xmethods.exp: New tests to test xmethods.
96 * gdb.python/py-xmethods.py: Python script supporting the
97 new testcase and tests.
99 2014-06-03 Joel Brobecker <brobecker@adacore.com>
100 Pedro Alves <palves@redhat.com>
103 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
104 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
106 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
108 * gdb.base/subst.exp: Add tests to verify partial path matching
111 2014-06-03 Pedro Alves <palves@redhat.com>
113 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
114 target that doesn't use software single-stepping.
116 2014-06-03 Pedro Alves <palves@redhat.com>
119 * gdb.base/sss-bp-on-user-bp-2.c: New file.
120 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
122 2014-06-02 Doug Evans <xdje42@gmail.com>
124 * gdb.guile/scm-parameter.exp: New file.
126 2014-06-02 Doug Evans <xdje42@gmail.com>
128 * gdb.guile/scm-cmd.c: New file.
129 * gdb.guile/scm-cmd.exp: New file.
131 2014-06-02 Doug Evans <xdje42@gmail.com>
133 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
134 pretty-printer lookup.
135 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
136 (make-pp_s-printer): Call it.
137 (make-pretty-printer-from-dict): New function.
138 (lookup-pretty-printer-maker-from-dict): New function.
139 (*pretty-printer*): Simplify.
140 (make-objfile-pp_s-printer): New function.
141 (install-objfile-pretty-printers!): New function.
142 (make-progspace-pp_s-printer): New function.
143 (install-progspace-pretty-printers!): New function.
144 * gdb.guile/scm-progspace.c: New file.
145 * gdb.guile/scm-progspace.exp: New file.
147 2014-06-02 Pedro Alves <palves@redhat.com>
149 * gdb.base/dprintf-bp-same-addr.c: New file.
150 * gdb.base/dprintf-bp-same-addr.exp: New file.
152 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
154 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
155 * gdb.arch/powerpc-power.s: Likewise.
157 2014-06-02 Joel Brobecker <brobecker@adacore.com>
159 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
161 2014-06-01 Yao Qi <yao@codesourcery.com>
163 * gdb.base/watchpoint.exp (test_watch_location): Check null
164 pointer can be dereferenced. If not, do the test, otherwise
167 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
169 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
171 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
173 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
175 * gdb.arch/amd64-invalid-stack-middle.S: New file.
176 * gdb.arch/amd64-invalid-stack-middle.c: New file.
177 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
178 * gdb.arch/amd64-invalid-stack-top.c: New file.
179 * gdb.arch/amd64-invalid-stack-top.exp: New file.
181 2014-05-30 Pedro Alves <palves@redhat.com>
184 * gdb.base/sss-bp-on-user-bp.c: New file.
185 * gdb.base/sss-bp-on-user-bp.exp: New file.
187 2014-05-30 David Blaikie <dblaikie@gmail.com>
189 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
190 gnu_inline semantics via attribute.
191 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
192 source explicitly specifies the required semantics.
194 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
196 * gdb.reverse/sigall-reverse.exp: Fix a typo.
198 2014-05-29 Pedro Alves <palves@redhat.com>
199 Tom Tromey <tromey@redhat.com>
201 * gdb.base/async-shell.exp: Don't enable target-async.
203 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
205 (top level): Don't test with "target-async".
206 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
207 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
208 * gdb.base/inferior-died.exp: Don't enable target-async.
209 * gdb.base/interrupt-noterm.exp: Likewise.
210 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
211 * gdb.mi/mi-nonstop-exit.exp: Likewise.
212 * gdb.mi/mi-nonstop.exp: Likewise.
213 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
214 * gdb.mi/mi-nsintrall.exp: Likewise.
215 * gdb.mi/mi-nsmoribund.exp: Likewise.
216 * gdb.mi/mi-nsthrexec.exp: Likewise.
217 * gdb.mi/mi-watch-nonstop.exp: Likewise.
218 * gdb.multi/watchpoint-multi.exp: Adjust comment.
219 * gdb.python/py-evsignal.exp: Don't enable target-async.
220 * gdb.python/py-evthreads.exp: Likewise.
221 * gdb.python/py-prompt.exp: Likewise.
222 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
223 * gdb.server/solib-list.exp: Don't enable target-async.
224 * gdb.threads/thread-specific-bp.exp: Likewise.
225 * lib/mi-support.exp: Adjust to use mi-async.
227 2014-05-29 Pedro Alves <palves@redhat.com>
230 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
231 reason, even in sync mode.
233 2014-05-29 Pedro Alves <palves@redhat.com>
234 Hui Zhu <hui@codesourcery.com>
237 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
238 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
239 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
240 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
242 2014-05-28 Joel Brobecker <brobecker@adacore.com>
244 * config/monitor.exp (gdb_target_monitor): Replace use of
245 "set remotebaud" by "set serial baud".
247 2014-05-26 Andy Wingo <wingo@igalia.com>
249 * gdb.guile/scm-breakpoint.exp:
250 * gdb.guile/scm-gsmob.exp: Update to use plain old object
251 properties instead of gdb-object-properties.
253 2014-05-26 Yao Qi <yao@codesourcery.com>
255 * gdb.server/no-thread-db.exp: Specify source file name
256 explicitly when setting a breakpoint.
258 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
260 * gdb.btrace/vdso.c: New.
261 * gdb.btrace/vdso.exp: New.
263 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
265 * gdb.base/gcore.exp (capture_command_output): Move ...
266 * lib/gdb.exp (capture_command_output): ... here.
268 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
270 * gdb.btrace/data.exp: Test memory access during btrace replay.
272 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
274 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
276 2014-05-21 Pedro Alves <palves@redhat.com>
279 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
280 (top level): Test that output related to execution commands is
281 sent to the console with CLI commands, but not with MI commands.
282 Test that breakpoint events are always mirrored to the console.
283 Also expect the new source line to be output after a "next" in
284 async mode too. Make it a pass/fail test.
285 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
287 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
289 2014-05-21 Pedro Alves <palves@redhat.com>
291 * gdb.base/list.exp (build_pattern, test_list): New procedures.
292 Use them to test variations of "list" after reaching a breakpoint.
293 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
294 Test "list" with listsize 10 after reaching a breakpoint.
295 * gdb.python/python.exp (decode_line current location line
296 number): Adjust expected line number.
298 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
300 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
301 behavior for $args, pass it directly to "run".
303 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
305 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
308 2014-05-21 Pedro Alves <palves@redhat.com>
310 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
311 auto-connect-native-target off".
312 * gdb.base/auto-connect-native-target.c: New file.
313 * gdb.base/auto-connect-native-target.exp: New file.
315 2014-05-21 Pedro Alves <palves@redhat.com>
317 * gdb.base/default.exp: Test "target native" instead of "target
320 2014-05-21 Mark Wielaard <mjw@redhat.com>
322 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
324 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
326 Fix TLS access for -static -pthread.
327 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
328 <HAVE_TLS> (thread_function, main): Initialize it.
329 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
331 <$have_tls != "">: Check TLSVAR.
333 2014-05-21 Pedro Alves <palves@redhat.com>
335 * gdb.base/dcache-line-read-error.c: New.
336 * gdb.base/dcache-line-read-error.exp: New.
338 2014-05-20 Pedro Alves <palves@redhat.com>
340 * gdb.base/compare-sections.c: New file.
341 * gdb.base/compare-sections.exp: New file.
343 2014-05-20 Pedro Alves <palves@redhat.com>
345 * gdb.base/break-idempotent.c: New file.
346 * gdb.base/break-idempotent.exp: New file.
348 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
350 * gdb.btrace/nohist.exp: New.
352 2014-05-20 Yao Qi <yao@codesourcery.com>
354 * lib/gdb.exp (gdb_init): Set timeout if test file is under
355 gdb.reverse directory and gdb_reverse_timeout exists in board
357 * README: Document gdb_reverse_timeout.
359 2014-05-20 Yao Qi <yao@codesourcery.com>
361 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
362 'test_file_name'. Treat args as a string instead of a list.
363 (gdb_init): Rename argument 'args' by 'test_file_name'.
365 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
367 * gdb.arch/powerpc-power.exp: New file.
368 * gdb.arch/powerpc-power.s: New file.
370 2014-05-16 Doug Evans <dje@google.com>
372 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
373 * gdb.base/completion.exp: Check that all expected files exist
374 before doing file completion.
376 2014-05-16 Doug Evans <dje@google.com>
378 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
380 (do_syscall_tests_without_xml): Update.
382 2014-05-16 Pedro Alves <palves@redhat.com>
384 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
385 instead of "unknown output after running".
387 2014-05-16 Yao Qi <yao@codesourcery.com>
389 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
390 file1.txt from host at the end.
391 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
393 2014-05-15 Doug Evans <dje@google.com>
395 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
396 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
397 loading file. Add test for TU lookup.
399 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
401 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
402 calling "-exec-arguments" or "set args" before running the
405 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
407 * lib/mi-support.exp (mi_expect_stop): Expect message for
408 inferiors that exit with non-zero exit code.
410 2014-05-14 Yao Qi <yao@codesourcery.com>
412 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
413 match absolute path on remote host.
414 (test_file_list_exec_source_files): Remove "/" from the
417 2014-05-14 Yao Qi <yao@codesourcery.com>
419 * boards/local-remote-host-notty.exp (${board}_file): New
422 2014-05-07 Kyle McMartin <kyle@redhat.com>
424 Pushed by Joel Brobecker <brobecker@adacore.com>.
425 * gdb.arch/aarch64-atomic-inst.c: New file.
426 * gdb.arch/aarch64-atomic-inst.exp: New file.
428 2014-05-07 Yao Qi <yao@codesourcery.com>
430 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
431 in current context" too.
433 2014-05-05 Keith Seitz <keiths@redhat.com>
435 * gdb.linespec/ls-dollar.exp: Add test for linespec
436 file:convenience_variable.
438 2014-05-05 Yao Qi <yao@codesourcery.com>
440 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
441 traceframes into tfile and ctf trace files. Read data from
442 trace file and test collected data.
443 (gdb_collect_locals_test): Likewise.
444 (gdb_unavailable_registers_test): Likewise.
445 (gdb_unavailable_floats): Likewise.
446 (gdb_collect_globals_test): Likewise.
447 (top-level): Append "ctf" to trace_file_targets if GDB
450 2014-05-05 Yao Qi <yao@codesourcery.com>
452 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
454 (gdb_collect_args_test_1): ... it. New proc.
455 (gdb_collect_locals_test): Move some code to ...
456 (gdb_collect_locals_test_1): ... it. New proc.
457 (gdb_unavailable_registers_test): Move some code to ...
458 (gdb_unavailable_registers_test_1): ... it. New proc.
459 (gdb_unavailable_floats): Move some code to ...
460 (gdb_unavailable_floats_1): ... it. New proc.
462 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
464 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
465 probes to test for bitness recognition.
466 * gdb.arch/amd64-stap-optional-prefix.exp
467 (test_probe_value_without_reg): New procedure.
468 Add code to test for different kinds of bitness.
470 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
473 * gdb.arch/amd64-stap-optional-prefix.S: New file.
474 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
476 2014-05-01 Pedro Alves <palves@redhat.com>
478 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
479 gdb_file_cmd if no file is specified.
480 * boards/native-extended-gdbserver.exp (gdb_load): Use the
481 last_loaded_file to set the remote exec-file.
483 2014-05-01 Pedro Alves <palves@redhat.com>
485 * boards/local-remote-host.exp: New file.
487 2014-05-01 Pedro Alves <palves@redhat.com>
489 * boards/local-remote-host.exp: Rename to ...
490 * boards/local-remote-host-notty.exp: ... this.
492 2014-04-28 Joel Brobecker <brobecker@adacore.com>
494 * gdb.ada/dyn_arrayidx: New testcase.
496 2014-04-26 Yao Qi <yao@codesourcery.com>
498 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
499 and compute the length of function main. Save it in
501 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
502 (top-level): Use gdb_compile to compile objects into
503 executable and restart GDB. Remove invocation to
506 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
507 Pedro Alves <palves@redhat.com>
510 * gdb.multi/multi-attach.c: New file.
511 * gdb.multi/multi-attach.exp: New file.
513 2014-04-25 Pedro Alves <palves@redhat.com>
515 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
517 (top level): Test that "set remote conditional-breakpoints-packet
518 off" works as intended.
519 * gdb.base/dprintf.exp: Test that "set remote
520 breakpoint-commands-packet off" works as intended.
521 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
523 (top level): Call it.
524 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
525 remote fast-tracepoints-packet off" works as intended.
526 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
527 * lib/gdb.exp (gdb_is_target_remote): ... here.
529 2014-04-24 David Blaikie <dblaikie@gmail.com>
531 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
532 ensure clang would not discard them.
533 * gdb.base/gdbvars.c: Ditto.
534 * gdb.base/memattr.c: Ditto.
535 * gdb.base/whatis.c: Ditto.
536 * gdb.python/py-prettyprint.c: Ditto.
537 * gdb.trace/actions.c: Ditto.
538 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
539 ensure clang would not discard it.
541 2014-04-24 David Blaikie <dblaikie@gmail.com>
543 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
544 clang to emit the full definition of type required by the test
545 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
547 2014-04-24 David Blaikie <dblaikie@gmail.com>
549 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
550 coax Clang into emitting the definition of the type.
551 * gdb.cp/pr10728-x.h (y): Ditto.
552 * gdb.cp/pr10728-y.cc (y): Ditto.
554 2014-04-24 David Blaikie <dblaikie@gmail.com>
556 * gdb.base/label.exp: XFAIL label related tests under Clang.
557 * gdb.cp/cplabel.exp: Ditto.
558 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
559 under Clang those using labels.
561 2014-04-25 Yao Qi <yao@codesourcery.com>
563 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
565 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
566 partial_label and double_label.
568 2014-04-24 David Blaikie <dblaikie@gmail.com>
570 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
572 2014-04-24 David Blaikie <dblaikie@gmail.com>
574 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
575 of the function to work across GCC and Clang.
576 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
577 pointer types (const void ** const V void **).
579 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
580 Walfred Tedeschi <walfred.tedeschi@intel.com>
582 * Makefile.in (EXECUTABLES): Added i386-avx512.
583 * gdb.arch/i386-avx512.c: New file.
584 * gdb.arch/i386-avx512.exp: Likewise.
586 2014-04-23 Keith Seitz <keiths@redhat.com>
588 * lib/mi-support.exp (mi_list_breakpoints): Delete.
589 (mi_make_breakpoint_table): New procedure.
590 (mi_create_breakpoint): Use mi_make_breakpoint
591 and return the result.
592 (mi_make_breakpoint): New procedure.
593 (mi_build_kv_pairs): New procedure.
595 * gdb.mi/mi-break.exp: Remove unused globals,
596 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
598 * gdb.mi/mi-dprintf.exp: Use variable to track command
600 Update all callers of mi_create_breakpoint and use
601 mi_make_breakpoint_table.
602 Remove any unused global variables.
603 * gdb.mi/mi-nonstop.exp: Likewise.
604 * gdb.mi/mi-nsintrall.exp: Likewise.
605 * gdb.mi/mi-nsmoribund.exp: Likewise.
606 * gdb.mi/mi-nsthrexec.exp: Likewise.
607 * gdb.mi/mi-reverse.exp: Likewise.
608 * gdb.mi/mi-simplerun.exp: Likewise.
609 * gdb.mi/mi-stepn.exp: Likewise.
610 * gdb.mi/mi-syn-frame.exp: Likewise.
611 * gdb.mi/mi-until.exp: Likewise.
612 * gdb.mi/mi-var-cp.exp: Likewise.
613 * gdb.mi/mi-var-display.exp: Likewise.
614 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
615 * gdb.mi/mi2-var-child.exp: Likewise.
616 * gdb.mi/mi-vla-c99.exp: Likewise.
617 * lib/mi-support.exp: Likewise.
619 From Ian Lance Taylor <iant@cygnus.com>:
620 * lib/gdb.exp (parse_args): New procedure.
622 2014-04-23 Pedro Alves <palves@redhat.com>
624 * gdb.base/break-unload-file.c: New file.
625 * gdb.base/break-unload-file.exp: New file.
626 * gdb.base/sym-file-lib.c (baz): New function.
627 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
629 (load): Store the segment's mapped size.
630 (unload): New function.
631 (unload_shlib): New function.
632 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
633 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
634 set a breakpoint at baz, and call it.
635 * gdb.base/sym-file.exp: New tests for stale breakpoint
638 2014-04-23 Pedro Alves <palves@redhat.com>
640 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
641 * gdb.base/hbreak-in-shr-unsupported.c: New file.
642 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
643 * gdb.base/hbreak-unmapped.c: New file.
644 * gdb.base/hbreak-unmapped.exp: New file.
645 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
646 * lib/gdb.exp (gdb_is_target_remote): ... here.
648 2014-04-22 Pedro Alves <palves@redhat.com>
650 * gdb.base/consecutive-step-over.c: New file.
651 * gdb.base/consecutive-step-over.exp: New file.
653 2014-04-22 Pedro Alves <palves@redhat.com>
655 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
656 instead of send_gdb/gdb_expect.
658 2014-04-22 Yao Qi <yao@codesourcery.com>
660 * lib/trace-support.exp (generate_tracefile): New procedure.
661 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
663 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
664 if generate_tracefile returns 1.
666 2014-04-18 Tom Tromey <palves@redhat.com>
667 Pedro alves <tromey@redhat.com>
670 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
671 with a backtrace limit.
672 * gdb.python/py-frame-inline.exp: Test running to an inline
673 function with a backtrace limit, and printing the newest frame.
674 * gdb.python/py-frame-inline.c (main): Call f.
676 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
678 * gdb.java/jnpe.exp: Drop srcdir from untested path.
680 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
682 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
683 Drop prefix from unsupported source file path.
685 2014-04-17 Yao Qi <yao@codesourcery.com>
687 * lib/gdb.exp (with_target_charset): New proc.
688 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
690 (test_print_strings): Likewise.
691 (test_repeat_bytes): Likewise.
692 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
695 2014-04-16 Keith Seitz <keiths@redhat.com>
698 * gdb.dwarf2/corrupt.c: New file.
699 * gdb.dwarf2/corrupt.exp: New file.
701 2014-04-16 Keith Seitz <keiths@redhat.com>
704 * gdb.cp/namelessclass.cc: New file.
705 * gdb.cp/namelessclass.exp: New file.
706 * gdb.cp/namelessclass.S: New file.
708 2014-04-16 Doug Evans <dje@google.com>
710 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
712 (gdbserver_default_get_comm_port): New function.
713 (gdbserver_start): Check if board file provided
714 "gdbserver,get_comm_port" and use it if so.
715 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
716 (gdb,socketport): Set to "stdio".
717 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
718 (stdio_gdbserver_template): Delete.
719 (${board}_get_remote_address): Update.
720 (${board}_build_remote_cmd): Delete.
721 (${board}_get_comm_port): New function.
722 (${board}_spawn): Update.
723 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
725 (${board}_get_remote_address): Update.
726 (${board}_get_comm_port): New function.
728 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
730 * gdb.base/memattr.exp: Improve regexps to handle memory regions
731 appearing in any order.
733 2014-04-15 Doug Evans <dje@google.com>
735 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
736 uninitialized value of "description".
738 2014-04-15 Keith Seitz <keiths@redhat.com>
740 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
741 Remove unused globals.
742 (test_running_the_program): Likewise.
743 (test_controlled_execution): Likewise.
744 (test_controlling_breakpoints): Likewise.
745 (test_program_termination): Likewise.
747 2014-04-15 Keith Seitz <keiths@redhat.com>
749 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
751 (test_rbreak_creation_and_listing): Likewise.
752 (test_ignore_count): Likewise.
753 (test_error): Likewise.
755 2014-04-15 Pedro Alves <palves@redhat.com>
757 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
758 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
760 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
761 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
762 to sym-file-loader.c.
763 (struct library): Forward declare.
764 (load_shlib, lookup_function): Change prototypes.
765 (find_shstrtab, find_strtab, find_shdr, find_symtab)
766 (translate_offset): Remove declarations.
767 (get_text_addr): New declaration.
768 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
769 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
771 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
772 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
773 here from sym-file-loader.h.
774 (struct library): New structure.
775 (load_shlib, lookup_function): Change prototypes and adjust to
776 work with a struct library.
777 (find_shstrtab, find_strtab, find_shdr, find_symtab)
778 (translate_offset): Make static.
779 (get_text_addr): New function.
780 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
782 2014-04-15 Pedro Alves <palves@redhat.com>
784 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
786 2014-04-15 Pedro Alves <palves@redhat.com>
788 * gdb.base/sym-file-loader.c: Include <limits.h>.
789 (SELF_LINK): New define.
790 (get_origin): New function.
791 (load_shlib): Use it.
792 * gdb.base/sym-file.exp: Don't early return if the target is
793 remote. Use runto_main, and issue fail is that fails. Use
795 (shlib_name): Delete.
796 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
798 2014-04-15 Pedro Alves <palves@redhat.com>
800 * gdb.base/sym-file.exp: Remove regex characters from test
801 message. Don't refer to breakpoint numbers in test messages.
803 2014-04-14 Keith Seitz <keiths@redhat.com>
806 * gdb.cp/var-tag.cc: New file.
807 * gdb.cp/var-tag.exp: New file.
808 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
809 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
810 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
811 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
813 2014-04-14 Tom Tromey <tromey@redhat.com>
815 * gdb.cp/classes.exp (test_enums): Handle underlying type.
816 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
818 * gdb.cp/enum-class.exp: New file.
819 * gdb.cp/enum-class.cc: New file.
821 2014-04-14 Tom Tromey <tromey@redhat.com>
823 * gdb.dwarf2/enum-type.exp: New file.
825 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
827 * gdb.mi/mi-vla-c99.exp: New file.
828 * gdb.mi/vla.c: New file.
830 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
832 * gdb.base/vla-datatypes.c: New file.
833 * gdb.base/vla-datatypes.exp: New file.
835 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
837 * gdb.base/vla-ptr.c: New file.
838 * gdb.base/vla-ptr.exp: New file.
840 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
842 * gdb.dwarf2/count.exp: New file.
844 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
846 * gdb.base/vla-sideeffect.c: New file.
847 * gdb.base/vla-sideeffect.exp: New file.
849 2014-04-14 David Blaikie <dblaikie@gmail.com>
851 * gdb.mi/non-stop.c: Add return value for non-void function return
853 * gdb.threads/staticthreads.c: Ditto.
855 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
856 Doug Evans <xdje42@gmail.com>
858 * gdb.guile/scm-value.c: Improve test case.
859 * gdb.guile/scm-value.exp: Add new test.
861 2014-04-11 David Blaikie <dblaikie@gmail.com>
863 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
864 override Clang's default.
866 2014-04-11 Joel Brobecker <brobecker@adacore.com>
868 Revert the following changes (regressions):
870 * gdb.base/vla-sideeffect.c: New file.
871 * gdb.base/vla-sideeffect.exp: New file.
873 * gdb.dwarf2/count.exp: New file.
875 * gdb.base/vla-multi.c: New file.
876 * gdb.base/vla-multi.exp: New file.
878 * gdb.base/vla-ptr.c: New file.
879 * gdb.base/vla-ptr.exp: New file.
881 * gdb.base/vla-datatypes.c: New file.
882 * gdb.base/vla-datatypes.exp: New file.
884 * gdb.mi/mi-vla-c99.exp: New file.
885 * gdb.mi/vla.c: New file.
887 2014-04-11 Keith Seitz <keiths@redhat.com>
890 * gdb.cp/cpsizeof.exp: New file.
891 * gdb.cp/cpsizeof.cc: New file.
893 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
895 * gdb.mi/mi-vla-c99.exp: New file.
896 * gdb.mi/vla.c: New file.
898 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
900 * gdb.base/vla-datatypes.c: New file.
901 * gdb.base/vla-datatypes.exp: New file.
903 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
905 * gdb.base/vla-ptr.c: New file.
906 * gdb.base/vla-ptr.exp: New file.
908 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
910 * gdb.base/vla-multi.c: New file.
911 * gdb.base/vla-multi.exp: New file.
913 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
915 * gdb.dwarf2/count.exp: New file.
917 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
919 * gdb.base/vla-sideeffect.c: New file.
920 * gdb.base/vla-sideeffect.exp: New file.
922 2014-04-11 Yao Qi <yao@codesourcery.com>
924 * gdb.base/completion.exp: Check file exists before running tests
927 2014-04-10 Pedro Alves <palves@redhat.com>
929 * gdb.base/cond-eval-mode.c: New file.
930 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
931 prepare_for_testing to build the new file. Check result of
933 (test_break, test_watch): New procedures.
934 (top level): Use them.
936 2014-04-08 Pierre Muller <muller@sourceware.org>
938 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
939 Ctrl-V use for mingw hosts.
941 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
943 * gdb.python/py-value.c: Improve test case.
944 * gdb.python/py-value.exp: Add new test.
946 2014-04-07 David Blaikie <dblaikie@gmail.com>
948 * lib/compiler.c: Identify the clang compiler.
949 * lib/compiler.cc: Ditto.
951 2014-04-03 Yao Qi <yao@codesourcery.com>
953 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
955 2014-04-01 Anton Blanchard <anton@samba.org>
957 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
960 2014-04-01 Anton Blanchard <anton@samba.org>
962 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
965 2014-04-01 Anton Blanchard <anton@samba.org>
967 * gdb.arch/ppc64-atomic-inst.c: Remove.
968 * gdb.arch/ppc64-atomic-inst.S: New file.
969 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
971 2014-03-31 Doug Evans <dje@google.com>
973 * gdb.base/print-symbol-loading-lib.c: New file.
974 * gdb.base/print-symbol-loading-main.c: New file.
975 * gdb.base/print-symbol-loading.exp: New file.
977 2014-03-31 Yao Qi <yao@codesourcery.com>
979 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
981 2014-03-28 Joel Brobecker <brobecker@adacore.com>
983 * gdb.ada/mi_dyn_arr: New testcase.
985 2014-03-27 Doug Evans <dje@google.com>
987 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
989 2014-03-27 Yao Qi <yao@codesourcery.com>
991 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
992 if target is nios2-*-*.
994 2014-03-26 Yao Qi <yao@codesourcery.com>
996 * lib/gdb.exp (readline_is_used): New proc.
997 * gdb.base/completion.exp: Move tests on command complete up.
998 Skip the rest of tests if readline is not used.
999 * gdb.ada/complete.exp: Skp the test if readline is not
1001 * gdb.base/filesym.exp: Likewise.
1002 * gdb.base/macscp.exp: Likewise.
1003 * gdb.base/readline-ask.exp: Likewise.
1004 * gdb.base/readline.exp: Likewise.
1005 * gdb.python/py-cmd.exp: Likewise.
1006 * gdb.trace/tfile.exp: Likewise.
1008 2014-03-26 Yao Qi <yao@codesourcery.com>
1010 * gdb.base/macscp.exp: Fix code format issues.
1012 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1014 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1015 * gdb.asm/powerpc64le.inc: New file.
1017 2014-03-25 Pedro Alves <palves@redhat.com>
1018 Doug Evans <dje@google.com>
1020 * gdb.base/source-execution.c: New file.
1021 * gdb.base/source-execution.exp: New file.
1022 * gdb.base/source-execution.gdb: New file.
1024 2014-03-24 Doug Evans <dje@google.com>
1026 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1029 2014-03-24 Hui Zhu <hui@codesourcery.com>
1030 Pedro Alves <palves@redhat.com>
1032 PR breakpoints/16101
1033 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1034 test pass/fail messages. Detect missing support for dprintf when
1035 breakpoints are actually inserted.
1036 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1037 breakpoints are actually inserted.
1038 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1041 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1043 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1045 2014-03-22 Doug Evans <xdje42@gmail.com>
1047 * gdb.python/python.exp (python not supported): Verify multi-line
1048 python command issues an error.
1049 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1050 guile command issues an error.
1052 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1054 * gdb.threads/thread-specific.exp: Handle the lack of usable
1055 $this_breakpoint and $this_thread.
1057 2014-03-21 Hui Zhu <hui@codesourcery.com>
1059 * gdb.base/attach.exp (do_command_attach_tests): New.
1061 2014-03-20 Tom Tromey <tromey@redhat.com>
1062 Pedro Alves <palves@redhat.com>
1065 * gdb.base/condbreak-call-false.c: New file.
1066 * gdb.base/condbreak-call-false.exp: New file.
1068 2014-03-20 Pedro Alves <palves@redhat.com>
1070 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1072 (block_signals, unblock_signals): Delete.
1073 (child_function_2, main): Remove references to deleted variable
1076 2014-03-20 Pedro Alves <palves@redhat.com>
1078 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1079 Use pthread_kill to signal thread 2.
1080 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1081 Adjust to make the test send itself a signal rather than using the
1082 host's "kill" command.
1084 2014-03-20 Pedro Alves <palves@redhat.com>
1086 * gdb.threads/multiple-step-overs.c: New file.
1087 * gdb.threads/multiple-step-overs.exp: New file.
1088 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1089 Adjust expected infrun debug output.
1091 2014-03-20 Pedro Alves <palves@redhat.com>
1093 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1094 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1096 2014-03-20 Pedro Alves <palves@redhat.com>
1099 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1100 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1101 of gdb_test_multiple.
1102 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1103 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1105 2014-03-20 Pedro Alves <palves@redhat.com>
1107 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1108 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1110 2014-03-19 Pedro Alves <palves@redhat.com>
1112 * gdb.base/async.exp: Remove early return.
1114 2014-03-19 Pedro Alves <palves@redhat.com>
1116 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1118 2014-03-19 Pedro Alves <palves@redhat.com>
1120 * gdb.base/async.exp (test_background): Expect \r\n after
1121 "completed." in the fail pattern.
1123 2014-03-19 Pedro Alves <palves@redhat.com>
1125 * gdb.base/async.exp (test_background): New procedure.
1126 Use it for all background execution command tests.
1128 2014-03-19 Pedro Alves <palves@redhat.com>
1130 * gdb.base/async.exp: Use prepare_for_testing.
1132 2014-03-19 Pedro Alves <palves@redhat.com>
1134 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1137 2014-03-19 Pedro Alves <palves@redhat.com>
1139 * gdb.base/async.c (main): Add "jump here" and "until here" line
1141 * gdb.base/async.exp (jump_here): New global.
1142 (jump& test): Use it.
1143 (until_here): New global.
1144 (until& test): Use it.
1146 2014-03-19 Pedro Alves <palves@redhat.com>
1148 * gdb.base/async.exp: Don't frob gdb_protocol.
1150 2014-03-18 Doug Evans <xdje42@gmail.com>
1152 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1153 Fix spelling of exec-done-display.
1155 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1158 * gdb.base/gdb-sigterm.c: New file.
1159 * gdb.base/gdb-sigterm.exp: New file.
1161 2014-03-18 Pedro Alves <palves@redhat.com>
1164 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1165 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1168 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1170 * gdb.ada/pckd_arr_ren: New testcase.
1172 2014-03-13 Doug Evans <xdje42@gmail.com>
1175 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1176 collect after discarding symbols.
1178 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1179 Doug Evans <xdje42@gmail.com>
1181 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1182 to history survives a gc.
1184 2014-03-13 Pedro Alves <palves@redhat.com>
1186 * gdb.base/default.exp: Don't test "target procfs".
1188 2014-03-13 Pedro Alves <palves@redhat.com>
1190 * gdb.base/default.exp: Update "target child" and "target procfs"
1191 tests to not expect "Unix".
1193 2014-03-12 Tom Tromey <tromey@redhat.com>
1195 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1196 New procs. Add target-async tests.
1197 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1198 Add target-async tests.
1200 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1202 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1203 'func_start' and 'func_end' for the beginning and end of the
1204 function code, respectively.
1205 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1206 'func_end' instead of 'func' and 'main'.
1208 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1210 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1211 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1212 generate the debug info assembler source.
1214 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1216 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1217 * gdb.dwarf2/arr-subrange.exp: Likewise.
1218 * gdb.dwarf2/dwz.exp: Likewise.
1219 * gdb.dwarf2/method-ptr.exp: Likewise.
1220 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1221 * gdb.dwarf2/subrange.exp: Likewise.
1222 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1223 * gdb.dwarf2/implptrpiece.exp: Likewise.
1224 * gdb.dwarf2/nostaticblock.exp: Likewise.
1226 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1228 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1229 directory to absolute path name arguments.
1231 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1233 * gdb.ada/tagged_access: New testcase.
1235 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1237 * gdb.btrace/data.exp: Update expected output.
1239 2014-03-06 Yao Qi <yao@codesourcery.com>
1241 * gdb.trace/pr16508.exp: New file.
1243 2014-03-05 Pedro Alves <palves@redhat.com>
1246 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1248 (top level): Adjust to use it. Add tests that exercise breakpoint
1249 interaction with the code-cache.
1251 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1253 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1254 test for 'history-append!'.
1256 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1258 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1259 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1260 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1261 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1262 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1263 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1265 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1267 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1268 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1269 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1271 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1273 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1275 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1277 * gdb.dwarf2/arr-stride.c: New file.
1278 * gdb.dwarf2/arr-stride.exp: New file.
1280 2014-02-26 Pedro Alves <palves@redhat.com>
1282 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1283 that won't ever trigger. Make sure that GDB reports the correct
1284 breakpoint that caused the stop.
1286 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1289 * gdb.base/auto-load-script: New file.
1290 * gdb.base/auto-load.c: New file.
1291 * gdb.base/auto-load.exp: New file.
1294 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1296 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1298 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1299 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1301 2014-02-24 Doug Evans <dje@google.com>
1303 * lib/gdb.exp (run_on_host): Log error output if program fails.
1305 2014-02-21 Pedro Alves <palves@redhat.com>
1307 * gdb.threads/step-after-sr-lock.c: Rename to ...
1308 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1309 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1310 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1313 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1316 * gdb.arch/amd64-stap-special-operands.exp: New file.
1317 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1318 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1319 * gdb.arch/amd64-stap-triplet.S: Likewise.
1320 * gdb.arch/amd64-stap-triplet.c: Likewise.
1322 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1324 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1325 in .section pseudo-op.
1327 2014-02-20 lin zuojian <manjian2006@gmail.com>
1328 Joel Brobecker <brobecker@adacore.com>
1329 Doug Evans <xdje42@gmail.com>
1332 * gdb.dwarf2/dw2-icycle.S: New file.
1333 * gdb.dwarf2/dw2-icycle.c: New file.
1334 * gdb.dwarf2/dw2-icycle.exp: New file.
1336 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1338 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1339 operations on gdb.Value objects.
1340 * gdb.python/py-value-cc.exp: Add new test to test operations on
1343 2014-02-18 Doug Evans <dje@google.com>
1345 * Makefile.in (TESTS): New variable.
1346 (expanded_tests, expanded_tests_or_none): New variables
1347 (check-single): Pass $(expanded_tests_or_none) to runtest.
1348 (check-parallel): Only run tests in $(TESTS) if non-empty.
1349 (check/no-matching-tests-found): New rule.
1350 * README: Document TESTS makefile variable.
1352 2014-02-18 Doug Evans <dje@google.com>
1354 * Makefile.in (check-parallel): rm -rf outputs temp.
1356 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1358 Fix "ERROR: no fileid for" in the testsuite.
1359 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1361 2014-02-12 Doug Evans <dje@google.com>
1363 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1364 (MISCELLANEOUS): New variable.
1365 (clean): rm -rf $(MISCELLANEOUS).
1366 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1367 dwp live in the same directory as symlinks, with each symlink pointed
1368 to a differently named file in a different directory.
1370 2014-02-11 Doug Evans <dje@google.com>
1372 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1373 of Tcl file commands.
1375 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1377 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1380 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1382 * gdb.ada/tick_length_array_enum_idx: New testcase.
1384 2014-02-10 Doug Evans <xdje42@gmail.com>
1386 * configure.ac (AC_OUTPUT): Add gdb.guile.
1387 * configure: Regenerate.
1388 * lib/gdb-guile.exp: New file.
1389 * lib/gdb.exp (get_target_charset): New function.
1390 * gdb.base/help.exp: Update expected output from "apropos apropos".
1391 * gdb.guile/Makefile.in: New file.
1392 * gdb.guile/guile.exp: New file.
1393 * gdb.guile/scm-arch.c: New file.
1394 * gdb.guile/scm-arch.exp: New file.
1395 * gdb.guile/scm-block.c: New file.
1396 * gdb.guile/scm-block.exp: New file.
1397 * gdb.guile/scm-breakpoint.c: New file.
1398 * gdb.guile/scm-breakpoint.exp: New file.
1399 * gdb.guile/scm-disasm.c: New file.
1400 * gdb.guile/scm-disasm.exp: New file.
1401 * gdb.guile/scm-equal.c: New file.
1402 * gdb.guile/scm-equal.exp: New file.
1403 * gdb.guile/scm-error.exp: New file.
1404 * gdb.guile/scm-error.scm: New file.
1405 * gdb.guile/scm-frame-args.c: New file.
1406 * gdb.guile/scm-frame-args.exp: New file.
1407 * gdb.guile/scm-frame-args.scm: New file.
1408 * gdb.guile/scm-frame-inline.c: New file.
1409 * gdb.guile/scm-frame-inline.exp: New file.
1410 * gdb.guile/scm-frame.c: New file.
1411 * gdb.guile/scm-frame.exp: New file.
1412 * gdb.guile/scm-generics.exp: New file.
1413 * gdb.guile/scm-gsmob.exp: New file.
1414 * gdb.guile/scm-iterator.c: New file.
1415 * gdb.guile/scm-iterator.exp: New file.
1416 * gdb.guile/scm-math.c: New file.
1417 * gdb.guile/scm-math.exp: New file.
1418 * gdb.guile/scm-objfile-script-gdb.in: New file.
1419 * gdb.guile/scm-objfile-script.c: New file.
1420 * gdb.guile/scm-objfile-script.exp: New file.
1421 * gdb.guile/scm-objfile.c: New file.
1422 * gdb.guile/scm-objfile.exp: New file.
1423 * gdb.guile/scm-ports.exp: New file.
1424 * gdb.guile/scm-pretty-print.c: New file.
1425 * gdb.guile/scm-pretty-print.exp: New file.
1426 * gdb.guile/scm-pretty-print.scm: New file.
1427 * gdb.guile/scm-section-script.c: New file.
1428 * gdb.guile/scm-section-script.exp: New file.
1429 * gdb.guile/scm-section-script.scm: New file.
1430 * gdb.guile/scm-symbol.c: New file.
1431 * gdb.guile/scm-symbol.exp: New file.
1432 * gdb.guile/scm-symtab-2.c: New file.
1433 * gdb.guile/scm-symtab.c: New file.
1434 * gdb.guile/scm-symtab.exp: New file.
1435 * gdb.guile/scm-type.c: New file.
1436 * gdb.guile/scm-type.exp: New file.
1437 * gdb.guile/scm-value-cc.cc: New file.
1438 * gdb.guile/scm-value-cc.exp: New file.
1439 * gdb.guile/scm-value.c: New file.
1440 * gdb.guile/scm-value.exp: New file.
1441 * gdb.guile/source2.scm: New file.
1442 * gdb.guile/types-module.cc: New file.
1443 * gdb.guile/types-module.exp: New file.
1445 2014-02-10 Yao Qi <yao@codesourcery.com>
1448 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1449 * configure: Regenerated.
1450 * Makefile.in: New file.
1452 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1454 * gdb.python/py-framefilter.exp: Fix typo.
1456 2014-02-08 Yao Qi <yao@codesourcery.com>
1458 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1459 that no =breakpoint-modified is emitted when breakpoints are
1460 modified through MI commands.
1462 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1463 Pedro Alves <palves@redhat.com>
1465 * gdb.threads/step-after-sr-lock.c: New file.
1466 * gdb.threads/step-after-sr-lock.exp: New file.
1468 2014-02-07 Pedro Alves <palves@redhat.com>
1470 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1472 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1474 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1475 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1477 2014-02-06 Doug Evans <xdje42@gmail.com>
1479 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1482 * gdb.gdb/python-interrupts.exp: New file.
1484 2014-02-05 Yao Qi <yao@codesourcery.com>
1486 * gdb.trace/report.exp (use_collected_data): Test the output
1487 of "info threads" and "info inferiors".
1489 2014-02-05 Yao Qi <yao@codesourcery.com>
1493 2013-05-24 Yao Qi <yao@codesourcery.com>
1495 * gdb.trace/tfile.exp: Test inferior and thread.
1497 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1499 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1501 * gdb.base/step-bt.c: Call hello via function pointer to make
1502 sure its first instruction is executed on powerpc64le-linux.
1504 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1506 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1508 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1510 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1511 of the test patterns for use on little-endian systems.
1513 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1515 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1516 (decimal_vector): Fix for little-endian.
1518 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1520 * gdb.arch/sparc-sysstep.exp: New file.
1521 * gdb.arch/sparc-sysstep.c: Likewise.
1523 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1525 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1527 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1529 2014-01-23 Tom Tromey <tromey@redhat.com>
1531 * gdb.ada/array_char_idx: New testcase.
1533 2014-01-23 Tom Tromey <tromey@redhat.com>
1536 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1537 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1540 2014-01-23 Tom Tromey <tromey@redhat.com>
1543 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1544 string from an inferior frame.
1545 * gdb.python/py-framefilter-mi.exp: Update.
1547 2014-01-22 Doug Evans <dje@google.com>
1549 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1551 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1553 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1555 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1557 * gdb.trace/entry-values.exp: Remove excess space character from
1558 regex patterns. Handle s390 call instruction.
1560 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1562 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1563 define "*_start" label. Make "name" static.
1564 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1565 ${name} by references to ${name}_start.
1567 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1569 * gdb.base/info-macros.exp: Remove "debug" from the compile
1572 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1574 * gdb.dlang/demangle.exp: New file.
1576 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1578 * gdb.dlang/primitive-types.exp: New file.
1580 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1582 * configure.ac: Create gdb.dlang/Makefile.
1583 * configure: Regenerate.
1584 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1585 * gdb.dlang/Makefile.in: New file.
1586 * lib/d-support.exp: New file.
1587 * lib/gdb.exp (skip_d_tests): New proc.
1589 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1591 * gdb.btrace/delta.exp: Check reverse stepi.
1592 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1593 * gdb.btrace/finish.exp: New.
1594 * gdb.btrace/next.exp: New.
1595 * gdb.btrace/nexti.exp: New.
1596 * gdb.btrace/record_goto.c: Add comments.
1597 * gdb.btrace/step.exp: New.
1598 * gdb.btrace/stepi.exp: New.
1599 * gdb.btrace/multi-thread-step.c: New.
1600 * gdb.btrace/multi-thread-step.exp: New.
1601 * gdb.btrace/rn-dl-bind.c: New.
1602 * gdb.btrace/rn-dl-bind.exp: New.
1603 * gdb.btrace/data.c: New.
1604 * gdb.btrace/data.exp: New.
1605 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1607 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1609 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1610 * gdb.btrace/exception.exp: Update.
1611 * gdb.btrace/instruction_history.exp: Update.
1612 * gdb.btrace/record_goto.exp: Update.
1613 * gdb.btrace/tailcall.exp: Update.
1614 * gdb.btrace/unknown_functions.exp: Update.
1615 * gdb.btrace/delta.exp: New.
1617 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1619 * gdb.btrace/record_goto.exp: Add backtrace test.
1620 * gdb.btrace/tailcall.exp: Add backtrace test.
1622 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1624 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1625 * gdb.btrace/record_goto.c: New.
1626 * gdb.btrace/record_goto.exp: New.
1627 * gdb.btrace/x86-record_goto.S: New.
1629 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1631 * gdb.btrace/function_call_history.exp: Update tests.
1632 * gdb.btrace/instruction_history.exp: Update tests.
1634 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1636 * gdb.btrace/function_call_history.exp: Fix expected field
1637 order for "record function-call-history".
1638 Add new tests for "record function-call-history /c".
1639 * gdb.btrace/exception.cc: New.
1640 * gdb.btrace/exception.exp: New.
1641 * gdb.btrace/tailcall.exp: New.
1642 * gdb.btrace/x86-tailcall.S: New.
1643 * gdb.btrace/x86-tailcall.c: New.
1644 * gdb.btrace/unknown_functions.c: New.
1645 * gdb.btrace/unknown_functions.exp: New.
1646 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1648 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1650 * gdb.btrace/instruction_history.exp: Update.
1651 * gdb.btrace/function_call_history.exp: Update.
1653 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1655 * gdb.btrace/function_call_history.exp: Fix expected function
1657 * gdb.btrace/instruction_history.exp: Initialize traced.
1658 Remove traced_functions.
1660 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1662 * gdb.btrace/function_call_history.exp: Update
1663 * gdb.btrace/instruction_history.exp: Update.
1665 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1667 * gdb.btrace/enable.exp: Update expected text.
1669 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1671 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1674 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1676 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1678 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1680 * lib/gdb.exp (supports_process_record): Return true for
1681 arm*-linux*. (supports_reverse): Likewise.
1683 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1687 * gdb.python/py-type.c: Enhance test case.
1688 * gdb.python/py-value-cc.cc: Likewise
1689 * gdb.python/py-type.exp: Add new tests.
1690 * gdb.python/py-value-cc.exp: Likewise
1692 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1693 Pedro Alves <palves@redhat.com>
1695 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1697 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1698 references to ${name}_start by references to ${name}.
1700 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1702 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1704 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1706 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1708 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1709 Pedro Alves <palves@redhat.com>
1711 * gdb.mi/mi-info-os.exp: Connect to the target with
1714 2014-01-08 Pedro Alves <palves@redhat.com>
1716 * gdb.threads/reconnect-signal.c: New file.
1717 * gdb.threads/reconnect-signal.exp: New file.
1719 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1721 * gdb.base/source-dir.exp: New file.
1723 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1725 * gdb.ada/mi_interface: New testcase.
1727 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1729 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1730 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1731 gdb.ada/pp-rec-component/pck.ads: New files.
1733 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1735 * gdb.python/py-pp-integral.c: New file.
1736 * gdb.python/py-pp-integral.py: New file.
1737 * gdb.python/py-pp-integral.exp: New file.
1739 For older changes see ChangeLog-1993-2013.
1745 ;; version-control: never
1748 Copyright 2014 Free Software Foundation, Inc.
1749 Copying and distribution of this file, with or without modification,
1750 are permitted provided the copyright notice and this notice are preserved.