1 2014-06-12 Tom Tromey <tromey@redhat.com>
3 * gdb.base/completion.exp: Don't use directory name in test.
5 2014-06-09 Gary Benson <gbenson@redhat.com>
7 * gdb.base/sigall.c [Functions to send signals]: Reorder to
8 separate the always-available ANSI-standard signals from the
9 signals that require checking.
11 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15 2014-06-07 Keith Seitz <keiths@redhat.com>
19 * gdb.cp/var-tag.cc: New file.
20 * gdb.cp/var-tag.exp: New file.
21 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
23 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
24 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
26 2014-06-06 Doug Evans <xdje42@gmail.com>
28 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
30 2014-06-06 Pedro Alves <palves@redhat.com>
32 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
33 in target debug output instead of looking at RSP packets,
34 disabling the test on any target that uses hardware stepping.
37 2014-06-06 Pedro Alves <palves@redhat.com>
39 * gdb.base/break-unload-file.exp: Fix typo.
41 2014-06-06 Yao Qi <yao@codesourcery.com>
43 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
44 from "jit_function" to "^jit_function".
46 2014-06-06 Yao Qi <yao@codesourcery.com>
48 * gdb.base/async.c (foo): Add one statement.
49 * gdb.base/async.exp: Get the next instruction address and
50 match the output of "nexti" by instruction address. Match
51 the hex address in the output of "finish".
53 2014-06-06 Gary Benson <gbenson@redhat.com>
55 * gdb.base/call-signals.c: Remove preprocessor conditionals
56 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
58 * gdb.base/sigall.c: Likewise.
59 * gdb.base/unwindonsignal.c: Likewise.
60 * gdb.reverse/sigall-reverse.c: Likewise.
62 2014-06-06 Yao Qi <yao@codesourcery.com>
64 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
65 readable, skip the test.
67 2014-06-06 Yao Qi <yao@codesourcery.com>
69 * gdb.threads/staticthreads.c (thread_function): Move the line
70 setting breakpoint on forward.
71 * gdb.threads/staticthreads.exp: Update comments.
73 2014-06-05 Ludovic Courtès <ludo@gnu.org>
75 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
76 "history-append! type error".
78 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
80 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
81 erroneous dprintf expected input.
83 2014-06-04 Doug Evans <xdje42@gmail.com>
85 * gdb.guile/scm-generics.exp: Delete.
87 2014-06-04 Doug Evans <xdje42@gmail.com>
89 * gdb.guile/scm-breakpoint.exp: Update.
90 Add tests for breakpoint registration.
92 2014-06-04 Tom Tromey <tromey@redhat.com>
94 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
96 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
97 inner_vla_struct, vla_union types. Initialize objects of those
98 types and compute their sizes.
100 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
101 Hui Zhu <hui@codesourcery.com>
103 * gdb.base/fileio.exp: Add test for shell not available as well as
105 * gdb.base/fileio.c (test_system): Check for shell twice.
107 2014-06-04 Yao Qi <yao@codesourcery.com>
109 * gdb.base/auto-connect-native-target.exp: Remove redundant
110 space from the regexp pattern.
112 2014-06-04 Yao Qi <yao@codesourcery.com>
114 * gdb.base/default.exp: Replace "child" with "native" in
117 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
119 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
120 * gdb.python/py-xmethods.exp: New tests to test xmethods.
121 * gdb.python/py-xmethods.py: Python script supporting the
122 new testcase and tests.
124 2014-06-03 Joel Brobecker <brobecker@adacore.com>
125 Pedro Alves <palves@redhat.com>
128 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
129 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
131 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
133 * gdb.base/subst.exp: Add tests to verify partial path matching
136 2014-06-03 Pedro Alves <palves@redhat.com>
138 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
139 target that doesn't use software single-stepping.
141 2014-06-03 Pedro Alves <palves@redhat.com>
144 * gdb.base/sss-bp-on-user-bp-2.c: New file.
145 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
147 2014-06-02 Doug Evans <xdje42@gmail.com>
149 * gdb.guile/scm-parameter.exp: New file.
151 2014-06-02 Doug Evans <xdje42@gmail.com>
153 * gdb.guile/scm-cmd.c: New file.
154 * gdb.guile/scm-cmd.exp: New file.
156 2014-06-02 Doug Evans <xdje42@gmail.com>
158 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
159 pretty-printer lookup.
160 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
161 (make-pp_s-printer): Call it.
162 (make-pretty-printer-from-dict): New function.
163 (lookup-pretty-printer-maker-from-dict): New function.
164 (*pretty-printer*): Simplify.
165 (make-objfile-pp_s-printer): New function.
166 (install-objfile-pretty-printers!): New function.
167 (make-progspace-pp_s-printer): New function.
168 (install-progspace-pretty-printers!): New function.
169 * gdb.guile/scm-progspace.c: New file.
170 * gdb.guile/scm-progspace.exp: New file.
172 2014-06-02 Pedro Alves <palves@redhat.com>
174 * gdb.base/dprintf-bp-same-addr.c: New file.
175 * gdb.base/dprintf-bp-same-addr.exp: New file.
177 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
179 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
180 * gdb.arch/powerpc-power.s: Likewise.
182 2014-06-02 Joel Brobecker <brobecker@adacore.com>
184 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
186 2014-06-01 Yao Qi <yao@codesourcery.com>
188 * gdb.base/watchpoint.exp (test_watch_location): Check null
189 pointer can be dereferenced. If not, do the test, otherwise
192 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
194 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
196 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
198 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
200 * gdb.arch/amd64-invalid-stack-middle.S: New file.
201 * gdb.arch/amd64-invalid-stack-middle.c: New file.
202 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
203 * gdb.arch/amd64-invalid-stack-top.c: New file.
204 * gdb.arch/amd64-invalid-stack-top.exp: New file.
206 2014-05-30 Pedro Alves <palves@redhat.com>
209 * gdb.base/sss-bp-on-user-bp.c: New file.
210 * gdb.base/sss-bp-on-user-bp.exp: New file.
212 2014-05-30 David Blaikie <dblaikie@gmail.com>
214 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
215 gnu_inline semantics via attribute.
216 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
217 source explicitly specifies the required semantics.
219 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
221 * gdb.reverse/sigall-reverse.exp: Fix a typo.
223 2014-05-29 Pedro Alves <palves@redhat.com>
224 Tom Tromey <tromey@redhat.com>
226 * gdb.base/async-shell.exp: Don't enable target-async.
228 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
230 (top level): Don't test with "target-async".
231 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
232 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
233 * gdb.base/inferior-died.exp: Don't enable target-async.
234 * gdb.base/interrupt-noterm.exp: Likewise.
235 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
236 * gdb.mi/mi-nonstop-exit.exp: Likewise.
237 * gdb.mi/mi-nonstop.exp: Likewise.
238 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
239 * gdb.mi/mi-nsintrall.exp: Likewise.
240 * gdb.mi/mi-nsmoribund.exp: Likewise.
241 * gdb.mi/mi-nsthrexec.exp: Likewise.
242 * gdb.mi/mi-watch-nonstop.exp: Likewise.
243 * gdb.multi/watchpoint-multi.exp: Adjust comment.
244 * gdb.python/py-evsignal.exp: Don't enable target-async.
245 * gdb.python/py-evthreads.exp: Likewise.
246 * gdb.python/py-prompt.exp: Likewise.
247 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
248 * gdb.server/solib-list.exp: Don't enable target-async.
249 * gdb.threads/thread-specific-bp.exp: Likewise.
250 * lib/mi-support.exp: Adjust to use mi-async.
252 2014-05-29 Pedro Alves <palves@redhat.com>
255 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
256 reason, even in sync mode.
258 2014-05-29 Pedro Alves <palves@redhat.com>
259 Hui Zhu <hui@codesourcery.com>
262 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
263 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
264 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
265 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
267 2014-05-28 Joel Brobecker <brobecker@adacore.com>
269 * config/monitor.exp (gdb_target_monitor): Replace use of
270 "set remotebaud" by "set serial baud".
272 2014-05-26 Andy Wingo <wingo@igalia.com>
274 * gdb.guile/scm-breakpoint.exp:
275 * gdb.guile/scm-gsmob.exp: Update to use plain old object
276 properties instead of gdb-object-properties.
278 2014-05-26 Yao Qi <yao@codesourcery.com>
280 * gdb.server/no-thread-db.exp: Specify source file name
281 explicitly when setting a breakpoint.
283 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
285 * gdb.btrace/vdso.c: New.
286 * gdb.btrace/vdso.exp: New.
288 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
290 * gdb.base/gcore.exp (capture_command_output): Move ...
291 * lib/gdb.exp (capture_command_output): ... here.
293 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
295 * gdb.btrace/data.exp: Test memory access during btrace replay.
297 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
299 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
301 2014-05-21 Pedro Alves <palves@redhat.com>
304 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
305 (top level): Test that output related to execution commands is
306 sent to the console with CLI commands, but not with MI commands.
307 Test that breakpoint events are always mirrored to the console.
308 Also expect the new source line to be output after a "next" in
309 async mode too. Make it a pass/fail test.
310 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
312 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
314 2014-05-21 Pedro Alves <palves@redhat.com>
316 * gdb.base/list.exp (build_pattern, test_list): New procedures.
317 Use them to test variations of "list" after reaching a breakpoint.
318 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
319 Test "list" with listsize 10 after reaching a breakpoint.
320 * gdb.python/python.exp (decode_line current location line
321 number): Adjust expected line number.
323 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
325 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
326 behavior for $args, pass it directly to "run".
328 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
330 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
333 2014-05-21 Pedro Alves <palves@redhat.com>
335 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
336 auto-connect-native-target off".
337 * gdb.base/auto-connect-native-target.c: New file.
338 * gdb.base/auto-connect-native-target.exp: New file.
340 2014-05-21 Pedro Alves <palves@redhat.com>
342 * gdb.base/default.exp: Test "target native" instead of "target
345 2014-05-21 Mark Wielaard <mjw@redhat.com>
347 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
349 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
351 Fix TLS access for -static -pthread.
352 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
353 <HAVE_TLS> (thread_function, main): Initialize it.
354 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
356 <$have_tls != "">: Check TLSVAR.
358 2014-05-21 Pedro Alves <palves@redhat.com>
360 * gdb.base/dcache-line-read-error.c: New.
361 * gdb.base/dcache-line-read-error.exp: New.
363 2014-05-20 Pedro Alves <palves@redhat.com>
365 * gdb.base/compare-sections.c: New file.
366 * gdb.base/compare-sections.exp: New file.
368 2014-05-20 Pedro Alves <palves@redhat.com>
370 * gdb.base/break-idempotent.c: New file.
371 * gdb.base/break-idempotent.exp: New file.
373 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
375 * gdb.btrace/nohist.exp: New.
377 2014-05-20 Yao Qi <yao@codesourcery.com>
379 * lib/gdb.exp (gdb_init): Set timeout if test file is under
380 gdb.reverse directory and gdb_reverse_timeout exists in board
382 * README: Document gdb_reverse_timeout.
384 2014-05-20 Yao Qi <yao@codesourcery.com>
386 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
387 'test_file_name'. Treat args as a string instead of a list.
388 (gdb_init): Rename argument 'args' by 'test_file_name'.
390 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
392 * gdb.arch/powerpc-power.exp: New file.
393 * gdb.arch/powerpc-power.s: New file.
395 2014-05-16 Doug Evans <dje@google.com>
397 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
398 * gdb.base/completion.exp: Check that all expected files exist
399 before doing file completion.
401 2014-05-16 Doug Evans <dje@google.com>
403 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
405 (do_syscall_tests_without_xml): Update.
407 2014-05-16 Pedro Alves <palves@redhat.com>
409 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
410 instead of "unknown output after running".
412 2014-05-16 Yao Qi <yao@codesourcery.com>
414 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
415 file1.txt from host at the end.
416 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
418 2014-05-15 Doug Evans <dje@google.com>
420 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
421 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
422 loading file. Add test for TU lookup.
424 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
426 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
427 calling "-exec-arguments" or "set args" before running the
430 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
432 * lib/mi-support.exp (mi_expect_stop): Expect message for
433 inferiors that exit with non-zero exit code.
435 2014-05-14 Yao Qi <yao@codesourcery.com>
437 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
438 match absolute path on remote host.
439 (test_file_list_exec_source_files): Remove "/" from the
442 2014-05-14 Yao Qi <yao@codesourcery.com>
444 * boards/local-remote-host-notty.exp (${board}_file): New
447 2014-05-07 Kyle McMartin <kyle@redhat.com>
449 Pushed by Joel Brobecker <brobecker@adacore.com>.
450 * gdb.arch/aarch64-atomic-inst.c: New file.
451 * gdb.arch/aarch64-atomic-inst.exp: New file.
453 2014-05-07 Yao Qi <yao@codesourcery.com>
455 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
456 in current context" too.
458 2014-05-05 Keith Seitz <keiths@redhat.com>
460 * gdb.linespec/ls-dollar.exp: Add test for linespec
461 file:convenience_variable.
463 2014-05-05 Yao Qi <yao@codesourcery.com>
465 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
466 traceframes into tfile and ctf trace files. Read data from
467 trace file and test collected data.
468 (gdb_collect_locals_test): Likewise.
469 (gdb_unavailable_registers_test): Likewise.
470 (gdb_unavailable_floats): Likewise.
471 (gdb_collect_globals_test): Likewise.
472 (top-level): Append "ctf" to trace_file_targets if GDB
475 2014-05-05 Yao Qi <yao@codesourcery.com>
477 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
479 (gdb_collect_args_test_1): ... it. New proc.
480 (gdb_collect_locals_test): Move some code to ...
481 (gdb_collect_locals_test_1): ... it. New proc.
482 (gdb_unavailable_registers_test): Move some code to ...
483 (gdb_unavailable_registers_test_1): ... it. New proc.
484 (gdb_unavailable_floats): Move some code to ...
485 (gdb_unavailable_floats_1): ... it. New proc.
487 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
489 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
490 probes to test for bitness recognition.
491 * gdb.arch/amd64-stap-optional-prefix.exp
492 (test_probe_value_without_reg): New procedure.
493 Add code to test for different kinds of bitness.
495 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
498 * gdb.arch/amd64-stap-optional-prefix.S: New file.
499 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
501 2014-05-01 Pedro Alves <palves@redhat.com>
503 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
504 gdb_file_cmd if no file is specified.
505 * boards/native-extended-gdbserver.exp (gdb_load): Use the
506 last_loaded_file to set the remote exec-file.
508 2014-05-01 Pedro Alves <palves@redhat.com>
510 * boards/local-remote-host.exp: New file.
512 2014-05-01 Pedro Alves <palves@redhat.com>
514 * boards/local-remote-host.exp: Rename to ...
515 * boards/local-remote-host-notty.exp: ... this.
517 2014-04-28 Joel Brobecker <brobecker@adacore.com>
519 * gdb.ada/dyn_arrayidx: New testcase.
521 2014-04-26 Yao Qi <yao@codesourcery.com>
523 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
524 and compute the length of function main. Save it in
526 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
527 (top-level): Use gdb_compile to compile objects into
528 executable and restart GDB. Remove invocation to
531 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
532 Pedro Alves <palves@redhat.com>
535 * gdb.multi/multi-attach.c: New file.
536 * gdb.multi/multi-attach.exp: New file.
538 2014-04-25 Pedro Alves <palves@redhat.com>
540 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
542 (top level): Test that "set remote conditional-breakpoints-packet
543 off" works as intended.
544 * gdb.base/dprintf.exp: Test that "set remote
545 breakpoint-commands-packet off" works as intended.
546 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
548 (top level): Call it.
549 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
550 remote fast-tracepoints-packet off" works as intended.
551 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
552 * lib/gdb.exp (gdb_is_target_remote): ... here.
554 2014-04-24 David Blaikie <dblaikie@gmail.com>
556 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
557 ensure clang would not discard them.
558 * gdb.base/gdbvars.c: Ditto.
559 * gdb.base/memattr.c: Ditto.
560 * gdb.base/whatis.c: Ditto.
561 * gdb.python/py-prettyprint.c: Ditto.
562 * gdb.trace/actions.c: Ditto.
563 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
564 ensure clang would not discard it.
566 2014-04-24 David Blaikie <dblaikie@gmail.com>
568 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
569 clang to emit the full definition of type required by the test
570 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
572 2014-04-24 David Blaikie <dblaikie@gmail.com>
574 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
575 coax Clang into emitting the definition of the type.
576 * gdb.cp/pr10728-x.h (y): Ditto.
577 * gdb.cp/pr10728-y.cc (y): Ditto.
579 2014-04-24 David Blaikie <dblaikie@gmail.com>
581 * gdb.base/label.exp: XFAIL label related tests under Clang.
582 * gdb.cp/cplabel.exp: Ditto.
583 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
584 under Clang those using labels.
586 2014-04-25 Yao Qi <yao@codesourcery.com>
588 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
590 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
591 partial_label and double_label.
593 2014-04-24 David Blaikie <dblaikie@gmail.com>
595 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
597 2014-04-24 David Blaikie <dblaikie@gmail.com>
599 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
600 of the function to work across GCC and Clang.
601 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
602 pointer types (const void ** const V void **).
604 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
605 Walfred Tedeschi <walfred.tedeschi@intel.com>
607 * Makefile.in (EXECUTABLES): Added i386-avx512.
608 * gdb.arch/i386-avx512.c: New file.
609 * gdb.arch/i386-avx512.exp: Likewise.
611 2014-04-23 Keith Seitz <keiths@redhat.com>
613 * lib/mi-support.exp (mi_list_breakpoints): Delete.
614 (mi_make_breakpoint_table): New procedure.
615 (mi_create_breakpoint): Use mi_make_breakpoint
616 and return the result.
617 (mi_make_breakpoint): New procedure.
618 (mi_build_kv_pairs): New procedure.
620 * gdb.mi/mi-break.exp: Remove unused globals,
621 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
623 * gdb.mi/mi-dprintf.exp: Use variable to track command
625 Update all callers of mi_create_breakpoint and use
626 mi_make_breakpoint_table.
627 Remove any unused global variables.
628 * gdb.mi/mi-nonstop.exp: Likewise.
629 * gdb.mi/mi-nsintrall.exp: Likewise.
630 * gdb.mi/mi-nsmoribund.exp: Likewise.
631 * gdb.mi/mi-nsthrexec.exp: Likewise.
632 * gdb.mi/mi-reverse.exp: Likewise.
633 * gdb.mi/mi-simplerun.exp: Likewise.
634 * gdb.mi/mi-stepn.exp: Likewise.
635 * gdb.mi/mi-syn-frame.exp: Likewise.
636 * gdb.mi/mi-until.exp: Likewise.
637 * gdb.mi/mi-var-cp.exp: Likewise.
638 * gdb.mi/mi-var-display.exp: Likewise.
639 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
640 * gdb.mi/mi2-var-child.exp: Likewise.
641 * gdb.mi/mi-vla-c99.exp: Likewise.
642 * lib/mi-support.exp: Likewise.
644 From Ian Lance Taylor <iant@cygnus.com>:
645 * lib/gdb.exp (parse_args): New procedure.
647 2014-04-23 Pedro Alves <palves@redhat.com>
649 * gdb.base/break-unload-file.c: New file.
650 * gdb.base/break-unload-file.exp: New file.
651 * gdb.base/sym-file-lib.c (baz): New function.
652 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
654 (load): Store the segment's mapped size.
655 (unload): New function.
656 (unload_shlib): New function.
657 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
658 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
659 set a breakpoint at baz, and call it.
660 * gdb.base/sym-file.exp: New tests for stale breakpoint
663 2014-04-23 Pedro Alves <palves@redhat.com>
665 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
666 * gdb.base/hbreak-in-shr-unsupported.c: New file.
667 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
668 * gdb.base/hbreak-unmapped.c: New file.
669 * gdb.base/hbreak-unmapped.exp: New file.
670 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
671 * lib/gdb.exp (gdb_is_target_remote): ... here.
673 2014-04-22 Pedro Alves <palves@redhat.com>
675 * gdb.base/consecutive-step-over.c: New file.
676 * gdb.base/consecutive-step-over.exp: New file.
678 2014-04-22 Pedro Alves <palves@redhat.com>
680 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
681 instead of send_gdb/gdb_expect.
683 2014-04-22 Yao Qi <yao@codesourcery.com>
685 * lib/trace-support.exp (generate_tracefile): New procedure.
686 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
688 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
689 if generate_tracefile returns 1.
691 2014-04-18 Tom Tromey <palves@redhat.com>
692 Pedro alves <tromey@redhat.com>
695 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
696 with a backtrace limit.
697 * gdb.python/py-frame-inline.exp: Test running to an inline
698 function with a backtrace limit, and printing the newest frame.
699 * gdb.python/py-frame-inline.c (main): Call f.
701 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
703 * gdb.java/jnpe.exp: Drop srcdir from untested path.
705 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
707 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
708 Drop prefix from unsupported source file path.
710 2014-04-17 Yao Qi <yao@codesourcery.com>
712 * lib/gdb.exp (with_target_charset): New proc.
713 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
715 (test_print_strings): Likewise.
716 (test_repeat_bytes): Likewise.
717 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
720 2014-04-16 Keith Seitz <keiths@redhat.com>
723 * gdb.dwarf2/corrupt.c: New file.
724 * gdb.dwarf2/corrupt.exp: New file.
726 2014-04-16 Keith Seitz <keiths@redhat.com>
729 * gdb.cp/namelessclass.cc: New file.
730 * gdb.cp/namelessclass.exp: New file.
731 * gdb.cp/namelessclass.S: New file.
733 2014-04-16 Doug Evans <dje@google.com>
735 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
737 (gdbserver_default_get_comm_port): New function.
738 (gdbserver_start): Check if board file provided
739 "gdbserver,get_comm_port" and use it if so.
740 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
741 (gdb,socketport): Set to "stdio".
742 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
743 (stdio_gdbserver_template): Delete.
744 (${board}_get_remote_address): Update.
745 (${board}_build_remote_cmd): Delete.
746 (${board}_get_comm_port): New function.
747 (${board}_spawn): Update.
748 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
750 (${board}_get_remote_address): Update.
751 (${board}_get_comm_port): New function.
753 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
755 * gdb.base/memattr.exp: Improve regexps to handle memory regions
756 appearing in any order.
758 2014-04-15 Doug Evans <dje@google.com>
760 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
761 uninitialized value of "description".
763 2014-04-15 Keith Seitz <keiths@redhat.com>
765 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
766 Remove unused globals.
767 (test_running_the_program): Likewise.
768 (test_controlled_execution): Likewise.
769 (test_controlling_breakpoints): Likewise.
770 (test_program_termination): Likewise.
772 2014-04-15 Keith Seitz <keiths@redhat.com>
774 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
776 (test_rbreak_creation_and_listing): Likewise.
777 (test_ignore_count): Likewise.
778 (test_error): Likewise.
780 2014-04-15 Pedro Alves <palves@redhat.com>
782 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
783 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
785 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
786 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
787 to sym-file-loader.c.
788 (struct library): Forward declare.
789 (load_shlib, lookup_function): Change prototypes.
790 (find_shstrtab, find_strtab, find_shdr, find_symtab)
791 (translate_offset): Remove declarations.
792 (get_text_addr): New declaration.
793 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
794 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
796 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
797 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
798 here from sym-file-loader.h.
799 (struct library): New structure.
800 (load_shlib, lookup_function): Change prototypes and adjust to
801 work with a struct library.
802 (find_shstrtab, find_strtab, find_shdr, find_symtab)
803 (translate_offset): Make static.
804 (get_text_addr): New function.
805 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
807 2014-04-15 Pedro Alves <palves@redhat.com>
809 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
811 2014-04-15 Pedro Alves <palves@redhat.com>
813 * gdb.base/sym-file-loader.c: Include <limits.h>.
814 (SELF_LINK): New define.
815 (get_origin): New function.
816 (load_shlib): Use it.
817 * gdb.base/sym-file.exp: Don't early return if the target is
818 remote. Use runto_main, and issue fail is that fails. Use
820 (shlib_name): Delete.
821 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
823 2014-04-15 Pedro Alves <palves@redhat.com>
825 * gdb.base/sym-file.exp: Remove regex characters from test
826 message. Don't refer to breakpoint numbers in test messages.
828 2014-04-14 Keith Seitz <keiths@redhat.com>
831 * gdb.cp/var-tag.cc: New file.
832 * gdb.cp/var-tag.exp: New file.
833 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
834 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
835 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
836 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
838 2014-04-14 Tom Tromey <tromey@redhat.com>
840 * gdb.cp/classes.exp (test_enums): Handle underlying type.
841 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
843 * gdb.cp/enum-class.exp: New file.
844 * gdb.cp/enum-class.cc: New file.
846 2014-04-14 Tom Tromey <tromey@redhat.com>
848 * gdb.dwarf2/enum-type.exp: New file.
850 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
852 * gdb.mi/mi-vla-c99.exp: New file.
853 * gdb.mi/vla.c: New file.
855 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
857 * gdb.base/vla-datatypes.c: New file.
858 * gdb.base/vla-datatypes.exp: New file.
860 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
862 * gdb.base/vla-ptr.c: New file.
863 * gdb.base/vla-ptr.exp: New file.
865 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
867 * gdb.dwarf2/count.exp: New file.
869 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
871 * gdb.base/vla-sideeffect.c: New file.
872 * gdb.base/vla-sideeffect.exp: New file.
874 2014-04-14 David Blaikie <dblaikie@gmail.com>
876 * gdb.mi/non-stop.c: Add return value for non-void function return
878 * gdb.threads/staticthreads.c: Ditto.
880 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
881 Doug Evans <xdje42@gmail.com>
883 * gdb.guile/scm-value.c: Improve test case.
884 * gdb.guile/scm-value.exp: Add new test.
886 2014-04-11 David Blaikie <dblaikie@gmail.com>
888 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
889 override Clang's default.
891 2014-04-11 Joel Brobecker <brobecker@adacore.com>
893 Revert the following changes (regressions):
895 * gdb.base/vla-sideeffect.c: New file.
896 * gdb.base/vla-sideeffect.exp: New file.
898 * gdb.dwarf2/count.exp: New file.
900 * gdb.base/vla-multi.c: New file.
901 * gdb.base/vla-multi.exp: New file.
903 * gdb.base/vla-ptr.c: New file.
904 * gdb.base/vla-ptr.exp: New file.
906 * gdb.base/vla-datatypes.c: New file.
907 * gdb.base/vla-datatypes.exp: New file.
909 * gdb.mi/mi-vla-c99.exp: New file.
910 * gdb.mi/vla.c: New file.
912 2014-04-11 Keith Seitz <keiths@redhat.com>
915 * gdb.cp/cpsizeof.exp: New file.
916 * gdb.cp/cpsizeof.cc: New file.
918 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
920 * gdb.mi/mi-vla-c99.exp: New file.
921 * gdb.mi/vla.c: New file.
923 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
925 * gdb.base/vla-datatypes.c: New file.
926 * gdb.base/vla-datatypes.exp: New file.
928 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
930 * gdb.base/vla-ptr.c: New file.
931 * gdb.base/vla-ptr.exp: New file.
933 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
935 * gdb.base/vla-multi.c: New file.
936 * gdb.base/vla-multi.exp: New file.
938 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
940 * gdb.dwarf2/count.exp: New file.
942 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
944 * gdb.base/vla-sideeffect.c: New file.
945 * gdb.base/vla-sideeffect.exp: New file.
947 2014-04-11 Yao Qi <yao@codesourcery.com>
949 * gdb.base/completion.exp: Check file exists before running tests
952 2014-04-10 Pedro Alves <palves@redhat.com>
954 * gdb.base/cond-eval-mode.c: New file.
955 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
956 prepare_for_testing to build the new file. Check result of
958 (test_break, test_watch): New procedures.
959 (top level): Use them.
961 2014-04-08 Pierre Muller <muller@sourceware.org>
963 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
964 Ctrl-V use for mingw hosts.
966 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
968 * gdb.python/py-value.c: Improve test case.
969 * gdb.python/py-value.exp: Add new test.
971 2014-04-07 David Blaikie <dblaikie@gmail.com>
973 * lib/compiler.c: Identify the clang compiler.
974 * lib/compiler.cc: Ditto.
976 2014-04-03 Yao Qi <yao@codesourcery.com>
978 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
980 2014-04-01 Anton Blanchard <anton@samba.org>
982 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
985 2014-04-01 Anton Blanchard <anton@samba.org>
987 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
990 2014-04-01 Anton Blanchard <anton@samba.org>
992 * gdb.arch/ppc64-atomic-inst.c: Remove.
993 * gdb.arch/ppc64-atomic-inst.S: New file.
994 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
996 2014-03-31 Doug Evans <dje@google.com>
998 * gdb.base/print-symbol-loading-lib.c: New file.
999 * gdb.base/print-symbol-loading-main.c: New file.
1000 * gdb.base/print-symbol-loading.exp: New file.
1002 2014-03-31 Yao Qi <yao@codesourcery.com>
1004 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1006 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1008 * gdb.ada/mi_dyn_arr: New testcase.
1010 2014-03-27 Doug Evans <dje@google.com>
1012 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1014 2014-03-27 Yao Qi <yao@codesourcery.com>
1016 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1017 if target is nios2-*-*.
1019 2014-03-26 Yao Qi <yao@codesourcery.com>
1021 * lib/gdb.exp (readline_is_used): New proc.
1022 * gdb.base/completion.exp: Move tests on command complete up.
1023 Skip the rest of tests if readline is not used.
1024 * gdb.ada/complete.exp: Skp the test if readline is not
1026 * gdb.base/filesym.exp: Likewise.
1027 * gdb.base/macscp.exp: Likewise.
1028 * gdb.base/readline-ask.exp: Likewise.
1029 * gdb.base/readline.exp: Likewise.
1030 * gdb.python/py-cmd.exp: Likewise.
1031 * gdb.trace/tfile.exp: Likewise.
1033 2014-03-26 Yao Qi <yao@codesourcery.com>
1035 * gdb.base/macscp.exp: Fix code format issues.
1037 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1039 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1040 * gdb.asm/powerpc64le.inc: New file.
1042 2014-03-25 Pedro Alves <palves@redhat.com>
1043 Doug Evans <dje@google.com>
1045 * gdb.base/source-execution.c: New file.
1046 * gdb.base/source-execution.exp: New file.
1047 * gdb.base/source-execution.gdb: New file.
1049 2014-03-24 Doug Evans <dje@google.com>
1051 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1054 2014-03-24 Hui Zhu <hui@codesourcery.com>
1055 Pedro Alves <palves@redhat.com>
1057 PR breakpoints/16101
1058 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1059 test pass/fail messages. Detect missing support for dprintf when
1060 breakpoints are actually inserted.
1061 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1062 breakpoints are actually inserted.
1063 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1066 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1068 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1070 2014-03-22 Doug Evans <xdje42@gmail.com>
1072 * gdb.python/python.exp (python not supported): Verify multi-line
1073 python command issues an error.
1074 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1075 guile command issues an error.
1077 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1079 * gdb.threads/thread-specific.exp: Handle the lack of usable
1080 $this_breakpoint and $this_thread.
1082 2014-03-21 Hui Zhu <hui@codesourcery.com>
1084 * gdb.base/attach.exp (do_command_attach_tests): New.
1086 2014-03-20 Tom Tromey <tromey@redhat.com>
1087 Pedro Alves <palves@redhat.com>
1090 * gdb.base/condbreak-call-false.c: New file.
1091 * gdb.base/condbreak-call-false.exp: New file.
1093 2014-03-20 Pedro Alves <palves@redhat.com>
1095 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1097 (block_signals, unblock_signals): Delete.
1098 (child_function_2, main): Remove references to deleted variable
1101 2014-03-20 Pedro Alves <palves@redhat.com>
1103 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1104 Use pthread_kill to signal thread 2.
1105 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1106 Adjust to make the test send itself a signal rather than using the
1107 host's "kill" command.
1109 2014-03-20 Pedro Alves <palves@redhat.com>
1111 * gdb.threads/multiple-step-overs.c: New file.
1112 * gdb.threads/multiple-step-overs.exp: New file.
1113 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1114 Adjust expected infrun debug output.
1116 2014-03-20 Pedro Alves <palves@redhat.com>
1118 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1119 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1121 2014-03-20 Pedro Alves <palves@redhat.com>
1124 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1125 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1126 of gdb_test_multiple.
1127 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1128 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1130 2014-03-20 Pedro Alves <palves@redhat.com>
1132 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1133 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1135 2014-03-19 Pedro Alves <palves@redhat.com>
1137 * gdb.base/async.exp: Remove early return.
1139 2014-03-19 Pedro Alves <palves@redhat.com>
1141 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1143 2014-03-19 Pedro Alves <palves@redhat.com>
1145 * gdb.base/async.exp (test_background): Expect \r\n after
1146 "completed." in the fail pattern.
1148 2014-03-19 Pedro Alves <palves@redhat.com>
1150 * gdb.base/async.exp (test_background): New procedure.
1151 Use it for all background execution command tests.
1153 2014-03-19 Pedro Alves <palves@redhat.com>
1155 * gdb.base/async.exp: Use prepare_for_testing.
1157 2014-03-19 Pedro Alves <palves@redhat.com>
1159 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1162 2014-03-19 Pedro Alves <palves@redhat.com>
1164 * gdb.base/async.c (main): Add "jump here" and "until here" line
1166 * gdb.base/async.exp (jump_here): New global.
1167 (jump& test): Use it.
1168 (until_here): New global.
1169 (until& test): Use it.
1171 2014-03-19 Pedro Alves <palves@redhat.com>
1173 * gdb.base/async.exp: Don't frob gdb_protocol.
1175 2014-03-18 Doug Evans <xdje42@gmail.com>
1177 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1178 Fix spelling of exec-done-display.
1180 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1183 * gdb.base/gdb-sigterm.c: New file.
1184 * gdb.base/gdb-sigterm.exp: New file.
1186 2014-03-18 Pedro Alves <palves@redhat.com>
1189 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1190 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1193 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1195 * gdb.ada/pckd_arr_ren: New testcase.
1197 2014-03-13 Doug Evans <xdje42@gmail.com>
1200 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1201 collect after discarding symbols.
1203 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1204 Doug Evans <xdje42@gmail.com>
1206 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1207 to history survives a gc.
1209 2014-03-13 Pedro Alves <palves@redhat.com>
1211 * gdb.base/default.exp: Don't test "target procfs".
1213 2014-03-13 Pedro Alves <palves@redhat.com>
1215 * gdb.base/default.exp: Update "target child" and "target procfs"
1216 tests to not expect "Unix".
1218 2014-03-12 Tom Tromey <tromey@redhat.com>
1220 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1221 New procs. Add target-async tests.
1222 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1223 Add target-async tests.
1225 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1227 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1228 'func_start' and 'func_end' for the beginning and end of the
1229 function code, respectively.
1230 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1231 'func_end' instead of 'func' and 'main'.
1233 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1235 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1236 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1237 generate the debug info assembler source.
1239 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1241 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1242 * gdb.dwarf2/arr-subrange.exp: Likewise.
1243 * gdb.dwarf2/dwz.exp: Likewise.
1244 * gdb.dwarf2/method-ptr.exp: Likewise.
1245 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1246 * gdb.dwarf2/subrange.exp: Likewise.
1247 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1248 * gdb.dwarf2/implptrpiece.exp: Likewise.
1249 * gdb.dwarf2/nostaticblock.exp: Likewise.
1251 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1253 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1254 directory to absolute path name arguments.
1256 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1258 * gdb.ada/tagged_access: New testcase.
1260 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1262 * gdb.btrace/data.exp: Update expected output.
1264 2014-03-06 Yao Qi <yao@codesourcery.com>
1266 * gdb.trace/pr16508.exp: New file.
1268 2014-03-05 Pedro Alves <palves@redhat.com>
1271 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1273 (top level): Adjust to use it. Add tests that exercise breakpoint
1274 interaction with the code-cache.
1276 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1278 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1279 test for 'history-append!'.
1281 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1283 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1284 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1285 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1286 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1287 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1288 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1290 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1292 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1293 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1294 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1296 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1298 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1300 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1302 * gdb.dwarf2/arr-stride.c: New file.
1303 * gdb.dwarf2/arr-stride.exp: New file.
1305 2014-02-26 Pedro Alves <palves@redhat.com>
1307 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1308 that won't ever trigger. Make sure that GDB reports the correct
1309 breakpoint that caused the stop.
1311 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1314 * gdb.base/auto-load-script: New file.
1315 * gdb.base/auto-load.c: New file.
1316 * gdb.base/auto-load.exp: New file.
1319 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1321 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1323 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1324 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1326 2014-02-24 Doug Evans <dje@google.com>
1328 * lib/gdb.exp (run_on_host): Log error output if program fails.
1330 2014-02-21 Pedro Alves <palves@redhat.com>
1332 * gdb.threads/step-after-sr-lock.c: Rename to ...
1333 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1334 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1335 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1338 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1341 * gdb.arch/amd64-stap-special-operands.exp: New file.
1342 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1343 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1344 * gdb.arch/amd64-stap-triplet.S: Likewise.
1345 * gdb.arch/amd64-stap-triplet.c: Likewise.
1347 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1349 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1350 in .section pseudo-op.
1352 2014-02-20 lin zuojian <manjian2006@gmail.com>
1353 Joel Brobecker <brobecker@adacore.com>
1354 Doug Evans <xdje42@gmail.com>
1357 * gdb.dwarf2/dw2-icycle.S: New file.
1358 * gdb.dwarf2/dw2-icycle.c: New file.
1359 * gdb.dwarf2/dw2-icycle.exp: New file.
1361 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1363 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1364 operations on gdb.Value objects.
1365 * gdb.python/py-value-cc.exp: Add new test to test operations on
1368 2014-02-18 Doug Evans <dje@google.com>
1370 * Makefile.in (TESTS): New variable.
1371 (expanded_tests, expanded_tests_or_none): New variables
1372 (check-single): Pass $(expanded_tests_or_none) to runtest.
1373 (check-parallel): Only run tests in $(TESTS) if non-empty.
1374 (check/no-matching-tests-found): New rule.
1375 * README: Document TESTS makefile variable.
1377 2014-02-18 Doug Evans <dje@google.com>
1379 * Makefile.in (check-parallel): rm -rf outputs temp.
1381 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1383 Fix "ERROR: no fileid for" in the testsuite.
1384 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1386 2014-02-12 Doug Evans <dje@google.com>
1388 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1389 (MISCELLANEOUS): New variable.
1390 (clean): rm -rf $(MISCELLANEOUS).
1391 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1392 dwp live in the same directory as symlinks, with each symlink pointed
1393 to a differently named file in a different directory.
1395 2014-02-11 Doug Evans <dje@google.com>
1397 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1398 of Tcl file commands.
1400 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1402 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1405 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1407 * gdb.ada/tick_length_array_enum_idx: New testcase.
1409 2014-02-10 Doug Evans <xdje42@gmail.com>
1411 * configure.ac (AC_OUTPUT): Add gdb.guile.
1412 * configure: Regenerate.
1413 * lib/gdb-guile.exp: New file.
1414 * lib/gdb.exp (get_target_charset): New function.
1415 * gdb.base/help.exp: Update expected output from "apropos apropos".
1416 * gdb.guile/Makefile.in: New file.
1417 * gdb.guile/guile.exp: New file.
1418 * gdb.guile/scm-arch.c: New file.
1419 * gdb.guile/scm-arch.exp: New file.
1420 * gdb.guile/scm-block.c: New file.
1421 * gdb.guile/scm-block.exp: New file.
1422 * gdb.guile/scm-breakpoint.c: New file.
1423 * gdb.guile/scm-breakpoint.exp: New file.
1424 * gdb.guile/scm-disasm.c: New file.
1425 * gdb.guile/scm-disasm.exp: New file.
1426 * gdb.guile/scm-equal.c: New file.
1427 * gdb.guile/scm-equal.exp: New file.
1428 * gdb.guile/scm-error.exp: New file.
1429 * gdb.guile/scm-error.scm: New file.
1430 * gdb.guile/scm-frame-args.c: New file.
1431 * gdb.guile/scm-frame-args.exp: New file.
1432 * gdb.guile/scm-frame-args.scm: New file.
1433 * gdb.guile/scm-frame-inline.c: New file.
1434 * gdb.guile/scm-frame-inline.exp: New file.
1435 * gdb.guile/scm-frame.c: New file.
1436 * gdb.guile/scm-frame.exp: New file.
1437 * gdb.guile/scm-generics.exp: New file.
1438 * gdb.guile/scm-gsmob.exp: New file.
1439 * gdb.guile/scm-iterator.c: New file.
1440 * gdb.guile/scm-iterator.exp: New file.
1441 * gdb.guile/scm-math.c: New file.
1442 * gdb.guile/scm-math.exp: New file.
1443 * gdb.guile/scm-objfile-script-gdb.in: New file.
1444 * gdb.guile/scm-objfile-script.c: New file.
1445 * gdb.guile/scm-objfile-script.exp: New file.
1446 * gdb.guile/scm-objfile.c: New file.
1447 * gdb.guile/scm-objfile.exp: New file.
1448 * gdb.guile/scm-ports.exp: New file.
1449 * gdb.guile/scm-pretty-print.c: New file.
1450 * gdb.guile/scm-pretty-print.exp: New file.
1451 * gdb.guile/scm-pretty-print.scm: New file.
1452 * gdb.guile/scm-section-script.c: New file.
1453 * gdb.guile/scm-section-script.exp: New file.
1454 * gdb.guile/scm-section-script.scm: New file.
1455 * gdb.guile/scm-symbol.c: New file.
1456 * gdb.guile/scm-symbol.exp: New file.
1457 * gdb.guile/scm-symtab-2.c: New file.
1458 * gdb.guile/scm-symtab.c: New file.
1459 * gdb.guile/scm-symtab.exp: New file.
1460 * gdb.guile/scm-type.c: New file.
1461 * gdb.guile/scm-type.exp: New file.
1462 * gdb.guile/scm-value-cc.cc: New file.
1463 * gdb.guile/scm-value-cc.exp: New file.
1464 * gdb.guile/scm-value.c: New file.
1465 * gdb.guile/scm-value.exp: New file.
1466 * gdb.guile/source2.scm: New file.
1467 * gdb.guile/types-module.cc: New file.
1468 * gdb.guile/types-module.exp: New file.
1470 2014-02-10 Yao Qi <yao@codesourcery.com>
1473 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1474 * configure: Regenerated.
1475 * Makefile.in: New file.
1477 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1479 * gdb.python/py-framefilter.exp: Fix typo.
1481 2014-02-08 Yao Qi <yao@codesourcery.com>
1483 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1484 that no =breakpoint-modified is emitted when breakpoints are
1485 modified through MI commands.
1487 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1488 Pedro Alves <palves@redhat.com>
1490 * gdb.threads/step-after-sr-lock.c: New file.
1491 * gdb.threads/step-after-sr-lock.exp: New file.
1493 2014-02-07 Pedro Alves <palves@redhat.com>
1495 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1497 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1499 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1500 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1502 2014-02-06 Doug Evans <xdje42@gmail.com>
1504 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1507 * gdb.gdb/python-interrupts.exp: New file.
1509 2014-02-05 Yao Qi <yao@codesourcery.com>
1511 * gdb.trace/report.exp (use_collected_data): Test the output
1512 of "info threads" and "info inferiors".
1514 2014-02-05 Yao Qi <yao@codesourcery.com>
1518 2013-05-24 Yao Qi <yao@codesourcery.com>
1520 * gdb.trace/tfile.exp: Test inferior and thread.
1522 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1524 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1526 * gdb.base/step-bt.c: Call hello via function pointer to make
1527 sure its first instruction is executed on powerpc64le-linux.
1529 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1531 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1533 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1535 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1536 of the test patterns for use on little-endian systems.
1538 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1540 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1541 (decimal_vector): Fix for little-endian.
1543 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1545 * gdb.arch/sparc-sysstep.exp: New file.
1546 * gdb.arch/sparc-sysstep.c: Likewise.
1548 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1550 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1552 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1554 2014-01-23 Tom Tromey <tromey@redhat.com>
1556 * gdb.ada/array_char_idx: New testcase.
1558 2014-01-23 Tom Tromey <tromey@redhat.com>
1561 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1562 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1565 2014-01-23 Tom Tromey <tromey@redhat.com>
1568 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1569 string from an inferior frame.
1570 * gdb.python/py-framefilter-mi.exp: Update.
1572 2014-01-22 Doug Evans <dje@google.com>
1574 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1576 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1578 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1580 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1582 * gdb.trace/entry-values.exp: Remove excess space character from
1583 regex patterns. Handle s390 call instruction.
1585 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1587 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1588 define "*_start" label. Make "name" static.
1589 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1590 ${name} by references to ${name}_start.
1592 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1594 * gdb.base/info-macros.exp: Remove "debug" from the compile
1597 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1599 * gdb.dlang/demangle.exp: New file.
1601 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1603 * gdb.dlang/primitive-types.exp: New file.
1605 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1607 * configure.ac: Create gdb.dlang/Makefile.
1608 * configure: Regenerate.
1609 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1610 * gdb.dlang/Makefile.in: New file.
1611 * lib/d-support.exp: New file.
1612 * lib/gdb.exp (skip_d_tests): New proc.
1614 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1616 * gdb.btrace/delta.exp: Check reverse stepi.
1617 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1618 * gdb.btrace/finish.exp: New.
1619 * gdb.btrace/next.exp: New.
1620 * gdb.btrace/nexti.exp: New.
1621 * gdb.btrace/record_goto.c: Add comments.
1622 * gdb.btrace/step.exp: New.
1623 * gdb.btrace/stepi.exp: New.
1624 * gdb.btrace/multi-thread-step.c: New.
1625 * gdb.btrace/multi-thread-step.exp: New.
1626 * gdb.btrace/rn-dl-bind.c: New.
1627 * gdb.btrace/rn-dl-bind.exp: New.
1628 * gdb.btrace/data.c: New.
1629 * gdb.btrace/data.exp: New.
1630 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1632 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1634 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1635 * gdb.btrace/exception.exp: Update.
1636 * gdb.btrace/instruction_history.exp: Update.
1637 * gdb.btrace/record_goto.exp: Update.
1638 * gdb.btrace/tailcall.exp: Update.
1639 * gdb.btrace/unknown_functions.exp: Update.
1640 * gdb.btrace/delta.exp: New.
1642 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1644 * gdb.btrace/record_goto.exp: Add backtrace test.
1645 * gdb.btrace/tailcall.exp: Add backtrace test.
1647 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1649 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1650 * gdb.btrace/record_goto.c: New.
1651 * gdb.btrace/record_goto.exp: New.
1652 * gdb.btrace/x86-record_goto.S: New.
1654 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1656 * gdb.btrace/function_call_history.exp: Update tests.
1657 * gdb.btrace/instruction_history.exp: Update tests.
1659 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1661 * gdb.btrace/function_call_history.exp: Fix expected field
1662 order for "record function-call-history".
1663 Add new tests for "record function-call-history /c".
1664 * gdb.btrace/exception.cc: New.
1665 * gdb.btrace/exception.exp: New.
1666 * gdb.btrace/tailcall.exp: New.
1667 * gdb.btrace/x86-tailcall.S: New.
1668 * gdb.btrace/x86-tailcall.c: New.
1669 * gdb.btrace/unknown_functions.c: New.
1670 * gdb.btrace/unknown_functions.exp: New.
1671 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1673 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1675 * gdb.btrace/instruction_history.exp: Update.
1676 * gdb.btrace/function_call_history.exp: Update.
1678 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1680 * gdb.btrace/function_call_history.exp: Fix expected function
1682 * gdb.btrace/instruction_history.exp: Initialize traced.
1683 Remove traced_functions.
1685 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1687 * gdb.btrace/function_call_history.exp: Update
1688 * gdb.btrace/instruction_history.exp: Update.
1690 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1692 * gdb.btrace/enable.exp: Update expected text.
1694 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1696 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1699 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1701 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1703 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1705 * lib/gdb.exp (supports_process_record): Return true for
1706 arm*-linux*. (supports_reverse): Likewise.
1708 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1712 * gdb.python/py-type.c: Enhance test case.
1713 * gdb.python/py-value-cc.cc: Likewise
1714 * gdb.python/py-type.exp: Add new tests.
1715 * gdb.python/py-value-cc.exp: Likewise
1717 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1718 Pedro Alves <palves@redhat.com>
1720 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1722 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1723 references to ${name}_start by references to ${name}.
1725 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1727 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1729 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1731 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1733 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1734 Pedro Alves <palves@redhat.com>
1736 * gdb.mi/mi-info-os.exp: Connect to the target with
1739 2014-01-08 Pedro Alves <palves@redhat.com>
1741 * gdb.threads/reconnect-signal.c: New file.
1742 * gdb.threads/reconnect-signal.exp: New file.
1744 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1746 * gdb.base/source-dir.exp: New file.
1748 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1750 * gdb.ada/mi_interface: New testcase.
1752 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1754 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1755 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1756 gdb.ada/pp-rec-component/pck.ads: New files.
1758 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1760 * gdb.python/py-pp-integral.c: New file.
1761 * gdb.python/py-pp-integral.py: New file.
1762 * gdb.python/py-pp-integral.exp: New file.
1764 For older changes see ChangeLog-1993-2013.
1770 ;; version-control: never
1773 Copyright 2014 Free Software Foundation, Inc.
1774 Copying and distribution of this file, with or without modification,
1775 are permitted provided the copyright notice and this notice are preserved.