1 2014-06-09 Gary Benson <gbenson@redhat.com>
3 * gdb.base/sigall.c [Functions to send signals]: Reorder to
4 separate the always-available ANSI-standard signals from the
5 signals that require checking.
7 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
11 2014-06-07 Keith Seitz <keiths@redhat.com>
15 * gdb.cp/var-tag.cc: New file.
16 * gdb.cp/var-tag.exp: New file.
17 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22 2014-06-06 Doug Evans <xdje42@gmail.com>
24 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
26 2014-06-06 Pedro Alves <palves@redhat.com>
28 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
29 in target debug output instead of looking at RSP packets,
30 disabling the test on any target that uses hardware stepping.
33 2014-06-06 Pedro Alves <palves@redhat.com>
35 * gdb.base/break-unload-file.exp: Fix typo.
37 2014-06-06 Yao Qi <yao@codesourcery.com>
39 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
40 from "jit_function" to "^jit_function".
42 2014-06-06 Yao Qi <yao@codesourcery.com>
44 * gdb.base/async.c (foo): Add one statement.
45 * gdb.base/async.exp: Get the next instruction address and
46 match the output of "nexti" by instruction address. Match
47 the hex address in the output of "finish".
49 2014-06-06 Gary Benson <gbenson@redhat.com>
51 * gdb.base/call-signals.c: Remove preprocessor conditionals
52 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
54 * gdb.base/sigall.c: Likewise.
55 * gdb.base/unwindonsignal.c: Likewise.
56 * gdb.reverse/sigall-reverse.c: Likewise.
58 2014-06-06 Yao Qi <yao@codesourcery.com>
60 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
61 readable, skip the test.
63 2014-06-06 Yao Qi <yao@codesourcery.com>
65 * gdb.threads/staticthreads.c (thread_function): Move the line
66 setting breakpoint on forward.
67 * gdb.threads/staticthreads.exp: Update comments.
69 2014-06-05 Ludovic Courtès <ludo@gnu.org>
71 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
72 "history-append! type error".
74 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
76 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
77 erroneous dprintf expected input.
79 2014-06-04 Doug Evans <xdje42@gmail.com>
81 * gdb.guile/scm-generics.exp: Delete.
83 2014-06-04 Doug Evans <xdje42@gmail.com>
85 * gdb.guile/scm-breakpoint.exp: Update.
86 Add tests for breakpoint registration.
88 2014-06-04 Tom Tromey <tromey@redhat.com>
90 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
92 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
93 inner_vla_struct, vla_union types. Initialize objects of those
94 types and compute their sizes.
96 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
97 Hui Zhu <hui@codesourcery.com>
99 * gdb.base/fileio.exp: Add test for shell not available as well as
101 * gdb.base/fileio.c (test_system): Check for shell twice.
103 2014-06-04 Yao Qi <yao@codesourcery.com>
105 * gdb.base/auto-connect-native-target.exp: Remove redundant
106 space from the regexp pattern.
108 2014-06-04 Yao Qi <yao@codesourcery.com>
110 * gdb.base/default.exp: Replace "child" with "native" in
113 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
115 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
116 * gdb.python/py-xmethods.exp: New tests to test xmethods.
117 * gdb.python/py-xmethods.py: Python script supporting the
118 new testcase and tests.
120 2014-06-03 Joel Brobecker <brobecker@adacore.com>
121 Pedro Alves <palves@redhat.com>
124 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
125 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
127 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
129 * gdb.base/subst.exp: Add tests to verify partial path matching
132 2014-06-03 Pedro Alves <palves@redhat.com>
134 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
135 target that doesn't use software single-stepping.
137 2014-06-03 Pedro Alves <palves@redhat.com>
140 * gdb.base/sss-bp-on-user-bp-2.c: New file.
141 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
143 2014-06-02 Doug Evans <xdje42@gmail.com>
145 * gdb.guile/scm-parameter.exp: New file.
147 2014-06-02 Doug Evans <xdje42@gmail.com>
149 * gdb.guile/scm-cmd.c: New file.
150 * gdb.guile/scm-cmd.exp: New file.
152 2014-06-02 Doug Evans <xdje42@gmail.com>
154 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
155 pretty-printer lookup.
156 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
157 (make-pp_s-printer): Call it.
158 (make-pretty-printer-from-dict): New function.
159 (lookup-pretty-printer-maker-from-dict): New function.
160 (*pretty-printer*): Simplify.
161 (make-objfile-pp_s-printer): New function.
162 (install-objfile-pretty-printers!): New function.
163 (make-progspace-pp_s-printer): New function.
164 (install-progspace-pretty-printers!): New function.
165 * gdb.guile/scm-progspace.c: New file.
166 * gdb.guile/scm-progspace.exp: New file.
168 2014-06-02 Pedro Alves <palves@redhat.com>
170 * gdb.base/dprintf-bp-same-addr.c: New file.
171 * gdb.base/dprintf-bp-same-addr.exp: New file.
173 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
175 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
176 * gdb.arch/powerpc-power.s: Likewise.
178 2014-06-02 Joel Brobecker <brobecker@adacore.com>
180 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
182 2014-06-01 Yao Qi <yao@codesourcery.com>
184 * gdb.base/watchpoint.exp (test_watch_location): Check null
185 pointer can be dereferenced. If not, do the test, otherwise
188 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
190 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
192 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
194 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
196 * gdb.arch/amd64-invalid-stack-middle.S: New file.
197 * gdb.arch/amd64-invalid-stack-middle.c: New file.
198 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
199 * gdb.arch/amd64-invalid-stack-top.c: New file.
200 * gdb.arch/amd64-invalid-stack-top.exp: New file.
202 2014-05-30 Pedro Alves <palves@redhat.com>
205 * gdb.base/sss-bp-on-user-bp.c: New file.
206 * gdb.base/sss-bp-on-user-bp.exp: New file.
208 2014-05-30 David Blaikie <dblaikie@gmail.com>
210 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
211 gnu_inline semantics via attribute.
212 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
213 source explicitly specifies the required semantics.
215 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
217 * gdb.reverse/sigall-reverse.exp: Fix a typo.
219 2014-05-29 Pedro Alves <palves@redhat.com>
220 Tom Tromey <tromey@redhat.com>
222 * gdb.base/async-shell.exp: Don't enable target-async.
224 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
226 (top level): Don't test with "target-async".
227 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
228 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
229 * gdb.base/inferior-died.exp: Don't enable target-async.
230 * gdb.base/interrupt-noterm.exp: Likewise.
231 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
232 * gdb.mi/mi-nonstop-exit.exp: Likewise.
233 * gdb.mi/mi-nonstop.exp: Likewise.
234 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
235 * gdb.mi/mi-nsintrall.exp: Likewise.
236 * gdb.mi/mi-nsmoribund.exp: Likewise.
237 * gdb.mi/mi-nsthrexec.exp: Likewise.
238 * gdb.mi/mi-watch-nonstop.exp: Likewise.
239 * gdb.multi/watchpoint-multi.exp: Adjust comment.
240 * gdb.python/py-evsignal.exp: Don't enable target-async.
241 * gdb.python/py-evthreads.exp: Likewise.
242 * gdb.python/py-prompt.exp: Likewise.
243 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
244 * gdb.server/solib-list.exp: Don't enable target-async.
245 * gdb.threads/thread-specific-bp.exp: Likewise.
246 * lib/mi-support.exp: Adjust to use mi-async.
248 2014-05-29 Pedro Alves <palves@redhat.com>
251 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
252 reason, even in sync mode.
254 2014-05-29 Pedro Alves <palves@redhat.com>
255 Hui Zhu <hui@codesourcery.com>
258 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
259 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
260 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
261 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
263 2014-05-28 Joel Brobecker <brobecker@adacore.com>
265 * config/monitor.exp (gdb_target_monitor): Replace use of
266 "set remotebaud" by "set serial baud".
268 2014-05-26 Andy Wingo <wingo@igalia.com>
270 * gdb.guile/scm-breakpoint.exp:
271 * gdb.guile/scm-gsmob.exp: Update to use plain old object
272 properties instead of gdb-object-properties.
274 2014-05-26 Yao Qi <yao@codesourcery.com>
276 * gdb.server/no-thread-db.exp: Specify source file name
277 explicitly when setting a breakpoint.
279 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
281 * gdb.btrace/vdso.c: New.
282 * gdb.btrace/vdso.exp: New.
284 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
286 * gdb.base/gcore.exp (capture_command_output): Move ...
287 * lib/gdb.exp (capture_command_output): ... here.
289 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
291 * gdb.btrace/data.exp: Test memory access during btrace replay.
293 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
295 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
297 2014-05-21 Pedro Alves <palves@redhat.com>
300 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
301 (top level): Test that output related to execution commands is
302 sent to the console with CLI commands, but not with MI commands.
303 Test that breakpoint events are always mirrored to the console.
304 Also expect the new source line to be output after a "next" in
305 async mode too. Make it a pass/fail test.
306 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
308 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
310 2014-05-21 Pedro Alves <palves@redhat.com>
312 * gdb.base/list.exp (build_pattern, test_list): New procedures.
313 Use them to test variations of "list" after reaching a breakpoint.
314 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
315 Test "list" with listsize 10 after reaching a breakpoint.
316 * gdb.python/python.exp (decode_line current location line
317 number): Adjust expected line number.
319 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
321 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
322 behavior for $args, pass it directly to "run".
324 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
326 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
329 2014-05-21 Pedro Alves <palves@redhat.com>
331 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
332 auto-connect-native-target off".
333 * gdb.base/auto-connect-native-target.c: New file.
334 * gdb.base/auto-connect-native-target.exp: New file.
336 2014-05-21 Pedro Alves <palves@redhat.com>
338 * gdb.base/default.exp: Test "target native" instead of "target
341 2014-05-21 Mark Wielaard <mjw@redhat.com>
343 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
345 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
347 Fix TLS access for -static -pthread.
348 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
349 <HAVE_TLS> (thread_function, main): Initialize it.
350 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
352 <$have_tls != "">: Check TLSVAR.
354 2014-05-21 Pedro Alves <palves@redhat.com>
356 * gdb.base/dcache-line-read-error.c: New.
357 * gdb.base/dcache-line-read-error.exp: New.
359 2014-05-20 Pedro Alves <palves@redhat.com>
361 * gdb.base/compare-sections.c: New file.
362 * gdb.base/compare-sections.exp: New file.
364 2014-05-20 Pedro Alves <palves@redhat.com>
366 * gdb.base/break-idempotent.c: New file.
367 * gdb.base/break-idempotent.exp: New file.
369 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
371 * gdb.btrace/nohist.exp: New.
373 2014-05-20 Yao Qi <yao@codesourcery.com>
375 * lib/gdb.exp (gdb_init): Set timeout if test file is under
376 gdb.reverse directory and gdb_reverse_timeout exists in board
378 * README: Document gdb_reverse_timeout.
380 2014-05-20 Yao Qi <yao@codesourcery.com>
382 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
383 'test_file_name'. Treat args as a string instead of a list.
384 (gdb_init): Rename argument 'args' by 'test_file_name'.
386 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
388 * gdb.arch/powerpc-power.exp: New file.
389 * gdb.arch/powerpc-power.s: New file.
391 2014-05-16 Doug Evans <dje@google.com>
393 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
394 * gdb.base/completion.exp: Check that all expected files exist
395 before doing file completion.
397 2014-05-16 Doug Evans <dje@google.com>
399 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
401 (do_syscall_tests_without_xml): Update.
403 2014-05-16 Pedro Alves <palves@redhat.com>
405 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
406 instead of "unknown output after running".
408 2014-05-16 Yao Qi <yao@codesourcery.com>
410 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
411 file1.txt from host at the end.
412 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
414 2014-05-15 Doug Evans <dje@google.com>
416 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
417 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
418 loading file. Add test for TU lookup.
420 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
422 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
423 calling "-exec-arguments" or "set args" before running the
426 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
428 * lib/mi-support.exp (mi_expect_stop): Expect message for
429 inferiors that exit with non-zero exit code.
431 2014-05-14 Yao Qi <yao@codesourcery.com>
433 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
434 match absolute path on remote host.
435 (test_file_list_exec_source_files): Remove "/" from the
438 2014-05-14 Yao Qi <yao@codesourcery.com>
440 * boards/local-remote-host-notty.exp (${board}_file): New
443 2014-05-07 Kyle McMartin <kyle@redhat.com>
445 Pushed by Joel Brobecker <brobecker@adacore.com>.
446 * gdb.arch/aarch64-atomic-inst.c: New file.
447 * gdb.arch/aarch64-atomic-inst.exp: New file.
449 2014-05-07 Yao Qi <yao@codesourcery.com>
451 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
452 in current context" too.
454 2014-05-05 Keith Seitz <keiths@redhat.com>
456 * gdb.linespec/ls-dollar.exp: Add test for linespec
457 file:convenience_variable.
459 2014-05-05 Yao Qi <yao@codesourcery.com>
461 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
462 traceframes into tfile and ctf trace files. Read data from
463 trace file and test collected data.
464 (gdb_collect_locals_test): Likewise.
465 (gdb_unavailable_registers_test): Likewise.
466 (gdb_unavailable_floats): Likewise.
467 (gdb_collect_globals_test): Likewise.
468 (top-level): Append "ctf" to trace_file_targets if GDB
471 2014-05-05 Yao Qi <yao@codesourcery.com>
473 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
475 (gdb_collect_args_test_1): ... it. New proc.
476 (gdb_collect_locals_test): Move some code to ...
477 (gdb_collect_locals_test_1): ... it. New proc.
478 (gdb_unavailable_registers_test): Move some code to ...
479 (gdb_unavailable_registers_test_1): ... it. New proc.
480 (gdb_unavailable_floats): Move some code to ...
481 (gdb_unavailable_floats_1): ... it. New proc.
483 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
485 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
486 probes to test for bitness recognition.
487 * gdb.arch/amd64-stap-optional-prefix.exp
488 (test_probe_value_without_reg): New procedure.
489 Add code to test for different kinds of bitness.
491 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
494 * gdb.arch/amd64-stap-optional-prefix.S: New file.
495 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
497 2014-05-01 Pedro Alves <palves@redhat.com>
499 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
500 gdb_file_cmd if no file is specified.
501 * boards/native-extended-gdbserver.exp (gdb_load): Use the
502 last_loaded_file to set the remote exec-file.
504 2014-05-01 Pedro Alves <palves@redhat.com>
506 * boards/local-remote-host.exp: New file.
508 2014-05-01 Pedro Alves <palves@redhat.com>
510 * boards/local-remote-host.exp: Rename to ...
511 * boards/local-remote-host-notty.exp: ... this.
513 2014-04-28 Joel Brobecker <brobecker@adacore.com>
515 * gdb.ada/dyn_arrayidx: New testcase.
517 2014-04-26 Yao Qi <yao@codesourcery.com>
519 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
520 and compute the length of function main. Save it in
522 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
523 (top-level): Use gdb_compile to compile objects into
524 executable and restart GDB. Remove invocation to
527 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
528 Pedro Alves <palves@redhat.com>
531 * gdb.multi/multi-attach.c: New file.
532 * gdb.multi/multi-attach.exp: New file.
534 2014-04-25 Pedro Alves <palves@redhat.com>
536 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
538 (top level): Test that "set remote conditional-breakpoints-packet
539 off" works as intended.
540 * gdb.base/dprintf.exp: Test that "set remote
541 breakpoint-commands-packet off" works as intended.
542 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
544 (top level): Call it.
545 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
546 remote fast-tracepoints-packet off" works as intended.
547 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
548 * lib/gdb.exp (gdb_is_target_remote): ... here.
550 2014-04-24 David Blaikie <dblaikie@gmail.com>
552 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
553 ensure clang would not discard them.
554 * gdb.base/gdbvars.c: Ditto.
555 * gdb.base/memattr.c: Ditto.
556 * gdb.base/whatis.c: Ditto.
557 * gdb.python/py-prettyprint.c: Ditto.
558 * gdb.trace/actions.c: Ditto.
559 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
560 ensure clang would not discard it.
562 2014-04-24 David Blaikie <dblaikie@gmail.com>
564 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
565 clang to emit the full definition of type required by the test
566 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
568 2014-04-24 David Blaikie <dblaikie@gmail.com>
570 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
571 coax Clang into emitting the definition of the type.
572 * gdb.cp/pr10728-x.h (y): Ditto.
573 * gdb.cp/pr10728-y.cc (y): Ditto.
575 2014-04-24 David Blaikie <dblaikie@gmail.com>
577 * gdb.base/label.exp: XFAIL label related tests under Clang.
578 * gdb.cp/cplabel.exp: Ditto.
579 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
580 under Clang those using labels.
582 2014-04-25 Yao Qi <yao@codesourcery.com>
584 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
586 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
587 partial_label and double_label.
589 2014-04-24 David Blaikie <dblaikie@gmail.com>
591 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
593 2014-04-24 David Blaikie <dblaikie@gmail.com>
595 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
596 of the function to work across GCC and Clang.
597 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
598 pointer types (const void ** const V void **).
600 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
601 Walfred Tedeschi <walfred.tedeschi@intel.com>
603 * Makefile.in (EXECUTABLES): Added i386-avx512.
604 * gdb.arch/i386-avx512.c: New file.
605 * gdb.arch/i386-avx512.exp: Likewise.
607 2014-04-23 Keith Seitz <keiths@redhat.com>
609 * lib/mi-support.exp (mi_list_breakpoints): Delete.
610 (mi_make_breakpoint_table): New procedure.
611 (mi_create_breakpoint): Use mi_make_breakpoint
612 and return the result.
613 (mi_make_breakpoint): New procedure.
614 (mi_build_kv_pairs): New procedure.
616 * gdb.mi/mi-break.exp: Remove unused globals,
617 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
619 * gdb.mi/mi-dprintf.exp: Use variable to track command
621 Update all callers of mi_create_breakpoint and use
622 mi_make_breakpoint_table.
623 Remove any unused global variables.
624 * gdb.mi/mi-nonstop.exp: Likewise.
625 * gdb.mi/mi-nsintrall.exp: Likewise.
626 * gdb.mi/mi-nsmoribund.exp: Likewise.
627 * gdb.mi/mi-nsthrexec.exp: Likewise.
628 * gdb.mi/mi-reverse.exp: Likewise.
629 * gdb.mi/mi-simplerun.exp: Likewise.
630 * gdb.mi/mi-stepn.exp: Likewise.
631 * gdb.mi/mi-syn-frame.exp: Likewise.
632 * gdb.mi/mi-until.exp: Likewise.
633 * gdb.mi/mi-var-cp.exp: Likewise.
634 * gdb.mi/mi-var-display.exp: Likewise.
635 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
636 * gdb.mi/mi2-var-child.exp: Likewise.
637 * gdb.mi/mi-vla-c99.exp: Likewise.
638 * lib/mi-support.exp: Likewise.
640 From Ian Lance Taylor <iant@cygnus.com>:
641 * lib/gdb.exp (parse_args): New procedure.
643 2014-04-23 Pedro Alves <palves@redhat.com>
645 * gdb.base/break-unload-file.c: New file.
646 * gdb.base/break-unload-file.exp: New file.
647 * gdb.base/sym-file-lib.c (baz): New function.
648 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
650 (load): Store the segment's mapped size.
651 (unload): New function.
652 (unload_shlib): New function.
653 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
654 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
655 set a breakpoint at baz, and call it.
656 * gdb.base/sym-file.exp: New tests for stale breakpoint
659 2014-04-23 Pedro Alves <palves@redhat.com>
661 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
662 * gdb.base/hbreak-in-shr-unsupported.c: New file.
663 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
664 * gdb.base/hbreak-unmapped.c: New file.
665 * gdb.base/hbreak-unmapped.exp: New file.
666 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
667 * lib/gdb.exp (gdb_is_target_remote): ... here.
669 2014-04-22 Pedro Alves <palves@redhat.com>
671 * gdb.base/consecutive-step-over.c: New file.
672 * gdb.base/consecutive-step-over.exp: New file.
674 2014-04-22 Pedro Alves <palves@redhat.com>
676 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
677 instead of send_gdb/gdb_expect.
679 2014-04-22 Yao Qi <yao@codesourcery.com>
681 * lib/trace-support.exp (generate_tracefile): New procedure.
682 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
684 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
685 if generate_tracefile returns 1.
687 2014-04-18 Tom Tromey <palves@redhat.com>
688 Pedro alves <tromey@redhat.com>
691 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
692 with a backtrace limit.
693 * gdb.python/py-frame-inline.exp: Test running to an inline
694 function with a backtrace limit, and printing the newest frame.
695 * gdb.python/py-frame-inline.c (main): Call f.
697 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
699 * gdb.java/jnpe.exp: Drop srcdir from untested path.
701 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
703 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
704 Drop prefix from unsupported source file path.
706 2014-04-17 Yao Qi <yao@codesourcery.com>
708 * lib/gdb.exp (with_target_charset): New proc.
709 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
711 (test_print_strings): Likewise.
712 (test_repeat_bytes): Likewise.
713 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
716 2014-04-16 Keith Seitz <keiths@redhat.com>
719 * gdb.dwarf2/corrupt.c: New file.
720 * gdb.dwarf2/corrupt.exp: New file.
722 2014-04-16 Keith Seitz <keiths@redhat.com>
725 * gdb.cp/namelessclass.cc: New file.
726 * gdb.cp/namelessclass.exp: New file.
727 * gdb.cp/namelessclass.S: New file.
729 2014-04-16 Doug Evans <dje@google.com>
731 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
733 (gdbserver_default_get_comm_port): New function.
734 (gdbserver_start): Check if board file provided
735 "gdbserver,get_comm_port" and use it if so.
736 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
737 (gdb,socketport): Set to "stdio".
738 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
739 (stdio_gdbserver_template): Delete.
740 (${board}_get_remote_address): Update.
741 (${board}_build_remote_cmd): Delete.
742 (${board}_get_comm_port): New function.
743 (${board}_spawn): Update.
744 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
746 (${board}_get_remote_address): Update.
747 (${board}_get_comm_port): New function.
749 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
751 * gdb.base/memattr.exp: Improve regexps to handle memory regions
752 appearing in any order.
754 2014-04-15 Doug Evans <dje@google.com>
756 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
757 uninitialized value of "description".
759 2014-04-15 Keith Seitz <keiths@redhat.com>
761 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
762 Remove unused globals.
763 (test_running_the_program): Likewise.
764 (test_controlled_execution): Likewise.
765 (test_controlling_breakpoints): Likewise.
766 (test_program_termination): Likewise.
768 2014-04-15 Keith Seitz <keiths@redhat.com>
770 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
772 (test_rbreak_creation_and_listing): Likewise.
773 (test_ignore_count): Likewise.
774 (test_error): Likewise.
776 2014-04-15 Pedro Alves <palves@redhat.com>
778 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
779 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
781 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
782 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
783 to sym-file-loader.c.
784 (struct library): Forward declare.
785 (load_shlib, lookup_function): Change prototypes.
786 (find_shstrtab, find_strtab, find_shdr, find_symtab)
787 (translate_offset): Remove declarations.
788 (get_text_addr): New declaration.
789 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
790 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
792 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
793 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
794 here from sym-file-loader.h.
795 (struct library): New structure.
796 (load_shlib, lookup_function): Change prototypes and adjust to
797 work with a struct library.
798 (find_shstrtab, find_strtab, find_shdr, find_symtab)
799 (translate_offset): Make static.
800 (get_text_addr): New function.
801 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
803 2014-04-15 Pedro Alves <palves@redhat.com>
805 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
807 2014-04-15 Pedro Alves <palves@redhat.com>
809 * gdb.base/sym-file-loader.c: Include <limits.h>.
810 (SELF_LINK): New define.
811 (get_origin): New function.
812 (load_shlib): Use it.
813 * gdb.base/sym-file.exp: Don't early return if the target is
814 remote. Use runto_main, and issue fail is that fails. Use
816 (shlib_name): Delete.
817 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
819 2014-04-15 Pedro Alves <palves@redhat.com>
821 * gdb.base/sym-file.exp: Remove regex characters from test
822 message. Don't refer to breakpoint numbers in test messages.
824 2014-04-14 Keith Seitz <keiths@redhat.com>
827 * gdb.cp/var-tag.cc: New file.
828 * gdb.cp/var-tag.exp: New file.
829 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
830 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
831 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
832 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
834 2014-04-14 Tom Tromey <tromey@redhat.com>
836 * gdb.cp/classes.exp (test_enums): Handle underlying type.
837 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
839 * gdb.cp/enum-class.exp: New file.
840 * gdb.cp/enum-class.cc: New file.
842 2014-04-14 Tom Tromey <tromey@redhat.com>
844 * gdb.dwarf2/enum-type.exp: New file.
846 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
848 * gdb.mi/mi-vla-c99.exp: New file.
849 * gdb.mi/vla.c: New file.
851 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
853 * gdb.base/vla-datatypes.c: New file.
854 * gdb.base/vla-datatypes.exp: New file.
856 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
858 * gdb.base/vla-ptr.c: New file.
859 * gdb.base/vla-ptr.exp: New file.
861 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
863 * gdb.dwarf2/count.exp: New file.
865 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
867 * gdb.base/vla-sideeffect.c: New file.
868 * gdb.base/vla-sideeffect.exp: New file.
870 2014-04-14 David Blaikie <dblaikie@gmail.com>
872 * gdb.mi/non-stop.c: Add return value for non-void function return
874 * gdb.threads/staticthreads.c: Ditto.
876 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
877 Doug Evans <xdje42@gmail.com>
879 * gdb.guile/scm-value.c: Improve test case.
880 * gdb.guile/scm-value.exp: Add new test.
882 2014-04-11 David Blaikie <dblaikie@gmail.com>
884 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
885 override Clang's default.
887 2014-04-11 Joel Brobecker <brobecker@adacore.com>
889 Revert the following changes (regressions):
891 * gdb.base/vla-sideeffect.c: New file.
892 * gdb.base/vla-sideeffect.exp: New file.
894 * gdb.dwarf2/count.exp: New file.
896 * gdb.base/vla-multi.c: New file.
897 * gdb.base/vla-multi.exp: New file.
899 * gdb.base/vla-ptr.c: New file.
900 * gdb.base/vla-ptr.exp: New file.
902 * gdb.base/vla-datatypes.c: New file.
903 * gdb.base/vla-datatypes.exp: New file.
905 * gdb.mi/mi-vla-c99.exp: New file.
906 * gdb.mi/vla.c: New file.
908 2014-04-11 Keith Seitz <keiths@redhat.com>
911 * gdb.cp/cpsizeof.exp: New file.
912 * gdb.cp/cpsizeof.cc: New file.
914 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
916 * gdb.mi/mi-vla-c99.exp: New file.
917 * gdb.mi/vla.c: New file.
919 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
921 * gdb.base/vla-datatypes.c: New file.
922 * gdb.base/vla-datatypes.exp: New file.
924 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
926 * gdb.base/vla-ptr.c: New file.
927 * gdb.base/vla-ptr.exp: New file.
929 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
931 * gdb.base/vla-multi.c: New file.
932 * gdb.base/vla-multi.exp: New file.
934 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
936 * gdb.dwarf2/count.exp: New file.
938 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
940 * gdb.base/vla-sideeffect.c: New file.
941 * gdb.base/vla-sideeffect.exp: New file.
943 2014-04-11 Yao Qi <yao@codesourcery.com>
945 * gdb.base/completion.exp: Check file exists before running tests
948 2014-04-10 Pedro Alves <palves@redhat.com>
950 * gdb.base/cond-eval-mode.c: New file.
951 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
952 prepare_for_testing to build the new file. Check result of
954 (test_break, test_watch): New procedures.
955 (top level): Use them.
957 2014-04-08 Pierre Muller <muller@sourceware.org>
959 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
960 Ctrl-V use for mingw hosts.
962 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
964 * gdb.python/py-value.c: Improve test case.
965 * gdb.python/py-value.exp: Add new test.
967 2014-04-07 David Blaikie <dblaikie@gmail.com>
969 * lib/compiler.c: Identify the clang compiler.
970 * lib/compiler.cc: Ditto.
972 2014-04-03 Yao Qi <yao@codesourcery.com>
974 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
976 2014-04-01 Anton Blanchard <anton@samba.org>
978 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
981 2014-04-01 Anton Blanchard <anton@samba.org>
983 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
986 2014-04-01 Anton Blanchard <anton@samba.org>
988 * gdb.arch/ppc64-atomic-inst.c: Remove.
989 * gdb.arch/ppc64-atomic-inst.S: New file.
990 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
992 2014-03-31 Doug Evans <dje@google.com>
994 * gdb.base/print-symbol-loading-lib.c: New file.
995 * gdb.base/print-symbol-loading-main.c: New file.
996 * gdb.base/print-symbol-loading.exp: New file.
998 2014-03-31 Yao Qi <yao@codesourcery.com>
1000 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1002 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1004 * gdb.ada/mi_dyn_arr: New testcase.
1006 2014-03-27 Doug Evans <dje@google.com>
1008 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1010 2014-03-27 Yao Qi <yao@codesourcery.com>
1012 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1013 if target is nios2-*-*.
1015 2014-03-26 Yao Qi <yao@codesourcery.com>
1017 * lib/gdb.exp (readline_is_used): New proc.
1018 * gdb.base/completion.exp: Move tests on command complete up.
1019 Skip the rest of tests if readline is not used.
1020 * gdb.ada/complete.exp: Skp the test if readline is not
1022 * gdb.base/filesym.exp: Likewise.
1023 * gdb.base/macscp.exp: Likewise.
1024 * gdb.base/readline-ask.exp: Likewise.
1025 * gdb.base/readline.exp: Likewise.
1026 * gdb.python/py-cmd.exp: Likewise.
1027 * gdb.trace/tfile.exp: Likewise.
1029 2014-03-26 Yao Qi <yao@codesourcery.com>
1031 * gdb.base/macscp.exp: Fix code format issues.
1033 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1035 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1036 * gdb.asm/powerpc64le.inc: New file.
1038 2014-03-25 Pedro Alves <palves@redhat.com>
1039 Doug Evans <dje@google.com>
1041 * gdb.base/source-execution.c: New file.
1042 * gdb.base/source-execution.exp: New file.
1043 * gdb.base/source-execution.gdb: New file.
1045 2014-03-24 Doug Evans <dje@google.com>
1047 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1050 2014-03-24 Hui Zhu <hui@codesourcery.com>
1051 Pedro Alves <palves@redhat.com>
1053 PR breakpoints/16101
1054 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1055 test pass/fail messages. Detect missing support for dprintf when
1056 breakpoints are actually inserted.
1057 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1058 breakpoints are actually inserted.
1059 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1062 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1064 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1066 2014-03-22 Doug Evans <xdje42@gmail.com>
1068 * gdb.python/python.exp (python not supported): Verify multi-line
1069 python command issues an error.
1070 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1071 guile command issues an error.
1073 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1075 * gdb.threads/thread-specific.exp: Handle the lack of usable
1076 $this_breakpoint and $this_thread.
1078 2014-03-21 Hui Zhu <hui@codesourcery.com>
1080 * gdb.base/attach.exp (do_command_attach_tests): New.
1082 2014-03-20 Tom Tromey <tromey@redhat.com>
1083 Pedro Alves <palves@redhat.com>
1086 * gdb.base/condbreak-call-false.c: New file.
1087 * gdb.base/condbreak-call-false.exp: New file.
1089 2014-03-20 Pedro Alves <palves@redhat.com>
1091 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1093 (block_signals, unblock_signals): Delete.
1094 (child_function_2, main): Remove references to deleted variable
1097 2014-03-20 Pedro Alves <palves@redhat.com>
1099 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1100 Use pthread_kill to signal thread 2.
1101 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1102 Adjust to make the test send itself a signal rather than using the
1103 host's "kill" command.
1105 2014-03-20 Pedro Alves <palves@redhat.com>
1107 * gdb.threads/multiple-step-overs.c: New file.
1108 * gdb.threads/multiple-step-overs.exp: New file.
1109 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1110 Adjust expected infrun debug output.
1112 2014-03-20 Pedro Alves <palves@redhat.com>
1114 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1115 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1117 2014-03-20 Pedro Alves <palves@redhat.com>
1120 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1121 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1122 of gdb_test_multiple.
1123 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1124 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1126 2014-03-20 Pedro Alves <palves@redhat.com>
1128 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1129 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1131 2014-03-19 Pedro Alves <palves@redhat.com>
1133 * gdb.base/async.exp: Remove early return.
1135 2014-03-19 Pedro Alves <palves@redhat.com>
1137 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1139 2014-03-19 Pedro Alves <palves@redhat.com>
1141 * gdb.base/async.exp (test_background): Expect \r\n after
1142 "completed." in the fail pattern.
1144 2014-03-19 Pedro Alves <palves@redhat.com>
1146 * gdb.base/async.exp (test_background): New procedure.
1147 Use it for all background execution command tests.
1149 2014-03-19 Pedro Alves <palves@redhat.com>
1151 * gdb.base/async.exp: Use prepare_for_testing.
1153 2014-03-19 Pedro Alves <palves@redhat.com>
1155 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1158 2014-03-19 Pedro Alves <palves@redhat.com>
1160 * gdb.base/async.c (main): Add "jump here" and "until here" line
1162 * gdb.base/async.exp (jump_here): New global.
1163 (jump& test): Use it.
1164 (until_here): New global.
1165 (until& test): Use it.
1167 2014-03-19 Pedro Alves <palves@redhat.com>
1169 * gdb.base/async.exp: Don't frob gdb_protocol.
1171 2014-03-18 Doug Evans <xdje42@gmail.com>
1173 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1174 Fix spelling of exec-done-display.
1176 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1179 * gdb.base/gdb-sigterm.c: New file.
1180 * gdb.base/gdb-sigterm.exp: New file.
1182 2014-03-18 Pedro Alves <palves@redhat.com>
1185 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1186 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1189 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1191 * gdb.ada/pckd_arr_ren: New testcase.
1193 2014-03-13 Doug Evans <xdje42@gmail.com>
1196 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1197 collect after discarding symbols.
1199 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1200 Doug Evans <xdje42@gmail.com>
1202 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1203 to history survives a gc.
1205 2014-03-13 Pedro Alves <palves@redhat.com>
1207 * gdb.base/default.exp: Don't test "target procfs".
1209 2014-03-13 Pedro Alves <palves@redhat.com>
1211 * gdb.base/default.exp: Update "target child" and "target procfs"
1212 tests to not expect "Unix".
1214 2014-03-12 Tom Tromey <tromey@redhat.com>
1216 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1217 New procs. Add target-async tests.
1218 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1219 Add target-async tests.
1221 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1223 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1224 'func_start' and 'func_end' for the beginning and end of the
1225 function code, respectively.
1226 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1227 'func_end' instead of 'func' and 'main'.
1229 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1231 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1232 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1233 generate the debug info assembler source.
1235 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1237 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1238 * gdb.dwarf2/arr-subrange.exp: Likewise.
1239 * gdb.dwarf2/dwz.exp: Likewise.
1240 * gdb.dwarf2/method-ptr.exp: Likewise.
1241 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1242 * gdb.dwarf2/subrange.exp: Likewise.
1243 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1244 * gdb.dwarf2/implptrpiece.exp: Likewise.
1245 * gdb.dwarf2/nostaticblock.exp: Likewise.
1247 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1249 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1250 directory to absolute path name arguments.
1252 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1254 * gdb.ada/tagged_access: New testcase.
1256 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1258 * gdb.btrace/data.exp: Update expected output.
1260 2014-03-06 Yao Qi <yao@codesourcery.com>
1262 * gdb.trace/pr16508.exp: New file.
1264 2014-03-05 Pedro Alves <palves@redhat.com>
1267 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1269 (top level): Adjust to use it. Add tests that exercise breakpoint
1270 interaction with the code-cache.
1272 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1274 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1275 test for 'history-append!'.
1277 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1279 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1280 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1281 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1282 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1283 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1284 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1286 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1288 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1289 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1290 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1292 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1294 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1296 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1298 * gdb.dwarf2/arr-stride.c: New file.
1299 * gdb.dwarf2/arr-stride.exp: New file.
1301 2014-02-26 Pedro Alves <palves@redhat.com>
1303 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1304 that won't ever trigger. Make sure that GDB reports the correct
1305 breakpoint that caused the stop.
1307 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1310 * gdb.base/auto-load-script: New file.
1311 * gdb.base/auto-load.c: New file.
1312 * gdb.base/auto-load.exp: New file.
1315 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1317 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1319 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1320 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1322 2014-02-24 Doug Evans <dje@google.com>
1324 * lib/gdb.exp (run_on_host): Log error output if program fails.
1326 2014-02-21 Pedro Alves <palves@redhat.com>
1328 * gdb.threads/step-after-sr-lock.c: Rename to ...
1329 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1330 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1331 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1334 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1337 * gdb.arch/amd64-stap-special-operands.exp: New file.
1338 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1339 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1340 * gdb.arch/amd64-stap-triplet.S: Likewise.
1341 * gdb.arch/amd64-stap-triplet.c: Likewise.
1343 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1345 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1346 in .section pseudo-op.
1348 2014-02-20 lin zuojian <manjian2006@gmail.com>
1349 Joel Brobecker <brobecker@adacore.com>
1350 Doug Evans <xdje42@gmail.com>
1353 * gdb.dwarf2/dw2-icycle.S: New file.
1354 * gdb.dwarf2/dw2-icycle.c: New file.
1355 * gdb.dwarf2/dw2-icycle.exp: New file.
1357 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1359 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1360 operations on gdb.Value objects.
1361 * gdb.python/py-value-cc.exp: Add new test to test operations on
1364 2014-02-18 Doug Evans <dje@google.com>
1366 * Makefile.in (TESTS): New variable.
1367 (expanded_tests, expanded_tests_or_none): New variables
1368 (check-single): Pass $(expanded_tests_or_none) to runtest.
1369 (check-parallel): Only run tests in $(TESTS) if non-empty.
1370 (check/no-matching-tests-found): New rule.
1371 * README: Document TESTS makefile variable.
1373 2014-02-18 Doug Evans <dje@google.com>
1375 * Makefile.in (check-parallel): rm -rf outputs temp.
1377 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1379 Fix "ERROR: no fileid for" in the testsuite.
1380 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1382 2014-02-12 Doug Evans <dje@google.com>
1384 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1385 (MISCELLANEOUS): New variable.
1386 (clean): rm -rf $(MISCELLANEOUS).
1387 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1388 dwp live in the same directory as symlinks, with each symlink pointed
1389 to a differently named file in a different directory.
1391 2014-02-11 Doug Evans <dje@google.com>
1393 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1394 of Tcl file commands.
1396 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1398 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1401 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1403 * gdb.ada/tick_length_array_enum_idx: New testcase.
1405 2014-02-10 Doug Evans <xdje42@gmail.com>
1407 * configure.ac (AC_OUTPUT): Add gdb.guile.
1408 * configure: Regenerate.
1409 * lib/gdb-guile.exp: New file.
1410 * lib/gdb.exp (get_target_charset): New function.
1411 * gdb.base/help.exp: Update expected output from "apropos apropos".
1412 * gdb.guile/Makefile.in: New file.
1413 * gdb.guile/guile.exp: New file.
1414 * gdb.guile/scm-arch.c: New file.
1415 * gdb.guile/scm-arch.exp: New file.
1416 * gdb.guile/scm-block.c: New file.
1417 * gdb.guile/scm-block.exp: New file.
1418 * gdb.guile/scm-breakpoint.c: New file.
1419 * gdb.guile/scm-breakpoint.exp: New file.
1420 * gdb.guile/scm-disasm.c: New file.
1421 * gdb.guile/scm-disasm.exp: New file.
1422 * gdb.guile/scm-equal.c: New file.
1423 * gdb.guile/scm-equal.exp: New file.
1424 * gdb.guile/scm-error.exp: New file.
1425 * gdb.guile/scm-error.scm: New file.
1426 * gdb.guile/scm-frame-args.c: New file.
1427 * gdb.guile/scm-frame-args.exp: New file.
1428 * gdb.guile/scm-frame-args.scm: New file.
1429 * gdb.guile/scm-frame-inline.c: New file.
1430 * gdb.guile/scm-frame-inline.exp: New file.
1431 * gdb.guile/scm-frame.c: New file.
1432 * gdb.guile/scm-frame.exp: New file.
1433 * gdb.guile/scm-generics.exp: New file.
1434 * gdb.guile/scm-gsmob.exp: New file.
1435 * gdb.guile/scm-iterator.c: New file.
1436 * gdb.guile/scm-iterator.exp: New file.
1437 * gdb.guile/scm-math.c: New file.
1438 * gdb.guile/scm-math.exp: New file.
1439 * gdb.guile/scm-objfile-script-gdb.in: New file.
1440 * gdb.guile/scm-objfile-script.c: New file.
1441 * gdb.guile/scm-objfile-script.exp: New file.
1442 * gdb.guile/scm-objfile.c: New file.
1443 * gdb.guile/scm-objfile.exp: New file.
1444 * gdb.guile/scm-ports.exp: New file.
1445 * gdb.guile/scm-pretty-print.c: New file.
1446 * gdb.guile/scm-pretty-print.exp: New file.
1447 * gdb.guile/scm-pretty-print.scm: New file.
1448 * gdb.guile/scm-section-script.c: New file.
1449 * gdb.guile/scm-section-script.exp: New file.
1450 * gdb.guile/scm-section-script.scm: New file.
1451 * gdb.guile/scm-symbol.c: New file.
1452 * gdb.guile/scm-symbol.exp: New file.
1453 * gdb.guile/scm-symtab-2.c: New file.
1454 * gdb.guile/scm-symtab.c: New file.
1455 * gdb.guile/scm-symtab.exp: New file.
1456 * gdb.guile/scm-type.c: New file.
1457 * gdb.guile/scm-type.exp: New file.
1458 * gdb.guile/scm-value-cc.cc: New file.
1459 * gdb.guile/scm-value-cc.exp: New file.
1460 * gdb.guile/scm-value.c: New file.
1461 * gdb.guile/scm-value.exp: New file.
1462 * gdb.guile/source2.scm: New file.
1463 * gdb.guile/types-module.cc: New file.
1464 * gdb.guile/types-module.exp: New file.
1466 2014-02-10 Yao Qi <yao@codesourcery.com>
1469 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1470 * configure: Regenerated.
1471 * Makefile.in: New file.
1473 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1475 * gdb.python/py-framefilter.exp: Fix typo.
1477 2014-02-08 Yao Qi <yao@codesourcery.com>
1479 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1480 that no =breakpoint-modified is emitted when breakpoints are
1481 modified through MI commands.
1483 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1484 Pedro Alves <palves@redhat.com>
1486 * gdb.threads/step-after-sr-lock.c: New file.
1487 * gdb.threads/step-after-sr-lock.exp: New file.
1489 2014-02-07 Pedro Alves <palves@redhat.com>
1491 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1493 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1495 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1496 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1498 2014-02-06 Doug Evans <xdje42@gmail.com>
1500 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1503 * gdb.gdb/python-interrupts.exp: New file.
1505 2014-02-05 Yao Qi <yao@codesourcery.com>
1507 * gdb.trace/report.exp (use_collected_data): Test the output
1508 of "info threads" and "info inferiors".
1510 2014-02-05 Yao Qi <yao@codesourcery.com>
1514 2013-05-24 Yao Qi <yao@codesourcery.com>
1516 * gdb.trace/tfile.exp: Test inferior and thread.
1518 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1520 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1522 * gdb.base/step-bt.c: Call hello via function pointer to make
1523 sure its first instruction is executed on powerpc64le-linux.
1525 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1527 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1529 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1531 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1532 of the test patterns for use on little-endian systems.
1534 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1536 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1537 (decimal_vector): Fix for little-endian.
1539 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1541 * gdb.arch/sparc-sysstep.exp: New file.
1542 * gdb.arch/sparc-sysstep.c: Likewise.
1544 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1546 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1548 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1550 2014-01-23 Tom Tromey <tromey@redhat.com>
1552 * gdb.ada/array_char_idx: New testcase.
1554 2014-01-23 Tom Tromey <tromey@redhat.com>
1557 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1558 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1561 2014-01-23 Tom Tromey <tromey@redhat.com>
1564 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1565 string from an inferior frame.
1566 * gdb.python/py-framefilter-mi.exp: Update.
1568 2014-01-22 Doug Evans <dje@google.com>
1570 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1572 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1574 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1576 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1578 * gdb.trace/entry-values.exp: Remove excess space character from
1579 regex patterns. Handle s390 call instruction.
1581 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1583 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1584 define "*_start" label. Make "name" static.
1585 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1586 ${name} by references to ${name}_start.
1588 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1590 * gdb.base/info-macros.exp: Remove "debug" from the compile
1593 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1595 * gdb.dlang/demangle.exp: New file.
1597 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1599 * gdb.dlang/primitive-types.exp: New file.
1601 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1603 * configure.ac: Create gdb.dlang/Makefile.
1604 * configure: Regenerate.
1605 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1606 * gdb.dlang/Makefile.in: New file.
1607 * lib/d-support.exp: New file.
1608 * lib/gdb.exp (skip_d_tests): New proc.
1610 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1612 * gdb.btrace/delta.exp: Check reverse stepi.
1613 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1614 * gdb.btrace/finish.exp: New.
1615 * gdb.btrace/next.exp: New.
1616 * gdb.btrace/nexti.exp: New.
1617 * gdb.btrace/record_goto.c: Add comments.
1618 * gdb.btrace/step.exp: New.
1619 * gdb.btrace/stepi.exp: New.
1620 * gdb.btrace/multi-thread-step.c: New.
1621 * gdb.btrace/multi-thread-step.exp: New.
1622 * gdb.btrace/rn-dl-bind.c: New.
1623 * gdb.btrace/rn-dl-bind.exp: New.
1624 * gdb.btrace/data.c: New.
1625 * gdb.btrace/data.exp: New.
1626 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1628 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1630 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1631 * gdb.btrace/exception.exp: Update.
1632 * gdb.btrace/instruction_history.exp: Update.
1633 * gdb.btrace/record_goto.exp: Update.
1634 * gdb.btrace/tailcall.exp: Update.
1635 * gdb.btrace/unknown_functions.exp: Update.
1636 * gdb.btrace/delta.exp: New.
1638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1640 * gdb.btrace/record_goto.exp: Add backtrace test.
1641 * gdb.btrace/tailcall.exp: Add backtrace test.
1643 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1645 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1646 * gdb.btrace/record_goto.c: New.
1647 * gdb.btrace/record_goto.exp: New.
1648 * gdb.btrace/x86-record_goto.S: New.
1650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1652 * gdb.btrace/function_call_history.exp: Update tests.
1653 * gdb.btrace/instruction_history.exp: Update tests.
1655 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1657 * gdb.btrace/function_call_history.exp: Fix expected field
1658 order for "record function-call-history".
1659 Add new tests for "record function-call-history /c".
1660 * gdb.btrace/exception.cc: New.
1661 * gdb.btrace/exception.exp: New.
1662 * gdb.btrace/tailcall.exp: New.
1663 * gdb.btrace/x86-tailcall.S: New.
1664 * gdb.btrace/x86-tailcall.c: New.
1665 * gdb.btrace/unknown_functions.c: New.
1666 * gdb.btrace/unknown_functions.exp: New.
1667 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1671 * gdb.btrace/instruction_history.exp: Update.
1672 * gdb.btrace/function_call_history.exp: Update.
1674 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1676 * gdb.btrace/function_call_history.exp: Fix expected function
1678 * gdb.btrace/instruction_history.exp: Initialize traced.
1679 Remove traced_functions.
1681 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1683 * gdb.btrace/function_call_history.exp: Update
1684 * gdb.btrace/instruction_history.exp: Update.
1686 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1688 * gdb.btrace/enable.exp: Update expected text.
1690 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1692 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1695 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1697 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1699 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1701 * lib/gdb.exp (supports_process_record): Return true for
1702 arm*-linux*. (supports_reverse): Likewise.
1704 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1708 * gdb.python/py-type.c: Enhance test case.
1709 * gdb.python/py-value-cc.cc: Likewise
1710 * gdb.python/py-type.exp: Add new tests.
1711 * gdb.python/py-value-cc.exp: Likewise
1713 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1714 Pedro Alves <palves@redhat.com>
1716 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1718 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1719 references to ${name}_start by references to ${name}.
1721 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1723 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1725 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1727 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1729 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1730 Pedro Alves <palves@redhat.com>
1732 * gdb.mi/mi-info-os.exp: Connect to the target with
1735 2014-01-08 Pedro Alves <palves@redhat.com>
1737 * gdb.threads/reconnect-signal.c: New file.
1738 * gdb.threads/reconnect-signal.exp: New file.
1740 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1742 * gdb.base/source-dir.exp: New file.
1744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1746 * gdb.ada/mi_interface: New testcase.
1748 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1750 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1751 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1752 gdb.ada/pp-rec-component/pck.ads: New files.
1754 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1756 * gdb.python/py-pp-integral.c: New file.
1757 * gdb.python/py-pp-integral.py: New file.
1758 * gdb.python/py-pp-integral.exp: New file.
1760 For older changes see ChangeLog-1993-2013.
1766 ;; version-control: never
1769 Copyright 2014 Free Software Foundation, Inc.
1770 Copying and distribution of this file, with or without modification,
1771 are permitted provided the copyright notice and this notice are preserved.