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