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