Add a TRY_CATCH to get_prev_frame_always to better manage errors during unwind.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
2
3 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
4 results.
5 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6
7 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
8
9 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10 * gdb.arch/amd64-invalid-stack-middle.c: New file.
11 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
12 * gdb.arch/amd64-invalid-stack-top.c: New file.
13 * gdb.arch/amd64-invalid-stack-top.exp: New file.
14
15 2014-05-30 Pedro Alves <palves@redhat.com>
16
17 PR breakpoints/17000
18 * gdb.base/sss-bp-on-user-bp.c: New file.
19 * gdb.base/sss-bp-on-user-bp.exp: New file.
20
21 2014-05-30 David Blaikie <dblaikie@gmail.com>
22
23 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
24 gnu_inline semantics via attribute.
25 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
26 source explicitly specifies the required semantics.
27
28 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
29
30 * gdb.reverse/sigall-reverse.exp: Fix a typo.
31
32 2014-05-29 Pedro Alves <palves@redhat.com>
33 Tom Tromey <tromey@redhat.com>
34
35 * gdb.base/async-shell.exp: Don't enable target-async.
36 * gdb.base/async.exp
37 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
38 parameter. Adjust.
39 (top level): Don't test with "target-async".
40 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
41 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
42 * gdb.base/inferior-died.exp: Don't enable target-async.
43 * gdb.base/interrupt-noterm.exp: Likewise.
44 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
45 * gdb.mi/mi-nonstop-exit.exp: Likewise.
46 * gdb.mi/mi-nonstop.exp: Likewise.
47 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
48 * gdb.mi/mi-nsintrall.exp: Likewise.
49 * gdb.mi/mi-nsmoribund.exp: Likewise.
50 * gdb.mi/mi-nsthrexec.exp: Likewise.
51 * gdb.mi/mi-watch-nonstop.exp: Likewise.
52 * gdb.multi/watchpoint-multi.exp: Adjust comment.
53 * gdb.python/py-evsignal.exp: Don't enable target-async.
54 * gdb.python/py-evthreads.exp: Likewise.
55 * gdb.python/py-prompt.exp: Likewise.
56 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
57 * gdb.server/solib-list.exp: Don't enable target-async.
58 * gdb.threads/thread-specific-bp.exp: Likewise.
59 * lib/mi-support.exp: Adjust to use mi-async.
60
61 2014-05-29 Pedro Alves <palves@redhat.com>
62
63 PR gdb/13860
64 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
65 reason, even in sync mode.
66
67 2014-05-29 Pedro Alves <palves@redhat.com>
68 Hui Zhu <hui@codesourcery.com>
69
70 PR PR15693
71 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
72 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
73 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
74 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
75
76 2014-05-28 Joel Brobecker <brobecker@adacore.com>
77
78 * config/monitor.exp (gdb_target_monitor): Replace use of
79 "set remotebaud" by "set serial baud".
80
81 2014-05-26 Andy Wingo <wingo@igalia.com>
82
83 * gdb.guile/scm-breakpoint.exp:
84 * gdb.guile/scm-gsmob.exp: Update to use plain old object
85 properties instead of gdb-object-properties.
86
87 2014-05-26 Yao Qi <yao@codesourcery.com>
88
89 * gdb.server/no-thread-db.exp: Specify source file name
90 explicitly when setting a breakpoint.
91
92 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
93
94 * gdb.btrace/vdso.c: New.
95 * gdb.btrace/vdso.exp: New.
96
97 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
98
99 * gdb.base/gcore.exp (capture_command_output): Move ...
100 * lib/gdb.exp (capture_command_output): ... here.
101
102 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
103
104 * gdb.btrace/data.exp: Test memory access during btrace replay.
105
106 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
107
108 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
109
110 2014-05-21 Pedro Alves <palves@redhat.com>
111
112 PR gdb/13860
113 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
114 (top level): Test that output related to execution commands is
115 sent to the console with CLI commands, but not with MI commands.
116 Test that breakpoint events are always mirrored to the console.
117 Also expect the new source line to be output after a "next" in
118 async mode too. Make it a pass/fail test.
119 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
120 output.
121 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
122
123 2014-05-21 Pedro Alves <palves@redhat.com>
124
125 * gdb.base/list.exp (build_pattern, test_list): New procedures.
126 Use them to test variations of "list" after reaching a breakpoint.
127 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
128 Test "list" with listsize 10 after reaching a breakpoint.
129 * gdb.python/python.exp (decode_line current location line
130 number): Adjust expected line number.
131
132 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
133
134 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
135 behavior for $args, pass it directly to "run".
136
137 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
138
139 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
140 30000 to 65536.
141
142 2014-05-21 Pedro Alves <palves@redhat.com>
143
144 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
145 auto-connect-native-target off".
146 * gdb.base/auto-connect-native-target.c: New file.
147 * gdb.base/auto-connect-native-target.exp: New file.
148
149 2014-05-21 Pedro Alves <palves@redhat.com>
150
151 * gdb.base/default.exp: Test "target native" instead of "target
152 child".
153
154 2014-05-21 Mark Wielaard <mjw@redhat.com>
155
156 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
157
158 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
159
160 Fix TLS access for -static -pthread.
161 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
162 <HAVE_TLS> (thread_function, main): Initialize it.
163 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
164 Add clean_restart.
165 <$have_tls != "">: Check TLSVAR.
166
167 2014-05-21 Pedro Alves <palves@redhat.com>
168
169 * gdb.base/dcache-line-read-error.c: New.
170 * gdb.base/dcache-line-read-error.exp: New.
171
172 2014-05-20 Pedro Alves <palves@redhat.com>
173
174 * gdb.base/compare-sections.c: New file.
175 * gdb.base/compare-sections.exp: New file.
176
177 2014-05-20 Pedro Alves <palves@redhat.com>
178
179 * gdb.base/break-idempotent.c: New file.
180 * gdb.base/break-idempotent.exp: New file.
181
182 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
183
184 * gdb.btrace/nohist.exp: New.
185
186 2014-05-20 Yao Qi <yao@codesourcery.com>
187
188 * lib/gdb.exp (gdb_init): Set timeout if test file is under
189 gdb.reverse directory and gdb_reverse_timeout exists in board
190 setting.
191 * README: Document gdb_reverse_timeout.
192
193 2014-05-20 Yao Qi <yao@codesourcery.com>
194
195 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
196 'test_file_name'. Treat args as a string instead of a list.
197 (gdb_init): Rename argument 'args' by 'test_file_name'.
198
199 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
200
201 * gdb.arch/powerpc-power.exp: New file.
202 * gdb.arch/powerpc-power.s: New file.
203
204 2014-05-16 Doug Evans <dje@google.com>
205
206 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
207 * gdb.base/completion.exp: Check that all expected files exist
208 before doing file completion.
209
210 2014-05-16 Doug Evans <dje@google.com>
211
212 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
213 Update.
214 (do_syscall_tests_without_xml): Update.
215
216 2014-05-16 Pedro Alves <palves@redhat.com>
217
218 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
219 instead of "unknown output after running".
220
221 2014-05-16 Yao Qi <yao@codesourcery.com>
222
223 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
224 file1.txt from host at the end.
225 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
226
227 2014-05-15 Doug Evans <dje@google.com>
228
229 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
230 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
231 loading file. Add test for TU lookup.
232
233 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
234
235 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
236 calling "-exec-arguments" or "set args" before running the
237 inferior.
238
239 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
240
241 * lib/mi-support.exp (mi_expect_stop): Expect message for
242 inferiors that exit with non-zero exit code.
243
244 2014-05-14 Yao Qi <yao@codesourcery.com>
245
246 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
247 match absolute path on remote host.
248 (test_file_list_exec_source_files): Remove "/" from the
249 pattern.
250
251 2014-05-14 Yao Qi <yao@codesourcery.com>
252
253 * boards/local-remote-host-notty.exp (${board}_file): New
254 proc.
255
256 2014-05-07 Kyle McMartin <kyle@redhat.com>
257
258 Pushed by Joel Brobecker <brobecker@adacore.com>.
259 * gdb.arch/aarch64-atomic-inst.c: New file.
260 * gdb.arch/aarch64-atomic-inst.exp: New file.
261
262 2014-05-07 Yao Qi <yao@codesourcery.com>
263
264 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
265 in current context" too.
266
267 2014-05-05 Keith Seitz <keiths@redhat.com>
268
269 * gdb.linespec/ls-dollar.exp: Add test for linespec
270 file:convenience_variable.
271
272 2014-05-05 Yao Qi <yao@codesourcery.com>
273
274 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
275 traceframes into tfile and ctf trace files. Read data from
276 trace file and test collected data.
277 (gdb_collect_locals_test): Likewise.
278 (gdb_unavailable_registers_test): Likewise.
279 (gdb_unavailable_floats): Likewise.
280 (gdb_collect_globals_test): Likewise.
281 (top-level): Append "ctf" to trace_file_targets if GDB
282 supports.
283
284 2014-05-05 Yao Qi <yao@codesourcery.com>
285
286 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
287 code to ...
288 (gdb_collect_args_test_1): ... it. New proc.
289 (gdb_collect_locals_test): Move some code to ...
290 (gdb_collect_locals_test_1): ... it. New proc.
291 (gdb_unavailable_registers_test): Move some code to ...
292 (gdb_unavailable_registers_test_1): ... it. New proc.
293 (gdb_unavailable_floats): Move some code to ...
294 (gdb_unavailable_floats_1): ... it. New proc.
295
296 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
297
298 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
299 probes to test for bitness recognition.
300 * gdb.arch/amd64-stap-optional-prefix.exp
301 (test_probe_value_without_reg): New procedure.
302 Add code to test for different kinds of bitness.
303
304 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
305
306 PR breakpoints/16889
307 * gdb.arch/amd64-stap-optional-prefix.S: New file.
308 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
309
310 2014-05-01 Pedro Alves <palves@redhat.com>
311
312 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
313 gdb_file_cmd if no file is specified.
314 * boards/native-extended-gdbserver.exp (gdb_load): Use the
315 last_loaded_file to set the remote exec-file.
316
317 2014-05-01 Pedro Alves <palves@redhat.com>
318
319 * boards/local-remote-host.exp: New file.
320
321 2014-05-01 Pedro Alves <palves@redhat.com>
322
323 * boards/local-remote-host.exp: Rename to ...
324 * boards/local-remote-host-notty.exp: ... this.
325
326 2014-04-28 Joel Brobecker <brobecker@adacore.com>
327
328 * gdb.ada/dyn_arrayidx: New testcase.
329
330 2014-04-26 Yao Qi <yao@codesourcery.com>
331
332 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
333 and compute the length of function main. Save it in
334 $main_length.
335 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
336 (top-level): Use gdb_compile to compile objects into
337 executable and restart GDB. Remove invocation to
338 prepare_for_testing.
339
340 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
341 Pedro Alves <palves@redhat.com>
342
343 PR server/16255
344 * gdb.multi/multi-attach.c: New file.
345 * gdb.multi/multi-attach.exp: New file.
346
347 2014-04-25 Pedro Alves <palves@redhat.com>
348
349 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
350 user.
351 (top level): Test that "set remote conditional-breakpoints-packet
352 off" works as intended.
353 * gdb.base/dprintf.exp: Test that "set remote
354 breakpoint-commands-packet off" works as intended.
355 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
356 New function.
357 (top level): Call it.
358 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
359 remote fast-tracepoints-packet off" works as intended.
360 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
361 * lib/gdb.exp (gdb_is_target_remote): ... here.
362
363 2014-04-24 David Blaikie <dblaikie@gmail.com>
364
365 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
366 ensure clang would not discard them.
367 * gdb.base/gdbvars.c: Ditto.
368 * gdb.base/memattr.c: Ditto.
369 * gdb.base/whatis.c: Ditto.
370 * gdb.python/py-prettyprint.c: Ditto.
371 * gdb.trace/actions.c: Ditto.
372 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
373 ensure clang would not discard it.
374
375 2014-04-24 David Blaikie <dblaikie@gmail.com>
376
377 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
378 clang to emit the full definition of type required by the test
379 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
380
381 2014-04-24 David Blaikie <dblaikie@gmail.com>
382
383 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
384 coax Clang into emitting the definition of the type.
385 * gdb.cp/pr10728-x.h (y): Ditto.
386 * gdb.cp/pr10728-y.cc (y): Ditto.
387
388 2014-04-24 David Blaikie <dblaikie@gmail.com>
389
390 * gdb.base/label.exp: XFAIL label related tests under Clang.
391 * gdb.cp/cplabel.exp: Ditto.
392 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
393 under Clang those using labels.
394
395 2014-04-25 Yao Qi <yao@codesourcery.com>
396
397 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
398 double_label.
399 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
400 partial_label and double_label.
401
402 2014-04-24 David Blaikie <dblaikie@gmail.com>
403
404 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
405
406 2014-04-24 David Blaikie <dblaikie@gmail.com>
407
408 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
409 of the function to work across GCC and Clang.
410 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
411 pointer types (const void ** const V void **).
412
413 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
414 Walfred Tedeschi <walfred.tedeschi@intel.com>
415
416 * Makefile.in (EXECUTABLES): Added i386-avx512.
417 * gdb.arch/i386-avx512.c: New file.
418 * gdb.arch/i386-avx512.exp: Likewise.
419
420 2014-04-23 Keith Seitz <keiths@redhat.com>
421
422 * lib/mi-support.exp (mi_list_breakpoints): Delete.
423 (mi_make_breakpoint_table): New procedure.
424 (mi_create_breakpoint): Use mi_make_breakpoint
425 and return the result.
426 (mi_make_breakpoint): New procedure.
427 (mi_build_kv_pairs): New procedure.
428
429 * gdb.mi/mi-break.exp: Remove unused globals,
430 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
431 All callers updated.
432 * gdb.mi/mi-dprintf.exp: Use variable to track command
433 number.
434 Update all callers of mi_create_breakpoint and use
435 mi_make_breakpoint_table.
436 Remove any unused global variables.
437 * gdb.mi/mi-nonstop.exp: Likewise.
438 * gdb.mi/mi-nsintrall.exp: Likewise.
439 * gdb.mi/mi-nsmoribund.exp: Likewise.
440 * gdb.mi/mi-nsthrexec.exp: Likewise.
441 * gdb.mi/mi-reverse.exp: Likewise.
442 * gdb.mi/mi-simplerun.exp: Likewise.
443 * gdb.mi/mi-stepn.exp: Likewise.
444 * gdb.mi/mi-syn-frame.exp: Likewise.
445 * gdb.mi/mi-until.exp: Likewise.
446 * gdb.mi/mi-var-cp.exp: Likewise.
447 * gdb.mi/mi-var-display.exp: Likewise.
448 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
449 * gdb.mi/mi2-var-child.exp: Likewise.
450 * gdb.mi/mi-vla-c99.exp: Likewise.
451 * lib/mi-support.exp: Likewise.
452
453 From Ian Lance Taylor <iant@cygnus.com>:
454 * lib/gdb.exp (parse_args): New procedure.
455
456 2014-04-23 Pedro Alves <palves@redhat.com>
457
458 * gdb.base/break-unload-file.c: New file.
459 * gdb.base/break-unload-file.exp: New file.
460 * gdb.base/sym-file-lib.c (baz): New function.
461 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
462 field.
463 (load): Store the segment's mapped size.
464 (unload): New function.
465 (unload_shlib): New function.
466 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
467 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
468 set a breakpoint at baz, and call it.
469 * gdb.base/sym-file.exp: New tests for stale breakpoint
470 instructions.
471
472 2014-04-23 Pedro Alves <palves@redhat.com>
473
474 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
475 * gdb.base/hbreak-in-shr-unsupported.c: New file.
476 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
477 * gdb.base/hbreak-unmapped.c: New file.
478 * gdb.base/hbreak-unmapped.exp: New file.
479 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
480 * lib/gdb.exp (gdb_is_target_remote): ... here.
481
482 2014-04-22 Pedro Alves <palves@redhat.com>
483
484 * gdb.base/consecutive-step-over.c: New file.
485 * gdb.base/consecutive-step-over.exp: New file.
486
487 2014-04-22 Pedro Alves <palves@redhat.com>
488
489 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
490 instead of send_gdb/gdb_expect.
491
492 2014-04-22 Yao Qi <yao@codesourcery.com>
493
494 * lib/trace-support.exp (generate_tracefile): New procedure.
495 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
496 return 0.
497 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
498 if generate_tracefile returns 1.
499
500 2014-04-18 Tom Tromey <palves@redhat.com>
501 Pedro alves <tromey@redhat.com>
502
503 PR backtrace/15558
504 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
505 with a backtrace limit.
506 * gdb.python/py-frame-inline.exp: Test running to an inline
507 function with a backtrace limit, and printing the newest frame.
508 * gdb.python/py-frame-inline.c (main): Call f.
509
510 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
511
512 * gdb.java/jnpe.exp: Drop srcdir from untested path.
513
514 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
515
516 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
517 Drop prefix from unsupported source file path.
518
519 2014-04-17 Yao Qi <yao@codesourcery.com>
520
521 * lib/gdb.exp (with_target_charset): New proc.
522 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
523 with_target_charset.
524 (test_print_strings): Likewise.
525 (test_repeat_bytes): Likewise.
526 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
527 for some tests.
528
529 2014-04-16 Keith Seitz <keiths@redhat.com>
530
531 PR gdb/15827
532 * gdb.dwarf2/corrupt.c: New file.
533 * gdb.dwarf2/corrupt.exp: New file.
534
535 2014-04-16 Keith Seitz <keiths@redhat.com>
536
537 PR c++/16597
538 * gdb.cp/namelessclass.cc: New file.
539 * gdb.cp/namelessclass.exp: New file.
540 * gdb.cp/namelessclass.S: New file.
541
542 2014-04-16 Doug Evans <dje@google.com>
543
544 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
545 Add comment.
546 (gdbserver_default_get_comm_port): New function.
547 (gdbserver_start): Check if board file provided
548 "gdbserver,get_comm_port" and use it if so.
549 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
550 (gdb,socketport): Set to "stdio".
551 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
552 (stdio_gdbserver_template): Delete.
553 (${board}_get_remote_address): Update.
554 (${board}_build_remote_cmd): Delete.
555 (${board}_get_comm_port): New function.
556 (${board}_spawn): Update.
557 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
558 Delete.
559 (${board}_get_remote_address): Update.
560 (${board}_get_comm_port): New function.
561
562 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
563
564 * gdb.base/memattr.exp: Improve regexps to handle memory regions
565 appearing in any order.
566
567 2014-04-15 Doug Evans <dje@google.com>
568
569 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
570 uninitialized value of "description".
571
572 2014-04-15 Keith Seitz <keiths@redhat.com>
573
574 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
575 Remove unused globals.
576 (test_running_the_program): Likewise.
577 (test_controlled_execution): Likewise.
578 (test_controlling_breakpoints): Likewise.
579 (test_program_termination): Likewise.
580
581 2014-04-15 Keith Seitz <keiths@redhat.com>
582
583 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
584 unused globals.
585 (test_rbreak_creation_and_listing): Likewise.
586 (test_ignore_count): Likewise.
587 (test_error): Likewise.
588
589 2014-04-15 Pedro Alves <palves@redhat.com>
590
591 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
592 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
593 sym-file-loader.c.
594 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
595 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
596 to sym-file-loader.c.
597 (struct library): Forward declare.
598 (load_shlib, lookup_function): Change prototypes.
599 (find_shstrtab, find_strtab, find_shdr, find_symtab)
600 (translate_offset): Remove declarations.
601 (get_text_addr): New declaration.
602 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
603 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
604 sym-file-loader.h.
605 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
606 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
607 here from sym-file-loader.h.
608 (struct library): New structure.
609 (load_shlib, lookup_function): Change prototypes and adjust to
610 work with a struct library.
611 (find_shstrtab, find_strtab, find_shdr, find_symtab)
612 (translate_offset): Make static.
613 (get_text_addr): New function.
614 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
615
616 2014-04-15 Pedro Alves <palves@redhat.com>
617
618 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
619
620 2014-04-15 Pedro Alves <palves@redhat.com>
621
622 * gdb.base/sym-file-loader.c: Include <limits.h>.
623 (SELF_LINK): New define.
624 (get_origin): New function.
625 (load_shlib): Use it.
626 * gdb.base/sym-file.exp: Don't early return if the target is
627 remote. Use runto_main, and issue fail is that fails. Use
628 gdb_load_shlibs.
629 (shlib_name): Delete.
630 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
631
632 2014-04-15 Pedro Alves <palves@redhat.com>
633
634 * gdb.base/sym-file.exp: Remove regex characters from test
635 message. Don't refer to breakpoint numbers in test messages.
636
637 2014-04-14 Keith Seitz <keiths@redhat.com>
638
639 PR c++/16253
640 * gdb.cp/var-tag.cc: New file.
641 * gdb.cp/var-tag.exp: New file.
642 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
643 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
644 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
645 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
646
647 2014-04-14 Tom Tromey <tromey@redhat.com>
648
649 * gdb.cp/classes.exp (test_enums): Handle underlying type.
650 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
651 type.
652 * gdb.cp/enum-class.exp: New file.
653 * gdb.cp/enum-class.cc: New file.
654
655 2014-04-14 Tom Tromey <tromey@redhat.com>
656
657 * gdb.dwarf2/enum-type.exp: New file.
658
659 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
660
661 * gdb.mi/mi-vla-c99.exp: New file.
662 * gdb.mi/vla.c: New file.
663
664 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
665
666 * gdb.base/vla-datatypes.c: New file.
667 * gdb.base/vla-datatypes.exp: New file.
668
669 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
670
671 * gdb.base/vla-ptr.c: New file.
672 * gdb.base/vla-ptr.exp: New file.
673
674 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
675
676 * gdb.dwarf2/count.exp: New file.
677
678 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
679
680 * gdb.base/vla-sideeffect.c: New file.
681 * gdb.base/vla-sideeffect.exp: New file.
682
683 2014-04-14 David Blaikie <dblaikie@gmail.com>
684
685 * gdb.mi/non-stop.c: Add return value for non-void function return
686 statement.
687 * gdb.threads/staticthreads.c: Ditto.
688
689 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
690 Doug Evans <xdje42@gmail.com>
691
692 * gdb.guile/scm-value.c: Improve test case.
693 * gdb.guile/scm-value.exp: Add new test.
694
695 2014-04-11 David Blaikie <dblaikie@gmail.com>
696
697 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
698 override Clang's default.
699
700 2014-04-11 Joel Brobecker <brobecker@adacore.com>
701
702 Revert the following changes (regressions):
703
704 * gdb.base/vla-sideeffect.c: New file.
705 * gdb.base/vla-sideeffect.exp: New file.
706
707 * gdb.dwarf2/count.exp: New file.
708
709 * gdb.base/vla-multi.c: New file.
710 * gdb.base/vla-multi.exp: New file.
711
712 * gdb.base/vla-ptr.c: New file.
713 * gdb.base/vla-ptr.exp: New file.
714
715 * gdb.base/vla-datatypes.c: New file.
716 * gdb.base/vla-datatypes.exp: New file.
717
718 * gdb.mi/mi-vla-c99.exp: New file.
719 * gdb.mi/vla.c: New file.
720
721 2014-04-11 Keith Seitz <keiths@redhat.com>
722
723 PR c++/16675
724 * gdb.cp/cpsizeof.exp: New file.
725 * gdb.cp/cpsizeof.cc: New file.
726
727 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
728
729 * gdb.mi/mi-vla-c99.exp: New file.
730 * gdb.mi/vla.c: New file.
731
732 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
733
734 * gdb.base/vla-datatypes.c: New file.
735 * gdb.base/vla-datatypes.exp: New file.
736
737 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
738
739 * gdb.base/vla-ptr.c: New file.
740 * gdb.base/vla-ptr.exp: New file.
741
742 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
743
744 * gdb.base/vla-multi.c: New file.
745 * gdb.base/vla-multi.exp: New file.
746
747 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
748
749 * gdb.dwarf2/count.exp: New file.
750
751 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
752
753 * gdb.base/vla-sideeffect.c: New file.
754 * gdb.base/vla-sideeffect.exp: New file.
755
756 2014-04-11 Yao Qi <yao@codesourcery.com>
757
758 * gdb.base/completion.exp: Check file exists before running tests
759 on file completion.
760
761 2014-04-10 Pedro Alves <palves@redhat.com>
762
763 * gdb.base/cond-eval-mode.c: New file.
764 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
765 prepare_for_testing to build the new file. Check result of
766 runto_main.
767 (test_break, test_watch): New procedures.
768 (top level): Use them.
769
770 2014-04-08 Pierre Muller <muller@sourceware.org>
771
772 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
773 Ctrl-V use for mingw hosts.
774
775 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
776
777 * gdb.python/py-value.c: Improve test case.
778 * gdb.python/py-value.exp: Add new test.
779
780 2014-04-07 David Blaikie <dblaikie@gmail.com>
781
782 * lib/compiler.c: Identify the clang compiler.
783 * lib/compiler.cc: Ditto.
784
785 2014-04-03 Yao Qi <yao@codesourcery.com>
786
787 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
788
789 2014-04-01 Anton Blanchard <anton@samba.org>
790
791 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
792 messages unique.
793
794 2014-04-01 Anton Blanchard <anton@samba.org>
795
796 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
797 prepare_for_testing.
798
799 2014-04-01 Anton Blanchard <anton@samba.org>
800
801 * gdb.arch/ppc64-atomic-inst.c: Remove.
802 * gdb.arch/ppc64-atomic-inst.S: New file.
803 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
804
805 2014-03-31 Doug Evans <dje@google.com>
806
807 * gdb.base/print-symbol-loading-lib.c: New file.
808 * gdb.base/print-symbol-loading-main.c: New file.
809 * gdb.base/print-symbol-loading.exp: New file.
810
811 2014-03-31 Yao Qi <yao@codesourcery.com>
812
813 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
814
815 2014-03-28 Joel Brobecker <brobecker@adacore.com>
816
817 * gdb.ada/mi_dyn_arr: New testcase.
818
819 2014-03-27 Doug Evans <dje@google.com>
820
821 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
822
823 2014-03-27 Yao Qi <yao@codesourcery.com>
824
825 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
826 if target is nios2-*-*.
827
828 2014-03-26 Yao Qi <yao@codesourcery.com>
829
830 * lib/gdb.exp (readline_is_used): New proc.
831 * gdb.base/completion.exp: Move tests on command complete up.
832 Skip the rest of tests if readline is not used.
833 * gdb.ada/complete.exp: Skp the test if readline is not
834 used.
835 * gdb.base/filesym.exp: Likewise.
836 * gdb.base/macscp.exp: Likewise.
837 * gdb.base/readline-ask.exp: Likewise.
838 * gdb.base/readline.exp: Likewise.
839 * gdb.python/py-cmd.exp: Likewise.
840 * gdb.trace/tfile.exp: Likewise.
841
842 2014-03-26 Yao Qi <yao@codesourcery.com>
843
844 * gdb.base/macscp.exp: Fix code format issues.
845
846 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
847
848 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
849 * gdb.asm/powerpc64le.inc: New file.
850
851 2014-03-25 Pedro Alves <palves@redhat.com>
852 Doug Evans <dje@google.com>
853
854 * gdb.base/source-execution.c: New file.
855 * gdb.base/source-execution.exp: New file.
856 * gdb.base/source-execution.gdb: New file.
857
858 2014-03-24 Doug Evans <dje@google.com>
859
860 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
861 using fission.
862
863 2014-03-24 Hui Zhu <hui@codesourcery.com>
864 Pedro Alves <palves@redhat.com>
865
866 PR breakpoints/16101
867 * gdb.base/dprintf.exp: Use unsupported rather than changing the
868 test pass/fail messages. Detect missing support for dprintf when
869 breakpoints are actually inserted.
870 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
871 breakpoints are actually inserted.
872 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
873 fails.
874
875 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
876
877 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
878
879 2014-03-22 Doug Evans <xdje42@gmail.com>
880
881 * gdb.python/python.exp (python not supported): Verify multi-line
882 python command issues an error.
883 * gdb.guile/guile.exp (guile not supported): Verify multi-line
884 guile command issues an error.
885
886 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
887
888 * gdb.threads/thread-specific.exp: Handle the lack of usable
889 $this_breakpoint and $this_thread.
890
891 2014-03-21 Hui Zhu <hui@codesourcery.com>
892
893 * gdb.base/attach.exp (do_command_attach_tests): New.
894
895 2014-03-20 Tom Tromey <tromey@redhat.com>
896 Pedro Alves <palves@redhat.com>
897
898 PR cli/15718
899 * gdb.base/condbreak-call-false.c: New file.
900 * gdb.base/condbreak-call-false.exp: New file.
901
902 2014-03-20 Pedro Alves <palves@redhat.com>
903
904 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
905 Delete.
906 (block_signals, unblock_signals): Delete.
907 (child_function_2, main): Remove references to deleted variable
908 and functions.
909
910 2014-03-20 Pedro Alves <palves@redhat.com>
911
912 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
913 Use pthread_kill to signal thread 2.
914 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
915 Adjust to make the test send itself a signal rather than using the
916 host's "kill" command.
917
918 2014-03-20 Pedro Alves <palves@redhat.com>
919
920 * gdb.threads/multiple-step-overs.c: New file.
921 * gdb.threads/multiple-step-overs.exp: New file.
922 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
923 Adjust expected infrun debug output.
924
925 2014-03-20 Pedro Alves <palves@redhat.com>
926
927 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
928 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
929
930 2014-03-20 Pedro Alves <palves@redhat.com>
931
932 PR breakpoints/7143
933 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
934 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
935 of gdb_test_multiple.
936 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
937 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
938
939 2014-03-20 Pedro Alves <palves@redhat.com>
940
941 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
942 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
943
944 2014-03-19 Pedro Alves <palves@redhat.com>
945
946 * gdb.base/async.exp: Remove early return.
947
948 2014-03-19 Pedro Alves <palves@redhat.com>
949
950 * gdb.base/async.exp (step& tests): Pass explicit test messages.
951
952 2014-03-19 Pedro Alves <palves@redhat.com>
953
954 * gdb.base/async.exp (test_background): Expect \r\n after
955 "completed." in the fail pattern.
956
957 2014-03-19 Pedro Alves <palves@redhat.com>
958
959 * gdb.base/async.exp (test_background): New procedure.
960 Use it for all background execution command tests.
961
962 2014-03-19 Pedro Alves <palves@redhat.com>
963
964 * gdb.base/async.exp: Use prepare_for_testing.
965
966 2014-03-19 Pedro Alves <palves@redhat.com>
967
968 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
969 the same line.
970
971 2014-03-19 Pedro Alves <palves@redhat.com>
972
973 * gdb.base/async.c (main): Add "jump here" and "until here" line
974 marker comments.
975 * gdb.base/async.exp (jump_here): New global.
976 (jump& test): Use it.
977 (until_here): New global.
978 (until& test): Use it.
979
980 2014-03-19 Pedro Alves <palves@redhat.com>
981
982 * gdb.base/async.exp: Don't frob gdb_protocol.
983
984 2014-03-18 Doug Evans <xdje42@gmail.com>
985
986 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
987 Fix spelling of exec-done-display.
988
989 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
990
991 PR gdb/15358
992 * gdb.base/gdb-sigterm.c: New file.
993 * gdb.base/gdb-sigterm.exp: New file.
994
995 2014-03-18 Pedro Alves <palves@redhat.com>
996
997 PR gdb/13860
998 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
999 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1000 solib-event.
1001
1002 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1003
1004 * gdb.ada/pckd_arr_ren: New testcase.
1005
1006 2014-03-13 Doug Evans <xdje42@gmail.com>
1007
1008 PR guile/16612
1009 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1010 collect after discarding symbols.
1011
1012 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1013 Doug Evans <xdje42@gmail.com>
1014
1015 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1016 to history survives a gc.
1017
1018 2014-03-13 Pedro Alves <palves@redhat.com>
1019
1020 * gdb.base/default.exp: Don't test "target procfs".
1021
1022 2014-03-13 Pedro Alves <palves@redhat.com>
1023
1024 * gdb.base/default.exp: Update "target child" and "target procfs"
1025 tests to not expect "Unix".
1026
1027 2014-03-12 Tom Tromey <tromey@redhat.com>
1028
1029 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1030 New procs. Add target-async tests.
1031 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1032 Add target-async tests.
1033
1034 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1035
1036 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1037 'func_start' and 'func_end' for the beginning and end of the
1038 function code, respectively.
1039 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1040 'func_end' instead of 'func' and 'main'.
1041
1042 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1043
1044 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1045 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1046 generate the debug info assembler source.
1047
1048 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1049
1050 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1051 * gdb.dwarf2/arr-subrange.exp: Likewise.
1052 * gdb.dwarf2/dwz.exp: Likewise.
1053 * gdb.dwarf2/method-ptr.exp: Likewise.
1054 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1055 * gdb.dwarf2/subrange.exp: Likewise.
1056 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1057 * gdb.dwarf2/implptrpiece.exp: Likewise.
1058 * gdb.dwarf2/nostaticblock.exp: Likewise.
1059
1060 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1061
1062 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1063 directory to absolute path name arguments.
1064
1065 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1066
1067 * gdb.ada/tagged_access: New testcase.
1068
1069 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1070
1071 * gdb.btrace/data.exp: Update expected output.
1072
1073 2014-03-06 Yao Qi <yao@codesourcery.com>
1074
1075 * gdb.trace/pr16508.exp: New file.
1076
1077 2014-03-05 Pedro Alves <palves@redhat.com>
1078
1079 PR gdb/16575
1080 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1081 procedure.
1082 (top level): Adjust to use it. Add tests that exercise breakpoint
1083 interaction with the code-cache.
1084
1085 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1086
1087 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1088 test for 'history-append!'.
1089
1090 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1091
1092 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1093 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1094 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1095 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1096 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1097 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1098
1099 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1100
1101 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1102 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1103 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1104
1105 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1106
1107 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1108
1109 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1110
1111 * gdb.dwarf2/arr-stride.c: New file.
1112 * gdb.dwarf2/arr-stride.exp: New file.
1113
1114 2014-02-26 Pedro Alves <palves@redhat.com>
1115
1116 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1117 that won't ever trigger. Make sure that GDB reports the correct
1118 breakpoint that caused the stop.
1119
1120 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1121
1122 PR gdb/16626
1123 * gdb.base/auto-load-script: New file.
1124 * gdb.base/auto-load.c: New file.
1125 * gdb.base/auto-load.exp: New file.
1126
1127 PR gdb/16626
1128 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1129
1130 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1131
1132 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1133 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1134
1135 2014-02-24 Doug Evans <dje@google.com>
1136
1137 * lib/gdb.exp (run_on_host): Log error output if program fails.
1138
1139 2014-02-21 Pedro Alves <palves@redhat.com>
1140
1141 * gdb.threads/step-after-sr-lock.c: Rename to ...
1142 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1143 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1144 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1145 ... this.
1146
1147 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1148
1149 PR tdep/16397
1150 * gdb.arch/amd64-stap-special-operands.exp: New file.
1151 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1152 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1153 * gdb.arch/amd64-stap-triplet.S: Likewise.
1154 * gdb.arch/amd64-stap-triplet.c: Likewise.
1155
1156 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1157
1158 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1159 in .section pseudo-op.
1160
1161 2014-02-20 lin zuojian <manjian2006@gmail.com>
1162 Joel Brobecker <brobecker@adacore.com>
1163 Doug Evans <xdje42@gmail.com>
1164
1165 PR symtab/16581
1166 * gdb.dwarf2/dw2-icycle.S: New file.
1167 * gdb.dwarf2/dw2-icycle.c: New file.
1168 * gdb.dwarf2/dw2-icycle.exp: New file.
1169
1170 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1171
1172 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1173 operations on gdb.Value objects.
1174 * gdb.python/py-value-cc.exp: Add new test to test operations on
1175 gdb.Value objects.
1176
1177 2014-02-18 Doug Evans <dje@google.com>
1178
1179 * Makefile.in (TESTS): New variable.
1180 (expanded_tests, expanded_tests_or_none): New variables
1181 (check-single): Pass $(expanded_tests_or_none) to runtest.
1182 (check-parallel): Only run tests in $(TESTS) if non-empty.
1183 (check/no-matching-tests-found): New rule.
1184 * README: Document TESTS makefile variable.
1185
1186 2014-02-18 Doug Evans <dje@google.com>
1187
1188 * Makefile.in (check-parallel): rm -rf outputs temp.
1189
1190 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1191
1192 Fix "ERROR: no fileid for" in the testsuite.
1193 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1194
1195 2014-02-12 Doug Evans <dje@google.com>
1196
1197 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1198 (MISCELLANEOUS): New variable.
1199 (clean): rm -rf $(MISCELLANEOUS).
1200 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1201 dwp live in the same directory as symlinks, with each symlink pointed
1202 to a differently named file in a different directory.
1203
1204 2014-02-11 Doug Evans <dje@google.com>
1205
1206 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1207 of Tcl file commands.
1208
1209 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1210
1211 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1212 "kill -SIGUSR1 -1".
1213
1214 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1215
1216 * gdb.ada/tick_length_array_enum_idx: New testcase.
1217
1218 2014-02-10 Doug Evans <xdje42@gmail.com>
1219
1220 * configure.ac (AC_OUTPUT): Add gdb.guile.
1221 * configure: Regenerate.
1222 * lib/gdb-guile.exp: New file.
1223 * lib/gdb.exp (get_target_charset): New function.
1224 * gdb.base/help.exp: Update expected output from "apropos apropos".
1225 * gdb.guile/Makefile.in: New file.
1226 * gdb.guile/guile.exp: New file.
1227 * gdb.guile/scm-arch.c: New file.
1228 * gdb.guile/scm-arch.exp: New file.
1229 * gdb.guile/scm-block.c: New file.
1230 * gdb.guile/scm-block.exp: New file.
1231 * gdb.guile/scm-breakpoint.c: New file.
1232 * gdb.guile/scm-breakpoint.exp: New file.
1233 * gdb.guile/scm-disasm.c: New file.
1234 * gdb.guile/scm-disasm.exp: New file.
1235 * gdb.guile/scm-equal.c: New file.
1236 * gdb.guile/scm-equal.exp: New file.
1237 * gdb.guile/scm-error.exp: New file.
1238 * gdb.guile/scm-error.scm: New file.
1239 * gdb.guile/scm-frame-args.c: New file.
1240 * gdb.guile/scm-frame-args.exp: New file.
1241 * gdb.guile/scm-frame-args.scm: New file.
1242 * gdb.guile/scm-frame-inline.c: New file.
1243 * gdb.guile/scm-frame-inline.exp: New file.
1244 * gdb.guile/scm-frame.c: New file.
1245 * gdb.guile/scm-frame.exp: New file.
1246 * gdb.guile/scm-generics.exp: New file.
1247 * gdb.guile/scm-gsmob.exp: New file.
1248 * gdb.guile/scm-iterator.c: New file.
1249 * gdb.guile/scm-iterator.exp: New file.
1250 * gdb.guile/scm-math.c: New file.
1251 * gdb.guile/scm-math.exp: New file.
1252 * gdb.guile/scm-objfile-script-gdb.in: New file.
1253 * gdb.guile/scm-objfile-script.c: New file.
1254 * gdb.guile/scm-objfile-script.exp: New file.
1255 * gdb.guile/scm-objfile.c: New file.
1256 * gdb.guile/scm-objfile.exp: New file.
1257 * gdb.guile/scm-ports.exp: New file.
1258 * gdb.guile/scm-pretty-print.c: New file.
1259 * gdb.guile/scm-pretty-print.exp: New file.
1260 * gdb.guile/scm-pretty-print.scm: New file.
1261 * gdb.guile/scm-section-script.c: New file.
1262 * gdb.guile/scm-section-script.exp: New file.
1263 * gdb.guile/scm-section-script.scm: New file.
1264 * gdb.guile/scm-symbol.c: New file.
1265 * gdb.guile/scm-symbol.exp: New file.
1266 * gdb.guile/scm-symtab-2.c: New file.
1267 * gdb.guile/scm-symtab.c: New file.
1268 * gdb.guile/scm-symtab.exp: New file.
1269 * gdb.guile/scm-type.c: New file.
1270 * gdb.guile/scm-type.exp: New file.
1271 * gdb.guile/scm-value-cc.cc: New file.
1272 * gdb.guile/scm-value-cc.exp: New file.
1273 * gdb.guile/scm-value.c: New file.
1274 * gdb.guile/scm-value.exp: New file.
1275 * gdb.guile/source2.scm: New file.
1276 * gdb.guile/types-module.cc: New file.
1277 * gdb.guile/types-module.exp: New file.
1278
1279 2014-02-10 Yao Qi <yao@codesourcery.com>
1280
1281 PR testsuite/16543
1282 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1283 * configure: Regenerated.
1284 * Makefile.in: New file.
1285
1286 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1287
1288 * gdb.python/py-framefilter.exp: Fix typo.
1289
1290 2014-02-08 Yao Qi <yao@codesourcery.com>
1291
1292 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1293 that no =breakpoint-modified is emitted when breakpoints are
1294 modified through MI commands.
1295
1296 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1297 Pedro Alves <palves@redhat.com>
1298
1299 * gdb.threads/step-after-sr-lock.c: New file.
1300 * gdb.threads/step-after-sr-lock.exp: New file.
1301
1302 2014-02-07 Pedro Alves <palves@redhat.com>
1303
1304 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1305
1306 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1307
1308 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1309 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1310
1311 2014-02-06 Doug Evans <xdje42@gmail.com>
1312
1313 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1314 output.
1315
1316 * gdb.gdb/python-interrupts.exp: New file.
1317
1318 2014-02-05 Yao Qi <yao@codesourcery.com>
1319
1320 * gdb.trace/report.exp (use_collected_data): Test the output
1321 of "info threads" and "info inferiors".
1322
1323 2014-02-05 Yao Qi <yao@codesourcery.com>
1324
1325 Revert this patch:
1326
1327 2013-05-24 Yao Qi <yao@codesourcery.com>
1328
1329 * gdb.trace/tfile.exp: Test inferior and thread.
1330
1331 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1332
1333 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1334 on a function.
1335 * gdb.base/step-bt.c: Call hello via function pointer to make
1336 sure its first instruction is executed on powerpc64le-linux.
1337
1338 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1339
1340 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1341
1342 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1343
1344 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1345 of the test patterns for use on little-endian systems.
1346
1347 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1348
1349 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1350 (decimal_vector): Fix for little-endian.
1351
1352 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1353
1354 * gdb.arch/sparc-sysstep.exp: New file.
1355 * gdb.arch/sparc-sysstep.c: Likewise.
1356
1357 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1358
1359 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1360
1361 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1362
1363 2014-01-23 Tom Tromey <tromey@redhat.com>
1364
1365 * gdb.ada/array_char_idx: New testcase.
1366
1367 2014-01-23 Tom Tromey <tromey@redhat.com>
1368
1369 PR python/16487:
1370 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1371 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1372 classes.
1373
1374 2014-01-23 Tom Tromey <tromey@redhat.com>
1375
1376 PR python/16491:
1377 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1378 string from an inferior frame.
1379 * gdb.python/py-framefilter-mi.exp: Update.
1380
1381 2014-01-22 Doug Evans <dje@google.com>
1382
1383 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1384
1385 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1386
1387 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1388
1389 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1390
1391 * gdb.trace/entry-values.exp: Remove excess space character from
1392 regex patterns. Handle s390 call instruction.
1393
1394 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1395
1396 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1397 define "*_start" label. Make "name" static.
1398 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1399 ${name} by references to ${name}_start.
1400
1401 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1402
1403 * gdb.base/info-macros.exp: Remove "debug" from the compile
1404 options.
1405
1406 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1407
1408 * gdb.dlang/demangle.exp: New file.
1409
1410 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1411
1412 * gdb.dlang/primitive-types.exp: New file.
1413
1414 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1415
1416 * configure.ac: Create gdb.dlang/Makefile.
1417 * configure: Regenerate.
1418 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1419 * gdb.dlang/Makefile.in: New file.
1420 * lib/d-support.exp: New file.
1421 * lib/gdb.exp (skip_d_tests): New proc.
1422
1423 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1424
1425 * gdb.btrace/delta.exp: Check reverse stepi.
1426 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1427 * gdb.btrace/finish.exp: New.
1428 * gdb.btrace/next.exp: New.
1429 * gdb.btrace/nexti.exp: New.
1430 * gdb.btrace/record_goto.c: Add comments.
1431 * gdb.btrace/step.exp: New.
1432 * gdb.btrace/stepi.exp: New.
1433 * gdb.btrace/multi-thread-step.c: New.
1434 * gdb.btrace/multi-thread-step.exp: New.
1435 * gdb.btrace/rn-dl-bind.c: New.
1436 * gdb.btrace/rn-dl-bind.exp: New.
1437 * gdb.btrace/data.c: New.
1438 * gdb.btrace/data.exp: New.
1439 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1440
1441 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1442
1443 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1444 * gdb.btrace/exception.exp: Update.
1445 * gdb.btrace/instruction_history.exp: Update.
1446 * gdb.btrace/record_goto.exp: Update.
1447 * gdb.btrace/tailcall.exp: Update.
1448 * gdb.btrace/unknown_functions.exp: Update.
1449 * gdb.btrace/delta.exp: New.
1450
1451 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1452
1453 * gdb.btrace/record_goto.exp: Add backtrace test.
1454 * gdb.btrace/tailcall.exp: Add backtrace test.
1455
1456 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1457
1458 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1459 * gdb.btrace/record_goto.c: New.
1460 * gdb.btrace/record_goto.exp: New.
1461 * gdb.btrace/x86-record_goto.S: New.
1462
1463 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1464
1465 * gdb.btrace/function_call_history.exp: Update tests.
1466 * gdb.btrace/instruction_history.exp: Update tests.
1467
1468 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1469
1470 * gdb.btrace/function_call_history.exp: Fix expected field
1471 order for "record function-call-history".
1472 Add new tests for "record function-call-history /c".
1473 * gdb.btrace/exception.cc: New.
1474 * gdb.btrace/exception.exp: New.
1475 * gdb.btrace/tailcall.exp: New.
1476 * gdb.btrace/x86-tailcall.S: New.
1477 * gdb.btrace/x86-tailcall.c: New.
1478 * gdb.btrace/unknown_functions.c: New.
1479 * gdb.btrace/unknown_functions.exp: New.
1480 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1481
1482 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1483
1484 * gdb.btrace/instruction_history.exp: Update.
1485 * gdb.btrace/function_call_history.exp: Update.
1486
1487 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1488
1489 * gdb.btrace/function_call_history.exp: Fix expected function
1490 trace.
1491 * gdb.btrace/instruction_history.exp: Initialize traced.
1492 Remove traced_functions.
1493
1494 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1495
1496 * gdb.btrace/function_call_history.exp: Update
1497 * gdb.btrace/instruction_history.exp: Update.
1498
1499 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1500
1501 * gdb.btrace/enable.exp: Update expected text.
1502
1503 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
1504
1505 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
1506 bytes.
1507
1508 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
1509
1510 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
1511
1512 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1513
1514 * lib/gdb.exp (supports_process_record): Return true for
1515 arm*-linux*. (supports_reverse): Likewise.
1516
1517 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1518
1519 PR python/15464
1520 PR python/16113
1521 * gdb.python/py-type.c: Enhance test case.
1522 * gdb.python/py-value-cc.cc: Likewise
1523 * gdb.python/py-type.exp: Add new tests.
1524 * gdb.python/py-value-cc.exp: Likewise
1525
1526 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
1527 Pedro Alves <palves@redhat.com>
1528
1529 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
1530 Make "name" extern.
1531 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
1532 references to ${name}_start by references to ${name}.
1533
1534 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1535
1536 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
1537
1538 2014-01-10 Joel Brobecker <brobecker@adacore.com>
1539
1540 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
1541
1542 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
1543 Pedro Alves <palves@redhat.com>
1544
1545 * gdb.mi/mi-info-os.exp: Connect to the target with
1546 mi_gdb_target_load.
1547
1548 2014-01-08 Pedro Alves <palves@redhat.com>
1549
1550 * gdb.threads/reconnect-signal.c: New file.
1551 * gdb.threads/reconnect-signal.exp: New file.
1552
1553 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1554
1555 * gdb.base/source-dir.exp: New file.
1556
1557 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1558
1559 * gdb.ada/mi_interface: New testcase.
1560
1561 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1562
1563 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
1564 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
1565 gdb.ada/pp-rec-component/pck.ads: New files.
1566
1567 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1568
1569 * gdb.python/py-pp-integral.c: New file.
1570 * gdb.python/py-pp-integral.py: New file.
1571 * gdb.python/py-pp-integral.exp: New file.
1572
1573 For older changes see ChangeLog-1993-2013.
1574 \f
1575 ;; Local Variables:
1576 ;; mode: change-log
1577 ;; left-margin: 8
1578 ;; fill-column: 74
1579 ;; version-control: never
1580 ;; End:
1581
1582 Copyright 2014 Free Software Foundation, Inc.
1583 Copying and distribution of this file, with or without modification,
1584 are permitted provided the copyright notice and this notice are preserved.
This page took 0.064672 seconds and 5 git commands to generate.