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