1 2014-06-04 Doug Evans <xdje42@gmail.com>
3 * gdb.guile/scm-breakpoint.exp: Update.
4 Add tests for breakpoint registration.
6 2014-06-04 Tom Tromey <tromey@redhat.com>
8 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
11 inner_vla_struct, vla_union types. Initialize objects of those
12 types and compute their sizes.
14 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15 Hui Zhu <hui@codesourcery.com>
17 * gdb.base/fileio.exp: Add test for shell not available as well as
19 * gdb.base/fileio.c (test_system): Check for shell twice.
21 2014-06-04 Yao Qi <yao@codesourcery.com>
23 * gdb.base/auto-connect-native-target.exp: Remove redundant
24 space from the regexp pattern.
26 2014-06-04 Yao Qi <yao@codesourcery.com>
28 * gdb.base/default.exp: Replace "child" with "native" in
31 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
33 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
34 * gdb.python/py-xmethods.exp: New tests to test xmethods.
35 * gdb.python/py-xmethods.py: Python script supporting the
36 new testcase and tests.
38 2014-06-03 Joel Brobecker <brobecker@adacore.com>
39 Pedro Alves <palves@redhat.com>
42 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
43 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
45 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
47 * gdb.base/subst.exp: Add tests to verify partial path matching
50 2014-06-03 Pedro Alves <palves@redhat.com>
52 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
53 target that doesn't use software single-stepping.
55 2014-06-03 Pedro Alves <palves@redhat.com>
58 * gdb.base/sss-bp-on-user-bp-2.c: New file.
59 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
61 2014-06-02 Doug Evans <xdje42@gmail.com>
63 * gdb.guile/scm-parameter.exp: New file.
65 2014-06-02 Doug Evans <xdje42@gmail.com>
67 * gdb.guile/scm-cmd.c: New file.
68 * gdb.guile/scm-cmd.exp: New file.
70 2014-06-02 Doug Evans <xdje42@gmail.com>
72 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
73 pretty-printer lookup.
74 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
75 (make-pp_s-printer): Call it.
76 (make-pretty-printer-from-dict): New function.
77 (lookup-pretty-printer-maker-from-dict): New function.
78 (*pretty-printer*): Simplify.
79 (make-objfile-pp_s-printer): New function.
80 (install-objfile-pretty-printers!): New function.
81 (make-progspace-pp_s-printer): New function.
82 (install-progspace-pretty-printers!): New function.
83 * gdb.guile/scm-progspace.c: New file.
84 * gdb.guile/scm-progspace.exp: New file.
86 2014-06-02 Pedro Alves <palves@redhat.com>
88 * gdb.base/dprintf-bp-same-addr.c: New file.
89 * gdb.base/dprintf-bp-same-addr.exp: New file.
91 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
93 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
94 * gdb.arch/powerpc-power.s: Likewise.
96 2014-06-02 Joel Brobecker <brobecker@adacore.com>
98 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
100 2014-06-01 Yao Qi <yao@codesourcery.com>
102 * gdb.base/watchpoint.exp (test_watch_location): Check null
103 pointer can be dereferenced. If not, do the test, otherwise
106 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
108 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
110 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
112 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
114 * gdb.arch/amd64-invalid-stack-middle.S: New file.
115 * gdb.arch/amd64-invalid-stack-middle.c: New file.
116 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
117 * gdb.arch/amd64-invalid-stack-top.c: New file.
118 * gdb.arch/amd64-invalid-stack-top.exp: New file.
120 2014-05-30 Pedro Alves <palves@redhat.com>
123 * gdb.base/sss-bp-on-user-bp.c: New file.
124 * gdb.base/sss-bp-on-user-bp.exp: New file.
126 2014-05-30 David Blaikie <dblaikie@gmail.com>
128 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
129 gnu_inline semantics via attribute.
130 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
131 source explicitly specifies the required semantics.
133 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
135 * gdb.reverse/sigall-reverse.exp: Fix a typo.
137 2014-05-29 Pedro Alves <palves@redhat.com>
138 Tom Tromey <tromey@redhat.com>
140 * gdb.base/async-shell.exp: Don't enable target-async.
142 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
144 (top level): Don't test with "target-async".
145 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
146 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
147 * gdb.base/inferior-died.exp: Don't enable target-async.
148 * gdb.base/interrupt-noterm.exp: Likewise.
149 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
150 * gdb.mi/mi-nonstop-exit.exp: Likewise.
151 * gdb.mi/mi-nonstop.exp: Likewise.
152 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
153 * gdb.mi/mi-nsintrall.exp: Likewise.
154 * gdb.mi/mi-nsmoribund.exp: Likewise.
155 * gdb.mi/mi-nsthrexec.exp: Likewise.
156 * gdb.mi/mi-watch-nonstop.exp: Likewise.
157 * gdb.multi/watchpoint-multi.exp: Adjust comment.
158 * gdb.python/py-evsignal.exp: Don't enable target-async.
159 * gdb.python/py-evthreads.exp: Likewise.
160 * gdb.python/py-prompt.exp: Likewise.
161 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
162 * gdb.server/solib-list.exp: Don't enable target-async.
163 * gdb.threads/thread-specific-bp.exp: Likewise.
164 * lib/mi-support.exp: Adjust to use mi-async.
166 2014-05-29 Pedro Alves <palves@redhat.com>
169 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
170 reason, even in sync mode.
172 2014-05-29 Pedro Alves <palves@redhat.com>
173 Hui Zhu <hui@codesourcery.com>
176 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
177 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
178 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
179 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
181 2014-05-28 Joel Brobecker <brobecker@adacore.com>
183 * config/monitor.exp (gdb_target_monitor): Replace use of
184 "set remotebaud" by "set serial baud".
186 2014-05-26 Andy Wingo <wingo@igalia.com>
188 * gdb.guile/scm-breakpoint.exp:
189 * gdb.guile/scm-gsmob.exp: Update to use plain old object
190 properties instead of gdb-object-properties.
192 2014-05-26 Yao Qi <yao@codesourcery.com>
194 * gdb.server/no-thread-db.exp: Specify source file name
195 explicitly when setting a breakpoint.
197 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
199 * gdb.btrace/vdso.c: New.
200 * gdb.btrace/vdso.exp: New.
202 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
204 * gdb.base/gcore.exp (capture_command_output): Move ...
205 * lib/gdb.exp (capture_command_output): ... here.
207 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
209 * gdb.btrace/data.exp: Test memory access during btrace replay.
211 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
213 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
215 2014-05-21 Pedro Alves <palves@redhat.com>
218 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
219 (top level): Test that output related to execution commands is
220 sent to the console with CLI commands, but not with MI commands.
221 Test that breakpoint events are always mirrored to the console.
222 Also expect the new source line to be output after a "next" in
223 async mode too. Make it a pass/fail test.
224 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
226 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
228 2014-05-21 Pedro Alves <palves@redhat.com>
230 * gdb.base/list.exp (build_pattern, test_list): New procedures.
231 Use them to test variations of "list" after reaching a breakpoint.
232 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
233 Test "list" with listsize 10 after reaching a breakpoint.
234 * gdb.python/python.exp (decode_line current location line
235 number): Adjust expected line number.
237 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
239 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
240 behavior for $args, pass it directly to "run".
242 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
244 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
247 2014-05-21 Pedro Alves <palves@redhat.com>
249 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
250 auto-connect-native-target off".
251 * gdb.base/auto-connect-native-target.c: New file.
252 * gdb.base/auto-connect-native-target.exp: New file.
254 2014-05-21 Pedro Alves <palves@redhat.com>
256 * gdb.base/default.exp: Test "target native" instead of "target
259 2014-05-21 Mark Wielaard <mjw@redhat.com>
261 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
263 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
265 Fix TLS access for -static -pthread.
266 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
267 <HAVE_TLS> (thread_function, main): Initialize it.
268 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
270 <$have_tls != "">: Check TLSVAR.
272 2014-05-21 Pedro Alves <palves@redhat.com>
274 * gdb.base/dcache-line-read-error.c: New.
275 * gdb.base/dcache-line-read-error.exp: New.
277 2014-05-20 Pedro Alves <palves@redhat.com>
279 * gdb.base/compare-sections.c: New file.
280 * gdb.base/compare-sections.exp: New file.
282 2014-05-20 Pedro Alves <palves@redhat.com>
284 * gdb.base/break-idempotent.c: New file.
285 * gdb.base/break-idempotent.exp: New file.
287 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
289 * gdb.btrace/nohist.exp: New.
291 2014-05-20 Yao Qi <yao@codesourcery.com>
293 * lib/gdb.exp (gdb_init): Set timeout if test file is under
294 gdb.reverse directory and gdb_reverse_timeout exists in board
296 * README: Document gdb_reverse_timeout.
298 2014-05-20 Yao Qi <yao@codesourcery.com>
300 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
301 'test_file_name'. Treat args as a string instead of a list.
302 (gdb_init): Rename argument 'args' by 'test_file_name'.
304 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
306 * gdb.arch/powerpc-power.exp: New file.
307 * gdb.arch/powerpc-power.s: New file.
309 2014-05-16 Doug Evans <dje@google.com>
311 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
312 * gdb.base/completion.exp: Check that all expected files exist
313 before doing file completion.
315 2014-05-16 Doug Evans <dje@google.com>
317 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
319 (do_syscall_tests_without_xml): Update.
321 2014-05-16 Pedro Alves <palves@redhat.com>
323 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
324 instead of "unknown output after running".
326 2014-05-16 Yao Qi <yao@codesourcery.com>
328 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
329 file1.txt from host at the end.
330 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
332 2014-05-15 Doug Evans <dje@google.com>
334 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
335 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
336 loading file. Add test for TU lookup.
338 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
340 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
341 calling "-exec-arguments" or "set args" before running the
344 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
346 * lib/mi-support.exp (mi_expect_stop): Expect message for
347 inferiors that exit with non-zero exit code.
349 2014-05-14 Yao Qi <yao@codesourcery.com>
351 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
352 match absolute path on remote host.
353 (test_file_list_exec_source_files): Remove "/" from the
356 2014-05-14 Yao Qi <yao@codesourcery.com>
358 * boards/local-remote-host-notty.exp (${board}_file): New
361 2014-05-07 Kyle McMartin <kyle@redhat.com>
363 Pushed by Joel Brobecker <brobecker@adacore.com>.
364 * gdb.arch/aarch64-atomic-inst.c: New file.
365 * gdb.arch/aarch64-atomic-inst.exp: New file.
367 2014-05-07 Yao Qi <yao@codesourcery.com>
369 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
370 in current context" too.
372 2014-05-05 Keith Seitz <keiths@redhat.com>
374 * gdb.linespec/ls-dollar.exp: Add test for linespec
375 file:convenience_variable.
377 2014-05-05 Yao Qi <yao@codesourcery.com>
379 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
380 traceframes into tfile and ctf trace files. Read data from
381 trace file and test collected data.
382 (gdb_collect_locals_test): Likewise.
383 (gdb_unavailable_registers_test): Likewise.
384 (gdb_unavailable_floats): Likewise.
385 (gdb_collect_globals_test): Likewise.
386 (top-level): Append "ctf" to trace_file_targets if GDB
389 2014-05-05 Yao Qi <yao@codesourcery.com>
391 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
393 (gdb_collect_args_test_1): ... it. New proc.
394 (gdb_collect_locals_test): Move some code to ...
395 (gdb_collect_locals_test_1): ... it. New proc.
396 (gdb_unavailable_registers_test): Move some code to ...
397 (gdb_unavailable_registers_test_1): ... it. New proc.
398 (gdb_unavailable_floats): Move some code to ...
399 (gdb_unavailable_floats_1): ... it. New proc.
401 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
403 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
404 probes to test for bitness recognition.
405 * gdb.arch/amd64-stap-optional-prefix.exp
406 (test_probe_value_without_reg): New procedure.
407 Add code to test for different kinds of bitness.
409 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
412 * gdb.arch/amd64-stap-optional-prefix.S: New file.
413 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
415 2014-05-01 Pedro Alves <palves@redhat.com>
417 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
418 gdb_file_cmd if no file is specified.
419 * boards/native-extended-gdbserver.exp (gdb_load): Use the
420 last_loaded_file to set the remote exec-file.
422 2014-05-01 Pedro Alves <palves@redhat.com>
424 * boards/local-remote-host.exp: New file.
426 2014-05-01 Pedro Alves <palves@redhat.com>
428 * boards/local-remote-host.exp: Rename to ...
429 * boards/local-remote-host-notty.exp: ... this.
431 2014-04-28 Joel Brobecker <brobecker@adacore.com>
433 * gdb.ada/dyn_arrayidx: New testcase.
435 2014-04-26 Yao Qi <yao@codesourcery.com>
437 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
438 and compute the length of function main. Save it in
440 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
441 (top-level): Use gdb_compile to compile objects into
442 executable and restart GDB. Remove invocation to
445 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
446 Pedro Alves <palves@redhat.com>
449 * gdb.multi/multi-attach.c: New file.
450 * gdb.multi/multi-attach.exp: New file.
452 2014-04-25 Pedro Alves <palves@redhat.com>
454 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
456 (top level): Test that "set remote conditional-breakpoints-packet
457 off" works as intended.
458 * gdb.base/dprintf.exp: Test that "set remote
459 breakpoint-commands-packet off" works as intended.
460 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
462 (top level): Call it.
463 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
464 remote fast-tracepoints-packet off" works as intended.
465 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
466 * lib/gdb.exp (gdb_is_target_remote): ... here.
468 2014-04-24 David Blaikie <dblaikie@gmail.com>
470 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
471 ensure clang would not discard them.
472 * gdb.base/gdbvars.c: Ditto.
473 * gdb.base/memattr.c: Ditto.
474 * gdb.base/whatis.c: Ditto.
475 * gdb.python/py-prettyprint.c: Ditto.
476 * gdb.trace/actions.c: Ditto.
477 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
478 ensure clang would not discard it.
480 2014-04-24 David Blaikie <dblaikie@gmail.com>
482 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
483 clang to emit the full definition of type required by the test
484 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
486 2014-04-24 David Blaikie <dblaikie@gmail.com>
488 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
489 coax Clang into emitting the definition of the type.
490 * gdb.cp/pr10728-x.h (y): Ditto.
491 * gdb.cp/pr10728-y.cc (y): Ditto.
493 2014-04-24 David Blaikie <dblaikie@gmail.com>
495 * gdb.base/label.exp: XFAIL label related tests under Clang.
496 * gdb.cp/cplabel.exp: Ditto.
497 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
498 under Clang those using labels.
500 2014-04-25 Yao Qi <yao@codesourcery.com>
502 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
504 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
505 partial_label and double_label.
507 2014-04-24 David Blaikie <dblaikie@gmail.com>
509 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
511 2014-04-24 David Blaikie <dblaikie@gmail.com>
513 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
514 of the function to work across GCC and Clang.
515 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
516 pointer types (const void ** const V void **).
518 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
519 Walfred Tedeschi <walfred.tedeschi@intel.com>
521 * Makefile.in (EXECUTABLES): Added i386-avx512.
522 * gdb.arch/i386-avx512.c: New file.
523 * gdb.arch/i386-avx512.exp: Likewise.
525 2014-04-23 Keith Seitz <keiths@redhat.com>
527 * lib/mi-support.exp (mi_list_breakpoints): Delete.
528 (mi_make_breakpoint_table): New procedure.
529 (mi_create_breakpoint): Use mi_make_breakpoint
530 and return the result.
531 (mi_make_breakpoint): New procedure.
532 (mi_build_kv_pairs): New procedure.
534 * gdb.mi/mi-break.exp: Remove unused globals,
535 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
537 * gdb.mi/mi-dprintf.exp: Use variable to track command
539 Update all callers of mi_create_breakpoint and use
540 mi_make_breakpoint_table.
541 Remove any unused global variables.
542 * gdb.mi/mi-nonstop.exp: Likewise.
543 * gdb.mi/mi-nsintrall.exp: Likewise.
544 * gdb.mi/mi-nsmoribund.exp: Likewise.
545 * gdb.mi/mi-nsthrexec.exp: Likewise.
546 * gdb.mi/mi-reverse.exp: Likewise.
547 * gdb.mi/mi-simplerun.exp: Likewise.
548 * gdb.mi/mi-stepn.exp: Likewise.
549 * gdb.mi/mi-syn-frame.exp: Likewise.
550 * gdb.mi/mi-until.exp: Likewise.
551 * gdb.mi/mi-var-cp.exp: Likewise.
552 * gdb.mi/mi-var-display.exp: Likewise.
553 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
554 * gdb.mi/mi2-var-child.exp: Likewise.
555 * gdb.mi/mi-vla-c99.exp: Likewise.
556 * lib/mi-support.exp: Likewise.
558 From Ian Lance Taylor <iant@cygnus.com>:
559 * lib/gdb.exp (parse_args): New procedure.
561 2014-04-23 Pedro Alves <palves@redhat.com>
563 * gdb.base/break-unload-file.c: New file.
564 * gdb.base/break-unload-file.exp: New file.
565 * gdb.base/sym-file-lib.c (baz): New function.
566 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
568 (load): Store the segment's mapped size.
569 (unload): New function.
570 (unload_shlib): New function.
571 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
572 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
573 set a breakpoint at baz, and call it.
574 * gdb.base/sym-file.exp: New tests for stale breakpoint
577 2014-04-23 Pedro Alves <palves@redhat.com>
579 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
580 * gdb.base/hbreak-in-shr-unsupported.c: New file.
581 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
582 * gdb.base/hbreak-unmapped.c: New file.
583 * gdb.base/hbreak-unmapped.exp: New file.
584 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
585 * lib/gdb.exp (gdb_is_target_remote): ... here.
587 2014-04-22 Pedro Alves <palves@redhat.com>
589 * gdb.base/consecutive-step-over.c: New file.
590 * gdb.base/consecutive-step-over.exp: New file.
592 2014-04-22 Pedro Alves <palves@redhat.com>
594 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
595 instead of send_gdb/gdb_expect.
597 2014-04-22 Yao Qi <yao@codesourcery.com>
599 * lib/trace-support.exp (generate_tracefile): New procedure.
600 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
602 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
603 if generate_tracefile returns 1.
605 2014-04-18 Tom Tromey <palves@redhat.com>
606 Pedro alves <tromey@redhat.com>
609 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
610 with a backtrace limit.
611 * gdb.python/py-frame-inline.exp: Test running to an inline
612 function with a backtrace limit, and printing the newest frame.
613 * gdb.python/py-frame-inline.c (main): Call f.
615 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
617 * gdb.java/jnpe.exp: Drop srcdir from untested path.
619 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
621 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
622 Drop prefix from unsupported source file path.
624 2014-04-17 Yao Qi <yao@codesourcery.com>
626 * lib/gdb.exp (with_target_charset): New proc.
627 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
629 (test_print_strings): Likewise.
630 (test_repeat_bytes): Likewise.
631 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
634 2014-04-16 Keith Seitz <keiths@redhat.com>
637 * gdb.dwarf2/corrupt.c: New file.
638 * gdb.dwarf2/corrupt.exp: New file.
640 2014-04-16 Keith Seitz <keiths@redhat.com>
643 * gdb.cp/namelessclass.cc: New file.
644 * gdb.cp/namelessclass.exp: New file.
645 * gdb.cp/namelessclass.S: New file.
647 2014-04-16 Doug Evans <dje@google.com>
649 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
651 (gdbserver_default_get_comm_port): New function.
652 (gdbserver_start): Check if board file provided
653 "gdbserver,get_comm_port" and use it if so.
654 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
655 (gdb,socketport): Set to "stdio".
656 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
657 (stdio_gdbserver_template): Delete.
658 (${board}_get_remote_address): Update.
659 (${board}_build_remote_cmd): Delete.
660 (${board}_get_comm_port): New function.
661 (${board}_spawn): Update.
662 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
664 (${board}_get_remote_address): Update.
665 (${board}_get_comm_port): New function.
667 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
669 * gdb.base/memattr.exp: Improve regexps to handle memory regions
670 appearing in any order.
672 2014-04-15 Doug Evans <dje@google.com>
674 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
675 uninitialized value of "description".
677 2014-04-15 Keith Seitz <keiths@redhat.com>
679 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
680 Remove unused globals.
681 (test_running_the_program): Likewise.
682 (test_controlled_execution): Likewise.
683 (test_controlling_breakpoints): Likewise.
684 (test_program_termination): Likewise.
686 2014-04-15 Keith Seitz <keiths@redhat.com>
688 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
690 (test_rbreak_creation_and_listing): Likewise.
691 (test_ignore_count): Likewise.
692 (test_error): Likewise.
694 2014-04-15 Pedro Alves <palves@redhat.com>
696 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
697 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
699 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
700 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
701 to sym-file-loader.c.
702 (struct library): Forward declare.
703 (load_shlib, lookup_function): Change prototypes.
704 (find_shstrtab, find_strtab, find_shdr, find_symtab)
705 (translate_offset): Remove declarations.
706 (get_text_addr): New declaration.
707 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
708 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
710 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
711 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
712 here from sym-file-loader.h.
713 (struct library): New structure.
714 (load_shlib, lookup_function): Change prototypes and adjust to
715 work with a struct library.
716 (find_shstrtab, find_strtab, find_shdr, find_symtab)
717 (translate_offset): Make static.
718 (get_text_addr): New function.
719 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
721 2014-04-15 Pedro Alves <palves@redhat.com>
723 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
725 2014-04-15 Pedro Alves <palves@redhat.com>
727 * gdb.base/sym-file-loader.c: Include <limits.h>.
728 (SELF_LINK): New define.
729 (get_origin): New function.
730 (load_shlib): Use it.
731 * gdb.base/sym-file.exp: Don't early return if the target is
732 remote. Use runto_main, and issue fail is that fails. Use
734 (shlib_name): Delete.
735 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
737 2014-04-15 Pedro Alves <palves@redhat.com>
739 * gdb.base/sym-file.exp: Remove regex characters from test
740 message. Don't refer to breakpoint numbers in test messages.
742 2014-04-14 Keith Seitz <keiths@redhat.com>
745 * gdb.cp/var-tag.cc: New file.
746 * gdb.cp/var-tag.exp: New file.
747 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
748 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
749 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
750 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
752 2014-04-14 Tom Tromey <tromey@redhat.com>
754 * gdb.cp/classes.exp (test_enums): Handle underlying type.
755 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
757 * gdb.cp/enum-class.exp: New file.
758 * gdb.cp/enum-class.cc: New file.
760 2014-04-14 Tom Tromey <tromey@redhat.com>
762 * gdb.dwarf2/enum-type.exp: New file.
764 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
766 * gdb.mi/mi-vla-c99.exp: New file.
767 * gdb.mi/vla.c: New file.
769 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
771 * gdb.base/vla-datatypes.c: New file.
772 * gdb.base/vla-datatypes.exp: New file.
774 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
776 * gdb.base/vla-ptr.c: New file.
777 * gdb.base/vla-ptr.exp: New file.
779 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
781 * gdb.dwarf2/count.exp: New file.
783 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
785 * gdb.base/vla-sideeffect.c: New file.
786 * gdb.base/vla-sideeffect.exp: New file.
788 2014-04-14 David Blaikie <dblaikie@gmail.com>
790 * gdb.mi/non-stop.c: Add return value for non-void function return
792 * gdb.threads/staticthreads.c: Ditto.
794 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
795 Doug Evans <xdje42@gmail.com>
797 * gdb.guile/scm-value.c: Improve test case.
798 * gdb.guile/scm-value.exp: Add new test.
800 2014-04-11 David Blaikie <dblaikie@gmail.com>
802 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
803 override Clang's default.
805 2014-04-11 Joel Brobecker <brobecker@adacore.com>
807 Revert the following changes (regressions):
809 * gdb.base/vla-sideeffect.c: New file.
810 * gdb.base/vla-sideeffect.exp: New file.
812 * gdb.dwarf2/count.exp: New file.
814 * gdb.base/vla-multi.c: New file.
815 * gdb.base/vla-multi.exp: New file.
817 * gdb.base/vla-ptr.c: New file.
818 * gdb.base/vla-ptr.exp: New file.
820 * gdb.base/vla-datatypes.c: New file.
821 * gdb.base/vla-datatypes.exp: New file.
823 * gdb.mi/mi-vla-c99.exp: New file.
824 * gdb.mi/vla.c: New file.
826 2014-04-11 Keith Seitz <keiths@redhat.com>
829 * gdb.cp/cpsizeof.exp: New file.
830 * gdb.cp/cpsizeof.cc: New file.
832 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
834 * gdb.mi/mi-vla-c99.exp: New file.
835 * gdb.mi/vla.c: New file.
837 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
839 * gdb.base/vla-datatypes.c: New file.
840 * gdb.base/vla-datatypes.exp: New file.
842 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
844 * gdb.base/vla-ptr.c: New file.
845 * gdb.base/vla-ptr.exp: New file.
847 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
849 * gdb.base/vla-multi.c: New file.
850 * gdb.base/vla-multi.exp: New file.
852 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
854 * gdb.dwarf2/count.exp: New file.
856 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
858 * gdb.base/vla-sideeffect.c: New file.
859 * gdb.base/vla-sideeffect.exp: New file.
861 2014-04-11 Yao Qi <yao@codesourcery.com>
863 * gdb.base/completion.exp: Check file exists before running tests
866 2014-04-10 Pedro Alves <palves@redhat.com>
868 * gdb.base/cond-eval-mode.c: New file.
869 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
870 prepare_for_testing to build the new file. Check result of
872 (test_break, test_watch): New procedures.
873 (top level): Use them.
875 2014-04-08 Pierre Muller <muller@sourceware.org>
877 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
878 Ctrl-V use for mingw hosts.
880 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
882 * gdb.python/py-value.c: Improve test case.
883 * gdb.python/py-value.exp: Add new test.
885 2014-04-07 David Blaikie <dblaikie@gmail.com>
887 * lib/compiler.c: Identify the clang compiler.
888 * lib/compiler.cc: Ditto.
890 2014-04-03 Yao Qi <yao@codesourcery.com>
892 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
894 2014-04-01 Anton Blanchard <anton@samba.org>
896 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
899 2014-04-01 Anton Blanchard <anton@samba.org>
901 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
904 2014-04-01 Anton Blanchard <anton@samba.org>
906 * gdb.arch/ppc64-atomic-inst.c: Remove.
907 * gdb.arch/ppc64-atomic-inst.S: New file.
908 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
910 2014-03-31 Doug Evans <dje@google.com>
912 * gdb.base/print-symbol-loading-lib.c: New file.
913 * gdb.base/print-symbol-loading-main.c: New file.
914 * gdb.base/print-symbol-loading.exp: New file.
916 2014-03-31 Yao Qi <yao@codesourcery.com>
918 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
920 2014-03-28 Joel Brobecker <brobecker@adacore.com>
922 * gdb.ada/mi_dyn_arr: New testcase.
924 2014-03-27 Doug Evans <dje@google.com>
926 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
928 2014-03-27 Yao Qi <yao@codesourcery.com>
930 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
931 if target is nios2-*-*.
933 2014-03-26 Yao Qi <yao@codesourcery.com>
935 * lib/gdb.exp (readline_is_used): New proc.
936 * gdb.base/completion.exp: Move tests on command complete up.
937 Skip the rest of tests if readline is not used.
938 * gdb.ada/complete.exp: Skp the test if readline is not
940 * gdb.base/filesym.exp: Likewise.
941 * gdb.base/macscp.exp: Likewise.
942 * gdb.base/readline-ask.exp: Likewise.
943 * gdb.base/readline.exp: Likewise.
944 * gdb.python/py-cmd.exp: Likewise.
945 * gdb.trace/tfile.exp: Likewise.
947 2014-03-26 Yao Qi <yao@codesourcery.com>
949 * gdb.base/macscp.exp: Fix code format issues.
951 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
953 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
954 * gdb.asm/powerpc64le.inc: New file.
956 2014-03-25 Pedro Alves <palves@redhat.com>
957 Doug Evans <dje@google.com>
959 * gdb.base/source-execution.c: New file.
960 * gdb.base/source-execution.exp: New file.
961 * gdb.base/source-execution.gdb: New file.
963 2014-03-24 Doug Evans <dje@google.com>
965 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
968 2014-03-24 Hui Zhu <hui@codesourcery.com>
969 Pedro Alves <palves@redhat.com>
972 * gdb.base/dprintf.exp: Use unsupported rather than changing the
973 test pass/fail messages. Detect missing support for dprintf when
974 breakpoints are actually inserted.
975 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
976 breakpoints are actually inserted.
977 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
980 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
982 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
984 2014-03-22 Doug Evans <xdje42@gmail.com>
986 * gdb.python/python.exp (python not supported): Verify multi-line
987 python command issues an error.
988 * gdb.guile/guile.exp (guile not supported): Verify multi-line
989 guile command issues an error.
991 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
993 * gdb.threads/thread-specific.exp: Handle the lack of usable
994 $this_breakpoint and $this_thread.
996 2014-03-21 Hui Zhu <hui@codesourcery.com>
998 * gdb.base/attach.exp (do_command_attach_tests): New.
1000 2014-03-20 Tom Tromey <tromey@redhat.com>
1001 Pedro Alves <palves@redhat.com>
1004 * gdb.base/condbreak-call-false.c: New file.
1005 * gdb.base/condbreak-call-false.exp: New file.
1007 2014-03-20 Pedro Alves <palves@redhat.com>
1009 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1011 (block_signals, unblock_signals): Delete.
1012 (child_function_2, main): Remove references to deleted variable
1015 2014-03-20 Pedro Alves <palves@redhat.com>
1017 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1018 Use pthread_kill to signal thread 2.
1019 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1020 Adjust to make the test send itself a signal rather than using the
1021 host's "kill" command.
1023 2014-03-20 Pedro Alves <palves@redhat.com>
1025 * gdb.threads/multiple-step-overs.c: New file.
1026 * gdb.threads/multiple-step-overs.exp: New file.
1027 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1028 Adjust expected infrun debug output.
1030 2014-03-20 Pedro Alves <palves@redhat.com>
1032 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1033 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1035 2014-03-20 Pedro Alves <palves@redhat.com>
1038 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1039 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1040 of gdb_test_multiple.
1041 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1042 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1044 2014-03-20 Pedro Alves <palves@redhat.com>
1046 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1047 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1049 2014-03-19 Pedro Alves <palves@redhat.com>
1051 * gdb.base/async.exp: Remove early return.
1053 2014-03-19 Pedro Alves <palves@redhat.com>
1055 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1057 2014-03-19 Pedro Alves <palves@redhat.com>
1059 * gdb.base/async.exp (test_background): Expect \r\n after
1060 "completed." in the fail pattern.
1062 2014-03-19 Pedro Alves <palves@redhat.com>
1064 * gdb.base/async.exp (test_background): New procedure.
1065 Use it for all background execution command tests.
1067 2014-03-19 Pedro Alves <palves@redhat.com>
1069 * gdb.base/async.exp: Use prepare_for_testing.
1071 2014-03-19 Pedro Alves <palves@redhat.com>
1073 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1076 2014-03-19 Pedro Alves <palves@redhat.com>
1078 * gdb.base/async.c (main): Add "jump here" and "until here" line
1080 * gdb.base/async.exp (jump_here): New global.
1081 (jump& test): Use it.
1082 (until_here): New global.
1083 (until& test): Use it.
1085 2014-03-19 Pedro Alves <palves@redhat.com>
1087 * gdb.base/async.exp: Don't frob gdb_protocol.
1089 2014-03-18 Doug Evans <xdje42@gmail.com>
1091 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1092 Fix spelling of exec-done-display.
1094 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1097 * gdb.base/gdb-sigterm.c: New file.
1098 * gdb.base/gdb-sigterm.exp: New file.
1100 2014-03-18 Pedro Alves <palves@redhat.com>
1103 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1104 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1107 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1109 * gdb.ada/pckd_arr_ren: New testcase.
1111 2014-03-13 Doug Evans <xdje42@gmail.com>
1114 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1115 collect after discarding symbols.
1117 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1118 Doug Evans <xdje42@gmail.com>
1120 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1121 to history survives a gc.
1123 2014-03-13 Pedro Alves <palves@redhat.com>
1125 * gdb.base/default.exp: Don't test "target procfs".
1127 2014-03-13 Pedro Alves <palves@redhat.com>
1129 * gdb.base/default.exp: Update "target child" and "target procfs"
1130 tests to not expect "Unix".
1132 2014-03-12 Tom Tromey <tromey@redhat.com>
1134 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1135 New procs. Add target-async tests.
1136 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1137 Add target-async tests.
1139 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1141 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1142 'func_start' and 'func_end' for the beginning and end of the
1143 function code, respectively.
1144 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1145 'func_end' instead of 'func' and 'main'.
1147 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1149 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1150 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1151 generate the debug info assembler source.
1153 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1155 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1156 * gdb.dwarf2/arr-subrange.exp: Likewise.
1157 * gdb.dwarf2/dwz.exp: Likewise.
1158 * gdb.dwarf2/method-ptr.exp: Likewise.
1159 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1160 * gdb.dwarf2/subrange.exp: Likewise.
1161 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1162 * gdb.dwarf2/implptrpiece.exp: Likewise.
1163 * gdb.dwarf2/nostaticblock.exp: Likewise.
1165 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1167 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1168 directory to absolute path name arguments.
1170 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1172 * gdb.ada/tagged_access: New testcase.
1174 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1176 * gdb.btrace/data.exp: Update expected output.
1178 2014-03-06 Yao Qi <yao@codesourcery.com>
1180 * gdb.trace/pr16508.exp: New file.
1182 2014-03-05 Pedro Alves <palves@redhat.com>
1185 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1187 (top level): Adjust to use it. Add tests that exercise breakpoint
1188 interaction with the code-cache.
1190 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1192 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1193 test for 'history-append!'.
1195 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1197 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1198 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1199 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1200 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1201 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1202 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1204 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1206 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1207 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1208 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1210 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1212 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1214 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1216 * gdb.dwarf2/arr-stride.c: New file.
1217 * gdb.dwarf2/arr-stride.exp: New file.
1219 2014-02-26 Pedro Alves <palves@redhat.com>
1221 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1222 that won't ever trigger. Make sure that GDB reports the correct
1223 breakpoint that caused the stop.
1225 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1228 * gdb.base/auto-load-script: New file.
1229 * gdb.base/auto-load.c: New file.
1230 * gdb.base/auto-load.exp: New file.
1233 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1235 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1237 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1238 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1240 2014-02-24 Doug Evans <dje@google.com>
1242 * lib/gdb.exp (run_on_host): Log error output if program fails.
1244 2014-02-21 Pedro Alves <palves@redhat.com>
1246 * gdb.threads/step-after-sr-lock.c: Rename to ...
1247 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1248 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1249 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1252 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1255 * gdb.arch/amd64-stap-special-operands.exp: New file.
1256 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1257 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1258 * gdb.arch/amd64-stap-triplet.S: Likewise.
1259 * gdb.arch/amd64-stap-triplet.c: Likewise.
1261 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1263 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1264 in .section pseudo-op.
1266 2014-02-20 lin zuojian <manjian2006@gmail.com>
1267 Joel Brobecker <brobecker@adacore.com>
1268 Doug Evans <xdje42@gmail.com>
1271 * gdb.dwarf2/dw2-icycle.S: New file.
1272 * gdb.dwarf2/dw2-icycle.c: New file.
1273 * gdb.dwarf2/dw2-icycle.exp: New file.
1275 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1277 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1278 operations on gdb.Value objects.
1279 * gdb.python/py-value-cc.exp: Add new test to test operations on
1282 2014-02-18 Doug Evans <dje@google.com>
1284 * Makefile.in (TESTS): New variable.
1285 (expanded_tests, expanded_tests_or_none): New variables
1286 (check-single): Pass $(expanded_tests_or_none) to runtest.
1287 (check-parallel): Only run tests in $(TESTS) if non-empty.
1288 (check/no-matching-tests-found): New rule.
1289 * README: Document TESTS makefile variable.
1291 2014-02-18 Doug Evans <dje@google.com>
1293 * Makefile.in (check-parallel): rm -rf outputs temp.
1295 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1297 Fix "ERROR: no fileid for" in the testsuite.
1298 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1300 2014-02-12 Doug Evans <dje@google.com>
1302 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1303 (MISCELLANEOUS): New variable.
1304 (clean): rm -rf $(MISCELLANEOUS).
1305 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1306 dwp live in the same directory as symlinks, with each symlink pointed
1307 to a differently named file in a different directory.
1309 2014-02-11 Doug Evans <dje@google.com>
1311 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1312 of Tcl file commands.
1314 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1316 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1319 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1321 * gdb.ada/tick_length_array_enum_idx: New testcase.
1323 2014-02-10 Doug Evans <xdje42@gmail.com>
1325 * configure.ac (AC_OUTPUT): Add gdb.guile.
1326 * configure: Regenerate.
1327 * lib/gdb-guile.exp: New file.
1328 * lib/gdb.exp (get_target_charset): New function.
1329 * gdb.base/help.exp: Update expected output from "apropos apropos".
1330 * gdb.guile/Makefile.in: New file.
1331 * gdb.guile/guile.exp: New file.
1332 * gdb.guile/scm-arch.c: New file.
1333 * gdb.guile/scm-arch.exp: New file.
1334 * gdb.guile/scm-block.c: New file.
1335 * gdb.guile/scm-block.exp: New file.
1336 * gdb.guile/scm-breakpoint.c: New file.
1337 * gdb.guile/scm-breakpoint.exp: New file.
1338 * gdb.guile/scm-disasm.c: New file.
1339 * gdb.guile/scm-disasm.exp: New file.
1340 * gdb.guile/scm-equal.c: New file.
1341 * gdb.guile/scm-equal.exp: New file.
1342 * gdb.guile/scm-error.exp: New file.
1343 * gdb.guile/scm-error.scm: New file.
1344 * gdb.guile/scm-frame-args.c: New file.
1345 * gdb.guile/scm-frame-args.exp: New file.
1346 * gdb.guile/scm-frame-args.scm: New file.
1347 * gdb.guile/scm-frame-inline.c: New file.
1348 * gdb.guile/scm-frame-inline.exp: New file.
1349 * gdb.guile/scm-frame.c: New file.
1350 * gdb.guile/scm-frame.exp: New file.
1351 * gdb.guile/scm-generics.exp: New file.
1352 * gdb.guile/scm-gsmob.exp: New file.
1353 * gdb.guile/scm-iterator.c: New file.
1354 * gdb.guile/scm-iterator.exp: New file.
1355 * gdb.guile/scm-math.c: New file.
1356 * gdb.guile/scm-math.exp: New file.
1357 * gdb.guile/scm-objfile-script-gdb.in: New file.
1358 * gdb.guile/scm-objfile-script.c: New file.
1359 * gdb.guile/scm-objfile-script.exp: New file.
1360 * gdb.guile/scm-objfile.c: New file.
1361 * gdb.guile/scm-objfile.exp: New file.
1362 * gdb.guile/scm-ports.exp: New file.
1363 * gdb.guile/scm-pretty-print.c: New file.
1364 * gdb.guile/scm-pretty-print.exp: New file.
1365 * gdb.guile/scm-pretty-print.scm: New file.
1366 * gdb.guile/scm-section-script.c: New file.
1367 * gdb.guile/scm-section-script.exp: New file.
1368 * gdb.guile/scm-section-script.scm: New file.
1369 * gdb.guile/scm-symbol.c: New file.
1370 * gdb.guile/scm-symbol.exp: New file.
1371 * gdb.guile/scm-symtab-2.c: New file.
1372 * gdb.guile/scm-symtab.c: New file.
1373 * gdb.guile/scm-symtab.exp: New file.
1374 * gdb.guile/scm-type.c: New file.
1375 * gdb.guile/scm-type.exp: New file.
1376 * gdb.guile/scm-value-cc.cc: New file.
1377 * gdb.guile/scm-value-cc.exp: New file.
1378 * gdb.guile/scm-value.c: New file.
1379 * gdb.guile/scm-value.exp: New file.
1380 * gdb.guile/source2.scm: New file.
1381 * gdb.guile/types-module.cc: New file.
1382 * gdb.guile/types-module.exp: New file.
1384 2014-02-10 Yao Qi <yao@codesourcery.com>
1387 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1388 * configure: Regenerated.
1389 * Makefile.in: New file.
1391 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1393 * gdb.python/py-framefilter.exp: Fix typo.
1395 2014-02-08 Yao Qi <yao@codesourcery.com>
1397 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1398 that no =breakpoint-modified is emitted when breakpoints are
1399 modified through MI commands.
1401 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1402 Pedro Alves <palves@redhat.com>
1404 * gdb.threads/step-after-sr-lock.c: New file.
1405 * gdb.threads/step-after-sr-lock.exp: New file.
1407 2014-02-07 Pedro Alves <palves@redhat.com>
1409 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1411 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1413 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1414 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1416 2014-02-06 Doug Evans <xdje42@gmail.com>
1418 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1421 * gdb.gdb/python-interrupts.exp: New file.
1423 2014-02-05 Yao Qi <yao@codesourcery.com>
1425 * gdb.trace/report.exp (use_collected_data): Test the output
1426 of "info threads" and "info inferiors".
1428 2014-02-05 Yao Qi <yao@codesourcery.com>
1432 2013-05-24 Yao Qi <yao@codesourcery.com>
1434 * gdb.trace/tfile.exp: Test inferior and thread.
1436 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1438 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1440 * gdb.base/step-bt.c: Call hello via function pointer to make
1441 sure its first instruction is executed on powerpc64le-linux.
1443 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1445 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1447 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1449 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1450 of the test patterns for use on little-endian systems.
1452 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1454 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1455 (decimal_vector): Fix for little-endian.
1457 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1459 * gdb.arch/sparc-sysstep.exp: New file.
1460 * gdb.arch/sparc-sysstep.c: Likewise.
1462 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1464 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1466 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1468 2014-01-23 Tom Tromey <tromey@redhat.com>
1470 * gdb.ada/array_char_idx: New testcase.
1472 2014-01-23 Tom Tromey <tromey@redhat.com>
1475 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1476 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1479 2014-01-23 Tom Tromey <tromey@redhat.com>
1482 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1483 string from an inferior frame.
1484 * gdb.python/py-framefilter-mi.exp: Update.
1486 2014-01-22 Doug Evans <dje@google.com>
1488 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1490 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1492 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1494 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1496 * gdb.trace/entry-values.exp: Remove excess space character from
1497 regex patterns. Handle s390 call instruction.
1499 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1501 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1502 define "*_start" label. Make "name" static.
1503 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1504 ${name} by references to ${name}_start.
1506 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1508 * gdb.base/info-macros.exp: Remove "debug" from the compile
1511 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1513 * gdb.dlang/demangle.exp: New file.
1515 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1517 * gdb.dlang/primitive-types.exp: New file.
1519 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1521 * configure.ac: Create gdb.dlang/Makefile.
1522 * configure: Regenerate.
1523 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1524 * gdb.dlang/Makefile.in: New file.
1525 * lib/d-support.exp: New file.
1526 * lib/gdb.exp (skip_d_tests): New proc.
1528 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1530 * gdb.btrace/delta.exp: Check reverse stepi.
1531 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1532 * gdb.btrace/finish.exp: New.
1533 * gdb.btrace/next.exp: New.
1534 * gdb.btrace/nexti.exp: New.
1535 * gdb.btrace/record_goto.c: Add comments.
1536 * gdb.btrace/step.exp: New.
1537 * gdb.btrace/stepi.exp: New.
1538 * gdb.btrace/multi-thread-step.c: New.
1539 * gdb.btrace/multi-thread-step.exp: New.
1540 * gdb.btrace/rn-dl-bind.c: New.
1541 * gdb.btrace/rn-dl-bind.exp: New.
1542 * gdb.btrace/data.c: New.
1543 * gdb.btrace/data.exp: New.
1544 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1546 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1548 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1549 * gdb.btrace/exception.exp: Update.
1550 * gdb.btrace/instruction_history.exp: Update.
1551 * gdb.btrace/record_goto.exp: Update.
1552 * gdb.btrace/tailcall.exp: Update.
1553 * gdb.btrace/unknown_functions.exp: Update.
1554 * gdb.btrace/delta.exp: New.
1556 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1558 * gdb.btrace/record_goto.exp: Add backtrace test.
1559 * gdb.btrace/tailcall.exp: Add backtrace test.
1561 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1563 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1564 * gdb.btrace/record_goto.c: New.
1565 * gdb.btrace/record_goto.exp: New.
1566 * gdb.btrace/x86-record_goto.S: New.
1568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1570 * gdb.btrace/function_call_history.exp: Update tests.
1571 * gdb.btrace/instruction_history.exp: Update tests.
1573 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1575 * gdb.btrace/function_call_history.exp: Fix expected field
1576 order for "record function-call-history".
1577 Add new tests for "record function-call-history /c".
1578 * gdb.btrace/exception.cc: New.
1579 * gdb.btrace/exception.exp: New.
1580 * gdb.btrace/tailcall.exp: New.
1581 * gdb.btrace/x86-tailcall.S: New.
1582 * gdb.btrace/x86-tailcall.c: New.
1583 * gdb.btrace/unknown_functions.c: New.
1584 * gdb.btrace/unknown_functions.exp: New.
1585 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1587 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1589 * gdb.btrace/instruction_history.exp: Update.
1590 * gdb.btrace/function_call_history.exp: Update.
1592 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1594 * gdb.btrace/function_call_history.exp: Fix expected function
1596 * gdb.btrace/instruction_history.exp: Initialize traced.
1597 Remove traced_functions.
1599 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1601 * gdb.btrace/function_call_history.exp: Update
1602 * gdb.btrace/instruction_history.exp: Update.
1604 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1606 * gdb.btrace/enable.exp: Update expected text.
1608 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1610 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1613 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1615 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1617 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1619 * lib/gdb.exp (supports_process_record): Return true for
1620 arm*-linux*. (supports_reverse): Likewise.
1622 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1626 * gdb.python/py-type.c: Enhance test case.
1627 * gdb.python/py-value-cc.cc: Likewise
1628 * gdb.python/py-type.exp: Add new tests.
1629 * gdb.python/py-value-cc.exp: Likewise
1631 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1632 Pedro Alves <palves@redhat.com>
1634 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1636 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1637 references to ${name}_start by references to ${name}.
1639 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1641 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1643 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1645 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1647 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1648 Pedro Alves <palves@redhat.com>
1650 * gdb.mi/mi-info-os.exp: Connect to the target with
1653 2014-01-08 Pedro Alves <palves@redhat.com>
1655 * gdb.threads/reconnect-signal.c: New file.
1656 * gdb.threads/reconnect-signal.exp: New file.
1658 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1660 * gdb.base/source-dir.exp: New file.
1662 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1664 * gdb.ada/mi_interface: New testcase.
1666 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1668 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1669 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1670 gdb.ada/pp-rec-component/pck.ads: New files.
1672 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1674 * gdb.python/py-pp-integral.c: New file.
1675 * gdb.python/py-pp-integral.py: New file.
1676 * gdb.python/py-pp-integral.exp: New file.
1678 For older changes see ChangeLog-1993-2013.
1684 ;; version-control: never
1687 Copyright 2014 Free Software Foundation, Inc.
1688 Copying and distribution of this file, with or without modification,
1689 are permitted provided the copyright notice and this notice are preserved.