1 2014-06-06 Pedro Alves <palves@redhat.com>
3 * gdb.base/break-unload-file.exp: Fix typo.
5 2014-06-06 Yao Qi <yao@codesourcery.com>
7 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
8 from "jit_function" to "^jit_function".
10 2014-06-06 Yao Qi <yao@codesourcery.com>
12 * gdb.base/async.c (foo): Add one statement.
13 * gdb.base/async.exp: Get the next instruction address and
14 match the output of "nexti" by instruction address. Match
15 the hex address in the output of "finish".
17 2014-06-06 Gary Benson <gbenson@redhat.com>
19 * gdb.base/call-signals.c: Remove preprocessor conditionals
20 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
22 * gdb.base/sigall.c: Likewise.
23 * gdb.base/unwindonsignal.c: Likewise.
24 * gdb.reverse/sigall-reverse.c: Likewise.
26 2014-06-06 Yao Qi <yao@codesourcery.com>
28 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
29 readable, skip the test.
31 2014-06-06 Yao Qi <yao@codesourcery.com>
33 * gdb.threads/staticthreads.c (thread_function): Move the line
34 setting breakpoint on forward.
35 * gdb.threads/staticthreads.exp: Update comments.
37 2014-06-05 Ludovic Courtès <ludo@gnu.org>
39 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
40 "history-append! type error".
42 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
44 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
45 erroneous dprintf expected input.
47 2014-06-04 Doug Evans <xdje42@gmail.com>
49 * gdb.guile/scm-generics.exp: Delete.
51 2014-06-04 Doug Evans <xdje42@gmail.com>
53 * gdb.guile/scm-breakpoint.exp: Update.
54 Add tests for breakpoint registration.
56 2014-06-04 Tom Tromey <tromey@redhat.com>
58 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
60 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
61 inner_vla_struct, vla_union types. Initialize objects of those
62 types and compute their sizes.
64 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
65 Hui Zhu <hui@codesourcery.com>
67 * gdb.base/fileio.exp: Add test for shell not available as well as
69 * gdb.base/fileio.c (test_system): Check for shell twice.
71 2014-06-04 Yao Qi <yao@codesourcery.com>
73 * gdb.base/auto-connect-native-target.exp: Remove redundant
74 space from the regexp pattern.
76 2014-06-04 Yao Qi <yao@codesourcery.com>
78 * gdb.base/default.exp: Replace "child" with "native" in
81 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
83 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
84 * gdb.python/py-xmethods.exp: New tests to test xmethods.
85 * gdb.python/py-xmethods.py: Python script supporting the
86 new testcase and tests.
88 2014-06-03 Joel Brobecker <brobecker@adacore.com>
89 Pedro Alves <palves@redhat.com>
92 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
93 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
95 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
97 * gdb.base/subst.exp: Add tests to verify partial path matching
100 2014-06-03 Pedro Alves <palves@redhat.com>
102 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
103 target that doesn't use software single-stepping.
105 2014-06-03 Pedro Alves <palves@redhat.com>
108 * gdb.base/sss-bp-on-user-bp-2.c: New file.
109 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
111 2014-06-02 Doug Evans <xdje42@gmail.com>
113 * gdb.guile/scm-parameter.exp: New file.
115 2014-06-02 Doug Evans <xdje42@gmail.com>
117 * gdb.guile/scm-cmd.c: New file.
118 * gdb.guile/scm-cmd.exp: New file.
120 2014-06-02 Doug Evans <xdje42@gmail.com>
122 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
123 pretty-printer lookup.
124 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
125 (make-pp_s-printer): Call it.
126 (make-pretty-printer-from-dict): New function.
127 (lookup-pretty-printer-maker-from-dict): New function.
128 (*pretty-printer*): Simplify.
129 (make-objfile-pp_s-printer): New function.
130 (install-objfile-pretty-printers!): New function.
131 (make-progspace-pp_s-printer): New function.
132 (install-progspace-pretty-printers!): New function.
133 * gdb.guile/scm-progspace.c: New file.
134 * gdb.guile/scm-progspace.exp: New file.
136 2014-06-02 Pedro Alves <palves@redhat.com>
138 * gdb.base/dprintf-bp-same-addr.c: New file.
139 * gdb.base/dprintf-bp-same-addr.exp: New file.
141 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
143 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
144 * gdb.arch/powerpc-power.s: Likewise.
146 2014-06-02 Joel Brobecker <brobecker@adacore.com>
148 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
150 2014-06-01 Yao Qi <yao@codesourcery.com>
152 * gdb.base/watchpoint.exp (test_watch_location): Check null
153 pointer can be dereferenced. If not, do the test, otherwise
156 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
158 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
160 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
162 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
164 * gdb.arch/amd64-invalid-stack-middle.S: New file.
165 * gdb.arch/amd64-invalid-stack-middle.c: New file.
166 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
167 * gdb.arch/amd64-invalid-stack-top.c: New file.
168 * gdb.arch/amd64-invalid-stack-top.exp: New file.
170 2014-05-30 Pedro Alves <palves@redhat.com>
173 * gdb.base/sss-bp-on-user-bp.c: New file.
174 * gdb.base/sss-bp-on-user-bp.exp: New file.
176 2014-05-30 David Blaikie <dblaikie@gmail.com>
178 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
179 gnu_inline semantics via attribute.
180 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
181 source explicitly specifies the required semantics.
183 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
185 * gdb.reverse/sigall-reverse.exp: Fix a typo.
187 2014-05-29 Pedro Alves <palves@redhat.com>
188 Tom Tromey <tromey@redhat.com>
190 * gdb.base/async-shell.exp: Don't enable target-async.
192 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
194 (top level): Don't test with "target-async".
195 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
196 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
197 * gdb.base/inferior-died.exp: Don't enable target-async.
198 * gdb.base/interrupt-noterm.exp: Likewise.
199 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
200 * gdb.mi/mi-nonstop-exit.exp: Likewise.
201 * gdb.mi/mi-nonstop.exp: Likewise.
202 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
203 * gdb.mi/mi-nsintrall.exp: Likewise.
204 * gdb.mi/mi-nsmoribund.exp: Likewise.
205 * gdb.mi/mi-nsthrexec.exp: Likewise.
206 * gdb.mi/mi-watch-nonstop.exp: Likewise.
207 * gdb.multi/watchpoint-multi.exp: Adjust comment.
208 * gdb.python/py-evsignal.exp: Don't enable target-async.
209 * gdb.python/py-evthreads.exp: Likewise.
210 * gdb.python/py-prompt.exp: Likewise.
211 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
212 * gdb.server/solib-list.exp: Don't enable target-async.
213 * gdb.threads/thread-specific-bp.exp: Likewise.
214 * lib/mi-support.exp: Adjust to use mi-async.
216 2014-05-29 Pedro Alves <palves@redhat.com>
219 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
220 reason, even in sync mode.
222 2014-05-29 Pedro Alves <palves@redhat.com>
223 Hui Zhu <hui@codesourcery.com>
226 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
227 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
228 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
229 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
231 2014-05-28 Joel Brobecker <brobecker@adacore.com>
233 * config/monitor.exp (gdb_target_monitor): Replace use of
234 "set remotebaud" by "set serial baud".
236 2014-05-26 Andy Wingo <wingo@igalia.com>
238 * gdb.guile/scm-breakpoint.exp:
239 * gdb.guile/scm-gsmob.exp: Update to use plain old object
240 properties instead of gdb-object-properties.
242 2014-05-26 Yao Qi <yao@codesourcery.com>
244 * gdb.server/no-thread-db.exp: Specify source file name
245 explicitly when setting a breakpoint.
247 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
249 * gdb.btrace/vdso.c: New.
250 * gdb.btrace/vdso.exp: New.
252 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
254 * gdb.base/gcore.exp (capture_command_output): Move ...
255 * lib/gdb.exp (capture_command_output): ... here.
257 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
259 * gdb.btrace/data.exp: Test memory access during btrace replay.
261 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
263 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
265 2014-05-21 Pedro Alves <palves@redhat.com>
268 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
269 (top level): Test that output related to execution commands is
270 sent to the console with CLI commands, but not with MI commands.
271 Test that breakpoint events are always mirrored to the console.
272 Also expect the new source line to be output after a "next" in
273 async mode too. Make it a pass/fail test.
274 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
276 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
278 2014-05-21 Pedro Alves <palves@redhat.com>
280 * gdb.base/list.exp (build_pattern, test_list): New procedures.
281 Use them to test variations of "list" after reaching a breakpoint.
282 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
283 Test "list" with listsize 10 after reaching a breakpoint.
284 * gdb.python/python.exp (decode_line current location line
285 number): Adjust expected line number.
287 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
289 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
290 behavior for $args, pass it directly to "run".
292 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
294 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
297 2014-05-21 Pedro Alves <palves@redhat.com>
299 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
300 auto-connect-native-target off".
301 * gdb.base/auto-connect-native-target.c: New file.
302 * gdb.base/auto-connect-native-target.exp: New file.
304 2014-05-21 Pedro Alves <palves@redhat.com>
306 * gdb.base/default.exp: Test "target native" instead of "target
309 2014-05-21 Mark Wielaard <mjw@redhat.com>
311 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
313 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
315 Fix TLS access for -static -pthread.
316 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
317 <HAVE_TLS> (thread_function, main): Initialize it.
318 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
320 <$have_tls != "">: Check TLSVAR.
322 2014-05-21 Pedro Alves <palves@redhat.com>
324 * gdb.base/dcache-line-read-error.c: New.
325 * gdb.base/dcache-line-read-error.exp: New.
327 2014-05-20 Pedro Alves <palves@redhat.com>
329 * gdb.base/compare-sections.c: New file.
330 * gdb.base/compare-sections.exp: New file.
332 2014-05-20 Pedro Alves <palves@redhat.com>
334 * gdb.base/break-idempotent.c: New file.
335 * gdb.base/break-idempotent.exp: New file.
337 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
339 * gdb.btrace/nohist.exp: New.
341 2014-05-20 Yao Qi <yao@codesourcery.com>
343 * lib/gdb.exp (gdb_init): Set timeout if test file is under
344 gdb.reverse directory and gdb_reverse_timeout exists in board
346 * README: Document gdb_reverse_timeout.
348 2014-05-20 Yao Qi <yao@codesourcery.com>
350 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
351 'test_file_name'. Treat args as a string instead of a list.
352 (gdb_init): Rename argument 'args' by 'test_file_name'.
354 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
356 * gdb.arch/powerpc-power.exp: New file.
357 * gdb.arch/powerpc-power.s: New file.
359 2014-05-16 Doug Evans <dje@google.com>
361 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
362 * gdb.base/completion.exp: Check that all expected files exist
363 before doing file completion.
365 2014-05-16 Doug Evans <dje@google.com>
367 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
369 (do_syscall_tests_without_xml): Update.
371 2014-05-16 Pedro Alves <palves@redhat.com>
373 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
374 instead of "unknown output after running".
376 2014-05-16 Yao Qi <yao@codesourcery.com>
378 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
379 file1.txt from host at the end.
380 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
382 2014-05-15 Doug Evans <dje@google.com>
384 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
385 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
386 loading file. Add test for TU lookup.
388 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
390 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
391 calling "-exec-arguments" or "set args" before running the
394 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
396 * lib/mi-support.exp (mi_expect_stop): Expect message for
397 inferiors that exit with non-zero exit code.
399 2014-05-14 Yao Qi <yao@codesourcery.com>
401 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
402 match absolute path on remote host.
403 (test_file_list_exec_source_files): Remove "/" from the
406 2014-05-14 Yao Qi <yao@codesourcery.com>
408 * boards/local-remote-host-notty.exp (${board}_file): New
411 2014-05-07 Kyle McMartin <kyle@redhat.com>
413 Pushed by Joel Brobecker <brobecker@adacore.com>.
414 * gdb.arch/aarch64-atomic-inst.c: New file.
415 * gdb.arch/aarch64-atomic-inst.exp: New file.
417 2014-05-07 Yao Qi <yao@codesourcery.com>
419 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
420 in current context" too.
422 2014-05-05 Keith Seitz <keiths@redhat.com>
424 * gdb.linespec/ls-dollar.exp: Add test for linespec
425 file:convenience_variable.
427 2014-05-05 Yao Qi <yao@codesourcery.com>
429 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
430 traceframes into tfile and ctf trace files. Read data from
431 trace file and test collected data.
432 (gdb_collect_locals_test): Likewise.
433 (gdb_unavailable_registers_test): Likewise.
434 (gdb_unavailable_floats): Likewise.
435 (gdb_collect_globals_test): Likewise.
436 (top-level): Append "ctf" to trace_file_targets if GDB
439 2014-05-05 Yao Qi <yao@codesourcery.com>
441 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
443 (gdb_collect_args_test_1): ... it. New proc.
444 (gdb_collect_locals_test): Move some code to ...
445 (gdb_collect_locals_test_1): ... it. New proc.
446 (gdb_unavailable_registers_test): Move some code to ...
447 (gdb_unavailable_registers_test_1): ... it. New proc.
448 (gdb_unavailable_floats): Move some code to ...
449 (gdb_unavailable_floats_1): ... it. New proc.
451 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
453 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
454 probes to test for bitness recognition.
455 * gdb.arch/amd64-stap-optional-prefix.exp
456 (test_probe_value_without_reg): New procedure.
457 Add code to test for different kinds of bitness.
459 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
462 * gdb.arch/amd64-stap-optional-prefix.S: New file.
463 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
465 2014-05-01 Pedro Alves <palves@redhat.com>
467 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
468 gdb_file_cmd if no file is specified.
469 * boards/native-extended-gdbserver.exp (gdb_load): Use the
470 last_loaded_file to set the remote exec-file.
472 2014-05-01 Pedro Alves <palves@redhat.com>
474 * boards/local-remote-host.exp: New file.
476 2014-05-01 Pedro Alves <palves@redhat.com>
478 * boards/local-remote-host.exp: Rename to ...
479 * boards/local-remote-host-notty.exp: ... this.
481 2014-04-28 Joel Brobecker <brobecker@adacore.com>
483 * gdb.ada/dyn_arrayidx: New testcase.
485 2014-04-26 Yao Qi <yao@codesourcery.com>
487 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
488 and compute the length of function main. Save it in
490 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
491 (top-level): Use gdb_compile to compile objects into
492 executable and restart GDB. Remove invocation to
495 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
496 Pedro Alves <palves@redhat.com>
499 * gdb.multi/multi-attach.c: New file.
500 * gdb.multi/multi-attach.exp: New file.
502 2014-04-25 Pedro Alves <palves@redhat.com>
504 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
506 (top level): Test that "set remote conditional-breakpoints-packet
507 off" works as intended.
508 * gdb.base/dprintf.exp: Test that "set remote
509 breakpoint-commands-packet off" works as intended.
510 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
512 (top level): Call it.
513 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
514 remote fast-tracepoints-packet off" works as intended.
515 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
516 * lib/gdb.exp (gdb_is_target_remote): ... here.
518 2014-04-24 David Blaikie <dblaikie@gmail.com>
520 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
521 ensure clang would not discard them.
522 * gdb.base/gdbvars.c: Ditto.
523 * gdb.base/memattr.c: Ditto.
524 * gdb.base/whatis.c: Ditto.
525 * gdb.python/py-prettyprint.c: Ditto.
526 * gdb.trace/actions.c: Ditto.
527 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
528 ensure clang would not discard it.
530 2014-04-24 David Blaikie <dblaikie@gmail.com>
532 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
533 clang to emit the full definition of type required by the test
534 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
536 2014-04-24 David Blaikie <dblaikie@gmail.com>
538 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
539 coax Clang into emitting the definition of the type.
540 * gdb.cp/pr10728-x.h (y): Ditto.
541 * gdb.cp/pr10728-y.cc (y): Ditto.
543 2014-04-24 David Blaikie <dblaikie@gmail.com>
545 * gdb.base/label.exp: XFAIL label related tests under Clang.
546 * gdb.cp/cplabel.exp: Ditto.
547 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
548 under Clang those using labels.
550 2014-04-25 Yao Qi <yao@codesourcery.com>
552 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
554 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
555 partial_label and double_label.
557 2014-04-24 David Blaikie <dblaikie@gmail.com>
559 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
561 2014-04-24 David Blaikie <dblaikie@gmail.com>
563 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
564 of the function to work across GCC and Clang.
565 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
566 pointer types (const void ** const V void **).
568 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
569 Walfred Tedeschi <walfred.tedeschi@intel.com>
571 * Makefile.in (EXECUTABLES): Added i386-avx512.
572 * gdb.arch/i386-avx512.c: New file.
573 * gdb.arch/i386-avx512.exp: Likewise.
575 2014-04-23 Keith Seitz <keiths@redhat.com>
577 * lib/mi-support.exp (mi_list_breakpoints): Delete.
578 (mi_make_breakpoint_table): New procedure.
579 (mi_create_breakpoint): Use mi_make_breakpoint
580 and return the result.
581 (mi_make_breakpoint): New procedure.
582 (mi_build_kv_pairs): New procedure.
584 * gdb.mi/mi-break.exp: Remove unused globals,
585 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
587 * gdb.mi/mi-dprintf.exp: Use variable to track command
589 Update all callers of mi_create_breakpoint and use
590 mi_make_breakpoint_table.
591 Remove any unused global variables.
592 * gdb.mi/mi-nonstop.exp: Likewise.
593 * gdb.mi/mi-nsintrall.exp: Likewise.
594 * gdb.mi/mi-nsmoribund.exp: Likewise.
595 * gdb.mi/mi-nsthrexec.exp: Likewise.
596 * gdb.mi/mi-reverse.exp: Likewise.
597 * gdb.mi/mi-simplerun.exp: Likewise.
598 * gdb.mi/mi-stepn.exp: Likewise.
599 * gdb.mi/mi-syn-frame.exp: Likewise.
600 * gdb.mi/mi-until.exp: Likewise.
601 * gdb.mi/mi-var-cp.exp: Likewise.
602 * gdb.mi/mi-var-display.exp: Likewise.
603 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
604 * gdb.mi/mi2-var-child.exp: Likewise.
605 * gdb.mi/mi-vla-c99.exp: Likewise.
606 * lib/mi-support.exp: Likewise.
608 From Ian Lance Taylor <iant@cygnus.com>:
609 * lib/gdb.exp (parse_args): New procedure.
611 2014-04-23 Pedro Alves <palves@redhat.com>
613 * gdb.base/break-unload-file.c: New file.
614 * gdb.base/break-unload-file.exp: New file.
615 * gdb.base/sym-file-lib.c (baz): New function.
616 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
618 (load): Store the segment's mapped size.
619 (unload): New function.
620 (unload_shlib): New function.
621 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
622 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
623 set a breakpoint at baz, and call it.
624 * gdb.base/sym-file.exp: New tests for stale breakpoint
627 2014-04-23 Pedro Alves <palves@redhat.com>
629 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
630 * gdb.base/hbreak-in-shr-unsupported.c: New file.
631 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
632 * gdb.base/hbreak-unmapped.c: New file.
633 * gdb.base/hbreak-unmapped.exp: New file.
634 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
635 * lib/gdb.exp (gdb_is_target_remote): ... here.
637 2014-04-22 Pedro Alves <palves@redhat.com>
639 * gdb.base/consecutive-step-over.c: New file.
640 * gdb.base/consecutive-step-over.exp: New file.
642 2014-04-22 Pedro Alves <palves@redhat.com>
644 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
645 instead of send_gdb/gdb_expect.
647 2014-04-22 Yao Qi <yao@codesourcery.com>
649 * lib/trace-support.exp (generate_tracefile): New procedure.
650 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
652 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
653 if generate_tracefile returns 1.
655 2014-04-18 Tom Tromey <palves@redhat.com>
656 Pedro alves <tromey@redhat.com>
659 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
660 with a backtrace limit.
661 * gdb.python/py-frame-inline.exp: Test running to an inline
662 function with a backtrace limit, and printing the newest frame.
663 * gdb.python/py-frame-inline.c (main): Call f.
665 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
667 * gdb.java/jnpe.exp: Drop srcdir from untested path.
669 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
671 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
672 Drop prefix from unsupported source file path.
674 2014-04-17 Yao Qi <yao@codesourcery.com>
676 * lib/gdb.exp (with_target_charset): New proc.
677 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
679 (test_print_strings): Likewise.
680 (test_repeat_bytes): Likewise.
681 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
684 2014-04-16 Keith Seitz <keiths@redhat.com>
687 * gdb.dwarf2/corrupt.c: New file.
688 * gdb.dwarf2/corrupt.exp: New file.
690 2014-04-16 Keith Seitz <keiths@redhat.com>
693 * gdb.cp/namelessclass.cc: New file.
694 * gdb.cp/namelessclass.exp: New file.
695 * gdb.cp/namelessclass.S: New file.
697 2014-04-16 Doug Evans <dje@google.com>
699 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
701 (gdbserver_default_get_comm_port): New function.
702 (gdbserver_start): Check if board file provided
703 "gdbserver,get_comm_port" and use it if so.
704 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
705 (gdb,socketport): Set to "stdio".
706 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
707 (stdio_gdbserver_template): Delete.
708 (${board}_get_remote_address): Update.
709 (${board}_build_remote_cmd): Delete.
710 (${board}_get_comm_port): New function.
711 (${board}_spawn): Update.
712 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
714 (${board}_get_remote_address): Update.
715 (${board}_get_comm_port): New function.
717 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
719 * gdb.base/memattr.exp: Improve regexps to handle memory regions
720 appearing in any order.
722 2014-04-15 Doug Evans <dje@google.com>
724 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
725 uninitialized value of "description".
727 2014-04-15 Keith Seitz <keiths@redhat.com>
729 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
730 Remove unused globals.
731 (test_running_the_program): Likewise.
732 (test_controlled_execution): Likewise.
733 (test_controlling_breakpoints): Likewise.
734 (test_program_termination): Likewise.
736 2014-04-15 Keith Seitz <keiths@redhat.com>
738 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
740 (test_rbreak_creation_and_listing): Likewise.
741 (test_ignore_count): Likewise.
742 (test_error): Likewise.
744 2014-04-15 Pedro Alves <palves@redhat.com>
746 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
747 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
749 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
750 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
751 to sym-file-loader.c.
752 (struct library): Forward declare.
753 (load_shlib, lookup_function): Change prototypes.
754 (find_shstrtab, find_strtab, find_shdr, find_symtab)
755 (translate_offset): Remove declarations.
756 (get_text_addr): New declaration.
757 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
758 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
760 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
761 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
762 here from sym-file-loader.h.
763 (struct library): New structure.
764 (load_shlib, lookup_function): Change prototypes and adjust to
765 work with a struct library.
766 (find_shstrtab, find_strtab, find_shdr, find_symtab)
767 (translate_offset): Make static.
768 (get_text_addr): New function.
769 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
771 2014-04-15 Pedro Alves <palves@redhat.com>
773 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
775 2014-04-15 Pedro Alves <palves@redhat.com>
777 * gdb.base/sym-file-loader.c: Include <limits.h>.
778 (SELF_LINK): New define.
779 (get_origin): New function.
780 (load_shlib): Use it.
781 * gdb.base/sym-file.exp: Don't early return if the target is
782 remote. Use runto_main, and issue fail is that fails. Use
784 (shlib_name): Delete.
785 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
787 2014-04-15 Pedro Alves <palves@redhat.com>
789 * gdb.base/sym-file.exp: Remove regex characters from test
790 message. Don't refer to breakpoint numbers in test messages.
792 2014-04-14 Keith Seitz <keiths@redhat.com>
795 * gdb.cp/var-tag.cc: New file.
796 * gdb.cp/var-tag.exp: New file.
797 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
798 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
799 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
800 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
802 2014-04-14 Tom Tromey <tromey@redhat.com>
804 * gdb.cp/classes.exp (test_enums): Handle underlying type.
805 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
807 * gdb.cp/enum-class.exp: New file.
808 * gdb.cp/enum-class.cc: New file.
810 2014-04-14 Tom Tromey <tromey@redhat.com>
812 * gdb.dwarf2/enum-type.exp: New file.
814 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
816 * gdb.mi/mi-vla-c99.exp: New file.
817 * gdb.mi/vla.c: New file.
819 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
821 * gdb.base/vla-datatypes.c: New file.
822 * gdb.base/vla-datatypes.exp: New file.
824 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
826 * gdb.base/vla-ptr.c: New file.
827 * gdb.base/vla-ptr.exp: New file.
829 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
831 * gdb.dwarf2/count.exp: New file.
833 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
835 * gdb.base/vla-sideeffect.c: New file.
836 * gdb.base/vla-sideeffect.exp: New file.
838 2014-04-14 David Blaikie <dblaikie@gmail.com>
840 * gdb.mi/non-stop.c: Add return value for non-void function return
842 * gdb.threads/staticthreads.c: Ditto.
844 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
845 Doug Evans <xdje42@gmail.com>
847 * gdb.guile/scm-value.c: Improve test case.
848 * gdb.guile/scm-value.exp: Add new test.
850 2014-04-11 David Blaikie <dblaikie@gmail.com>
852 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
853 override Clang's default.
855 2014-04-11 Joel Brobecker <brobecker@adacore.com>
857 Revert the following changes (regressions):
859 * gdb.base/vla-sideeffect.c: New file.
860 * gdb.base/vla-sideeffect.exp: New file.
862 * gdb.dwarf2/count.exp: New file.
864 * gdb.base/vla-multi.c: New file.
865 * gdb.base/vla-multi.exp: New file.
867 * gdb.base/vla-ptr.c: New file.
868 * gdb.base/vla-ptr.exp: New file.
870 * gdb.base/vla-datatypes.c: New file.
871 * gdb.base/vla-datatypes.exp: New file.
873 * gdb.mi/mi-vla-c99.exp: New file.
874 * gdb.mi/vla.c: New file.
876 2014-04-11 Keith Seitz <keiths@redhat.com>
879 * gdb.cp/cpsizeof.exp: New file.
880 * gdb.cp/cpsizeof.cc: New file.
882 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
884 * gdb.mi/mi-vla-c99.exp: New file.
885 * gdb.mi/vla.c: New file.
887 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
889 * gdb.base/vla-datatypes.c: New file.
890 * gdb.base/vla-datatypes.exp: New file.
892 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
894 * gdb.base/vla-ptr.c: New file.
895 * gdb.base/vla-ptr.exp: New file.
897 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
899 * gdb.base/vla-multi.c: New file.
900 * gdb.base/vla-multi.exp: New file.
902 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
904 * gdb.dwarf2/count.exp: New file.
906 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
908 * gdb.base/vla-sideeffect.c: New file.
909 * gdb.base/vla-sideeffect.exp: New file.
911 2014-04-11 Yao Qi <yao@codesourcery.com>
913 * gdb.base/completion.exp: Check file exists before running tests
916 2014-04-10 Pedro Alves <palves@redhat.com>
918 * gdb.base/cond-eval-mode.c: New file.
919 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
920 prepare_for_testing to build the new file. Check result of
922 (test_break, test_watch): New procedures.
923 (top level): Use them.
925 2014-04-08 Pierre Muller <muller@sourceware.org>
927 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
928 Ctrl-V use for mingw hosts.
930 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
932 * gdb.python/py-value.c: Improve test case.
933 * gdb.python/py-value.exp: Add new test.
935 2014-04-07 David Blaikie <dblaikie@gmail.com>
937 * lib/compiler.c: Identify the clang compiler.
938 * lib/compiler.cc: Ditto.
940 2014-04-03 Yao Qi <yao@codesourcery.com>
942 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
944 2014-04-01 Anton Blanchard <anton@samba.org>
946 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
949 2014-04-01 Anton Blanchard <anton@samba.org>
951 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
954 2014-04-01 Anton Blanchard <anton@samba.org>
956 * gdb.arch/ppc64-atomic-inst.c: Remove.
957 * gdb.arch/ppc64-atomic-inst.S: New file.
958 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
960 2014-03-31 Doug Evans <dje@google.com>
962 * gdb.base/print-symbol-loading-lib.c: New file.
963 * gdb.base/print-symbol-loading-main.c: New file.
964 * gdb.base/print-symbol-loading.exp: New file.
966 2014-03-31 Yao Qi <yao@codesourcery.com>
968 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
970 2014-03-28 Joel Brobecker <brobecker@adacore.com>
972 * gdb.ada/mi_dyn_arr: New testcase.
974 2014-03-27 Doug Evans <dje@google.com>
976 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
978 2014-03-27 Yao Qi <yao@codesourcery.com>
980 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
981 if target is nios2-*-*.
983 2014-03-26 Yao Qi <yao@codesourcery.com>
985 * lib/gdb.exp (readline_is_used): New proc.
986 * gdb.base/completion.exp: Move tests on command complete up.
987 Skip the rest of tests if readline is not used.
988 * gdb.ada/complete.exp: Skp the test if readline is not
990 * gdb.base/filesym.exp: Likewise.
991 * gdb.base/macscp.exp: Likewise.
992 * gdb.base/readline-ask.exp: Likewise.
993 * gdb.base/readline.exp: Likewise.
994 * gdb.python/py-cmd.exp: Likewise.
995 * gdb.trace/tfile.exp: Likewise.
997 2014-03-26 Yao Qi <yao@codesourcery.com>
999 * gdb.base/macscp.exp: Fix code format issues.
1001 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1003 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1004 * gdb.asm/powerpc64le.inc: New file.
1006 2014-03-25 Pedro Alves <palves@redhat.com>
1007 Doug Evans <dje@google.com>
1009 * gdb.base/source-execution.c: New file.
1010 * gdb.base/source-execution.exp: New file.
1011 * gdb.base/source-execution.gdb: New file.
1013 2014-03-24 Doug Evans <dje@google.com>
1015 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1018 2014-03-24 Hui Zhu <hui@codesourcery.com>
1019 Pedro Alves <palves@redhat.com>
1021 PR breakpoints/16101
1022 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1023 test pass/fail messages. Detect missing support for dprintf when
1024 breakpoints are actually inserted.
1025 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1026 breakpoints are actually inserted.
1027 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1030 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1032 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1034 2014-03-22 Doug Evans <xdje42@gmail.com>
1036 * gdb.python/python.exp (python not supported): Verify multi-line
1037 python command issues an error.
1038 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1039 guile command issues an error.
1041 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1043 * gdb.threads/thread-specific.exp: Handle the lack of usable
1044 $this_breakpoint and $this_thread.
1046 2014-03-21 Hui Zhu <hui@codesourcery.com>
1048 * gdb.base/attach.exp (do_command_attach_tests): New.
1050 2014-03-20 Tom Tromey <tromey@redhat.com>
1051 Pedro Alves <palves@redhat.com>
1054 * gdb.base/condbreak-call-false.c: New file.
1055 * gdb.base/condbreak-call-false.exp: New file.
1057 2014-03-20 Pedro Alves <palves@redhat.com>
1059 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1061 (block_signals, unblock_signals): Delete.
1062 (child_function_2, main): Remove references to deleted variable
1065 2014-03-20 Pedro Alves <palves@redhat.com>
1067 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1068 Use pthread_kill to signal thread 2.
1069 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1070 Adjust to make the test send itself a signal rather than using the
1071 host's "kill" command.
1073 2014-03-20 Pedro Alves <palves@redhat.com>
1075 * gdb.threads/multiple-step-overs.c: New file.
1076 * gdb.threads/multiple-step-overs.exp: New file.
1077 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1078 Adjust expected infrun debug output.
1080 2014-03-20 Pedro Alves <palves@redhat.com>
1082 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1083 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1085 2014-03-20 Pedro Alves <palves@redhat.com>
1088 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1089 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1090 of gdb_test_multiple.
1091 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1092 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1094 2014-03-20 Pedro Alves <palves@redhat.com>
1096 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1097 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1099 2014-03-19 Pedro Alves <palves@redhat.com>
1101 * gdb.base/async.exp: Remove early return.
1103 2014-03-19 Pedro Alves <palves@redhat.com>
1105 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1107 2014-03-19 Pedro Alves <palves@redhat.com>
1109 * gdb.base/async.exp (test_background): Expect \r\n after
1110 "completed." in the fail pattern.
1112 2014-03-19 Pedro Alves <palves@redhat.com>
1114 * gdb.base/async.exp (test_background): New procedure.
1115 Use it for all background execution command tests.
1117 2014-03-19 Pedro Alves <palves@redhat.com>
1119 * gdb.base/async.exp: Use prepare_for_testing.
1121 2014-03-19 Pedro Alves <palves@redhat.com>
1123 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1126 2014-03-19 Pedro Alves <palves@redhat.com>
1128 * gdb.base/async.c (main): Add "jump here" and "until here" line
1130 * gdb.base/async.exp (jump_here): New global.
1131 (jump& test): Use it.
1132 (until_here): New global.
1133 (until& test): Use it.
1135 2014-03-19 Pedro Alves <palves@redhat.com>
1137 * gdb.base/async.exp: Don't frob gdb_protocol.
1139 2014-03-18 Doug Evans <xdje42@gmail.com>
1141 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1142 Fix spelling of exec-done-display.
1144 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1147 * gdb.base/gdb-sigterm.c: New file.
1148 * gdb.base/gdb-sigterm.exp: New file.
1150 2014-03-18 Pedro Alves <palves@redhat.com>
1153 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1154 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1157 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1159 * gdb.ada/pckd_arr_ren: New testcase.
1161 2014-03-13 Doug Evans <xdje42@gmail.com>
1164 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1165 collect after discarding symbols.
1167 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1168 Doug Evans <xdje42@gmail.com>
1170 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1171 to history survives a gc.
1173 2014-03-13 Pedro Alves <palves@redhat.com>
1175 * gdb.base/default.exp: Don't test "target procfs".
1177 2014-03-13 Pedro Alves <palves@redhat.com>
1179 * gdb.base/default.exp: Update "target child" and "target procfs"
1180 tests to not expect "Unix".
1182 2014-03-12 Tom Tromey <tromey@redhat.com>
1184 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1185 New procs. Add target-async tests.
1186 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1187 Add target-async tests.
1189 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1191 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1192 'func_start' and 'func_end' for the beginning and end of the
1193 function code, respectively.
1194 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1195 'func_end' instead of 'func' and 'main'.
1197 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1199 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1200 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1201 generate the debug info assembler source.
1203 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1205 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1206 * gdb.dwarf2/arr-subrange.exp: Likewise.
1207 * gdb.dwarf2/dwz.exp: Likewise.
1208 * gdb.dwarf2/method-ptr.exp: Likewise.
1209 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1210 * gdb.dwarf2/subrange.exp: Likewise.
1211 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1212 * gdb.dwarf2/implptrpiece.exp: Likewise.
1213 * gdb.dwarf2/nostaticblock.exp: Likewise.
1215 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1217 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1218 directory to absolute path name arguments.
1220 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1222 * gdb.ada/tagged_access: New testcase.
1224 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1226 * gdb.btrace/data.exp: Update expected output.
1228 2014-03-06 Yao Qi <yao@codesourcery.com>
1230 * gdb.trace/pr16508.exp: New file.
1232 2014-03-05 Pedro Alves <palves@redhat.com>
1235 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1237 (top level): Adjust to use it. Add tests that exercise breakpoint
1238 interaction with the code-cache.
1240 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1242 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1243 test for 'history-append!'.
1245 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1247 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1248 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1249 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1250 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1251 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1252 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1254 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1256 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1257 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1258 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1260 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1262 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1264 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1266 * gdb.dwarf2/arr-stride.c: New file.
1267 * gdb.dwarf2/arr-stride.exp: New file.
1269 2014-02-26 Pedro Alves <palves@redhat.com>
1271 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1272 that won't ever trigger. Make sure that GDB reports the correct
1273 breakpoint that caused the stop.
1275 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1278 * gdb.base/auto-load-script: New file.
1279 * gdb.base/auto-load.c: New file.
1280 * gdb.base/auto-load.exp: New file.
1283 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1285 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1287 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1288 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1290 2014-02-24 Doug Evans <dje@google.com>
1292 * lib/gdb.exp (run_on_host): Log error output if program fails.
1294 2014-02-21 Pedro Alves <palves@redhat.com>
1296 * gdb.threads/step-after-sr-lock.c: Rename to ...
1297 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1298 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1299 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1302 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1305 * gdb.arch/amd64-stap-special-operands.exp: New file.
1306 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1307 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1308 * gdb.arch/amd64-stap-triplet.S: Likewise.
1309 * gdb.arch/amd64-stap-triplet.c: Likewise.
1311 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1313 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1314 in .section pseudo-op.
1316 2014-02-20 lin zuojian <manjian2006@gmail.com>
1317 Joel Brobecker <brobecker@adacore.com>
1318 Doug Evans <xdje42@gmail.com>
1321 * gdb.dwarf2/dw2-icycle.S: New file.
1322 * gdb.dwarf2/dw2-icycle.c: New file.
1323 * gdb.dwarf2/dw2-icycle.exp: New file.
1325 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1327 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1328 operations on gdb.Value objects.
1329 * gdb.python/py-value-cc.exp: Add new test to test operations on
1332 2014-02-18 Doug Evans <dje@google.com>
1334 * Makefile.in (TESTS): New variable.
1335 (expanded_tests, expanded_tests_or_none): New variables
1336 (check-single): Pass $(expanded_tests_or_none) to runtest.
1337 (check-parallel): Only run tests in $(TESTS) if non-empty.
1338 (check/no-matching-tests-found): New rule.
1339 * README: Document TESTS makefile variable.
1341 2014-02-18 Doug Evans <dje@google.com>
1343 * Makefile.in (check-parallel): rm -rf outputs temp.
1345 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1347 Fix "ERROR: no fileid for" in the testsuite.
1348 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1350 2014-02-12 Doug Evans <dje@google.com>
1352 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1353 (MISCELLANEOUS): New variable.
1354 (clean): rm -rf $(MISCELLANEOUS).
1355 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1356 dwp live in the same directory as symlinks, with each symlink pointed
1357 to a differently named file in a different directory.
1359 2014-02-11 Doug Evans <dje@google.com>
1361 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1362 of Tcl file commands.
1364 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1366 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1369 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1371 * gdb.ada/tick_length_array_enum_idx: New testcase.
1373 2014-02-10 Doug Evans <xdje42@gmail.com>
1375 * configure.ac (AC_OUTPUT): Add gdb.guile.
1376 * configure: Regenerate.
1377 * lib/gdb-guile.exp: New file.
1378 * lib/gdb.exp (get_target_charset): New function.
1379 * gdb.base/help.exp: Update expected output from "apropos apropos".
1380 * gdb.guile/Makefile.in: New file.
1381 * gdb.guile/guile.exp: New file.
1382 * gdb.guile/scm-arch.c: New file.
1383 * gdb.guile/scm-arch.exp: New file.
1384 * gdb.guile/scm-block.c: New file.
1385 * gdb.guile/scm-block.exp: New file.
1386 * gdb.guile/scm-breakpoint.c: New file.
1387 * gdb.guile/scm-breakpoint.exp: New file.
1388 * gdb.guile/scm-disasm.c: New file.
1389 * gdb.guile/scm-disasm.exp: New file.
1390 * gdb.guile/scm-equal.c: New file.
1391 * gdb.guile/scm-equal.exp: New file.
1392 * gdb.guile/scm-error.exp: New file.
1393 * gdb.guile/scm-error.scm: New file.
1394 * gdb.guile/scm-frame-args.c: New file.
1395 * gdb.guile/scm-frame-args.exp: New file.
1396 * gdb.guile/scm-frame-args.scm: New file.
1397 * gdb.guile/scm-frame-inline.c: New file.
1398 * gdb.guile/scm-frame-inline.exp: New file.
1399 * gdb.guile/scm-frame.c: New file.
1400 * gdb.guile/scm-frame.exp: New file.
1401 * gdb.guile/scm-generics.exp: New file.
1402 * gdb.guile/scm-gsmob.exp: New file.
1403 * gdb.guile/scm-iterator.c: New file.
1404 * gdb.guile/scm-iterator.exp: New file.
1405 * gdb.guile/scm-math.c: New file.
1406 * gdb.guile/scm-math.exp: New file.
1407 * gdb.guile/scm-objfile-script-gdb.in: New file.
1408 * gdb.guile/scm-objfile-script.c: New file.
1409 * gdb.guile/scm-objfile-script.exp: New file.
1410 * gdb.guile/scm-objfile.c: New file.
1411 * gdb.guile/scm-objfile.exp: New file.
1412 * gdb.guile/scm-ports.exp: New file.
1413 * gdb.guile/scm-pretty-print.c: New file.
1414 * gdb.guile/scm-pretty-print.exp: New file.
1415 * gdb.guile/scm-pretty-print.scm: New file.
1416 * gdb.guile/scm-section-script.c: New file.
1417 * gdb.guile/scm-section-script.exp: New file.
1418 * gdb.guile/scm-section-script.scm: New file.
1419 * gdb.guile/scm-symbol.c: New file.
1420 * gdb.guile/scm-symbol.exp: New file.
1421 * gdb.guile/scm-symtab-2.c: New file.
1422 * gdb.guile/scm-symtab.c: New file.
1423 * gdb.guile/scm-symtab.exp: New file.
1424 * gdb.guile/scm-type.c: New file.
1425 * gdb.guile/scm-type.exp: New file.
1426 * gdb.guile/scm-value-cc.cc: New file.
1427 * gdb.guile/scm-value-cc.exp: New file.
1428 * gdb.guile/scm-value.c: New file.
1429 * gdb.guile/scm-value.exp: New file.
1430 * gdb.guile/source2.scm: New file.
1431 * gdb.guile/types-module.cc: New file.
1432 * gdb.guile/types-module.exp: New file.
1434 2014-02-10 Yao Qi <yao@codesourcery.com>
1437 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1438 * configure: Regenerated.
1439 * Makefile.in: New file.
1441 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1443 * gdb.python/py-framefilter.exp: Fix typo.
1445 2014-02-08 Yao Qi <yao@codesourcery.com>
1447 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1448 that no =breakpoint-modified is emitted when breakpoints are
1449 modified through MI commands.
1451 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1452 Pedro Alves <palves@redhat.com>
1454 * gdb.threads/step-after-sr-lock.c: New file.
1455 * gdb.threads/step-after-sr-lock.exp: New file.
1457 2014-02-07 Pedro Alves <palves@redhat.com>
1459 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1461 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1463 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1464 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1466 2014-02-06 Doug Evans <xdje42@gmail.com>
1468 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1471 * gdb.gdb/python-interrupts.exp: New file.
1473 2014-02-05 Yao Qi <yao@codesourcery.com>
1475 * gdb.trace/report.exp (use_collected_data): Test the output
1476 of "info threads" and "info inferiors".
1478 2014-02-05 Yao Qi <yao@codesourcery.com>
1482 2013-05-24 Yao Qi <yao@codesourcery.com>
1484 * gdb.trace/tfile.exp: Test inferior and thread.
1486 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1488 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1490 * gdb.base/step-bt.c: Call hello via function pointer to make
1491 sure its first instruction is executed on powerpc64le-linux.
1493 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1495 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1497 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1499 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1500 of the test patterns for use on little-endian systems.
1502 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1504 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1505 (decimal_vector): Fix for little-endian.
1507 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1509 * gdb.arch/sparc-sysstep.exp: New file.
1510 * gdb.arch/sparc-sysstep.c: Likewise.
1512 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1514 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1516 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1518 2014-01-23 Tom Tromey <tromey@redhat.com>
1520 * gdb.ada/array_char_idx: New testcase.
1522 2014-01-23 Tom Tromey <tromey@redhat.com>
1525 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1526 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1529 2014-01-23 Tom Tromey <tromey@redhat.com>
1532 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1533 string from an inferior frame.
1534 * gdb.python/py-framefilter-mi.exp: Update.
1536 2014-01-22 Doug Evans <dje@google.com>
1538 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1540 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1542 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1544 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1546 * gdb.trace/entry-values.exp: Remove excess space character from
1547 regex patterns. Handle s390 call instruction.
1549 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1551 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1552 define "*_start" label. Make "name" static.
1553 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1554 ${name} by references to ${name}_start.
1556 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1558 * gdb.base/info-macros.exp: Remove "debug" from the compile
1561 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1563 * gdb.dlang/demangle.exp: New file.
1565 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1567 * gdb.dlang/primitive-types.exp: New file.
1569 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1571 * configure.ac: Create gdb.dlang/Makefile.
1572 * configure: Regenerate.
1573 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1574 * gdb.dlang/Makefile.in: New file.
1575 * lib/d-support.exp: New file.
1576 * lib/gdb.exp (skip_d_tests): New proc.
1578 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1580 * gdb.btrace/delta.exp: Check reverse stepi.
1581 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1582 * gdb.btrace/finish.exp: New.
1583 * gdb.btrace/next.exp: New.
1584 * gdb.btrace/nexti.exp: New.
1585 * gdb.btrace/record_goto.c: Add comments.
1586 * gdb.btrace/step.exp: New.
1587 * gdb.btrace/stepi.exp: New.
1588 * gdb.btrace/multi-thread-step.c: New.
1589 * gdb.btrace/multi-thread-step.exp: New.
1590 * gdb.btrace/rn-dl-bind.c: New.
1591 * gdb.btrace/rn-dl-bind.exp: New.
1592 * gdb.btrace/data.c: New.
1593 * gdb.btrace/data.exp: New.
1594 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1596 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1598 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1599 * gdb.btrace/exception.exp: Update.
1600 * gdb.btrace/instruction_history.exp: Update.
1601 * gdb.btrace/record_goto.exp: Update.
1602 * gdb.btrace/tailcall.exp: Update.
1603 * gdb.btrace/unknown_functions.exp: Update.
1604 * gdb.btrace/delta.exp: New.
1606 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1608 * gdb.btrace/record_goto.exp: Add backtrace test.
1609 * gdb.btrace/tailcall.exp: Add backtrace test.
1611 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1613 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1614 * gdb.btrace/record_goto.c: New.
1615 * gdb.btrace/record_goto.exp: New.
1616 * gdb.btrace/x86-record_goto.S: New.
1618 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1620 * gdb.btrace/function_call_history.exp: Update tests.
1621 * gdb.btrace/instruction_history.exp: Update tests.
1623 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1625 * gdb.btrace/function_call_history.exp: Fix expected field
1626 order for "record function-call-history".
1627 Add new tests for "record function-call-history /c".
1628 * gdb.btrace/exception.cc: New.
1629 * gdb.btrace/exception.exp: New.
1630 * gdb.btrace/tailcall.exp: New.
1631 * gdb.btrace/x86-tailcall.S: New.
1632 * gdb.btrace/x86-tailcall.c: New.
1633 * gdb.btrace/unknown_functions.c: New.
1634 * gdb.btrace/unknown_functions.exp: New.
1635 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1637 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1639 * gdb.btrace/instruction_history.exp: Update.
1640 * gdb.btrace/function_call_history.exp: Update.
1642 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1644 * gdb.btrace/function_call_history.exp: Fix expected function
1646 * gdb.btrace/instruction_history.exp: Initialize traced.
1647 Remove traced_functions.
1649 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1651 * gdb.btrace/function_call_history.exp: Update
1652 * gdb.btrace/instruction_history.exp: Update.
1654 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1656 * gdb.btrace/enable.exp: Update expected text.
1658 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1660 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1663 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1665 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1667 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1669 * lib/gdb.exp (supports_process_record): Return true for
1670 arm*-linux*. (supports_reverse): Likewise.
1672 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1676 * gdb.python/py-type.c: Enhance test case.
1677 * gdb.python/py-value-cc.cc: Likewise
1678 * gdb.python/py-type.exp: Add new tests.
1679 * gdb.python/py-value-cc.exp: Likewise
1681 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1682 Pedro Alves <palves@redhat.com>
1684 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1686 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1687 references to ${name}_start by references to ${name}.
1689 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1691 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1693 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1695 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1697 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1698 Pedro Alves <palves@redhat.com>
1700 * gdb.mi/mi-info-os.exp: Connect to the target with
1703 2014-01-08 Pedro Alves <palves@redhat.com>
1705 * gdb.threads/reconnect-signal.c: New file.
1706 * gdb.threads/reconnect-signal.exp: New file.
1708 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1710 * gdb.base/source-dir.exp: New file.
1712 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1714 * gdb.ada/mi_interface: New testcase.
1716 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1718 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1719 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1720 gdb.ada/pp-rec-component/pck.ads: New files.
1722 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1724 * gdb.python/py-pp-integral.c: New file.
1725 * gdb.python/py-pp-integral.py: New file.
1726 * gdb.python/py-pp-integral.exp: New file.
1728 For older changes see ChangeLog-1993-2013.
1734 ;; version-control: never
1737 Copyright 2014 Free Software Foundation, Inc.
1738 Copying and distribution of this file, with or without modification,
1739 are permitted provided the copyright notice and this notice are preserved.