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