1 2014-06-06 Yao Qi <yao@codesourcery.com>
3 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
4 readable, skip the test.
6 2014-06-06 Yao Qi <yao@codesourcery.com>
8 * gdb.threads/staticthreads.c (thread_function): Move the line
9 setting breakpoint on forward.
10 * gdb.threads/staticthreads.exp: Update comments.
12 2014-06-05 Ludovic Courtès <ludo@gnu.org>
14 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15 "history-append! type error".
17 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
19 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20 erroneous dprintf expected input.
22 2014-06-04 Doug Evans <xdje42@gmail.com>
24 * gdb.guile/scm-generics.exp: Delete.
26 2014-06-04 Doug Evans <xdje42@gmail.com>
28 * gdb.guile/scm-breakpoint.exp: Update.
29 Add tests for breakpoint registration.
31 2014-06-04 Tom Tromey <tromey@redhat.com>
33 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
35 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
36 inner_vla_struct, vla_union types. Initialize objects of those
37 types and compute their sizes.
39 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
40 Hui Zhu <hui@codesourcery.com>
42 * gdb.base/fileio.exp: Add test for shell not available as well as
44 * gdb.base/fileio.c (test_system): Check for shell twice.
46 2014-06-04 Yao Qi <yao@codesourcery.com>
48 * gdb.base/auto-connect-native-target.exp: Remove redundant
49 space from the regexp pattern.
51 2014-06-04 Yao Qi <yao@codesourcery.com>
53 * gdb.base/default.exp: Replace "child" with "native" in
56 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
58 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
59 * gdb.python/py-xmethods.exp: New tests to test xmethods.
60 * gdb.python/py-xmethods.py: Python script supporting the
61 new testcase and tests.
63 2014-06-03 Joel Brobecker <brobecker@adacore.com>
64 Pedro Alves <palves@redhat.com>
67 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
68 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
70 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
72 * gdb.base/subst.exp: Add tests to verify partial path matching
75 2014-06-03 Pedro Alves <palves@redhat.com>
77 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
78 target that doesn't use software single-stepping.
80 2014-06-03 Pedro Alves <palves@redhat.com>
83 * gdb.base/sss-bp-on-user-bp-2.c: New file.
84 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
86 2014-06-02 Doug Evans <xdje42@gmail.com>
88 * gdb.guile/scm-parameter.exp: New file.
90 2014-06-02 Doug Evans <xdje42@gmail.com>
92 * gdb.guile/scm-cmd.c: New file.
93 * gdb.guile/scm-cmd.exp: New file.
95 2014-06-02 Doug Evans <xdje42@gmail.com>
97 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
98 pretty-printer lookup.
99 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
100 (make-pp_s-printer): Call it.
101 (make-pretty-printer-from-dict): New function.
102 (lookup-pretty-printer-maker-from-dict): New function.
103 (*pretty-printer*): Simplify.
104 (make-objfile-pp_s-printer): New function.
105 (install-objfile-pretty-printers!): New function.
106 (make-progspace-pp_s-printer): New function.
107 (install-progspace-pretty-printers!): New function.
108 * gdb.guile/scm-progspace.c: New file.
109 * gdb.guile/scm-progspace.exp: New file.
111 2014-06-02 Pedro Alves <palves@redhat.com>
113 * gdb.base/dprintf-bp-same-addr.c: New file.
114 * gdb.base/dprintf-bp-same-addr.exp: New file.
116 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
118 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
119 * gdb.arch/powerpc-power.s: Likewise.
121 2014-06-02 Joel Brobecker <brobecker@adacore.com>
123 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
125 2014-06-01 Yao Qi <yao@codesourcery.com>
127 * gdb.base/watchpoint.exp (test_watch_location): Check null
128 pointer can be dereferenced. If not, do the test, otherwise
131 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
133 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
135 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
137 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
139 * gdb.arch/amd64-invalid-stack-middle.S: New file.
140 * gdb.arch/amd64-invalid-stack-middle.c: New file.
141 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
142 * gdb.arch/amd64-invalid-stack-top.c: New file.
143 * gdb.arch/amd64-invalid-stack-top.exp: New file.
145 2014-05-30 Pedro Alves <palves@redhat.com>
148 * gdb.base/sss-bp-on-user-bp.c: New file.
149 * gdb.base/sss-bp-on-user-bp.exp: New file.
151 2014-05-30 David Blaikie <dblaikie@gmail.com>
153 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
154 gnu_inline semantics via attribute.
155 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
156 source explicitly specifies the required semantics.
158 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
160 * gdb.reverse/sigall-reverse.exp: Fix a typo.
162 2014-05-29 Pedro Alves <palves@redhat.com>
163 Tom Tromey <tromey@redhat.com>
165 * gdb.base/async-shell.exp: Don't enable target-async.
167 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
169 (top level): Don't test with "target-async".
170 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
171 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
172 * gdb.base/inferior-died.exp: Don't enable target-async.
173 * gdb.base/interrupt-noterm.exp: Likewise.
174 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
175 * gdb.mi/mi-nonstop-exit.exp: Likewise.
176 * gdb.mi/mi-nonstop.exp: Likewise.
177 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
178 * gdb.mi/mi-nsintrall.exp: Likewise.
179 * gdb.mi/mi-nsmoribund.exp: Likewise.
180 * gdb.mi/mi-nsthrexec.exp: Likewise.
181 * gdb.mi/mi-watch-nonstop.exp: Likewise.
182 * gdb.multi/watchpoint-multi.exp: Adjust comment.
183 * gdb.python/py-evsignal.exp: Don't enable target-async.
184 * gdb.python/py-evthreads.exp: Likewise.
185 * gdb.python/py-prompt.exp: Likewise.
186 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
187 * gdb.server/solib-list.exp: Don't enable target-async.
188 * gdb.threads/thread-specific-bp.exp: Likewise.
189 * lib/mi-support.exp: Adjust to use mi-async.
191 2014-05-29 Pedro Alves <palves@redhat.com>
194 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
195 reason, even in sync mode.
197 2014-05-29 Pedro Alves <palves@redhat.com>
198 Hui Zhu <hui@codesourcery.com>
201 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
202 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
203 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
204 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
206 2014-05-28 Joel Brobecker <brobecker@adacore.com>
208 * config/monitor.exp (gdb_target_monitor): Replace use of
209 "set remotebaud" by "set serial baud".
211 2014-05-26 Andy Wingo <wingo@igalia.com>
213 * gdb.guile/scm-breakpoint.exp:
214 * gdb.guile/scm-gsmob.exp: Update to use plain old object
215 properties instead of gdb-object-properties.
217 2014-05-26 Yao Qi <yao@codesourcery.com>
219 * gdb.server/no-thread-db.exp: Specify source file name
220 explicitly when setting a breakpoint.
222 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
224 * gdb.btrace/vdso.c: New.
225 * gdb.btrace/vdso.exp: New.
227 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
229 * gdb.base/gcore.exp (capture_command_output): Move ...
230 * lib/gdb.exp (capture_command_output): ... here.
232 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
234 * gdb.btrace/data.exp: Test memory access during btrace replay.
236 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
238 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
240 2014-05-21 Pedro Alves <palves@redhat.com>
243 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
244 (top level): Test that output related to execution commands is
245 sent to the console with CLI commands, but not with MI commands.
246 Test that breakpoint events are always mirrored to the console.
247 Also expect the new source line to be output after a "next" in
248 async mode too. Make it a pass/fail test.
249 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
251 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
253 2014-05-21 Pedro Alves <palves@redhat.com>
255 * gdb.base/list.exp (build_pattern, test_list): New procedures.
256 Use them to test variations of "list" after reaching a breakpoint.
257 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
258 Test "list" with listsize 10 after reaching a breakpoint.
259 * gdb.python/python.exp (decode_line current location line
260 number): Adjust expected line number.
262 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
264 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
265 behavior for $args, pass it directly to "run".
267 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
269 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
272 2014-05-21 Pedro Alves <palves@redhat.com>
274 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
275 auto-connect-native-target off".
276 * gdb.base/auto-connect-native-target.c: New file.
277 * gdb.base/auto-connect-native-target.exp: New file.
279 2014-05-21 Pedro Alves <palves@redhat.com>
281 * gdb.base/default.exp: Test "target native" instead of "target
284 2014-05-21 Mark Wielaard <mjw@redhat.com>
286 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
288 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
290 Fix TLS access for -static -pthread.
291 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
292 <HAVE_TLS> (thread_function, main): Initialize it.
293 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
295 <$have_tls != "">: Check TLSVAR.
297 2014-05-21 Pedro Alves <palves@redhat.com>
299 * gdb.base/dcache-line-read-error.c: New.
300 * gdb.base/dcache-line-read-error.exp: New.
302 2014-05-20 Pedro Alves <palves@redhat.com>
304 * gdb.base/compare-sections.c: New file.
305 * gdb.base/compare-sections.exp: New file.
307 2014-05-20 Pedro Alves <palves@redhat.com>
309 * gdb.base/break-idempotent.c: New file.
310 * gdb.base/break-idempotent.exp: New file.
312 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
314 * gdb.btrace/nohist.exp: New.
316 2014-05-20 Yao Qi <yao@codesourcery.com>
318 * lib/gdb.exp (gdb_init): Set timeout if test file is under
319 gdb.reverse directory and gdb_reverse_timeout exists in board
321 * README: Document gdb_reverse_timeout.
323 2014-05-20 Yao Qi <yao@codesourcery.com>
325 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
326 'test_file_name'. Treat args as a string instead of a list.
327 (gdb_init): Rename argument 'args' by 'test_file_name'.
329 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
331 * gdb.arch/powerpc-power.exp: New file.
332 * gdb.arch/powerpc-power.s: New file.
334 2014-05-16 Doug Evans <dje@google.com>
336 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
337 * gdb.base/completion.exp: Check that all expected files exist
338 before doing file completion.
340 2014-05-16 Doug Evans <dje@google.com>
342 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
344 (do_syscall_tests_without_xml): Update.
346 2014-05-16 Pedro Alves <palves@redhat.com>
348 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
349 instead of "unknown output after running".
351 2014-05-16 Yao Qi <yao@codesourcery.com>
353 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
354 file1.txt from host at the end.
355 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
357 2014-05-15 Doug Evans <dje@google.com>
359 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
360 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
361 loading file. Add test for TU lookup.
363 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
365 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
366 calling "-exec-arguments" or "set args" before running the
369 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
371 * lib/mi-support.exp (mi_expect_stop): Expect message for
372 inferiors that exit with non-zero exit code.
374 2014-05-14 Yao Qi <yao@codesourcery.com>
376 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
377 match absolute path on remote host.
378 (test_file_list_exec_source_files): Remove "/" from the
381 2014-05-14 Yao Qi <yao@codesourcery.com>
383 * boards/local-remote-host-notty.exp (${board}_file): New
386 2014-05-07 Kyle McMartin <kyle@redhat.com>
388 Pushed by Joel Brobecker <brobecker@adacore.com>.
389 * gdb.arch/aarch64-atomic-inst.c: New file.
390 * gdb.arch/aarch64-atomic-inst.exp: New file.
392 2014-05-07 Yao Qi <yao@codesourcery.com>
394 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
395 in current context" too.
397 2014-05-05 Keith Seitz <keiths@redhat.com>
399 * gdb.linespec/ls-dollar.exp: Add test for linespec
400 file:convenience_variable.
402 2014-05-05 Yao Qi <yao@codesourcery.com>
404 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
405 traceframes into tfile and ctf trace files. Read data from
406 trace file and test collected data.
407 (gdb_collect_locals_test): Likewise.
408 (gdb_unavailable_registers_test): Likewise.
409 (gdb_unavailable_floats): Likewise.
410 (gdb_collect_globals_test): Likewise.
411 (top-level): Append "ctf" to trace_file_targets if GDB
414 2014-05-05 Yao Qi <yao@codesourcery.com>
416 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
418 (gdb_collect_args_test_1): ... it. New proc.
419 (gdb_collect_locals_test): Move some code to ...
420 (gdb_collect_locals_test_1): ... it. New proc.
421 (gdb_unavailable_registers_test): Move some code to ...
422 (gdb_unavailable_registers_test_1): ... it. New proc.
423 (gdb_unavailable_floats): Move some code to ...
424 (gdb_unavailable_floats_1): ... it. New proc.
426 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
428 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
429 probes to test for bitness recognition.
430 * gdb.arch/amd64-stap-optional-prefix.exp
431 (test_probe_value_without_reg): New procedure.
432 Add code to test for different kinds of bitness.
434 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
437 * gdb.arch/amd64-stap-optional-prefix.S: New file.
438 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
440 2014-05-01 Pedro Alves <palves@redhat.com>
442 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
443 gdb_file_cmd if no file is specified.
444 * boards/native-extended-gdbserver.exp (gdb_load): Use the
445 last_loaded_file to set the remote exec-file.
447 2014-05-01 Pedro Alves <palves@redhat.com>
449 * boards/local-remote-host.exp: New file.
451 2014-05-01 Pedro Alves <palves@redhat.com>
453 * boards/local-remote-host.exp: Rename to ...
454 * boards/local-remote-host-notty.exp: ... this.
456 2014-04-28 Joel Brobecker <brobecker@adacore.com>
458 * gdb.ada/dyn_arrayidx: New testcase.
460 2014-04-26 Yao Qi <yao@codesourcery.com>
462 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
463 and compute the length of function main. Save it in
465 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
466 (top-level): Use gdb_compile to compile objects into
467 executable and restart GDB. Remove invocation to
470 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
471 Pedro Alves <palves@redhat.com>
474 * gdb.multi/multi-attach.c: New file.
475 * gdb.multi/multi-attach.exp: New file.
477 2014-04-25 Pedro Alves <palves@redhat.com>
479 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
481 (top level): Test that "set remote conditional-breakpoints-packet
482 off" works as intended.
483 * gdb.base/dprintf.exp: Test that "set remote
484 breakpoint-commands-packet off" works as intended.
485 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
487 (top level): Call it.
488 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
489 remote fast-tracepoints-packet off" works as intended.
490 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
491 * lib/gdb.exp (gdb_is_target_remote): ... here.
493 2014-04-24 David Blaikie <dblaikie@gmail.com>
495 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
496 ensure clang would not discard them.
497 * gdb.base/gdbvars.c: Ditto.
498 * gdb.base/memattr.c: Ditto.
499 * gdb.base/whatis.c: Ditto.
500 * gdb.python/py-prettyprint.c: Ditto.
501 * gdb.trace/actions.c: Ditto.
502 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
503 ensure clang would not discard it.
505 2014-04-24 David Blaikie <dblaikie@gmail.com>
507 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
508 clang to emit the full definition of type required by the test
509 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
511 2014-04-24 David Blaikie <dblaikie@gmail.com>
513 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
514 coax Clang into emitting the definition of the type.
515 * gdb.cp/pr10728-x.h (y): Ditto.
516 * gdb.cp/pr10728-y.cc (y): Ditto.
518 2014-04-24 David Blaikie <dblaikie@gmail.com>
520 * gdb.base/label.exp: XFAIL label related tests under Clang.
521 * gdb.cp/cplabel.exp: Ditto.
522 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
523 under Clang those using labels.
525 2014-04-25 Yao Qi <yao@codesourcery.com>
527 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
529 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
530 partial_label and double_label.
532 2014-04-24 David Blaikie <dblaikie@gmail.com>
534 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
536 2014-04-24 David Blaikie <dblaikie@gmail.com>
538 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
539 of the function to work across GCC and Clang.
540 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
541 pointer types (const void ** const V void **).
543 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
544 Walfred Tedeschi <walfred.tedeschi@intel.com>
546 * Makefile.in (EXECUTABLES): Added i386-avx512.
547 * gdb.arch/i386-avx512.c: New file.
548 * gdb.arch/i386-avx512.exp: Likewise.
550 2014-04-23 Keith Seitz <keiths@redhat.com>
552 * lib/mi-support.exp (mi_list_breakpoints): Delete.
553 (mi_make_breakpoint_table): New procedure.
554 (mi_create_breakpoint): Use mi_make_breakpoint
555 and return the result.
556 (mi_make_breakpoint): New procedure.
557 (mi_build_kv_pairs): New procedure.
559 * gdb.mi/mi-break.exp: Remove unused globals,
560 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
562 * gdb.mi/mi-dprintf.exp: Use variable to track command
564 Update all callers of mi_create_breakpoint and use
565 mi_make_breakpoint_table.
566 Remove any unused global variables.
567 * gdb.mi/mi-nonstop.exp: Likewise.
568 * gdb.mi/mi-nsintrall.exp: Likewise.
569 * gdb.mi/mi-nsmoribund.exp: Likewise.
570 * gdb.mi/mi-nsthrexec.exp: Likewise.
571 * gdb.mi/mi-reverse.exp: Likewise.
572 * gdb.mi/mi-simplerun.exp: Likewise.
573 * gdb.mi/mi-stepn.exp: Likewise.
574 * gdb.mi/mi-syn-frame.exp: Likewise.
575 * gdb.mi/mi-until.exp: Likewise.
576 * gdb.mi/mi-var-cp.exp: Likewise.
577 * gdb.mi/mi-var-display.exp: Likewise.
578 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
579 * gdb.mi/mi2-var-child.exp: Likewise.
580 * gdb.mi/mi-vla-c99.exp: Likewise.
581 * lib/mi-support.exp: Likewise.
583 From Ian Lance Taylor <iant@cygnus.com>:
584 * lib/gdb.exp (parse_args): New procedure.
586 2014-04-23 Pedro Alves <palves@redhat.com>
588 * gdb.base/break-unload-file.c: New file.
589 * gdb.base/break-unload-file.exp: New file.
590 * gdb.base/sym-file-lib.c (baz): New function.
591 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
593 (load): Store the segment's mapped size.
594 (unload): New function.
595 (unload_shlib): New function.
596 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
597 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
598 set a breakpoint at baz, and call it.
599 * gdb.base/sym-file.exp: New tests for stale breakpoint
602 2014-04-23 Pedro Alves <palves@redhat.com>
604 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
605 * gdb.base/hbreak-in-shr-unsupported.c: New file.
606 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
607 * gdb.base/hbreak-unmapped.c: New file.
608 * gdb.base/hbreak-unmapped.exp: New file.
609 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
610 * lib/gdb.exp (gdb_is_target_remote): ... here.
612 2014-04-22 Pedro Alves <palves@redhat.com>
614 * gdb.base/consecutive-step-over.c: New file.
615 * gdb.base/consecutive-step-over.exp: New file.
617 2014-04-22 Pedro Alves <palves@redhat.com>
619 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
620 instead of send_gdb/gdb_expect.
622 2014-04-22 Yao Qi <yao@codesourcery.com>
624 * lib/trace-support.exp (generate_tracefile): New procedure.
625 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
627 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
628 if generate_tracefile returns 1.
630 2014-04-18 Tom Tromey <palves@redhat.com>
631 Pedro alves <tromey@redhat.com>
634 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
635 with a backtrace limit.
636 * gdb.python/py-frame-inline.exp: Test running to an inline
637 function with a backtrace limit, and printing the newest frame.
638 * gdb.python/py-frame-inline.c (main): Call f.
640 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
642 * gdb.java/jnpe.exp: Drop srcdir from untested path.
644 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
646 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
647 Drop prefix from unsupported source file path.
649 2014-04-17 Yao Qi <yao@codesourcery.com>
651 * lib/gdb.exp (with_target_charset): New proc.
652 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
654 (test_print_strings): Likewise.
655 (test_repeat_bytes): Likewise.
656 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
659 2014-04-16 Keith Seitz <keiths@redhat.com>
662 * gdb.dwarf2/corrupt.c: New file.
663 * gdb.dwarf2/corrupt.exp: New file.
665 2014-04-16 Keith Seitz <keiths@redhat.com>
668 * gdb.cp/namelessclass.cc: New file.
669 * gdb.cp/namelessclass.exp: New file.
670 * gdb.cp/namelessclass.S: New file.
672 2014-04-16 Doug Evans <dje@google.com>
674 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
676 (gdbserver_default_get_comm_port): New function.
677 (gdbserver_start): Check if board file provided
678 "gdbserver,get_comm_port" and use it if so.
679 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
680 (gdb,socketport): Set to "stdio".
681 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
682 (stdio_gdbserver_template): Delete.
683 (${board}_get_remote_address): Update.
684 (${board}_build_remote_cmd): Delete.
685 (${board}_get_comm_port): New function.
686 (${board}_spawn): Update.
687 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
689 (${board}_get_remote_address): Update.
690 (${board}_get_comm_port): New function.
692 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
694 * gdb.base/memattr.exp: Improve regexps to handle memory regions
695 appearing in any order.
697 2014-04-15 Doug Evans <dje@google.com>
699 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
700 uninitialized value of "description".
702 2014-04-15 Keith Seitz <keiths@redhat.com>
704 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
705 Remove unused globals.
706 (test_running_the_program): Likewise.
707 (test_controlled_execution): Likewise.
708 (test_controlling_breakpoints): Likewise.
709 (test_program_termination): Likewise.
711 2014-04-15 Keith Seitz <keiths@redhat.com>
713 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
715 (test_rbreak_creation_and_listing): Likewise.
716 (test_ignore_count): Likewise.
717 (test_error): Likewise.
719 2014-04-15 Pedro Alves <palves@redhat.com>
721 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
722 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
724 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
725 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
726 to sym-file-loader.c.
727 (struct library): Forward declare.
728 (load_shlib, lookup_function): Change prototypes.
729 (find_shstrtab, find_strtab, find_shdr, find_symtab)
730 (translate_offset): Remove declarations.
731 (get_text_addr): New declaration.
732 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
733 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
735 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
736 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
737 here from sym-file-loader.h.
738 (struct library): New structure.
739 (load_shlib, lookup_function): Change prototypes and adjust to
740 work with a struct library.
741 (find_shstrtab, find_strtab, find_shdr, find_symtab)
742 (translate_offset): Make static.
743 (get_text_addr): New function.
744 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
746 2014-04-15 Pedro Alves <palves@redhat.com>
748 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
750 2014-04-15 Pedro Alves <palves@redhat.com>
752 * gdb.base/sym-file-loader.c: Include <limits.h>.
753 (SELF_LINK): New define.
754 (get_origin): New function.
755 (load_shlib): Use it.
756 * gdb.base/sym-file.exp: Don't early return if the target is
757 remote. Use runto_main, and issue fail is that fails. Use
759 (shlib_name): Delete.
760 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
762 2014-04-15 Pedro Alves <palves@redhat.com>
764 * gdb.base/sym-file.exp: Remove regex characters from test
765 message. Don't refer to breakpoint numbers in test messages.
767 2014-04-14 Keith Seitz <keiths@redhat.com>
770 * gdb.cp/var-tag.cc: New file.
771 * gdb.cp/var-tag.exp: New file.
772 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
773 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
774 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
775 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
777 2014-04-14 Tom Tromey <tromey@redhat.com>
779 * gdb.cp/classes.exp (test_enums): Handle underlying type.
780 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
782 * gdb.cp/enum-class.exp: New file.
783 * gdb.cp/enum-class.cc: New file.
785 2014-04-14 Tom Tromey <tromey@redhat.com>
787 * gdb.dwarf2/enum-type.exp: New file.
789 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
791 * gdb.mi/mi-vla-c99.exp: New file.
792 * gdb.mi/vla.c: New file.
794 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
796 * gdb.base/vla-datatypes.c: New file.
797 * gdb.base/vla-datatypes.exp: New file.
799 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
801 * gdb.base/vla-ptr.c: New file.
802 * gdb.base/vla-ptr.exp: New file.
804 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
806 * gdb.dwarf2/count.exp: New file.
808 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
810 * gdb.base/vla-sideeffect.c: New file.
811 * gdb.base/vla-sideeffect.exp: New file.
813 2014-04-14 David Blaikie <dblaikie@gmail.com>
815 * gdb.mi/non-stop.c: Add return value for non-void function return
817 * gdb.threads/staticthreads.c: Ditto.
819 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
820 Doug Evans <xdje42@gmail.com>
822 * gdb.guile/scm-value.c: Improve test case.
823 * gdb.guile/scm-value.exp: Add new test.
825 2014-04-11 David Blaikie <dblaikie@gmail.com>
827 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
828 override Clang's default.
830 2014-04-11 Joel Brobecker <brobecker@adacore.com>
832 Revert the following changes (regressions):
834 * gdb.base/vla-sideeffect.c: New file.
835 * gdb.base/vla-sideeffect.exp: New file.
837 * gdb.dwarf2/count.exp: New file.
839 * gdb.base/vla-multi.c: New file.
840 * gdb.base/vla-multi.exp: New file.
842 * gdb.base/vla-ptr.c: New file.
843 * gdb.base/vla-ptr.exp: New file.
845 * gdb.base/vla-datatypes.c: New file.
846 * gdb.base/vla-datatypes.exp: New file.
848 * gdb.mi/mi-vla-c99.exp: New file.
849 * gdb.mi/vla.c: New file.
851 2014-04-11 Keith Seitz <keiths@redhat.com>
854 * gdb.cp/cpsizeof.exp: New file.
855 * gdb.cp/cpsizeof.cc: New file.
857 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
859 * gdb.mi/mi-vla-c99.exp: New file.
860 * gdb.mi/vla.c: New file.
862 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
864 * gdb.base/vla-datatypes.c: New file.
865 * gdb.base/vla-datatypes.exp: New file.
867 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
869 * gdb.base/vla-ptr.c: New file.
870 * gdb.base/vla-ptr.exp: New file.
872 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
874 * gdb.base/vla-multi.c: New file.
875 * gdb.base/vla-multi.exp: New file.
877 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
879 * gdb.dwarf2/count.exp: New file.
881 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
883 * gdb.base/vla-sideeffect.c: New file.
884 * gdb.base/vla-sideeffect.exp: New file.
886 2014-04-11 Yao Qi <yao@codesourcery.com>
888 * gdb.base/completion.exp: Check file exists before running tests
891 2014-04-10 Pedro Alves <palves@redhat.com>
893 * gdb.base/cond-eval-mode.c: New file.
894 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
895 prepare_for_testing to build the new file. Check result of
897 (test_break, test_watch): New procedures.
898 (top level): Use them.
900 2014-04-08 Pierre Muller <muller@sourceware.org>
902 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
903 Ctrl-V use for mingw hosts.
905 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
907 * gdb.python/py-value.c: Improve test case.
908 * gdb.python/py-value.exp: Add new test.
910 2014-04-07 David Blaikie <dblaikie@gmail.com>
912 * lib/compiler.c: Identify the clang compiler.
913 * lib/compiler.cc: Ditto.
915 2014-04-03 Yao Qi <yao@codesourcery.com>
917 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
919 2014-04-01 Anton Blanchard <anton@samba.org>
921 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
924 2014-04-01 Anton Blanchard <anton@samba.org>
926 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
929 2014-04-01 Anton Blanchard <anton@samba.org>
931 * gdb.arch/ppc64-atomic-inst.c: Remove.
932 * gdb.arch/ppc64-atomic-inst.S: New file.
933 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
935 2014-03-31 Doug Evans <dje@google.com>
937 * gdb.base/print-symbol-loading-lib.c: New file.
938 * gdb.base/print-symbol-loading-main.c: New file.
939 * gdb.base/print-symbol-loading.exp: New file.
941 2014-03-31 Yao Qi <yao@codesourcery.com>
943 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
945 2014-03-28 Joel Brobecker <brobecker@adacore.com>
947 * gdb.ada/mi_dyn_arr: New testcase.
949 2014-03-27 Doug Evans <dje@google.com>
951 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
953 2014-03-27 Yao Qi <yao@codesourcery.com>
955 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
956 if target is nios2-*-*.
958 2014-03-26 Yao Qi <yao@codesourcery.com>
960 * lib/gdb.exp (readline_is_used): New proc.
961 * gdb.base/completion.exp: Move tests on command complete up.
962 Skip the rest of tests if readline is not used.
963 * gdb.ada/complete.exp: Skp the test if readline is not
965 * gdb.base/filesym.exp: Likewise.
966 * gdb.base/macscp.exp: Likewise.
967 * gdb.base/readline-ask.exp: Likewise.
968 * gdb.base/readline.exp: Likewise.
969 * gdb.python/py-cmd.exp: Likewise.
970 * gdb.trace/tfile.exp: Likewise.
972 2014-03-26 Yao Qi <yao@codesourcery.com>
974 * gdb.base/macscp.exp: Fix code format issues.
976 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
978 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
979 * gdb.asm/powerpc64le.inc: New file.
981 2014-03-25 Pedro Alves <palves@redhat.com>
982 Doug Evans <dje@google.com>
984 * gdb.base/source-execution.c: New file.
985 * gdb.base/source-execution.exp: New file.
986 * gdb.base/source-execution.gdb: New file.
988 2014-03-24 Doug Evans <dje@google.com>
990 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
993 2014-03-24 Hui Zhu <hui@codesourcery.com>
994 Pedro Alves <palves@redhat.com>
997 * gdb.base/dprintf.exp: Use unsupported rather than changing the
998 test pass/fail messages. Detect missing support for dprintf when
999 breakpoints are actually inserted.
1000 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1001 breakpoints are actually inserted.
1002 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1005 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1007 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1009 2014-03-22 Doug Evans <xdje42@gmail.com>
1011 * gdb.python/python.exp (python not supported): Verify multi-line
1012 python command issues an error.
1013 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1014 guile command issues an error.
1016 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1018 * gdb.threads/thread-specific.exp: Handle the lack of usable
1019 $this_breakpoint and $this_thread.
1021 2014-03-21 Hui Zhu <hui@codesourcery.com>
1023 * gdb.base/attach.exp (do_command_attach_tests): New.
1025 2014-03-20 Tom Tromey <tromey@redhat.com>
1026 Pedro Alves <palves@redhat.com>
1029 * gdb.base/condbreak-call-false.c: New file.
1030 * gdb.base/condbreak-call-false.exp: New file.
1032 2014-03-20 Pedro Alves <palves@redhat.com>
1034 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1036 (block_signals, unblock_signals): Delete.
1037 (child_function_2, main): Remove references to deleted variable
1040 2014-03-20 Pedro Alves <palves@redhat.com>
1042 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1043 Use pthread_kill to signal thread 2.
1044 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1045 Adjust to make the test send itself a signal rather than using the
1046 host's "kill" command.
1048 2014-03-20 Pedro Alves <palves@redhat.com>
1050 * gdb.threads/multiple-step-overs.c: New file.
1051 * gdb.threads/multiple-step-overs.exp: New file.
1052 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1053 Adjust expected infrun debug output.
1055 2014-03-20 Pedro Alves <palves@redhat.com>
1057 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1058 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1060 2014-03-20 Pedro Alves <palves@redhat.com>
1063 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1064 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1065 of gdb_test_multiple.
1066 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1067 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1069 2014-03-20 Pedro Alves <palves@redhat.com>
1071 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1072 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1074 2014-03-19 Pedro Alves <palves@redhat.com>
1076 * gdb.base/async.exp: Remove early return.
1078 2014-03-19 Pedro Alves <palves@redhat.com>
1080 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1082 2014-03-19 Pedro Alves <palves@redhat.com>
1084 * gdb.base/async.exp (test_background): Expect \r\n after
1085 "completed." in the fail pattern.
1087 2014-03-19 Pedro Alves <palves@redhat.com>
1089 * gdb.base/async.exp (test_background): New procedure.
1090 Use it for all background execution command tests.
1092 2014-03-19 Pedro Alves <palves@redhat.com>
1094 * gdb.base/async.exp: Use prepare_for_testing.
1096 2014-03-19 Pedro Alves <palves@redhat.com>
1098 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1101 2014-03-19 Pedro Alves <palves@redhat.com>
1103 * gdb.base/async.c (main): Add "jump here" and "until here" line
1105 * gdb.base/async.exp (jump_here): New global.
1106 (jump& test): Use it.
1107 (until_here): New global.
1108 (until& test): Use it.
1110 2014-03-19 Pedro Alves <palves@redhat.com>
1112 * gdb.base/async.exp: Don't frob gdb_protocol.
1114 2014-03-18 Doug Evans <xdje42@gmail.com>
1116 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1117 Fix spelling of exec-done-display.
1119 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1122 * gdb.base/gdb-sigterm.c: New file.
1123 * gdb.base/gdb-sigterm.exp: New file.
1125 2014-03-18 Pedro Alves <palves@redhat.com>
1128 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1129 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1132 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1134 * gdb.ada/pckd_arr_ren: New testcase.
1136 2014-03-13 Doug Evans <xdje42@gmail.com>
1139 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1140 collect after discarding symbols.
1142 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1143 Doug Evans <xdje42@gmail.com>
1145 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1146 to history survives a gc.
1148 2014-03-13 Pedro Alves <palves@redhat.com>
1150 * gdb.base/default.exp: Don't test "target procfs".
1152 2014-03-13 Pedro Alves <palves@redhat.com>
1154 * gdb.base/default.exp: Update "target child" and "target procfs"
1155 tests to not expect "Unix".
1157 2014-03-12 Tom Tromey <tromey@redhat.com>
1159 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1160 New procs. Add target-async tests.
1161 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1162 Add target-async tests.
1164 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1166 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1167 'func_start' and 'func_end' for the beginning and end of the
1168 function code, respectively.
1169 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1170 'func_end' instead of 'func' and 'main'.
1172 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1174 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1175 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1176 generate the debug info assembler source.
1178 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1180 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1181 * gdb.dwarf2/arr-subrange.exp: Likewise.
1182 * gdb.dwarf2/dwz.exp: Likewise.
1183 * gdb.dwarf2/method-ptr.exp: Likewise.
1184 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1185 * gdb.dwarf2/subrange.exp: Likewise.
1186 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1187 * gdb.dwarf2/implptrpiece.exp: Likewise.
1188 * gdb.dwarf2/nostaticblock.exp: Likewise.
1190 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1192 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1193 directory to absolute path name arguments.
1195 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1197 * gdb.ada/tagged_access: New testcase.
1199 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1201 * gdb.btrace/data.exp: Update expected output.
1203 2014-03-06 Yao Qi <yao@codesourcery.com>
1205 * gdb.trace/pr16508.exp: New file.
1207 2014-03-05 Pedro Alves <palves@redhat.com>
1210 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1212 (top level): Adjust to use it. Add tests that exercise breakpoint
1213 interaction with the code-cache.
1215 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1217 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1218 test for 'history-append!'.
1220 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1222 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1223 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1224 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1225 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1226 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1227 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1229 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1231 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1232 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1233 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1235 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1237 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1239 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1241 * gdb.dwarf2/arr-stride.c: New file.
1242 * gdb.dwarf2/arr-stride.exp: New file.
1244 2014-02-26 Pedro Alves <palves@redhat.com>
1246 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1247 that won't ever trigger. Make sure that GDB reports the correct
1248 breakpoint that caused the stop.
1250 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1253 * gdb.base/auto-load-script: New file.
1254 * gdb.base/auto-load.c: New file.
1255 * gdb.base/auto-load.exp: New file.
1258 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1260 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1262 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1263 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1265 2014-02-24 Doug Evans <dje@google.com>
1267 * lib/gdb.exp (run_on_host): Log error output if program fails.
1269 2014-02-21 Pedro Alves <palves@redhat.com>
1271 * gdb.threads/step-after-sr-lock.c: Rename to ...
1272 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1273 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1274 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1277 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1280 * gdb.arch/amd64-stap-special-operands.exp: New file.
1281 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1282 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1283 * gdb.arch/amd64-stap-triplet.S: Likewise.
1284 * gdb.arch/amd64-stap-triplet.c: Likewise.
1286 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1288 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1289 in .section pseudo-op.
1291 2014-02-20 lin zuojian <manjian2006@gmail.com>
1292 Joel Brobecker <brobecker@adacore.com>
1293 Doug Evans <xdje42@gmail.com>
1296 * gdb.dwarf2/dw2-icycle.S: New file.
1297 * gdb.dwarf2/dw2-icycle.c: New file.
1298 * gdb.dwarf2/dw2-icycle.exp: New file.
1300 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1302 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1303 operations on gdb.Value objects.
1304 * gdb.python/py-value-cc.exp: Add new test to test operations on
1307 2014-02-18 Doug Evans <dje@google.com>
1309 * Makefile.in (TESTS): New variable.
1310 (expanded_tests, expanded_tests_or_none): New variables
1311 (check-single): Pass $(expanded_tests_or_none) to runtest.
1312 (check-parallel): Only run tests in $(TESTS) if non-empty.
1313 (check/no-matching-tests-found): New rule.
1314 * README: Document TESTS makefile variable.
1316 2014-02-18 Doug Evans <dje@google.com>
1318 * Makefile.in (check-parallel): rm -rf outputs temp.
1320 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1322 Fix "ERROR: no fileid for" in the testsuite.
1323 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1325 2014-02-12 Doug Evans <dje@google.com>
1327 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1328 (MISCELLANEOUS): New variable.
1329 (clean): rm -rf $(MISCELLANEOUS).
1330 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1331 dwp live in the same directory as symlinks, with each symlink pointed
1332 to a differently named file in a different directory.
1334 2014-02-11 Doug Evans <dje@google.com>
1336 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1337 of Tcl file commands.
1339 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1341 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1344 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1346 * gdb.ada/tick_length_array_enum_idx: New testcase.
1348 2014-02-10 Doug Evans <xdje42@gmail.com>
1350 * configure.ac (AC_OUTPUT): Add gdb.guile.
1351 * configure: Regenerate.
1352 * lib/gdb-guile.exp: New file.
1353 * lib/gdb.exp (get_target_charset): New function.
1354 * gdb.base/help.exp: Update expected output from "apropos apropos".
1355 * gdb.guile/Makefile.in: New file.
1356 * gdb.guile/guile.exp: New file.
1357 * gdb.guile/scm-arch.c: New file.
1358 * gdb.guile/scm-arch.exp: New file.
1359 * gdb.guile/scm-block.c: New file.
1360 * gdb.guile/scm-block.exp: New file.
1361 * gdb.guile/scm-breakpoint.c: New file.
1362 * gdb.guile/scm-breakpoint.exp: New file.
1363 * gdb.guile/scm-disasm.c: New file.
1364 * gdb.guile/scm-disasm.exp: New file.
1365 * gdb.guile/scm-equal.c: New file.
1366 * gdb.guile/scm-equal.exp: New file.
1367 * gdb.guile/scm-error.exp: New file.
1368 * gdb.guile/scm-error.scm: New file.
1369 * gdb.guile/scm-frame-args.c: New file.
1370 * gdb.guile/scm-frame-args.exp: New file.
1371 * gdb.guile/scm-frame-args.scm: New file.
1372 * gdb.guile/scm-frame-inline.c: New file.
1373 * gdb.guile/scm-frame-inline.exp: New file.
1374 * gdb.guile/scm-frame.c: New file.
1375 * gdb.guile/scm-frame.exp: New file.
1376 * gdb.guile/scm-generics.exp: New file.
1377 * gdb.guile/scm-gsmob.exp: New file.
1378 * gdb.guile/scm-iterator.c: New file.
1379 * gdb.guile/scm-iterator.exp: New file.
1380 * gdb.guile/scm-math.c: New file.
1381 * gdb.guile/scm-math.exp: New file.
1382 * gdb.guile/scm-objfile-script-gdb.in: New file.
1383 * gdb.guile/scm-objfile-script.c: New file.
1384 * gdb.guile/scm-objfile-script.exp: New file.
1385 * gdb.guile/scm-objfile.c: New file.
1386 * gdb.guile/scm-objfile.exp: New file.
1387 * gdb.guile/scm-ports.exp: New file.
1388 * gdb.guile/scm-pretty-print.c: New file.
1389 * gdb.guile/scm-pretty-print.exp: New file.
1390 * gdb.guile/scm-pretty-print.scm: New file.
1391 * gdb.guile/scm-section-script.c: New file.
1392 * gdb.guile/scm-section-script.exp: New file.
1393 * gdb.guile/scm-section-script.scm: New file.
1394 * gdb.guile/scm-symbol.c: New file.
1395 * gdb.guile/scm-symbol.exp: New file.
1396 * gdb.guile/scm-symtab-2.c: New file.
1397 * gdb.guile/scm-symtab.c: New file.
1398 * gdb.guile/scm-symtab.exp: New file.
1399 * gdb.guile/scm-type.c: New file.
1400 * gdb.guile/scm-type.exp: New file.
1401 * gdb.guile/scm-value-cc.cc: New file.
1402 * gdb.guile/scm-value-cc.exp: New file.
1403 * gdb.guile/scm-value.c: New file.
1404 * gdb.guile/scm-value.exp: New file.
1405 * gdb.guile/source2.scm: New file.
1406 * gdb.guile/types-module.cc: New file.
1407 * gdb.guile/types-module.exp: New file.
1409 2014-02-10 Yao Qi <yao@codesourcery.com>
1412 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1413 * configure: Regenerated.
1414 * Makefile.in: New file.
1416 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1418 * gdb.python/py-framefilter.exp: Fix typo.
1420 2014-02-08 Yao Qi <yao@codesourcery.com>
1422 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1423 that no =breakpoint-modified is emitted when breakpoints are
1424 modified through MI commands.
1426 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1427 Pedro Alves <palves@redhat.com>
1429 * gdb.threads/step-after-sr-lock.c: New file.
1430 * gdb.threads/step-after-sr-lock.exp: New file.
1432 2014-02-07 Pedro Alves <palves@redhat.com>
1434 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1436 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1438 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1439 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1441 2014-02-06 Doug Evans <xdje42@gmail.com>
1443 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1446 * gdb.gdb/python-interrupts.exp: New file.
1448 2014-02-05 Yao Qi <yao@codesourcery.com>
1450 * gdb.trace/report.exp (use_collected_data): Test the output
1451 of "info threads" and "info inferiors".
1453 2014-02-05 Yao Qi <yao@codesourcery.com>
1457 2013-05-24 Yao Qi <yao@codesourcery.com>
1459 * gdb.trace/tfile.exp: Test inferior and thread.
1461 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1463 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1465 * gdb.base/step-bt.c: Call hello via function pointer to make
1466 sure its first instruction is executed on powerpc64le-linux.
1468 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1470 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1472 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1474 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1475 of the test patterns for use on little-endian systems.
1477 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1479 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1480 (decimal_vector): Fix for little-endian.
1482 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1484 * gdb.arch/sparc-sysstep.exp: New file.
1485 * gdb.arch/sparc-sysstep.c: Likewise.
1487 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1489 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1491 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1493 2014-01-23 Tom Tromey <tromey@redhat.com>
1495 * gdb.ada/array_char_idx: New testcase.
1497 2014-01-23 Tom Tromey <tromey@redhat.com>
1500 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1501 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1504 2014-01-23 Tom Tromey <tromey@redhat.com>
1507 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1508 string from an inferior frame.
1509 * gdb.python/py-framefilter-mi.exp: Update.
1511 2014-01-22 Doug Evans <dje@google.com>
1513 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1515 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1517 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1519 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1521 * gdb.trace/entry-values.exp: Remove excess space character from
1522 regex patterns. Handle s390 call instruction.
1524 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1526 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1527 define "*_start" label. Make "name" static.
1528 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1529 ${name} by references to ${name}_start.
1531 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1533 * gdb.base/info-macros.exp: Remove "debug" from the compile
1536 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1538 * gdb.dlang/demangle.exp: New file.
1540 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1542 * gdb.dlang/primitive-types.exp: New file.
1544 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1546 * configure.ac: Create gdb.dlang/Makefile.
1547 * configure: Regenerate.
1548 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1549 * gdb.dlang/Makefile.in: New file.
1550 * lib/d-support.exp: New file.
1551 * lib/gdb.exp (skip_d_tests): New proc.
1553 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1555 * gdb.btrace/delta.exp: Check reverse stepi.
1556 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1557 * gdb.btrace/finish.exp: New.
1558 * gdb.btrace/next.exp: New.
1559 * gdb.btrace/nexti.exp: New.
1560 * gdb.btrace/record_goto.c: Add comments.
1561 * gdb.btrace/step.exp: New.
1562 * gdb.btrace/stepi.exp: New.
1563 * gdb.btrace/multi-thread-step.c: New.
1564 * gdb.btrace/multi-thread-step.exp: New.
1565 * gdb.btrace/rn-dl-bind.c: New.
1566 * gdb.btrace/rn-dl-bind.exp: New.
1567 * gdb.btrace/data.c: New.
1568 * gdb.btrace/data.exp: New.
1569 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1571 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1573 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1574 * gdb.btrace/exception.exp: Update.
1575 * gdb.btrace/instruction_history.exp: Update.
1576 * gdb.btrace/record_goto.exp: Update.
1577 * gdb.btrace/tailcall.exp: Update.
1578 * gdb.btrace/unknown_functions.exp: Update.
1579 * gdb.btrace/delta.exp: New.
1581 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1583 * gdb.btrace/record_goto.exp: Add backtrace test.
1584 * gdb.btrace/tailcall.exp: Add backtrace test.
1586 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1588 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1589 * gdb.btrace/record_goto.c: New.
1590 * gdb.btrace/record_goto.exp: New.
1591 * gdb.btrace/x86-record_goto.S: New.
1593 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1595 * gdb.btrace/function_call_history.exp: Update tests.
1596 * gdb.btrace/instruction_history.exp: Update tests.
1598 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1600 * gdb.btrace/function_call_history.exp: Fix expected field
1601 order for "record function-call-history".
1602 Add new tests for "record function-call-history /c".
1603 * gdb.btrace/exception.cc: New.
1604 * gdb.btrace/exception.exp: New.
1605 * gdb.btrace/tailcall.exp: New.
1606 * gdb.btrace/x86-tailcall.S: New.
1607 * gdb.btrace/x86-tailcall.c: New.
1608 * gdb.btrace/unknown_functions.c: New.
1609 * gdb.btrace/unknown_functions.exp: New.
1610 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1612 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1614 * gdb.btrace/instruction_history.exp: Update.
1615 * gdb.btrace/function_call_history.exp: Update.
1617 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1619 * gdb.btrace/function_call_history.exp: Fix expected function
1621 * gdb.btrace/instruction_history.exp: Initialize traced.
1622 Remove traced_functions.
1624 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1626 * gdb.btrace/function_call_history.exp: Update
1627 * gdb.btrace/instruction_history.exp: Update.
1629 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1631 * gdb.btrace/enable.exp: Update expected text.
1633 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1635 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1638 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1640 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1642 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1644 * lib/gdb.exp (supports_process_record): Return true for
1645 arm*-linux*. (supports_reverse): Likewise.
1647 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1651 * gdb.python/py-type.c: Enhance test case.
1652 * gdb.python/py-value-cc.cc: Likewise
1653 * gdb.python/py-type.exp: Add new tests.
1654 * gdb.python/py-value-cc.exp: Likewise
1656 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1657 Pedro Alves <palves@redhat.com>
1659 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1661 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1662 references to ${name}_start by references to ${name}.
1664 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1666 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1668 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1670 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1672 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1673 Pedro Alves <palves@redhat.com>
1675 * gdb.mi/mi-info-os.exp: Connect to the target with
1678 2014-01-08 Pedro Alves <palves@redhat.com>
1680 * gdb.threads/reconnect-signal.c: New file.
1681 * gdb.threads/reconnect-signal.exp: New file.
1683 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1685 * gdb.base/source-dir.exp: New file.
1687 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1689 * gdb.ada/mi_interface: New testcase.
1691 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1693 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1694 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1695 gdb.ada/pp-rec-component/pck.ads: New files.
1697 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1699 * gdb.python/py-pp-integral.c: New file.
1700 * gdb.python/py-pp-integral.py: New file.
1701 * gdb.python/py-pp-integral.exp: New file.
1703 For older changes see ChangeLog-1993-2013.
1709 ;; version-control: never
1712 Copyright 2014 Free Software Foundation, Inc.
1713 Copying and distribution of this file, with or without modification,
1714 are permitted provided the copyright notice and this notice are preserved.