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