1 2014-06-09 Pedro Alves <palves@redhat.com>
3 * linux-nat.c (linux_child_follow_fork): Initialize status with
4 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
5 inner block. Only pass the signal to PTRACE_DETACH if in pass
8 2014-06-09 Gary Benson <gbenson@redhat.com>
10 * gdb.base/sigall.c [Functions to send signals]: Reorder to
11 separate the always-available ANSI-standard signals from the
12 signals that require checking.
14 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18 2014-06-07 Keith Seitz <keiths@redhat.com>
22 * gdb.cp/var-tag.cc: New file.
23 * gdb.cp/var-tag.exp: New file.
24 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
25 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
26 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
27 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
29 2014-06-06 Doug Evans <xdje42@gmail.com>
31 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
33 2014-06-06 Pedro Alves <palves@redhat.com>
35 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
36 in target debug output instead of looking at RSP packets,
37 disabling the test on any target that uses hardware stepping.
40 2014-06-06 Pedro Alves <palves@redhat.com>
42 * gdb.base/break-unload-file.exp: Fix typo.
44 2014-06-06 Yao Qi <yao@codesourcery.com>
46 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
47 from "jit_function" to "^jit_function".
49 2014-06-06 Yao Qi <yao@codesourcery.com>
51 * gdb.base/async.c (foo): Add one statement.
52 * gdb.base/async.exp: Get the next instruction address and
53 match the output of "nexti" by instruction address. Match
54 the hex address in the output of "finish".
56 2014-06-06 Gary Benson <gbenson@redhat.com>
58 * gdb.base/call-signals.c: Remove preprocessor conditionals
59 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
61 * gdb.base/sigall.c: Likewise.
62 * gdb.base/unwindonsignal.c: Likewise.
63 * gdb.reverse/sigall-reverse.c: Likewise.
65 2014-06-06 Yao Qi <yao@codesourcery.com>
67 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
68 readable, skip the test.
70 2014-06-06 Yao Qi <yao@codesourcery.com>
72 * gdb.threads/staticthreads.c (thread_function): Move the line
73 setting breakpoint on forward.
74 * gdb.threads/staticthreads.exp: Update comments.
76 2014-06-05 Ludovic Courtès <ludo@gnu.org>
78 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
79 "history-append! type error".
81 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
83 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
84 erroneous dprintf expected input.
86 2014-06-04 Doug Evans <xdje42@gmail.com>
88 * gdb.guile/scm-generics.exp: Delete.
90 2014-06-04 Doug Evans <xdje42@gmail.com>
92 * gdb.guile/scm-breakpoint.exp: Update.
93 Add tests for breakpoint registration.
95 2014-06-04 Tom Tromey <tromey@redhat.com>
97 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
99 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
100 inner_vla_struct, vla_union types. Initialize objects of those
101 types and compute their sizes.
103 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
104 Hui Zhu <hui@codesourcery.com>
106 * gdb.base/fileio.exp: Add test for shell not available as well as
108 * gdb.base/fileio.c (test_system): Check for shell twice.
110 2014-06-04 Yao Qi <yao@codesourcery.com>
112 * gdb.base/auto-connect-native-target.exp: Remove redundant
113 space from the regexp pattern.
115 2014-06-04 Yao Qi <yao@codesourcery.com>
117 * gdb.base/default.exp: Replace "child" with "native" in
120 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
122 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
123 * gdb.python/py-xmethods.exp: New tests to test xmethods.
124 * gdb.python/py-xmethods.py: Python script supporting the
125 new testcase and tests.
127 2014-06-03 Joel Brobecker <brobecker@adacore.com>
128 Pedro Alves <palves@redhat.com>
131 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
132 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
134 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
136 * gdb.base/subst.exp: Add tests to verify partial path matching
139 2014-06-03 Pedro Alves <palves@redhat.com>
141 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
142 target that doesn't use software single-stepping.
144 2014-06-03 Pedro Alves <palves@redhat.com>
147 * gdb.base/sss-bp-on-user-bp-2.c: New file.
148 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
150 2014-06-02 Doug Evans <xdje42@gmail.com>
152 * gdb.guile/scm-parameter.exp: New file.
154 2014-06-02 Doug Evans <xdje42@gmail.com>
156 * gdb.guile/scm-cmd.c: New file.
157 * gdb.guile/scm-cmd.exp: New file.
159 2014-06-02 Doug Evans <xdje42@gmail.com>
161 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
162 pretty-printer lookup.
163 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
164 (make-pp_s-printer): Call it.
165 (make-pretty-printer-from-dict): New function.
166 (lookup-pretty-printer-maker-from-dict): New function.
167 (*pretty-printer*): Simplify.
168 (make-objfile-pp_s-printer): New function.
169 (install-objfile-pretty-printers!): New function.
170 (make-progspace-pp_s-printer): New function.
171 (install-progspace-pretty-printers!): New function.
172 * gdb.guile/scm-progspace.c: New file.
173 * gdb.guile/scm-progspace.exp: New file.
175 2014-06-02 Pedro Alves <palves@redhat.com>
177 * gdb.base/dprintf-bp-same-addr.c: New file.
178 * gdb.base/dprintf-bp-same-addr.exp: New file.
180 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
182 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
183 * gdb.arch/powerpc-power.s: Likewise.
185 2014-06-02 Joel Brobecker <brobecker@adacore.com>
187 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
189 2014-06-01 Yao Qi <yao@codesourcery.com>
191 * gdb.base/watchpoint.exp (test_watch_location): Check null
192 pointer can be dereferenced. If not, do the test, otherwise
195 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
197 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
199 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
201 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
203 * gdb.arch/amd64-invalid-stack-middle.S: New file.
204 * gdb.arch/amd64-invalid-stack-middle.c: New file.
205 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
206 * gdb.arch/amd64-invalid-stack-top.c: New file.
207 * gdb.arch/amd64-invalid-stack-top.exp: New file.
209 2014-05-30 Pedro Alves <palves@redhat.com>
212 * gdb.base/sss-bp-on-user-bp.c: New file.
213 * gdb.base/sss-bp-on-user-bp.exp: New file.
215 2014-05-30 David Blaikie <dblaikie@gmail.com>
217 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
218 gnu_inline semantics via attribute.
219 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
220 source explicitly specifies the required semantics.
222 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
224 * gdb.reverse/sigall-reverse.exp: Fix a typo.
226 2014-05-29 Pedro Alves <palves@redhat.com>
227 Tom Tromey <tromey@redhat.com>
229 * gdb.base/async-shell.exp: Don't enable target-async.
231 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
233 (top level): Don't test with "target-async".
234 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
235 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
236 * gdb.base/inferior-died.exp: Don't enable target-async.
237 * gdb.base/interrupt-noterm.exp: Likewise.
238 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
239 * gdb.mi/mi-nonstop-exit.exp: Likewise.
240 * gdb.mi/mi-nonstop.exp: Likewise.
241 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
242 * gdb.mi/mi-nsintrall.exp: Likewise.
243 * gdb.mi/mi-nsmoribund.exp: Likewise.
244 * gdb.mi/mi-nsthrexec.exp: Likewise.
245 * gdb.mi/mi-watch-nonstop.exp: Likewise.
246 * gdb.multi/watchpoint-multi.exp: Adjust comment.
247 * gdb.python/py-evsignal.exp: Don't enable target-async.
248 * gdb.python/py-evthreads.exp: Likewise.
249 * gdb.python/py-prompt.exp: Likewise.
250 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
251 * gdb.server/solib-list.exp: Don't enable target-async.
252 * gdb.threads/thread-specific-bp.exp: Likewise.
253 * lib/mi-support.exp: Adjust to use mi-async.
255 2014-05-29 Pedro Alves <palves@redhat.com>
258 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
259 reason, even in sync mode.
261 2014-05-29 Pedro Alves <palves@redhat.com>
262 Hui Zhu <hui@codesourcery.com>
265 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
266 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
267 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
268 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
270 2014-05-28 Joel Brobecker <brobecker@adacore.com>
272 * config/monitor.exp (gdb_target_monitor): Replace use of
273 "set remotebaud" by "set serial baud".
275 2014-05-26 Andy Wingo <wingo@igalia.com>
277 * gdb.guile/scm-breakpoint.exp:
278 * gdb.guile/scm-gsmob.exp: Update to use plain old object
279 properties instead of gdb-object-properties.
281 2014-05-26 Yao Qi <yao@codesourcery.com>
283 * gdb.server/no-thread-db.exp: Specify source file name
284 explicitly when setting a breakpoint.
286 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
288 * gdb.btrace/vdso.c: New.
289 * gdb.btrace/vdso.exp: New.
291 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
293 * gdb.base/gcore.exp (capture_command_output): Move ...
294 * lib/gdb.exp (capture_command_output): ... here.
296 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
298 * gdb.btrace/data.exp: Test memory access during btrace replay.
300 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
302 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
304 2014-05-21 Pedro Alves <palves@redhat.com>
307 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
308 (top level): Test that output related to execution commands is
309 sent to the console with CLI commands, but not with MI commands.
310 Test that breakpoint events are always mirrored to the console.
311 Also expect the new source line to be output after a "next" in
312 async mode too. Make it a pass/fail test.
313 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
315 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
317 2014-05-21 Pedro Alves <palves@redhat.com>
319 * gdb.base/list.exp (build_pattern, test_list): New procedures.
320 Use them to test variations of "list" after reaching a breakpoint.
321 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
322 Test "list" with listsize 10 after reaching a breakpoint.
323 * gdb.python/python.exp (decode_line current location line
324 number): Adjust expected line number.
326 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
328 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
329 behavior for $args, pass it directly to "run".
331 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
333 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
336 2014-05-21 Pedro Alves <palves@redhat.com>
338 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
339 auto-connect-native-target off".
340 * gdb.base/auto-connect-native-target.c: New file.
341 * gdb.base/auto-connect-native-target.exp: New file.
343 2014-05-21 Pedro Alves <palves@redhat.com>
345 * gdb.base/default.exp: Test "target native" instead of "target
348 2014-05-21 Mark Wielaard <mjw@redhat.com>
350 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
352 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
354 Fix TLS access for -static -pthread.
355 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
356 <HAVE_TLS> (thread_function, main): Initialize it.
357 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
359 <$have_tls != "">: Check TLSVAR.
361 2014-05-21 Pedro Alves <palves@redhat.com>
363 * gdb.base/dcache-line-read-error.c: New.
364 * gdb.base/dcache-line-read-error.exp: New.
366 2014-05-20 Pedro Alves <palves@redhat.com>
368 * gdb.base/compare-sections.c: New file.
369 * gdb.base/compare-sections.exp: New file.
371 2014-05-20 Pedro Alves <palves@redhat.com>
373 * gdb.base/break-idempotent.c: New file.
374 * gdb.base/break-idempotent.exp: New file.
376 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
378 * gdb.btrace/nohist.exp: New.
380 2014-05-20 Yao Qi <yao@codesourcery.com>
382 * lib/gdb.exp (gdb_init): Set timeout if test file is under
383 gdb.reverse directory and gdb_reverse_timeout exists in board
385 * README: Document gdb_reverse_timeout.
387 2014-05-20 Yao Qi <yao@codesourcery.com>
389 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
390 'test_file_name'. Treat args as a string instead of a list.
391 (gdb_init): Rename argument 'args' by 'test_file_name'.
393 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
395 * gdb.arch/powerpc-power.exp: New file.
396 * gdb.arch/powerpc-power.s: New file.
398 2014-05-16 Doug Evans <dje@google.com>
400 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
401 * gdb.base/completion.exp: Check that all expected files exist
402 before doing file completion.
404 2014-05-16 Doug Evans <dje@google.com>
406 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
408 (do_syscall_tests_without_xml): Update.
410 2014-05-16 Pedro Alves <palves@redhat.com>
412 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
413 instead of "unknown output after running".
415 2014-05-16 Yao Qi <yao@codesourcery.com>
417 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
418 file1.txt from host at the end.
419 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
421 2014-05-15 Doug Evans <dje@google.com>
423 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
424 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
425 loading file. Add test for TU lookup.
427 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
429 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
430 calling "-exec-arguments" or "set args" before running the
433 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
435 * lib/mi-support.exp (mi_expect_stop): Expect message for
436 inferiors that exit with non-zero exit code.
438 2014-05-14 Yao Qi <yao@codesourcery.com>
440 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
441 match absolute path on remote host.
442 (test_file_list_exec_source_files): Remove "/" from the
445 2014-05-14 Yao Qi <yao@codesourcery.com>
447 * boards/local-remote-host-notty.exp (${board}_file): New
450 2014-05-07 Kyle McMartin <kyle@redhat.com>
452 Pushed by Joel Brobecker <brobecker@adacore.com>.
453 * gdb.arch/aarch64-atomic-inst.c: New file.
454 * gdb.arch/aarch64-atomic-inst.exp: New file.
456 2014-05-07 Yao Qi <yao@codesourcery.com>
458 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
459 in current context" too.
461 2014-05-05 Keith Seitz <keiths@redhat.com>
463 * gdb.linespec/ls-dollar.exp: Add test for linespec
464 file:convenience_variable.
466 2014-05-05 Yao Qi <yao@codesourcery.com>
468 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
469 traceframes into tfile and ctf trace files. Read data from
470 trace file and test collected data.
471 (gdb_collect_locals_test): Likewise.
472 (gdb_unavailable_registers_test): Likewise.
473 (gdb_unavailable_floats): Likewise.
474 (gdb_collect_globals_test): Likewise.
475 (top-level): Append "ctf" to trace_file_targets if GDB
478 2014-05-05 Yao Qi <yao@codesourcery.com>
480 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
482 (gdb_collect_args_test_1): ... it. New proc.
483 (gdb_collect_locals_test): Move some code to ...
484 (gdb_collect_locals_test_1): ... it. New proc.
485 (gdb_unavailable_registers_test): Move some code to ...
486 (gdb_unavailable_registers_test_1): ... it. New proc.
487 (gdb_unavailable_floats): Move some code to ...
488 (gdb_unavailable_floats_1): ... it. New proc.
490 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
492 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
493 probes to test for bitness recognition.
494 * gdb.arch/amd64-stap-optional-prefix.exp
495 (test_probe_value_without_reg): New procedure.
496 Add code to test for different kinds of bitness.
498 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
501 * gdb.arch/amd64-stap-optional-prefix.S: New file.
502 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
504 2014-05-01 Pedro Alves <palves@redhat.com>
506 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
507 gdb_file_cmd if no file is specified.
508 * boards/native-extended-gdbserver.exp (gdb_load): Use the
509 last_loaded_file to set the remote exec-file.
511 2014-05-01 Pedro Alves <palves@redhat.com>
513 * boards/local-remote-host.exp: New file.
515 2014-05-01 Pedro Alves <palves@redhat.com>
517 * boards/local-remote-host.exp: Rename to ...
518 * boards/local-remote-host-notty.exp: ... this.
520 2014-04-28 Joel Brobecker <brobecker@adacore.com>
522 * gdb.ada/dyn_arrayidx: New testcase.
524 2014-04-26 Yao Qi <yao@codesourcery.com>
526 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
527 and compute the length of function main. Save it in
529 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
530 (top-level): Use gdb_compile to compile objects into
531 executable and restart GDB. Remove invocation to
534 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
535 Pedro Alves <palves@redhat.com>
538 * gdb.multi/multi-attach.c: New file.
539 * gdb.multi/multi-attach.exp: New file.
541 2014-04-25 Pedro Alves <palves@redhat.com>
543 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
545 (top level): Test that "set remote conditional-breakpoints-packet
546 off" works as intended.
547 * gdb.base/dprintf.exp: Test that "set remote
548 breakpoint-commands-packet off" works as intended.
549 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
551 (top level): Call it.
552 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
553 remote fast-tracepoints-packet off" works as intended.
554 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
555 * lib/gdb.exp (gdb_is_target_remote): ... here.
557 2014-04-24 David Blaikie <dblaikie@gmail.com>
559 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
560 ensure clang would not discard them.
561 * gdb.base/gdbvars.c: Ditto.
562 * gdb.base/memattr.c: Ditto.
563 * gdb.base/whatis.c: Ditto.
564 * gdb.python/py-prettyprint.c: Ditto.
565 * gdb.trace/actions.c: Ditto.
566 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
567 ensure clang would not discard it.
569 2014-04-24 David Blaikie <dblaikie@gmail.com>
571 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
572 clang to emit the full definition of type required by the test
573 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
575 2014-04-24 David Blaikie <dblaikie@gmail.com>
577 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
578 coax Clang into emitting the definition of the type.
579 * gdb.cp/pr10728-x.h (y): Ditto.
580 * gdb.cp/pr10728-y.cc (y): Ditto.
582 2014-04-24 David Blaikie <dblaikie@gmail.com>
584 * gdb.base/label.exp: XFAIL label related tests under Clang.
585 * gdb.cp/cplabel.exp: Ditto.
586 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
587 under Clang those using labels.
589 2014-04-25 Yao Qi <yao@codesourcery.com>
591 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
593 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
594 partial_label and double_label.
596 2014-04-24 David Blaikie <dblaikie@gmail.com>
598 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
600 2014-04-24 David Blaikie <dblaikie@gmail.com>
602 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
603 of the function to work across GCC and Clang.
604 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
605 pointer types (const void ** const V void **).
607 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
608 Walfred Tedeschi <walfred.tedeschi@intel.com>
610 * Makefile.in (EXECUTABLES): Added i386-avx512.
611 * gdb.arch/i386-avx512.c: New file.
612 * gdb.arch/i386-avx512.exp: Likewise.
614 2014-04-23 Keith Seitz <keiths@redhat.com>
616 * lib/mi-support.exp (mi_list_breakpoints): Delete.
617 (mi_make_breakpoint_table): New procedure.
618 (mi_create_breakpoint): Use mi_make_breakpoint
619 and return the result.
620 (mi_make_breakpoint): New procedure.
621 (mi_build_kv_pairs): New procedure.
623 * gdb.mi/mi-break.exp: Remove unused globals,
624 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
626 * gdb.mi/mi-dprintf.exp: Use variable to track command
628 Update all callers of mi_create_breakpoint and use
629 mi_make_breakpoint_table.
630 Remove any unused global variables.
631 * gdb.mi/mi-nonstop.exp: Likewise.
632 * gdb.mi/mi-nsintrall.exp: Likewise.
633 * gdb.mi/mi-nsmoribund.exp: Likewise.
634 * gdb.mi/mi-nsthrexec.exp: Likewise.
635 * gdb.mi/mi-reverse.exp: Likewise.
636 * gdb.mi/mi-simplerun.exp: Likewise.
637 * gdb.mi/mi-stepn.exp: Likewise.
638 * gdb.mi/mi-syn-frame.exp: Likewise.
639 * gdb.mi/mi-until.exp: Likewise.
640 * gdb.mi/mi-var-cp.exp: Likewise.
641 * gdb.mi/mi-var-display.exp: Likewise.
642 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
643 * gdb.mi/mi2-var-child.exp: Likewise.
644 * gdb.mi/mi-vla-c99.exp: Likewise.
645 * lib/mi-support.exp: Likewise.
647 From Ian Lance Taylor <iant@cygnus.com>:
648 * lib/gdb.exp (parse_args): New procedure.
650 2014-04-23 Pedro Alves <palves@redhat.com>
652 * gdb.base/break-unload-file.c: New file.
653 * gdb.base/break-unload-file.exp: New file.
654 * gdb.base/sym-file-lib.c (baz): New function.
655 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
657 (load): Store the segment's mapped size.
658 (unload): New function.
659 (unload_shlib): New function.
660 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
661 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
662 set a breakpoint at baz, and call it.
663 * gdb.base/sym-file.exp: New tests for stale breakpoint
666 2014-04-23 Pedro Alves <palves@redhat.com>
668 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
669 * gdb.base/hbreak-in-shr-unsupported.c: New file.
670 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
671 * gdb.base/hbreak-unmapped.c: New file.
672 * gdb.base/hbreak-unmapped.exp: New file.
673 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
674 * lib/gdb.exp (gdb_is_target_remote): ... here.
676 2014-04-22 Pedro Alves <palves@redhat.com>
678 * gdb.base/consecutive-step-over.c: New file.
679 * gdb.base/consecutive-step-over.exp: New file.
681 2014-04-22 Pedro Alves <palves@redhat.com>
683 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
684 instead of send_gdb/gdb_expect.
686 2014-04-22 Yao Qi <yao@codesourcery.com>
688 * lib/trace-support.exp (generate_tracefile): New procedure.
689 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
691 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
692 if generate_tracefile returns 1.
694 2014-04-18 Tom Tromey <palves@redhat.com>
695 Pedro alves <tromey@redhat.com>
698 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
699 with a backtrace limit.
700 * gdb.python/py-frame-inline.exp: Test running to an inline
701 function with a backtrace limit, and printing the newest frame.
702 * gdb.python/py-frame-inline.c (main): Call f.
704 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
706 * gdb.java/jnpe.exp: Drop srcdir from untested path.
708 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
710 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
711 Drop prefix from unsupported source file path.
713 2014-04-17 Yao Qi <yao@codesourcery.com>
715 * lib/gdb.exp (with_target_charset): New proc.
716 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
718 (test_print_strings): Likewise.
719 (test_repeat_bytes): Likewise.
720 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
723 2014-04-16 Keith Seitz <keiths@redhat.com>
726 * gdb.dwarf2/corrupt.c: New file.
727 * gdb.dwarf2/corrupt.exp: New file.
729 2014-04-16 Keith Seitz <keiths@redhat.com>
732 * gdb.cp/namelessclass.cc: New file.
733 * gdb.cp/namelessclass.exp: New file.
734 * gdb.cp/namelessclass.S: New file.
736 2014-04-16 Doug Evans <dje@google.com>
738 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
740 (gdbserver_default_get_comm_port): New function.
741 (gdbserver_start): Check if board file provided
742 "gdbserver,get_comm_port" and use it if so.
743 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
744 (gdb,socketport): Set to "stdio".
745 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
746 (stdio_gdbserver_template): Delete.
747 (${board}_get_remote_address): Update.
748 (${board}_build_remote_cmd): Delete.
749 (${board}_get_comm_port): New function.
750 (${board}_spawn): Update.
751 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
753 (${board}_get_remote_address): Update.
754 (${board}_get_comm_port): New function.
756 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
758 * gdb.base/memattr.exp: Improve regexps to handle memory regions
759 appearing in any order.
761 2014-04-15 Doug Evans <dje@google.com>
763 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
764 uninitialized value of "description".
766 2014-04-15 Keith Seitz <keiths@redhat.com>
768 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
769 Remove unused globals.
770 (test_running_the_program): Likewise.
771 (test_controlled_execution): Likewise.
772 (test_controlling_breakpoints): Likewise.
773 (test_program_termination): Likewise.
775 2014-04-15 Keith Seitz <keiths@redhat.com>
777 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
779 (test_rbreak_creation_and_listing): Likewise.
780 (test_ignore_count): Likewise.
781 (test_error): Likewise.
783 2014-04-15 Pedro Alves <palves@redhat.com>
785 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
786 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
788 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
789 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
790 to sym-file-loader.c.
791 (struct library): Forward declare.
792 (load_shlib, lookup_function): Change prototypes.
793 (find_shstrtab, find_strtab, find_shdr, find_symtab)
794 (translate_offset): Remove declarations.
795 (get_text_addr): New declaration.
796 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
797 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
799 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
800 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
801 here from sym-file-loader.h.
802 (struct library): New structure.
803 (load_shlib, lookup_function): Change prototypes and adjust to
804 work with a struct library.
805 (find_shstrtab, find_strtab, find_shdr, find_symtab)
806 (translate_offset): Make static.
807 (get_text_addr): New function.
808 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
810 2014-04-15 Pedro Alves <palves@redhat.com>
812 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
814 2014-04-15 Pedro Alves <palves@redhat.com>
816 * gdb.base/sym-file-loader.c: Include <limits.h>.
817 (SELF_LINK): New define.
818 (get_origin): New function.
819 (load_shlib): Use it.
820 * gdb.base/sym-file.exp: Don't early return if the target is
821 remote. Use runto_main, and issue fail is that fails. Use
823 (shlib_name): Delete.
824 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
826 2014-04-15 Pedro Alves <palves@redhat.com>
828 * gdb.base/sym-file.exp: Remove regex characters from test
829 message. Don't refer to breakpoint numbers in test messages.
831 2014-04-14 Keith Seitz <keiths@redhat.com>
834 * gdb.cp/var-tag.cc: New file.
835 * gdb.cp/var-tag.exp: New file.
836 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
837 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
838 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
839 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
841 2014-04-14 Tom Tromey <tromey@redhat.com>
843 * gdb.cp/classes.exp (test_enums): Handle underlying type.
844 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
846 * gdb.cp/enum-class.exp: New file.
847 * gdb.cp/enum-class.cc: New file.
849 2014-04-14 Tom Tromey <tromey@redhat.com>
851 * gdb.dwarf2/enum-type.exp: New file.
853 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
855 * gdb.mi/mi-vla-c99.exp: New file.
856 * gdb.mi/vla.c: New file.
858 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
860 * gdb.base/vla-datatypes.c: New file.
861 * gdb.base/vla-datatypes.exp: New file.
863 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
865 * gdb.base/vla-ptr.c: New file.
866 * gdb.base/vla-ptr.exp: New file.
868 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
870 * gdb.dwarf2/count.exp: New file.
872 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
874 * gdb.base/vla-sideeffect.c: New file.
875 * gdb.base/vla-sideeffect.exp: New file.
877 2014-04-14 David Blaikie <dblaikie@gmail.com>
879 * gdb.mi/non-stop.c: Add return value for non-void function return
881 * gdb.threads/staticthreads.c: Ditto.
883 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
884 Doug Evans <xdje42@gmail.com>
886 * gdb.guile/scm-value.c: Improve test case.
887 * gdb.guile/scm-value.exp: Add new test.
889 2014-04-11 David Blaikie <dblaikie@gmail.com>
891 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
892 override Clang's default.
894 2014-04-11 Joel Brobecker <brobecker@adacore.com>
896 Revert the following changes (regressions):
898 * gdb.base/vla-sideeffect.c: New file.
899 * gdb.base/vla-sideeffect.exp: New file.
901 * gdb.dwarf2/count.exp: New file.
903 * gdb.base/vla-multi.c: New file.
904 * gdb.base/vla-multi.exp: New file.
906 * gdb.base/vla-ptr.c: New file.
907 * gdb.base/vla-ptr.exp: New file.
909 * gdb.base/vla-datatypes.c: New file.
910 * gdb.base/vla-datatypes.exp: New file.
912 * gdb.mi/mi-vla-c99.exp: New file.
913 * gdb.mi/vla.c: New file.
915 2014-04-11 Keith Seitz <keiths@redhat.com>
918 * gdb.cp/cpsizeof.exp: New file.
919 * gdb.cp/cpsizeof.cc: New file.
921 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
923 * gdb.mi/mi-vla-c99.exp: New file.
924 * gdb.mi/vla.c: New file.
926 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
928 * gdb.base/vla-datatypes.c: New file.
929 * gdb.base/vla-datatypes.exp: New file.
931 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
933 * gdb.base/vla-ptr.c: New file.
934 * gdb.base/vla-ptr.exp: New file.
936 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
938 * gdb.base/vla-multi.c: New file.
939 * gdb.base/vla-multi.exp: New file.
941 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
943 * gdb.dwarf2/count.exp: New file.
945 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
947 * gdb.base/vla-sideeffect.c: New file.
948 * gdb.base/vla-sideeffect.exp: New file.
950 2014-04-11 Yao Qi <yao@codesourcery.com>
952 * gdb.base/completion.exp: Check file exists before running tests
955 2014-04-10 Pedro Alves <palves@redhat.com>
957 * gdb.base/cond-eval-mode.c: New file.
958 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
959 prepare_for_testing to build the new file. Check result of
961 (test_break, test_watch): New procedures.
962 (top level): Use them.
964 2014-04-08 Pierre Muller <muller@sourceware.org>
966 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
967 Ctrl-V use for mingw hosts.
969 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
971 * gdb.python/py-value.c: Improve test case.
972 * gdb.python/py-value.exp: Add new test.
974 2014-04-07 David Blaikie <dblaikie@gmail.com>
976 * lib/compiler.c: Identify the clang compiler.
977 * lib/compiler.cc: Ditto.
979 2014-04-03 Yao Qi <yao@codesourcery.com>
981 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
983 2014-04-01 Anton Blanchard <anton@samba.org>
985 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
988 2014-04-01 Anton Blanchard <anton@samba.org>
990 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
993 2014-04-01 Anton Blanchard <anton@samba.org>
995 * gdb.arch/ppc64-atomic-inst.c: Remove.
996 * gdb.arch/ppc64-atomic-inst.S: New file.
997 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
999 2014-03-31 Doug Evans <dje@google.com>
1001 * gdb.base/print-symbol-loading-lib.c: New file.
1002 * gdb.base/print-symbol-loading-main.c: New file.
1003 * gdb.base/print-symbol-loading.exp: New file.
1005 2014-03-31 Yao Qi <yao@codesourcery.com>
1007 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1009 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1011 * gdb.ada/mi_dyn_arr: New testcase.
1013 2014-03-27 Doug Evans <dje@google.com>
1015 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1017 2014-03-27 Yao Qi <yao@codesourcery.com>
1019 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1020 if target is nios2-*-*.
1022 2014-03-26 Yao Qi <yao@codesourcery.com>
1024 * lib/gdb.exp (readline_is_used): New proc.
1025 * gdb.base/completion.exp: Move tests on command complete up.
1026 Skip the rest of tests if readline is not used.
1027 * gdb.ada/complete.exp: Skp the test if readline is not
1029 * gdb.base/filesym.exp: Likewise.
1030 * gdb.base/macscp.exp: Likewise.
1031 * gdb.base/readline-ask.exp: Likewise.
1032 * gdb.base/readline.exp: Likewise.
1033 * gdb.python/py-cmd.exp: Likewise.
1034 * gdb.trace/tfile.exp: Likewise.
1036 2014-03-26 Yao Qi <yao@codesourcery.com>
1038 * gdb.base/macscp.exp: Fix code format issues.
1040 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1042 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1043 * gdb.asm/powerpc64le.inc: New file.
1045 2014-03-25 Pedro Alves <palves@redhat.com>
1046 Doug Evans <dje@google.com>
1048 * gdb.base/source-execution.c: New file.
1049 * gdb.base/source-execution.exp: New file.
1050 * gdb.base/source-execution.gdb: New file.
1052 2014-03-24 Doug Evans <dje@google.com>
1054 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1057 2014-03-24 Hui Zhu <hui@codesourcery.com>
1058 Pedro Alves <palves@redhat.com>
1060 PR breakpoints/16101
1061 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1062 test pass/fail messages. Detect missing support for dprintf when
1063 breakpoints are actually inserted.
1064 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1065 breakpoints are actually inserted.
1066 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1069 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1071 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1073 2014-03-22 Doug Evans <xdje42@gmail.com>
1075 * gdb.python/python.exp (python not supported): Verify multi-line
1076 python command issues an error.
1077 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1078 guile command issues an error.
1080 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1082 * gdb.threads/thread-specific.exp: Handle the lack of usable
1083 $this_breakpoint and $this_thread.
1085 2014-03-21 Hui Zhu <hui@codesourcery.com>
1087 * gdb.base/attach.exp (do_command_attach_tests): New.
1089 2014-03-20 Tom Tromey <tromey@redhat.com>
1090 Pedro Alves <palves@redhat.com>
1093 * gdb.base/condbreak-call-false.c: New file.
1094 * gdb.base/condbreak-call-false.exp: New file.
1096 2014-03-20 Pedro Alves <palves@redhat.com>
1098 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1100 (block_signals, unblock_signals): Delete.
1101 (child_function_2, main): Remove references to deleted variable
1104 2014-03-20 Pedro Alves <palves@redhat.com>
1106 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1107 Use pthread_kill to signal thread 2.
1108 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1109 Adjust to make the test send itself a signal rather than using the
1110 host's "kill" command.
1112 2014-03-20 Pedro Alves <palves@redhat.com>
1114 * gdb.threads/multiple-step-overs.c: New file.
1115 * gdb.threads/multiple-step-overs.exp: New file.
1116 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1117 Adjust expected infrun debug output.
1119 2014-03-20 Pedro Alves <palves@redhat.com>
1121 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1122 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1124 2014-03-20 Pedro Alves <palves@redhat.com>
1127 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1128 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1129 of gdb_test_multiple.
1130 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1131 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1133 2014-03-20 Pedro Alves <palves@redhat.com>
1135 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1136 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1138 2014-03-19 Pedro Alves <palves@redhat.com>
1140 * gdb.base/async.exp: Remove early return.
1142 2014-03-19 Pedro Alves <palves@redhat.com>
1144 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1146 2014-03-19 Pedro Alves <palves@redhat.com>
1148 * gdb.base/async.exp (test_background): Expect \r\n after
1149 "completed." in the fail pattern.
1151 2014-03-19 Pedro Alves <palves@redhat.com>
1153 * gdb.base/async.exp (test_background): New procedure.
1154 Use it for all background execution command tests.
1156 2014-03-19 Pedro Alves <palves@redhat.com>
1158 * gdb.base/async.exp: Use prepare_for_testing.
1160 2014-03-19 Pedro Alves <palves@redhat.com>
1162 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1165 2014-03-19 Pedro Alves <palves@redhat.com>
1167 * gdb.base/async.c (main): Add "jump here" and "until here" line
1169 * gdb.base/async.exp (jump_here): New global.
1170 (jump& test): Use it.
1171 (until_here): New global.
1172 (until& test): Use it.
1174 2014-03-19 Pedro Alves <palves@redhat.com>
1176 * gdb.base/async.exp: Don't frob gdb_protocol.
1178 2014-03-18 Doug Evans <xdje42@gmail.com>
1180 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1181 Fix spelling of exec-done-display.
1183 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1186 * gdb.base/gdb-sigterm.c: New file.
1187 * gdb.base/gdb-sigterm.exp: New file.
1189 2014-03-18 Pedro Alves <palves@redhat.com>
1192 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1193 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1196 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1198 * gdb.ada/pckd_arr_ren: New testcase.
1200 2014-03-13 Doug Evans <xdje42@gmail.com>
1203 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1204 collect after discarding symbols.
1206 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1207 Doug Evans <xdje42@gmail.com>
1209 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1210 to history survives a gc.
1212 2014-03-13 Pedro Alves <palves@redhat.com>
1214 * gdb.base/default.exp: Don't test "target procfs".
1216 2014-03-13 Pedro Alves <palves@redhat.com>
1218 * gdb.base/default.exp: Update "target child" and "target procfs"
1219 tests to not expect "Unix".
1221 2014-03-12 Tom Tromey <tromey@redhat.com>
1223 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1224 New procs. Add target-async tests.
1225 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1226 Add target-async tests.
1228 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1230 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1231 'func_start' and 'func_end' for the beginning and end of the
1232 function code, respectively.
1233 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1234 'func_end' instead of 'func' and 'main'.
1236 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1238 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1239 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1240 generate the debug info assembler source.
1242 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1244 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1245 * gdb.dwarf2/arr-subrange.exp: Likewise.
1246 * gdb.dwarf2/dwz.exp: Likewise.
1247 * gdb.dwarf2/method-ptr.exp: Likewise.
1248 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1249 * gdb.dwarf2/subrange.exp: Likewise.
1250 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1251 * gdb.dwarf2/implptrpiece.exp: Likewise.
1252 * gdb.dwarf2/nostaticblock.exp: Likewise.
1254 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1256 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1257 directory to absolute path name arguments.
1259 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1261 * gdb.ada/tagged_access: New testcase.
1263 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1265 * gdb.btrace/data.exp: Update expected output.
1267 2014-03-06 Yao Qi <yao@codesourcery.com>
1269 * gdb.trace/pr16508.exp: New file.
1271 2014-03-05 Pedro Alves <palves@redhat.com>
1274 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1276 (top level): Adjust to use it. Add tests that exercise breakpoint
1277 interaction with the code-cache.
1279 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1281 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1282 test for 'history-append!'.
1284 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1286 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1287 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1288 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1289 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1290 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1291 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1293 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1295 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1296 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1297 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1299 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1301 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1303 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1305 * gdb.dwarf2/arr-stride.c: New file.
1306 * gdb.dwarf2/arr-stride.exp: New file.
1308 2014-02-26 Pedro Alves <palves@redhat.com>
1310 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1311 that won't ever trigger. Make sure that GDB reports the correct
1312 breakpoint that caused the stop.
1314 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1317 * gdb.base/auto-load-script: New file.
1318 * gdb.base/auto-load.c: New file.
1319 * gdb.base/auto-load.exp: New file.
1322 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1324 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1326 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1327 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1329 2014-02-24 Doug Evans <dje@google.com>
1331 * lib/gdb.exp (run_on_host): Log error output if program fails.
1333 2014-02-21 Pedro Alves <palves@redhat.com>
1335 * gdb.threads/step-after-sr-lock.c: Rename to ...
1336 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1337 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1338 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1341 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1344 * gdb.arch/amd64-stap-special-operands.exp: New file.
1345 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1346 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1347 * gdb.arch/amd64-stap-triplet.S: Likewise.
1348 * gdb.arch/amd64-stap-triplet.c: Likewise.
1350 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1352 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1353 in .section pseudo-op.
1355 2014-02-20 lin zuojian <manjian2006@gmail.com>
1356 Joel Brobecker <brobecker@adacore.com>
1357 Doug Evans <xdje42@gmail.com>
1360 * gdb.dwarf2/dw2-icycle.S: New file.
1361 * gdb.dwarf2/dw2-icycle.c: New file.
1362 * gdb.dwarf2/dw2-icycle.exp: New file.
1364 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1366 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1367 operations on gdb.Value objects.
1368 * gdb.python/py-value-cc.exp: Add new test to test operations on
1371 2014-02-18 Doug Evans <dje@google.com>
1373 * Makefile.in (TESTS): New variable.
1374 (expanded_tests, expanded_tests_or_none): New variables
1375 (check-single): Pass $(expanded_tests_or_none) to runtest.
1376 (check-parallel): Only run tests in $(TESTS) if non-empty.
1377 (check/no-matching-tests-found): New rule.
1378 * README: Document TESTS makefile variable.
1380 2014-02-18 Doug Evans <dje@google.com>
1382 * Makefile.in (check-parallel): rm -rf outputs temp.
1384 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1386 Fix "ERROR: no fileid for" in the testsuite.
1387 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1389 2014-02-12 Doug Evans <dje@google.com>
1391 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1392 (MISCELLANEOUS): New variable.
1393 (clean): rm -rf $(MISCELLANEOUS).
1394 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1395 dwp live in the same directory as symlinks, with each symlink pointed
1396 to a differently named file in a different directory.
1398 2014-02-11 Doug Evans <dje@google.com>
1400 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1401 of Tcl file commands.
1403 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1405 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1408 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1410 * gdb.ada/tick_length_array_enum_idx: New testcase.
1412 2014-02-10 Doug Evans <xdje42@gmail.com>
1414 * configure.ac (AC_OUTPUT): Add gdb.guile.
1415 * configure: Regenerate.
1416 * lib/gdb-guile.exp: New file.
1417 * lib/gdb.exp (get_target_charset): New function.
1418 * gdb.base/help.exp: Update expected output from "apropos apropos".
1419 * gdb.guile/Makefile.in: New file.
1420 * gdb.guile/guile.exp: New file.
1421 * gdb.guile/scm-arch.c: New file.
1422 * gdb.guile/scm-arch.exp: New file.
1423 * gdb.guile/scm-block.c: New file.
1424 * gdb.guile/scm-block.exp: New file.
1425 * gdb.guile/scm-breakpoint.c: New file.
1426 * gdb.guile/scm-breakpoint.exp: New file.
1427 * gdb.guile/scm-disasm.c: New file.
1428 * gdb.guile/scm-disasm.exp: New file.
1429 * gdb.guile/scm-equal.c: New file.
1430 * gdb.guile/scm-equal.exp: New file.
1431 * gdb.guile/scm-error.exp: New file.
1432 * gdb.guile/scm-error.scm: New file.
1433 * gdb.guile/scm-frame-args.c: New file.
1434 * gdb.guile/scm-frame-args.exp: New file.
1435 * gdb.guile/scm-frame-args.scm: New file.
1436 * gdb.guile/scm-frame-inline.c: New file.
1437 * gdb.guile/scm-frame-inline.exp: New file.
1438 * gdb.guile/scm-frame.c: New file.
1439 * gdb.guile/scm-frame.exp: New file.
1440 * gdb.guile/scm-generics.exp: New file.
1441 * gdb.guile/scm-gsmob.exp: New file.
1442 * gdb.guile/scm-iterator.c: New file.
1443 * gdb.guile/scm-iterator.exp: New file.
1444 * gdb.guile/scm-math.c: New file.
1445 * gdb.guile/scm-math.exp: New file.
1446 * gdb.guile/scm-objfile-script-gdb.in: New file.
1447 * gdb.guile/scm-objfile-script.c: New file.
1448 * gdb.guile/scm-objfile-script.exp: New file.
1449 * gdb.guile/scm-objfile.c: New file.
1450 * gdb.guile/scm-objfile.exp: New file.
1451 * gdb.guile/scm-ports.exp: New file.
1452 * gdb.guile/scm-pretty-print.c: New file.
1453 * gdb.guile/scm-pretty-print.exp: New file.
1454 * gdb.guile/scm-pretty-print.scm: New file.
1455 * gdb.guile/scm-section-script.c: New file.
1456 * gdb.guile/scm-section-script.exp: New file.
1457 * gdb.guile/scm-section-script.scm: New file.
1458 * gdb.guile/scm-symbol.c: New file.
1459 * gdb.guile/scm-symbol.exp: New file.
1460 * gdb.guile/scm-symtab-2.c: New file.
1461 * gdb.guile/scm-symtab.c: New file.
1462 * gdb.guile/scm-symtab.exp: New file.
1463 * gdb.guile/scm-type.c: New file.
1464 * gdb.guile/scm-type.exp: New file.
1465 * gdb.guile/scm-value-cc.cc: New file.
1466 * gdb.guile/scm-value-cc.exp: New file.
1467 * gdb.guile/scm-value.c: New file.
1468 * gdb.guile/scm-value.exp: New file.
1469 * gdb.guile/source2.scm: New file.
1470 * gdb.guile/types-module.cc: New file.
1471 * gdb.guile/types-module.exp: New file.
1473 2014-02-10 Yao Qi <yao@codesourcery.com>
1476 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1477 * configure: Regenerated.
1478 * Makefile.in: New file.
1480 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1482 * gdb.python/py-framefilter.exp: Fix typo.
1484 2014-02-08 Yao Qi <yao@codesourcery.com>
1486 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1487 that no =breakpoint-modified is emitted when breakpoints are
1488 modified through MI commands.
1490 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1491 Pedro Alves <palves@redhat.com>
1493 * gdb.threads/step-after-sr-lock.c: New file.
1494 * gdb.threads/step-after-sr-lock.exp: New file.
1496 2014-02-07 Pedro Alves <palves@redhat.com>
1498 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1500 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1502 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1503 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1505 2014-02-06 Doug Evans <xdje42@gmail.com>
1507 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1510 * gdb.gdb/python-interrupts.exp: New file.
1512 2014-02-05 Yao Qi <yao@codesourcery.com>
1514 * gdb.trace/report.exp (use_collected_data): Test the output
1515 of "info threads" and "info inferiors".
1517 2014-02-05 Yao Qi <yao@codesourcery.com>
1521 2013-05-24 Yao Qi <yao@codesourcery.com>
1523 * gdb.trace/tfile.exp: Test inferior and thread.
1525 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1527 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1529 * gdb.base/step-bt.c: Call hello via function pointer to make
1530 sure its first instruction is executed on powerpc64le-linux.
1532 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1534 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1536 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1538 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1539 of the test patterns for use on little-endian systems.
1541 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1543 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1544 (decimal_vector): Fix for little-endian.
1546 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1548 * gdb.arch/sparc-sysstep.exp: New file.
1549 * gdb.arch/sparc-sysstep.c: Likewise.
1551 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1553 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1555 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1557 2014-01-23 Tom Tromey <tromey@redhat.com>
1559 * gdb.ada/array_char_idx: New testcase.
1561 2014-01-23 Tom Tromey <tromey@redhat.com>
1564 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1565 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1568 2014-01-23 Tom Tromey <tromey@redhat.com>
1571 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1572 string from an inferior frame.
1573 * gdb.python/py-framefilter-mi.exp: Update.
1575 2014-01-22 Doug Evans <dje@google.com>
1577 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1579 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1581 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1583 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1585 * gdb.trace/entry-values.exp: Remove excess space character from
1586 regex patterns. Handle s390 call instruction.
1588 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1590 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1591 define "*_start" label. Make "name" static.
1592 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1593 ${name} by references to ${name}_start.
1595 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1597 * gdb.base/info-macros.exp: Remove "debug" from the compile
1600 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1602 * gdb.dlang/demangle.exp: New file.
1604 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1606 * gdb.dlang/primitive-types.exp: New file.
1608 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1610 * configure.ac: Create gdb.dlang/Makefile.
1611 * configure: Regenerate.
1612 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1613 * gdb.dlang/Makefile.in: New file.
1614 * lib/d-support.exp: New file.
1615 * lib/gdb.exp (skip_d_tests): New proc.
1617 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1619 * gdb.btrace/delta.exp: Check reverse stepi.
1620 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1621 * gdb.btrace/finish.exp: New.
1622 * gdb.btrace/next.exp: New.
1623 * gdb.btrace/nexti.exp: New.
1624 * gdb.btrace/record_goto.c: Add comments.
1625 * gdb.btrace/step.exp: New.
1626 * gdb.btrace/stepi.exp: New.
1627 * gdb.btrace/multi-thread-step.c: New.
1628 * gdb.btrace/multi-thread-step.exp: New.
1629 * gdb.btrace/rn-dl-bind.c: New.
1630 * gdb.btrace/rn-dl-bind.exp: New.
1631 * gdb.btrace/data.c: New.
1632 * gdb.btrace/data.exp: New.
1633 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1635 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1637 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1638 * gdb.btrace/exception.exp: Update.
1639 * gdb.btrace/instruction_history.exp: Update.
1640 * gdb.btrace/record_goto.exp: Update.
1641 * gdb.btrace/tailcall.exp: Update.
1642 * gdb.btrace/unknown_functions.exp: Update.
1643 * gdb.btrace/delta.exp: New.
1645 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1647 * gdb.btrace/record_goto.exp: Add backtrace test.
1648 * gdb.btrace/tailcall.exp: Add backtrace test.
1650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1652 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1653 * gdb.btrace/record_goto.c: New.
1654 * gdb.btrace/record_goto.exp: New.
1655 * gdb.btrace/x86-record_goto.S: New.
1657 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1659 * gdb.btrace/function_call_history.exp: Update tests.
1660 * gdb.btrace/instruction_history.exp: Update tests.
1662 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1664 * gdb.btrace/function_call_history.exp: Fix expected field
1665 order for "record function-call-history".
1666 Add new tests for "record function-call-history /c".
1667 * gdb.btrace/exception.cc: New.
1668 * gdb.btrace/exception.exp: New.
1669 * gdb.btrace/tailcall.exp: New.
1670 * gdb.btrace/x86-tailcall.S: New.
1671 * gdb.btrace/x86-tailcall.c: New.
1672 * gdb.btrace/unknown_functions.c: New.
1673 * gdb.btrace/unknown_functions.exp: New.
1674 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1676 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1678 * gdb.btrace/instruction_history.exp: Update.
1679 * gdb.btrace/function_call_history.exp: Update.
1681 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1683 * gdb.btrace/function_call_history.exp: Fix expected function
1685 * gdb.btrace/instruction_history.exp: Initialize traced.
1686 Remove traced_functions.
1688 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1690 * gdb.btrace/function_call_history.exp: Update
1691 * gdb.btrace/instruction_history.exp: Update.
1693 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1695 * gdb.btrace/enable.exp: Update expected text.
1697 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1699 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1702 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1704 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1706 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1708 * lib/gdb.exp (supports_process_record): Return true for
1709 arm*-linux*. (supports_reverse): Likewise.
1711 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1715 * gdb.python/py-type.c: Enhance test case.
1716 * gdb.python/py-value-cc.cc: Likewise
1717 * gdb.python/py-type.exp: Add new tests.
1718 * gdb.python/py-value-cc.exp: Likewise
1720 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1721 Pedro Alves <palves@redhat.com>
1723 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1725 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1726 references to ${name}_start by references to ${name}.
1728 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1730 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1732 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1734 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1736 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1737 Pedro Alves <palves@redhat.com>
1739 * gdb.mi/mi-info-os.exp: Connect to the target with
1742 2014-01-08 Pedro Alves <palves@redhat.com>
1744 * gdb.threads/reconnect-signal.c: New file.
1745 * gdb.threads/reconnect-signal.exp: New file.
1747 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1749 * gdb.base/source-dir.exp: New file.
1751 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1753 * gdb.ada/mi_interface: New testcase.
1755 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1757 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1758 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1759 gdb.ada/pp-rec-component/pck.ads: New files.
1761 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1763 * gdb.python/py-pp-integral.c: New file.
1764 * gdb.python/py-pp-integral.py: New file.
1765 * gdb.python/py-pp-integral.exp: New file.
1767 For older changes see ChangeLog-1993-2013.
1773 ;; version-control: never
1776 Copyright 2014 Free Software Foundation, Inc.
1777 Copying and distribution of this file, with or without modification,
1778 are permitted provided the copyright notice and this notice are preserved.