1 2014-06-16 Keith Seitz <keiths@redhat.com>
4 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
5 the inferior is started.
7 2014-06-16 Pedro Alves <palves@redhat.com>
9 * gdb.base/break-main-file-remove-fail.c: New file.
10 * gdb.base/break-main-file-remove-fail.exp: New file.
11 * gdb.base/break-unload-file.exp: Use build_executable instead of
13 (test_break): New parameter "initial_load". Handle it.
14 (top level): Add initial_load cmdline/file axis.
16 2014-06-12 Tom Tromey <tromey@redhat.com>
18 * gdb.base/completion.exp: Don't use directory name in test.
20 2014-06-09 Gary Benson <gbenson@redhat.com>
22 * gdb.base/sigall.c [Functions to send signals]: Reorder to
23 separate the always-available ANSI-standard signals from the
24 signals that require checking.
26 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
30 2014-06-07 Keith Seitz <keiths@redhat.com>
34 * gdb.cp/var-tag.cc: New file.
35 * gdb.cp/var-tag.exp: New file.
36 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
37 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
38 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
39 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
41 2014-06-06 Doug Evans <xdje42@gmail.com>
43 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
45 2014-06-06 Pedro Alves <palves@redhat.com>
47 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
48 in target debug output instead of looking at RSP packets,
49 disabling the test on any target that uses hardware stepping.
52 2014-06-06 Pedro Alves <palves@redhat.com>
54 * gdb.base/break-unload-file.exp: Fix typo.
56 2014-06-06 Yao Qi <yao@codesourcery.com>
58 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
59 from "jit_function" to "^jit_function".
61 2014-06-06 Yao Qi <yao@codesourcery.com>
63 * gdb.base/async.c (foo): Add one statement.
64 * gdb.base/async.exp: Get the next instruction address and
65 match the output of "nexti" by instruction address. Match
66 the hex address in the output of "finish".
68 2014-06-06 Gary Benson <gbenson@redhat.com>
70 * gdb.base/call-signals.c: Remove preprocessor conditionals
71 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
73 * gdb.base/sigall.c: Likewise.
74 * gdb.base/unwindonsignal.c: Likewise.
75 * gdb.reverse/sigall-reverse.c: Likewise.
77 2014-06-06 Yao Qi <yao@codesourcery.com>
79 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
80 readable, skip the test.
82 2014-06-06 Yao Qi <yao@codesourcery.com>
84 * gdb.threads/staticthreads.c (thread_function): Move the line
85 setting breakpoint on forward.
86 * gdb.threads/staticthreads.exp: Update comments.
88 2014-06-05 Ludovic Courtès <ludo@gnu.org>
90 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
91 "history-append! type error".
93 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
95 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
96 erroneous dprintf expected input.
98 2014-06-04 Doug Evans <xdje42@gmail.com>
100 * gdb.guile/scm-generics.exp: Delete.
102 2014-06-04 Doug Evans <xdje42@gmail.com>
104 * gdb.guile/scm-breakpoint.exp: Update.
105 Add tests for breakpoint registration.
107 2014-06-04 Tom Tromey <tromey@redhat.com>
109 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
111 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
112 inner_vla_struct, vla_union types. Initialize objects of those
113 types and compute their sizes.
115 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
116 Hui Zhu <hui@codesourcery.com>
118 * gdb.base/fileio.exp: Add test for shell not available as well as
120 * gdb.base/fileio.c (test_system): Check for shell twice.
122 2014-06-04 Yao Qi <yao@codesourcery.com>
124 * gdb.base/auto-connect-native-target.exp: Remove redundant
125 space from the regexp pattern.
127 2014-06-04 Yao Qi <yao@codesourcery.com>
129 * gdb.base/default.exp: Replace "child" with "native" in
132 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
134 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
135 * gdb.python/py-xmethods.exp: New tests to test xmethods.
136 * gdb.python/py-xmethods.py: Python script supporting the
137 new testcase and tests.
139 2014-06-03 Joel Brobecker <brobecker@adacore.com>
140 Pedro Alves <palves@redhat.com>
143 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
144 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
146 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
148 * gdb.base/subst.exp: Add tests to verify partial path matching
151 2014-06-03 Pedro Alves <palves@redhat.com>
153 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
154 target that doesn't use software single-stepping.
156 2014-06-03 Pedro Alves <palves@redhat.com>
159 * gdb.base/sss-bp-on-user-bp-2.c: New file.
160 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
162 2014-06-02 Doug Evans <xdje42@gmail.com>
164 * gdb.guile/scm-parameter.exp: New file.
166 2014-06-02 Doug Evans <xdje42@gmail.com>
168 * gdb.guile/scm-cmd.c: New file.
169 * gdb.guile/scm-cmd.exp: New file.
171 2014-06-02 Doug Evans <xdje42@gmail.com>
173 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
174 pretty-printer lookup.
175 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
176 (make-pp_s-printer): Call it.
177 (make-pretty-printer-from-dict): New function.
178 (lookup-pretty-printer-maker-from-dict): New function.
179 (*pretty-printer*): Simplify.
180 (make-objfile-pp_s-printer): New function.
181 (install-objfile-pretty-printers!): New function.
182 (make-progspace-pp_s-printer): New function.
183 (install-progspace-pretty-printers!): New function.
184 * gdb.guile/scm-progspace.c: New file.
185 * gdb.guile/scm-progspace.exp: New file.
187 2014-06-02 Pedro Alves <palves@redhat.com>
189 * gdb.base/dprintf-bp-same-addr.c: New file.
190 * gdb.base/dprintf-bp-same-addr.exp: New file.
192 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
194 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
195 * gdb.arch/powerpc-power.s: Likewise.
197 2014-06-02 Joel Brobecker <brobecker@adacore.com>
199 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
201 2014-06-01 Yao Qi <yao@codesourcery.com>
203 * gdb.base/watchpoint.exp (test_watch_location): Check null
204 pointer can be dereferenced. If not, do the test, otherwise
207 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
209 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
211 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
213 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
215 * gdb.arch/amd64-invalid-stack-middle.S: New file.
216 * gdb.arch/amd64-invalid-stack-middle.c: New file.
217 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
218 * gdb.arch/amd64-invalid-stack-top.c: New file.
219 * gdb.arch/amd64-invalid-stack-top.exp: New file.
221 2014-05-30 Pedro Alves <palves@redhat.com>
224 * gdb.base/sss-bp-on-user-bp.c: New file.
225 * gdb.base/sss-bp-on-user-bp.exp: New file.
227 2014-05-30 David Blaikie <dblaikie@gmail.com>
229 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
230 gnu_inline semantics via attribute.
231 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
232 source explicitly specifies the required semantics.
234 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
236 * gdb.reverse/sigall-reverse.exp: Fix a typo.
238 2014-05-29 Pedro Alves <palves@redhat.com>
239 Tom Tromey <tromey@redhat.com>
241 * gdb.base/async-shell.exp: Don't enable target-async.
243 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
245 (top level): Don't test with "target-async".
246 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
247 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
248 * gdb.base/inferior-died.exp: Don't enable target-async.
249 * gdb.base/interrupt-noterm.exp: Likewise.
250 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
251 * gdb.mi/mi-nonstop-exit.exp: Likewise.
252 * gdb.mi/mi-nonstop.exp: Likewise.
253 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
254 * gdb.mi/mi-nsintrall.exp: Likewise.
255 * gdb.mi/mi-nsmoribund.exp: Likewise.
256 * gdb.mi/mi-nsthrexec.exp: Likewise.
257 * gdb.mi/mi-watch-nonstop.exp: Likewise.
258 * gdb.multi/watchpoint-multi.exp: Adjust comment.
259 * gdb.python/py-evsignal.exp: Don't enable target-async.
260 * gdb.python/py-evthreads.exp: Likewise.
261 * gdb.python/py-prompt.exp: Likewise.
262 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
263 * gdb.server/solib-list.exp: Don't enable target-async.
264 * gdb.threads/thread-specific-bp.exp: Likewise.
265 * lib/mi-support.exp: Adjust to use mi-async.
267 2014-05-29 Pedro Alves <palves@redhat.com>
270 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
271 reason, even in sync mode.
273 2014-05-29 Pedro Alves <palves@redhat.com>
274 Hui Zhu <hui@codesourcery.com>
277 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
278 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
279 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
280 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
282 2014-05-28 Joel Brobecker <brobecker@adacore.com>
284 * config/monitor.exp (gdb_target_monitor): Replace use of
285 "set remotebaud" by "set serial baud".
287 2014-05-26 Andy Wingo <wingo@igalia.com>
289 * gdb.guile/scm-breakpoint.exp:
290 * gdb.guile/scm-gsmob.exp: Update to use plain old object
291 properties instead of gdb-object-properties.
293 2014-05-26 Yao Qi <yao@codesourcery.com>
295 * gdb.server/no-thread-db.exp: Specify source file name
296 explicitly when setting a breakpoint.
298 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
300 * gdb.btrace/vdso.c: New.
301 * gdb.btrace/vdso.exp: New.
303 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
305 * gdb.base/gcore.exp (capture_command_output): Move ...
306 * lib/gdb.exp (capture_command_output): ... here.
308 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
310 * gdb.btrace/data.exp: Test memory access during btrace replay.
312 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
314 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
316 2014-05-21 Pedro Alves <palves@redhat.com>
319 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
320 (top level): Test that output related to execution commands is
321 sent to the console with CLI commands, but not with MI commands.
322 Test that breakpoint events are always mirrored to the console.
323 Also expect the new source line to be output after a "next" in
324 async mode too. Make it a pass/fail test.
325 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
327 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
329 2014-05-21 Pedro Alves <palves@redhat.com>
331 * gdb.base/list.exp (build_pattern, test_list): New procedures.
332 Use them to test variations of "list" after reaching a breakpoint.
333 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
334 Test "list" with listsize 10 after reaching a breakpoint.
335 * gdb.python/python.exp (decode_line current location line
336 number): Adjust expected line number.
338 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
340 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
341 behavior for $args, pass it directly to "run".
343 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
345 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
348 2014-05-21 Pedro Alves <palves@redhat.com>
350 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
351 auto-connect-native-target off".
352 * gdb.base/auto-connect-native-target.c: New file.
353 * gdb.base/auto-connect-native-target.exp: New file.
355 2014-05-21 Pedro Alves <palves@redhat.com>
357 * gdb.base/default.exp: Test "target native" instead of "target
360 2014-05-21 Mark Wielaard <mjw@redhat.com>
362 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
364 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
366 Fix TLS access for -static -pthread.
367 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
368 <HAVE_TLS> (thread_function, main): Initialize it.
369 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
371 <$have_tls != "">: Check TLSVAR.
373 2014-05-21 Pedro Alves <palves@redhat.com>
375 * gdb.base/dcache-line-read-error.c: New.
376 * gdb.base/dcache-line-read-error.exp: New.
378 2014-05-20 Pedro Alves <palves@redhat.com>
380 * gdb.base/compare-sections.c: New file.
381 * gdb.base/compare-sections.exp: New file.
383 2014-05-20 Pedro Alves <palves@redhat.com>
385 * gdb.base/break-idempotent.c: New file.
386 * gdb.base/break-idempotent.exp: New file.
388 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
390 * gdb.btrace/nohist.exp: New.
392 2014-05-20 Yao Qi <yao@codesourcery.com>
394 * lib/gdb.exp (gdb_init): Set timeout if test file is under
395 gdb.reverse directory and gdb_reverse_timeout exists in board
397 * README: Document gdb_reverse_timeout.
399 2014-05-20 Yao Qi <yao@codesourcery.com>
401 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
402 'test_file_name'. Treat args as a string instead of a list.
403 (gdb_init): Rename argument 'args' by 'test_file_name'.
405 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
407 * gdb.arch/powerpc-power.exp: New file.
408 * gdb.arch/powerpc-power.s: New file.
410 2014-05-16 Doug Evans <dje@google.com>
412 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
413 * gdb.base/completion.exp: Check that all expected files exist
414 before doing file completion.
416 2014-05-16 Doug Evans <dje@google.com>
418 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
420 (do_syscall_tests_without_xml): Update.
422 2014-05-16 Pedro Alves <palves@redhat.com>
424 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
425 instead of "unknown output after running".
427 2014-05-16 Yao Qi <yao@codesourcery.com>
429 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
430 file1.txt from host at the end.
431 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
433 2014-05-15 Doug Evans <dje@google.com>
435 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
436 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
437 loading file. Add test for TU lookup.
439 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
441 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
442 calling "-exec-arguments" or "set args" before running the
445 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
447 * lib/mi-support.exp (mi_expect_stop): Expect message for
448 inferiors that exit with non-zero exit code.
450 2014-05-14 Yao Qi <yao@codesourcery.com>
452 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
453 match absolute path on remote host.
454 (test_file_list_exec_source_files): Remove "/" from the
457 2014-05-14 Yao Qi <yao@codesourcery.com>
459 * boards/local-remote-host-notty.exp (${board}_file): New
462 2014-05-07 Kyle McMartin <kyle@redhat.com>
464 Pushed by Joel Brobecker <brobecker@adacore.com>.
465 * gdb.arch/aarch64-atomic-inst.c: New file.
466 * gdb.arch/aarch64-atomic-inst.exp: New file.
468 2014-05-07 Yao Qi <yao@codesourcery.com>
470 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
471 in current context" too.
473 2014-05-05 Keith Seitz <keiths@redhat.com>
475 * gdb.linespec/ls-dollar.exp: Add test for linespec
476 file:convenience_variable.
478 2014-05-05 Yao Qi <yao@codesourcery.com>
480 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
481 traceframes into tfile and ctf trace files. Read data from
482 trace file and test collected data.
483 (gdb_collect_locals_test): Likewise.
484 (gdb_unavailable_registers_test): Likewise.
485 (gdb_unavailable_floats): Likewise.
486 (gdb_collect_globals_test): Likewise.
487 (top-level): Append "ctf" to trace_file_targets if GDB
490 2014-05-05 Yao Qi <yao@codesourcery.com>
492 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
494 (gdb_collect_args_test_1): ... it. New proc.
495 (gdb_collect_locals_test): Move some code to ...
496 (gdb_collect_locals_test_1): ... it. New proc.
497 (gdb_unavailable_registers_test): Move some code to ...
498 (gdb_unavailable_registers_test_1): ... it. New proc.
499 (gdb_unavailable_floats): Move some code to ...
500 (gdb_unavailable_floats_1): ... it. New proc.
502 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
504 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
505 probes to test for bitness recognition.
506 * gdb.arch/amd64-stap-optional-prefix.exp
507 (test_probe_value_without_reg): New procedure.
508 Add code to test for different kinds of bitness.
510 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
513 * gdb.arch/amd64-stap-optional-prefix.S: New file.
514 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
516 2014-05-01 Pedro Alves <palves@redhat.com>
518 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
519 gdb_file_cmd if no file is specified.
520 * boards/native-extended-gdbserver.exp (gdb_load): Use the
521 last_loaded_file to set the remote exec-file.
523 2014-05-01 Pedro Alves <palves@redhat.com>
525 * boards/local-remote-host.exp: New file.
527 2014-05-01 Pedro Alves <palves@redhat.com>
529 * boards/local-remote-host.exp: Rename to ...
530 * boards/local-remote-host-notty.exp: ... this.
532 2014-04-28 Joel Brobecker <brobecker@adacore.com>
534 * gdb.ada/dyn_arrayidx: New testcase.
536 2014-04-26 Yao Qi <yao@codesourcery.com>
538 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
539 and compute the length of function main. Save it in
541 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
542 (top-level): Use gdb_compile to compile objects into
543 executable and restart GDB. Remove invocation to
546 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
547 Pedro Alves <palves@redhat.com>
550 * gdb.multi/multi-attach.c: New file.
551 * gdb.multi/multi-attach.exp: New file.
553 2014-04-25 Pedro Alves <palves@redhat.com>
555 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
557 (top level): Test that "set remote conditional-breakpoints-packet
558 off" works as intended.
559 * gdb.base/dprintf.exp: Test that "set remote
560 breakpoint-commands-packet off" works as intended.
561 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
563 (top level): Call it.
564 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
565 remote fast-tracepoints-packet off" works as intended.
566 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
567 * lib/gdb.exp (gdb_is_target_remote): ... here.
569 2014-04-24 David Blaikie <dblaikie@gmail.com>
571 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
572 ensure clang would not discard them.
573 * gdb.base/gdbvars.c: Ditto.
574 * gdb.base/memattr.c: Ditto.
575 * gdb.base/whatis.c: Ditto.
576 * gdb.python/py-prettyprint.c: Ditto.
577 * gdb.trace/actions.c: Ditto.
578 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
579 ensure clang would not discard it.
581 2014-04-24 David Blaikie <dblaikie@gmail.com>
583 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
584 clang to emit the full definition of type required by the test
585 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
587 2014-04-24 David Blaikie <dblaikie@gmail.com>
589 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
590 coax Clang into emitting the definition of the type.
591 * gdb.cp/pr10728-x.h (y): Ditto.
592 * gdb.cp/pr10728-y.cc (y): Ditto.
594 2014-04-24 David Blaikie <dblaikie@gmail.com>
596 * gdb.base/label.exp: XFAIL label related tests under Clang.
597 * gdb.cp/cplabel.exp: Ditto.
598 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
599 under Clang those using labels.
601 2014-04-25 Yao Qi <yao@codesourcery.com>
603 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
605 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
606 partial_label and double_label.
608 2014-04-24 David Blaikie <dblaikie@gmail.com>
610 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
612 2014-04-24 David Blaikie <dblaikie@gmail.com>
614 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
615 of the function to work across GCC and Clang.
616 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
617 pointer types (const void ** const V void **).
619 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
620 Walfred Tedeschi <walfred.tedeschi@intel.com>
622 * Makefile.in (EXECUTABLES): Added i386-avx512.
623 * gdb.arch/i386-avx512.c: New file.
624 * gdb.arch/i386-avx512.exp: Likewise.
626 2014-04-23 Keith Seitz <keiths@redhat.com>
628 * lib/mi-support.exp (mi_list_breakpoints): Delete.
629 (mi_make_breakpoint_table): New procedure.
630 (mi_create_breakpoint): Use mi_make_breakpoint
631 and return the result.
632 (mi_make_breakpoint): New procedure.
633 (mi_build_kv_pairs): New procedure.
635 * gdb.mi/mi-break.exp: Remove unused globals,
636 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
638 * gdb.mi/mi-dprintf.exp: Use variable to track command
640 Update all callers of mi_create_breakpoint and use
641 mi_make_breakpoint_table.
642 Remove any unused global variables.
643 * gdb.mi/mi-nonstop.exp: Likewise.
644 * gdb.mi/mi-nsintrall.exp: Likewise.
645 * gdb.mi/mi-nsmoribund.exp: Likewise.
646 * gdb.mi/mi-nsthrexec.exp: Likewise.
647 * gdb.mi/mi-reverse.exp: Likewise.
648 * gdb.mi/mi-simplerun.exp: Likewise.
649 * gdb.mi/mi-stepn.exp: Likewise.
650 * gdb.mi/mi-syn-frame.exp: Likewise.
651 * gdb.mi/mi-until.exp: Likewise.
652 * gdb.mi/mi-var-cp.exp: Likewise.
653 * gdb.mi/mi-var-display.exp: Likewise.
654 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
655 * gdb.mi/mi2-var-child.exp: Likewise.
656 * gdb.mi/mi-vla-c99.exp: Likewise.
657 * lib/mi-support.exp: Likewise.
659 From Ian Lance Taylor <iant@cygnus.com>:
660 * lib/gdb.exp (parse_args): New procedure.
662 2014-04-23 Pedro Alves <palves@redhat.com>
664 * gdb.base/break-unload-file.c: New file.
665 * gdb.base/break-unload-file.exp: New file.
666 * gdb.base/sym-file-lib.c (baz): New function.
667 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
669 (load): Store the segment's mapped size.
670 (unload): New function.
671 (unload_shlib): New function.
672 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
673 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
674 set a breakpoint at baz, and call it.
675 * gdb.base/sym-file.exp: New tests for stale breakpoint
678 2014-04-23 Pedro Alves <palves@redhat.com>
680 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
681 * gdb.base/hbreak-in-shr-unsupported.c: New file.
682 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
683 * gdb.base/hbreak-unmapped.c: New file.
684 * gdb.base/hbreak-unmapped.exp: New file.
685 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
686 * lib/gdb.exp (gdb_is_target_remote): ... here.
688 2014-04-22 Pedro Alves <palves@redhat.com>
690 * gdb.base/consecutive-step-over.c: New file.
691 * gdb.base/consecutive-step-over.exp: New file.
693 2014-04-22 Pedro Alves <palves@redhat.com>
695 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
696 instead of send_gdb/gdb_expect.
698 2014-04-22 Yao Qi <yao@codesourcery.com>
700 * lib/trace-support.exp (generate_tracefile): New procedure.
701 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
703 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
704 if generate_tracefile returns 1.
706 2014-04-18 Tom Tromey <palves@redhat.com>
707 Pedro alves <tromey@redhat.com>
710 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
711 with a backtrace limit.
712 * gdb.python/py-frame-inline.exp: Test running to an inline
713 function with a backtrace limit, and printing the newest frame.
714 * gdb.python/py-frame-inline.c (main): Call f.
716 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
718 * gdb.java/jnpe.exp: Drop srcdir from untested path.
720 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
722 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
723 Drop prefix from unsupported source file path.
725 2014-04-17 Yao Qi <yao@codesourcery.com>
727 * lib/gdb.exp (with_target_charset): New proc.
728 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
730 (test_print_strings): Likewise.
731 (test_repeat_bytes): Likewise.
732 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
735 2014-04-16 Keith Seitz <keiths@redhat.com>
738 * gdb.dwarf2/corrupt.c: New file.
739 * gdb.dwarf2/corrupt.exp: New file.
741 2014-04-16 Keith Seitz <keiths@redhat.com>
744 * gdb.cp/namelessclass.cc: New file.
745 * gdb.cp/namelessclass.exp: New file.
746 * gdb.cp/namelessclass.S: New file.
748 2014-04-16 Doug Evans <dje@google.com>
750 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
752 (gdbserver_default_get_comm_port): New function.
753 (gdbserver_start): Check if board file provided
754 "gdbserver,get_comm_port" and use it if so.
755 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
756 (gdb,socketport): Set to "stdio".
757 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
758 (stdio_gdbserver_template): Delete.
759 (${board}_get_remote_address): Update.
760 (${board}_build_remote_cmd): Delete.
761 (${board}_get_comm_port): New function.
762 (${board}_spawn): Update.
763 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
765 (${board}_get_remote_address): Update.
766 (${board}_get_comm_port): New function.
768 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
770 * gdb.base/memattr.exp: Improve regexps to handle memory regions
771 appearing in any order.
773 2014-04-15 Doug Evans <dje@google.com>
775 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
776 uninitialized value of "description".
778 2014-04-15 Keith Seitz <keiths@redhat.com>
780 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
781 Remove unused globals.
782 (test_running_the_program): Likewise.
783 (test_controlled_execution): Likewise.
784 (test_controlling_breakpoints): Likewise.
785 (test_program_termination): Likewise.
787 2014-04-15 Keith Seitz <keiths@redhat.com>
789 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
791 (test_rbreak_creation_and_listing): Likewise.
792 (test_ignore_count): Likewise.
793 (test_error): Likewise.
795 2014-04-15 Pedro Alves <palves@redhat.com>
797 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
798 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
800 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
801 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
802 to sym-file-loader.c.
803 (struct library): Forward declare.
804 (load_shlib, lookup_function): Change prototypes.
805 (find_shstrtab, find_strtab, find_shdr, find_symtab)
806 (translate_offset): Remove declarations.
807 (get_text_addr): New declaration.
808 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
809 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
811 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
812 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
813 here from sym-file-loader.h.
814 (struct library): New structure.
815 (load_shlib, lookup_function): Change prototypes and adjust to
816 work with a struct library.
817 (find_shstrtab, find_strtab, find_shdr, find_symtab)
818 (translate_offset): Make static.
819 (get_text_addr): New function.
820 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
822 2014-04-15 Pedro Alves <palves@redhat.com>
824 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
826 2014-04-15 Pedro Alves <palves@redhat.com>
828 * gdb.base/sym-file-loader.c: Include <limits.h>.
829 (SELF_LINK): New define.
830 (get_origin): New function.
831 (load_shlib): Use it.
832 * gdb.base/sym-file.exp: Don't early return if the target is
833 remote. Use runto_main, and issue fail is that fails. Use
835 (shlib_name): Delete.
836 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
838 2014-04-15 Pedro Alves <palves@redhat.com>
840 * gdb.base/sym-file.exp: Remove regex characters from test
841 message. Don't refer to breakpoint numbers in test messages.
843 2014-04-14 Keith Seitz <keiths@redhat.com>
846 * gdb.cp/var-tag.cc: New file.
847 * gdb.cp/var-tag.exp: New file.
848 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
849 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
850 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
851 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
853 2014-04-14 Tom Tromey <tromey@redhat.com>
855 * gdb.cp/classes.exp (test_enums): Handle underlying type.
856 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
858 * gdb.cp/enum-class.exp: New file.
859 * gdb.cp/enum-class.cc: New file.
861 2014-04-14 Tom Tromey <tromey@redhat.com>
863 * gdb.dwarf2/enum-type.exp: New file.
865 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
867 * gdb.mi/mi-vla-c99.exp: New file.
868 * gdb.mi/vla.c: New file.
870 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
872 * gdb.base/vla-datatypes.c: New file.
873 * gdb.base/vla-datatypes.exp: New file.
875 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
877 * gdb.base/vla-ptr.c: New file.
878 * gdb.base/vla-ptr.exp: New file.
880 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
882 * gdb.dwarf2/count.exp: New file.
884 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
886 * gdb.base/vla-sideeffect.c: New file.
887 * gdb.base/vla-sideeffect.exp: New file.
889 2014-04-14 David Blaikie <dblaikie@gmail.com>
891 * gdb.mi/non-stop.c: Add return value for non-void function return
893 * gdb.threads/staticthreads.c: Ditto.
895 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
896 Doug Evans <xdje42@gmail.com>
898 * gdb.guile/scm-value.c: Improve test case.
899 * gdb.guile/scm-value.exp: Add new test.
901 2014-04-11 David Blaikie <dblaikie@gmail.com>
903 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
904 override Clang's default.
906 2014-04-11 Joel Brobecker <brobecker@adacore.com>
908 Revert the following changes (regressions):
910 * gdb.base/vla-sideeffect.c: New file.
911 * gdb.base/vla-sideeffect.exp: New file.
913 * gdb.dwarf2/count.exp: New file.
915 * gdb.base/vla-multi.c: New file.
916 * gdb.base/vla-multi.exp: New file.
918 * gdb.base/vla-ptr.c: New file.
919 * gdb.base/vla-ptr.exp: New file.
921 * gdb.base/vla-datatypes.c: New file.
922 * gdb.base/vla-datatypes.exp: New file.
924 * gdb.mi/mi-vla-c99.exp: New file.
925 * gdb.mi/vla.c: New file.
927 2014-04-11 Keith Seitz <keiths@redhat.com>
930 * gdb.cp/cpsizeof.exp: New file.
931 * gdb.cp/cpsizeof.cc: New file.
933 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
935 * gdb.mi/mi-vla-c99.exp: New file.
936 * gdb.mi/vla.c: New file.
938 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
940 * gdb.base/vla-datatypes.c: New file.
941 * gdb.base/vla-datatypes.exp: New file.
943 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
945 * gdb.base/vla-ptr.c: New file.
946 * gdb.base/vla-ptr.exp: New file.
948 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
950 * gdb.base/vla-multi.c: New file.
951 * gdb.base/vla-multi.exp: New file.
953 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
955 * gdb.dwarf2/count.exp: New file.
957 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
959 * gdb.base/vla-sideeffect.c: New file.
960 * gdb.base/vla-sideeffect.exp: New file.
962 2014-04-11 Yao Qi <yao@codesourcery.com>
964 * gdb.base/completion.exp: Check file exists before running tests
967 2014-04-10 Pedro Alves <palves@redhat.com>
969 * gdb.base/cond-eval-mode.c: New file.
970 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
971 prepare_for_testing to build the new file. Check result of
973 (test_break, test_watch): New procedures.
974 (top level): Use them.
976 2014-04-08 Pierre Muller <muller@sourceware.org>
978 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
979 Ctrl-V use for mingw hosts.
981 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
983 * gdb.python/py-value.c: Improve test case.
984 * gdb.python/py-value.exp: Add new test.
986 2014-04-07 David Blaikie <dblaikie@gmail.com>
988 * lib/compiler.c: Identify the clang compiler.
989 * lib/compiler.cc: Ditto.
991 2014-04-03 Yao Qi <yao@codesourcery.com>
993 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
995 2014-04-01 Anton Blanchard <anton@samba.org>
997 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1000 2014-04-01 Anton Blanchard <anton@samba.org>
1002 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1003 prepare_for_testing.
1005 2014-04-01 Anton Blanchard <anton@samba.org>
1007 * gdb.arch/ppc64-atomic-inst.c: Remove.
1008 * gdb.arch/ppc64-atomic-inst.S: New file.
1009 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1011 2014-03-31 Doug Evans <dje@google.com>
1013 * gdb.base/print-symbol-loading-lib.c: New file.
1014 * gdb.base/print-symbol-loading-main.c: New file.
1015 * gdb.base/print-symbol-loading.exp: New file.
1017 2014-03-31 Yao Qi <yao@codesourcery.com>
1019 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1021 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1023 * gdb.ada/mi_dyn_arr: New testcase.
1025 2014-03-27 Doug Evans <dje@google.com>
1027 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1029 2014-03-27 Yao Qi <yao@codesourcery.com>
1031 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1032 if target is nios2-*-*.
1034 2014-03-26 Yao Qi <yao@codesourcery.com>
1036 * lib/gdb.exp (readline_is_used): New proc.
1037 * gdb.base/completion.exp: Move tests on command complete up.
1038 Skip the rest of tests if readline is not used.
1039 * gdb.ada/complete.exp: Skp the test if readline is not
1041 * gdb.base/filesym.exp: Likewise.
1042 * gdb.base/macscp.exp: Likewise.
1043 * gdb.base/readline-ask.exp: Likewise.
1044 * gdb.base/readline.exp: Likewise.
1045 * gdb.python/py-cmd.exp: Likewise.
1046 * gdb.trace/tfile.exp: Likewise.
1048 2014-03-26 Yao Qi <yao@codesourcery.com>
1050 * gdb.base/macscp.exp: Fix code format issues.
1052 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1054 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1055 * gdb.asm/powerpc64le.inc: New file.
1057 2014-03-25 Pedro Alves <palves@redhat.com>
1058 Doug Evans <dje@google.com>
1060 * gdb.base/source-execution.c: New file.
1061 * gdb.base/source-execution.exp: New file.
1062 * gdb.base/source-execution.gdb: New file.
1064 2014-03-24 Doug Evans <dje@google.com>
1066 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1069 2014-03-24 Hui Zhu <hui@codesourcery.com>
1070 Pedro Alves <palves@redhat.com>
1072 PR breakpoints/16101
1073 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1074 test pass/fail messages. Detect missing support for dprintf when
1075 breakpoints are actually inserted.
1076 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1077 breakpoints are actually inserted.
1078 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1081 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1083 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1085 2014-03-22 Doug Evans <xdje42@gmail.com>
1087 * gdb.python/python.exp (python not supported): Verify multi-line
1088 python command issues an error.
1089 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1090 guile command issues an error.
1092 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1094 * gdb.threads/thread-specific.exp: Handle the lack of usable
1095 $this_breakpoint and $this_thread.
1097 2014-03-21 Hui Zhu <hui@codesourcery.com>
1099 * gdb.base/attach.exp (do_command_attach_tests): New.
1101 2014-03-20 Tom Tromey <tromey@redhat.com>
1102 Pedro Alves <palves@redhat.com>
1105 * gdb.base/condbreak-call-false.c: New file.
1106 * gdb.base/condbreak-call-false.exp: New file.
1108 2014-03-20 Pedro Alves <palves@redhat.com>
1110 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1112 (block_signals, unblock_signals): Delete.
1113 (child_function_2, main): Remove references to deleted variable
1116 2014-03-20 Pedro Alves <palves@redhat.com>
1118 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1119 Use pthread_kill to signal thread 2.
1120 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1121 Adjust to make the test send itself a signal rather than using the
1122 host's "kill" command.
1124 2014-03-20 Pedro Alves <palves@redhat.com>
1126 * gdb.threads/multiple-step-overs.c: New file.
1127 * gdb.threads/multiple-step-overs.exp: New file.
1128 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1129 Adjust expected infrun debug output.
1131 2014-03-20 Pedro Alves <palves@redhat.com>
1133 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1134 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1136 2014-03-20 Pedro Alves <palves@redhat.com>
1139 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1140 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1141 of gdb_test_multiple.
1142 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1143 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1145 2014-03-20 Pedro Alves <palves@redhat.com>
1147 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1148 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1150 2014-03-19 Pedro Alves <palves@redhat.com>
1152 * gdb.base/async.exp: Remove early return.
1154 2014-03-19 Pedro Alves <palves@redhat.com>
1156 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1158 2014-03-19 Pedro Alves <palves@redhat.com>
1160 * gdb.base/async.exp (test_background): Expect \r\n after
1161 "completed." in the fail pattern.
1163 2014-03-19 Pedro Alves <palves@redhat.com>
1165 * gdb.base/async.exp (test_background): New procedure.
1166 Use it for all background execution command tests.
1168 2014-03-19 Pedro Alves <palves@redhat.com>
1170 * gdb.base/async.exp: Use prepare_for_testing.
1172 2014-03-19 Pedro Alves <palves@redhat.com>
1174 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1177 2014-03-19 Pedro Alves <palves@redhat.com>
1179 * gdb.base/async.c (main): Add "jump here" and "until here" line
1181 * gdb.base/async.exp (jump_here): New global.
1182 (jump& test): Use it.
1183 (until_here): New global.
1184 (until& test): Use it.
1186 2014-03-19 Pedro Alves <palves@redhat.com>
1188 * gdb.base/async.exp: Don't frob gdb_protocol.
1190 2014-03-18 Doug Evans <xdje42@gmail.com>
1192 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1193 Fix spelling of exec-done-display.
1195 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1198 * gdb.base/gdb-sigterm.c: New file.
1199 * gdb.base/gdb-sigterm.exp: New file.
1201 2014-03-18 Pedro Alves <palves@redhat.com>
1204 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1205 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1208 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1210 * gdb.ada/pckd_arr_ren: New testcase.
1212 2014-03-13 Doug Evans <xdje42@gmail.com>
1215 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1216 collect after discarding symbols.
1218 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1219 Doug Evans <xdje42@gmail.com>
1221 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1222 to history survives a gc.
1224 2014-03-13 Pedro Alves <palves@redhat.com>
1226 * gdb.base/default.exp: Don't test "target procfs".
1228 2014-03-13 Pedro Alves <palves@redhat.com>
1230 * gdb.base/default.exp: Update "target child" and "target procfs"
1231 tests to not expect "Unix".
1233 2014-03-12 Tom Tromey <tromey@redhat.com>
1235 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1236 New procs. Add target-async tests.
1237 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1238 Add target-async tests.
1240 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1242 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1243 'func_start' and 'func_end' for the beginning and end of the
1244 function code, respectively.
1245 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1246 'func_end' instead of 'func' and 'main'.
1248 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1250 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1251 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1252 generate the debug info assembler source.
1254 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1256 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1257 * gdb.dwarf2/arr-subrange.exp: Likewise.
1258 * gdb.dwarf2/dwz.exp: Likewise.
1259 * gdb.dwarf2/method-ptr.exp: Likewise.
1260 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1261 * gdb.dwarf2/subrange.exp: Likewise.
1262 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1263 * gdb.dwarf2/implptrpiece.exp: Likewise.
1264 * gdb.dwarf2/nostaticblock.exp: Likewise.
1266 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1268 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1269 directory to absolute path name arguments.
1271 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1273 * gdb.ada/tagged_access: New testcase.
1275 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1277 * gdb.btrace/data.exp: Update expected output.
1279 2014-03-06 Yao Qi <yao@codesourcery.com>
1281 * gdb.trace/pr16508.exp: New file.
1283 2014-03-05 Pedro Alves <palves@redhat.com>
1286 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1288 (top level): Adjust to use it. Add tests that exercise breakpoint
1289 interaction with the code-cache.
1291 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1293 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1294 test for 'history-append!'.
1296 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1298 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1299 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1300 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1301 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1302 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1303 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1305 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1307 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1308 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1309 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1311 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1313 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1315 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1317 * gdb.dwarf2/arr-stride.c: New file.
1318 * gdb.dwarf2/arr-stride.exp: New file.
1320 2014-02-26 Pedro Alves <palves@redhat.com>
1322 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1323 that won't ever trigger. Make sure that GDB reports the correct
1324 breakpoint that caused the stop.
1326 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1329 * gdb.base/auto-load-script: New file.
1330 * gdb.base/auto-load.c: New file.
1331 * gdb.base/auto-load.exp: New file.
1334 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1336 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1338 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1339 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1341 2014-02-24 Doug Evans <dje@google.com>
1343 * lib/gdb.exp (run_on_host): Log error output if program fails.
1345 2014-02-21 Pedro Alves <palves@redhat.com>
1347 * gdb.threads/step-after-sr-lock.c: Rename to ...
1348 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1349 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1350 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1353 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1356 * gdb.arch/amd64-stap-special-operands.exp: New file.
1357 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1358 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1359 * gdb.arch/amd64-stap-triplet.S: Likewise.
1360 * gdb.arch/amd64-stap-triplet.c: Likewise.
1362 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1364 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1365 in .section pseudo-op.
1367 2014-02-20 lin zuojian <manjian2006@gmail.com>
1368 Joel Brobecker <brobecker@adacore.com>
1369 Doug Evans <xdje42@gmail.com>
1372 * gdb.dwarf2/dw2-icycle.S: New file.
1373 * gdb.dwarf2/dw2-icycle.c: New file.
1374 * gdb.dwarf2/dw2-icycle.exp: New file.
1376 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1378 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1379 operations on gdb.Value objects.
1380 * gdb.python/py-value-cc.exp: Add new test to test operations on
1383 2014-02-18 Doug Evans <dje@google.com>
1385 * Makefile.in (TESTS): New variable.
1386 (expanded_tests, expanded_tests_or_none): New variables
1387 (check-single): Pass $(expanded_tests_or_none) to runtest.
1388 (check-parallel): Only run tests in $(TESTS) if non-empty.
1389 (check/no-matching-tests-found): New rule.
1390 * README: Document TESTS makefile variable.
1392 2014-02-18 Doug Evans <dje@google.com>
1394 * Makefile.in (check-parallel): rm -rf outputs temp.
1396 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1398 Fix "ERROR: no fileid for" in the testsuite.
1399 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1401 2014-02-12 Doug Evans <dje@google.com>
1403 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1404 (MISCELLANEOUS): New variable.
1405 (clean): rm -rf $(MISCELLANEOUS).
1406 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1407 dwp live in the same directory as symlinks, with each symlink pointed
1408 to a differently named file in a different directory.
1410 2014-02-11 Doug Evans <dje@google.com>
1412 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1413 of Tcl file commands.
1415 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1417 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1420 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1422 * gdb.ada/tick_length_array_enum_idx: New testcase.
1424 2014-02-10 Doug Evans <xdje42@gmail.com>
1426 * configure.ac (AC_OUTPUT): Add gdb.guile.
1427 * configure: Regenerate.
1428 * lib/gdb-guile.exp: New file.
1429 * lib/gdb.exp (get_target_charset): New function.
1430 * gdb.base/help.exp: Update expected output from "apropos apropos".
1431 * gdb.guile/Makefile.in: New file.
1432 * gdb.guile/guile.exp: New file.
1433 * gdb.guile/scm-arch.c: New file.
1434 * gdb.guile/scm-arch.exp: New file.
1435 * gdb.guile/scm-block.c: New file.
1436 * gdb.guile/scm-block.exp: New file.
1437 * gdb.guile/scm-breakpoint.c: New file.
1438 * gdb.guile/scm-breakpoint.exp: New file.
1439 * gdb.guile/scm-disasm.c: New file.
1440 * gdb.guile/scm-disasm.exp: New file.
1441 * gdb.guile/scm-equal.c: New file.
1442 * gdb.guile/scm-equal.exp: New file.
1443 * gdb.guile/scm-error.exp: New file.
1444 * gdb.guile/scm-error.scm: New file.
1445 * gdb.guile/scm-frame-args.c: New file.
1446 * gdb.guile/scm-frame-args.exp: New file.
1447 * gdb.guile/scm-frame-args.scm: New file.
1448 * gdb.guile/scm-frame-inline.c: New file.
1449 * gdb.guile/scm-frame-inline.exp: New file.
1450 * gdb.guile/scm-frame.c: New file.
1451 * gdb.guile/scm-frame.exp: New file.
1452 * gdb.guile/scm-generics.exp: New file.
1453 * gdb.guile/scm-gsmob.exp: New file.
1454 * gdb.guile/scm-iterator.c: New file.
1455 * gdb.guile/scm-iterator.exp: New file.
1456 * gdb.guile/scm-math.c: New file.
1457 * gdb.guile/scm-math.exp: New file.
1458 * gdb.guile/scm-objfile-script-gdb.in: New file.
1459 * gdb.guile/scm-objfile-script.c: New file.
1460 * gdb.guile/scm-objfile-script.exp: New file.
1461 * gdb.guile/scm-objfile.c: New file.
1462 * gdb.guile/scm-objfile.exp: New file.
1463 * gdb.guile/scm-ports.exp: New file.
1464 * gdb.guile/scm-pretty-print.c: New file.
1465 * gdb.guile/scm-pretty-print.exp: New file.
1466 * gdb.guile/scm-pretty-print.scm: New file.
1467 * gdb.guile/scm-section-script.c: New file.
1468 * gdb.guile/scm-section-script.exp: New file.
1469 * gdb.guile/scm-section-script.scm: New file.
1470 * gdb.guile/scm-symbol.c: New file.
1471 * gdb.guile/scm-symbol.exp: New file.
1472 * gdb.guile/scm-symtab-2.c: New file.
1473 * gdb.guile/scm-symtab.c: New file.
1474 * gdb.guile/scm-symtab.exp: New file.
1475 * gdb.guile/scm-type.c: New file.
1476 * gdb.guile/scm-type.exp: New file.
1477 * gdb.guile/scm-value-cc.cc: New file.
1478 * gdb.guile/scm-value-cc.exp: New file.
1479 * gdb.guile/scm-value.c: New file.
1480 * gdb.guile/scm-value.exp: New file.
1481 * gdb.guile/source2.scm: New file.
1482 * gdb.guile/types-module.cc: New file.
1483 * gdb.guile/types-module.exp: New file.
1485 2014-02-10 Yao Qi <yao@codesourcery.com>
1488 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1489 * configure: Regenerated.
1490 * Makefile.in: New file.
1492 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1494 * gdb.python/py-framefilter.exp: Fix typo.
1496 2014-02-08 Yao Qi <yao@codesourcery.com>
1498 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1499 that no =breakpoint-modified is emitted when breakpoints are
1500 modified through MI commands.
1502 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1503 Pedro Alves <palves@redhat.com>
1505 * gdb.threads/step-after-sr-lock.c: New file.
1506 * gdb.threads/step-after-sr-lock.exp: New file.
1508 2014-02-07 Pedro Alves <palves@redhat.com>
1510 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1512 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1514 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1515 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1517 2014-02-06 Doug Evans <xdje42@gmail.com>
1519 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1522 * gdb.gdb/python-interrupts.exp: New file.
1524 2014-02-05 Yao Qi <yao@codesourcery.com>
1526 * gdb.trace/report.exp (use_collected_data): Test the output
1527 of "info threads" and "info inferiors".
1529 2014-02-05 Yao Qi <yao@codesourcery.com>
1533 2013-05-24 Yao Qi <yao@codesourcery.com>
1535 * gdb.trace/tfile.exp: Test inferior and thread.
1537 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1539 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1541 * gdb.base/step-bt.c: Call hello via function pointer to make
1542 sure its first instruction is executed on powerpc64le-linux.
1544 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1546 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1548 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1550 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1551 of the test patterns for use on little-endian systems.
1553 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1555 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1556 (decimal_vector): Fix for little-endian.
1558 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1560 * gdb.arch/sparc-sysstep.exp: New file.
1561 * gdb.arch/sparc-sysstep.c: Likewise.
1563 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1565 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1567 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1569 2014-01-23 Tom Tromey <tromey@redhat.com>
1571 * gdb.ada/array_char_idx: New testcase.
1573 2014-01-23 Tom Tromey <tromey@redhat.com>
1576 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1577 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1580 2014-01-23 Tom Tromey <tromey@redhat.com>
1583 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1584 string from an inferior frame.
1585 * gdb.python/py-framefilter-mi.exp: Update.
1587 2014-01-22 Doug Evans <dje@google.com>
1589 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1591 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1593 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1595 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1597 * gdb.trace/entry-values.exp: Remove excess space character from
1598 regex patterns. Handle s390 call instruction.
1600 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1602 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1603 define "*_start" label. Make "name" static.
1604 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1605 ${name} by references to ${name}_start.
1607 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1609 * gdb.base/info-macros.exp: Remove "debug" from the compile
1612 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1614 * gdb.dlang/demangle.exp: New file.
1616 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1618 * gdb.dlang/primitive-types.exp: New file.
1620 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1622 * configure.ac: Create gdb.dlang/Makefile.
1623 * configure: Regenerate.
1624 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1625 * gdb.dlang/Makefile.in: New file.
1626 * lib/d-support.exp: New file.
1627 * lib/gdb.exp (skip_d_tests): New proc.
1629 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1631 * gdb.btrace/delta.exp: Check reverse stepi.
1632 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1633 * gdb.btrace/finish.exp: New.
1634 * gdb.btrace/next.exp: New.
1635 * gdb.btrace/nexti.exp: New.
1636 * gdb.btrace/record_goto.c: Add comments.
1637 * gdb.btrace/step.exp: New.
1638 * gdb.btrace/stepi.exp: New.
1639 * gdb.btrace/multi-thread-step.c: New.
1640 * gdb.btrace/multi-thread-step.exp: New.
1641 * gdb.btrace/rn-dl-bind.c: New.
1642 * gdb.btrace/rn-dl-bind.exp: New.
1643 * gdb.btrace/data.c: New.
1644 * gdb.btrace/data.exp: New.
1645 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1647 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1649 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1650 * gdb.btrace/exception.exp: Update.
1651 * gdb.btrace/instruction_history.exp: Update.
1652 * gdb.btrace/record_goto.exp: Update.
1653 * gdb.btrace/tailcall.exp: Update.
1654 * gdb.btrace/unknown_functions.exp: Update.
1655 * gdb.btrace/delta.exp: New.
1657 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1659 * gdb.btrace/record_goto.exp: Add backtrace test.
1660 * gdb.btrace/tailcall.exp: Add backtrace test.
1662 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1664 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1665 * gdb.btrace/record_goto.c: New.
1666 * gdb.btrace/record_goto.exp: New.
1667 * gdb.btrace/x86-record_goto.S: New.
1669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1671 * gdb.btrace/function_call_history.exp: Update tests.
1672 * gdb.btrace/instruction_history.exp: Update tests.
1674 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1676 * gdb.btrace/function_call_history.exp: Fix expected field
1677 order for "record function-call-history".
1678 Add new tests for "record function-call-history /c".
1679 * gdb.btrace/exception.cc: New.
1680 * gdb.btrace/exception.exp: New.
1681 * gdb.btrace/tailcall.exp: New.
1682 * gdb.btrace/x86-tailcall.S: New.
1683 * gdb.btrace/x86-tailcall.c: New.
1684 * gdb.btrace/unknown_functions.c: New.
1685 * gdb.btrace/unknown_functions.exp: New.
1686 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1688 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1690 * gdb.btrace/instruction_history.exp: Update.
1691 * gdb.btrace/function_call_history.exp: Update.
1693 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1695 * gdb.btrace/function_call_history.exp: Fix expected function
1697 * gdb.btrace/instruction_history.exp: Initialize traced.
1698 Remove traced_functions.
1700 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1702 * gdb.btrace/function_call_history.exp: Update
1703 * gdb.btrace/instruction_history.exp: Update.
1705 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1707 * gdb.btrace/enable.exp: Update expected text.
1709 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1711 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1714 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1716 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1718 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1720 * lib/gdb.exp (supports_process_record): Return true for
1721 arm*-linux*. (supports_reverse): Likewise.
1723 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1727 * gdb.python/py-type.c: Enhance test case.
1728 * gdb.python/py-value-cc.cc: Likewise
1729 * gdb.python/py-type.exp: Add new tests.
1730 * gdb.python/py-value-cc.exp: Likewise
1732 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1733 Pedro Alves <palves@redhat.com>
1735 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1737 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1738 references to ${name}_start by references to ${name}.
1740 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1742 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1744 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1746 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1748 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1749 Pedro Alves <palves@redhat.com>
1751 * gdb.mi/mi-info-os.exp: Connect to the target with
1754 2014-01-08 Pedro Alves <palves@redhat.com>
1756 * gdb.threads/reconnect-signal.c: New file.
1757 * gdb.threads/reconnect-signal.exp: New file.
1759 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1761 * gdb.base/source-dir.exp: New file.
1763 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1765 * gdb.ada/mi_interface: New testcase.
1767 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1769 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1770 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1771 gdb.ada/pp-rec-component/pck.ads: New files.
1773 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1775 * gdb.python/py-pp-integral.c: New file.
1776 * gdb.python/py-pp-integral.py: New file.
1777 * gdb.python/py-pp-integral.exp: New file.
1779 For older changes see ChangeLog-1993-2013.
1785 ;; version-control: never
1788 Copyright 2014 Free Software Foundation, Inc.
1789 Copying and distribution of this file, with or without modification,
1790 are permitted provided the copyright notice and this notice are preserved.