1 2014-06-04 Yao Qi <yao@codesourcery.com>
3 * gdb.base/auto-connect-native-target.exp: Remove redundant
4 space from the regexp pattern.
6 2014-06-04 Yao Qi <yao@codesourcery.com>
8 * gdb.base/default.exp: Replace "child" with "native" in
11 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
14 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15 * gdb.python/py-xmethods.py: Python script supporting the
16 new testcase and tests.
18 2014-06-03 Joel Brobecker <brobecker@adacore.com>
19 Pedro Alves <palves@redhat.com>
22 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
23 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
25 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
27 * gdb.base/subst.exp: Add tests to verify partial path matching
30 2014-06-03 Pedro Alves <palves@redhat.com>
32 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
33 target that doesn't use software single-stepping.
35 2014-06-03 Pedro Alves <palves@redhat.com>
38 * gdb.base/sss-bp-on-user-bp-2.c: New file.
39 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
41 2014-06-02 Doug Evans <xdje42@gmail.com>
43 * gdb.guile/scm-parameter.exp: New file.
45 2014-06-02 Doug Evans <xdje42@gmail.com>
47 * gdb.guile/scm-cmd.c: New file.
48 * gdb.guile/scm-cmd.exp: New file.
50 2014-06-02 Doug Evans <xdje42@gmail.com>
52 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
53 pretty-printer lookup.
54 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
55 (make-pp_s-printer): Call it.
56 (make-pretty-printer-from-dict): New function.
57 (lookup-pretty-printer-maker-from-dict): New function.
58 (*pretty-printer*): Simplify.
59 (make-objfile-pp_s-printer): New function.
60 (install-objfile-pretty-printers!): New function.
61 (make-progspace-pp_s-printer): New function.
62 (install-progspace-pretty-printers!): New function.
63 * gdb.guile/scm-progspace.c: New file.
64 * gdb.guile/scm-progspace.exp: New file.
66 2014-06-02 Pedro Alves <palves@redhat.com>
68 * gdb.base/dprintf-bp-same-addr.c: New file.
69 * gdb.base/dprintf-bp-same-addr.exp: New file.
71 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
73 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
74 * gdb.arch/powerpc-power.s: Likewise.
76 2014-06-02 Joel Brobecker <brobecker@adacore.com>
78 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
80 2014-06-01 Yao Qi <yao@codesourcery.com>
82 * gdb.base/watchpoint.exp (test_watch_location): Check null
83 pointer can be dereferenced. If not, do the test, otherwise
86 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
88 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
90 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
92 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
94 * gdb.arch/amd64-invalid-stack-middle.S: New file.
95 * gdb.arch/amd64-invalid-stack-middle.c: New file.
96 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
97 * gdb.arch/amd64-invalid-stack-top.c: New file.
98 * gdb.arch/amd64-invalid-stack-top.exp: New file.
100 2014-05-30 Pedro Alves <palves@redhat.com>
103 * gdb.base/sss-bp-on-user-bp.c: New file.
104 * gdb.base/sss-bp-on-user-bp.exp: New file.
106 2014-05-30 David Blaikie <dblaikie@gmail.com>
108 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
109 gnu_inline semantics via attribute.
110 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
111 source explicitly specifies the required semantics.
113 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
115 * gdb.reverse/sigall-reverse.exp: Fix a typo.
117 2014-05-29 Pedro Alves <palves@redhat.com>
118 Tom Tromey <tromey@redhat.com>
120 * gdb.base/async-shell.exp: Don't enable target-async.
122 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
124 (top level): Don't test with "target-async".
125 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
126 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
127 * gdb.base/inferior-died.exp: Don't enable target-async.
128 * gdb.base/interrupt-noterm.exp: Likewise.
129 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
130 * gdb.mi/mi-nonstop-exit.exp: Likewise.
131 * gdb.mi/mi-nonstop.exp: Likewise.
132 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
133 * gdb.mi/mi-nsintrall.exp: Likewise.
134 * gdb.mi/mi-nsmoribund.exp: Likewise.
135 * gdb.mi/mi-nsthrexec.exp: Likewise.
136 * gdb.mi/mi-watch-nonstop.exp: Likewise.
137 * gdb.multi/watchpoint-multi.exp: Adjust comment.
138 * gdb.python/py-evsignal.exp: Don't enable target-async.
139 * gdb.python/py-evthreads.exp: Likewise.
140 * gdb.python/py-prompt.exp: Likewise.
141 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
142 * gdb.server/solib-list.exp: Don't enable target-async.
143 * gdb.threads/thread-specific-bp.exp: Likewise.
144 * lib/mi-support.exp: Adjust to use mi-async.
146 2014-05-29 Pedro Alves <palves@redhat.com>
149 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
150 reason, even in sync mode.
152 2014-05-29 Pedro Alves <palves@redhat.com>
153 Hui Zhu <hui@codesourcery.com>
156 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
157 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
158 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
159 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
161 2014-05-28 Joel Brobecker <brobecker@adacore.com>
163 * config/monitor.exp (gdb_target_monitor): Replace use of
164 "set remotebaud" by "set serial baud".
166 2014-05-26 Andy Wingo <wingo@igalia.com>
168 * gdb.guile/scm-breakpoint.exp:
169 * gdb.guile/scm-gsmob.exp: Update to use plain old object
170 properties instead of gdb-object-properties.
172 2014-05-26 Yao Qi <yao@codesourcery.com>
174 * gdb.server/no-thread-db.exp: Specify source file name
175 explicitly when setting a breakpoint.
177 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
179 * gdb.btrace/vdso.c: New.
180 * gdb.btrace/vdso.exp: New.
182 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
184 * gdb.base/gcore.exp (capture_command_output): Move ...
185 * lib/gdb.exp (capture_command_output): ... here.
187 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
189 * gdb.btrace/data.exp: Test memory access during btrace replay.
191 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
193 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
195 2014-05-21 Pedro Alves <palves@redhat.com>
198 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
199 (top level): Test that output related to execution commands is
200 sent to the console with CLI commands, but not with MI commands.
201 Test that breakpoint events are always mirrored to the console.
202 Also expect the new source line to be output after a "next" in
203 async mode too. Make it a pass/fail test.
204 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
206 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
208 2014-05-21 Pedro Alves <palves@redhat.com>
210 * gdb.base/list.exp (build_pattern, test_list): New procedures.
211 Use them to test variations of "list" after reaching a breakpoint.
212 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
213 Test "list" with listsize 10 after reaching a breakpoint.
214 * gdb.python/python.exp (decode_line current location line
215 number): Adjust expected line number.
217 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
219 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
220 behavior for $args, pass it directly to "run".
222 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
224 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
227 2014-05-21 Pedro Alves <palves@redhat.com>
229 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
230 auto-connect-native-target off".
231 * gdb.base/auto-connect-native-target.c: New file.
232 * gdb.base/auto-connect-native-target.exp: New file.
234 2014-05-21 Pedro Alves <palves@redhat.com>
236 * gdb.base/default.exp: Test "target native" instead of "target
239 2014-05-21 Mark Wielaard <mjw@redhat.com>
241 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
243 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
245 Fix TLS access for -static -pthread.
246 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
247 <HAVE_TLS> (thread_function, main): Initialize it.
248 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
250 <$have_tls != "">: Check TLSVAR.
252 2014-05-21 Pedro Alves <palves@redhat.com>
254 * gdb.base/dcache-line-read-error.c: New.
255 * gdb.base/dcache-line-read-error.exp: New.
257 2014-05-20 Pedro Alves <palves@redhat.com>
259 * gdb.base/compare-sections.c: New file.
260 * gdb.base/compare-sections.exp: New file.
262 2014-05-20 Pedro Alves <palves@redhat.com>
264 * gdb.base/break-idempotent.c: New file.
265 * gdb.base/break-idempotent.exp: New file.
267 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
269 * gdb.btrace/nohist.exp: New.
271 2014-05-20 Yao Qi <yao@codesourcery.com>
273 * lib/gdb.exp (gdb_init): Set timeout if test file is under
274 gdb.reverse directory and gdb_reverse_timeout exists in board
276 * README: Document gdb_reverse_timeout.
278 2014-05-20 Yao Qi <yao@codesourcery.com>
280 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
281 'test_file_name'. Treat args as a string instead of a list.
282 (gdb_init): Rename argument 'args' by 'test_file_name'.
284 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
286 * gdb.arch/powerpc-power.exp: New file.
287 * gdb.arch/powerpc-power.s: New file.
289 2014-05-16 Doug Evans <dje@google.com>
291 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
292 * gdb.base/completion.exp: Check that all expected files exist
293 before doing file completion.
295 2014-05-16 Doug Evans <dje@google.com>
297 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
299 (do_syscall_tests_without_xml): Update.
301 2014-05-16 Pedro Alves <palves@redhat.com>
303 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
304 instead of "unknown output after running".
306 2014-05-16 Yao Qi <yao@codesourcery.com>
308 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
309 file1.txt from host at the end.
310 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
312 2014-05-15 Doug Evans <dje@google.com>
314 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
315 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
316 loading file. Add test for TU lookup.
318 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
320 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
321 calling "-exec-arguments" or "set args" before running the
324 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
326 * lib/mi-support.exp (mi_expect_stop): Expect message for
327 inferiors that exit with non-zero exit code.
329 2014-05-14 Yao Qi <yao@codesourcery.com>
331 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
332 match absolute path on remote host.
333 (test_file_list_exec_source_files): Remove "/" from the
336 2014-05-14 Yao Qi <yao@codesourcery.com>
338 * boards/local-remote-host-notty.exp (${board}_file): New
341 2014-05-07 Kyle McMartin <kyle@redhat.com>
343 Pushed by Joel Brobecker <brobecker@adacore.com>.
344 * gdb.arch/aarch64-atomic-inst.c: New file.
345 * gdb.arch/aarch64-atomic-inst.exp: New file.
347 2014-05-07 Yao Qi <yao@codesourcery.com>
349 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
350 in current context" too.
352 2014-05-05 Keith Seitz <keiths@redhat.com>
354 * gdb.linespec/ls-dollar.exp: Add test for linespec
355 file:convenience_variable.
357 2014-05-05 Yao Qi <yao@codesourcery.com>
359 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
360 traceframes into tfile and ctf trace files. Read data from
361 trace file and test collected data.
362 (gdb_collect_locals_test): Likewise.
363 (gdb_unavailable_registers_test): Likewise.
364 (gdb_unavailable_floats): Likewise.
365 (gdb_collect_globals_test): Likewise.
366 (top-level): Append "ctf" to trace_file_targets if GDB
369 2014-05-05 Yao Qi <yao@codesourcery.com>
371 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
373 (gdb_collect_args_test_1): ... it. New proc.
374 (gdb_collect_locals_test): Move some code to ...
375 (gdb_collect_locals_test_1): ... it. New proc.
376 (gdb_unavailable_registers_test): Move some code to ...
377 (gdb_unavailable_registers_test_1): ... it. New proc.
378 (gdb_unavailable_floats): Move some code to ...
379 (gdb_unavailable_floats_1): ... it. New proc.
381 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
383 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
384 probes to test for bitness recognition.
385 * gdb.arch/amd64-stap-optional-prefix.exp
386 (test_probe_value_without_reg): New procedure.
387 Add code to test for different kinds of bitness.
389 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
392 * gdb.arch/amd64-stap-optional-prefix.S: New file.
393 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
395 2014-05-01 Pedro Alves <palves@redhat.com>
397 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
398 gdb_file_cmd if no file is specified.
399 * boards/native-extended-gdbserver.exp (gdb_load): Use the
400 last_loaded_file to set the remote exec-file.
402 2014-05-01 Pedro Alves <palves@redhat.com>
404 * boards/local-remote-host.exp: New file.
406 2014-05-01 Pedro Alves <palves@redhat.com>
408 * boards/local-remote-host.exp: Rename to ...
409 * boards/local-remote-host-notty.exp: ... this.
411 2014-04-28 Joel Brobecker <brobecker@adacore.com>
413 * gdb.ada/dyn_arrayidx: New testcase.
415 2014-04-26 Yao Qi <yao@codesourcery.com>
417 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
418 and compute the length of function main. Save it in
420 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
421 (top-level): Use gdb_compile to compile objects into
422 executable and restart GDB. Remove invocation to
425 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
426 Pedro Alves <palves@redhat.com>
429 * gdb.multi/multi-attach.c: New file.
430 * gdb.multi/multi-attach.exp: New file.
432 2014-04-25 Pedro Alves <palves@redhat.com>
434 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
436 (top level): Test that "set remote conditional-breakpoints-packet
437 off" works as intended.
438 * gdb.base/dprintf.exp: Test that "set remote
439 breakpoint-commands-packet off" works as intended.
440 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
442 (top level): Call it.
443 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
444 remote fast-tracepoints-packet off" works as intended.
445 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
446 * lib/gdb.exp (gdb_is_target_remote): ... here.
448 2014-04-24 David Blaikie <dblaikie@gmail.com>
450 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
451 ensure clang would not discard them.
452 * gdb.base/gdbvars.c: Ditto.
453 * gdb.base/memattr.c: Ditto.
454 * gdb.base/whatis.c: Ditto.
455 * gdb.python/py-prettyprint.c: Ditto.
456 * gdb.trace/actions.c: Ditto.
457 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
458 ensure clang would not discard it.
460 2014-04-24 David Blaikie <dblaikie@gmail.com>
462 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
463 clang to emit the full definition of type required by the test
464 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
466 2014-04-24 David Blaikie <dblaikie@gmail.com>
468 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
469 coax Clang into emitting the definition of the type.
470 * gdb.cp/pr10728-x.h (y): Ditto.
471 * gdb.cp/pr10728-y.cc (y): Ditto.
473 2014-04-24 David Blaikie <dblaikie@gmail.com>
475 * gdb.base/label.exp: XFAIL label related tests under Clang.
476 * gdb.cp/cplabel.exp: Ditto.
477 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
478 under Clang those using labels.
480 2014-04-25 Yao Qi <yao@codesourcery.com>
482 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
484 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
485 partial_label and double_label.
487 2014-04-24 David Blaikie <dblaikie@gmail.com>
489 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
491 2014-04-24 David Blaikie <dblaikie@gmail.com>
493 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
494 of the function to work across GCC and Clang.
495 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
496 pointer types (const void ** const V void **).
498 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
499 Walfred Tedeschi <walfred.tedeschi@intel.com>
501 * Makefile.in (EXECUTABLES): Added i386-avx512.
502 * gdb.arch/i386-avx512.c: New file.
503 * gdb.arch/i386-avx512.exp: Likewise.
505 2014-04-23 Keith Seitz <keiths@redhat.com>
507 * lib/mi-support.exp (mi_list_breakpoints): Delete.
508 (mi_make_breakpoint_table): New procedure.
509 (mi_create_breakpoint): Use mi_make_breakpoint
510 and return the result.
511 (mi_make_breakpoint): New procedure.
512 (mi_build_kv_pairs): New procedure.
514 * gdb.mi/mi-break.exp: Remove unused globals,
515 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
517 * gdb.mi/mi-dprintf.exp: Use variable to track command
519 Update all callers of mi_create_breakpoint and use
520 mi_make_breakpoint_table.
521 Remove any unused global variables.
522 * gdb.mi/mi-nonstop.exp: Likewise.
523 * gdb.mi/mi-nsintrall.exp: Likewise.
524 * gdb.mi/mi-nsmoribund.exp: Likewise.
525 * gdb.mi/mi-nsthrexec.exp: Likewise.
526 * gdb.mi/mi-reverse.exp: Likewise.
527 * gdb.mi/mi-simplerun.exp: Likewise.
528 * gdb.mi/mi-stepn.exp: Likewise.
529 * gdb.mi/mi-syn-frame.exp: Likewise.
530 * gdb.mi/mi-until.exp: Likewise.
531 * gdb.mi/mi-var-cp.exp: Likewise.
532 * gdb.mi/mi-var-display.exp: Likewise.
533 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
534 * gdb.mi/mi2-var-child.exp: Likewise.
535 * gdb.mi/mi-vla-c99.exp: Likewise.
536 * lib/mi-support.exp: Likewise.
538 From Ian Lance Taylor <iant@cygnus.com>:
539 * lib/gdb.exp (parse_args): New procedure.
541 2014-04-23 Pedro Alves <palves@redhat.com>
543 * gdb.base/break-unload-file.c: New file.
544 * gdb.base/break-unload-file.exp: New file.
545 * gdb.base/sym-file-lib.c (baz): New function.
546 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
548 (load): Store the segment's mapped size.
549 (unload): New function.
550 (unload_shlib): New function.
551 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
552 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
553 set a breakpoint at baz, and call it.
554 * gdb.base/sym-file.exp: New tests for stale breakpoint
557 2014-04-23 Pedro Alves <palves@redhat.com>
559 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
560 * gdb.base/hbreak-in-shr-unsupported.c: New file.
561 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
562 * gdb.base/hbreak-unmapped.c: New file.
563 * gdb.base/hbreak-unmapped.exp: New file.
564 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
565 * lib/gdb.exp (gdb_is_target_remote): ... here.
567 2014-04-22 Pedro Alves <palves@redhat.com>
569 * gdb.base/consecutive-step-over.c: New file.
570 * gdb.base/consecutive-step-over.exp: New file.
572 2014-04-22 Pedro Alves <palves@redhat.com>
574 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
575 instead of send_gdb/gdb_expect.
577 2014-04-22 Yao Qi <yao@codesourcery.com>
579 * lib/trace-support.exp (generate_tracefile): New procedure.
580 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
582 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
583 if generate_tracefile returns 1.
585 2014-04-18 Tom Tromey <palves@redhat.com>
586 Pedro alves <tromey@redhat.com>
589 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
590 with a backtrace limit.
591 * gdb.python/py-frame-inline.exp: Test running to an inline
592 function with a backtrace limit, and printing the newest frame.
593 * gdb.python/py-frame-inline.c (main): Call f.
595 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
597 * gdb.java/jnpe.exp: Drop srcdir from untested path.
599 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
601 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
602 Drop prefix from unsupported source file path.
604 2014-04-17 Yao Qi <yao@codesourcery.com>
606 * lib/gdb.exp (with_target_charset): New proc.
607 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
609 (test_print_strings): Likewise.
610 (test_repeat_bytes): Likewise.
611 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
614 2014-04-16 Keith Seitz <keiths@redhat.com>
617 * gdb.dwarf2/corrupt.c: New file.
618 * gdb.dwarf2/corrupt.exp: New file.
620 2014-04-16 Keith Seitz <keiths@redhat.com>
623 * gdb.cp/namelessclass.cc: New file.
624 * gdb.cp/namelessclass.exp: New file.
625 * gdb.cp/namelessclass.S: New file.
627 2014-04-16 Doug Evans <dje@google.com>
629 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
631 (gdbserver_default_get_comm_port): New function.
632 (gdbserver_start): Check if board file provided
633 "gdbserver,get_comm_port" and use it if so.
634 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
635 (gdb,socketport): Set to "stdio".
636 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
637 (stdio_gdbserver_template): Delete.
638 (${board}_get_remote_address): Update.
639 (${board}_build_remote_cmd): Delete.
640 (${board}_get_comm_port): New function.
641 (${board}_spawn): Update.
642 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
644 (${board}_get_remote_address): Update.
645 (${board}_get_comm_port): New function.
647 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
649 * gdb.base/memattr.exp: Improve regexps to handle memory regions
650 appearing in any order.
652 2014-04-15 Doug Evans <dje@google.com>
654 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
655 uninitialized value of "description".
657 2014-04-15 Keith Seitz <keiths@redhat.com>
659 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
660 Remove unused globals.
661 (test_running_the_program): Likewise.
662 (test_controlled_execution): Likewise.
663 (test_controlling_breakpoints): Likewise.
664 (test_program_termination): Likewise.
666 2014-04-15 Keith Seitz <keiths@redhat.com>
668 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
670 (test_rbreak_creation_and_listing): Likewise.
671 (test_ignore_count): Likewise.
672 (test_error): Likewise.
674 2014-04-15 Pedro Alves <palves@redhat.com>
676 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
677 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
679 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
680 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
681 to sym-file-loader.c.
682 (struct library): Forward declare.
683 (load_shlib, lookup_function): Change prototypes.
684 (find_shstrtab, find_strtab, find_shdr, find_symtab)
685 (translate_offset): Remove declarations.
686 (get_text_addr): New declaration.
687 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
688 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
690 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
691 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
692 here from sym-file-loader.h.
693 (struct library): New structure.
694 (load_shlib, lookup_function): Change prototypes and adjust to
695 work with a struct library.
696 (find_shstrtab, find_strtab, find_shdr, find_symtab)
697 (translate_offset): Make static.
698 (get_text_addr): New function.
699 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
701 2014-04-15 Pedro Alves <palves@redhat.com>
703 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
705 2014-04-15 Pedro Alves <palves@redhat.com>
707 * gdb.base/sym-file-loader.c: Include <limits.h>.
708 (SELF_LINK): New define.
709 (get_origin): New function.
710 (load_shlib): Use it.
711 * gdb.base/sym-file.exp: Don't early return if the target is
712 remote. Use runto_main, and issue fail is that fails. Use
714 (shlib_name): Delete.
715 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
717 2014-04-15 Pedro Alves <palves@redhat.com>
719 * gdb.base/sym-file.exp: Remove regex characters from test
720 message. Don't refer to breakpoint numbers in test messages.
722 2014-04-14 Keith Seitz <keiths@redhat.com>
725 * gdb.cp/var-tag.cc: New file.
726 * gdb.cp/var-tag.exp: New file.
727 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
728 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
729 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
730 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
732 2014-04-14 Tom Tromey <tromey@redhat.com>
734 * gdb.cp/classes.exp (test_enums): Handle underlying type.
735 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
737 * gdb.cp/enum-class.exp: New file.
738 * gdb.cp/enum-class.cc: New file.
740 2014-04-14 Tom Tromey <tromey@redhat.com>
742 * gdb.dwarf2/enum-type.exp: New file.
744 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
746 * gdb.mi/mi-vla-c99.exp: New file.
747 * gdb.mi/vla.c: New file.
749 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
751 * gdb.base/vla-datatypes.c: New file.
752 * gdb.base/vla-datatypes.exp: New file.
754 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
756 * gdb.base/vla-ptr.c: New file.
757 * gdb.base/vla-ptr.exp: New file.
759 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
761 * gdb.dwarf2/count.exp: New file.
763 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
765 * gdb.base/vla-sideeffect.c: New file.
766 * gdb.base/vla-sideeffect.exp: New file.
768 2014-04-14 David Blaikie <dblaikie@gmail.com>
770 * gdb.mi/non-stop.c: Add return value for non-void function return
772 * gdb.threads/staticthreads.c: Ditto.
774 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
775 Doug Evans <xdje42@gmail.com>
777 * gdb.guile/scm-value.c: Improve test case.
778 * gdb.guile/scm-value.exp: Add new test.
780 2014-04-11 David Blaikie <dblaikie@gmail.com>
782 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
783 override Clang's default.
785 2014-04-11 Joel Brobecker <brobecker@adacore.com>
787 Revert the following changes (regressions):
789 * gdb.base/vla-sideeffect.c: New file.
790 * gdb.base/vla-sideeffect.exp: New file.
792 * gdb.dwarf2/count.exp: New file.
794 * gdb.base/vla-multi.c: New file.
795 * gdb.base/vla-multi.exp: New file.
797 * gdb.base/vla-ptr.c: New file.
798 * gdb.base/vla-ptr.exp: New file.
800 * gdb.base/vla-datatypes.c: New file.
801 * gdb.base/vla-datatypes.exp: New file.
803 * gdb.mi/mi-vla-c99.exp: New file.
804 * gdb.mi/vla.c: New file.
806 2014-04-11 Keith Seitz <keiths@redhat.com>
809 * gdb.cp/cpsizeof.exp: New file.
810 * gdb.cp/cpsizeof.cc: New file.
812 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
814 * gdb.mi/mi-vla-c99.exp: New file.
815 * gdb.mi/vla.c: New file.
817 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
819 * gdb.base/vla-datatypes.c: New file.
820 * gdb.base/vla-datatypes.exp: New file.
822 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
824 * gdb.base/vla-ptr.c: New file.
825 * gdb.base/vla-ptr.exp: New file.
827 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
829 * gdb.base/vla-multi.c: New file.
830 * gdb.base/vla-multi.exp: New file.
832 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
834 * gdb.dwarf2/count.exp: New file.
836 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
838 * gdb.base/vla-sideeffect.c: New file.
839 * gdb.base/vla-sideeffect.exp: New file.
841 2014-04-11 Yao Qi <yao@codesourcery.com>
843 * gdb.base/completion.exp: Check file exists before running tests
846 2014-04-10 Pedro Alves <palves@redhat.com>
848 * gdb.base/cond-eval-mode.c: New file.
849 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
850 prepare_for_testing to build the new file. Check result of
852 (test_break, test_watch): New procedures.
853 (top level): Use them.
855 2014-04-08 Pierre Muller <muller@sourceware.org>
857 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
858 Ctrl-V use for mingw hosts.
860 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
862 * gdb.python/py-value.c: Improve test case.
863 * gdb.python/py-value.exp: Add new test.
865 2014-04-07 David Blaikie <dblaikie@gmail.com>
867 * lib/compiler.c: Identify the clang compiler.
868 * lib/compiler.cc: Ditto.
870 2014-04-03 Yao Qi <yao@codesourcery.com>
872 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
874 2014-04-01 Anton Blanchard <anton@samba.org>
876 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
879 2014-04-01 Anton Blanchard <anton@samba.org>
881 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
884 2014-04-01 Anton Blanchard <anton@samba.org>
886 * gdb.arch/ppc64-atomic-inst.c: Remove.
887 * gdb.arch/ppc64-atomic-inst.S: New file.
888 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
890 2014-03-31 Doug Evans <dje@google.com>
892 * gdb.base/print-symbol-loading-lib.c: New file.
893 * gdb.base/print-symbol-loading-main.c: New file.
894 * gdb.base/print-symbol-loading.exp: New file.
896 2014-03-31 Yao Qi <yao@codesourcery.com>
898 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
900 2014-03-28 Joel Brobecker <brobecker@adacore.com>
902 * gdb.ada/mi_dyn_arr: New testcase.
904 2014-03-27 Doug Evans <dje@google.com>
906 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
908 2014-03-27 Yao Qi <yao@codesourcery.com>
910 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
911 if target is nios2-*-*.
913 2014-03-26 Yao Qi <yao@codesourcery.com>
915 * lib/gdb.exp (readline_is_used): New proc.
916 * gdb.base/completion.exp: Move tests on command complete up.
917 Skip the rest of tests if readline is not used.
918 * gdb.ada/complete.exp: Skp the test if readline is not
920 * gdb.base/filesym.exp: Likewise.
921 * gdb.base/macscp.exp: Likewise.
922 * gdb.base/readline-ask.exp: Likewise.
923 * gdb.base/readline.exp: Likewise.
924 * gdb.python/py-cmd.exp: Likewise.
925 * gdb.trace/tfile.exp: Likewise.
927 2014-03-26 Yao Qi <yao@codesourcery.com>
929 * gdb.base/macscp.exp: Fix code format issues.
931 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
933 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
934 * gdb.asm/powerpc64le.inc: New file.
936 2014-03-25 Pedro Alves <palves@redhat.com>
937 Doug Evans <dje@google.com>
939 * gdb.base/source-execution.c: New file.
940 * gdb.base/source-execution.exp: New file.
941 * gdb.base/source-execution.gdb: New file.
943 2014-03-24 Doug Evans <dje@google.com>
945 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
948 2014-03-24 Hui Zhu <hui@codesourcery.com>
949 Pedro Alves <palves@redhat.com>
952 * gdb.base/dprintf.exp: Use unsupported rather than changing the
953 test pass/fail messages. Detect missing support for dprintf when
954 breakpoints are actually inserted.
955 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
956 breakpoints are actually inserted.
957 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
960 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
962 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
964 2014-03-22 Doug Evans <xdje42@gmail.com>
966 * gdb.python/python.exp (python not supported): Verify multi-line
967 python command issues an error.
968 * gdb.guile/guile.exp (guile not supported): Verify multi-line
969 guile command issues an error.
971 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
973 * gdb.threads/thread-specific.exp: Handle the lack of usable
974 $this_breakpoint and $this_thread.
976 2014-03-21 Hui Zhu <hui@codesourcery.com>
978 * gdb.base/attach.exp (do_command_attach_tests): New.
980 2014-03-20 Tom Tromey <tromey@redhat.com>
981 Pedro Alves <palves@redhat.com>
984 * gdb.base/condbreak-call-false.c: New file.
985 * gdb.base/condbreak-call-false.exp: New file.
987 2014-03-20 Pedro Alves <palves@redhat.com>
989 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
991 (block_signals, unblock_signals): Delete.
992 (child_function_2, main): Remove references to deleted variable
995 2014-03-20 Pedro Alves <palves@redhat.com>
997 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
998 Use pthread_kill to signal thread 2.
999 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1000 Adjust to make the test send itself a signal rather than using the
1001 host's "kill" command.
1003 2014-03-20 Pedro Alves <palves@redhat.com>
1005 * gdb.threads/multiple-step-overs.c: New file.
1006 * gdb.threads/multiple-step-overs.exp: New file.
1007 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1008 Adjust expected infrun debug output.
1010 2014-03-20 Pedro Alves <palves@redhat.com>
1012 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1013 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1015 2014-03-20 Pedro Alves <palves@redhat.com>
1018 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1019 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1020 of gdb_test_multiple.
1021 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1022 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1024 2014-03-20 Pedro Alves <palves@redhat.com>
1026 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1027 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1029 2014-03-19 Pedro Alves <palves@redhat.com>
1031 * gdb.base/async.exp: Remove early return.
1033 2014-03-19 Pedro Alves <palves@redhat.com>
1035 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1037 2014-03-19 Pedro Alves <palves@redhat.com>
1039 * gdb.base/async.exp (test_background): Expect \r\n after
1040 "completed." in the fail pattern.
1042 2014-03-19 Pedro Alves <palves@redhat.com>
1044 * gdb.base/async.exp (test_background): New procedure.
1045 Use it for all background execution command tests.
1047 2014-03-19 Pedro Alves <palves@redhat.com>
1049 * gdb.base/async.exp: Use prepare_for_testing.
1051 2014-03-19 Pedro Alves <palves@redhat.com>
1053 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1056 2014-03-19 Pedro Alves <palves@redhat.com>
1058 * gdb.base/async.c (main): Add "jump here" and "until here" line
1060 * gdb.base/async.exp (jump_here): New global.
1061 (jump& test): Use it.
1062 (until_here): New global.
1063 (until& test): Use it.
1065 2014-03-19 Pedro Alves <palves@redhat.com>
1067 * gdb.base/async.exp: Don't frob gdb_protocol.
1069 2014-03-18 Doug Evans <xdje42@gmail.com>
1071 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1072 Fix spelling of exec-done-display.
1074 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1077 * gdb.base/gdb-sigterm.c: New file.
1078 * gdb.base/gdb-sigterm.exp: New file.
1080 2014-03-18 Pedro Alves <palves@redhat.com>
1083 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1084 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1087 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1089 * gdb.ada/pckd_arr_ren: New testcase.
1091 2014-03-13 Doug Evans <xdje42@gmail.com>
1094 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1095 collect after discarding symbols.
1097 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1098 Doug Evans <xdje42@gmail.com>
1100 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1101 to history survives a gc.
1103 2014-03-13 Pedro Alves <palves@redhat.com>
1105 * gdb.base/default.exp: Don't test "target procfs".
1107 2014-03-13 Pedro Alves <palves@redhat.com>
1109 * gdb.base/default.exp: Update "target child" and "target procfs"
1110 tests to not expect "Unix".
1112 2014-03-12 Tom Tromey <tromey@redhat.com>
1114 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1115 New procs. Add target-async tests.
1116 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1117 Add target-async tests.
1119 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1121 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1122 'func_start' and 'func_end' for the beginning and end of the
1123 function code, respectively.
1124 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1125 'func_end' instead of 'func' and 'main'.
1127 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1129 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1130 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1131 generate the debug info assembler source.
1133 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1135 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1136 * gdb.dwarf2/arr-subrange.exp: Likewise.
1137 * gdb.dwarf2/dwz.exp: Likewise.
1138 * gdb.dwarf2/method-ptr.exp: Likewise.
1139 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1140 * gdb.dwarf2/subrange.exp: Likewise.
1141 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1142 * gdb.dwarf2/implptrpiece.exp: Likewise.
1143 * gdb.dwarf2/nostaticblock.exp: Likewise.
1145 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1147 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1148 directory to absolute path name arguments.
1150 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1152 * gdb.ada/tagged_access: New testcase.
1154 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1156 * gdb.btrace/data.exp: Update expected output.
1158 2014-03-06 Yao Qi <yao@codesourcery.com>
1160 * gdb.trace/pr16508.exp: New file.
1162 2014-03-05 Pedro Alves <palves@redhat.com>
1165 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1167 (top level): Adjust to use it. Add tests that exercise breakpoint
1168 interaction with the code-cache.
1170 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1172 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1173 test for 'history-append!'.
1175 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1177 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1178 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1179 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1180 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1181 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1182 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1184 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1186 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1187 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1188 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1190 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1192 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1194 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1196 * gdb.dwarf2/arr-stride.c: New file.
1197 * gdb.dwarf2/arr-stride.exp: New file.
1199 2014-02-26 Pedro Alves <palves@redhat.com>
1201 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1202 that won't ever trigger. Make sure that GDB reports the correct
1203 breakpoint that caused the stop.
1205 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1208 * gdb.base/auto-load-script: New file.
1209 * gdb.base/auto-load.c: New file.
1210 * gdb.base/auto-load.exp: New file.
1213 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1215 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1217 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1218 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1220 2014-02-24 Doug Evans <dje@google.com>
1222 * lib/gdb.exp (run_on_host): Log error output if program fails.
1224 2014-02-21 Pedro Alves <palves@redhat.com>
1226 * gdb.threads/step-after-sr-lock.c: Rename to ...
1227 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1228 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1229 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1232 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1235 * gdb.arch/amd64-stap-special-operands.exp: New file.
1236 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1237 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1238 * gdb.arch/amd64-stap-triplet.S: Likewise.
1239 * gdb.arch/amd64-stap-triplet.c: Likewise.
1241 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1243 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1244 in .section pseudo-op.
1246 2014-02-20 lin zuojian <manjian2006@gmail.com>
1247 Joel Brobecker <brobecker@adacore.com>
1248 Doug Evans <xdje42@gmail.com>
1251 * gdb.dwarf2/dw2-icycle.S: New file.
1252 * gdb.dwarf2/dw2-icycle.c: New file.
1253 * gdb.dwarf2/dw2-icycle.exp: New file.
1255 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1257 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1258 operations on gdb.Value objects.
1259 * gdb.python/py-value-cc.exp: Add new test to test operations on
1262 2014-02-18 Doug Evans <dje@google.com>
1264 * Makefile.in (TESTS): New variable.
1265 (expanded_tests, expanded_tests_or_none): New variables
1266 (check-single): Pass $(expanded_tests_or_none) to runtest.
1267 (check-parallel): Only run tests in $(TESTS) if non-empty.
1268 (check/no-matching-tests-found): New rule.
1269 * README: Document TESTS makefile variable.
1271 2014-02-18 Doug Evans <dje@google.com>
1273 * Makefile.in (check-parallel): rm -rf outputs temp.
1275 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1277 Fix "ERROR: no fileid for" in the testsuite.
1278 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1280 2014-02-12 Doug Evans <dje@google.com>
1282 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1283 (MISCELLANEOUS): New variable.
1284 (clean): rm -rf $(MISCELLANEOUS).
1285 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1286 dwp live in the same directory as symlinks, with each symlink pointed
1287 to a differently named file in a different directory.
1289 2014-02-11 Doug Evans <dje@google.com>
1291 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1292 of Tcl file commands.
1294 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1296 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1299 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1301 * gdb.ada/tick_length_array_enum_idx: New testcase.
1303 2014-02-10 Doug Evans <xdje42@gmail.com>
1305 * configure.ac (AC_OUTPUT): Add gdb.guile.
1306 * configure: Regenerate.
1307 * lib/gdb-guile.exp: New file.
1308 * lib/gdb.exp (get_target_charset): New function.
1309 * gdb.base/help.exp: Update expected output from "apropos apropos".
1310 * gdb.guile/Makefile.in: New file.
1311 * gdb.guile/guile.exp: New file.
1312 * gdb.guile/scm-arch.c: New file.
1313 * gdb.guile/scm-arch.exp: New file.
1314 * gdb.guile/scm-block.c: New file.
1315 * gdb.guile/scm-block.exp: New file.
1316 * gdb.guile/scm-breakpoint.c: New file.
1317 * gdb.guile/scm-breakpoint.exp: New file.
1318 * gdb.guile/scm-disasm.c: New file.
1319 * gdb.guile/scm-disasm.exp: New file.
1320 * gdb.guile/scm-equal.c: New file.
1321 * gdb.guile/scm-equal.exp: New file.
1322 * gdb.guile/scm-error.exp: New file.
1323 * gdb.guile/scm-error.scm: New file.
1324 * gdb.guile/scm-frame-args.c: New file.
1325 * gdb.guile/scm-frame-args.exp: New file.
1326 * gdb.guile/scm-frame-args.scm: New file.
1327 * gdb.guile/scm-frame-inline.c: New file.
1328 * gdb.guile/scm-frame-inline.exp: New file.
1329 * gdb.guile/scm-frame.c: New file.
1330 * gdb.guile/scm-frame.exp: New file.
1331 * gdb.guile/scm-generics.exp: New file.
1332 * gdb.guile/scm-gsmob.exp: New file.
1333 * gdb.guile/scm-iterator.c: New file.
1334 * gdb.guile/scm-iterator.exp: New file.
1335 * gdb.guile/scm-math.c: New file.
1336 * gdb.guile/scm-math.exp: New file.
1337 * gdb.guile/scm-objfile-script-gdb.in: New file.
1338 * gdb.guile/scm-objfile-script.c: New file.
1339 * gdb.guile/scm-objfile-script.exp: New file.
1340 * gdb.guile/scm-objfile.c: New file.
1341 * gdb.guile/scm-objfile.exp: New file.
1342 * gdb.guile/scm-ports.exp: New file.
1343 * gdb.guile/scm-pretty-print.c: New file.
1344 * gdb.guile/scm-pretty-print.exp: New file.
1345 * gdb.guile/scm-pretty-print.scm: New file.
1346 * gdb.guile/scm-section-script.c: New file.
1347 * gdb.guile/scm-section-script.exp: New file.
1348 * gdb.guile/scm-section-script.scm: New file.
1349 * gdb.guile/scm-symbol.c: New file.
1350 * gdb.guile/scm-symbol.exp: New file.
1351 * gdb.guile/scm-symtab-2.c: New file.
1352 * gdb.guile/scm-symtab.c: New file.
1353 * gdb.guile/scm-symtab.exp: New file.
1354 * gdb.guile/scm-type.c: New file.
1355 * gdb.guile/scm-type.exp: New file.
1356 * gdb.guile/scm-value-cc.cc: New file.
1357 * gdb.guile/scm-value-cc.exp: New file.
1358 * gdb.guile/scm-value.c: New file.
1359 * gdb.guile/scm-value.exp: New file.
1360 * gdb.guile/source2.scm: New file.
1361 * gdb.guile/types-module.cc: New file.
1362 * gdb.guile/types-module.exp: New file.
1364 2014-02-10 Yao Qi <yao@codesourcery.com>
1367 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1368 * configure: Regenerated.
1369 * Makefile.in: New file.
1371 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1373 * gdb.python/py-framefilter.exp: Fix typo.
1375 2014-02-08 Yao Qi <yao@codesourcery.com>
1377 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1378 that no =breakpoint-modified is emitted when breakpoints are
1379 modified through MI commands.
1381 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1382 Pedro Alves <palves@redhat.com>
1384 * gdb.threads/step-after-sr-lock.c: New file.
1385 * gdb.threads/step-after-sr-lock.exp: New file.
1387 2014-02-07 Pedro Alves <palves@redhat.com>
1389 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1391 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1393 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1394 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1396 2014-02-06 Doug Evans <xdje42@gmail.com>
1398 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1401 * gdb.gdb/python-interrupts.exp: New file.
1403 2014-02-05 Yao Qi <yao@codesourcery.com>
1405 * gdb.trace/report.exp (use_collected_data): Test the output
1406 of "info threads" and "info inferiors".
1408 2014-02-05 Yao Qi <yao@codesourcery.com>
1412 2013-05-24 Yao Qi <yao@codesourcery.com>
1414 * gdb.trace/tfile.exp: Test inferior and thread.
1416 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1418 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1420 * gdb.base/step-bt.c: Call hello via function pointer to make
1421 sure its first instruction is executed on powerpc64le-linux.
1423 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1425 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1427 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1429 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1430 of the test patterns for use on little-endian systems.
1432 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1434 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1435 (decimal_vector): Fix for little-endian.
1437 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1439 * gdb.arch/sparc-sysstep.exp: New file.
1440 * gdb.arch/sparc-sysstep.c: Likewise.
1442 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1444 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1446 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1448 2014-01-23 Tom Tromey <tromey@redhat.com>
1450 * gdb.ada/array_char_idx: New testcase.
1452 2014-01-23 Tom Tromey <tromey@redhat.com>
1455 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1456 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1459 2014-01-23 Tom Tromey <tromey@redhat.com>
1462 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1463 string from an inferior frame.
1464 * gdb.python/py-framefilter-mi.exp: Update.
1466 2014-01-22 Doug Evans <dje@google.com>
1468 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1470 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1472 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1474 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1476 * gdb.trace/entry-values.exp: Remove excess space character from
1477 regex patterns. Handle s390 call instruction.
1479 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1481 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1482 define "*_start" label. Make "name" static.
1483 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1484 ${name} by references to ${name}_start.
1486 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1488 * gdb.base/info-macros.exp: Remove "debug" from the compile
1491 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1493 * gdb.dlang/demangle.exp: New file.
1495 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1497 * gdb.dlang/primitive-types.exp: New file.
1499 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1501 * configure.ac: Create gdb.dlang/Makefile.
1502 * configure: Regenerate.
1503 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1504 * gdb.dlang/Makefile.in: New file.
1505 * lib/d-support.exp: New file.
1506 * lib/gdb.exp (skip_d_tests): New proc.
1508 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1510 * gdb.btrace/delta.exp: Check reverse stepi.
1511 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1512 * gdb.btrace/finish.exp: New.
1513 * gdb.btrace/next.exp: New.
1514 * gdb.btrace/nexti.exp: New.
1515 * gdb.btrace/record_goto.c: Add comments.
1516 * gdb.btrace/step.exp: New.
1517 * gdb.btrace/stepi.exp: New.
1518 * gdb.btrace/multi-thread-step.c: New.
1519 * gdb.btrace/multi-thread-step.exp: New.
1520 * gdb.btrace/rn-dl-bind.c: New.
1521 * gdb.btrace/rn-dl-bind.exp: New.
1522 * gdb.btrace/data.c: New.
1523 * gdb.btrace/data.exp: New.
1524 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1526 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1528 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1529 * gdb.btrace/exception.exp: Update.
1530 * gdb.btrace/instruction_history.exp: Update.
1531 * gdb.btrace/record_goto.exp: Update.
1532 * gdb.btrace/tailcall.exp: Update.
1533 * gdb.btrace/unknown_functions.exp: Update.
1534 * gdb.btrace/delta.exp: New.
1536 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1538 * gdb.btrace/record_goto.exp: Add backtrace test.
1539 * gdb.btrace/tailcall.exp: Add backtrace test.
1541 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1543 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1544 * gdb.btrace/record_goto.c: New.
1545 * gdb.btrace/record_goto.exp: New.
1546 * gdb.btrace/x86-record_goto.S: New.
1548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1550 * gdb.btrace/function_call_history.exp: Update tests.
1551 * gdb.btrace/instruction_history.exp: Update tests.
1553 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1555 * gdb.btrace/function_call_history.exp: Fix expected field
1556 order for "record function-call-history".
1557 Add new tests for "record function-call-history /c".
1558 * gdb.btrace/exception.cc: New.
1559 * gdb.btrace/exception.exp: New.
1560 * gdb.btrace/tailcall.exp: New.
1561 * gdb.btrace/x86-tailcall.S: New.
1562 * gdb.btrace/x86-tailcall.c: New.
1563 * gdb.btrace/unknown_functions.c: New.
1564 * gdb.btrace/unknown_functions.exp: New.
1565 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1567 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1569 * gdb.btrace/instruction_history.exp: Update.
1570 * gdb.btrace/function_call_history.exp: Update.
1572 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1574 * gdb.btrace/function_call_history.exp: Fix expected function
1576 * gdb.btrace/instruction_history.exp: Initialize traced.
1577 Remove traced_functions.
1579 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1581 * gdb.btrace/function_call_history.exp: Update
1582 * gdb.btrace/instruction_history.exp: Update.
1584 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1586 * gdb.btrace/enable.exp: Update expected text.
1588 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1590 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1593 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1595 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1597 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1599 * lib/gdb.exp (supports_process_record): Return true for
1600 arm*-linux*. (supports_reverse): Likewise.
1602 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1606 * gdb.python/py-type.c: Enhance test case.
1607 * gdb.python/py-value-cc.cc: Likewise
1608 * gdb.python/py-type.exp: Add new tests.
1609 * gdb.python/py-value-cc.exp: Likewise
1611 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1612 Pedro Alves <palves@redhat.com>
1614 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1616 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1617 references to ${name}_start by references to ${name}.
1619 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1621 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1623 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1625 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1627 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1628 Pedro Alves <palves@redhat.com>
1630 * gdb.mi/mi-info-os.exp: Connect to the target with
1633 2014-01-08 Pedro Alves <palves@redhat.com>
1635 * gdb.threads/reconnect-signal.c: New file.
1636 * gdb.threads/reconnect-signal.exp: New file.
1638 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1640 * gdb.base/source-dir.exp: New file.
1642 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1644 * gdb.ada/mi_interface: New testcase.
1646 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1648 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1649 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1650 gdb.ada/pp-rec-component/pck.ads: New files.
1652 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1654 * gdb.python/py-pp-integral.c: New file.
1655 * gdb.python/py-pp-integral.py: New file.
1656 * gdb.python/py-pp-integral.exp: New file.
1658 For older changes see ChangeLog-1993-2013.
1664 ;; version-control: never
1667 Copyright 2014 Free Software Foundation, Inc.
1668 Copying and distribution of this file, with or without modification,
1669 are permitted provided the copyright notice and this notice are preserved.