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