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