1 2014-06-04 Tom Tromey <tromey@redhat.com>
3 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
5 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6 inner_vla_struct, vla_union types. Initialize objects of those
7 types and compute their sizes.
9 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10 Hui Zhu <hui@codesourcery.com>
12 * gdb.base/fileio.exp: Add test for shell not available as well as
14 * gdb.base/fileio.c (test_system): Check for shell twice.
16 2014-06-04 Yao Qi <yao@codesourcery.com>
18 * gdb.base/auto-connect-native-target.exp: Remove redundant
19 space from the regexp pattern.
21 2014-06-04 Yao Qi <yao@codesourcery.com>
23 * gdb.base/default.exp: Replace "child" with "native" in
26 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
28 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
29 * gdb.python/py-xmethods.exp: New tests to test xmethods.
30 * gdb.python/py-xmethods.py: Python script supporting the
31 new testcase and tests.
33 2014-06-03 Joel Brobecker <brobecker@adacore.com>
34 Pedro Alves <palves@redhat.com>
37 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
38 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
40 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
42 * gdb.base/subst.exp: Add tests to verify partial path matching
45 2014-06-03 Pedro Alves <palves@redhat.com>
47 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
48 target that doesn't use software single-stepping.
50 2014-06-03 Pedro Alves <palves@redhat.com>
53 * gdb.base/sss-bp-on-user-bp-2.c: New file.
54 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
56 2014-06-02 Doug Evans <xdje42@gmail.com>
58 * gdb.guile/scm-parameter.exp: New file.
60 2014-06-02 Doug Evans <xdje42@gmail.com>
62 * gdb.guile/scm-cmd.c: New file.
63 * gdb.guile/scm-cmd.exp: New file.
65 2014-06-02 Doug Evans <xdje42@gmail.com>
67 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
68 pretty-printer lookup.
69 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
70 (make-pp_s-printer): Call it.
71 (make-pretty-printer-from-dict): New function.
72 (lookup-pretty-printer-maker-from-dict): New function.
73 (*pretty-printer*): Simplify.
74 (make-objfile-pp_s-printer): New function.
75 (install-objfile-pretty-printers!): New function.
76 (make-progspace-pp_s-printer): New function.
77 (install-progspace-pretty-printers!): New function.
78 * gdb.guile/scm-progspace.c: New file.
79 * gdb.guile/scm-progspace.exp: New file.
81 2014-06-02 Pedro Alves <palves@redhat.com>
83 * gdb.base/dprintf-bp-same-addr.c: New file.
84 * gdb.base/dprintf-bp-same-addr.exp: New file.
86 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
88 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
89 * gdb.arch/powerpc-power.s: Likewise.
91 2014-06-02 Joel Brobecker <brobecker@adacore.com>
93 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
95 2014-06-01 Yao Qi <yao@codesourcery.com>
97 * gdb.base/watchpoint.exp (test_watch_location): Check null
98 pointer can be dereferenced. If not, do the test, otherwise
101 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
103 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
105 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
107 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
109 * gdb.arch/amd64-invalid-stack-middle.S: New file.
110 * gdb.arch/amd64-invalid-stack-middle.c: New file.
111 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
112 * gdb.arch/amd64-invalid-stack-top.c: New file.
113 * gdb.arch/amd64-invalid-stack-top.exp: New file.
115 2014-05-30 Pedro Alves <palves@redhat.com>
118 * gdb.base/sss-bp-on-user-bp.c: New file.
119 * gdb.base/sss-bp-on-user-bp.exp: New file.
121 2014-05-30 David Blaikie <dblaikie@gmail.com>
123 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
124 gnu_inline semantics via attribute.
125 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
126 source explicitly specifies the required semantics.
128 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
130 * gdb.reverse/sigall-reverse.exp: Fix a typo.
132 2014-05-29 Pedro Alves <palves@redhat.com>
133 Tom Tromey <tromey@redhat.com>
135 * gdb.base/async-shell.exp: Don't enable target-async.
137 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
139 (top level): Don't test with "target-async".
140 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
141 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
142 * gdb.base/inferior-died.exp: Don't enable target-async.
143 * gdb.base/interrupt-noterm.exp: Likewise.
144 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
145 * gdb.mi/mi-nonstop-exit.exp: Likewise.
146 * gdb.mi/mi-nonstop.exp: Likewise.
147 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
148 * gdb.mi/mi-nsintrall.exp: Likewise.
149 * gdb.mi/mi-nsmoribund.exp: Likewise.
150 * gdb.mi/mi-nsthrexec.exp: Likewise.
151 * gdb.mi/mi-watch-nonstop.exp: Likewise.
152 * gdb.multi/watchpoint-multi.exp: Adjust comment.
153 * gdb.python/py-evsignal.exp: Don't enable target-async.
154 * gdb.python/py-evthreads.exp: Likewise.
155 * gdb.python/py-prompt.exp: Likewise.
156 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
157 * gdb.server/solib-list.exp: Don't enable target-async.
158 * gdb.threads/thread-specific-bp.exp: Likewise.
159 * lib/mi-support.exp: Adjust to use mi-async.
161 2014-05-29 Pedro Alves <palves@redhat.com>
164 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
165 reason, even in sync mode.
167 2014-05-29 Pedro Alves <palves@redhat.com>
168 Hui Zhu <hui@codesourcery.com>
171 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
172 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
173 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
174 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
176 2014-05-28 Joel Brobecker <brobecker@adacore.com>
178 * config/monitor.exp (gdb_target_monitor): Replace use of
179 "set remotebaud" by "set serial baud".
181 2014-05-26 Andy Wingo <wingo@igalia.com>
183 * gdb.guile/scm-breakpoint.exp:
184 * gdb.guile/scm-gsmob.exp: Update to use plain old object
185 properties instead of gdb-object-properties.
187 2014-05-26 Yao Qi <yao@codesourcery.com>
189 * gdb.server/no-thread-db.exp: Specify source file name
190 explicitly when setting a breakpoint.
192 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
194 * gdb.btrace/vdso.c: New.
195 * gdb.btrace/vdso.exp: New.
197 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
199 * gdb.base/gcore.exp (capture_command_output): Move ...
200 * lib/gdb.exp (capture_command_output): ... here.
202 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
204 * gdb.btrace/data.exp: Test memory access during btrace replay.
206 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
208 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
210 2014-05-21 Pedro Alves <palves@redhat.com>
213 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
214 (top level): Test that output related to execution commands is
215 sent to the console with CLI commands, but not with MI commands.
216 Test that breakpoint events are always mirrored to the console.
217 Also expect the new source line to be output after a "next" in
218 async mode too. Make it a pass/fail test.
219 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
221 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
223 2014-05-21 Pedro Alves <palves@redhat.com>
225 * gdb.base/list.exp (build_pattern, test_list): New procedures.
226 Use them to test variations of "list" after reaching a breakpoint.
227 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
228 Test "list" with listsize 10 after reaching a breakpoint.
229 * gdb.python/python.exp (decode_line current location line
230 number): Adjust expected line number.
232 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
234 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
235 behavior for $args, pass it directly to "run".
237 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
239 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
242 2014-05-21 Pedro Alves <palves@redhat.com>
244 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
245 auto-connect-native-target off".
246 * gdb.base/auto-connect-native-target.c: New file.
247 * gdb.base/auto-connect-native-target.exp: New file.
249 2014-05-21 Pedro Alves <palves@redhat.com>
251 * gdb.base/default.exp: Test "target native" instead of "target
254 2014-05-21 Mark Wielaard <mjw@redhat.com>
256 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
258 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
260 Fix TLS access for -static -pthread.
261 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
262 <HAVE_TLS> (thread_function, main): Initialize it.
263 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
265 <$have_tls != "">: Check TLSVAR.
267 2014-05-21 Pedro Alves <palves@redhat.com>
269 * gdb.base/dcache-line-read-error.c: New.
270 * gdb.base/dcache-line-read-error.exp: New.
272 2014-05-20 Pedro Alves <palves@redhat.com>
274 * gdb.base/compare-sections.c: New file.
275 * gdb.base/compare-sections.exp: New file.
277 2014-05-20 Pedro Alves <palves@redhat.com>
279 * gdb.base/break-idempotent.c: New file.
280 * gdb.base/break-idempotent.exp: New file.
282 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
284 * gdb.btrace/nohist.exp: New.
286 2014-05-20 Yao Qi <yao@codesourcery.com>
288 * lib/gdb.exp (gdb_init): Set timeout if test file is under
289 gdb.reverse directory and gdb_reverse_timeout exists in board
291 * README: Document gdb_reverse_timeout.
293 2014-05-20 Yao Qi <yao@codesourcery.com>
295 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
296 'test_file_name'. Treat args as a string instead of a list.
297 (gdb_init): Rename argument 'args' by 'test_file_name'.
299 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
301 * gdb.arch/powerpc-power.exp: New file.
302 * gdb.arch/powerpc-power.s: New file.
304 2014-05-16 Doug Evans <dje@google.com>
306 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
307 * gdb.base/completion.exp: Check that all expected files exist
308 before doing file completion.
310 2014-05-16 Doug Evans <dje@google.com>
312 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
314 (do_syscall_tests_without_xml): Update.
316 2014-05-16 Pedro Alves <palves@redhat.com>
318 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
319 instead of "unknown output after running".
321 2014-05-16 Yao Qi <yao@codesourcery.com>
323 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
324 file1.txt from host at the end.
325 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
327 2014-05-15 Doug Evans <dje@google.com>
329 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
330 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
331 loading file. Add test for TU lookup.
333 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
335 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
336 calling "-exec-arguments" or "set args" before running the
339 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
341 * lib/mi-support.exp (mi_expect_stop): Expect message for
342 inferiors that exit with non-zero exit code.
344 2014-05-14 Yao Qi <yao@codesourcery.com>
346 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
347 match absolute path on remote host.
348 (test_file_list_exec_source_files): Remove "/" from the
351 2014-05-14 Yao Qi <yao@codesourcery.com>
353 * boards/local-remote-host-notty.exp (${board}_file): New
356 2014-05-07 Kyle McMartin <kyle@redhat.com>
358 Pushed by Joel Brobecker <brobecker@adacore.com>.
359 * gdb.arch/aarch64-atomic-inst.c: New file.
360 * gdb.arch/aarch64-atomic-inst.exp: New file.
362 2014-05-07 Yao Qi <yao@codesourcery.com>
364 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
365 in current context" too.
367 2014-05-05 Keith Seitz <keiths@redhat.com>
369 * gdb.linespec/ls-dollar.exp: Add test for linespec
370 file:convenience_variable.
372 2014-05-05 Yao Qi <yao@codesourcery.com>
374 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
375 traceframes into tfile and ctf trace files. Read data from
376 trace file and test collected data.
377 (gdb_collect_locals_test): Likewise.
378 (gdb_unavailable_registers_test): Likewise.
379 (gdb_unavailable_floats): Likewise.
380 (gdb_collect_globals_test): Likewise.
381 (top-level): Append "ctf" to trace_file_targets if GDB
384 2014-05-05 Yao Qi <yao@codesourcery.com>
386 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
388 (gdb_collect_args_test_1): ... it. New proc.
389 (gdb_collect_locals_test): Move some code to ...
390 (gdb_collect_locals_test_1): ... it. New proc.
391 (gdb_unavailable_registers_test): Move some code to ...
392 (gdb_unavailable_registers_test_1): ... it. New proc.
393 (gdb_unavailable_floats): Move some code to ...
394 (gdb_unavailable_floats_1): ... it. New proc.
396 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
398 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
399 probes to test for bitness recognition.
400 * gdb.arch/amd64-stap-optional-prefix.exp
401 (test_probe_value_without_reg): New procedure.
402 Add code to test for different kinds of bitness.
404 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
407 * gdb.arch/amd64-stap-optional-prefix.S: New file.
408 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
410 2014-05-01 Pedro Alves <palves@redhat.com>
412 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
413 gdb_file_cmd if no file is specified.
414 * boards/native-extended-gdbserver.exp (gdb_load): Use the
415 last_loaded_file to set the remote exec-file.
417 2014-05-01 Pedro Alves <palves@redhat.com>
419 * boards/local-remote-host.exp: New file.
421 2014-05-01 Pedro Alves <palves@redhat.com>
423 * boards/local-remote-host.exp: Rename to ...
424 * boards/local-remote-host-notty.exp: ... this.
426 2014-04-28 Joel Brobecker <brobecker@adacore.com>
428 * gdb.ada/dyn_arrayidx: New testcase.
430 2014-04-26 Yao Qi <yao@codesourcery.com>
432 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
433 and compute the length of function main. Save it in
435 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
436 (top-level): Use gdb_compile to compile objects into
437 executable and restart GDB. Remove invocation to
440 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
441 Pedro Alves <palves@redhat.com>
444 * gdb.multi/multi-attach.c: New file.
445 * gdb.multi/multi-attach.exp: New file.
447 2014-04-25 Pedro Alves <palves@redhat.com>
449 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
451 (top level): Test that "set remote conditional-breakpoints-packet
452 off" works as intended.
453 * gdb.base/dprintf.exp: Test that "set remote
454 breakpoint-commands-packet off" works as intended.
455 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
457 (top level): Call it.
458 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
459 remote fast-tracepoints-packet off" works as intended.
460 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
461 * lib/gdb.exp (gdb_is_target_remote): ... here.
463 2014-04-24 David Blaikie <dblaikie@gmail.com>
465 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
466 ensure clang would not discard them.
467 * gdb.base/gdbvars.c: Ditto.
468 * gdb.base/memattr.c: Ditto.
469 * gdb.base/whatis.c: Ditto.
470 * gdb.python/py-prettyprint.c: Ditto.
471 * gdb.trace/actions.c: Ditto.
472 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
473 ensure clang would not discard it.
475 2014-04-24 David Blaikie <dblaikie@gmail.com>
477 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
478 clang to emit the full definition of type required by the test
479 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
481 2014-04-24 David Blaikie <dblaikie@gmail.com>
483 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
484 coax Clang into emitting the definition of the type.
485 * gdb.cp/pr10728-x.h (y): Ditto.
486 * gdb.cp/pr10728-y.cc (y): Ditto.
488 2014-04-24 David Blaikie <dblaikie@gmail.com>
490 * gdb.base/label.exp: XFAIL label related tests under Clang.
491 * gdb.cp/cplabel.exp: Ditto.
492 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
493 under Clang those using labels.
495 2014-04-25 Yao Qi <yao@codesourcery.com>
497 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
499 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
500 partial_label and double_label.
502 2014-04-24 David Blaikie <dblaikie@gmail.com>
504 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
506 2014-04-24 David Blaikie <dblaikie@gmail.com>
508 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
509 of the function to work across GCC and Clang.
510 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
511 pointer types (const void ** const V void **).
513 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
514 Walfred Tedeschi <walfred.tedeschi@intel.com>
516 * Makefile.in (EXECUTABLES): Added i386-avx512.
517 * gdb.arch/i386-avx512.c: New file.
518 * gdb.arch/i386-avx512.exp: Likewise.
520 2014-04-23 Keith Seitz <keiths@redhat.com>
522 * lib/mi-support.exp (mi_list_breakpoints): Delete.
523 (mi_make_breakpoint_table): New procedure.
524 (mi_create_breakpoint): Use mi_make_breakpoint
525 and return the result.
526 (mi_make_breakpoint): New procedure.
527 (mi_build_kv_pairs): New procedure.
529 * gdb.mi/mi-break.exp: Remove unused globals,
530 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
532 * gdb.mi/mi-dprintf.exp: Use variable to track command
534 Update all callers of mi_create_breakpoint and use
535 mi_make_breakpoint_table.
536 Remove any unused global variables.
537 * gdb.mi/mi-nonstop.exp: Likewise.
538 * gdb.mi/mi-nsintrall.exp: Likewise.
539 * gdb.mi/mi-nsmoribund.exp: Likewise.
540 * gdb.mi/mi-nsthrexec.exp: Likewise.
541 * gdb.mi/mi-reverse.exp: Likewise.
542 * gdb.mi/mi-simplerun.exp: Likewise.
543 * gdb.mi/mi-stepn.exp: Likewise.
544 * gdb.mi/mi-syn-frame.exp: Likewise.
545 * gdb.mi/mi-until.exp: Likewise.
546 * gdb.mi/mi-var-cp.exp: Likewise.
547 * gdb.mi/mi-var-display.exp: Likewise.
548 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
549 * gdb.mi/mi2-var-child.exp: Likewise.
550 * gdb.mi/mi-vla-c99.exp: Likewise.
551 * lib/mi-support.exp: Likewise.
553 From Ian Lance Taylor <iant@cygnus.com>:
554 * lib/gdb.exp (parse_args): New procedure.
556 2014-04-23 Pedro Alves <palves@redhat.com>
558 * gdb.base/break-unload-file.c: New file.
559 * gdb.base/break-unload-file.exp: New file.
560 * gdb.base/sym-file-lib.c (baz): New function.
561 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
563 (load): Store the segment's mapped size.
564 (unload): New function.
565 (unload_shlib): New function.
566 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
567 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
568 set a breakpoint at baz, and call it.
569 * gdb.base/sym-file.exp: New tests for stale breakpoint
572 2014-04-23 Pedro Alves <palves@redhat.com>
574 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
575 * gdb.base/hbreak-in-shr-unsupported.c: New file.
576 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
577 * gdb.base/hbreak-unmapped.c: New file.
578 * gdb.base/hbreak-unmapped.exp: New file.
579 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
580 * lib/gdb.exp (gdb_is_target_remote): ... here.
582 2014-04-22 Pedro Alves <palves@redhat.com>
584 * gdb.base/consecutive-step-over.c: New file.
585 * gdb.base/consecutive-step-over.exp: New file.
587 2014-04-22 Pedro Alves <palves@redhat.com>
589 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
590 instead of send_gdb/gdb_expect.
592 2014-04-22 Yao Qi <yao@codesourcery.com>
594 * lib/trace-support.exp (generate_tracefile): New procedure.
595 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
597 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
598 if generate_tracefile returns 1.
600 2014-04-18 Tom Tromey <palves@redhat.com>
601 Pedro alves <tromey@redhat.com>
604 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
605 with a backtrace limit.
606 * gdb.python/py-frame-inline.exp: Test running to an inline
607 function with a backtrace limit, and printing the newest frame.
608 * gdb.python/py-frame-inline.c (main): Call f.
610 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
612 * gdb.java/jnpe.exp: Drop srcdir from untested path.
614 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
616 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
617 Drop prefix from unsupported source file path.
619 2014-04-17 Yao Qi <yao@codesourcery.com>
621 * lib/gdb.exp (with_target_charset): New proc.
622 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
624 (test_print_strings): Likewise.
625 (test_repeat_bytes): Likewise.
626 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
629 2014-04-16 Keith Seitz <keiths@redhat.com>
632 * gdb.dwarf2/corrupt.c: New file.
633 * gdb.dwarf2/corrupt.exp: New file.
635 2014-04-16 Keith Seitz <keiths@redhat.com>
638 * gdb.cp/namelessclass.cc: New file.
639 * gdb.cp/namelessclass.exp: New file.
640 * gdb.cp/namelessclass.S: New file.
642 2014-04-16 Doug Evans <dje@google.com>
644 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
646 (gdbserver_default_get_comm_port): New function.
647 (gdbserver_start): Check if board file provided
648 "gdbserver,get_comm_port" and use it if so.
649 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
650 (gdb,socketport): Set to "stdio".
651 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
652 (stdio_gdbserver_template): Delete.
653 (${board}_get_remote_address): Update.
654 (${board}_build_remote_cmd): Delete.
655 (${board}_get_comm_port): New function.
656 (${board}_spawn): Update.
657 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
659 (${board}_get_remote_address): Update.
660 (${board}_get_comm_port): New function.
662 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
664 * gdb.base/memattr.exp: Improve regexps to handle memory regions
665 appearing in any order.
667 2014-04-15 Doug Evans <dje@google.com>
669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
670 uninitialized value of "description".
672 2014-04-15 Keith Seitz <keiths@redhat.com>
674 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
675 Remove unused globals.
676 (test_running_the_program): Likewise.
677 (test_controlled_execution): Likewise.
678 (test_controlling_breakpoints): Likewise.
679 (test_program_termination): Likewise.
681 2014-04-15 Keith Seitz <keiths@redhat.com>
683 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
685 (test_rbreak_creation_and_listing): Likewise.
686 (test_ignore_count): Likewise.
687 (test_error): Likewise.
689 2014-04-15 Pedro Alves <palves@redhat.com>
691 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
692 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
694 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
695 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
696 to sym-file-loader.c.
697 (struct library): Forward declare.
698 (load_shlib, lookup_function): Change prototypes.
699 (find_shstrtab, find_strtab, find_shdr, find_symtab)
700 (translate_offset): Remove declarations.
701 (get_text_addr): New declaration.
702 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
703 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
705 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
706 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
707 here from sym-file-loader.h.
708 (struct library): New structure.
709 (load_shlib, lookup_function): Change prototypes and adjust to
710 work with a struct library.
711 (find_shstrtab, find_strtab, find_shdr, find_symtab)
712 (translate_offset): Make static.
713 (get_text_addr): New function.
714 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
716 2014-04-15 Pedro Alves <palves@redhat.com>
718 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
720 2014-04-15 Pedro Alves <palves@redhat.com>
722 * gdb.base/sym-file-loader.c: Include <limits.h>.
723 (SELF_LINK): New define.
724 (get_origin): New function.
725 (load_shlib): Use it.
726 * gdb.base/sym-file.exp: Don't early return if the target is
727 remote. Use runto_main, and issue fail is that fails. Use
729 (shlib_name): Delete.
730 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
732 2014-04-15 Pedro Alves <palves@redhat.com>
734 * gdb.base/sym-file.exp: Remove regex characters from test
735 message. Don't refer to breakpoint numbers in test messages.
737 2014-04-14 Keith Seitz <keiths@redhat.com>
740 * gdb.cp/var-tag.cc: New file.
741 * gdb.cp/var-tag.exp: New file.
742 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
743 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
744 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
745 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
747 2014-04-14 Tom Tromey <tromey@redhat.com>
749 * gdb.cp/classes.exp (test_enums): Handle underlying type.
750 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
752 * gdb.cp/enum-class.exp: New file.
753 * gdb.cp/enum-class.cc: New file.
755 2014-04-14 Tom Tromey <tromey@redhat.com>
757 * gdb.dwarf2/enum-type.exp: New file.
759 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
761 * gdb.mi/mi-vla-c99.exp: New file.
762 * gdb.mi/vla.c: New file.
764 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
766 * gdb.base/vla-datatypes.c: New file.
767 * gdb.base/vla-datatypes.exp: New file.
769 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
771 * gdb.base/vla-ptr.c: New file.
772 * gdb.base/vla-ptr.exp: New file.
774 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
776 * gdb.dwarf2/count.exp: New file.
778 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
780 * gdb.base/vla-sideeffect.c: New file.
781 * gdb.base/vla-sideeffect.exp: New file.
783 2014-04-14 David Blaikie <dblaikie@gmail.com>
785 * gdb.mi/non-stop.c: Add return value for non-void function return
787 * gdb.threads/staticthreads.c: Ditto.
789 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
790 Doug Evans <xdje42@gmail.com>
792 * gdb.guile/scm-value.c: Improve test case.
793 * gdb.guile/scm-value.exp: Add new test.
795 2014-04-11 David Blaikie <dblaikie@gmail.com>
797 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
798 override Clang's default.
800 2014-04-11 Joel Brobecker <brobecker@adacore.com>
802 Revert the following changes (regressions):
804 * gdb.base/vla-sideeffect.c: New file.
805 * gdb.base/vla-sideeffect.exp: New file.
807 * gdb.dwarf2/count.exp: New file.
809 * gdb.base/vla-multi.c: New file.
810 * gdb.base/vla-multi.exp: New file.
812 * gdb.base/vla-ptr.c: New file.
813 * gdb.base/vla-ptr.exp: New file.
815 * gdb.base/vla-datatypes.c: New file.
816 * gdb.base/vla-datatypes.exp: New file.
818 * gdb.mi/mi-vla-c99.exp: New file.
819 * gdb.mi/vla.c: New file.
821 2014-04-11 Keith Seitz <keiths@redhat.com>
824 * gdb.cp/cpsizeof.exp: New file.
825 * gdb.cp/cpsizeof.cc: New file.
827 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
829 * gdb.mi/mi-vla-c99.exp: New file.
830 * gdb.mi/vla.c: New file.
832 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
834 * gdb.base/vla-datatypes.c: New file.
835 * gdb.base/vla-datatypes.exp: New file.
837 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
839 * gdb.base/vla-ptr.c: New file.
840 * gdb.base/vla-ptr.exp: New file.
842 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
844 * gdb.base/vla-multi.c: New file.
845 * gdb.base/vla-multi.exp: New file.
847 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
849 * gdb.dwarf2/count.exp: New file.
851 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
853 * gdb.base/vla-sideeffect.c: New file.
854 * gdb.base/vla-sideeffect.exp: New file.
856 2014-04-11 Yao Qi <yao@codesourcery.com>
858 * gdb.base/completion.exp: Check file exists before running tests
861 2014-04-10 Pedro Alves <palves@redhat.com>
863 * gdb.base/cond-eval-mode.c: New file.
864 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
865 prepare_for_testing to build the new file. Check result of
867 (test_break, test_watch): New procedures.
868 (top level): Use them.
870 2014-04-08 Pierre Muller <muller@sourceware.org>
872 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
873 Ctrl-V use for mingw hosts.
875 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
877 * gdb.python/py-value.c: Improve test case.
878 * gdb.python/py-value.exp: Add new test.
880 2014-04-07 David Blaikie <dblaikie@gmail.com>
882 * lib/compiler.c: Identify the clang compiler.
883 * lib/compiler.cc: Ditto.
885 2014-04-03 Yao Qi <yao@codesourcery.com>
887 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
889 2014-04-01 Anton Blanchard <anton@samba.org>
891 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
894 2014-04-01 Anton Blanchard <anton@samba.org>
896 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
899 2014-04-01 Anton Blanchard <anton@samba.org>
901 * gdb.arch/ppc64-atomic-inst.c: Remove.
902 * gdb.arch/ppc64-atomic-inst.S: New file.
903 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
905 2014-03-31 Doug Evans <dje@google.com>
907 * gdb.base/print-symbol-loading-lib.c: New file.
908 * gdb.base/print-symbol-loading-main.c: New file.
909 * gdb.base/print-symbol-loading.exp: New file.
911 2014-03-31 Yao Qi <yao@codesourcery.com>
913 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
915 2014-03-28 Joel Brobecker <brobecker@adacore.com>
917 * gdb.ada/mi_dyn_arr: New testcase.
919 2014-03-27 Doug Evans <dje@google.com>
921 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
923 2014-03-27 Yao Qi <yao@codesourcery.com>
925 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
926 if target is nios2-*-*.
928 2014-03-26 Yao Qi <yao@codesourcery.com>
930 * lib/gdb.exp (readline_is_used): New proc.
931 * gdb.base/completion.exp: Move tests on command complete up.
932 Skip the rest of tests if readline is not used.
933 * gdb.ada/complete.exp: Skp the test if readline is not
935 * gdb.base/filesym.exp: Likewise.
936 * gdb.base/macscp.exp: Likewise.
937 * gdb.base/readline-ask.exp: Likewise.
938 * gdb.base/readline.exp: Likewise.
939 * gdb.python/py-cmd.exp: Likewise.
940 * gdb.trace/tfile.exp: Likewise.
942 2014-03-26 Yao Qi <yao@codesourcery.com>
944 * gdb.base/macscp.exp: Fix code format issues.
946 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
948 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
949 * gdb.asm/powerpc64le.inc: New file.
951 2014-03-25 Pedro Alves <palves@redhat.com>
952 Doug Evans <dje@google.com>
954 * gdb.base/source-execution.c: New file.
955 * gdb.base/source-execution.exp: New file.
956 * gdb.base/source-execution.gdb: New file.
958 2014-03-24 Doug Evans <dje@google.com>
960 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
963 2014-03-24 Hui Zhu <hui@codesourcery.com>
964 Pedro Alves <palves@redhat.com>
967 * gdb.base/dprintf.exp: Use unsupported rather than changing the
968 test pass/fail messages. Detect missing support for dprintf when
969 breakpoints are actually inserted.
970 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
971 breakpoints are actually inserted.
972 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
975 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
977 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
979 2014-03-22 Doug Evans <xdje42@gmail.com>
981 * gdb.python/python.exp (python not supported): Verify multi-line
982 python command issues an error.
983 * gdb.guile/guile.exp (guile not supported): Verify multi-line
984 guile command issues an error.
986 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
988 * gdb.threads/thread-specific.exp: Handle the lack of usable
989 $this_breakpoint and $this_thread.
991 2014-03-21 Hui Zhu <hui@codesourcery.com>
993 * gdb.base/attach.exp (do_command_attach_tests): New.
995 2014-03-20 Tom Tromey <tromey@redhat.com>
996 Pedro Alves <palves@redhat.com>
999 * gdb.base/condbreak-call-false.c: New file.
1000 * gdb.base/condbreak-call-false.exp: New file.
1002 2014-03-20 Pedro Alves <palves@redhat.com>
1004 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1006 (block_signals, unblock_signals): Delete.
1007 (child_function_2, main): Remove references to deleted variable
1010 2014-03-20 Pedro Alves <palves@redhat.com>
1012 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1013 Use pthread_kill to signal thread 2.
1014 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1015 Adjust to make the test send itself a signal rather than using the
1016 host's "kill" command.
1018 2014-03-20 Pedro Alves <palves@redhat.com>
1020 * gdb.threads/multiple-step-overs.c: New file.
1021 * gdb.threads/multiple-step-overs.exp: New file.
1022 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1023 Adjust expected infrun debug output.
1025 2014-03-20 Pedro Alves <palves@redhat.com>
1027 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1028 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1030 2014-03-20 Pedro Alves <palves@redhat.com>
1033 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1034 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1035 of gdb_test_multiple.
1036 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1037 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1039 2014-03-20 Pedro Alves <palves@redhat.com>
1041 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1042 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1044 2014-03-19 Pedro Alves <palves@redhat.com>
1046 * gdb.base/async.exp: Remove early return.
1048 2014-03-19 Pedro Alves <palves@redhat.com>
1050 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1052 2014-03-19 Pedro Alves <palves@redhat.com>
1054 * gdb.base/async.exp (test_background): Expect \r\n after
1055 "completed." in the fail pattern.
1057 2014-03-19 Pedro Alves <palves@redhat.com>
1059 * gdb.base/async.exp (test_background): New procedure.
1060 Use it for all background execution command tests.
1062 2014-03-19 Pedro Alves <palves@redhat.com>
1064 * gdb.base/async.exp: Use prepare_for_testing.
1066 2014-03-19 Pedro Alves <palves@redhat.com>
1068 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1071 2014-03-19 Pedro Alves <palves@redhat.com>
1073 * gdb.base/async.c (main): Add "jump here" and "until here" line
1075 * gdb.base/async.exp (jump_here): New global.
1076 (jump& test): Use it.
1077 (until_here): New global.
1078 (until& test): Use it.
1080 2014-03-19 Pedro Alves <palves@redhat.com>
1082 * gdb.base/async.exp: Don't frob gdb_protocol.
1084 2014-03-18 Doug Evans <xdje42@gmail.com>
1086 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1087 Fix spelling of exec-done-display.
1089 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1092 * gdb.base/gdb-sigterm.c: New file.
1093 * gdb.base/gdb-sigterm.exp: New file.
1095 2014-03-18 Pedro Alves <palves@redhat.com>
1098 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1099 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1102 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1104 * gdb.ada/pckd_arr_ren: New testcase.
1106 2014-03-13 Doug Evans <xdje42@gmail.com>
1109 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1110 collect after discarding symbols.
1112 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1113 Doug Evans <xdje42@gmail.com>
1115 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1116 to history survives a gc.
1118 2014-03-13 Pedro Alves <palves@redhat.com>
1120 * gdb.base/default.exp: Don't test "target procfs".
1122 2014-03-13 Pedro Alves <palves@redhat.com>
1124 * gdb.base/default.exp: Update "target child" and "target procfs"
1125 tests to not expect "Unix".
1127 2014-03-12 Tom Tromey <tromey@redhat.com>
1129 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1130 New procs. Add target-async tests.
1131 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1132 Add target-async tests.
1134 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1136 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1137 'func_start' and 'func_end' for the beginning and end of the
1138 function code, respectively.
1139 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1140 'func_end' instead of 'func' and 'main'.
1142 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1144 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1145 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1146 generate the debug info assembler source.
1148 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1150 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1151 * gdb.dwarf2/arr-subrange.exp: Likewise.
1152 * gdb.dwarf2/dwz.exp: Likewise.
1153 * gdb.dwarf2/method-ptr.exp: Likewise.
1154 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1155 * gdb.dwarf2/subrange.exp: Likewise.
1156 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1157 * gdb.dwarf2/implptrpiece.exp: Likewise.
1158 * gdb.dwarf2/nostaticblock.exp: Likewise.
1160 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1162 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1163 directory to absolute path name arguments.
1165 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1167 * gdb.ada/tagged_access: New testcase.
1169 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1171 * gdb.btrace/data.exp: Update expected output.
1173 2014-03-06 Yao Qi <yao@codesourcery.com>
1175 * gdb.trace/pr16508.exp: New file.
1177 2014-03-05 Pedro Alves <palves@redhat.com>
1180 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1182 (top level): Adjust to use it. Add tests that exercise breakpoint
1183 interaction with the code-cache.
1185 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1187 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1188 test for 'history-append!'.
1190 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1192 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1193 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1194 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1195 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1196 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1197 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1199 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1201 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1202 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1203 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1205 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1207 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1209 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1211 * gdb.dwarf2/arr-stride.c: New file.
1212 * gdb.dwarf2/arr-stride.exp: New file.
1214 2014-02-26 Pedro Alves <palves@redhat.com>
1216 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1217 that won't ever trigger. Make sure that GDB reports the correct
1218 breakpoint that caused the stop.
1220 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1223 * gdb.base/auto-load-script: New file.
1224 * gdb.base/auto-load.c: New file.
1225 * gdb.base/auto-load.exp: New file.
1228 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1230 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1232 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1233 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1235 2014-02-24 Doug Evans <dje@google.com>
1237 * lib/gdb.exp (run_on_host): Log error output if program fails.
1239 2014-02-21 Pedro Alves <palves@redhat.com>
1241 * gdb.threads/step-after-sr-lock.c: Rename to ...
1242 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1243 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1244 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1247 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1250 * gdb.arch/amd64-stap-special-operands.exp: New file.
1251 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1252 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1253 * gdb.arch/amd64-stap-triplet.S: Likewise.
1254 * gdb.arch/amd64-stap-triplet.c: Likewise.
1256 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1258 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1259 in .section pseudo-op.
1261 2014-02-20 lin zuojian <manjian2006@gmail.com>
1262 Joel Brobecker <brobecker@adacore.com>
1263 Doug Evans <xdje42@gmail.com>
1266 * gdb.dwarf2/dw2-icycle.S: New file.
1267 * gdb.dwarf2/dw2-icycle.c: New file.
1268 * gdb.dwarf2/dw2-icycle.exp: New file.
1270 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1272 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1273 operations on gdb.Value objects.
1274 * gdb.python/py-value-cc.exp: Add new test to test operations on
1277 2014-02-18 Doug Evans <dje@google.com>
1279 * Makefile.in (TESTS): New variable.
1280 (expanded_tests, expanded_tests_or_none): New variables
1281 (check-single): Pass $(expanded_tests_or_none) to runtest.
1282 (check-parallel): Only run tests in $(TESTS) if non-empty.
1283 (check/no-matching-tests-found): New rule.
1284 * README: Document TESTS makefile variable.
1286 2014-02-18 Doug Evans <dje@google.com>
1288 * Makefile.in (check-parallel): rm -rf outputs temp.
1290 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1292 Fix "ERROR: no fileid for" in the testsuite.
1293 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1295 2014-02-12 Doug Evans <dje@google.com>
1297 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1298 (MISCELLANEOUS): New variable.
1299 (clean): rm -rf $(MISCELLANEOUS).
1300 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1301 dwp live in the same directory as symlinks, with each symlink pointed
1302 to a differently named file in a different directory.
1304 2014-02-11 Doug Evans <dje@google.com>
1306 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1307 of Tcl file commands.
1309 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1311 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1314 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1316 * gdb.ada/tick_length_array_enum_idx: New testcase.
1318 2014-02-10 Doug Evans <xdje42@gmail.com>
1320 * configure.ac (AC_OUTPUT): Add gdb.guile.
1321 * configure: Regenerate.
1322 * lib/gdb-guile.exp: New file.
1323 * lib/gdb.exp (get_target_charset): New function.
1324 * gdb.base/help.exp: Update expected output from "apropos apropos".
1325 * gdb.guile/Makefile.in: New file.
1326 * gdb.guile/guile.exp: New file.
1327 * gdb.guile/scm-arch.c: New file.
1328 * gdb.guile/scm-arch.exp: New file.
1329 * gdb.guile/scm-block.c: New file.
1330 * gdb.guile/scm-block.exp: New file.
1331 * gdb.guile/scm-breakpoint.c: New file.
1332 * gdb.guile/scm-breakpoint.exp: New file.
1333 * gdb.guile/scm-disasm.c: New file.
1334 * gdb.guile/scm-disasm.exp: New file.
1335 * gdb.guile/scm-equal.c: New file.
1336 * gdb.guile/scm-equal.exp: New file.
1337 * gdb.guile/scm-error.exp: New file.
1338 * gdb.guile/scm-error.scm: New file.
1339 * gdb.guile/scm-frame-args.c: New file.
1340 * gdb.guile/scm-frame-args.exp: New file.
1341 * gdb.guile/scm-frame-args.scm: New file.
1342 * gdb.guile/scm-frame-inline.c: New file.
1343 * gdb.guile/scm-frame-inline.exp: New file.
1344 * gdb.guile/scm-frame.c: New file.
1345 * gdb.guile/scm-frame.exp: New file.
1346 * gdb.guile/scm-generics.exp: New file.
1347 * gdb.guile/scm-gsmob.exp: New file.
1348 * gdb.guile/scm-iterator.c: New file.
1349 * gdb.guile/scm-iterator.exp: New file.
1350 * gdb.guile/scm-math.c: New file.
1351 * gdb.guile/scm-math.exp: New file.
1352 * gdb.guile/scm-objfile-script-gdb.in: New file.
1353 * gdb.guile/scm-objfile-script.c: New file.
1354 * gdb.guile/scm-objfile-script.exp: New file.
1355 * gdb.guile/scm-objfile.c: New file.
1356 * gdb.guile/scm-objfile.exp: New file.
1357 * gdb.guile/scm-ports.exp: New file.
1358 * gdb.guile/scm-pretty-print.c: New file.
1359 * gdb.guile/scm-pretty-print.exp: New file.
1360 * gdb.guile/scm-pretty-print.scm: New file.
1361 * gdb.guile/scm-section-script.c: New file.
1362 * gdb.guile/scm-section-script.exp: New file.
1363 * gdb.guile/scm-section-script.scm: New file.
1364 * gdb.guile/scm-symbol.c: New file.
1365 * gdb.guile/scm-symbol.exp: New file.
1366 * gdb.guile/scm-symtab-2.c: New file.
1367 * gdb.guile/scm-symtab.c: New file.
1368 * gdb.guile/scm-symtab.exp: New file.
1369 * gdb.guile/scm-type.c: New file.
1370 * gdb.guile/scm-type.exp: New file.
1371 * gdb.guile/scm-value-cc.cc: New file.
1372 * gdb.guile/scm-value-cc.exp: New file.
1373 * gdb.guile/scm-value.c: New file.
1374 * gdb.guile/scm-value.exp: New file.
1375 * gdb.guile/source2.scm: New file.
1376 * gdb.guile/types-module.cc: New file.
1377 * gdb.guile/types-module.exp: New file.
1379 2014-02-10 Yao Qi <yao@codesourcery.com>
1382 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1383 * configure: Regenerated.
1384 * Makefile.in: New file.
1386 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1388 * gdb.python/py-framefilter.exp: Fix typo.
1390 2014-02-08 Yao Qi <yao@codesourcery.com>
1392 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1393 that no =breakpoint-modified is emitted when breakpoints are
1394 modified through MI commands.
1396 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1397 Pedro Alves <palves@redhat.com>
1399 * gdb.threads/step-after-sr-lock.c: New file.
1400 * gdb.threads/step-after-sr-lock.exp: New file.
1402 2014-02-07 Pedro Alves <palves@redhat.com>
1404 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1406 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1408 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1409 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1411 2014-02-06 Doug Evans <xdje42@gmail.com>
1413 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1416 * gdb.gdb/python-interrupts.exp: New file.
1418 2014-02-05 Yao Qi <yao@codesourcery.com>
1420 * gdb.trace/report.exp (use_collected_data): Test the output
1421 of "info threads" and "info inferiors".
1423 2014-02-05 Yao Qi <yao@codesourcery.com>
1427 2013-05-24 Yao Qi <yao@codesourcery.com>
1429 * gdb.trace/tfile.exp: Test inferior and thread.
1431 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1433 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1435 * gdb.base/step-bt.c: Call hello via function pointer to make
1436 sure its first instruction is executed on powerpc64le-linux.
1438 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1440 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1442 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1444 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1445 of the test patterns for use on little-endian systems.
1447 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1449 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1450 (decimal_vector): Fix for little-endian.
1452 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1454 * gdb.arch/sparc-sysstep.exp: New file.
1455 * gdb.arch/sparc-sysstep.c: Likewise.
1457 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1459 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1461 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1463 2014-01-23 Tom Tromey <tromey@redhat.com>
1465 * gdb.ada/array_char_idx: New testcase.
1467 2014-01-23 Tom Tromey <tromey@redhat.com>
1470 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1471 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1474 2014-01-23 Tom Tromey <tromey@redhat.com>
1477 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1478 string from an inferior frame.
1479 * gdb.python/py-framefilter-mi.exp: Update.
1481 2014-01-22 Doug Evans <dje@google.com>
1483 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1485 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1487 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1489 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1491 * gdb.trace/entry-values.exp: Remove excess space character from
1492 regex patterns. Handle s390 call instruction.
1494 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1496 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1497 define "*_start" label. Make "name" static.
1498 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1499 ${name} by references to ${name}_start.
1501 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1503 * gdb.base/info-macros.exp: Remove "debug" from the compile
1506 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1508 * gdb.dlang/demangle.exp: New file.
1510 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1512 * gdb.dlang/primitive-types.exp: New file.
1514 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1516 * configure.ac: Create gdb.dlang/Makefile.
1517 * configure: Regenerate.
1518 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1519 * gdb.dlang/Makefile.in: New file.
1520 * lib/d-support.exp: New file.
1521 * lib/gdb.exp (skip_d_tests): New proc.
1523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1525 * gdb.btrace/delta.exp: Check reverse stepi.
1526 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1527 * gdb.btrace/finish.exp: New.
1528 * gdb.btrace/next.exp: New.
1529 * gdb.btrace/nexti.exp: New.
1530 * gdb.btrace/record_goto.c: Add comments.
1531 * gdb.btrace/step.exp: New.
1532 * gdb.btrace/stepi.exp: New.
1533 * gdb.btrace/multi-thread-step.c: New.
1534 * gdb.btrace/multi-thread-step.exp: New.
1535 * gdb.btrace/rn-dl-bind.c: New.
1536 * gdb.btrace/rn-dl-bind.exp: New.
1537 * gdb.btrace/data.c: New.
1538 * gdb.btrace/data.exp: New.
1539 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1541 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1543 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1544 * gdb.btrace/exception.exp: Update.
1545 * gdb.btrace/instruction_history.exp: Update.
1546 * gdb.btrace/record_goto.exp: Update.
1547 * gdb.btrace/tailcall.exp: Update.
1548 * gdb.btrace/unknown_functions.exp: Update.
1549 * gdb.btrace/delta.exp: New.
1551 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1553 * gdb.btrace/record_goto.exp: Add backtrace test.
1554 * gdb.btrace/tailcall.exp: Add backtrace test.
1556 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1558 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1559 * gdb.btrace/record_goto.c: New.
1560 * gdb.btrace/record_goto.exp: New.
1561 * gdb.btrace/x86-record_goto.S: New.
1563 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1565 * gdb.btrace/function_call_history.exp: Update tests.
1566 * gdb.btrace/instruction_history.exp: Update tests.
1568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1570 * gdb.btrace/function_call_history.exp: Fix expected field
1571 order for "record function-call-history".
1572 Add new tests for "record function-call-history /c".
1573 * gdb.btrace/exception.cc: New.
1574 * gdb.btrace/exception.exp: New.
1575 * gdb.btrace/tailcall.exp: New.
1576 * gdb.btrace/x86-tailcall.S: New.
1577 * gdb.btrace/x86-tailcall.c: New.
1578 * gdb.btrace/unknown_functions.c: New.
1579 * gdb.btrace/unknown_functions.exp: New.
1580 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1582 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1584 * gdb.btrace/instruction_history.exp: Update.
1585 * gdb.btrace/function_call_history.exp: Update.
1587 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1589 * gdb.btrace/function_call_history.exp: Fix expected function
1591 * gdb.btrace/instruction_history.exp: Initialize traced.
1592 Remove traced_functions.
1594 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1596 * gdb.btrace/function_call_history.exp: Update
1597 * gdb.btrace/instruction_history.exp: Update.
1599 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1601 * gdb.btrace/enable.exp: Update expected text.
1603 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1605 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1608 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1610 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1612 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1614 * lib/gdb.exp (supports_process_record): Return true for
1615 arm*-linux*. (supports_reverse): Likewise.
1617 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1621 * gdb.python/py-type.c: Enhance test case.
1622 * gdb.python/py-value-cc.cc: Likewise
1623 * gdb.python/py-type.exp: Add new tests.
1624 * gdb.python/py-value-cc.exp: Likewise
1626 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1627 Pedro Alves <palves@redhat.com>
1629 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1631 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1632 references to ${name}_start by references to ${name}.
1634 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1636 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1638 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1640 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1642 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1643 Pedro Alves <palves@redhat.com>
1645 * gdb.mi/mi-info-os.exp: Connect to the target with
1648 2014-01-08 Pedro Alves <palves@redhat.com>
1650 * gdb.threads/reconnect-signal.c: New file.
1651 * gdb.threads/reconnect-signal.exp: New file.
1653 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1655 * gdb.base/source-dir.exp: New file.
1657 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1659 * gdb.ada/mi_interface: New testcase.
1661 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1663 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1664 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1665 gdb.ada/pp-rec-component/pck.ads: New files.
1667 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1669 * gdb.python/py-pp-integral.c: New file.
1670 * gdb.python/py-pp-integral.py: New file.
1671 * gdb.python/py-pp-integral.exp: New file.
1673 For older changes see ChangeLog-1993-2013.
1679 ;; version-control: never
1682 Copyright 2014 Free Software Foundation, Inc.
1683 Copying and distribution of this file, with or without modification,
1684 are permitted provided the copyright notice and this notice are preserved.