1 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3 * gdb.arch/amd64-invalid-stack-middle.S: New file.
4 * gdb.arch/amd64-invalid-stack-middle.c: New file.
5 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6 * gdb.arch/amd64-invalid-stack-top.c: New file.
7 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9 2014-05-30 Pedro Alves <palves@redhat.com>
12 * gdb.base/sss-bp-on-user-bp.c: New file.
13 * gdb.base/sss-bp-on-user-bp.exp: New file.
15 2014-05-30 David Blaikie <dblaikie@gmail.com>
17 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18 gnu_inline semantics via attribute.
19 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20 source explicitly specifies the required semantics.
22 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
24 * gdb.reverse/sigall-reverse.exp: Fix a typo.
26 2014-05-29 Pedro Alves <palves@redhat.com>
27 Tom Tromey <tromey@redhat.com>
29 * gdb.base/async-shell.exp: Don't enable target-async.
31 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
33 (top level): Don't test with "target-async".
34 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
35 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
36 * gdb.base/inferior-died.exp: Don't enable target-async.
37 * gdb.base/interrupt-noterm.exp: Likewise.
38 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
39 * gdb.mi/mi-nonstop-exit.exp: Likewise.
40 * gdb.mi/mi-nonstop.exp: Likewise.
41 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
42 * gdb.mi/mi-nsintrall.exp: Likewise.
43 * gdb.mi/mi-nsmoribund.exp: Likewise.
44 * gdb.mi/mi-nsthrexec.exp: Likewise.
45 * gdb.mi/mi-watch-nonstop.exp: Likewise.
46 * gdb.multi/watchpoint-multi.exp: Adjust comment.
47 * gdb.python/py-evsignal.exp: Don't enable target-async.
48 * gdb.python/py-evthreads.exp: Likewise.
49 * gdb.python/py-prompt.exp: Likewise.
50 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
51 * gdb.server/solib-list.exp: Don't enable target-async.
52 * gdb.threads/thread-specific-bp.exp: Likewise.
53 * lib/mi-support.exp: Adjust to use mi-async.
55 2014-05-29 Pedro Alves <palves@redhat.com>
58 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
59 reason, even in sync mode.
61 2014-05-29 Pedro Alves <palves@redhat.com>
62 Hui Zhu <hui@codesourcery.com>
65 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
66 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
67 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
68 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
70 2014-05-28 Joel Brobecker <brobecker@adacore.com>
72 * config/monitor.exp (gdb_target_monitor): Replace use of
73 "set remotebaud" by "set serial baud".
75 2014-05-26 Andy Wingo <wingo@igalia.com>
77 * gdb.guile/scm-breakpoint.exp:
78 * gdb.guile/scm-gsmob.exp: Update to use plain old object
79 properties instead of gdb-object-properties.
81 2014-05-26 Yao Qi <yao@codesourcery.com>
83 * gdb.server/no-thread-db.exp: Specify source file name
84 explicitly when setting a breakpoint.
86 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
88 * gdb.btrace/vdso.c: New.
89 * gdb.btrace/vdso.exp: New.
91 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
93 * gdb.base/gcore.exp (capture_command_output): Move ...
94 * lib/gdb.exp (capture_command_output): ... here.
96 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
98 * gdb.btrace/data.exp: Test memory access during btrace replay.
100 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
102 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
104 2014-05-21 Pedro Alves <palves@redhat.com>
107 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
108 (top level): Test that output related to execution commands is
109 sent to the console with CLI commands, but not with MI commands.
110 Test that breakpoint events are always mirrored to the console.
111 Also expect the new source line to be output after a "next" in
112 async mode too. Make it a pass/fail test.
113 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
115 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
117 2014-05-21 Pedro Alves <palves@redhat.com>
119 * gdb.base/list.exp (build_pattern, test_list): New procedures.
120 Use them to test variations of "list" after reaching a breakpoint.
121 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
122 Test "list" with listsize 10 after reaching a breakpoint.
123 * gdb.python/python.exp (decode_line current location line
124 number): Adjust expected line number.
126 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
128 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
129 behavior for $args, pass it directly to "run".
131 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
133 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
136 2014-05-21 Pedro Alves <palves@redhat.com>
138 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
139 auto-connect-native-target off".
140 * gdb.base/auto-connect-native-target.c: New file.
141 * gdb.base/auto-connect-native-target.exp: New file.
143 2014-05-21 Pedro Alves <palves@redhat.com>
145 * gdb.base/default.exp: Test "target native" instead of "target
148 2014-05-21 Mark Wielaard <mjw@redhat.com>
150 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
152 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
154 Fix TLS access for -static -pthread.
155 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
156 <HAVE_TLS> (thread_function, main): Initialize it.
157 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
159 <$have_tls != "">: Check TLSVAR.
161 2014-05-21 Pedro Alves <palves@redhat.com>
163 * gdb.base/dcache-line-read-error.c: New.
164 * gdb.base/dcache-line-read-error.exp: New.
166 2014-05-20 Pedro Alves <palves@redhat.com>
168 * gdb.base/compare-sections.c: New file.
169 * gdb.base/compare-sections.exp: New file.
171 2014-05-20 Pedro Alves <palves@redhat.com>
173 * gdb.base/break-idempotent.c: New file.
174 * gdb.base/break-idempotent.exp: New file.
176 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
178 * gdb.btrace/nohist.exp: New.
180 2014-05-20 Yao Qi <yao@codesourcery.com>
182 * lib/gdb.exp (gdb_init): Set timeout if test file is under
183 gdb.reverse directory and gdb_reverse_timeout exists in board
185 * README: Document gdb_reverse_timeout.
187 2014-05-20 Yao Qi <yao@codesourcery.com>
189 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
190 'test_file_name'. Treat args as a string instead of a list.
191 (gdb_init): Rename argument 'args' by 'test_file_name'.
193 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
195 * gdb.arch/powerpc-power.exp: New file.
196 * gdb.arch/powerpc-power.s: New file.
198 2014-05-16 Doug Evans <dje@google.com>
200 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
201 * gdb.base/completion.exp: Check that all expected files exist
202 before doing file completion.
204 2014-05-16 Doug Evans <dje@google.com>
206 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
208 (do_syscall_tests_without_xml): Update.
210 2014-05-16 Pedro Alves <palves@redhat.com>
212 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
213 instead of "unknown output after running".
215 2014-05-16 Yao Qi <yao@codesourcery.com>
217 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
218 file1.txt from host at the end.
219 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
221 2014-05-15 Doug Evans <dje@google.com>
223 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
224 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
225 loading file. Add test for TU lookup.
227 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
229 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
230 calling "-exec-arguments" or "set args" before running the
233 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
235 * lib/mi-support.exp (mi_expect_stop): Expect message for
236 inferiors that exit with non-zero exit code.
238 2014-05-14 Yao Qi <yao@codesourcery.com>
240 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
241 match absolute path on remote host.
242 (test_file_list_exec_source_files): Remove "/" from the
245 2014-05-14 Yao Qi <yao@codesourcery.com>
247 * boards/local-remote-host-notty.exp (${board}_file): New
250 2014-05-07 Kyle McMartin <kyle@redhat.com>
252 Pushed by Joel Brobecker <brobecker@adacore.com>.
253 * gdb.arch/aarch64-atomic-inst.c: New file.
254 * gdb.arch/aarch64-atomic-inst.exp: New file.
256 2014-05-07 Yao Qi <yao@codesourcery.com>
258 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
259 in current context" too.
261 2014-05-05 Keith Seitz <keiths@redhat.com>
263 * gdb.linespec/ls-dollar.exp: Add test for linespec
264 file:convenience_variable.
266 2014-05-05 Yao Qi <yao@codesourcery.com>
268 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
269 traceframes into tfile and ctf trace files. Read data from
270 trace file and test collected data.
271 (gdb_collect_locals_test): Likewise.
272 (gdb_unavailable_registers_test): Likewise.
273 (gdb_unavailable_floats): Likewise.
274 (gdb_collect_globals_test): Likewise.
275 (top-level): Append "ctf" to trace_file_targets if GDB
278 2014-05-05 Yao Qi <yao@codesourcery.com>
280 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
282 (gdb_collect_args_test_1): ... it. New proc.
283 (gdb_collect_locals_test): Move some code to ...
284 (gdb_collect_locals_test_1): ... it. New proc.
285 (gdb_unavailable_registers_test): Move some code to ...
286 (gdb_unavailable_registers_test_1): ... it. New proc.
287 (gdb_unavailable_floats): Move some code to ...
288 (gdb_unavailable_floats_1): ... it. New proc.
290 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
292 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
293 probes to test for bitness recognition.
294 * gdb.arch/amd64-stap-optional-prefix.exp
295 (test_probe_value_without_reg): New procedure.
296 Add code to test for different kinds of bitness.
298 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
301 * gdb.arch/amd64-stap-optional-prefix.S: New file.
302 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
304 2014-05-01 Pedro Alves <palves@redhat.com>
306 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
307 gdb_file_cmd if no file is specified.
308 * boards/native-extended-gdbserver.exp (gdb_load): Use the
309 last_loaded_file to set the remote exec-file.
311 2014-05-01 Pedro Alves <palves@redhat.com>
313 * boards/local-remote-host.exp: New file.
315 2014-05-01 Pedro Alves <palves@redhat.com>
317 * boards/local-remote-host.exp: Rename to ...
318 * boards/local-remote-host-notty.exp: ... this.
320 2014-04-28 Joel Brobecker <brobecker@adacore.com>
322 * gdb.ada/dyn_arrayidx: New testcase.
324 2014-04-26 Yao Qi <yao@codesourcery.com>
326 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
327 and compute the length of function main. Save it in
329 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
330 (top-level): Use gdb_compile to compile objects into
331 executable and restart GDB. Remove invocation to
334 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
335 Pedro Alves <palves@redhat.com>
338 * gdb.multi/multi-attach.c: New file.
339 * gdb.multi/multi-attach.exp: New file.
341 2014-04-25 Pedro Alves <palves@redhat.com>
343 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
345 (top level): Test that "set remote conditional-breakpoints-packet
346 off" works as intended.
347 * gdb.base/dprintf.exp: Test that "set remote
348 breakpoint-commands-packet off" works as intended.
349 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
351 (top level): Call it.
352 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
353 remote fast-tracepoints-packet off" works as intended.
354 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
355 * lib/gdb.exp (gdb_is_target_remote): ... here.
357 2014-04-24 David Blaikie <dblaikie@gmail.com>
359 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
360 ensure clang would not discard them.
361 * gdb.base/gdbvars.c: Ditto.
362 * gdb.base/memattr.c: Ditto.
363 * gdb.base/whatis.c: Ditto.
364 * gdb.python/py-prettyprint.c: Ditto.
365 * gdb.trace/actions.c: Ditto.
366 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
367 ensure clang would not discard it.
369 2014-04-24 David Blaikie <dblaikie@gmail.com>
371 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
372 clang to emit the full definition of type required by the test
373 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
375 2014-04-24 David Blaikie <dblaikie@gmail.com>
377 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
378 coax Clang into emitting the definition of the type.
379 * gdb.cp/pr10728-x.h (y): Ditto.
380 * gdb.cp/pr10728-y.cc (y): Ditto.
382 2014-04-24 David Blaikie <dblaikie@gmail.com>
384 * gdb.base/label.exp: XFAIL label related tests under Clang.
385 * gdb.cp/cplabel.exp: Ditto.
386 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
387 under Clang those using labels.
389 2014-04-25 Yao Qi <yao@codesourcery.com>
391 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
393 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
394 partial_label and double_label.
396 2014-04-24 David Blaikie <dblaikie@gmail.com>
398 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
400 2014-04-24 David Blaikie <dblaikie@gmail.com>
402 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
403 of the function to work across GCC and Clang.
404 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
405 pointer types (const void ** const V void **).
407 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
408 Walfred Tedeschi <walfred.tedeschi@intel.com>
410 * Makefile.in (EXECUTABLES): Added i386-avx512.
411 * gdb.arch/i386-avx512.c: New file.
412 * gdb.arch/i386-avx512.exp: Likewise.
414 2014-04-23 Keith Seitz <keiths@redhat.com>
416 * lib/mi-support.exp (mi_list_breakpoints): Delete.
417 (mi_make_breakpoint_table): New procedure.
418 (mi_create_breakpoint): Use mi_make_breakpoint
419 and return the result.
420 (mi_make_breakpoint): New procedure.
421 (mi_build_kv_pairs): New procedure.
423 * gdb.mi/mi-break.exp: Remove unused globals,
424 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
426 * gdb.mi/mi-dprintf.exp: Use variable to track command
428 Update all callers of mi_create_breakpoint and use
429 mi_make_breakpoint_table.
430 Remove any unused global variables.
431 * gdb.mi/mi-nonstop.exp: Likewise.
432 * gdb.mi/mi-nsintrall.exp: Likewise.
433 * gdb.mi/mi-nsmoribund.exp: Likewise.
434 * gdb.mi/mi-nsthrexec.exp: Likewise.
435 * gdb.mi/mi-reverse.exp: Likewise.
436 * gdb.mi/mi-simplerun.exp: Likewise.
437 * gdb.mi/mi-stepn.exp: Likewise.
438 * gdb.mi/mi-syn-frame.exp: Likewise.
439 * gdb.mi/mi-until.exp: Likewise.
440 * gdb.mi/mi-var-cp.exp: Likewise.
441 * gdb.mi/mi-var-display.exp: Likewise.
442 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
443 * gdb.mi/mi2-var-child.exp: Likewise.
444 * gdb.mi/mi-vla-c99.exp: Likewise.
445 * lib/mi-support.exp: Likewise.
447 From Ian Lance Taylor <iant@cygnus.com>:
448 * lib/gdb.exp (parse_args): New procedure.
450 2014-04-23 Pedro Alves <palves@redhat.com>
452 * gdb.base/break-unload-file.c: New file.
453 * gdb.base/break-unload-file.exp: New file.
454 * gdb.base/sym-file-lib.c (baz): New function.
455 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
457 (load): Store the segment's mapped size.
458 (unload): New function.
459 (unload_shlib): New function.
460 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
461 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
462 set a breakpoint at baz, and call it.
463 * gdb.base/sym-file.exp: New tests for stale breakpoint
466 2014-04-23 Pedro Alves <palves@redhat.com>
468 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
469 * gdb.base/hbreak-in-shr-unsupported.c: New file.
470 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
471 * gdb.base/hbreak-unmapped.c: New file.
472 * gdb.base/hbreak-unmapped.exp: New file.
473 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
474 * lib/gdb.exp (gdb_is_target_remote): ... here.
476 2014-04-22 Pedro Alves <palves@redhat.com>
478 * gdb.base/consecutive-step-over.c: New file.
479 * gdb.base/consecutive-step-over.exp: New file.
481 2014-04-22 Pedro Alves <palves@redhat.com>
483 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
484 instead of send_gdb/gdb_expect.
486 2014-04-22 Yao Qi <yao@codesourcery.com>
488 * lib/trace-support.exp (generate_tracefile): New procedure.
489 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
491 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
492 if generate_tracefile returns 1.
494 2014-04-18 Tom Tromey <palves@redhat.com>
495 Pedro alves <tromey@redhat.com>
498 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
499 with a backtrace limit.
500 * gdb.python/py-frame-inline.exp: Test running to an inline
501 function with a backtrace limit, and printing the newest frame.
502 * gdb.python/py-frame-inline.c (main): Call f.
504 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
506 * gdb.java/jnpe.exp: Drop srcdir from untested path.
508 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
510 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
511 Drop prefix from unsupported source file path.
513 2014-04-17 Yao Qi <yao@codesourcery.com>
515 * lib/gdb.exp (with_target_charset): New proc.
516 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
518 (test_print_strings): Likewise.
519 (test_repeat_bytes): Likewise.
520 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
523 2014-04-16 Keith Seitz <keiths@redhat.com>
526 * gdb.dwarf2/corrupt.c: New file.
527 * gdb.dwarf2/corrupt.exp: New file.
529 2014-04-16 Keith Seitz <keiths@redhat.com>
532 * gdb.cp/namelessclass.cc: New file.
533 * gdb.cp/namelessclass.exp: New file.
534 * gdb.cp/namelessclass.S: New file.
536 2014-04-16 Doug Evans <dje@google.com>
538 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
540 (gdbserver_default_get_comm_port): New function.
541 (gdbserver_start): Check if board file provided
542 "gdbserver,get_comm_port" and use it if so.
543 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
544 (gdb,socketport): Set to "stdio".
545 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
546 (stdio_gdbserver_template): Delete.
547 (${board}_get_remote_address): Update.
548 (${board}_build_remote_cmd): Delete.
549 (${board}_get_comm_port): New function.
550 (${board}_spawn): Update.
551 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
553 (${board}_get_remote_address): Update.
554 (${board}_get_comm_port): New function.
556 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
558 * gdb.base/memattr.exp: Improve regexps to handle memory regions
559 appearing in any order.
561 2014-04-15 Doug Evans <dje@google.com>
563 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
564 uninitialized value of "description".
566 2014-04-15 Keith Seitz <keiths@redhat.com>
568 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
569 Remove unused globals.
570 (test_running_the_program): Likewise.
571 (test_controlled_execution): Likewise.
572 (test_controlling_breakpoints): Likewise.
573 (test_program_termination): Likewise.
575 2014-04-15 Keith Seitz <keiths@redhat.com>
577 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
579 (test_rbreak_creation_and_listing): Likewise.
580 (test_ignore_count): Likewise.
581 (test_error): Likewise.
583 2014-04-15 Pedro Alves <palves@redhat.com>
585 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
586 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
588 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
589 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
590 to sym-file-loader.c.
591 (struct library): Forward declare.
592 (load_shlib, lookup_function): Change prototypes.
593 (find_shstrtab, find_strtab, find_shdr, find_symtab)
594 (translate_offset): Remove declarations.
595 (get_text_addr): New declaration.
596 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
597 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
599 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
600 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
601 here from sym-file-loader.h.
602 (struct library): New structure.
603 (load_shlib, lookup_function): Change prototypes and adjust to
604 work with a struct library.
605 (find_shstrtab, find_strtab, find_shdr, find_symtab)
606 (translate_offset): Make static.
607 (get_text_addr): New function.
608 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
610 2014-04-15 Pedro Alves <palves@redhat.com>
612 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
614 2014-04-15 Pedro Alves <palves@redhat.com>
616 * gdb.base/sym-file-loader.c: Include <limits.h>.
617 (SELF_LINK): New define.
618 (get_origin): New function.
619 (load_shlib): Use it.
620 * gdb.base/sym-file.exp: Don't early return if the target is
621 remote. Use runto_main, and issue fail is that fails. Use
623 (shlib_name): Delete.
624 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
626 2014-04-15 Pedro Alves <palves@redhat.com>
628 * gdb.base/sym-file.exp: Remove regex characters from test
629 message. Don't refer to breakpoint numbers in test messages.
631 2014-04-14 Keith Seitz <keiths@redhat.com>
634 * gdb.cp/var-tag.cc: New file.
635 * gdb.cp/var-tag.exp: New file.
636 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
637 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
638 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
639 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
641 2014-04-14 Tom Tromey <tromey@redhat.com>
643 * gdb.cp/classes.exp (test_enums): Handle underlying type.
644 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
646 * gdb.cp/enum-class.exp: New file.
647 * gdb.cp/enum-class.cc: New file.
649 2014-04-14 Tom Tromey <tromey@redhat.com>
651 * gdb.dwarf2/enum-type.exp: New file.
653 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
655 * gdb.mi/mi-vla-c99.exp: New file.
656 * gdb.mi/vla.c: New file.
658 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
660 * gdb.base/vla-datatypes.c: New file.
661 * gdb.base/vla-datatypes.exp: New file.
663 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
665 * gdb.base/vla-ptr.c: New file.
666 * gdb.base/vla-ptr.exp: New file.
668 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
670 * gdb.dwarf2/count.exp: New file.
672 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
674 * gdb.base/vla-sideeffect.c: New file.
675 * gdb.base/vla-sideeffect.exp: New file.
677 2014-04-14 David Blaikie <dblaikie@gmail.com>
679 * gdb.mi/non-stop.c: Add return value for non-void function return
681 * gdb.threads/staticthreads.c: Ditto.
683 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
684 Doug Evans <xdje42@gmail.com>
686 * gdb.guile/scm-value.c: Improve test case.
687 * gdb.guile/scm-value.exp: Add new test.
689 2014-04-11 David Blaikie <dblaikie@gmail.com>
691 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
692 override Clang's default.
694 2014-04-11 Joel Brobecker <brobecker@adacore.com>
696 Revert the following changes (regressions):
698 * gdb.base/vla-sideeffect.c: New file.
699 * gdb.base/vla-sideeffect.exp: New file.
701 * gdb.dwarf2/count.exp: New file.
703 * gdb.base/vla-multi.c: New file.
704 * gdb.base/vla-multi.exp: New file.
706 * gdb.base/vla-ptr.c: New file.
707 * gdb.base/vla-ptr.exp: New file.
709 * gdb.base/vla-datatypes.c: New file.
710 * gdb.base/vla-datatypes.exp: New file.
712 * gdb.mi/mi-vla-c99.exp: New file.
713 * gdb.mi/vla.c: New file.
715 2014-04-11 Keith Seitz <keiths@redhat.com>
718 * gdb.cp/cpsizeof.exp: New file.
719 * gdb.cp/cpsizeof.cc: New file.
721 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
723 * gdb.mi/mi-vla-c99.exp: New file.
724 * gdb.mi/vla.c: New file.
726 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
728 * gdb.base/vla-datatypes.c: New file.
729 * gdb.base/vla-datatypes.exp: New file.
731 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
733 * gdb.base/vla-ptr.c: New file.
734 * gdb.base/vla-ptr.exp: New file.
736 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
738 * gdb.base/vla-multi.c: New file.
739 * gdb.base/vla-multi.exp: New file.
741 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
743 * gdb.dwarf2/count.exp: New file.
745 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
747 * gdb.base/vla-sideeffect.c: New file.
748 * gdb.base/vla-sideeffect.exp: New file.
750 2014-04-11 Yao Qi <yao@codesourcery.com>
752 * gdb.base/completion.exp: Check file exists before running tests
755 2014-04-10 Pedro Alves <palves@redhat.com>
757 * gdb.base/cond-eval-mode.c: New file.
758 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
759 prepare_for_testing to build the new file. Check result of
761 (test_break, test_watch): New procedures.
762 (top level): Use them.
764 2014-04-08 Pierre Muller <muller@sourceware.org>
766 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
767 Ctrl-V use for mingw hosts.
769 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
771 * gdb.python/py-value.c: Improve test case.
772 * gdb.python/py-value.exp: Add new test.
774 2014-04-07 David Blaikie <dblaikie@gmail.com>
776 * lib/compiler.c: Identify the clang compiler.
777 * lib/compiler.cc: Ditto.
779 2014-04-03 Yao Qi <yao@codesourcery.com>
781 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
783 2014-04-01 Anton Blanchard <anton@samba.org>
785 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
788 2014-04-01 Anton Blanchard <anton@samba.org>
790 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
793 2014-04-01 Anton Blanchard <anton@samba.org>
795 * gdb.arch/ppc64-atomic-inst.c: Remove.
796 * gdb.arch/ppc64-atomic-inst.S: New file.
797 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
799 2014-03-31 Doug Evans <dje@google.com>
801 * gdb.base/print-symbol-loading-lib.c: New file.
802 * gdb.base/print-symbol-loading-main.c: New file.
803 * gdb.base/print-symbol-loading.exp: New file.
805 2014-03-31 Yao Qi <yao@codesourcery.com>
807 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
809 2014-03-28 Joel Brobecker <brobecker@adacore.com>
811 * gdb.ada/mi_dyn_arr: New testcase.
813 2014-03-27 Doug Evans <dje@google.com>
815 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
817 2014-03-27 Yao Qi <yao@codesourcery.com>
819 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
820 if target is nios2-*-*.
822 2014-03-26 Yao Qi <yao@codesourcery.com>
824 * lib/gdb.exp (readline_is_used): New proc.
825 * gdb.base/completion.exp: Move tests on command complete up.
826 Skip the rest of tests if readline is not used.
827 * gdb.ada/complete.exp: Skp the test if readline is not
829 * gdb.base/filesym.exp: Likewise.
830 * gdb.base/macscp.exp: Likewise.
831 * gdb.base/readline-ask.exp: Likewise.
832 * gdb.base/readline.exp: Likewise.
833 * gdb.python/py-cmd.exp: Likewise.
834 * gdb.trace/tfile.exp: Likewise.
836 2014-03-26 Yao Qi <yao@codesourcery.com>
838 * gdb.base/macscp.exp: Fix code format issues.
840 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
842 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
843 * gdb.asm/powerpc64le.inc: New file.
845 2014-03-25 Pedro Alves <palves@redhat.com>
846 Doug Evans <dje@google.com>
848 * gdb.base/source-execution.c: New file.
849 * gdb.base/source-execution.exp: New file.
850 * gdb.base/source-execution.gdb: New file.
852 2014-03-24 Doug Evans <dje@google.com>
854 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
857 2014-03-24 Hui Zhu <hui@codesourcery.com>
858 Pedro Alves <palves@redhat.com>
861 * gdb.base/dprintf.exp: Use unsupported rather than changing the
862 test pass/fail messages. Detect missing support for dprintf when
863 breakpoints are actually inserted.
864 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
865 breakpoints are actually inserted.
866 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
869 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
871 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
873 2014-03-22 Doug Evans <xdje42@gmail.com>
875 * gdb.python/python.exp (python not supported): Verify multi-line
876 python command issues an error.
877 * gdb.guile/guile.exp (guile not supported): Verify multi-line
878 guile command issues an error.
880 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
882 * gdb.threads/thread-specific.exp: Handle the lack of usable
883 $this_breakpoint and $this_thread.
885 2014-03-21 Hui Zhu <hui@codesourcery.com>
887 * gdb.base/attach.exp (do_command_attach_tests): New.
889 2014-03-20 Tom Tromey <tromey@redhat.com>
890 Pedro Alves <palves@redhat.com>
893 * gdb.base/condbreak-call-false.c: New file.
894 * gdb.base/condbreak-call-false.exp: New file.
896 2014-03-20 Pedro Alves <palves@redhat.com>
898 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
900 (block_signals, unblock_signals): Delete.
901 (child_function_2, main): Remove references to deleted variable
904 2014-03-20 Pedro Alves <palves@redhat.com>
906 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
907 Use pthread_kill to signal thread 2.
908 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
909 Adjust to make the test send itself a signal rather than using the
910 host's "kill" command.
912 2014-03-20 Pedro Alves <palves@redhat.com>
914 * gdb.threads/multiple-step-overs.c: New file.
915 * gdb.threads/multiple-step-overs.exp: New file.
916 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
917 Adjust expected infrun debug output.
919 2014-03-20 Pedro Alves <palves@redhat.com>
921 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
922 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
924 2014-03-20 Pedro Alves <palves@redhat.com>
927 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
928 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
929 of gdb_test_multiple.
930 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
931 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
933 2014-03-20 Pedro Alves <palves@redhat.com>
935 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
936 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
938 2014-03-19 Pedro Alves <palves@redhat.com>
940 * gdb.base/async.exp: Remove early return.
942 2014-03-19 Pedro Alves <palves@redhat.com>
944 * gdb.base/async.exp (step& tests): Pass explicit test messages.
946 2014-03-19 Pedro Alves <palves@redhat.com>
948 * gdb.base/async.exp (test_background): Expect \r\n after
949 "completed." in the fail pattern.
951 2014-03-19 Pedro Alves <palves@redhat.com>
953 * gdb.base/async.exp (test_background): New procedure.
954 Use it for all background execution command tests.
956 2014-03-19 Pedro Alves <palves@redhat.com>
958 * gdb.base/async.exp: Use prepare_for_testing.
960 2014-03-19 Pedro Alves <palves@redhat.com>
962 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
965 2014-03-19 Pedro Alves <palves@redhat.com>
967 * gdb.base/async.c (main): Add "jump here" and "until here" line
969 * gdb.base/async.exp (jump_here): New global.
970 (jump& test): Use it.
971 (until_here): New global.
972 (until& test): Use it.
974 2014-03-19 Pedro Alves <palves@redhat.com>
976 * gdb.base/async.exp: Don't frob gdb_protocol.
978 2014-03-18 Doug Evans <xdje42@gmail.com>
980 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
981 Fix spelling of exec-done-display.
983 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
986 * gdb.base/gdb-sigterm.c: New file.
987 * gdb.base/gdb-sigterm.exp: New file.
989 2014-03-18 Pedro Alves <palves@redhat.com>
992 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
993 * lib/mi-support.exp (mi_expect_stop): Add special handling for
996 2014-03-17 Joel Brobecker <brobecker@adacore.com>
998 * gdb.ada/pckd_arr_ren: New testcase.
1000 2014-03-13 Doug Evans <xdje42@gmail.com>
1003 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1004 collect after discarding symbols.
1006 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1007 Doug Evans <xdje42@gmail.com>
1009 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1010 to history survives a gc.
1012 2014-03-13 Pedro Alves <palves@redhat.com>
1014 * gdb.base/default.exp: Don't test "target procfs".
1016 2014-03-13 Pedro Alves <palves@redhat.com>
1018 * gdb.base/default.exp: Update "target child" and "target procfs"
1019 tests to not expect "Unix".
1021 2014-03-12 Tom Tromey <tromey@redhat.com>
1023 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1024 New procs. Add target-async tests.
1025 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1026 Add target-async tests.
1028 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1030 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1031 'func_start' and 'func_end' for the beginning and end of the
1032 function code, respectively.
1033 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1034 'func_end' instead of 'func' and 'main'.
1036 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1038 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1039 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1040 generate the debug info assembler source.
1042 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1044 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1045 * gdb.dwarf2/arr-subrange.exp: Likewise.
1046 * gdb.dwarf2/dwz.exp: Likewise.
1047 * gdb.dwarf2/method-ptr.exp: Likewise.
1048 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1049 * gdb.dwarf2/subrange.exp: Likewise.
1050 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1051 * gdb.dwarf2/implptrpiece.exp: Likewise.
1052 * gdb.dwarf2/nostaticblock.exp: Likewise.
1054 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1056 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1057 directory to absolute path name arguments.
1059 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1061 * gdb.ada/tagged_access: New testcase.
1063 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1065 * gdb.btrace/data.exp: Update expected output.
1067 2014-03-06 Yao Qi <yao@codesourcery.com>
1069 * gdb.trace/pr16508.exp: New file.
1071 2014-03-05 Pedro Alves <palves@redhat.com>
1074 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1076 (top level): Adjust to use it. Add tests that exercise breakpoint
1077 interaction with the code-cache.
1079 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1081 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1082 test for 'history-append!'.
1084 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1086 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1087 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1088 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1089 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1090 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1091 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1093 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1095 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1096 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1097 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1099 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1101 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1103 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1105 * gdb.dwarf2/arr-stride.c: New file.
1106 * gdb.dwarf2/arr-stride.exp: New file.
1108 2014-02-26 Pedro Alves <palves@redhat.com>
1110 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1111 that won't ever trigger. Make sure that GDB reports the correct
1112 breakpoint that caused the stop.
1114 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1117 * gdb.base/auto-load-script: New file.
1118 * gdb.base/auto-load.c: New file.
1119 * gdb.base/auto-load.exp: New file.
1122 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1124 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1126 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1127 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1129 2014-02-24 Doug Evans <dje@google.com>
1131 * lib/gdb.exp (run_on_host): Log error output if program fails.
1133 2014-02-21 Pedro Alves <palves@redhat.com>
1135 * gdb.threads/step-after-sr-lock.c: Rename to ...
1136 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1137 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1138 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1141 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1144 * gdb.arch/amd64-stap-special-operands.exp: New file.
1145 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1146 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1147 * gdb.arch/amd64-stap-triplet.S: Likewise.
1148 * gdb.arch/amd64-stap-triplet.c: Likewise.
1150 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1152 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1153 in .section pseudo-op.
1155 2014-02-20 lin zuojian <manjian2006@gmail.com>
1156 Joel Brobecker <brobecker@adacore.com>
1157 Doug Evans <xdje42@gmail.com>
1160 * gdb.dwarf2/dw2-icycle.S: New file.
1161 * gdb.dwarf2/dw2-icycle.c: New file.
1162 * gdb.dwarf2/dw2-icycle.exp: New file.
1164 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1166 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1167 operations on gdb.Value objects.
1168 * gdb.python/py-value-cc.exp: Add new test to test operations on
1171 2014-02-18 Doug Evans <dje@google.com>
1173 * Makefile.in (TESTS): New variable.
1174 (expanded_tests, expanded_tests_or_none): New variables
1175 (check-single): Pass $(expanded_tests_or_none) to runtest.
1176 (check-parallel): Only run tests in $(TESTS) if non-empty.
1177 (check/no-matching-tests-found): New rule.
1178 * README: Document TESTS makefile variable.
1180 2014-02-18 Doug Evans <dje@google.com>
1182 * Makefile.in (check-parallel): rm -rf outputs temp.
1184 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1186 Fix "ERROR: no fileid for" in the testsuite.
1187 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1189 2014-02-12 Doug Evans <dje@google.com>
1191 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1192 (MISCELLANEOUS): New variable.
1193 (clean): rm -rf $(MISCELLANEOUS).
1194 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1195 dwp live in the same directory as symlinks, with each symlink pointed
1196 to a differently named file in a different directory.
1198 2014-02-11 Doug Evans <dje@google.com>
1200 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1201 of Tcl file commands.
1203 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1205 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1208 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1210 * gdb.ada/tick_length_array_enum_idx: New testcase.
1212 2014-02-10 Doug Evans <xdje42@gmail.com>
1214 * configure.ac (AC_OUTPUT): Add gdb.guile.
1215 * configure: Regenerate.
1216 * lib/gdb-guile.exp: New file.
1217 * lib/gdb.exp (get_target_charset): New function.
1218 * gdb.base/help.exp: Update expected output from "apropos apropos".
1219 * gdb.guile/Makefile.in: New file.
1220 * gdb.guile/guile.exp: New file.
1221 * gdb.guile/scm-arch.c: New file.
1222 * gdb.guile/scm-arch.exp: New file.
1223 * gdb.guile/scm-block.c: New file.
1224 * gdb.guile/scm-block.exp: New file.
1225 * gdb.guile/scm-breakpoint.c: New file.
1226 * gdb.guile/scm-breakpoint.exp: New file.
1227 * gdb.guile/scm-disasm.c: New file.
1228 * gdb.guile/scm-disasm.exp: New file.
1229 * gdb.guile/scm-equal.c: New file.
1230 * gdb.guile/scm-equal.exp: New file.
1231 * gdb.guile/scm-error.exp: New file.
1232 * gdb.guile/scm-error.scm: New file.
1233 * gdb.guile/scm-frame-args.c: New file.
1234 * gdb.guile/scm-frame-args.exp: New file.
1235 * gdb.guile/scm-frame-args.scm: New file.
1236 * gdb.guile/scm-frame-inline.c: New file.
1237 * gdb.guile/scm-frame-inline.exp: New file.
1238 * gdb.guile/scm-frame.c: New file.
1239 * gdb.guile/scm-frame.exp: New file.
1240 * gdb.guile/scm-generics.exp: New file.
1241 * gdb.guile/scm-gsmob.exp: New file.
1242 * gdb.guile/scm-iterator.c: New file.
1243 * gdb.guile/scm-iterator.exp: New file.
1244 * gdb.guile/scm-math.c: New file.
1245 * gdb.guile/scm-math.exp: New file.
1246 * gdb.guile/scm-objfile-script-gdb.in: New file.
1247 * gdb.guile/scm-objfile-script.c: New file.
1248 * gdb.guile/scm-objfile-script.exp: New file.
1249 * gdb.guile/scm-objfile.c: New file.
1250 * gdb.guile/scm-objfile.exp: New file.
1251 * gdb.guile/scm-ports.exp: New file.
1252 * gdb.guile/scm-pretty-print.c: New file.
1253 * gdb.guile/scm-pretty-print.exp: New file.
1254 * gdb.guile/scm-pretty-print.scm: New file.
1255 * gdb.guile/scm-section-script.c: New file.
1256 * gdb.guile/scm-section-script.exp: New file.
1257 * gdb.guile/scm-section-script.scm: New file.
1258 * gdb.guile/scm-symbol.c: New file.
1259 * gdb.guile/scm-symbol.exp: New file.
1260 * gdb.guile/scm-symtab-2.c: New file.
1261 * gdb.guile/scm-symtab.c: New file.
1262 * gdb.guile/scm-symtab.exp: New file.
1263 * gdb.guile/scm-type.c: New file.
1264 * gdb.guile/scm-type.exp: New file.
1265 * gdb.guile/scm-value-cc.cc: New file.
1266 * gdb.guile/scm-value-cc.exp: New file.
1267 * gdb.guile/scm-value.c: New file.
1268 * gdb.guile/scm-value.exp: New file.
1269 * gdb.guile/source2.scm: New file.
1270 * gdb.guile/types-module.cc: New file.
1271 * gdb.guile/types-module.exp: New file.
1273 2014-02-10 Yao Qi <yao@codesourcery.com>
1276 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1277 * configure: Regenerated.
1278 * Makefile.in: New file.
1280 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1282 * gdb.python/py-framefilter.exp: Fix typo.
1284 2014-02-08 Yao Qi <yao@codesourcery.com>
1286 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1287 that no =breakpoint-modified is emitted when breakpoints are
1288 modified through MI commands.
1290 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1291 Pedro Alves <palves@redhat.com>
1293 * gdb.threads/step-after-sr-lock.c: New file.
1294 * gdb.threads/step-after-sr-lock.exp: New file.
1296 2014-02-07 Pedro Alves <palves@redhat.com>
1298 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1300 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1302 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1303 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1305 2014-02-06 Doug Evans <xdje42@gmail.com>
1307 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1310 * gdb.gdb/python-interrupts.exp: New file.
1312 2014-02-05 Yao Qi <yao@codesourcery.com>
1314 * gdb.trace/report.exp (use_collected_data): Test the output
1315 of "info threads" and "info inferiors".
1317 2014-02-05 Yao Qi <yao@codesourcery.com>
1321 2013-05-24 Yao Qi <yao@codesourcery.com>
1323 * gdb.trace/tfile.exp: Test inferior and thread.
1325 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1327 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1329 * gdb.base/step-bt.c: Call hello via function pointer to make
1330 sure its first instruction is executed on powerpc64le-linux.
1332 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1334 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1336 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1338 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1339 of the test patterns for use on little-endian systems.
1341 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1343 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1344 (decimal_vector): Fix for little-endian.
1346 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1348 * gdb.arch/sparc-sysstep.exp: New file.
1349 * gdb.arch/sparc-sysstep.c: Likewise.
1351 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1353 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1355 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1357 2014-01-23 Tom Tromey <tromey@redhat.com>
1359 * gdb.ada/array_char_idx: New testcase.
1361 2014-01-23 Tom Tromey <tromey@redhat.com>
1364 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1365 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1368 2014-01-23 Tom Tromey <tromey@redhat.com>
1371 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1372 string from an inferior frame.
1373 * gdb.python/py-framefilter-mi.exp: Update.
1375 2014-01-22 Doug Evans <dje@google.com>
1377 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1379 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1381 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1383 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1385 * gdb.trace/entry-values.exp: Remove excess space character from
1386 regex patterns. Handle s390 call instruction.
1388 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1390 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1391 define "*_start" label. Make "name" static.
1392 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1393 ${name} by references to ${name}_start.
1395 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1397 * gdb.base/info-macros.exp: Remove "debug" from the compile
1400 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1402 * gdb.dlang/demangle.exp: New file.
1404 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1406 * gdb.dlang/primitive-types.exp: New file.
1408 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1410 * configure.ac: Create gdb.dlang/Makefile.
1411 * configure: Regenerate.
1412 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1413 * gdb.dlang/Makefile.in: New file.
1414 * lib/d-support.exp: New file.
1415 * lib/gdb.exp (skip_d_tests): New proc.
1417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1419 * gdb.btrace/delta.exp: Check reverse stepi.
1420 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1421 * gdb.btrace/finish.exp: New.
1422 * gdb.btrace/next.exp: New.
1423 * gdb.btrace/nexti.exp: New.
1424 * gdb.btrace/record_goto.c: Add comments.
1425 * gdb.btrace/step.exp: New.
1426 * gdb.btrace/stepi.exp: New.
1427 * gdb.btrace/multi-thread-step.c: New.
1428 * gdb.btrace/multi-thread-step.exp: New.
1429 * gdb.btrace/rn-dl-bind.c: New.
1430 * gdb.btrace/rn-dl-bind.exp: New.
1431 * gdb.btrace/data.c: New.
1432 * gdb.btrace/data.exp: New.
1433 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1435 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1437 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1438 * gdb.btrace/exception.exp: Update.
1439 * gdb.btrace/instruction_history.exp: Update.
1440 * gdb.btrace/record_goto.exp: Update.
1441 * gdb.btrace/tailcall.exp: Update.
1442 * gdb.btrace/unknown_functions.exp: Update.
1443 * gdb.btrace/delta.exp: New.
1445 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1447 * gdb.btrace/record_goto.exp: Add backtrace test.
1448 * gdb.btrace/tailcall.exp: Add backtrace test.
1450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1452 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1453 * gdb.btrace/record_goto.c: New.
1454 * gdb.btrace/record_goto.exp: New.
1455 * gdb.btrace/x86-record_goto.S: New.
1457 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1459 * gdb.btrace/function_call_history.exp: Update tests.
1460 * gdb.btrace/instruction_history.exp: Update tests.
1462 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1464 * gdb.btrace/function_call_history.exp: Fix expected field
1465 order for "record function-call-history".
1466 Add new tests for "record function-call-history /c".
1467 * gdb.btrace/exception.cc: New.
1468 * gdb.btrace/exception.exp: New.
1469 * gdb.btrace/tailcall.exp: New.
1470 * gdb.btrace/x86-tailcall.S: New.
1471 * gdb.btrace/x86-tailcall.c: New.
1472 * gdb.btrace/unknown_functions.c: New.
1473 * gdb.btrace/unknown_functions.exp: New.
1474 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1476 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1478 * gdb.btrace/instruction_history.exp: Update.
1479 * gdb.btrace/function_call_history.exp: Update.
1481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1483 * gdb.btrace/function_call_history.exp: Fix expected function
1485 * gdb.btrace/instruction_history.exp: Initialize traced.
1486 Remove traced_functions.
1488 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1490 * gdb.btrace/function_call_history.exp: Update
1491 * gdb.btrace/instruction_history.exp: Update.
1493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1495 * gdb.btrace/enable.exp: Update expected text.
1497 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1499 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1502 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1504 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1506 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1508 * lib/gdb.exp (supports_process_record): Return true for
1509 arm*-linux*. (supports_reverse): Likewise.
1511 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1515 * gdb.python/py-type.c: Enhance test case.
1516 * gdb.python/py-value-cc.cc: Likewise
1517 * gdb.python/py-type.exp: Add new tests.
1518 * gdb.python/py-value-cc.exp: Likewise
1520 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1521 Pedro Alves <palves@redhat.com>
1523 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1525 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1526 references to ${name}_start by references to ${name}.
1528 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1530 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1532 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1534 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1536 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1537 Pedro Alves <palves@redhat.com>
1539 * gdb.mi/mi-info-os.exp: Connect to the target with
1542 2014-01-08 Pedro Alves <palves@redhat.com>
1544 * gdb.threads/reconnect-signal.c: New file.
1545 * gdb.threads/reconnect-signal.exp: New file.
1547 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1549 * gdb.base/source-dir.exp: New file.
1551 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1553 * gdb.ada/mi_interface: New testcase.
1555 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1557 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1558 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1559 gdb.ada/pp-rec-component/pck.ads: New files.
1561 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1563 * gdb.python/py-pp-integral.c: New file.
1564 * gdb.python/py-pp-integral.py: New file.
1565 * gdb.python/py-pp-integral.exp: New file.
1567 For older changes see ChangeLog-1993-2013.
1573 ;; version-control: never
1576 Copyright 2014 Free Software Foundation, Inc.
1577 Copying and distribution of this file, with or without modification,
1578 are permitted provided the copyright notice and this notice are preserved.