Fix PR 17206
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-07-29 Yao Qi <yao@codesourcery.com>
2
3 PR gdb/17206
4 * gdb.base/until-nodebug.exp: New.
5
6 2014-07-28 Doug Evans <xdje42@gmail.com>
7
8 PR guile/17203
9 * gdb.guile/scm-parameter.exp: Add tests for trying to create
10 previously existing parameter, and previously ambiguously spelled
11 parameter.
12
13 2014-07-28 Will Newton <will.newton@linaro.org>
14
15 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16
17 2014-07-26 Ludovic Courtès <ludo@gnu.org>
18 Doug Evans <xdje42@gmail.com>
19
20 PR guile/17146
21 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
22
23 2014-07-25 Pedro Alves <palves@redhat.com>
24
25 * gdb.threads/signal-command-handle-nopass.c: New file.
26 * gdb.threads/signal-command-handle-nopass.exp: New file.
27 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
28 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
29 * gdb.threads/signal-delivered-right-thread.c: New file.
30 * gdb.threads/signal-delivered-right-thread.exp: New file.
31
32 2014-07-25 Pedro Alves <palves@redhat.com>
33
34 * gdb.base/double-prompt-target-event-error.exp
35 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
36 match.
37 (cancel_pagination_in_target_event): Rework double prompt
38 detection.
39 * gdb.base/paginate-after-ctrl-c-running.exp
40 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
41 <return>' match.
42 * gdb.base/paginate-bg-execution.exp
43 (test_bg_execution_pagination_return)
44 (test_bg_execution_pagination_cancel): Remove '-notransfer
45 <return>' matches.
46 * gdb.base/paginate-execution-startup.exp
47 (test_fg_execution_pagination_return)
48 (test_fg_execution_pagination_cancel): Remove '-notransfer
49 <return>' matches.
50 * gdb.base/paginate-inferior-exit.exp
51 (test_paginate_inferior_exited): Remove '-notransfer <return>'
52 match.
53 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
54 * lib/gdb.exp (pagination_prompt): Run text through
55 string_to_regexp.
56 (gdb_test_multiple): Match $pagination_prompt instead of
57 "<return>".
58 (string_to_regexp): Move to lib/gdb-utils.exp.
59
60 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * gdb.arch/amd64-entry-value-paramref.S: New file.
63 * gdb.arch/amd64-entry-value-paramref.cc: New file.
64 * gdb.arch/amd64-entry-value-paramref.exp: New file.
65 * gdb.arch/amd64-optimout-repeat.S: New file.
66 * gdb.arch/amd64-optimout-repeat.c: New file.
67 * gdb.arch/amd64-optimout-repeat.exp: New file.
68
69 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
70
71 PR gdb/17170
72 * gdb.base/statistics.exp: New file.
73
74 2014-07-17 Doug Evans <dje@google.com>
75
76 PR gdb/17170
77 * gdb.base/maint.exp: Update testing of per-command stats.
78
79 2014-07-16 Pedro Alves <palves@redhat.com>
80
81 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
82 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
83 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
84 (tfile_write_buf): New functions.
85 (add_memory_block): Rewrite using the above.
86 (adjust_function_address): New function.
87 (FUNCTION_ADDRESS): New macro.
88 (write_basic_trace_file): Remove short_x local, and use
89 tfile_write_16. Change type of func_addr local to unsigned long
90 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
91 here. Cast argument of add_memory_block to char pointer.
92 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
93 (main): Remove parameters.
94 * gdb.trace/tfile.exp: Remove nowarnings.
95
96 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
97
98 * gdb.base/debug-expr.exp: Test string evaluation with
99 "debug expression" on.
100
101 2014-07-15 Pedro Alves <palves@redhat.com>
102
103 * gdb.base/reread.exp: Use clean_restart.
104
105 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
106
107 * gdb.arch/avr-flash-qualifer.c: New.
108 * gdb.arch/avr-flash-qualifer.exp: New.
109
110 2014-07-14 Pedro Alves <palves@redhat.com>
111
112 * gdb.base/paginate-after-ctrl-c-running.c: New file.
113 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
114
115 2014-07-14 Pedro Alves <palves@redhat.com>
116
117 * gdb.base/double-prompt-target-event-error.c: New file.
118 * gdb.base/double-prompt-target-event-error.exp: New file.
119
120 2014-07-14 Pedro Alves <palves@redhat.com>
121
122 PR gdb/17072
123 * gdb.base/paginate-inferior-exit.c: New file.
124 * gdb.base/paginate-inferior-exit.exp: New file.
125
126 2014-07-14 Pedro Alves <palves@redhat.com>
127
128 PR gdb/17072
129 * gdb.base/paginate-bg-execution.c: New file.
130 * gdb.base/paginate-bg-execution.exp: New file.
131
132 2014-07-14 Pedro Alves <palves@redhat.com>
133
134 PR gdb/17072
135 * gdb.base/paginate-execution-startup.c: New file.
136 * gdb.base/paginate-execution-startup.exp: New file.
137 * lib/gdb.exp (pagination_prompt): New global.
138 (default_gdb_spawn): New procedure, factored out from
139 default_gdb_spawn.
140 (default_gdb_start): Adjust to call default_gdb_spawn.
141 (gdb_spawn): New procedure.
142
143 2014-07-14 Pedro Alves <palves@redhat.com>
144
145 * lib/gdb.exp (gdb_assert): New procedure.
146 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
147
148 2014-07-14 Pedro Alves <palves@redhat.com>
149
150 * gdb.base/execution-termios.c: New file.
151 * gdb.base/execution-termios.exp: New file.
152
153 2014-07-14 Tom Tromey <tromey@redhat.com>
154
155 * gdb.cp/vla-cxx.cc: New file.
156 * gdb.cp/vla-cxx.exp: New file.
157
158 2014-07-14 Tom Tromey <tromey@redhat.com>
159
160 * gdb.reverse/rerun-prec.c: New file.
161 * gdb.reverse/rerun-prec.exp: New file.
162
163 2014-07-12 Maciej W. Rozycki <macro@mips.com>
164 Maciej W. Rozycki <macro@codesourcery.com>
165
166 * lib/gdb-utils.exp: New file.
167 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
168 inline `gdb_init_command' processing.
169 (gdb_start_cmd): Likewise.
170 * lib/mi-support.exp (mi_run_cmd): Likewise.
171 * README: Document `gdb_init_command' and `gdb_init_commands'.
172
173 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
174
175 Fix false FAIL running under a very long directory name.
176 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
177 and "set print elements 10000". Twice.
178
179 2014-07-11 Yao Qi <yao@codesourcery.com>
180
181 * gdb.base/exprs.exp: "set print symbol off".
182
183 2014-07-11 Pedro Alves <palves@redhat.com>
184
185 * gdb.threads/kill.c: New file.
186 * gdb.threads/kill.exp: New file.
187
188 2014-07-10 Yao Qi <yao@codesourcery.com>
189
190 * gdb.trace/tfile.c (write_basic_trace_file)
191 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
192 address written to trace file.
193
194 2014-07-09 Pedro Alves <palves@redhat.com>
195
196 * gdb.base/attach-wait-input.exp: New file.
197 * gdb.base/attach-wait-input.c: New file.
198
199 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
200
201 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
202 setting up test structures.
203 (main): Call new test function.
204 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
205 test function, continue into test function and walk test
206 structures.
207
208 2014-07-02 Yao Qi <yao@codesourcery.com>
209
210 * gdb.trace/entry-values.c: Define labels 'foo_start' and
211 'bar_start' at the beginning of functions 'foo' and 'bar'
212 respectively.
213 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
214 instead of 'foo' and 'bar'.
215
216 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
217
218 * gdb.btrace/segv.exp: New.
219 * gdb.btrace/segv.c: New.
220
221 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
222
223 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
224 instruction.
225
226 2014-06-30 Mark Wielaard <mjw@redhat.com>
227
228 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
229 vulture, vilify, villar): New volatile array constants.
230 (vindictive, vegetation): New const volatile array constants.
231 * gdb.base/volatile.exp: Test volatile and const volatile array
232 types.
233
234 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
235
236 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
237 target lacks support for awatch, rwatch, or hbreak.
238
239 2014-06-27 Yao Qi <yao@codesourcery.com>
240
241 * gdb.multi/dummy-frame-restore.exp: New.
242 * gdb.multi/dummy-frame-restore.c: New.
243
244 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
245
246 * gdb.btrace/gcore.exp: New.
247
248 2014-06-23 Pedro Alves <palves@redhat.com>
249
250 * gdb.base/watchpoint-reuse-slot.c: New file.
251 * gdb.base/watchpoint-reuse-slot.exp: New file.
252
253 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
254
255 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
256 progspace's filename in 'info', 'enable' and 'disable' command
257 tests.
258
259 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
260
261 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
262 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
263 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
264
265 2014-06-20 Gary Benson <gbenson@redhat.com>
266
267 * gdb.arch/i386-avx.exp: Fix include file location.
268 * gdb.arch/i386-sse.exp: Likewise.
269
270 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
271
272 * gdb.dlang/expression.exp: New file.
273
274 2014-06-19 Pedro Alves <palves@redhat.com>
275
276 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
277 out from ...
278 (top level): ... here. Iterate running tests under different
279 scheduler-locking settings.
280
281 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
282
283 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
284 to DW_FORM_addr and use non-zero addresses.
285
286 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
287
288 PR gdb/17017
289 * gdb.python/py-xmethods.cc: Add global function call counters and
290 increment them in their respective functions. Remove "cout"
291 statements.
292 * gdb.python/py-xmethods.exp: Make tests check the global function
293 call counters instead of depending on inferior IO.
294
295 2014-06-18 Don Breazeal <donb@codesourcery.com>
296
297 * gdb.base/foll-fork.exp (default_fork_parent_follow):
298 Deleted procedure.
299 (explicit_fork_parent_follow): Deleted procedure.
300 (explicit_fork_child_follow): Deleted procedure.
301 (test_follow_fork): New procedure.
302 (do_fork_tests): Replace calls to deleted procedures with
303 calls to test_follow_fork and reset GDB for subsequent
304 procedure calls.
305
306 2014-06-17 Yao Qi <yao@codesourcery.com>
307
308 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
309 CP1252.
310
311 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
312
313 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
314 Initialize ptr and S explicitly.
315 (skip_type_update_when_not_use_rtti_test): Likewise.
316
317 2014-06-16 Keith Seitz <keiths@redhat.com>
318
319 PR mi/15863
320 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
321 the inferior is started.
322
323 2014-06-16 Pedro Alves <palves@redhat.com>
324
325 * gdb.base/break-main-file-remove-fail.c: New file.
326 * gdb.base/break-main-file-remove-fail.exp: New file.
327 * gdb.base/break-unload-file.exp: Use build_executable instead of
328 prepare_for_testing.
329 (test_break): New parameter "initial_load". Handle it.
330 (top level): Add initial_load cmdline/file axis.
331
332 2014-06-12 Tom Tromey <tromey@redhat.com>
333
334 * gdb.base/completion.exp: Don't use directory name in test.
335
336 2014-06-09 Gary Benson <gbenson@redhat.com>
337
338 * gdb.base/sigall.c [Functions to send signals]: Reorder to
339 separate the always-available ANSI-standard signals from the
340 signals that require checking.
341 (main): Likewise.
342 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
343 Likewise.
344 (main): Likewise.
345
346 2014-06-07 Keith Seitz <keiths@redhat.com>
347
348 Revert:
349 PR c++/16253
350 * gdb.cp/var-tag.cc: New file.
351 * gdb.cp/var-tag.exp: New file.
352 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
353 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
354 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
355 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
356
357 2014-06-06 Doug Evans <xdje42@gmail.com>
358
359 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
360
361 2014-06-06 Pedro Alves <palves@redhat.com>
362
363 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
364 in target debug output instead of looking at RSP packets,
365 disabling the test on any target that uses hardware stepping.
366 Update comments.
367
368 2014-06-06 Pedro Alves <palves@redhat.com>
369
370 * gdb.base/break-unload-file.exp: Fix typo.
371
372 2014-06-06 Yao Qi <yao@codesourcery.com>
373
374 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
375 from "jit_function" to "^jit_function".
376
377 2014-06-06 Yao Qi <yao@codesourcery.com>
378
379 * gdb.base/async.c (foo): Add one statement.
380 * gdb.base/async.exp: Get the next instruction address and
381 match the output of "nexti" by instruction address. Match
382 the hex address in the output of "finish".
383
384 2014-06-06 Gary Benson <gbenson@redhat.com>
385
386 * gdb.base/call-signals.c: Remove preprocessor conditionals
387 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
388 SIGSEGV and SIGTERM.
389 * gdb.base/sigall.c: Likewise.
390 * gdb.base/unwindonsignal.c: Likewise.
391 * gdb.reverse/sigall-reverse.c: Likewise.
392
393 2014-06-06 Yao Qi <yao@codesourcery.com>
394
395 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
396 readable, skip the test.
397
398 2014-06-06 Yao Qi <yao@codesourcery.com>
399
400 * gdb.threads/staticthreads.c (thread_function): Move the line
401 setting breakpoint on forward.
402 * gdb.threads/staticthreads.exp: Update comments.
403
404 2014-06-05 Ludovic Courtès <ludo@gnu.org>
405
406 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
407 "history-append! type error".
408
409 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
410
411 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
412 erroneous dprintf expected input.
413
414 2014-06-04 Doug Evans <xdje42@gmail.com>
415
416 * gdb.guile/scm-generics.exp: Delete.
417
418 2014-06-04 Doug Evans <xdje42@gmail.com>
419
420 * gdb.guile/scm-breakpoint.exp: Update.
421 Add tests for breakpoint registration.
422
423 2014-06-04 Tom Tromey <tromey@redhat.com>
424
425 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
426 VLA-in-union.
427 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
428 inner_vla_struct, vla_union types. Initialize objects of those
429 types and compute their sizes.
430
431 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
432 Hui Zhu <hui@codesourcery.com>
433
434 * gdb.base/fileio.exp: Add test for shell not available as well as
435 available.
436 * gdb.base/fileio.c (test_system): Check for shell twice.
437
438 2014-06-04 Yao Qi <yao@codesourcery.com>
439
440 * gdb.base/auto-connect-native-target.exp: Remove redundant
441 space from the regexp pattern.
442
443 2014-06-04 Yao Qi <yao@codesourcery.com>
444
445 * gdb.base/default.exp: Replace "child" with "native" in
446 regexp pattern.
447
448 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
449
450 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
451 * gdb.python/py-xmethods.exp: New tests to test xmethods.
452 * gdb.python/py-xmethods.py: Python script supporting the
453 new testcase and tests.
454
455 2014-06-03 Joel Brobecker <brobecker@adacore.com>
456 Pedro Alves <palves@redhat.com>
457
458 PR breakpoints/17000
459 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
460 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
461
462 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
463
464 * gdb.base/subst.exp: Add tests to verify partial path matching
465 output.
466
467 2014-06-03 Pedro Alves <palves@redhat.com>
468
469 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
470 target that doesn't use software single-stepping.
471
472 2014-06-03 Pedro Alves <palves@redhat.com>
473
474 PR breakpoints/17000
475 * gdb.base/sss-bp-on-user-bp-2.c: New file.
476 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
477
478 2014-06-02 Doug Evans <xdje42@gmail.com>
479
480 * gdb.guile/scm-parameter.exp: New file.
481
482 2014-06-02 Doug Evans <xdje42@gmail.com>
483
484 * gdb.guile/scm-cmd.c: New file.
485 * gdb.guile/scm-cmd.exp: New file.
486
487 2014-06-02 Doug Evans <xdje42@gmail.com>
488
489 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
490 pretty-printer lookup.
491 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
492 (make-pp_s-printer): Call it.
493 (make-pretty-printer-from-dict): New function.
494 (lookup-pretty-printer-maker-from-dict): New function.
495 (*pretty-printer*): Simplify.
496 (make-objfile-pp_s-printer): New function.
497 (install-objfile-pretty-printers!): New function.
498 (make-progspace-pp_s-printer): New function.
499 (install-progspace-pretty-printers!): New function.
500 * gdb.guile/scm-progspace.c: New file.
501 * gdb.guile/scm-progspace.exp: New file.
502
503 2014-06-02 Pedro Alves <palves@redhat.com>
504
505 * gdb.base/dprintf-bp-same-addr.c: New file.
506 * gdb.base/dprintf-bp-same-addr.exp: New file.
507
508 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
509
510 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
511 * gdb.arch/powerpc-power.s: Likewise.
512
513 2014-06-02 Joel Brobecker <brobecker@adacore.com>
514
515 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
516
517 2014-06-01 Yao Qi <yao@codesourcery.com>
518
519 * gdb.base/watchpoint.exp (test_watch_location): Check null
520 pointer can be dereferenced. If not, do the test, otherwise
521 skip it.
522
523 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
524
525 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
526 results.
527 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
528
529 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
530
531 * gdb.arch/amd64-invalid-stack-middle.S: New file.
532 * gdb.arch/amd64-invalid-stack-middle.c: New file.
533 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
534 * gdb.arch/amd64-invalid-stack-top.c: New file.
535 * gdb.arch/amd64-invalid-stack-top.exp: New file.
536
537 2014-05-30 Pedro Alves <palves@redhat.com>
538
539 PR breakpoints/17000
540 * gdb.base/sss-bp-on-user-bp.c: New file.
541 * gdb.base/sss-bp-on-user-bp.exp: New file.
542
543 2014-05-30 David Blaikie <dblaikie@gmail.com>
544
545 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
546 gnu_inline semantics via attribute.
547 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
548 source explicitly specifies the required semantics.
549
550 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
551
552 * gdb.reverse/sigall-reverse.exp: Fix a typo.
553
554 2014-05-29 Pedro Alves <palves@redhat.com>
555 Tom Tromey <tromey@redhat.com>
556
557 * gdb.base/async-shell.exp: Don't enable target-async.
558 * gdb.base/async.exp
559 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
560 parameter. Adjust.
561 (top level): Don't test with "target-async".
562 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
563 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
564 * gdb.base/inferior-died.exp: Don't enable target-async.
565 * gdb.base/interrupt-noterm.exp: Likewise.
566 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
567 * gdb.mi/mi-nonstop-exit.exp: Likewise.
568 * gdb.mi/mi-nonstop.exp: Likewise.
569 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
570 * gdb.mi/mi-nsintrall.exp: Likewise.
571 * gdb.mi/mi-nsmoribund.exp: Likewise.
572 * gdb.mi/mi-nsthrexec.exp: Likewise.
573 * gdb.mi/mi-watch-nonstop.exp: Likewise.
574 * gdb.multi/watchpoint-multi.exp: Adjust comment.
575 * gdb.python/py-evsignal.exp: Don't enable target-async.
576 * gdb.python/py-evthreads.exp: Likewise.
577 * gdb.python/py-prompt.exp: Likewise.
578 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
579 * gdb.server/solib-list.exp: Don't enable target-async.
580 * gdb.threads/thread-specific-bp.exp: Likewise.
581 * lib/mi-support.exp: Adjust to use mi-async.
582
583 2014-05-29 Pedro Alves <palves@redhat.com>
584
585 PR gdb/13860
586 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
587 reason, even in sync mode.
588
589 2014-05-29 Pedro Alves <palves@redhat.com>
590 Hui Zhu <hui@codesourcery.com>
591
592 PR PR15693
593 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
594 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
595 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
596 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
597
598 2014-05-28 Joel Brobecker <brobecker@adacore.com>
599
600 * config/monitor.exp (gdb_target_monitor): Replace use of
601 "set remotebaud" by "set serial baud".
602
603 2014-05-26 Andy Wingo <wingo@igalia.com>
604
605 * gdb.guile/scm-breakpoint.exp:
606 * gdb.guile/scm-gsmob.exp: Update to use plain old object
607 properties instead of gdb-object-properties.
608
609 2014-05-26 Yao Qi <yao@codesourcery.com>
610
611 * gdb.server/no-thread-db.exp: Specify source file name
612 explicitly when setting a breakpoint.
613
614 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
615
616 * gdb.btrace/vdso.c: New.
617 * gdb.btrace/vdso.exp: New.
618
619 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
620
621 * gdb.base/gcore.exp (capture_command_output): Move ...
622 * lib/gdb.exp (capture_command_output): ... here.
623
624 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
625
626 * gdb.btrace/data.exp: Test memory access during btrace replay.
627
628 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
629
630 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
631
632 2014-05-21 Pedro Alves <palves@redhat.com>
633
634 PR gdb/13860
635 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
636 (top level): Test that output related to execution commands is
637 sent to the console with CLI commands, but not with MI commands.
638 Test that breakpoint events are always mirrored to the console.
639 Also expect the new source line to be output after a "next" in
640 async mode too. Make it a pass/fail test.
641 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
642 output.
643 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
644
645 2014-05-21 Pedro Alves <palves@redhat.com>
646
647 * gdb.base/list.exp (build_pattern, test_list): New procedures.
648 Use them to test variations of "list" after reaching a breakpoint.
649 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
650 Test "list" with listsize 10 after reaching a breakpoint.
651 * gdb.python/python.exp (decode_line current location line
652 number): Adjust expected line number.
653
654 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
655
656 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
657 behavior for $args, pass it directly to "run".
658
659 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
660
661 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
662 30000 to 65536.
663
664 2014-05-21 Pedro Alves <palves@redhat.com>
665
666 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
667 auto-connect-native-target off".
668 * gdb.base/auto-connect-native-target.c: New file.
669 * gdb.base/auto-connect-native-target.exp: New file.
670
671 2014-05-21 Pedro Alves <palves@redhat.com>
672
673 * gdb.base/default.exp: Test "target native" instead of "target
674 child".
675
676 2014-05-21 Mark Wielaard <mjw@redhat.com>
677
678 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
679
680 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
681
682 Fix TLS access for -static -pthread.
683 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
684 <HAVE_TLS> (thread_function, main): Initialize it.
685 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
686 Add clean_restart.
687 <$have_tls != "">: Check TLSVAR.
688
689 2014-05-21 Pedro Alves <palves@redhat.com>
690
691 * gdb.base/dcache-line-read-error.c: New.
692 * gdb.base/dcache-line-read-error.exp: New.
693
694 2014-05-20 Pedro Alves <palves@redhat.com>
695
696 * gdb.base/compare-sections.c: New file.
697 * gdb.base/compare-sections.exp: New file.
698
699 2014-05-20 Pedro Alves <palves@redhat.com>
700
701 * gdb.base/break-idempotent.c: New file.
702 * gdb.base/break-idempotent.exp: New file.
703
704 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
705
706 * gdb.btrace/nohist.exp: New.
707
708 2014-05-20 Yao Qi <yao@codesourcery.com>
709
710 * lib/gdb.exp (gdb_init): Set timeout if test file is under
711 gdb.reverse directory and gdb_reverse_timeout exists in board
712 setting.
713 * README: Document gdb_reverse_timeout.
714
715 2014-05-20 Yao Qi <yao@codesourcery.com>
716
717 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
718 'test_file_name'. Treat args as a string instead of a list.
719 (gdb_init): Rename argument 'args' by 'test_file_name'.
720
721 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
722
723 * gdb.arch/powerpc-power.exp: New file.
724 * gdb.arch/powerpc-power.s: New file.
725
726 2014-05-16 Doug Evans <dje@google.com>
727
728 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
729 * gdb.base/completion.exp: Check that all expected files exist
730 before doing file completion.
731
732 2014-05-16 Doug Evans <dje@google.com>
733
734 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
735 Update.
736 (do_syscall_tests_without_xml): Update.
737
738 2014-05-16 Pedro Alves <palves@redhat.com>
739
740 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
741 instead of "unknown output after running".
742
743 2014-05-16 Yao Qi <yao@codesourcery.com>
744
745 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
746 file1.txt from host at the end.
747 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
748
749 2014-05-15 Doug Evans <dje@google.com>
750
751 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
752 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
753 loading file. Add test for TU lookup.
754
755 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
756
757 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
758 calling "-exec-arguments" or "set args" before running the
759 inferior.
760
761 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
762
763 * lib/mi-support.exp (mi_expect_stop): Expect message for
764 inferiors that exit with non-zero exit code.
765
766 2014-05-14 Yao Qi <yao@codesourcery.com>
767
768 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
769 match absolute path on remote host.
770 (test_file_list_exec_source_files): Remove "/" from the
771 pattern.
772
773 2014-05-14 Yao Qi <yao@codesourcery.com>
774
775 * boards/local-remote-host-notty.exp (${board}_file): New
776 proc.
777
778 2014-05-07 Kyle McMartin <kyle@redhat.com>
779
780 Pushed by Joel Brobecker <brobecker@adacore.com>.
781 * gdb.arch/aarch64-atomic-inst.c: New file.
782 * gdb.arch/aarch64-atomic-inst.exp: New file.
783
784 2014-05-07 Yao Qi <yao@codesourcery.com>
785
786 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
787 in current context" too.
788
789 2014-05-05 Keith Seitz <keiths@redhat.com>
790
791 * gdb.linespec/ls-dollar.exp: Add test for linespec
792 file:convenience_variable.
793
794 2014-05-05 Yao Qi <yao@codesourcery.com>
795
796 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
797 traceframes into tfile and ctf trace files. Read data from
798 trace file and test collected data.
799 (gdb_collect_locals_test): Likewise.
800 (gdb_unavailable_registers_test): Likewise.
801 (gdb_unavailable_floats): Likewise.
802 (gdb_collect_globals_test): Likewise.
803 (top-level): Append "ctf" to trace_file_targets if GDB
804 supports.
805
806 2014-05-05 Yao Qi <yao@codesourcery.com>
807
808 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
809 code to ...
810 (gdb_collect_args_test_1): ... it. New proc.
811 (gdb_collect_locals_test): Move some code to ...
812 (gdb_collect_locals_test_1): ... it. New proc.
813 (gdb_unavailable_registers_test): Move some code to ...
814 (gdb_unavailable_registers_test_1): ... it. New proc.
815 (gdb_unavailable_floats): Move some code to ...
816 (gdb_unavailable_floats_1): ... it. New proc.
817
818 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
819
820 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
821 probes to test for bitness recognition.
822 * gdb.arch/amd64-stap-optional-prefix.exp
823 (test_probe_value_without_reg): New procedure.
824 Add code to test for different kinds of bitness.
825
826 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
827
828 PR breakpoints/16889
829 * gdb.arch/amd64-stap-optional-prefix.S: New file.
830 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
831
832 2014-05-01 Pedro Alves <palves@redhat.com>
833
834 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
835 gdb_file_cmd if no file is specified.
836 * boards/native-extended-gdbserver.exp (gdb_load): Use the
837 last_loaded_file to set the remote exec-file.
838
839 2014-05-01 Pedro Alves <palves@redhat.com>
840
841 * boards/local-remote-host.exp: New file.
842
843 2014-05-01 Pedro Alves <palves@redhat.com>
844
845 * boards/local-remote-host.exp: Rename to ...
846 * boards/local-remote-host-notty.exp: ... this.
847
848 2014-04-28 Joel Brobecker <brobecker@adacore.com>
849
850 * gdb.ada/dyn_arrayidx: New testcase.
851
852 2014-04-26 Yao Qi <yao@codesourcery.com>
853
854 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
855 and compute the length of function main. Save it in
856 $main_length.
857 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
858 (top-level): Use gdb_compile to compile objects into
859 executable and restart GDB. Remove invocation to
860 prepare_for_testing.
861
862 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
863 Pedro Alves <palves@redhat.com>
864
865 PR server/16255
866 * gdb.multi/multi-attach.c: New file.
867 * gdb.multi/multi-attach.exp: New file.
868
869 2014-04-25 Pedro Alves <palves@redhat.com>
870
871 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
872 user.
873 (top level): Test that "set remote conditional-breakpoints-packet
874 off" works as intended.
875 * gdb.base/dprintf.exp: Test that "set remote
876 breakpoint-commands-packet off" works as intended.
877 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
878 New function.
879 (top level): Call it.
880 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
881 remote fast-tracepoints-packet off" works as intended.
882 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
883 * lib/gdb.exp (gdb_is_target_remote): ... here.
884
885 2014-04-24 David Blaikie <dblaikie@gmail.com>
886
887 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
888 ensure clang would not discard them.
889 * gdb.base/gdbvars.c: Ditto.
890 * gdb.base/memattr.c: Ditto.
891 * gdb.base/whatis.c: Ditto.
892 * gdb.python/py-prettyprint.c: Ditto.
893 * gdb.trace/actions.c: Ditto.
894 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
895 ensure clang would not discard it.
896
897 2014-04-24 David Blaikie <dblaikie@gmail.com>
898
899 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
900 clang to emit the full definition of type required by the test
901 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
902
903 2014-04-24 David Blaikie <dblaikie@gmail.com>
904
905 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
906 coax Clang into emitting the definition of the type.
907 * gdb.cp/pr10728-x.h (y): Ditto.
908 * gdb.cp/pr10728-y.cc (y): Ditto.
909
910 2014-04-24 David Blaikie <dblaikie@gmail.com>
911
912 * gdb.base/label.exp: XFAIL label related tests under Clang.
913 * gdb.cp/cplabel.exp: Ditto.
914 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
915 under Clang those using labels.
916
917 2014-04-25 Yao Qi <yao@codesourcery.com>
918
919 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
920 double_label.
921 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
922 partial_label and double_label.
923
924 2014-04-24 David Blaikie <dblaikie@gmail.com>
925
926 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
927
928 2014-04-24 David Blaikie <dblaikie@gmail.com>
929
930 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
931 of the function to work across GCC and Clang.
932 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
933 pointer types (const void ** const V void **).
934
935 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
936 Walfred Tedeschi <walfred.tedeschi@intel.com>
937
938 * Makefile.in (EXECUTABLES): Added i386-avx512.
939 * gdb.arch/i386-avx512.c: New file.
940 * gdb.arch/i386-avx512.exp: Likewise.
941
942 2014-04-23 Keith Seitz <keiths@redhat.com>
943
944 * lib/mi-support.exp (mi_list_breakpoints): Delete.
945 (mi_make_breakpoint_table): New procedure.
946 (mi_create_breakpoint): Use mi_make_breakpoint
947 and return the result.
948 (mi_make_breakpoint): New procedure.
949 (mi_build_kv_pairs): New procedure.
950
951 * gdb.mi/mi-break.exp: Remove unused globals,
952 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
953 All callers updated.
954 * gdb.mi/mi-dprintf.exp: Use variable to track command
955 number.
956 Update all callers of mi_create_breakpoint and use
957 mi_make_breakpoint_table.
958 Remove any unused global variables.
959 * gdb.mi/mi-nonstop.exp: Likewise.
960 * gdb.mi/mi-nsintrall.exp: Likewise.
961 * gdb.mi/mi-nsmoribund.exp: Likewise.
962 * gdb.mi/mi-nsthrexec.exp: Likewise.
963 * gdb.mi/mi-reverse.exp: Likewise.
964 * gdb.mi/mi-simplerun.exp: Likewise.
965 * gdb.mi/mi-stepn.exp: Likewise.
966 * gdb.mi/mi-syn-frame.exp: Likewise.
967 * gdb.mi/mi-until.exp: Likewise.
968 * gdb.mi/mi-var-cp.exp: Likewise.
969 * gdb.mi/mi-var-display.exp: Likewise.
970 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
971 * gdb.mi/mi2-var-child.exp: Likewise.
972 * gdb.mi/mi-vla-c99.exp: Likewise.
973 * lib/mi-support.exp: Likewise.
974
975 From Ian Lance Taylor <iant@cygnus.com>:
976 * lib/gdb.exp (parse_args): New procedure.
977
978 2014-04-23 Pedro Alves <palves@redhat.com>
979
980 * gdb.base/break-unload-file.c: New file.
981 * gdb.base/break-unload-file.exp: New file.
982 * gdb.base/sym-file-lib.c (baz): New function.
983 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
984 field.
985 (load): Store the segment's mapped size.
986 (unload): New function.
987 (unload_shlib): New function.
988 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
989 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
990 set a breakpoint at baz, and call it.
991 * gdb.base/sym-file.exp: New tests for stale breakpoint
992 instructions.
993
994 2014-04-23 Pedro Alves <palves@redhat.com>
995
996 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
997 * gdb.base/hbreak-in-shr-unsupported.c: New file.
998 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
999 * gdb.base/hbreak-unmapped.c: New file.
1000 * gdb.base/hbreak-unmapped.exp: New file.
1001 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1002 * lib/gdb.exp (gdb_is_target_remote): ... here.
1003
1004 2014-04-22 Pedro Alves <palves@redhat.com>
1005
1006 * gdb.base/consecutive-step-over.c: New file.
1007 * gdb.base/consecutive-step-over.exp: New file.
1008
1009 2014-04-22 Pedro Alves <palves@redhat.com>
1010
1011 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1012 instead of send_gdb/gdb_expect.
1013
1014 2014-04-22 Yao Qi <yao@codesourcery.com>
1015
1016 * lib/trace-support.exp (generate_tracefile): New procedure.
1017 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1018 return 0.
1019 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1020 if generate_tracefile returns 1.
1021
1022 2014-04-18 Tom Tromey <palves@redhat.com>
1023 Pedro alves <tromey@redhat.com>
1024
1025 PR backtrace/15558
1026 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1027 with a backtrace limit.
1028 * gdb.python/py-frame-inline.exp: Test running to an inline
1029 function with a backtrace limit, and printing the newest frame.
1030 * gdb.python/py-frame-inline.c (main): Call f.
1031
1032 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1033
1034 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1035
1036 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1037
1038 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1039 Drop prefix from unsupported source file path.
1040
1041 2014-04-17 Yao Qi <yao@codesourcery.com>
1042
1043 * lib/gdb.exp (with_target_charset): New proc.
1044 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1045 with_target_charset.
1046 (test_print_strings): Likewise.
1047 (test_repeat_bytes): Likewise.
1048 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1049 for some tests.
1050
1051 2014-04-16 Keith Seitz <keiths@redhat.com>
1052
1053 PR gdb/15827
1054 * gdb.dwarf2/corrupt.c: New file.
1055 * gdb.dwarf2/corrupt.exp: New file.
1056
1057 2014-04-16 Keith Seitz <keiths@redhat.com>
1058
1059 PR c++/16597
1060 * gdb.cp/namelessclass.cc: New file.
1061 * gdb.cp/namelessclass.exp: New file.
1062 * gdb.cp/namelessclass.S: New file.
1063
1064 2014-04-16 Doug Evans <dje@google.com>
1065
1066 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1067 Add comment.
1068 (gdbserver_default_get_comm_port): New function.
1069 (gdbserver_start): Check if board file provided
1070 "gdbserver,get_comm_port" and use it if so.
1071 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1072 (gdb,socketport): Set to "stdio".
1073 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1074 (stdio_gdbserver_template): Delete.
1075 (${board}_get_remote_address): Update.
1076 (${board}_build_remote_cmd): Delete.
1077 (${board}_get_comm_port): New function.
1078 (${board}_spawn): Update.
1079 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1080 Delete.
1081 (${board}_get_remote_address): Update.
1082 (${board}_get_comm_port): New function.
1083
1084 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1085
1086 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1087 appearing in any order.
1088
1089 2014-04-15 Doug Evans <dje@google.com>
1090
1091 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1092 uninitialized value of "description".
1093
1094 2014-04-15 Keith Seitz <keiths@redhat.com>
1095
1096 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1097 Remove unused globals.
1098 (test_running_the_program): Likewise.
1099 (test_controlled_execution): Likewise.
1100 (test_controlling_breakpoints): Likewise.
1101 (test_program_termination): Likewise.
1102
1103 2014-04-15 Keith Seitz <keiths@redhat.com>
1104
1105 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1106 unused globals.
1107 (test_rbreak_creation_and_listing): Likewise.
1108 (test_ignore_count): Likewise.
1109 (test_error): Likewise.
1110
1111 2014-04-15 Pedro Alves <palves@redhat.com>
1112
1113 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1114 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1115 sym-file-loader.c.
1116 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1117 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1118 to sym-file-loader.c.
1119 (struct library): Forward declare.
1120 (load_shlib, lookup_function): Change prototypes.
1121 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1122 (translate_offset): Remove declarations.
1123 (get_text_addr): New declaration.
1124 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1125 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1126 sym-file-loader.h.
1127 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1128 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1129 here from sym-file-loader.h.
1130 (struct library): New structure.
1131 (load_shlib, lookup_function): Change prototypes and adjust to
1132 work with a struct library.
1133 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1134 (translate_offset): Make static.
1135 (get_text_addr): New function.
1136 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1137
1138 2014-04-15 Pedro Alves <palves@redhat.com>
1139
1140 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1141
1142 2014-04-15 Pedro Alves <palves@redhat.com>
1143
1144 * gdb.base/sym-file-loader.c: Include <limits.h>.
1145 (SELF_LINK): New define.
1146 (get_origin): New function.
1147 (load_shlib): Use it.
1148 * gdb.base/sym-file.exp: Don't early return if the target is
1149 remote. Use runto_main, and issue fail is that fails. Use
1150 gdb_load_shlibs.
1151 (shlib_name): Delete.
1152 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1153
1154 2014-04-15 Pedro Alves <palves@redhat.com>
1155
1156 * gdb.base/sym-file.exp: Remove regex characters from test
1157 message. Don't refer to breakpoint numbers in test messages.
1158
1159 2014-04-14 Keith Seitz <keiths@redhat.com>
1160
1161 PR c++/16253
1162 * gdb.cp/var-tag.cc: New file.
1163 * gdb.cp/var-tag.exp: New file.
1164 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1165 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1166 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1167 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1168
1169 2014-04-14 Tom Tromey <tromey@redhat.com>
1170
1171 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1172 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1173 type.
1174 * gdb.cp/enum-class.exp: New file.
1175 * gdb.cp/enum-class.cc: New file.
1176
1177 2014-04-14 Tom Tromey <tromey@redhat.com>
1178
1179 * gdb.dwarf2/enum-type.exp: New file.
1180
1181 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1182
1183 * gdb.mi/mi-vla-c99.exp: New file.
1184 * gdb.mi/vla.c: New file.
1185
1186 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1187
1188 * gdb.base/vla-datatypes.c: New file.
1189 * gdb.base/vla-datatypes.exp: New file.
1190
1191 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1192
1193 * gdb.base/vla-ptr.c: New file.
1194 * gdb.base/vla-ptr.exp: New file.
1195
1196 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1197
1198 * gdb.dwarf2/count.exp: New file.
1199
1200 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1201
1202 * gdb.base/vla-sideeffect.c: New file.
1203 * gdb.base/vla-sideeffect.exp: New file.
1204
1205 2014-04-14 David Blaikie <dblaikie@gmail.com>
1206
1207 * gdb.mi/non-stop.c: Add return value for non-void function return
1208 statement.
1209 * gdb.threads/staticthreads.c: Ditto.
1210
1211 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1212 Doug Evans <xdje42@gmail.com>
1213
1214 * gdb.guile/scm-value.c: Improve test case.
1215 * gdb.guile/scm-value.exp: Add new test.
1216
1217 2014-04-11 David Blaikie <dblaikie@gmail.com>
1218
1219 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1220 override Clang's default.
1221
1222 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1223
1224 Revert the following changes (regressions):
1225
1226 * gdb.base/vla-sideeffect.c: New file.
1227 * gdb.base/vla-sideeffect.exp: New file.
1228
1229 * gdb.dwarf2/count.exp: New file.
1230
1231 * gdb.base/vla-multi.c: New file.
1232 * gdb.base/vla-multi.exp: New file.
1233
1234 * gdb.base/vla-ptr.c: New file.
1235 * gdb.base/vla-ptr.exp: New file.
1236
1237 * gdb.base/vla-datatypes.c: New file.
1238 * gdb.base/vla-datatypes.exp: New file.
1239
1240 * gdb.mi/mi-vla-c99.exp: New file.
1241 * gdb.mi/vla.c: New file.
1242
1243 2014-04-11 Keith Seitz <keiths@redhat.com>
1244
1245 PR c++/16675
1246 * gdb.cp/cpsizeof.exp: New file.
1247 * gdb.cp/cpsizeof.cc: New file.
1248
1249 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1250
1251 * gdb.mi/mi-vla-c99.exp: New file.
1252 * gdb.mi/vla.c: New file.
1253
1254 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1255
1256 * gdb.base/vla-datatypes.c: New file.
1257 * gdb.base/vla-datatypes.exp: New file.
1258
1259 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1260
1261 * gdb.base/vla-ptr.c: New file.
1262 * gdb.base/vla-ptr.exp: New file.
1263
1264 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1265
1266 * gdb.base/vla-multi.c: New file.
1267 * gdb.base/vla-multi.exp: New file.
1268
1269 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1270
1271 * gdb.dwarf2/count.exp: New file.
1272
1273 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1274
1275 * gdb.base/vla-sideeffect.c: New file.
1276 * gdb.base/vla-sideeffect.exp: New file.
1277
1278 2014-04-11 Yao Qi <yao@codesourcery.com>
1279
1280 * gdb.base/completion.exp: Check file exists before running tests
1281 on file completion.
1282
1283 2014-04-10 Pedro Alves <palves@redhat.com>
1284
1285 * gdb.base/cond-eval-mode.c: New file.
1286 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1287 prepare_for_testing to build the new file. Check result of
1288 runto_main.
1289 (test_break, test_watch): New procedures.
1290 (top level): Use them.
1291
1292 2014-04-08 Pierre Muller <muller@sourceware.org>
1293
1294 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1295 Ctrl-V use for mingw hosts.
1296
1297 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1298
1299 * gdb.python/py-value.c: Improve test case.
1300 * gdb.python/py-value.exp: Add new test.
1301
1302 2014-04-07 David Blaikie <dblaikie@gmail.com>
1303
1304 * lib/compiler.c: Identify the clang compiler.
1305 * lib/compiler.cc: Ditto.
1306
1307 2014-04-03 Yao Qi <yao@codesourcery.com>
1308
1309 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1310
1311 2014-04-01 Anton Blanchard <anton@samba.org>
1312
1313 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1314 messages unique.
1315
1316 2014-04-01 Anton Blanchard <anton@samba.org>
1317
1318 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1319 prepare_for_testing.
1320
1321 2014-04-01 Anton Blanchard <anton@samba.org>
1322
1323 * gdb.arch/ppc64-atomic-inst.c: Remove.
1324 * gdb.arch/ppc64-atomic-inst.S: New file.
1325 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1326
1327 2014-03-31 Doug Evans <dje@google.com>
1328
1329 * gdb.base/print-symbol-loading-lib.c: New file.
1330 * gdb.base/print-symbol-loading-main.c: New file.
1331 * gdb.base/print-symbol-loading.exp: New file.
1332
1333 2014-03-31 Yao Qi <yao@codesourcery.com>
1334
1335 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1336
1337 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1338
1339 * gdb.ada/mi_dyn_arr: New testcase.
1340
1341 2014-03-27 Doug Evans <dje@google.com>
1342
1343 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1344
1345 2014-03-27 Yao Qi <yao@codesourcery.com>
1346
1347 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1348 if target is nios2-*-*.
1349
1350 2014-03-26 Yao Qi <yao@codesourcery.com>
1351
1352 * lib/gdb.exp (readline_is_used): New proc.
1353 * gdb.base/completion.exp: Move tests on command complete up.
1354 Skip the rest of tests if readline is not used.
1355 * gdb.ada/complete.exp: Skp the test if readline is not
1356 used.
1357 * gdb.base/filesym.exp: Likewise.
1358 * gdb.base/macscp.exp: Likewise.
1359 * gdb.base/readline-ask.exp: Likewise.
1360 * gdb.base/readline.exp: Likewise.
1361 * gdb.python/py-cmd.exp: Likewise.
1362 * gdb.trace/tfile.exp: Likewise.
1363
1364 2014-03-26 Yao Qi <yao@codesourcery.com>
1365
1366 * gdb.base/macscp.exp: Fix code format issues.
1367
1368 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1369
1370 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1371 * gdb.asm/powerpc64le.inc: New file.
1372
1373 2014-03-25 Pedro Alves <palves@redhat.com>
1374 Doug Evans <dje@google.com>
1375
1376 * gdb.base/source-execution.c: New file.
1377 * gdb.base/source-execution.exp: New file.
1378 * gdb.base/source-execution.gdb: New file.
1379
1380 2014-03-24 Doug Evans <dje@google.com>
1381
1382 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1383 using fission.
1384
1385 2014-03-24 Hui Zhu <hui@codesourcery.com>
1386 Pedro Alves <palves@redhat.com>
1387
1388 PR breakpoints/16101
1389 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1390 test pass/fail messages. Detect missing support for dprintf when
1391 breakpoints are actually inserted.
1392 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1393 breakpoints are actually inserted.
1394 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1395 fails.
1396
1397 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1398
1399 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1400
1401 2014-03-22 Doug Evans <xdje42@gmail.com>
1402
1403 * gdb.python/python.exp (python not supported): Verify multi-line
1404 python command issues an error.
1405 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1406 guile command issues an error.
1407
1408 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1409
1410 * gdb.threads/thread-specific.exp: Handle the lack of usable
1411 $this_breakpoint and $this_thread.
1412
1413 2014-03-21 Hui Zhu <hui@codesourcery.com>
1414
1415 * gdb.base/attach.exp (do_command_attach_tests): New.
1416
1417 2014-03-20 Tom Tromey <tromey@redhat.com>
1418 Pedro Alves <palves@redhat.com>
1419
1420 PR cli/15718
1421 * gdb.base/condbreak-call-false.c: New file.
1422 * gdb.base/condbreak-call-false.exp: New file.
1423
1424 2014-03-20 Pedro Alves <palves@redhat.com>
1425
1426 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1427 Delete.
1428 (block_signals, unblock_signals): Delete.
1429 (child_function_2, main): Remove references to deleted variable
1430 and functions.
1431
1432 2014-03-20 Pedro Alves <palves@redhat.com>
1433
1434 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1435 Use pthread_kill to signal thread 2.
1436 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1437 Adjust to make the test send itself a signal rather than using the
1438 host's "kill" command.
1439
1440 2014-03-20 Pedro Alves <palves@redhat.com>
1441
1442 * gdb.threads/multiple-step-overs.c: New file.
1443 * gdb.threads/multiple-step-overs.exp: New file.
1444 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1445 Adjust expected infrun debug output.
1446
1447 2014-03-20 Pedro Alves <palves@redhat.com>
1448
1449 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1450 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1451
1452 2014-03-20 Pedro Alves <palves@redhat.com>
1453
1454 PR breakpoints/7143
1455 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1456 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1457 of gdb_test_multiple.
1458 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1459 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1460
1461 2014-03-20 Pedro Alves <palves@redhat.com>
1462
1463 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1464 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1465
1466 2014-03-19 Pedro Alves <palves@redhat.com>
1467
1468 * gdb.base/async.exp: Remove early return.
1469
1470 2014-03-19 Pedro Alves <palves@redhat.com>
1471
1472 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1473
1474 2014-03-19 Pedro Alves <palves@redhat.com>
1475
1476 * gdb.base/async.exp (test_background): Expect \r\n after
1477 "completed." in the fail pattern.
1478
1479 2014-03-19 Pedro Alves <palves@redhat.com>
1480
1481 * gdb.base/async.exp (test_background): New procedure.
1482 Use it for all background execution command tests.
1483
1484 2014-03-19 Pedro Alves <palves@redhat.com>
1485
1486 * gdb.base/async.exp: Use prepare_for_testing.
1487
1488 2014-03-19 Pedro Alves <palves@redhat.com>
1489
1490 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1491 the same line.
1492
1493 2014-03-19 Pedro Alves <palves@redhat.com>
1494
1495 * gdb.base/async.c (main): Add "jump here" and "until here" line
1496 marker comments.
1497 * gdb.base/async.exp (jump_here): New global.
1498 (jump& test): Use it.
1499 (until_here): New global.
1500 (until& test): Use it.
1501
1502 2014-03-19 Pedro Alves <palves@redhat.com>
1503
1504 * gdb.base/async.exp: Don't frob gdb_protocol.
1505
1506 2014-03-18 Doug Evans <xdje42@gmail.com>
1507
1508 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1509 Fix spelling of exec-done-display.
1510
1511 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1512
1513 PR gdb/15358
1514 * gdb.base/gdb-sigterm.c: New file.
1515 * gdb.base/gdb-sigterm.exp: New file.
1516
1517 2014-03-18 Pedro Alves <palves@redhat.com>
1518
1519 PR gdb/13860
1520 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1521 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1522 solib-event.
1523
1524 2014-03-17 Joel Brobecker <brobecker@adacore.com>
1525
1526 * gdb.ada/pckd_arr_ren: New testcase.
1527
1528 2014-03-13 Doug Evans <xdje42@gmail.com>
1529
1530 PR guile/16612
1531 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1532 collect after discarding symbols.
1533
1534 2014-03-13 Ludovic Courtès <ludo@gnu.org>
1535 Doug Evans <xdje42@gmail.com>
1536
1537 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1538 to history survives a gc.
1539
1540 2014-03-13 Pedro Alves <palves@redhat.com>
1541
1542 * gdb.base/default.exp: Don't test "target procfs".
1543
1544 2014-03-13 Pedro Alves <palves@redhat.com>
1545
1546 * gdb.base/default.exp: Update "target child" and "target procfs"
1547 tests to not expect "Unix".
1548
1549 2014-03-12 Tom Tromey <tromey@redhat.com>
1550
1551 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1552 New procs. Add target-async tests.
1553 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1554 Add target-async tests.
1555
1556 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1557
1558 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1559 'func_start' and 'func_end' for the beginning and end of the
1560 function code, respectively.
1561 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1562 'func_end' instead of 'func' and 'main'.
1563
1564 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1565
1566 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1567 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1568 generate the debug info assembler source.
1569
1570 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1571
1572 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1573 * gdb.dwarf2/arr-subrange.exp: Likewise.
1574 * gdb.dwarf2/dwz.exp: Likewise.
1575 * gdb.dwarf2/method-ptr.exp: Likewise.
1576 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1577 * gdb.dwarf2/subrange.exp: Likewise.
1578 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1579 * gdb.dwarf2/implptrpiece.exp: Likewise.
1580 * gdb.dwarf2/nostaticblock.exp: Likewise.
1581
1582 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1583
1584 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1585 directory to absolute path name arguments.
1586
1587 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1588
1589 * gdb.ada/tagged_access: New testcase.
1590
1591 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1592
1593 * gdb.btrace/data.exp: Update expected output.
1594
1595 2014-03-06 Yao Qi <yao@codesourcery.com>
1596
1597 * gdb.trace/pr16508.exp: New file.
1598
1599 2014-03-05 Pedro Alves <palves@redhat.com>
1600
1601 PR gdb/16575
1602 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
1603 procedure.
1604 (top level): Adjust to use it. Add tests that exercise breakpoint
1605 interaction with the code-cache.
1606
1607 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1608
1609 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
1610 test for 'history-append!'.
1611
1612 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1613
1614 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
1615 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
1616 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
1617 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
1618 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
1619 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
1620
1621 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1622
1623 * testsuite/gdb.python/py-pp-re-notag.c: New file.
1624 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
1625 * testsuite/gdb.python/py-pp-re-notag.p: New file.
1626
1627 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1628
1629 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
1630
1631 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1632
1633 * gdb.dwarf2/arr-stride.c: New file.
1634 * gdb.dwarf2/arr-stride.exp: New file.
1635
1636 2014-02-26 Pedro Alves <palves@redhat.com>
1637
1638 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
1639 that won't ever trigger. Make sure that GDB reports the correct
1640 breakpoint that caused the stop.
1641
1642 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1643
1644 PR gdb/16626
1645 * gdb.base/auto-load-script: New file.
1646 * gdb.base/auto-load.c: New file.
1647 * gdb.base/auto-load.exp: New file.
1648
1649 PR gdb/16626
1650 * gdb.base/auto-load.exp: Fix out-of-srctree run.
1651
1652 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1653
1654 Fix dw2-icycle.exp -fsanitize=address GDB crash.
1655 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
1656
1657 2014-02-24 Doug Evans <dje@google.com>
1658
1659 * lib/gdb.exp (run_on_host): Log error output if program fails.
1660
1661 2014-02-21 Pedro Alves <palves@redhat.com>
1662
1663 * gdb.threads/step-after-sr-lock.c: Rename to ...
1664 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
1665 * gdb.threads/step-after-sr-lock.exp: Rename to ...
1666 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1667 ... this.
1668
1669 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
1670
1671 PR tdep/16397
1672 * gdb.arch/amd64-stap-special-operands.exp: New file.
1673 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
1674 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
1675 * gdb.arch/amd64-stap-triplet.S: Likewise.
1676 * gdb.arch/amd64-stap-triplet.c: Likewise.
1677
1678 2014-02-20 Joel Brobecker <brobecker@adacore.com>
1679
1680 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
1681 in .section pseudo-op.
1682
1683 2014-02-20 lin zuojian <manjian2006@gmail.com>
1684 Joel Brobecker <brobecker@adacore.com>
1685 Doug Evans <xdje42@gmail.com>
1686
1687 PR symtab/16581
1688 * gdb.dwarf2/dw2-icycle.S: New file.
1689 * gdb.dwarf2/dw2-icycle.c: New file.
1690 * gdb.dwarf2/dw2-icycle.exp: New file.
1691
1692 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
1693
1694 * gdb.python/py-value-cc.cc: Improve test case to enable testing
1695 operations on gdb.Value objects.
1696 * gdb.python/py-value-cc.exp: Add new test to test operations on
1697 gdb.Value objects.
1698
1699 2014-02-18 Doug Evans <dje@google.com>
1700
1701 * Makefile.in (TESTS): New variable.
1702 (expanded_tests, expanded_tests_or_none): New variables
1703 (check-single): Pass $(expanded_tests_or_none) to runtest.
1704 (check-parallel): Only run tests in $(TESTS) if non-empty.
1705 (check/no-matching-tests-found): New rule.
1706 * README: Document TESTS makefile variable.
1707
1708 2014-02-18 Doug Evans <dje@google.com>
1709
1710 * Makefile.in (check-parallel): rm -rf outputs temp.
1711
1712 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1713
1714 Fix "ERROR: no fileid for" in the testsuite.
1715 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
1716
1717 2014-02-12 Doug Evans <dje@google.com>
1718
1719 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
1720 (MISCELLANEOUS): New variable.
1721 (clean): rm -rf $(MISCELLANEOUS).
1722 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
1723 dwp live in the same directory as symlinks, with each symlink pointed
1724 to a differently named file in a different directory.
1725
1726 2014-02-11 Doug Evans <dje@google.com>
1727
1728 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
1729 of Tcl file commands.
1730
1731 2014-02-10 Mark Kettenis <kettenis@gnu.org>
1732
1733 * gdb.threads/step-after-sr-lock.exp: Avoid executing
1734 "kill -SIGUSR1 -1".
1735
1736 2014-02-10 Joel Brobecker <brobecker@adacore.com>
1737
1738 * gdb.ada/tick_length_array_enum_idx: New testcase.
1739
1740 2014-02-10 Doug Evans <xdje42@gmail.com>
1741
1742 * configure.ac (AC_OUTPUT): Add gdb.guile.
1743 * configure: Regenerate.
1744 * lib/gdb-guile.exp: New file.
1745 * lib/gdb.exp (get_target_charset): New function.
1746 * gdb.base/help.exp: Update expected output from "apropos apropos".
1747 * gdb.guile/Makefile.in: New file.
1748 * gdb.guile/guile.exp: New file.
1749 * gdb.guile/scm-arch.c: New file.
1750 * gdb.guile/scm-arch.exp: New file.
1751 * gdb.guile/scm-block.c: New file.
1752 * gdb.guile/scm-block.exp: New file.
1753 * gdb.guile/scm-breakpoint.c: New file.
1754 * gdb.guile/scm-breakpoint.exp: New file.
1755 * gdb.guile/scm-disasm.c: New file.
1756 * gdb.guile/scm-disasm.exp: New file.
1757 * gdb.guile/scm-equal.c: New file.
1758 * gdb.guile/scm-equal.exp: New file.
1759 * gdb.guile/scm-error.exp: New file.
1760 * gdb.guile/scm-error.scm: New file.
1761 * gdb.guile/scm-frame-args.c: New file.
1762 * gdb.guile/scm-frame-args.exp: New file.
1763 * gdb.guile/scm-frame-args.scm: New file.
1764 * gdb.guile/scm-frame-inline.c: New file.
1765 * gdb.guile/scm-frame-inline.exp: New file.
1766 * gdb.guile/scm-frame.c: New file.
1767 * gdb.guile/scm-frame.exp: New file.
1768 * gdb.guile/scm-generics.exp: New file.
1769 * gdb.guile/scm-gsmob.exp: New file.
1770 * gdb.guile/scm-iterator.c: New file.
1771 * gdb.guile/scm-iterator.exp: New file.
1772 * gdb.guile/scm-math.c: New file.
1773 * gdb.guile/scm-math.exp: New file.
1774 * gdb.guile/scm-objfile-script-gdb.in: New file.
1775 * gdb.guile/scm-objfile-script.c: New file.
1776 * gdb.guile/scm-objfile-script.exp: New file.
1777 * gdb.guile/scm-objfile.c: New file.
1778 * gdb.guile/scm-objfile.exp: New file.
1779 * gdb.guile/scm-ports.exp: New file.
1780 * gdb.guile/scm-pretty-print.c: New file.
1781 * gdb.guile/scm-pretty-print.exp: New file.
1782 * gdb.guile/scm-pretty-print.scm: New file.
1783 * gdb.guile/scm-section-script.c: New file.
1784 * gdb.guile/scm-section-script.exp: New file.
1785 * gdb.guile/scm-section-script.scm: New file.
1786 * gdb.guile/scm-symbol.c: New file.
1787 * gdb.guile/scm-symbol.exp: New file.
1788 * gdb.guile/scm-symtab-2.c: New file.
1789 * gdb.guile/scm-symtab.c: New file.
1790 * gdb.guile/scm-symtab.exp: New file.
1791 * gdb.guile/scm-type.c: New file.
1792 * gdb.guile/scm-type.exp: New file.
1793 * gdb.guile/scm-value-cc.cc: New file.
1794 * gdb.guile/scm-value-cc.exp: New file.
1795 * gdb.guile/scm-value.c: New file.
1796 * gdb.guile/scm-value.exp: New file.
1797 * gdb.guile/source2.scm: New file.
1798 * gdb.guile/types-module.cc: New file.
1799 * gdb.guile/types-module.exp: New file.
1800
1801 2014-02-10 Yao Qi <yao@codesourcery.com>
1802
1803 PR testsuite/16543
1804 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
1805 * configure: Regenerated.
1806 * Makefile.in: New file.
1807
1808 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1809
1810 * gdb.python/py-framefilter.exp: Fix typo.
1811
1812 2014-02-08 Yao Qi <yao@codesourcery.com>
1813
1814 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
1815 that no =breakpoint-modified is emitted when breakpoints are
1816 modified through MI commands.
1817
1818 2014-02-07 Pedro Alves <pedro@codesourcery.com>
1819 Pedro Alves <palves@redhat.com>
1820
1821 * gdb.threads/step-after-sr-lock.c: New file.
1822 * gdb.threads/step-after-sr-lock.exp: New file.
1823
1824 2014-02-07 Pedro Alves <palves@redhat.com>
1825
1826 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
1827
1828 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1829
1830 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
1831 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
1832
1833 2014-02-06 Doug Evans <xdje42@gmail.com>
1834
1835 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
1836 output.
1837
1838 * gdb.gdb/python-interrupts.exp: New file.
1839
1840 2014-02-05 Yao Qi <yao@codesourcery.com>
1841
1842 * gdb.trace/report.exp (use_collected_data): Test the output
1843 of "info threads" and "info inferiors".
1844
1845 2014-02-05 Yao Qi <yao@codesourcery.com>
1846
1847 Revert this patch:
1848
1849 2013-05-24 Yao Qi <yao@codesourcery.com>
1850
1851 * gdb.trace/tfile.exp: Test inferior and thread.
1852
1853 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1854
1855 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
1856 on a function.
1857 * gdb.base/step-bt.c: Call hello via function pointer to make
1858 sure its first instruction is executed on powerpc64le-linux.
1859
1860 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1861
1862 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
1863
1864 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1865
1866 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
1867 of the test patterns for use on little-endian systems.
1868
1869 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
1870
1871 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
1872 (decimal_vector): Fix for little-endian.
1873
1874 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
1875
1876 * gdb.arch/sparc-sysstep.exp: New file.
1877 * gdb.arch/sparc-sysstep.c: Likewise.
1878
1879 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
1880
1881 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1882
1883 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
1884
1885 2014-01-23 Tom Tromey <tromey@redhat.com>
1886
1887 * gdb.ada/array_char_idx: New testcase.
1888
1889 2014-01-23 Tom Tromey <tromey@redhat.com>
1890
1891 PR python/16487:
1892 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
1893 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
1894 classes.
1895
1896 2014-01-23 Tom Tromey <tromey@redhat.com>
1897
1898 PR python/16491:
1899 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
1900 string from an inferior frame.
1901 * gdb.python/py-framefilter-mi.exp: Update.
1902
1903 2014-01-22 Doug Evans <dje@google.com>
1904
1905 * gdb.server/server-mon.exp: Add tests for "set debug-format".
1906
1907 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1908
1909 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
1910
1911 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1912
1913 * gdb.trace/entry-values.exp: Remove excess space character from
1914 regex patterns. Handle s390 call instruction.
1915
1916 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1917
1918 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
1919 define "*_start" label. Make "name" static.
1920 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
1921 ${name} by references to ${name}_start.
1922
1923 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
1924
1925 * gdb.base/info-macros.exp: Remove "debug" from the compile
1926 options.
1927
1928 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1929
1930 * gdb.dlang/demangle.exp: New file.
1931
1932 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1933
1934 * gdb.dlang/primitive-types.exp: New file.
1935
1936 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
1937
1938 * configure.ac: Create gdb.dlang/Makefile.
1939 * configure: Regenerate.
1940 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
1941 * gdb.dlang/Makefile.in: New file.
1942 * lib/d-support.exp: New file.
1943 * lib/gdb.exp (skip_d_tests): New proc.
1944
1945 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1946
1947 * gdb.btrace/delta.exp: Check reverse stepi.
1948 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
1949 * gdb.btrace/finish.exp: New.
1950 * gdb.btrace/next.exp: New.
1951 * gdb.btrace/nexti.exp: New.
1952 * gdb.btrace/record_goto.c: Add comments.
1953 * gdb.btrace/step.exp: New.
1954 * gdb.btrace/stepi.exp: New.
1955 * gdb.btrace/multi-thread-step.c: New.
1956 * gdb.btrace/multi-thread-step.exp: New.
1957 * gdb.btrace/rn-dl-bind.c: New.
1958 * gdb.btrace/rn-dl-bind.exp: New.
1959 * gdb.btrace/data.c: New.
1960 * gdb.btrace/data.exp: New.
1961 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
1962
1963 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1964
1965 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
1966 * gdb.btrace/exception.exp: Update.
1967 * gdb.btrace/instruction_history.exp: Update.
1968 * gdb.btrace/record_goto.exp: Update.
1969 * gdb.btrace/tailcall.exp: Update.
1970 * gdb.btrace/unknown_functions.exp: Update.
1971 * gdb.btrace/delta.exp: New.
1972
1973 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1974
1975 * gdb.btrace/record_goto.exp: Add backtrace test.
1976 * gdb.btrace/tailcall.exp: Add backtrace test.
1977
1978 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1979
1980 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
1981 * gdb.btrace/record_goto.c: New.
1982 * gdb.btrace/record_goto.exp: New.
1983 * gdb.btrace/x86-record_goto.S: New.
1984
1985 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1986
1987 * gdb.btrace/function_call_history.exp: Update tests.
1988 * gdb.btrace/instruction_history.exp: Update tests.
1989
1990 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1991
1992 * gdb.btrace/function_call_history.exp: Fix expected field
1993 order for "record function-call-history".
1994 Add new tests for "record function-call-history /c".
1995 * gdb.btrace/exception.cc: New.
1996 * gdb.btrace/exception.exp: New.
1997 * gdb.btrace/tailcall.exp: New.
1998 * gdb.btrace/x86-tailcall.S: New.
1999 * gdb.btrace/x86-tailcall.c: New.
2000 * gdb.btrace/unknown_functions.c: New.
2001 * gdb.btrace/unknown_functions.exp: New.
2002 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2003
2004 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2005
2006 * gdb.btrace/instruction_history.exp: Update.
2007 * gdb.btrace/function_call_history.exp: Update.
2008
2009 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2010
2011 * gdb.btrace/function_call_history.exp: Fix expected function
2012 trace.
2013 * gdb.btrace/instruction_history.exp: Initialize traced.
2014 Remove traced_functions.
2015
2016 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2017
2018 * gdb.btrace/function_call_history.exp: Update
2019 * gdb.btrace/instruction_history.exp: Update.
2020
2021 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2022
2023 * gdb.btrace/enable.exp: Update expected text.
2024
2025 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2026
2027 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2028 bytes.
2029
2030 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2031
2032 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2033
2034 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2035
2036 * lib/gdb.exp (supports_process_record): Return true for
2037 arm*-linux*. (supports_reverse): Likewise.
2038
2039 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2040
2041 PR python/15464
2042 PR python/16113
2043 * gdb.python/py-type.c: Enhance test case.
2044 * gdb.python/py-value-cc.cc: Likewise
2045 * gdb.python/py-type.exp: Add new tests.
2046 * gdb.python/py-value-cc.exp: Likewise
2047
2048 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2049 Pedro Alves <palves@redhat.com>
2050
2051 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2052 Make "name" extern.
2053 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2054 references to ${name}_start by references to ${name}.
2055
2056 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2057
2058 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2059
2060 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2061
2062 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2063
2064 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2065 Pedro Alves <palves@redhat.com>
2066
2067 * gdb.mi/mi-info-os.exp: Connect to the target with
2068 mi_gdb_target_load.
2069
2070 2014-01-08 Pedro Alves <palves@redhat.com>
2071
2072 * gdb.threads/reconnect-signal.c: New file.
2073 * gdb.threads/reconnect-signal.exp: New file.
2074
2075 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2076
2077 * gdb.base/source-dir.exp: New file.
2078
2079 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2080
2081 * gdb.ada/mi_interface: New testcase.
2082
2083 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2084
2085 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2086 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2087 gdb.ada/pp-rec-component/pck.ads: New files.
2088
2089 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2090
2091 * gdb.python/py-pp-integral.c: New file.
2092 * gdb.python/py-pp-integral.py: New file.
2093 * gdb.python/py-pp-integral.exp: New file.
2094
2095 For older changes see ChangeLog-1993-2013.
2096 \f
2097 ;; Local Variables:
2098 ;; mode: change-log
2099 ;; left-margin: 8
2100 ;; fill-column: 74
2101 ;; version-control: never
2102 ;; End:
2103
2104 Copyright 2014 Free Software Foundation, Inc.
2105 Copying and distribution of this file, with or without modification,
2106 are permitted provided the copyright notice and this notice are preserved.