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