1 2014-06-16 Pedro Alves <palves@redhat.com>
3 * gdb.base/break-main-file-remove-fail.c: New file.
4 * gdb.base/break-main-file-remove-fail.exp: New file.
5 * gdb.base/break-unload-file.exp: Use build_executable instead of
7 (test_break): New parameter "initial_load". Handle it.
8 (top level): Add initial_load cmdline/file axis.
10 2014-06-12 Tom Tromey <tromey@redhat.com>
12 * gdb.base/completion.exp: Don't use directory name in test.
14 2014-06-09 Gary Benson <gbenson@redhat.com>
16 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17 separate the always-available ANSI-standard signals from the
18 signals that require checking.
20 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
24 2014-06-07 Keith Seitz <keiths@redhat.com>
28 * gdb.cp/var-tag.cc: New file.
29 * gdb.cp/var-tag.exp: New file.
30 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
31 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
32 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
33 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
35 2014-06-06 Doug Evans <xdje42@gmail.com>
37 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
39 2014-06-06 Pedro Alves <palves@redhat.com>
41 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
42 in target debug output instead of looking at RSP packets,
43 disabling the test on any target that uses hardware stepping.
46 2014-06-06 Pedro Alves <palves@redhat.com>
48 * gdb.base/break-unload-file.exp: Fix typo.
50 2014-06-06 Yao Qi <yao@codesourcery.com>
52 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
53 from "jit_function" to "^jit_function".
55 2014-06-06 Yao Qi <yao@codesourcery.com>
57 * gdb.base/async.c (foo): Add one statement.
58 * gdb.base/async.exp: Get the next instruction address and
59 match the output of "nexti" by instruction address. Match
60 the hex address in the output of "finish".
62 2014-06-06 Gary Benson <gbenson@redhat.com>
64 * gdb.base/call-signals.c: Remove preprocessor conditionals
65 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
67 * gdb.base/sigall.c: Likewise.
68 * gdb.base/unwindonsignal.c: Likewise.
69 * gdb.reverse/sigall-reverse.c: Likewise.
71 2014-06-06 Yao Qi <yao@codesourcery.com>
73 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
74 readable, skip the test.
76 2014-06-06 Yao Qi <yao@codesourcery.com>
78 * gdb.threads/staticthreads.c (thread_function): Move the line
79 setting breakpoint on forward.
80 * gdb.threads/staticthreads.exp: Update comments.
82 2014-06-05 Ludovic Courtès <ludo@gnu.org>
84 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
85 "history-append! type error".
87 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
89 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
90 erroneous dprintf expected input.
92 2014-06-04 Doug Evans <xdje42@gmail.com>
94 * gdb.guile/scm-generics.exp: Delete.
96 2014-06-04 Doug Evans <xdje42@gmail.com>
98 * gdb.guile/scm-breakpoint.exp: Update.
99 Add tests for breakpoint registration.
101 2014-06-04 Tom Tromey <tromey@redhat.com>
103 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
105 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
106 inner_vla_struct, vla_union types. Initialize objects of those
107 types and compute their sizes.
109 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
110 Hui Zhu <hui@codesourcery.com>
112 * gdb.base/fileio.exp: Add test for shell not available as well as
114 * gdb.base/fileio.c (test_system): Check for shell twice.
116 2014-06-04 Yao Qi <yao@codesourcery.com>
118 * gdb.base/auto-connect-native-target.exp: Remove redundant
119 space from the regexp pattern.
121 2014-06-04 Yao Qi <yao@codesourcery.com>
123 * gdb.base/default.exp: Replace "child" with "native" in
126 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
128 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
129 * gdb.python/py-xmethods.exp: New tests to test xmethods.
130 * gdb.python/py-xmethods.py: Python script supporting the
131 new testcase and tests.
133 2014-06-03 Joel Brobecker <brobecker@adacore.com>
134 Pedro Alves <palves@redhat.com>
137 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
138 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
140 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
142 * gdb.base/subst.exp: Add tests to verify partial path matching
145 2014-06-03 Pedro Alves <palves@redhat.com>
147 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
148 target that doesn't use software single-stepping.
150 2014-06-03 Pedro Alves <palves@redhat.com>
153 * gdb.base/sss-bp-on-user-bp-2.c: New file.
154 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
156 2014-06-02 Doug Evans <xdje42@gmail.com>
158 * gdb.guile/scm-parameter.exp: New file.
160 2014-06-02 Doug Evans <xdje42@gmail.com>
162 * gdb.guile/scm-cmd.c: New file.
163 * gdb.guile/scm-cmd.exp: New file.
165 2014-06-02 Doug Evans <xdje42@gmail.com>
167 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
168 pretty-printer lookup.
169 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
170 (make-pp_s-printer): Call it.
171 (make-pretty-printer-from-dict): New function.
172 (lookup-pretty-printer-maker-from-dict): New function.
173 (*pretty-printer*): Simplify.
174 (make-objfile-pp_s-printer): New function.
175 (install-objfile-pretty-printers!): New function.
176 (make-progspace-pp_s-printer): New function.
177 (install-progspace-pretty-printers!): New function.
178 * gdb.guile/scm-progspace.c: New file.
179 * gdb.guile/scm-progspace.exp: New file.
181 2014-06-02 Pedro Alves <palves@redhat.com>
183 * gdb.base/dprintf-bp-same-addr.c: New file.
184 * gdb.base/dprintf-bp-same-addr.exp: New file.
186 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
188 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
189 * gdb.arch/powerpc-power.s: Likewise.
191 2014-06-02 Joel Brobecker <brobecker@adacore.com>
193 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
195 2014-06-01 Yao Qi <yao@codesourcery.com>
197 * gdb.base/watchpoint.exp (test_watch_location): Check null
198 pointer can be dereferenced. If not, do the test, otherwise
201 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
203 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
205 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
207 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
209 * gdb.arch/amd64-invalid-stack-middle.S: New file.
210 * gdb.arch/amd64-invalid-stack-middle.c: New file.
211 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
212 * gdb.arch/amd64-invalid-stack-top.c: New file.
213 * gdb.arch/amd64-invalid-stack-top.exp: New file.
215 2014-05-30 Pedro Alves <palves@redhat.com>
218 * gdb.base/sss-bp-on-user-bp.c: New file.
219 * gdb.base/sss-bp-on-user-bp.exp: New file.
221 2014-05-30 David Blaikie <dblaikie@gmail.com>
223 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
224 gnu_inline semantics via attribute.
225 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
226 source explicitly specifies the required semantics.
228 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
230 * gdb.reverse/sigall-reverse.exp: Fix a typo.
232 2014-05-29 Pedro Alves <palves@redhat.com>
233 Tom Tromey <tromey@redhat.com>
235 * gdb.base/async-shell.exp: Don't enable target-async.
237 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
239 (top level): Don't test with "target-async".
240 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
241 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
242 * gdb.base/inferior-died.exp: Don't enable target-async.
243 * gdb.base/interrupt-noterm.exp: Likewise.
244 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
245 * gdb.mi/mi-nonstop-exit.exp: Likewise.
246 * gdb.mi/mi-nonstop.exp: Likewise.
247 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
248 * gdb.mi/mi-nsintrall.exp: Likewise.
249 * gdb.mi/mi-nsmoribund.exp: Likewise.
250 * gdb.mi/mi-nsthrexec.exp: Likewise.
251 * gdb.mi/mi-watch-nonstop.exp: Likewise.
252 * gdb.multi/watchpoint-multi.exp: Adjust comment.
253 * gdb.python/py-evsignal.exp: Don't enable target-async.
254 * gdb.python/py-evthreads.exp: Likewise.
255 * gdb.python/py-prompt.exp: Likewise.
256 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
257 * gdb.server/solib-list.exp: Don't enable target-async.
258 * gdb.threads/thread-specific-bp.exp: Likewise.
259 * lib/mi-support.exp: Adjust to use mi-async.
261 2014-05-29 Pedro Alves <palves@redhat.com>
264 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
265 reason, even in sync mode.
267 2014-05-29 Pedro Alves <palves@redhat.com>
268 Hui Zhu <hui@codesourcery.com>
271 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
272 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
273 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
274 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
276 2014-05-28 Joel Brobecker <brobecker@adacore.com>
278 * config/monitor.exp (gdb_target_monitor): Replace use of
279 "set remotebaud" by "set serial baud".
281 2014-05-26 Andy Wingo <wingo@igalia.com>
283 * gdb.guile/scm-breakpoint.exp:
284 * gdb.guile/scm-gsmob.exp: Update to use plain old object
285 properties instead of gdb-object-properties.
287 2014-05-26 Yao Qi <yao@codesourcery.com>
289 * gdb.server/no-thread-db.exp: Specify source file name
290 explicitly when setting a breakpoint.
292 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
294 * gdb.btrace/vdso.c: New.
295 * gdb.btrace/vdso.exp: New.
297 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
299 * gdb.base/gcore.exp (capture_command_output): Move ...
300 * lib/gdb.exp (capture_command_output): ... here.
302 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
304 * gdb.btrace/data.exp: Test memory access during btrace replay.
306 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
308 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
310 2014-05-21 Pedro Alves <palves@redhat.com>
313 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
314 (top level): Test that output related to execution commands is
315 sent to the console with CLI commands, but not with MI commands.
316 Test that breakpoint events are always mirrored to the console.
317 Also expect the new source line to be output after a "next" in
318 async mode too. Make it a pass/fail test.
319 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
321 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
323 2014-05-21 Pedro Alves <palves@redhat.com>
325 * gdb.base/list.exp (build_pattern, test_list): New procedures.
326 Use them to test variations of "list" after reaching a breakpoint.
327 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
328 Test "list" with listsize 10 after reaching a breakpoint.
329 * gdb.python/python.exp (decode_line current location line
330 number): Adjust expected line number.
332 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
334 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
335 behavior for $args, pass it directly to "run".
337 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
339 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
342 2014-05-21 Pedro Alves <palves@redhat.com>
344 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
345 auto-connect-native-target off".
346 * gdb.base/auto-connect-native-target.c: New file.
347 * gdb.base/auto-connect-native-target.exp: New file.
349 2014-05-21 Pedro Alves <palves@redhat.com>
351 * gdb.base/default.exp: Test "target native" instead of "target
354 2014-05-21 Mark Wielaard <mjw@redhat.com>
356 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
358 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
360 Fix TLS access for -static -pthread.
361 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
362 <HAVE_TLS> (thread_function, main): Initialize it.
363 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
365 <$have_tls != "">: Check TLSVAR.
367 2014-05-21 Pedro Alves <palves@redhat.com>
369 * gdb.base/dcache-line-read-error.c: New.
370 * gdb.base/dcache-line-read-error.exp: New.
372 2014-05-20 Pedro Alves <palves@redhat.com>
374 * gdb.base/compare-sections.c: New file.
375 * gdb.base/compare-sections.exp: New file.
377 2014-05-20 Pedro Alves <palves@redhat.com>
379 * gdb.base/break-idempotent.c: New file.
380 * gdb.base/break-idempotent.exp: New file.
382 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
384 * gdb.btrace/nohist.exp: New.
386 2014-05-20 Yao Qi <yao@codesourcery.com>
388 * lib/gdb.exp (gdb_init): Set timeout if test file is under
389 gdb.reverse directory and gdb_reverse_timeout exists in board
391 * README: Document gdb_reverse_timeout.
393 2014-05-20 Yao Qi <yao@codesourcery.com>
395 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
396 'test_file_name'. Treat args as a string instead of a list.
397 (gdb_init): Rename argument 'args' by 'test_file_name'.
399 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
401 * gdb.arch/powerpc-power.exp: New file.
402 * gdb.arch/powerpc-power.s: New file.
404 2014-05-16 Doug Evans <dje@google.com>
406 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
407 * gdb.base/completion.exp: Check that all expected files exist
408 before doing file completion.
410 2014-05-16 Doug Evans <dje@google.com>
412 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
414 (do_syscall_tests_without_xml): Update.
416 2014-05-16 Pedro Alves <palves@redhat.com>
418 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
419 instead of "unknown output after running".
421 2014-05-16 Yao Qi <yao@codesourcery.com>
423 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
424 file1.txt from host at the end.
425 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
427 2014-05-15 Doug Evans <dje@google.com>
429 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
430 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
431 loading file. Add test for TU lookup.
433 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
435 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
436 calling "-exec-arguments" or "set args" before running the
439 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
441 * lib/mi-support.exp (mi_expect_stop): Expect message for
442 inferiors that exit with non-zero exit code.
444 2014-05-14 Yao Qi <yao@codesourcery.com>
446 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
447 match absolute path on remote host.
448 (test_file_list_exec_source_files): Remove "/" from the
451 2014-05-14 Yao Qi <yao@codesourcery.com>
453 * boards/local-remote-host-notty.exp (${board}_file): New
456 2014-05-07 Kyle McMartin <kyle@redhat.com>
458 Pushed by Joel Brobecker <brobecker@adacore.com>.
459 * gdb.arch/aarch64-atomic-inst.c: New file.
460 * gdb.arch/aarch64-atomic-inst.exp: New file.
462 2014-05-07 Yao Qi <yao@codesourcery.com>
464 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
465 in current context" too.
467 2014-05-05 Keith Seitz <keiths@redhat.com>
469 * gdb.linespec/ls-dollar.exp: Add test for linespec
470 file:convenience_variable.
472 2014-05-05 Yao Qi <yao@codesourcery.com>
474 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
475 traceframes into tfile and ctf trace files. Read data from
476 trace file and test collected data.
477 (gdb_collect_locals_test): Likewise.
478 (gdb_unavailable_registers_test): Likewise.
479 (gdb_unavailable_floats): Likewise.
480 (gdb_collect_globals_test): Likewise.
481 (top-level): Append "ctf" to trace_file_targets if GDB
484 2014-05-05 Yao Qi <yao@codesourcery.com>
486 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
488 (gdb_collect_args_test_1): ... it. New proc.
489 (gdb_collect_locals_test): Move some code to ...
490 (gdb_collect_locals_test_1): ... it. New proc.
491 (gdb_unavailable_registers_test): Move some code to ...
492 (gdb_unavailable_registers_test_1): ... it. New proc.
493 (gdb_unavailable_floats): Move some code to ...
494 (gdb_unavailable_floats_1): ... it. New proc.
496 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
498 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
499 probes to test for bitness recognition.
500 * gdb.arch/amd64-stap-optional-prefix.exp
501 (test_probe_value_without_reg): New procedure.
502 Add code to test for different kinds of bitness.
504 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
507 * gdb.arch/amd64-stap-optional-prefix.S: New file.
508 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
510 2014-05-01 Pedro Alves <palves@redhat.com>
512 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
513 gdb_file_cmd if no file is specified.
514 * boards/native-extended-gdbserver.exp (gdb_load): Use the
515 last_loaded_file to set the remote exec-file.
517 2014-05-01 Pedro Alves <palves@redhat.com>
519 * boards/local-remote-host.exp: New file.
521 2014-05-01 Pedro Alves <palves@redhat.com>
523 * boards/local-remote-host.exp: Rename to ...
524 * boards/local-remote-host-notty.exp: ... this.
526 2014-04-28 Joel Brobecker <brobecker@adacore.com>
528 * gdb.ada/dyn_arrayidx: New testcase.
530 2014-04-26 Yao Qi <yao@codesourcery.com>
532 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
533 and compute the length of function main. Save it in
535 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
536 (top-level): Use gdb_compile to compile objects into
537 executable and restart GDB. Remove invocation to
540 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
541 Pedro Alves <palves@redhat.com>
544 * gdb.multi/multi-attach.c: New file.
545 * gdb.multi/multi-attach.exp: New file.
547 2014-04-25 Pedro Alves <palves@redhat.com>
549 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
551 (top level): Test that "set remote conditional-breakpoints-packet
552 off" works as intended.
553 * gdb.base/dprintf.exp: Test that "set remote
554 breakpoint-commands-packet off" works as intended.
555 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
557 (top level): Call it.
558 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
559 remote fast-tracepoints-packet off" works as intended.
560 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
561 * lib/gdb.exp (gdb_is_target_remote): ... here.
563 2014-04-24 David Blaikie <dblaikie@gmail.com>
565 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
566 ensure clang would not discard them.
567 * gdb.base/gdbvars.c: Ditto.
568 * gdb.base/memattr.c: Ditto.
569 * gdb.base/whatis.c: Ditto.
570 * gdb.python/py-prettyprint.c: Ditto.
571 * gdb.trace/actions.c: Ditto.
572 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
573 ensure clang would not discard it.
575 2014-04-24 David Blaikie <dblaikie@gmail.com>
577 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
578 clang to emit the full definition of type required by the test
579 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
581 2014-04-24 David Blaikie <dblaikie@gmail.com>
583 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
584 coax Clang into emitting the definition of the type.
585 * gdb.cp/pr10728-x.h (y): Ditto.
586 * gdb.cp/pr10728-y.cc (y): Ditto.
588 2014-04-24 David Blaikie <dblaikie@gmail.com>
590 * gdb.base/label.exp: XFAIL label related tests under Clang.
591 * gdb.cp/cplabel.exp: Ditto.
592 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
593 under Clang those using labels.
595 2014-04-25 Yao Qi <yao@codesourcery.com>
597 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
599 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
600 partial_label and double_label.
602 2014-04-24 David Blaikie <dblaikie@gmail.com>
604 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
606 2014-04-24 David Blaikie <dblaikie@gmail.com>
608 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
609 of the function to work across GCC and Clang.
610 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
611 pointer types (const void ** const V void **).
613 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
614 Walfred Tedeschi <walfred.tedeschi@intel.com>
616 * Makefile.in (EXECUTABLES): Added i386-avx512.
617 * gdb.arch/i386-avx512.c: New file.
618 * gdb.arch/i386-avx512.exp: Likewise.
620 2014-04-23 Keith Seitz <keiths@redhat.com>
622 * lib/mi-support.exp (mi_list_breakpoints): Delete.
623 (mi_make_breakpoint_table): New procedure.
624 (mi_create_breakpoint): Use mi_make_breakpoint
625 and return the result.
626 (mi_make_breakpoint): New procedure.
627 (mi_build_kv_pairs): New procedure.
629 * gdb.mi/mi-break.exp: Remove unused globals,
630 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
632 * gdb.mi/mi-dprintf.exp: Use variable to track command
634 Update all callers of mi_create_breakpoint and use
635 mi_make_breakpoint_table.
636 Remove any unused global variables.
637 * gdb.mi/mi-nonstop.exp: Likewise.
638 * gdb.mi/mi-nsintrall.exp: Likewise.
639 * gdb.mi/mi-nsmoribund.exp: Likewise.
640 * gdb.mi/mi-nsthrexec.exp: Likewise.
641 * gdb.mi/mi-reverse.exp: Likewise.
642 * gdb.mi/mi-simplerun.exp: Likewise.
643 * gdb.mi/mi-stepn.exp: Likewise.
644 * gdb.mi/mi-syn-frame.exp: Likewise.
645 * gdb.mi/mi-until.exp: Likewise.
646 * gdb.mi/mi-var-cp.exp: Likewise.
647 * gdb.mi/mi-var-display.exp: Likewise.
648 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
649 * gdb.mi/mi2-var-child.exp: Likewise.
650 * gdb.mi/mi-vla-c99.exp: Likewise.
651 * lib/mi-support.exp: Likewise.
653 From Ian Lance Taylor <iant@cygnus.com>:
654 * lib/gdb.exp (parse_args): New procedure.
656 2014-04-23 Pedro Alves <palves@redhat.com>
658 * gdb.base/break-unload-file.c: New file.
659 * gdb.base/break-unload-file.exp: New file.
660 * gdb.base/sym-file-lib.c (baz): New function.
661 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
663 (load): Store the segment's mapped size.
664 (unload): New function.
665 (unload_shlib): New function.
666 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
667 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
668 set a breakpoint at baz, and call it.
669 * gdb.base/sym-file.exp: New tests for stale breakpoint
672 2014-04-23 Pedro Alves <palves@redhat.com>
674 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
675 * gdb.base/hbreak-in-shr-unsupported.c: New file.
676 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
677 * gdb.base/hbreak-unmapped.c: New file.
678 * gdb.base/hbreak-unmapped.exp: New file.
679 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
680 * lib/gdb.exp (gdb_is_target_remote): ... here.
682 2014-04-22 Pedro Alves <palves@redhat.com>
684 * gdb.base/consecutive-step-over.c: New file.
685 * gdb.base/consecutive-step-over.exp: New file.
687 2014-04-22 Pedro Alves <palves@redhat.com>
689 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
690 instead of send_gdb/gdb_expect.
692 2014-04-22 Yao Qi <yao@codesourcery.com>
694 * lib/trace-support.exp (generate_tracefile): New procedure.
695 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
697 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
698 if generate_tracefile returns 1.
700 2014-04-18 Tom Tromey <palves@redhat.com>
701 Pedro alves <tromey@redhat.com>
704 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
705 with a backtrace limit.
706 * gdb.python/py-frame-inline.exp: Test running to an inline
707 function with a backtrace limit, and printing the newest frame.
708 * gdb.python/py-frame-inline.c (main): Call f.
710 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
712 * gdb.java/jnpe.exp: Drop srcdir from untested path.
714 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
716 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
717 Drop prefix from unsupported source file path.
719 2014-04-17 Yao Qi <yao@codesourcery.com>
721 * lib/gdb.exp (with_target_charset): New proc.
722 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
724 (test_print_strings): Likewise.
725 (test_repeat_bytes): Likewise.
726 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
729 2014-04-16 Keith Seitz <keiths@redhat.com>
732 * gdb.dwarf2/corrupt.c: New file.
733 * gdb.dwarf2/corrupt.exp: New file.
735 2014-04-16 Keith Seitz <keiths@redhat.com>
738 * gdb.cp/namelessclass.cc: New file.
739 * gdb.cp/namelessclass.exp: New file.
740 * gdb.cp/namelessclass.S: New file.
742 2014-04-16 Doug Evans <dje@google.com>
744 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
746 (gdbserver_default_get_comm_port): New function.
747 (gdbserver_start): Check if board file provided
748 "gdbserver,get_comm_port" and use it if so.
749 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
750 (gdb,socketport): Set to "stdio".
751 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
752 (stdio_gdbserver_template): Delete.
753 (${board}_get_remote_address): Update.
754 (${board}_build_remote_cmd): Delete.
755 (${board}_get_comm_port): New function.
756 (${board}_spawn): Update.
757 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
759 (${board}_get_remote_address): Update.
760 (${board}_get_comm_port): New function.
762 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
764 * gdb.base/memattr.exp: Improve regexps to handle memory regions
765 appearing in any order.
767 2014-04-15 Doug Evans <dje@google.com>
769 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
770 uninitialized value of "description".
772 2014-04-15 Keith Seitz <keiths@redhat.com>
774 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
775 Remove unused globals.
776 (test_running_the_program): Likewise.
777 (test_controlled_execution): Likewise.
778 (test_controlling_breakpoints): Likewise.
779 (test_program_termination): Likewise.
781 2014-04-15 Keith Seitz <keiths@redhat.com>
783 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
785 (test_rbreak_creation_and_listing): Likewise.
786 (test_ignore_count): Likewise.
787 (test_error): Likewise.
789 2014-04-15 Pedro Alves <palves@redhat.com>
791 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
792 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
794 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
795 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
796 to sym-file-loader.c.
797 (struct library): Forward declare.
798 (load_shlib, lookup_function): Change prototypes.
799 (find_shstrtab, find_strtab, find_shdr, find_symtab)
800 (translate_offset): Remove declarations.
801 (get_text_addr): New declaration.
802 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
803 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
805 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
806 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
807 here from sym-file-loader.h.
808 (struct library): New structure.
809 (load_shlib, lookup_function): Change prototypes and adjust to
810 work with a struct library.
811 (find_shstrtab, find_strtab, find_shdr, find_symtab)
812 (translate_offset): Make static.
813 (get_text_addr): New function.
814 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
816 2014-04-15 Pedro Alves <palves@redhat.com>
818 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
820 2014-04-15 Pedro Alves <palves@redhat.com>
822 * gdb.base/sym-file-loader.c: Include <limits.h>.
823 (SELF_LINK): New define.
824 (get_origin): New function.
825 (load_shlib): Use it.
826 * gdb.base/sym-file.exp: Don't early return if the target is
827 remote. Use runto_main, and issue fail is that fails. Use
829 (shlib_name): Delete.
830 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
832 2014-04-15 Pedro Alves <palves@redhat.com>
834 * gdb.base/sym-file.exp: Remove regex characters from test
835 message. Don't refer to breakpoint numbers in test messages.
837 2014-04-14 Keith Seitz <keiths@redhat.com>
840 * gdb.cp/var-tag.cc: New file.
841 * gdb.cp/var-tag.exp: New file.
842 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
843 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
844 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
845 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
847 2014-04-14 Tom Tromey <tromey@redhat.com>
849 * gdb.cp/classes.exp (test_enums): Handle underlying type.
850 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
852 * gdb.cp/enum-class.exp: New file.
853 * gdb.cp/enum-class.cc: New file.
855 2014-04-14 Tom Tromey <tromey@redhat.com>
857 * gdb.dwarf2/enum-type.exp: New file.
859 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
861 * gdb.mi/mi-vla-c99.exp: New file.
862 * gdb.mi/vla.c: New file.
864 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
866 * gdb.base/vla-datatypes.c: New file.
867 * gdb.base/vla-datatypes.exp: New file.
869 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
871 * gdb.base/vla-ptr.c: New file.
872 * gdb.base/vla-ptr.exp: New file.
874 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
876 * gdb.dwarf2/count.exp: New file.
878 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
880 * gdb.base/vla-sideeffect.c: New file.
881 * gdb.base/vla-sideeffect.exp: New file.
883 2014-04-14 David Blaikie <dblaikie@gmail.com>
885 * gdb.mi/non-stop.c: Add return value for non-void function return
887 * gdb.threads/staticthreads.c: Ditto.
889 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
890 Doug Evans <xdje42@gmail.com>
892 * gdb.guile/scm-value.c: Improve test case.
893 * gdb.guile/scm-value.exp: Add new test.
895 2014-04-11 David Blaikie <dblaikie@gmail.com>
897 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
898 override Clang's default.
900 2014-04-11 Joel Brobecker <brobecker@adacore.com>
902 Revert the following changes (regressions):
904 * gdb.base/vla-sideeffect.c: New file.
905 * gdb.base/vla-sideeffect.exp: New file.
907 * gdb.dwarf2/count.exp: New file.
909 * gdb.base/vla-multi.c: New file.
910 * gdb.base/vla-multi.exp: New file.
912 * gdb.base/vla-ptr.c: New file.
913 * gdb.base/vla-ptr.exp: New file.
915 * gdb.base/vla-datatypes.c: New file.
916 * gdb.base/vla-datatypes.exp: New file.
918 * gdb.mi/mi-vla-c99.exp: New file.
919 * gdb.mi/vla.c: New file.
921 2014-04-11 Keith Seitz <keiths@redhat.com>
924 * gdb.cp/cpsizeof.exp: New file.
925 * gdb.cp/cpsizeof.cc: New file.
927 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
929 * gdb.mi/mi-vla-c99.exp: New file.
930 * gdb.mi/vla.c: New file.
932 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
934 * gdb.base/vla-datatypes.c: New file.
935 * gdb.base/vla-datatypes.exp: New file.
937 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
939 * gdb.base/vla-ptr.c: New file.
940 * gdb.base/vla-ptr.exp: New file.
942 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
944 * gdb.base/vla-multi.c: New file.
945 * gdb.base/vla-multi.exp: New file.
947 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
949 * gdb.dwarf2/count.exp: New file.
951 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
953 * gdb.base/vla-sideeffect.c: New file.
954 * gdb.base/vla-sideeffect.exp: New file.
956 2014-04-11 Yao Qi <yao@codesourcery.com>
958 * gdb.base/completion.exp: Check file exists before running tests
961 2014-04-10 Pedro Alves <palves@redhat.com>
963 * gdb.base/cond-eval-mode.c: New file.
964 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
965 prepare_for_testing to build the new file. Check result of
967 (test_break, test_watch): New procedures.
968 (top level): Use them.
970 2014-04-08 Pierre Muller <muller@sourceware.org>
972 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
973 Ctrl-V use for mingw hosts.
975 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
977 * gdb.python/py-value.c: Improve test case.
978 * gdb.python/py-value.exp: Add new test.
980 2014-04-07 David Blaikie <dblaikie@gmail.com>
982 * lib/compiler.c: Identify the clang compiler.
983 * lib/compiler.cc: Ditto.
985 2014-04-03 Yao Qi <yao@codesourcery.com>
987 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
989 2014-04-01 Anton Blanchard <anton@samba.org>
991 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
994 2014-04-01 Anton Blanchard <anton@samba.org>
996 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
999 2014-04-01 Anton Blanchard <anton@samba.org>
1001 * gdb.arch/ppc64-atomic-inst.c: Remove.
1002 * gdb.arch/ppc64-atomic-inst.S: New file.
1003 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1005 2014-03-31 Doug Evans <dje@google.com>
1007 * gdb.base/print-symbol-loading-lib.c: New file.
1008 * gdb.base/print-symbol-loading-main.c: New file.
1009 * gdb.base/print-symbol-loading.exp: New file.
1011 2014-03-31 Yao Qi <yao@codesourcery.com>
1013 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1015 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1017 * gdb.ada/mi_dyn_arr: New testcase.
1019 2014-03-27 Doug Evans <dje@google.com>
1021 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1023 2014-03-27 Yao Qi <yao@codesourcery.com>
1025 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1026 if target is nios2-*-*.
1028 2014-03-26 Yao Qi <yao@codesourcery.com>
1030 * lib/gdb.exp (readline_is_used): New proc.
1031 * gdb.base/completion.exp: Move tests on command complete up.
1032 Skip the rest of tests if readline is not used.
1033 * gdb.ada/complete.exp: Skp the test if readline is not
1035 * gdb.base/filesym.exp: Likewise.
1036 * gdb.base/macscp.exp: Likewise.
1037 * gdb.base/readline-ask.exp: Likewise.
1038 * gdb.base/readline.exp: Likewise.
1039 * gdb.python/py-cmd.exp: Likewise.
1040 * gdb.trace/tfile.exp: Likewise.
1042 2014-03-26 Yao Qi <yao@codesourcery.com>
1044 * gdb.base/macscp.exp: Fix code format issues.
1046 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1048 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1049 * gdb.asm/powerpc64le.inc: New file.
1051 2014-03-25 Pedro Alves <palves@redhat.com>
1052 Doug Evans <dje@google.com>
1054 * gdb.base/source-execution.c: New file.
1055 * gdb.base/source-execution.exp: New file.
1056 * gdb.base/source-execution.gdb: New file.
1058 2014-03-24 Doug Evans <dje@google.com>
1060 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1063 2014-03-24 Hui Zhu <hui@codesourcery.com>
1064 Pedro Alves <palves@redhat.com>
1066 PR breakpoints/16101
1067 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1068 test pass/fail messages. Detect missing support for dprintf when
1069 breakpoints are actually inserted.
1070 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1071 breakpoints are actually inserted.
1072 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1075 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1077 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1079 2014-03-22 Doug Evans <xdje42@gmail.com>
1081 * gdb.python/python.exp (python not supported): Verify multi-line
1082 python command issues an error.
1083 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1084 guile command issues an error.
1086 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1088 * gdb.threads/thread-specific.exp: Handle the lack of usable
1089 $this_breakpoint and $this_thread.
1091 2014-03-21 Hui Zhu <hui@codesourcery.com>
1093 * gdb.base/attach.exp (do_command_attach_tests): New.
1095 2014-03-20 Tom Tromey <tromey@redhat.com>
1096 Pedro Alves <palves@redhat.com>
1099 * gdb.base/condbreak-call-false.c: New file.
1100 * gdb.base/condbreak-call-false.exp: New file.
1102 2014-03-20 Pedro Alves <palves@redhat.com>
1104 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1106 (block_signals, unblock_signals): Delete.
1107 (child_function_2, main): Remove references to deleted variable
1110 2014-03-20 Pedro Alves <palves@redhat.com>
1112 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1113 Use pthread_kill to signal thread 2.
1114 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1115 Adjust to make the test send itself a signal rather than using the
1116 host's "kill" command.
1118 2014-03-20 Pedro Alves <palves@redhat.com>
1120 * gdb.threads/multiple-step-overs.c: New file.
1121 * gdb.threads/multiple-step-overs.exp: New file.
1122 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1123 Adjust expected infrun debug output.
1125 2014-03-20 Pedro Alves <palves@redhat.com>
1127 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1128 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1130 2014-03-20 Pedro Alves <palves@redhat.com>
1133 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1134 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1135 of gdb_test_multiple.
1136 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1137 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1139 2014-03-20 Pedro Alves <palves@redhat.com>
1141 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1142 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1144 2014-03-19 Pedro Alves <palves@redhat.com>
1146 * gdb.base/async.exp: Remove early return.
1148 2014-03-19 Pedro Alves <palves@redhat.com>
1150 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1152 2014-03-19 Pedro Alves <palves@redhat.com>
1154 * gdb.base/async.exp (test_background): Expect \r\n after
1155 "completed." in the fail pattern.
1157 2014-03-19 Pedro Alves <palves@redhat.com>
1159 * gdb.base/async.exp (test_background): New procedure.
1160 Use it for all background execution command tests.
1162 2014-03-19 Pedro Alves <palves@redhat.com>
1164 * gdb.base/async.exp: Use prepare_for_testing.
1166 2014-03-19 Pedro Alves <palves@redhat.com>
1168 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1171 2014-03-19 Pedro Alves <palves@redhat.com>
1173 * gdb.base/async.c (main): Add "jump here" and "until here" line
1175 * gdb.base/async.exp (jump_here): New global.
1176 (jump& test): Use it.
1177 (until_here): New global.
1178 (until& test): Use it.
1180 2014-03-19 Pedro Alves <palves@redhat.com>
1182 * gdb.base/async.exp: Don't frob gdb_protocol.
1184 2014-03-18 Doug Evans <xdje42@gmail.com>
1186 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1187 Fix spelling of exec-done-display.
1189 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1192 * gdb.base/gdb-sigterm.c: New file.
1193 * gdb.base/gdb-sigterm.exp: New file.
1195 2014-03-18 Pedro Alves <palves@redhat.com>
1198 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1199 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1202 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1204 * gdb.ada/pckd_arr_ren: New testcase.
1206 2014-03-13 Doug Evans <xdje42@gmail.com>
1209 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1210 collect after discarding symbols.
1212 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1213 Doug Evans <xdje42@gmail.com>
1215 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1216 to history survives a gc.
1218 2014-03-13 Pedro Alves <palves@redhat.com>
1220 * gdb.base/default.exp: Don't test "target procfs".
1222 2014-03-13 Pedro Alves <palves@redhat.com>
1224 * gdb.base/default.exp: Update "target child" and "target procfs"
1225 tests to not expect "Unix".
1227 2014-03-12 Tom Tromey <tromey@redhat.com>
1229 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1230 New procs. Add target-async tests.
1231 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1232 Add target-async tests.
1234 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1236 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1237 'func_start' and 'func_end' for the beginning and end of the
1238 function code, respectively.
1239 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1240 'func_end' instead of 'func' and 'main'.
1242 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1244 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1245 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1246 generate the debug info assembler source.
1248 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1250 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1251 * gdb.dwarf2/arr-subrange.exp: Likewise.
1252 * gdb.dwarf2/dwz.exp: Likewise.
1253 * gdb.dwarf2/method-ptr.exp: Likewise.
1254 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1255 * gdb.dwarf2/subrange.exp: Likewise.
1256 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1257 * gdb.dwarf2/implptrpiece.exp: Likewise.
1258 * gdb.dwarf2/nostaticblock.exp: Likewise.
1260 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1262 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1263 directory to absolute path name arguments.
1265 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1267 * gdb.ada/tagged_access: New testcase.
1269 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1271 * gdb.btrace/data.exp: Update expected output.
1273 2014-03-06 Yao Qi <yao@codesourcery.com>
1275 * gdb.trace/pr16508.exp: New file.
1277 2014-03-05 Pedro Alves <palves@redhat.com>
1280 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1282 (top level): Adjust to use it. Add tests that exercise breakpoint
1283 interaction with the code-cache.
1285 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1287 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1288 test for 'history-append!'.
1290 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1292 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1293 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1294 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1295 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1296 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1297 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1299 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1301 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1302 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1303 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1305 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1307 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1309 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1311 * gdb.dwarf2/arr-stride.c: New file.
1312 * gdb.dwarf2/arr-stride.exp: New file.
1314 2014-02-26 Pedro Alves <palves@redhat.com>
1316 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1317 that won't ever trigger. Make sure that GDB reports the correct
1318 breakpoint that caused the stop.
1320 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1323 * gdb.base/auto-load-script: New file.
1324 * gdb.base/auto-load.c: New file.
1325 * gdb.base/auto-load.exp: New file.
1328 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1330 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1332 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1333 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1335 2014-02-24 Doug Evans <dje@google.com>
1337 * lib/gdb.exp (run_on_host): Log error output if program fails.
1339 2014-02-21 Pedro Alves <palves@redhat.com>
1341 * gdb.threads/step-after-sr-lock.c: Rename to ...
1342 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1343 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1344 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1347 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1350 * gdb.arch/amd64-stap-special-operands.exp: New file.
1351 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1352 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1353 * gdb.arch/amd64-stap-triplet.S: Likewise.
1354 * gdb.arch/amd64-stap-triplet.c: Likewise.
1356 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1358 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1359 in .section pseudo-op.
1361 2014-02-20 lin zuojian <manjian2006@gmail.com>
1362 Joel Brobecker <brobecker@adacore.com>
1363 Doug Evans <xdje42@gmail.com>
1366 * gdb.dwarf2/dw2-icycle.S: New file.
1367 * gdb.dwarf2/dw2-icycle.c: New file.
1368 * gdb.dwarf2/dw2-icycle.exp: New file.
1370 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1372 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1373 operations on gdb.Value objects.
1374 * gdb.python/py-value-cc.exp: Add new test to test operations on
1377 2014-02-18 Doug Evans <dje@google.com>
1379 * Makefile.in (TESTS): New variable.
1380 (expanded_tests, expanded_tests_or_none): New variables
1381 (check-single): Pass $(expanded_tests_or_none) to runtest.
1382 (check-parallel): Only run tests in $(TESTS) if non-empty.
1383 (check/no-matching-tests-found): New rule.
1384 * README: Document TESTS makefile variable.
1386 2014-02-18 Doug Evans <dje@google.com>
1388 * Makefile.in (check-parallel): rm -rf outputs temp.
1390 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1392 Fix "ERROR: no fileid for" in the testsuite.
1393 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1395 2014-02-12 Doug Evans <dje@google.com>
1397 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1398 (MISCELLANEOUS): New variable.
1399 (clean): rm -rf $(MISCELLANEOUS).
1400 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1401 dwp live in the same directory as symlinks, with each symlink pointed
1402 to a differently named file in a different directory.
1404 2014-02-11 Doug Evans <dje@google.com>
1406 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1407 of Tcl file commands.
1409 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1411 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1414 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1416 * gdb.ada/tick_length_array_enum_idx: New testcase.
1418 2014-02-10 Doug Evans <xdje42@gmail.com>
1420 * configure.ac (AC_OUTPUT): Add gdb.guile.
1421 * configure: Regenerate.
1422 * lib/gdb-guile.exp: New file.
1423 * lib/gdb.exp (get_target_charset): New function.
1424 * gdb.base/help.exp: Update expected output from "apropos apropos".
1425 * gdb.guile/Makefile.in: New file.
1426 * gdb.guile/guile.exp: New file.
1427 * gdb.guile/scm-arch.c: New file.
1428 * gdb.guile/scm-arch.exp: New file.
1429 * gdb.guile/scm-block.c: New file.
1430 * gdb.guile/scm-block.exp: New file.
1431 * gdb.guile/scm-breakpoint.c: New file.
1432 * gdb.guile/scm-breakpoint.exp: New file.
1433 * gdb.guile/scm-disasm.c: New file.
1434 * gdb.guile/scm-disasm.exp: New file.
1435 * gdb.guile/scm-equal.c: New file.
1436 * gdb.guile/scm-equal.exp: New file.
1437 * gdb.guile/scm-error.exp: New file.
1438 * gdb.guile/scm-error.scm: New file.
1439 * gdb.guile/scm-frame-args.c: New file.
1440 * gdb.guile/scm-frame-args.exp: New file.
1441 * gdb.guile/scm-frame-args.scm: New file.
1442 * gdb.guile/scm-frame-inline.c: New file.
1443 * gdb.guile/scm-frame-inline.exp: New file.
1444 * gdb.guile/scm-frame.c: New file.
1445 * gdb.guile/scm-frame.exp: New file.
1446 * gdb.guile/scm-generics.exp: New file.
1447 * gdb.guile/scm-gsmob.exp: New file.
1448 * gdb.guile/scm-iterator.c: New file.
1449 * gdb.guile/scm-iterator.exp: New file.
1450 * gdb.guile/scm-math.c: New file.
1451 * gdb.guile/scm-math.exp: New file.
1452 * gdb.guile/scm-objfile-script-gdb.in: New file.
1453 * gdb.guile/scm-objfile-script.c: New file.
1454 * gdb.guile/scm-objfile-script.exp: New file.
1455 * gdb.guile/scm-objfile.c: New file.
1456 * gdb.guile/scm-objfile.exp: New file.
1457 * gdb.guile/scm-ports.exp: New file.
1458 * gdb.guile/scm-pretty-print.c: New file.
1459 * gdb.guile/scm-pretty-print.exp: New file.
1460 * gdb.guile/scm-pretty-print.scm: New file.
1461 * gdb.guile/scm-section-script.c: New file.
1462 * gdb.guile/scm-section-script.exp: New file.
1463 * gdb.guile/scm-section-script.scm: New file.
1464 * gdb.guile/scm-symbol.c: New file.
1465 * gdb.guile/scm-symbol.exp: New file.
1466 * gdb.guile/scm-symtab-2.c: New file.
1467 * gdb.guile/scm-symtab.c: New file.
1468 * gdb.guile/scm-symtab.exp: New file.
1469 * gdb.guile/scm-type.c: New file.
1470 * gdb.guile/scm-type.exp: New file.
1471 * gdb.guile/scm-value-cc.cc: New file.
1472 * gdb.guile/scm-value-cc.exp: New file.
1473 * gdb.guile/scm-value.c: New file.
1474 * gdb.guile/scm-value.exp: New file.
1475 * gdb.guile/source2.scm: New file.
1476 * gdb.guile/types-module.cc: New file.
1477 * gdb.guile/types-module.exp: New file.
1479 2014-02-10 Yao Qi <yao@codesourcery.com>
1482 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1483 * configure: Regenerated.
1484 * Makefile.in: New file.
1486 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1488 * gdb.python/py-framefilter.exp: Fix typo.
1490 2014-02-08 Yao Qi <yao@codesourcery.com>
1492 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1493 that no =breakpoint-modified is emitted when breakpoints are
1494 modified through MI commands.
1496 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1497 Pedro Alves <palves@redhat.com>
1499 * gdb.threads/step-after-sr-lock.c: New file.
1500 * gdb.threads/step-after-sr-lock.exp: New file.
1502 2014-02-07 Pedro Alves <palves@redhat.com>
1504 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1506 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1508 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1509 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1511 2014-02-06 Doug Evans <xdje42@gmail.com>
1513 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1516 * gdb.gdb/python-interrupts.exp: New file.
1518 2014-02-05 Yao Qi <yao@codesourcery.com>
1520 * gdb.trace/report.exp (use_collected_data): Test the output
1521 of "info threads" and "info inferiors".
1523 2014-02-05 Yao Qi <yao@codesourcery.com>
1527 2013-05-24 Yao Qi <yao@codesourcery.com>
1529 * gdb.trace/tfile.exp: Test inferior and thread.
1531 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1533 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1535 * gdb.base/step-bt.c: Call hello via function pointer to make
1536 sure its first instruction is executed on powerpc64le-linux.
1538 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1540 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1542 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1544 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1545 of the test patterns for use on little-endian systems.
1547 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1549 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1550 (decimal_vector): Fix for little-endian.
1552 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1554 * gdb.arch/sparc-sysstep.exp: New file.
1555 * gdb.arch/sparc-sysstep.c: Likewise.
1557 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1559 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1561 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1563 2014-01-23 Tom Tromey <tromey@redhat.com>
1565 * gdb.ada/array_char_idx: New testcase.
1567 2014-01-23 Tom Tromey <tromey@redhat.com>
1570 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1571 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1574 2014-01-23 Tom Tromey <tromey@redhat.com>
1577 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1578 string from an inferior frame.
1579 * gdb.python/py-framefilter-mi.exp: Update.
1581 2014-01-22 Doug Evans <dje@google.com>
1583 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1585 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1587 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1589 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1591 * gdb.trace/entry-values.exp: Remove excess space character from
1592 regex patterns. Handle s390 call instruction.
1594 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1596 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1597 define "*_start" label. Make "name" static.
1598 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1599 ${name} by references to ${name}_start.
1601 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1603 * gdb.base/info-macros.exp: Remove "debug" from the compile
1606 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1608 * gdb.dlang/demangle.exp: New file.
1610 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1612 * gdb.dlang/primitive-types.exp: New file.
1614 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1616 * configure.ac: Create gdb.dlang/Makefile.
1617 * configure: Regenerate.
1618 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1619 * gdb.dlang/Makefile.in: New file.
1620 * lib/d-support.exp: New file.
1621 * lib/gdb.exp (skip_d_tests): New proc.
1623 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1625 * gdb.btrace/delta.exp: Check reverse stepi.
1626 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1627 * gdb.btrace/finish.exp: New.
1628 * gdb.btrace/next.exp: New.
1629 * gdb.btrace/nexti.exp: New.
1630 * gdb.btrace/record_goto.c: Add comments.
1631 * gdb.btrace/step.exp: New.
1632 * gdb.btrace/stepi.exp: New.
1633 * gdb.btrace/multi-thread-step.c: New.
1634 * gdb.btrace/multi-thread-step.exp: New.
1635 * gdb.btrace/rn-dl-bind.c: New.
1636 * gdb.btrace/rn-dl-bind.exp: New.
1637 * gdb.btrace/data.c: New.
1638 * gdb.btrace/data.exp: New.
1639 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1641 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1643 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1644 * gdb.btrace/exception.exp: Update.
1645 * gdb.btrace/instruction_history.exp: Update.
1646 * gdb.btrace/record_goto.exp: Update.
1647 * gdb.btrace/tailcall.exp: Update.
1648 * gdb.btrace/unknown_functions.exp: Update.
1649 * gdb.btrace/delta.exp: New.
1651 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1653 * gdb.btrace/record_goto.exp: Add backtrace test.
1654 * gdb.btrace/tailcall.exp: Add backtrace test.
1656 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1658 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1659 * gdb.btrace/record_goto.c: New.
1660 * gdb.btrace/record_goto.exp: New.
1661 * gdb.btrace/x86-record_goto.S: New.
1663 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1665 * gdb.btrace/function_call_history.exp: Update tests.
1666 * gdb.btrace/instruction_history.exp: Update tests.
1668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1670 * gdb.btrace/function_call_history.exp: Fix expected field
1671 order for "record function-call-history".
1672 Add new tests for "record function-call-history /c".
1673 * gdb.btrace/exception.cc: New.
1674 * gdb.btrace/exception.exp: New.
1675 * gdb.btrace/tailcall.exp: New.
1676 * gdb.btrace/x86-tailcall.S: New.
1677 * gdb.btrace/x86-tailcall.c: New.
1678 * gdb.btrace/unknown_functions.c: New.
1679 * gdb.btrace/unknown_functions.exp: New.
1680 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1682 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1684 * gdb.btrace/instruction_history.exp: Update.
1685 * gdb.btrace/function_call_history.exp: Update.
1687 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1689 * gdb.btrace/function_call_history.exp: Fix expected function
1691 * gdb.btrace/instruction_history.exp: Initialize traced.
1692 Remove traced_functions.
1694 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1696 * gdb.btrace/function_call_history.exp: Update
1697 * gdb.btrace/instruction_history.exp: Update.
1699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1701 * gdb.btrace/enable.exp: Update expected text.
1703 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1705 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1708 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1710 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1712 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1714 * lib/gdb.exp (supports_process_record): Return true for
1715 arm*-linux*. (supports_reverse): Likewise.
1717 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1721 * gdb.python/py-type.c: Enhance test case.
1722 * gdb.python/py-value-cc.cc: Likewise
1723 * gdb.python/py-type.exp: Add new tests.
1724 * gdb.python/py-value-cc.exp: Likewise
1726 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1727 Pedro Alves <palves@redhat.com>
1729 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1731 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1732 references to ${name}_start by references to ${name}.
1734 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1736 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1738 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1740 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1742 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1743 Pedro Alves <palves@redhat.com>
1745 * gdb.mi/mi-info-os.exp: Connect to the target with
1748 2014-01-08 Pedro Alves <palves@redhat.com>
1750 * gdb.threads/reconnect-signal.c: New file.
1751 * gdb.threads/reconnect-signal.exp: New file.
1753 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1755 * gdb.base/source-dir.exp: New file.
1757 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1759 * gdb.ada/mi_interface: New testcase.
1761 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1763 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1764 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1765 gdb.ada/pp-rec-component/pck.ads: New files.
1767 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1769 * gdb.python/py-pp-integral.c: New file.
1770 * gdb.python/py-pp-integral.py: New file.
1771 * gdb.python/py-pp-integral.exp: New file.
1773 For older changes see ChangeLog-1993-2013.
1779 ;; version-control: never
1782 Copyright 2014 Free Software Foundation, Inc.
1783 Copying and distribution of this file, with or without modification,
1784 are permitted provided the copyright notice and this notice are preserved.