1 2014-06-06 Gary Benson <gbenson@redhat.com>
3 * gdb.base/call-signals.c: Remove preprocessor conditionals
4 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6 * gdb.base/sigall.c: Likewise.
7 * gdb.base/unwindonsignal.c: Likewise.
8 * gdb.reverse/sigall-reverse.c: Likewise.
10 2014-06-06 Yao Qi <yao@codesourcery.com>
12 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13 readable, skip the test.
15 2014-06-06 Yao Qi <yao@codesourcery.com>
17 * gdb.threads/staticthreads.c (thread_function): Move the line
18 setting breakpoint on forward.
19 * gdb.threads/staticthreads.exp: Update comments.
21 2014-06-05 Ludovic Courtès <ludo@gnu.org>
23 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
24 "history-append! type error".
26 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
28 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
29 erroneous dprintf expected input.
31 2014-06-04 Doug Evans <xdje42@gmail.com>
33 * gdb.guile/scm-generics.exp: Delete.
35 2014-06-04 Doug Evans <xdje42@gmail.com>
37 * gdb.guile/scm-breakpoint.exp: Update.
38 Add tests for breakpoint registration.
40 2014-06-04 Tom Tromey <tromey@redhat.com>
42 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
44 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
45 inner_vla_struct, vla_union types. Initialize objects of those
46 types and compute their sizes.
48 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
49 Hui Zhu <hui@codesourcery.com>
51 * gdb.base/fileio.exp: Add test for shell not available as well as
53 * gdb.base/fileio.c (test_system): Check for shell twice.
55 2014-06-04 Yao Qi <yao@codesourcery.com>
57 * gdb.base/auto-connect-native-target.exp: Remove redundant
58 space from the regexp pattern.
60 2014-06-04 Yao Qi <yao@codesourcery.com>
62 * gdb.base/default.exp: Replace "child" with "native" in
65 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
67 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
68 * gdb.python/py-xmethods.exp: New tests to test xmethods.
69 * gdb.python/py-xmethods.py: Python script supporting the
70 new testcase and tests.
72 2014-06-03 Joel Brobecker <brobecker@adacore.com>
73 Pedro Alves <palves@redhat.com>
76 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
77 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
79 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
81 * gdb.base/subst.exp: Add tests to verify partial path matching
84 2014-06-03 Pedro Alves <palves@redhat.com>
86 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
87 target that doesn't use software single-stepping.
89 2014-06-03 Pedro Alves <palves@redhat.com>
92 * gdb.base/sss-bp-on-user-bp-2.c: New file.
93 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
95 2014-06-02 Doug Evans <xdje42@gmail.com>
97 * gdb.guile/scm-parameter.exp: New file.
99 2014-06-02 Doug Evans <xdje42@gmail.com>
101 * gdb.guile/scm-cmd.c: New file.
102 * gdb.guile/scm-cmd.exp: New file.
104 2014-06-02 Doug Evans <xdje42@gmail.com>
106 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
107 pretty-printer lookup.
108 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
109 (make-pp_s-printer): Call it.
110 (make-pretty-printer-from-dict): New function.
111 (lookup-pretty-printer-maker-from-dict): New function.
112 (*pretty-printer*): Simplify.
113 (make-objfile-pp_s-printer): New function.
114 (install-objfile-pretty-printers!): New function.
115 (make-progspace-pp_s-printer): New function.
116 (install-progspace-pretty-printers!): New function.
117 * gdb.guile/scm-progspace.c: New file.
118 * gdb.guile/scm-progspace.exp: New file.
120 2014-06-02 Pedro Alves <palves@redhat.com>
122 * gdb.base/dprintf-bp-same-addr.c: New file.
123 * gdb.base/dprintf-bp-same-addr.exp: New file.
125 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
127 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
128 * gdb.arch/powerpc-power.s: Likewise.
130 2014-06-02 Joel Brobecker <brobecker@adacore.com>
132 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
134 2014-06-01 Yao Qi <yao@codesourcery.com>
136 * gdb.base/watchpoint.exp (test_watch_location): Check null
137 pointer can be dereferenced. If not, do the test, otherwise
140 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
142 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
144 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
146 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
148 * gdb.arch/amd64-invalid-stack-middle.S: New file.
149 * gdb.arch/amd64-invalid-stack-middle.c: New file.
150 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
151 * gdb.arch/amd64-invalid-stack-top.c: New file.
152 * gdb.arch/amd64-invalid-stack-top.exp: New file.
154 2014-05-30 Pedro Alves <palves@redhat.com>
157 * gdb.base/sss-bp-on-user-bp.c: New file.
158 * gdb.base/sss-bp-on-user-bp.exp: New file.
160 2014-05-30 David Blaikie <dblaikie@gmail.com>
162 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
163 gnu_inline semantics via attribute.
164 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
165 source explicitly specifies the required semantics.
167 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
169 * gdb.reverse/sigall-reverse.exp: Fix a typo.
171 2014-05-29 Pedro Alves <palves@redhat.com>
172 Tom Tromey <tromey@redhat.com>
174 * gdb.base/async-shell.exp: Don't enable target-async.
176 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
178 (top level): Don't test with "target-async".
179 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
180 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
181 * gdb.base/inferior-died.exp: Don't enable target-async.
182 * gdb.base/interrupt-noterm.exp: Likewise.
183 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
184 * gdb.mi/mi-nonstop-exit.exp: Likewise.
185 * gdb.mi/mi-nonstop.exp: Likewise.
186 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
187 * gdb.mi/mi-nsintrall.exp: Likewise.
188 * gdb.mi/mi-nsmoribund.exp: Likewise.
189 * gdb.mi/mi-nsthrexec.exp: Likewise.
190 * gdb.mi/mi-watch-nonstop.exp: Likewise.
191 * gdb.multi/watchpoint-multi.exp: Adjust comment.
192 * gdb.python/py-evsignal.exp: Don't enable target-async.
193 * gdb.python/py-evthreads.exp: Likewise.
194 * gdb.python/py-prompt.exp: Likewise.
195 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
196 * gdb.server/solib-list.exp: Don't enable target-async.
197 * gdb.threads/thread-specific-bp.exp: Likewise.
198 * lib/mi-support.exp: Adjust to use mi-async.
200 2014-05-29 Pedro Alves <palves@redhat.com>
203 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
204 reason, even in sync mode.
206 2014-05-29 Pedro Alves <palves@redhat.com>
207 Hui Zhu <hui@codesourcery.com>
210 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
211 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
212 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
213 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
215 2014-05-28 Joel Brobecker <brobecker@adacore.com>
217 * config/monitor.exp (gdb_target_monitor): Replace use of
218 "set remotebaud" by "set serial baud".
220 2014-05-26 Andy Wingo <wingo@igalia.com>
222 * gdb.guile/scm-breakpoint.exp:
223 * gdb.guile/scm-gsmob.exp: Update to use plain old object
224 properties instead of gdb-object-properties.
226 2014-05-26 Yao Qi <yao@codesourcery.com>
228 * gdb.server/no-thread-db.exp: Specify source file name
229 explicitly when setting a breakpoint.
231 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
233 * gdb.btrace/vdso.c: New.
234 * gdb.btrace/vdso.exp: New.
236 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
238 * gdb.base/gcore.exp (capture_command_output): Move ...
239 * lib/gdb.exp (capture_command_output): ... here.
241 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
243 * gdb.btrace/data.exp: Test memory access during btrace replay.
245 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
247 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
249 2014-05-21 Pedro Alves <palves@redhat.com>
252 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
253 (top level): Test that output related to execution commands is
254 sent to the console with CLI commands, but not with MI commands.
255 Test that breakpoint events are always mirrored to the console.
256 Also expect the new source line to be output after a "next" in
257 async mode too. Make it a pass/fail test.
258 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
260 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
262 2014-05-21 Pedro Alves <palves@redhat.com>
264 * gdb.base/list.exp (build_pattern, test_list): New procedures.
265 Use them to test variations of "list" after reaching a breakpoint.
266 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
267 Test "list" with listsize 10 after reaching a breakpoint.
268 * gdb.python/python.exp (decode_line current location line
269 number): Adjust expected line number.
271 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
273 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
274 behavior for $args, pass it directly to "run".
276 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
278 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
281 2014-05-21 Pedro Alves <palves@redhat.com>
283 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
284 auto-connect-native-target off".
285 * gdb.base/auto-connect-native-target.c: New file.
286 * gdb.base/auto-connect-native-target.exp: New file.
288 2014-05-21 Pedro Alves <palves@redhat.com>
290 * gdb.base/default.exp: Test "target native" instead of "target
293 2014-05-21 Mark Wielaard <mjw@redhat.com>
295 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
297 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
299 Fix TLS access for -static -pthread.
300 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
301 <HAVE_TLS> (thread_function, main): Initialize it.
302 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
304 <$have_tls != "">: Check TLSVAR.
306 2014-05-21 Pedro Alves <palves@redhat.com>
308 * gdb.base/dcache-line-read-error.c: New.
309 * gdb.base/dcache-line-read-error.exp: New.
311 2014-05-20 Pedro Alves <palves@redhat.com>
313 * gdb.base/compare-sections.c: New file.
314 * gdb.base/compare-sections.exp: New file.
316 2014-05-20 Pedro Alves <palves@redhat.com>
318 * gdb.base/break-idempotent.c: New file.
319 * gdb.base/break-idempotent.exp: New file.
321 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
323 * gdb.btrace/nohist.exp: New.
325 2014-05-20 Yao Qi <yao@codesourcery.com>
327 * lib/gdb.exp (gdb_init): Set timeout if test file is under
328 gdb.reverse directory and gdb_reverse_timeout exists in board
330 * README: Document gdb_reverse_timeout.
332 2014-05-20 Yao Qi <yao@codesourcery.com>
334 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
335 'test_file_name'. Treat args as a string instead of a list.
336 (gdb_init): Rename argument 'args' by 'test_file_name'.
338 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
340 * gdb.arch/powerpc-power.exp: New file.
341 * gdb.arch/powerpc-power.s: New file.
343 2014-05-16 Doug Evans <dje@google.com>
345 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
346 * gdb.base/completion.exp: Check that all expected files exist
347 before doing file completion.
349 2014-05-16 Doug Evans <dje@google.com>
351 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
353 (do_syscall_tests_without_xml): Update.
355 2014-05-16 Pedro Alves <palves@redhat.com>
357 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
358 instead of "unknown output after running".
360 2014-05-16 Yao Qi <yao@codesourcery.com>
362 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
363 file1.txt from host at the end.
364 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
366 2014-05-15 Doug Evans <dje@google.com>
368 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
369 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
370 loading file. Add test for TU lookup.
372 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
374 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
375 calling "-exec-arguments" or "set args" before running the
378 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
380 * lib/mi-support.exp (mi_expect_stop): Expect message for
381 inferiors that exit with non-zero exit code.
383 2014-05-14 Yao Qi <yao@codesourcery.com>
385 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
386 match absolute path on remote host.
387 (test_file_list_exec_source_files): Remove "/" from the
390 2014-05-14 Yao Qi <yao@codesourcery.com>
392 * boards/local-remote-host-notty.exp (${board}_file): New
395 2014-05-07 Kyle McMartin <kyle@redhat.com>
397 Pushed by Joel Brobecker <brobecker@adacore.com>.
398 * gdb.arch/aarch64-atomic-inst.c: New file.
399 * gdb.arch/aarch64-atomic-inst.exp: New file.
401 2014-05-07 Yao Qi <yao@codesourcery.com>
403 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
404 in current context" too.
406 2014-05-05 Keith Seitz <keiths@redhat.com>
408 * gdb.linespec/ls-dollar.exp: Add test for linespec
409 file:convenience_variable.
411 2014-05-05 Yao Qi <yao@codesourcery.com>
413 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
414 traceframes into tfile and ctf trace files. Read data from
415 trace file and test collected data.
416 (gdb_collect_locals_test): Likewise.
417 (gdb_unavailable_registers_test): Likewise.
418 (gdb_unavailable_floats): Likewise.
419 (gdb_collect_globals_test): Likewise.
420 (top-level): Append "ctf" to trace_file_targets if GDB
423 2014-05-05 Yao Qi <yao@codesourcery.com>
425 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
427 (gdb_collect_args_test_1): ... it. New proc.
428 (gdb_collect_locals_test): Move some code to ...
429 (gdb_collect_locals_test_1): ... it. New proc.
430 (gdb_unavailable_registers_test): Move some code to ...
431 (gdb_unavailable_registers_test_1): ... it. New proc.
432 (gdb_unavailable_floats): Move some code to ...
433 (gdb_unavailable_floats_1): ... it. New proc.
435 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
437 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
438 probes to test for bitness recognition.
439 * gdb.arch/amd64-stap-optional-prefix.exp
440 (test_probe_value_without_reg): New procedure.
441 Add code to test for different kinds of bitness.
443 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
446 * gdb.arch/amd64-stap-optional-prefix.S: New file.
447 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
449 2014-05-01 Pedro Alves <palves@redhat.com>
451 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
452 gdb_file_cmd if no file is specified.
453 * boards/native-extended-gdbserver.exp (gdb_load): Use the
454 last_loaded_file to set the remote exec-file.
456 2014-05-01 Pedro Alves <palves@redhat.com>
458 * boards/local-remote-host.exp: New file.
460 2014-05-01 Pedro Alves <palves@redhat.com>
462 * boards/local-remote-host.exp: Rename to ...
463 * boards/local-remote-host-notty.exp: ... this.
465 2014-04-28 Joel Brobecker <brobecker@adacore.com>
467 * gdb.ada/dyn_arrayidx: New testcase.
469 2014-04-26 Yao Qi <yao@codesourcery.com>
471 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
472 and compute the length of function main. Save it in
474 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
475 (top-level): Use gdb_compile to compile objects into
476 executable and restart GDB. Remove invocation to
479 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
480 Pedro Alves <palves@redhat.com>
483 * gdb.multi/multi-attach.c: New file.
484 * gdb.multi/multi-attach.exp: New file.
486 2014-04-25 Pedro Alves <palves@redhat.com>
488 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
490 (top level): Test that "set remote conditional-breakpoints-packet
491 off" works as intended.
492 * gdb.base/dprintf.exp: Test that "set remote
493 breakpoint-commands-packet off" works as intended.
494 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
496 (top level): Call it.
497 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
498 remote fast-tracepoints-packet off" works as intended.
499 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
500 * lib/gdb.exp (gdb_is_target_remote): ... here.
502 2014-04-24 David Blaikie <dblaikie@gmail.com>
504 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
505 ensure clang would not discard them.
506 * gdb.base/gdbvars.c: Ditto.
507 * gdb.base/memattr.c: Ditto.
508 * gdb.base/whatis.c: Ditto.
509 * gdb.python/py-prettyprint.c: Ditto.
510 * gdb.trace/actions.c: Ditto.
511 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
512 ensure clang would not discard it.
514 2014-04-24 David Blaikie <dblaikie@gmail.com>
516 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
517 clang to emit the full definition of type required by the test
518 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
520 2014-04-24 David Blaikie <dblaikie@gmail.com>
522 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
523 coax Clang into emitting the definition of the type.
524 * gdb.cp/pr10728-x.h (y): Ditto.
525 * gdb.cp/pr10728-y.cc (y): Ditto.
527 2014-04-24 David Blaikie <dblaikie@gmail.com>
529 * gdb.base/label.exp: XFAIL label related tests under Clang.
530 * gdb.cp/cplabel.exp: Ditto.
531 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
532 under Clang those using labels.
534 2014-04-25 Yao Qi <yao@codesourcery.com>
536 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
538 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
539 partial_label and double_label.
541 2014-04-24 David Blaikie <dblaikie@gmail.com>
543 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
545 2014-04-24 David Blaikie <dblaikie@gmail.com>
547 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
548 of the function to work across GCC and Clang.
549 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
550 pointer types (const void ** const V void **).
552 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
553 Walfred Tedeschi <walfred.tedeschi@intel.com>
555 * Makefile.in (EXECUTABLES): Added i386-avx512.
556 * gdb.arch/i386-avx512.c: New file.
557 * gdb.arch/i386-avx512.exp: Likewise.
559 2014-04-23 Keith Seitz <keiths@redhat.com>
561 * lib/mi-support.exp (mi_list_breakpoints): Delete.
562 (mi_make_breakpoint_table): New procedure.
563 (mi_create_breakpoint): Use mi_make_breakpoint
564 and return the result.
565 (mi_make_breakpoint): New procedure.
566 (mi_build_kv_pairs): New procedure.
568 * gdb.mi/mi-break.exp: Remove unused globals,
569 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
571 * gdb.mi/mi-dprintf.exp: Use variable to track command
573 Update all callers of mi_create_breakpoint and use
574 mi_make_breakpoint_table.
575 Remove any unused global variables.
576 * gdb.mi/mi-nonstop.exp: Likewise.
577 * gdb.mi/mi-nsintrall.exp: Likewise.
578 * gdb.mi/mi-nsmoribund.exp: Likewise.
579 * gdb.mi/mi-nsthrexec.exp: Likewise.
580 * gdb.mi/mi-reverse.exp: Likewise.
581 * gdb.mi/mi-simplerun.exp: Likewise.
582 * gdb.mi/mi-stepn.exp: Likewise.
583 * gdb.mi/mi-syn-frame.exp: Likewise.
584 * gdb.mi/mi-until.exp: Likewise.
585 * gdb.mi/mi-var-cp.exp: Likewise.
586 * gdb.mi/mi-var-display.exp: Likewise.
587 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
588 * gdb.mi/mi2-var-child.exp: Likewise.
589 * gdb.mi/mi-vla-c99.exp: Likewise.
590 * lib/mi-support.exp: Likewise.
592 From Ian Lance Taylor <iant@cygnus.com>:
593 * lib/gdb.exp (parse_args): New procedure.
595 2014-04-23 Pedro Alves <palves@redhat.com>
597 * gdb.base/break-unload-file.c: New file.
598 * gdb.base/break-unload-file.exp: New file.
599 * gdb.base/sym-file-lib.c (baz): New function.
600 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
602 (load): Store the segment's mapped size.
603 (unload): New function.
604 (unload_shlib): New function.
605 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
606 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
607 set a breakpoint at baz, and call it.
608 * gdb.base/sym-file.exp: New tests for stale breakpoint
611 2014-04-23 Pedro Alves <palves@redhat.com>
613 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
614 * gdb.base/hbreak-in-shr-unsupported.c: New file.
615 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
616 * gdb.base/hbreak-unmapped.c: New file.
617 * gdb.base/hbreak-unmapped.exp: New file.
618 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
619 * lib/gdb.exp (gdb_is_target_remote): ... here.
621 2014-04-22 Pedro Alves <palves@redhat.com>
623 * gdb.base/consecutive-step-over.c: New file.
624 * gdb.base/consecutive-step-over.exp: New file.
626 2014-04-22 Pedro Alves <palves@redhat.com>
628 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
629 instead of send_gdb/gdb_expect.
631 2014-04-22 Yao Qi <yao@codesourcery.com>
633 * lib/trace-support.exp (generate_tracefile): New procedure.
634 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
636 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
637 if generate_tracefile returns 1.
639 2014-04-18 Tom Tromey <palves@redhat.com>
640 Pedro alves <tromey@redhat.com>
643 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
644 with a backtrace limit.
645 * gdb.python/py-frame-inline.exp: Test running to an inline
646 function with a backtrace limit, and printing the newest frame.
647 * gdb.python/py-frame-inline.c (main): Call f.
649 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
651 * gdb.java/jnpe.exp: Drop srcdir from untested path.
653 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
655 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
656 Drop prefix from unsupported source file path.
658 2014-04-17 Yao Qi <yao@codesourcery.com>
660 * lib/gdb.exp (with_target_charset): New proc.
661 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
663 (test_print_strings): Likewise.
664 (test_repeat_bytes): Likewise.
665 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
668 2014-04-16 Keith Seitz <keiths@redhat.com>
671 * gdb.dwarf2/corrupt.c: New file.
672 * gdb.dwarf2/corrupt.exp: New file.
674 2014-04-16 Keith Seitz <keiths@redhat.com>
677 * gdb.cp/namelessclass.cc: New file.
678 * gdb.cp/namelessclass.exp: New file.
679 * gdb.cp/namelessclass.S: New file.
681 2014-04-16 Doug Evans <dje@google.com>
683 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
685 (gdbserver_default_get_comm_port): New function.
686 (gdbserver_start): Check if board file provided
687 "gdbserver,get_comm_port" and use it if so.
688 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
689 (gdb,socketport): Set to "stdio".
690 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
691 (stdio_gdbserver_template): Delete.
692 (${board}_get_remote_address): Update.
693 (${board}_build_remote_cmd): Delete.
694 (${board}_get_comm_port): New function.
695 (${board}_spawn): Update.
696 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
698 (${board}_get_remote_address): Update.
699 (${board}_get_comm_port): New function.
701 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
703 * gdb.base/memattr.exp: Improve regexps to handle memory regions
704 appearing in any order.
706 2014-04-15 Doug Evans <dje@google.com>
708 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
709 uninitialized value of "description".
711 2014-04-15 Keith Seitz <keiths@redhat.com>
713 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
714 Remove unused globals.
715 (test_running_the_program): Likewise.
716 (test_controlled_execution): Likewise.
717 (test_controlling_breakpoints): Likewise.
718 (test_program_termination): Likewise.
720 2014-04-15 Keith Seitz <keiths@redhat.com>
722 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
724 (test_rbreak_creation_and_listing): Likewise.
725 (test_ignore_count): Likewise.
726 (test_error): Likewise.
728 2014-04-15 Pedro Alves <palves@redhat.com>
730 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
731 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
733 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
734 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
735 to sym-file-loader.c.
736 (struct library): Forward declare.
737 (load_shlib, lookup_function): Change prototypes.
738 (find_shstrtab, find_strtab, find_shdr, find_symtab)
739 (translate_offset): Remove declarations.
740 (get_text_addr): New declaration.
741 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
742 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
744 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
745 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
746 here from sym-file-loader.h.
747 (struct library): New structure.
748 (load_shlib, lookup_function): Change prototypes and adjust to
749 work with a struct library.
750 (find_shstrtab, find_strtab, find_shdr, find_symtab)
751 (translate_offset): Make static.
752 (get_text_addr): New function.
753 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
755 2014-04-15 Pedro Alves <palves@redhat.com>
757 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
759 2014-04-15 Pedro Alves <palves@redhat.com>
761 * gdb.base/sym-file-loader.c: Include <limits.h>.
762 (SELF_LINK): New define.
763 (get_origin): New function.
764 (load_shlib): Use it.
765 * gdb.base/sym-file.exp: Don't early return if the target is
766 remote. Use runto_main, and issue fail is that fails. Use
768 (shlib_name): Delete.
769 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
771 2014-04-15 Pedro Alves <palves@redhat.com>
773 * gdb.base/sym-file.exp: Remove regex characters from test
774 message. Don't refer to breakpoint numbers in test messages.
776 2014-04-14 Keith Seitz <keiths@redhat.com>
779 * gdb.cp/var-tag.cc: New file.
780 * gdb.cp/var-tag.exp: New file.
781 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
782 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
783 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
784 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
786 2014-04-14 Tom Tromey <tromey@redhat.com>
788 * gdb.cp/classes.exp (test_enums): Handle underlying type.
789 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
791 * gdb.cp/enum-class.exp: New file.
792 * gdb.cp/enum-class.cc: New file.
794 2014-04-14 Tom Tromey <tromey@redhat.com>
796 * gdb.dwarf2/enum-type.exp: New file.
798 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
800 * gdb.mi/mi-vla-c99.exp: New file.
801 * gdb.mi/vla.c: New file.
803 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
805 * gdb.base/vla-datatypes.c: New file.
806 * gdb.base/vla-datatypes.exp: New file.
808 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
810 * gdb.base/vla-ptr.c: New file.
811 * gdb.base/vla-ptr.exp: New file.
813 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
815 * gdb.dwarf2/count.exp: New file.
817 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
819 * gdb.base/vla-sideeffect.c: New file.
820 * gdb.base/vla-sideeffect.exp: New file.
822 2014-04-14 David Blaikie <dblaikie@gmail.com>
824 * gdb.mi/non-stop.c: Add return value for non-void function return
826 * gdb.threads/staticthreads.c: Ditto.
828 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
829 Doug Evans <xdje42@gmail.com>
831 * gdb.guile/scm-value.c: Improve test case.
832 * gdb.guile/scm-value.exp: Add new test.
834 2014-04-11 David Blaikie <dblaikie@gmail.com>
836 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
837 override Clang's default.
839 2014-04-11 Joel Brobecker <brobecker@adacore.com>
841 Revert the following changes (regressions):
843 * gdb.base/vla-sideeffect.c: New file.
844 * gdb.base/vla-sideeffect.exp: New file.
846 * gdb.dwarf2/count.exp: New file.
848 * gdb.base/vla-multi.c: New file.
849 * gdb.base/vla-multi.exp: New file.
851 * gdb.base/vla-ptr.c: New file.
852 * gdb.base/vla-ptr.exp: New file.
854 * gdb.base/vla-datatypes.c: New file.
855 * gdb.base/vla-datatypes.exp: New file.
857 * gdb.mi/mi-vla-c99.exp: New file.
858 * gdb.mi/vla.c: New file.
860 2014-04-11 Keith Seitz <keiths@redhat.com>
863 * gdb.cp/cpsizeof.exp: New file.
864 * gdb.cp/cpsizeof.cc: New file.
866 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
868 * gdb.mi/mi-vla-c99.exp: New file.
869 * gdb.mi/vla.c: New file.
871 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
873 * gdb.base/vla-datatypes.c: New file.
874 * gdb.base/vla-datatypes.exp: New file.
876 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
878 * gdb.base/vla-ptr.c: New file.
879 * gdb.base/vla-ptr.exp: New file.
881 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
883 * gdb.base/vla-multi.c: New file.
884 * gdb.base/vla-multi.exp: New file.
886 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
888 * gdb.dwarf2/count.exp: New file.
890 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
892 * gdb.base/vla-sideeffect.c: New file.
893 * gdb.base/vla-sideeffect.exp: New file.
895 2014-04-11 Yao Qi <yao@codesourcery.com>
897 * gdb.base/completion.exp: Check file exists before running tests
900 2014-04-10 Pedro Alves <palves@redhat.com>
902 * gdb.base/cond-eval-mode.c: New file.
903 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
904 prepare_for_testing to build the new file. Check result of
906 (test_break, test_watch): New procedures.
907 (top level): Use them.
909 2014-04-08 Pierre Muller <muller@sourceware.org>
911 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
912 Ctrl-V use for mingw hosts.
914 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
916 * gdb.python/py-value.c: Improve test case.
917 * gdb.python/py-value.exp: Add new test.
919 2014-04-07 David Blaikie <dblaikie@gmail.com>
921 * lib/compiler.c: Identify the clang compiler.
922 * lib/compiler.cc: Ditto.
924 2014-04-03 Yao Qi <yao@codesourcery.com>
926 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
928 2014-04-01 Anton Blanchard <anton@samba.org>
930 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
933 2014-04-01 Anton Blanchard <anton@samba.org>
935 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
938 2014-04-01 Anton Blanchard <anton@samba.org>
940 * gdb.arch/ppc64-atomic-inst.c: Remove.
941 * gdb.arch/ppc64-atomic-inst.S: New file.
942 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
944 2014-03-31 Doug Evans <dje@google.com>
946 * gdb.base/print-symbol-loading-lib.c: New file.
947 * gdb.base/print-symbol-loading-main.c: New file.
948 * gdb.base/print-symbol-loading.exp: New file.
950 2014-03-31 Yao Qi <yao@codesourcery.com>
952 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
954 2014-03-28 Joel Brobecker <brobecker@adacore.com>
956 * gdb.ada/mi_dyn_arr: New testcase.
958 2014-03-27 Doug Evans <dje@google.com>
960 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
962 2014-03-27 Yao Qi <yao@codesourcery.com>
964 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
965 if target is nios2-*-*.
967 2014-03-26 Yao Qi <yao@codesourcery.com>
969 * lib/gdb.exp (readline_is_used): New proc.
970 * gdb.base/completion.exp: Move tests on command complete up.
971 Skip the rest of tests if readline is not used.
972 * gdb.ada/complete.exp: Skp the test if readline is not
974 * gdb.base/filesym.exp: Likewise.
975 * gdb.base/macscp.exp: Likewise.
976 * gdb.base/readline-ask.exp: Likewise.
977 * gdb.base/readline.exp: Likewise.
978 * gdb.python/py-cmd.exp: Likewise.
979 * gdb.trace/tfile.exp: Likewise.
981 2014-03-26 Yao Qi <yao@codesourcery.com>
983 * gdb.base/macscp.exp: Fix code format issues.
985 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
987 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
988 * gdb.asm/powerpc64le.inc: New file.
990 2014-03-25 Pedro Alves <palves@redhat.com>
991 Doug Evans <dje@google.com>
993 * gdb.base/source-execution.c: New file.
994 * gdb.base/source-execution.exp: New file.
995 * gdb.base/source-execution.gdb: New file.
997 2014-03-24 Doug Evans <dje@google.com>
999 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1002 2014-03-24 Hui Zhu <hui@codesourcery.com>
1003 Pedro Alves <palves@redhat.com>
1005 PR breakpoints/16101
1006 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1007 test pass/fail messages. Detect missing support for dprintf when
1008 breakpoints are actually inserted.
1009 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1010 breakpoints are actually inserted.
1011 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1014 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1016 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1018 2014-03-22 Doug Evans <xdje42@gmail.com>
1020 * gdb.python/python.exp (python not supported): Verify multi-line
1021 python command issues an error.
1022 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1023 guile command issues an error.
1025 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1027 * gdb.threads/thread-specific.exp: Handle the lack of usable
1028 $this_breakpoint and $this_thread.
1030 2014-03-21 Hui Zhu <hui@codesourcery.com>
1032 * gdb.base/attach.exp (do_command_attach_tests): New.
1034 2014-03-20 Tom Tromey <tromey@redhat.com>
1035 Pedro Alves <palves@redhat.com>
1038 * gdb.base/condbreak-call-false.c: New file.
1039 * gdb.base/condbreak-call-false.exp: New file.
1041 2014-03-20 Pedro Alves <palves@redhat.com>
1043 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1045 (block_signals, unblock_signals): Delete.
1046 (child_function_2, main): Remove references to deleted variable
1049 2014-03-20 Pedro Alves <palves@redhat.com>
1051 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1052 Use pthread_kill to signal thread 2.
1053 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1054 Adjust to make the test send itself a signal rather than using the
1055 host's "kill" command.
1057 2014-03-20 Pedro Alves <palves@redhat.com>
1059 * gdb.threads/multiple-step-overs.c: New file.
1060 * gdb.threads/multiple-step-overs.exp: New file.
1061 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1062 Adjust expected infrun debug output.
1064 2014-03-20 Pedro Alves <palves@redhat.com>
1066 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1067 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1069 2014-03-20 Pedro Alves <palves@redhat.com>
1072 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1073 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1074 of gdb_test_multiple.
1075 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1076 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1078 2014-03-20 Pedro Alves <palves@redhat.com>
1080 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1081 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1083 2014-03-19 Pedro Alves <palves@redhat.com>
1085 * gdb.base/async.exp: Remove early return.
1087 2014-03-19 Pedro Alves <palves@redhat.com>
1089 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1091 2014-03-19 Pedro Alves <palves@redhat.com>
1093 * gdb.base/async.exp (test_background): Expect \r\n after
1094 "completed." in the fail pattern.
1096 2014-03-19 Pedro Alves <palves@redhat.com>
1098 * gdb.base/async.exp (test_background): New procedure.
1099 Use it for all background execution command tests.
1101 2014-03-19 Pedro Alves <palves@redhat.com>
1103 * gdb.base/async.exp: Use prepare_for_testing.
1105 2014-03-19 Pedro Alves <palves@redhat.com>
1107 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1110 2014-03-19 Pedro Alves <palves@redhat.com>
1112 * gdb.base/async.c (main): Add "jump here" and "until here" line
1114 * gdb.base/async.exp (jump_here): New global.
1115 (jump& test): Use it.
1116 (until_here): New global.
1117 (until& test): Use it.
1119 2014-03-19 Pedro Alves <palves@redhat.com>
1121 * gdb.base/async.exp: Don't frob gdb_protocol.
1123 2014-03-18 Doug Evans <xdje42@gmail.com>
1125 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1126 Fix spelling of exec-done-display.
1128 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1131 * gdb.base/gdb-sigterm.c: New file.
1132 * gdb.base/gdb-sigterm.exp: New file.
1134 2014-03-18 Pedro Alves <palves@redhat.com>
1137 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1138 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1141 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1143 * gdb.ada/pckd_arr_ren: New testcase.
1145 2014-03-13 Doug Evans <xdje42@gmail.com>
1148 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1149 collect after discarding symbols.
1151 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1152 Doug Evans <xdje42@gmail.com>
1154 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1155 to history survives a gc.
1157 2014-03-13 Pedro Alves <palves@redhat.com>
1159 * gdb.base/default.exp: Don't test "target procfs".
1161 2014-03-13 Pedro Alves <palves@redhat.com>
1163 * gdb.base/default.exp: Update "target child" and "target procfs"
1164 tests to not expect "Unix".
1166 2014-03-12 Tom Tromey <tromey@redhat.com>
1168 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1169 New procs. Add target-async tests.
1170 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1171 Add target-async tests.
1173 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1175 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1176 'func_start' and 'func_end' for the beginning and end of the
1177 function code, respectively.
1178 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1179 'func_end' instead of 'func' and 'main'.
1181 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1183 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1184 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1185 generate the debug info assembler source.
1187 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1189 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1190 * gdb.dwarf2/arr-subrange.exp: Likewise.
1191 * gdb.dwarf2/dwz.exp: Likewise.
1192 * gdb.dwarf2/method-ptr.exp: Likewise.
1193 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1194 * gdb.dwarf2/subrange.exp: Likewise.
1195 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1196 * gdb.dwarf2/implptrpiece.exp: Likewise.
1197 * gdb.dwarf2/nostaticblock.exp: Likewise.
1199 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1201 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1202 directory to absolute path name arguments.
1204 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1206 * gdb.ada/tagged_access: New testcase.
1208 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1210 * gdb.btrace/data.exp: Update expected output.
1212 2014-03-06 Yao Qi <yao@codesourcery.com>
1214 * gdb.trace/pr16508.exp: New file.
1216 2014-03-05 Pedro Alves <palves@redhat.com>
1219 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1221 (top level): Adjust to use it. Add tests that exercise breakpoint
1222 interaction with the code-cache.
1224 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1226 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1227 test for 'history-append!'.
1229 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1231 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1232 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1233 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1234 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1235 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1236 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1238 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1240 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1241 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1242 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1244 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1246 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1248 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1250 * gdb.dwarf2/arr-stride.c: New file.
1251 * gdb.dwarf2/arr-stride.exp: New file.
1253 2014-02-26 Pedro Alves <palves@redhat.com>
1255 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1256 that won't ever trigger. Make sure that GDB reports the correct
1257 breakpoint that caused the stop.
1259 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1262 * gdb.base/auto-load-script: New file.
1263 * gdb.base/auto-load.c: New file.
1264 * gdb.base/auto-load.exp: New file.
1267 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1269 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1271 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1272 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1274 2014-02-24 Doug Evans <dje@google.com>
1276 * lib/gdb.exp (run_on_host): Log error output if program fails.
1278 2014-02-21 Pedro Alves <palves@redhat.com>
1280 * gdb.threads/step-after-sr-lock.c: Rename to ...
1281 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1282 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1283 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1286 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1289 * gdb.arch/amd64-stap-special-operands.exp: New file.
1290 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1291 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1292 * gdb.arch/amd64-stap-triplet.S: Likewise.
1293 * gdb.arch/amd64-stap-triplet.c: Likewise.
1295 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1297 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1298 in .section pseudo-op.
1300 2014-02-20 lin zuojian <manjian2006@gmail.com>
1301 Joel Brobecker <brobecker@adacore.com>
1302 Doug Evans <xdje42@gmail.com>
1305 * gdb.dwarf2/dw2-icycle.S: New file.
1306 * gdb.dwarf2/dw2-icycle.c: New file.
1307 * gdb.dwarf2/dw2-icycle.exp: New file.
1309 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1311 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1312 operations on gdb.Value objects.
1313 * gdb.python/py-value-cc.exp: Add new test to test operations on
1316 2014-02-18 Doug Evans <dje@google.com>
1318 * Makefile.in (TESTS): New variable.
1319 (expanded_tests, expanded_tests_or_none): New variables
1320 (check-single): Pass $(expanded_tests_or_none) to runtest.
1321 (check-parallel): Only run tests in $(TESTS) if non-empty.
1322 (check/no-matching-tests-found): New rule.
1323 * README: Document TESTS makefile variable.
1325 2014-02-18 Doug Evans <dje@google.com>
1327 * Makefile.in (check-parallel): rm -rf outputs temp.
1329 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1331 Fix "ERROR: no fileid for" in the testsuite.
1332 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1334 2014-02-12 Doug Evans <dje@google.com>
1336 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1337 (MISCELLANEOUS): New variable.
1338 (clean): rm -rf $(MISCELLANEOUS).
1339 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1340 dwp live in the same directory as symlinks, with each symlink pointed
1341 to a differently named file in a different directory.
1343 2014-02-11 Doug Evans <dje@google.com>
1345 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1346 of Tcl file commands.
1348 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1350 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1353 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1355 * gdb.ada/tick_length_array_enum_idx: New testcase.
1357 2014-02-10 Doug Evans <xdje42@gmail.com>
1359 * configure.ac (AC_OUTPUT): Add gdb.guile.
1360 * configure: Regenerate.
1361 * lib/gdb-guile.exp: New file.
1362 * lib/gdb.exp (get_target_charset): New function.
1363 * gdb.base/help.exp: Update expected output from "apropos apropos".
1364 * gdb.guile/Makefile.in: New file.
1365 * gdb.guile/guile.exp: New file.
1366 * gdb.guile/scm-arch.c: New file.
1367 * gdb.guile/scm-arch.exp: New file.
1368 * gdb.guile/scm-block.c: New file.
1369 * gdb.guile/scm-block.exp: New file.
1370 * gdb.guile/scm-breakpoint.c: New file.
1371 * gdb.guile/scm-breakpoint.exp: New file.
1372 * gdb.guile/scm-disasm.c: New file.
1373 * gdb.guile/scm-disasm.exp: New file.
1374 * gdb.guile/scm-equal.c: New file.
1375 * gdb.guile/scm-equal.exp: New file.
1376 * gdb.guile/scm-error.exp: New file.
1377 * gdb.guile/scm-error.scm: New file.
1378 * gdb.guile/scm-frame-args.c: New file.
1379 * gdb.guile/scm-frame-args.exp: New file.
1380 * gdb.guile/scm-frame-args.scm: New file.
1381 * gdb.guile/scm-frame-inline.c: New file.
1382 * gdb.guile/scm-frame-inline.exp: New file.
1383 * gdb.guile/scm-frame.c: New file.
1384 * gdb.guile/scm-frame.exp: New file.
1385 * gdb.guile/scm-generics.exp: New file.
1386 * gdb.guile/scm-gsmob.exp: New file.
1387 * gdb.guile/scm-iterator.c: New file.
1388 * gdb.guile/scm-iterator.exp: New file.
1389 * gdb.guile/scm-math.c: New file.
1390 * gdb.guile/scm-math.exp: New file.
1391 * gdb.guile/scm-objfile-script-gdb.in: New file.
1392 * gdb.guile/scm-objfile-script.c: New file.
1393 * gdb.guile/scm-objfile-script.exp: New file.
1394 * gdb.guile/scm-objfile.c: New file.
1395 * gdb.guile/scm-objfile.exp: New file.
1396 * gdb.guile/scm-ports.exp: New file.
1397 * gdb.guile/scm-pretty-print.c: New file.
1398 * gdb.guile/scm-pretty-print.exp: New file.
1399 * gdb.guile/scm-pretty-print.scm: New file.
1400 * gdb.guile/scm-section-script.c: New file.
1401 * gdb.guile/scm-section-script.exp: New file.
1402 * gdb.guile/scm-section-script.scm: New file.
1403 * gdb.guile/scm-symbol.c: New file.
1404 * gdb.guile/scm-symbol.exp: New file.
1405 * gdb.guile/scm-symtab-2.c: New file.
1406 * gdb.guile/scm-symtab.c: New file.
1407 * gdb.guile/scm-symtab.exp: New file.
1408 * gdb.guile/scm-type.c: New file.
1409 * gdb.guile/scm-type.exp: New file.
1410 * gdb.guile/scm-value-cc.cc: New file.
1411 * gdb.guile/scm-value-cc.exp: New file.
1412 * gdb.guile/scm-value.c: New file.
1413 * gdb.guile/scm-value.exp: New file.
1414 * gdb.guile/source2.scm: New file.
1415 * gdb.guile/types-module.cc: New file.
1416 * gdb.guile/types-module.exp: New file.
1418 2014-02-10 Yao Qi <yao@codesourcery.com>
1421 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1422 * configure: Regenerated.
1423 * Makefile.in: New file.
1425 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1427 * gdb.python/py-framefilter.exp: Fix typo.
1429 2014-02-08 Yao Qi <yao@codesourcery.com>
1431 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1432 that no =breakpoint-modified is emitted when breakpoints are
1433 modified through MI commands.
1435 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1436 Pedro Alves <palves@redhat.com>
1438 * gdb.threads/step-after-sr-lock.c: New file.
1439 * gdb.threads/step-after-sr-lock.exp: New file.
1441 2014-02-07 Pedro Alves <palves@redhat.com>
1443 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1445 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1447 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1448 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1450 2014-02-06 Doug Evans <xdje42@gmail.com>
1452 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1455 * gdb.gdb/python-interrupts.exp: New file.
1457 2014-02-05 Yao Qi <yao@codesourcery.com>
1459 * gdb.trace/report.exp (use_collected_data): Test the output
1460 of "info threads" and "info inferiors".
1462 2014-02-05 Yao Qi <yao@codesourcery.com>
1466 2013-05-24 Yao Qi <yao@codesourcery.com>
1468 * gdb.trace/tfile.exp: Test inferior and thread.
1470 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1472 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1474 * gdb.base/step-bt.c: Call hello via function pointer to make
1475 sure its first instruction is executed on powerpc64le-linux.
1477 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1479 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1481 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1483 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1484 of the test patterns for use on little-endian systems.
1486 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1488 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1489 (decimal_vector): Fix for little-endian.
1491 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1493 * gdb.arch/sparc-sysstep.exp: New file.
1494 * gdb.arch/sparc-sysstep.c: Likewise.
1496 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1498 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1500 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1502 2014-01-23 Tom Tromey <tromey@redhat.com>
1504 * gdb.ada/array_char_idx: New testcase.
1506 2014-01-23 Tom Tromey <tromey@redhat.com>
1509 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1510 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1513 2014-01-23 Tom Tromey <tromey@redhat.com>
1516 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1517 string from an inferior frame.
1518 * gdb.python/py-framefilter-mi.exp: Update.
1520 2014-01-22 Doug Evans <dje@google.com>
1522 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1524 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1526 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1528 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1530 * gdb.trace/entry-values.exp: Remove excess space character from
1531 regex patterns. Handle s390 call instruction.
1533 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1535 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1536 define "*_start" label. Make "name" static.
1537 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1538 ${name} by references to ${name}_start.
1540 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1542 * gdb.base/info-macros.exp: Remove "debug" from the compile
1545 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1547 * gdb.dlang/demangle.exp: New file.
1549 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1551 * gdb.dlang/primitive-types.exp: New file.
1553 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1555 * configure.ac: Create gdb.dlang/Makefile.
1556 * configure: Regenerate.
1557 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1558 * gdb.dlang/Makefile.in: New file.
1559 * lib/d-support.exp: New file.
1560 * lib/gdb.exp (skip_d_tests): New proc.
1562 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1564 * gdb.btrace/delta.exp: Check reverse stepi.
1565 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1566 * gdb.btrace/finish.exp: New.
1567 * gdb.btrace/next.exp: New.
1568 * gdb.btrace/nexti.exp: New.
1569 * gdb.btrace/record_goto.c: Add comments.
1570 * gdb.btrace/step.exp: New.
1571 * gdb.btrace/stepi.exp: New.
1572 * gdb.btrace/multi-thread-step.c: New.
1573 * gdb.btrace/multi-thread-step.exp: New.
1574 * gdb.btrace/rn-dl-bind.c: New.
1575 * gdb.btrace/rn-dl-bind.exp: New.
1576 * gdb.btrace/data.c: New.
1577 * gdb.btrace/data.exp: New.
1578 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1580 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1582 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1583 * gdb.btrace/exception.exp: Update.
1584 * gdb.btrace/instruction_history.exp: Update.
1585 * gdb.btrace/record_goto.exp: Update.
1586 * gdb.btrace/tailcall.exp: Update.
1587 * gdb.btrace/unknown_functions.exp: Update.
1588 * gdb.btrace/delta.exp: New.
1590 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1592 * gdb.btrace/record_goto.exp: Add backtrace test.
1593 * gdb.btrace/tailcall.exp: Add backtrace test.
1595 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1597 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1598 * gdb.btrace/record_goto.c: New.
1599 * gdb.btrace/record_goto.exp: New.
1600 * gdb.btrace/x86-record_goto.S: New.
1602 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1604 * gdb.btrace/function_call_history.exp: Update tests.
1605 * gdb.btrace/instruction_history.exp: Update tests.
1607 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1609 * gdb.btrace/function_call_history.exp: Fix expected field
1610 order for "record function-call-history".
1611 Add new tests for "record function-call-history /c".
1612 * gdb.btrace/exception.cc: New.
1613 * gdb.btrace/exception.exp: New.
1614 * gdb.btrace/tailcall.exp: New.
1615 * gdb.btrace/x86-tailcall.S: New.
1616 * gdb.btrace/x86-tailcall.c: New.
1617 * gdb.btrace/unknown_functions.c: New.
1618 * gdb.btrace/unknown_functions.exp: New.
1619 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1621 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1623 * gdb.btrace/instruction_history.exp: Update.
1624 * gdb.btrace/function_call_history.exp: Update.
1626 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1628 * gdb.btrace/function_call_history.exp: Fix expected function
1630 * gdb.btrace/instruction_history.exp: Initialize traced.
1631 Remove traced_functions.
1633 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1635 * gdb.btrace/function_call_history.exp: Update
1636 * gdb.btrace/instruction_history.exp: Update.
1638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1640 * gdb.btrace/enable.exp: Update expected text.
1642 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1644 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1647 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1649 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1651 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1653 * lib/gdb.exp (supports_process_record): Return true for
1654 arm*-linux*. (supports_reverse): Likewise.
1656 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1660 * gdb.python/py-type.c: Enhance test case.
1661 * gdb.python/py-value-cc.cc: Likewise
1662 * gdb.python/py-type.exp: Add new tests.
1663 * gdb.python/py-value-cc.exp: Likewise
1665 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1666 Pedro Alves <palves@redhat.com>
1668 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1670 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1671 references to ${name}_start by references to ${name}.
1673 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1675 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1677 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1679 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1681 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1682 Pedro Alves <palves@redhat.com>
1684 * gdb.mi/mi-info-os.exp: Connect to the target with
1687 2014-01-08 Pedro Alves <palves@redhat.com>
1689 * gdb.threads/reconnect-signal.c: New file.
1690 * gdb.threads/reconnect-signal.exp: New file.
1692 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1694 * gdb.base/source-dir.exp: New file.
1696 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1698 * gdb.ada/mi_interface: New testcase.
1700 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1702 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1703 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1704 gdb.ada/pp-rec-component/pck.ads: New files.
1706 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1708 * gdb.python/py-pp-integral.c: New file.
1709 * gdb.python/py-pp-integral.py: New file.
1710 * gdb.python/py-pp-integral.exp: New file.
1712 For older changes see ChangeLog-1993-2013.
1718 ;; version-control: never
1721 Copyright 2014 Free Software Foundation, Inc.
1722 Copying and distribution of this file, with or without modification,
1723 are permitted provided the copyright notice and this notice are preserved.