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