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