Check function is GC'ed
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
c3b7b696
YQ
12014-09-19 Yao Qi <yao@codesourcery.com>
2
3 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
4 proc set_breakpoint_on_gcd_function. Invoke
5 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
6 invoke set_breakpoint_on_gcd_function again.
7
2b4fd423
DE
82014-09-18 Doug Evans <dje@google.com>
9
10 * gdb.dwarf2/symtab-producer.exp: New file.
11
a5947601
SDJ
122014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
13
14 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16 * gdb.base/global-var-nested-by-dso.c: Likewise.
17 * gdb.base/global-var-nested-by-dso.exp: Likewise.
18
91c19059
SDJ
192014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20 Pedro Alves <palves@redhat.com>
21
22 * gdb.base/watch-bitfields.exp: Pass string other than test file
23 name to prepare_for_testing.
24 (watch): New procedure.
25 (expect_watchpoint): Use with_test_prefix.
26 (top level): Factor out tests to ...
27 (test_watch_location, test_regular_watch): ... these new
28 procedures, and use with_test_prefix and gdb_continue_to_end.
29
bb9d5f81
PP
302014-09-16 Patrick Palka <patrick@parcs.ath.cx>
31
32 PR breakpoints/12526
33 * gdb.base/watch-bitfields.exp: New file.
34 * gdb.base/watch-bitfields.c: New file.
35
635856f5
PA
362014-09-16 Pedro Alves <palves@redhat.com>
37
38 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
39 software and hardware addresses, not software address against
40 itself.
41
7280ceea
PA
422014-09-16 Pedro Alves <palves@redhat.com>
43
44 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
45 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
46
428b16bd
PA
472014-09-16 Pedro Alves <palves@redhat.com>
48
49 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
50 files.
51 * gdb.base/a2-run.exp: Remove all code guarded by istarget
52 "*-*-vxworks*" throughout.
53 * gdb.base/break.exp: Likewise.
54 * gdb.base/default.exp: Likewise.
55 * gdb.base/scope.exp: Likewise.
56 * gdb.base/sepdebug.exp: Likewise.
57 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
58 throughout.
59 * gdb.base/run.c: Likewise.
60 * gdb.base/sepdebug.c: Likewise.
61 * gdb.hp/gdb.aCC/run.c: Likewise.
62 * gdb.reverse/until-reverse.c: Likewise.
63 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
64
666d413c
YQ
652014-09-16 Yao Qi <yao@codesourcery.com>
66
67 * boards/local-remote-host-native.exp: New file.
68
57cbd724
DE
692014-09-14 Doug Evans <xdje42@gmail.com>
70
71 * gdb.threads/queue-signal.c (thread_count): New variable.
72 (thread_count_mutex, thread_count_condvar): New variables.
73 (incr_thread_count, wait_all_threads_running): New functions.
74 (main): Wait for all threads to be in their thread functions.
75
81219e53
DE
762014-09-13 Doug Evans <xdje42@gmail.com>
77
78 * gdb.threads/queue-signal.c: New file.
79 * gdb.threads/queue-signal.exp: New file.
80
3714cea7
DE
812014-09-13 Doug Evans <xdje42@gmail.com>
82
83 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
84 be consistent with what default_gdb_init uses.
85 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
86 the plain text of the prompt. Add some logging printfs.
87 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
88
fa43b1d7
PA
892014-09-12 Pedro Alves <palves@redhat.com>
90
91 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
92 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
93 * gdb.arch/i386-size-overlap.exp: Likewise.
94 * gdb.arch/i386-size.exp: Likewise.
95 * gdb.arch/i386-unwind.exp: Likewise.
96 * gdb.base/a2-run.exp: Likewise.
97 * gdb.base/break.exp: Likewise.
98 * gdb.base/charset.exp: Likewise.
99 * gdb.base/chng-syms.exp: Likewise.
100 * gdb.base/commands.exp: Likewise.
101 * gdb.base/dbx.exp: Likewise.
102 * gdb.base/find.exp: Likewise.
103 * gdb.base/funcargs.exp: Likewise.
104 * gdb.base/jit-simple.exp: Likewise.
105 * gdb.base/reread.exp: Likewise.
106 * gdb.base/sepdebug.exp: Likewise.
107 * gdb.base/step-bt.exp: Likewise.
108 * gdb.cp/mb-inline.exp: Likewise.
109 * gdb.cp/mb-templates.exp: Likewise.
110 * gdb.objc/basicclass.exp: Likewise.
111 * gdb.threads/killed.exp: Likewise.
112
9d9bf2df
EBM
1132014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
114
115 PR tdep/17379
116 * gdb.arch/powerpc-stackless.S: New file.
117 * gdb.arch/powerpc-stackless.exp: New file.
118
1cf2f1b0
JK
1192014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
120
121 * gdb.base/attach.c: Include unistd.h.
122 (main): Call alarm. Add label postloop.
123 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
124 gdb_breakpoint, gdb_continue_to_breakpoint.
125 (test_command_line_attach_run): Kill ${testpid} in one exit path.
126
98880d46
PA
1272014-09-11 Pedro Alves <palves@redhat.com>
128
129 PR gdb/17347
130 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
131 * gdb.base/attach.exp (test_command_line_attach_run): New
132 procedure.
133 (top level): Call it.
134
4c92ff2c
PA
1352014-09-11 Pedro Alves <palves@redhat.com>
136
137 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
138 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
139 (do_command_attach_tests): Use spawn_wait_for_attach.
140 * gdb.base/solib-overlap.exp: Likewise.
141 * gdb.multi/multi-attach.exp: Likewise.
142 * gdb.python/py-prompt.exp: Likewise.
143 * gdb.python/py-sync-interp.exp: Likewise.
144 * gdb.server/ext-attach.exp: Likewise.
145
3adc1a7d
GKB
1462014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
147
148 * gdb.fortran/array-element.exp: Remove unexpected "continue"
149 command in testcase. Simplify testcase.
150
96334934
JB
1512014-09-10 Joel Brobecker <brobecker@adacore.com>
152
153 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
154
eb479039
JB
1552014-09-10 Joel Brobecker <brobecker@adacore.com>
156
157 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
158
deede10c
JB
1592014-09-10 Joel Brobecker <brobecker@adacore.com>
160
161 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
162
7828a5f5
JB
1632014-09-10 Joel Brobecker <brobecker@adacore.com>
164
165 * gdb.dwarf2/dynarr-ptr.c: New file.
166 * gdb.dwarf2/dynarr-ptr.exp: New file.
167
33aeebcf
MR
1682014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
169
170 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
171 of 30 rather than hardcoding 120 for a slow test case. Take the
172 `gdb,timeout' target setting into account for this calculation.
173 Don't extend the timeout for the test cases that don't need it.
174
7b415901
MR
1752014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
176
177 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
178 a factor of 2 for a slow test case. Take the `gdb,timeout'
179 target setting into account for this calculation.
180 * gdb.reverse/until-precsave.exp: Increase the timeout by
181 a factor of 15 and 3 respectively rather than adding 120
182 for a pair of slow test cases. Take the `gdb,timeout'
183 target setting into account for this calculation.
184
4a40f85a
MR
1852014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
186
187 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
188 timeout, don't pass one down to gdb_expect.
189 (gdb_expect): Rework timeout selection.
190
09635af7
MR
1912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
192
193 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
194 exception on timeout.
195 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
196 (gdbserver_start_extended): Catch any `gdbserver_start' error
197 exceptions.
198 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
199 * lib/mi-support.exp (mi_gdb_target_load): Catch any
200 `gdbserver_gdb_load' error exceptions.
201
2bdd10b7
MR
2022014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
203
204 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
205 120 on waiting for the TCP socket to open.
206
316935f0
DE
2072014-09-09 Doug Evans <xdje42@gmail.com>
208
209 * gdb.base/default.exp (show_conv_list): Add _caller_is,
210 _caller_matches, _any_caller_is, _any_caller_matches.
211
83740597
DE
2122014-09-09 Doug Evans <xdje42@gmail.com>
213
214 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
215
4c122fc3
YQ
2162014-09-09 Yao Qi <yao@codesourcery.com>
217
218 * gdb.mi/mi-var-display.exp: Set print symbol off.
219
a9f116cb
GKB
2202014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
221
222 PR gdb/17035
223 * gdb.base/commands.exp: Add tests to verify user-defined
224 commands with empty bodies.
225 * gdb.python/py-cmd.exp: Test that we don't show user-defined
226 python commands in `show user command`.
227 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
228 scheme commands in `show user command`.
229
c75bd3a2
JK
2302014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 PR python/17355
233 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
234 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
235 * gdb.python/py-framefilter-invalidarg.exp: New file.
236 * gdb.python/py-framefilter-invalidarg.py: New file.
237
faa42425
DE
2382014-09-06 Doug Evans <xdje42@gmail.com>
239
240 PR 15276
241 * gdb.python/py-caller-is.c: New file.
242 * gdb.python/py-caller-is.exp: New file.
243
474ca4f6
SDJ
2442014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
245
246 PR gdb/17235
247 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
248 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
249
eb0b0463
SDJ
2502014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
251
252 PR fortran/17237
253 * gdb.fortran/print-formatted.exp: New file.
254 * gdb.fortran/print-formatted.f90: Likewise.
255
5f3b99cf
SS
2562014-09-03 Sasha Smundak <asmundak@google.com>
257
258 * gdb.python/py-frame.exp: Test Frame.read_register.
259
7d793aa9
SDJ
2602014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
261
262 PR python/16699
263 * gdb.python/py-completion.exp: New file.
264 * gdb.python/py-completion.py: Likewise.
265
fb0576e9
DE
2662014-08-28 Doug Evans <dje@google.com>
267
268 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
269 eax,etc. are live with values set by gdb and thus the compiler can't
270 use them.
271 * gdb.arch/i386-pseudo.c (main): Ditto.
272
ee92b0dd
DE
2732014-08-27 Doug Evans <dje@google.com>
274
275 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
276
6649db35
DE
2772014-08-25 Doug Evans <dje@google.com>
278
279 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
280 (main): Ditto.
281
564b7600
DE
2822014-08-25 Doug Evans <dje@google.com>
283
284 * gdb.threads/thread-execl.exp: #include <stdio.h>.
285
3881fb67
YQ
2862014-08-24 Yao Qi <yao@codesourcery.com>
287
288 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
289 symbol off.
290 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
291
a05a36a5
DE
2922014-08-22 Doug Evans <dje@google.com>
293
294 PR 17276
295 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
296 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
297 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
298
7c343b48
YQ
2992014-08-22 Yao Qi <yao@codesourcery.com>
300
301 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
302 * gdb.python/py-finish-breakpoint2.exp: Likewise.
303 * gdb.python/python.exp: Likewise. Use .py file on the host
304 instead of the build.
305
22fd09ae
JK
3062014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
307
308 * gdb.threads/gcore-stale-thread.c: New file.
309 * gdb.threads/gcore-stale-thread.exp: New file.
310
a8454a7c
PA
3112014-08-21 Pedro Alves <palves@redhat.com>
312
313 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
314 * gdb.base/gcore-relro-pie.exp: Likewise.
315 * gdb.base/gcore-relro.exp: Likewise.
316 * gdb.base/gcore.exp: Likewise.
317 * gdb.base/print-symbol-loading.exp: Likewise.
318 * gdb.threads/gcore-thread.exp: Likewise.
319 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
320
2a31c623
PA
3212014-08-20 Pedro Alves <palves@redhat.com>
322 Jan Kratochvil <jan.kratochvil@redhat.com>
323
324 * Makefile.in (EXTRA_RULES, CC): New variables, get from
325 configure.
326 (EXPECT): Handle READ1 being set.
327 (all): Depend on EXTRA_RULES.
328 (check-read1, expect-read1, read1.so, read1): New rules.
329 * README (Testsuite Parameters): Document the READ1 make variable.
330 (Race detection): New section.
331 * configure: Regenerate.
332 * configure.ac: If build==host==target, and running under a
333 GNU/glibc system, add read1 to the extra Makefile rules.
334 (EXTRA_RULES): AC_SUBST it.
335 * lib/read1.c: New file.
336
d36430db
JB
3372014-08-20 Joel Brobecker <brobecker@adacore.com>
338
339 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
340 the handling of variables declared as a typedef to an array
341 which a DW_AT_data_location attribute.
342
9a0dc9e3
PA
3432014-08-19 Andrew Burgess <aburgess@broadcom.com>
344 Pedro Alves <palves@redhat.com>
345
346 PR symtab/14604
347 PR symtab/14605
348 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
349 gdb_test.
350
0718a8da
PA
3512014-08-19 Pedro Alves <palves@redhat.com>
352
353 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
354
13b448cd
YQ
3552014-08-19 Yao Qi <yao@codesourcery.com>
356
357 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
358 right line.
359
1cbf5077
DB
3602014-08-18 David Blaikie <dblaikie@gmail.com>
361
362 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
363
bf0fae19
JB
3642014-08-18 Joel Brobecker <brobecker@adacore.com>
365
366 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
367 attribute in array range.
368
3c8c5dcc
JB
3692014-08-18 Joel Brobecker <brobecker@adacore.com>
370
371 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
372
e66d4446
SC
3732014-08-15 Siva Chandra Reddy <sivachandra@google.com>
374
375 PR c++/17132
376 * gdb.cp/pr17132.cc: New file.
377 * gdb.cp/pr17132.exp: New file.
378
940df408
SC
3792014-08-15 Siva Chandra Reddy <sivachandra@google.com>
380
381 * gdb.python/py-xmethods.py (A_getarrayind)
382 (E_method_char_worker.__call__, E_method_int_worker.__call__):
383 Use 'print' with function call syntax.
384 (E_method_matcher.match): Fix tab vs space indentation mixup.
385
ebcc6c3a
YQ
3862014-08-15 Yao Qi <yao@codesourcery.com>
387
388 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
389 false.
390
775e0f04
YQ
3912014-08-15 Yao Qi <yao@codesourcery.com>
392
393 * gdb.cp/casts.exp: Set print symbol off.
394 * gdb.cp/class2.exp: Likewise.
395 * gdb.cp/overload.exp: Likewise.
396 * gdb.cp/templates.exp: Likewise.
397
d769e349
DE
3982014-08-11 Doug Evans <dje@google.com>
399
400 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
401 (test_load_shlib): Update.
402
20c6f1e1
YQ
4032014-08-09 Yao Qi <yao@codesourcery.com>
404
405 * gdb.base/display.exp: Invoke is_address_zero_readable.
406 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
407 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
408 * gdb.base/hbreak-unmapped.exp: Return if
409 is_address_zero_readable returns true.
410 * gdb.base/signest.exp: Likewise.
411 * gdb.base/signull.exp: Likewise.
412 * gdb.base/sigbpt.exp: Likewise.
413 * gdb.guile/scm-disasm.exp: Do the test if
414 is_address_zero_readable returns false.
415 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
416 * gdb.python/py-arch.exp: Likewise.
417 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
418 * lib/gdb.exp (is_address_zero_readable): New proc.
419
5792e8e3
YQ
4202014-08-09 Yao Qi <yao@codesourcery.com>
421
422 PR testsuite/13443
423 * gdb.mi/mi-var-display.exp: Make test messages unique.
424
3cecbbbe
TT
4252014-08-04 Tom Tromey <tromey@redhat.com>
426
427 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
428 target 0".
429
00b51ff5
TT
4302014-08-04 Tom Tromey <tromey@redhat.com>
431
432 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
433 "target_resume".
434
6908c509
JB
4352014-08-01 Joel Brobecker <brobecker@adacore.com>
436
437 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
438 inner_vla_struct_object_size.
439 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
440 as xfail.
441
cc6563d2
PA
4422014-07-30 Pedro Alves <palves@redhat.com>
443
444 * gdb.threads/signal-command-handle-nopass.exp (test): Add
445 comment.
446
7e09a223
YQ
4472014-07-29 Yao Qi <yao@codesourcery.com>
448
449 PR gdb/17206
450 * gdb.base/until-nodebug.exp: New.
451
7ebdbe92
DE
4522014-07-28 Doug Evans <xdje42@gmail.com>
453
454 PR guile/17203
455 * gdb.guile/scm-parameter.exp: Add tests for trying to create
456 previously existing parameter, and previously ambiguously spelled
457 parameter.
458
fdb1adc6
WN
4592014-07-28 Will Newton <will.newton@linaro.org>
460
461 * gdb.base/varargs.exp: Remove KFAILs for ARM.
462
186fcde0
DE
4632014-07-26 Ludovic Courtès <ludo@gnu.org>
464 Doug Evans <xdje42@gmail.com>
465
466 PR guile/17146
467 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
468
70509625
PA
4692014-07-25 Pedro Alves <palves@redhat.com>
470
471 * gdb.threads/signal-command-handle-nopass.c: New file.
472 * gdb.threads/signal-command-handle-nopass.exp: New file.
473 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
474 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
475 * gdb.threads/signal-delivered-right-thread.c: New file.
476 * gdb.threads/signal-delivered-right-thread.exp: New file.
477
c3f814a1
PA
4782014-07-25 Pedro Alves <palves@redhat.com>
479
480 * gdb.base/double-prompt-target-event-error.exp
481 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
482 match.
483 (cancel_pagination_in_target_event): Rework double prompt
484 detection.
485 * gdb.base/paginate-after-ctrl-c-running.exp
486 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
487 <return>' match.
488 * gdb.base/paginate-bg-execution.exp
489 (test_bg_execution_pagination_return)
490 (test_bg_execution_pagination_cancel): Remove '-notransfer
491 <return>' matches.
492 * gdb.base/paginate-execution-startup.exp
493 (test_fg_execution_pagination_return)
494 (test_fg_execution_pagination_cancel): Remove '-notransfer
495 <return>' matches.
496 * gdb.base/paginate-inferior-exit.exp
497 (test_paginate_inferior_exited): Remove '-notransfer <return>'
498 match.
499 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
500 * lib/gdb.exp (pagination_prompt): Run text through
501 string_to_regexp.
502 (gdb_test_multiple): Match $pagination_prompt instead of
503 "<return>".
504 (string_to_regexp): Move to lib/gdb-utils.exp.
505
e214cf6c
JK
5062014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
507
508 * gdb.arch/amd64-entry-value-paramref.S: New file.
509 * gdb.arch/amd64-entry-value-paramref.cc: New file.
510 * gdb.arch/amd64-entry-value-paramref.exp: New file.
511 * gdb.arch/amd64-optimout-repeat.S: New file.
512 * gdb.arch/amd64-optimout-repeat.c: New file.
513 * gdb.arch/amd64-optimout-repeat.exp: New file.
514
17d0c5c8
JK
5152014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
516
517 PR gdb/17170
518 * gdb.base/statistics.exp: New file.
519
b8b8facf
DE
5202014-07-17 Doug Evans <dje@google.com>
521
74b49205 522 PR gdb/17170
b8b8facf
DE
523 * gdb.base/maint.exp: Update testing of per-command stats.
524
1b5d0ab3
PA
5252014-07-16 Pedro Alves <palves@redhat.com>
526
527 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
528 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
529 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
530 (tfile_write_buf): New functions.
531 (add_memory_block): Rewrite using the above.
532 (adjust_function_address): New function.
533 (FUNCTION_ADDRESS): New macro.
534 (write_basic_trace_file): Remove short_x local, and use
535 tfile_write_16. Change type of func_addr local to unsigned long
536 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
537 here. Cast argument of add_memory_block to char pointer.
538 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
539 (main): Remove parameters.
540 * gdb.trace/tfile.exp: Remove nowarnings.
541
4d974e88
SM
5422014-07-15 Simon Marchi <simon.marchi@ericsson.com>
543
544 * gdb.base/debug-expr.exp: Test string evaluation with
545 "debug expression" on.
546
41e99568
PA
5472014-07-15 Pedro Alves <palves@redhat.com>
548
549 * gdb.base/reread.exp: Use clean_restart.
550
487d9753
PL
5512014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
552
553 * gdb.arch/avr-flash-qualifer.c: New.
554 * gdb.arch/avr-flash-qualifer.exp: New.
555
cc1c52ad
PA
5562014-07-14 Pedro Alves <palves@redhat.com>
557
558 * gdb.base/paginate-after-ctrl-c-running.c: New file.
559 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
560
1e973570
PA
5612014-07-14 Pedro Alves <palves@redhat.com>
562
563 * gdb.base/double-prompt-target-event-error.c: New file.
564 * gdb.base/double-prompt-target-event-error.exp: New file.
565
93d6eb10
PA
5662014-07-14 Pedro Alves <palves@redhat.com>
567
568 PR gdb/17072
569 * gdb.base/paginate-inferior-exit.c: New file.
570 * gdb.base/paginate-inferior-exit.exp: New file.
571
0017922d
PA
5722014-07-14 Pedro Alves <palves@redhat.com>
573
574 PR gdb/17072
575 * gdb.base/paginate-bg-execution.c: New file.
576 * gdb.base/paginate-bg-execution.exp: New file.
577
94696ad3
PA
5782014-07-14 Pedro Alves <palves@redhat.com>
579
580 PR gdb/17072
581 * gdb.base/paginate-execution-startup.c: New file.
582 * gdb.base/paginate-execution-startup.exp: New file.
583 * lib/gdb.exp (pagination_prompt): New global.
584 (default_gdb_spawn): New procedure, factored out from
585 default_gdb_spawn.
586 (default_gdb_start): Adjust to call default_gdb_spawn.
587 (gdb_spawn): New procedure.
588
bd293940
PA
5892014-07-14 Pedro Alves <palves@redhat.com>
590
591 * lib/gdb.exp (gdb_assert): New procedure.
592 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
593
c933f875
PA
5942014-07-14 Pedro Alves <palves@redhat.com>
595
596 * gdb.base/execution-termios.c: New file.
597 * gdb.base/execution-termios.exp: New file.
598
d98b7a16
TT
5992014-07-14 Tom Tromey <tromey@redhat.com>
600
601 * gdb.cp/vla-cxx.cc: New file.
602 * gdb.cp/vla-cxx.exp: New file.
603
548740d6
TT
6042014-07-14 Tom Tromey <tromey@redhat.com>
605
606 * gdb.reverse/rerun-prec.c: New file.
607 * gdb.reverse/rerun-prec.exp: New file.
608
a25eb028
MR
6092014-07-12 Maciej W. Rozycki <macro@mips.com>
610 Maciej W. Rozycki <macro@codesourcery.com>
611
612 * lib/gdb-utils.exp: New file.
613 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
614 inline `gdb_init_command' processing.
615 (gdb_start_cmd): Likewise.
616 * lib/mi-support.exp (mi_run_cmd): Likewise.
617 * README: Document `gdb_init_command' and `gdb_init_commands'.
618
218c2655
JK
6192014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
620
621 Fix false FAIL running under a very long directory name.
622 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
623 and "set print elements 10000". Twice.
624
5401fde3
YQ
6252014-07-11 Yao Qi <yao@codesourcery.com>
626
627 * gdb.base/exprs.exp: "set print symbol off".
628
e76126e8
PA
6292014-07-11 Pedro Alves <palves@redhat.com>
630
631 * gdb.threads/kill.c: New file.
632 * gdb.threads/kill.exp: New file.
633
2d6f0de6
YQ
6342014-07-10 Yao Qi <yao@codesourcery.com>
635
636 * gdb.trace/tfile.c (write_basic_trace_file)
637 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
638 address written to trace file.
639
7180e04a
PA
6402014-07-09 Pedro Alves <palves@redhat.com>
641
642 * gdb.base/attach-wait-input.exp: New file.
643 * gdb.base/attach-wait-input.c: New file.
644
9a9a7608
AB
6452014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
646
647 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
648 setting up test structures.
649 (main): Call new test function.
650 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
651 test function, continue into test function and walk test
652 structures.
653
161ac41e
YQ
6542014-07-02 Yao Qi <yao@codesourcery.com>
655
656 * gdb.trace/entry-values.c: Define labels 'foo_start' and
657 'bar_start' at the beginning of functions 'foo' and 'bar'
658 respectively.
659 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
660 instead of 'foo' and 'bar'.
661
1f267ae3
MM
6622014-07-08 Markus Metzger <markus.t.metzger@intel.com>
663
664 * gdb.btrace/segv.exp: New.
665 * gdb.btrace/segv.c: New.
666
2b239efb
LM
6672014-07-02 Luis Machado <lgustavo@codesourcery.com>
668
669 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
670 instruction.
671
cf363f18
MW
6722014-06-30 Mark Wielaard <mjw@redhat.com>
673
674 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
675 vulture, vilify, villar): New volatile array constants.
676 (vindictive, vegetation): New const volatile array constants.
677 * gdb.base/volatile.exp: Test volatile and const volatile array
678 types.
679
aebf9d24
AA
6802014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
681
682 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
683 target lacks support for awatch, rwatch, or hbreak.
684
b67a2c6f
YQ
6852014-06-27 Yao Qi <yao@codesourcery.com>
686
687 * gdb.multi/dummy-frame-restore.exp: New.
688 * gdb.multi/dummy-frame-restore.c: New.
689
aef92902
MM
6902014-06-25 Markus Metzger <markus.t.metzger@intel.com>
691
692 * gdb.btrace/gcore.exp: New.
693
8e9db26e
PA
6942014-06-23 Pedro Alves <palves@redhat.com>
695
696 * gdb.base/watchpoint-reuse-slot.c: New file.
697 * gdb.base/watchpoint-reuse-slot.exp: New file.
698
70afc5b7
SC
6992014-06-23 Siva Chandra Reddy <sivachandra@google.com>
700
701 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
702 progspace's filename in 'info', 'enable' and 'disable' command
703 tests.
704
b972bd9c
JK
7052014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
706
707 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
708 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
709 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
710
125f8a3d
GB
7112014-06-20 Gary Benson <gbenson@redhat.com>
712
713 * gdb.arch/i386-avx.exp: Fix include file location.
714 * gdb.arch/i386-sse.exp: Likewise.
715
3ed9baed
IB
7162014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
717
718 * gdb.dlang/expression.exp: New file.
719
034f788c
PA
7202014-06-19 Pedro Alves <palves@redhat.com>
721
722 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
723 out from ...
724 (top level): ... here. Iterate running tests under different
725 scheduler-locking settings.
726
45371d0c
LM
7272014-06-18 Luis Machado <lgustavo@codesourcery.com>
728
729 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
730 to DW_FORM_addr and use non-zero addresses.
731
5d376983
SC
7322014-06-18 Siva Chandra Reddy <sivachandra@google.com>
733
734 PR gdb/17017
735 * gdb.python/py-xmethods.cc: Add global function call counters and
736 increment them in their respective functions. Remove "cout"
737 statements.
738 * gdb.python/py-xmethods.exp: Make tests check the global function
739 call counters instead of depending on inferior IO.
740
a1aa2221
LM
7412014-06-18 Don Breazeal <donb@codesourcery.com>
742
743 * gdb.base/foll-fork.exp (default_fork_parent_follow):
744 Deleted procedure.
745 (explicit_fork_parent_follow): Deleted procedure.
746 (explicit_fork_child_follow): Deleted procedure.
747 (test_follow_fork): New procedure.
748 (do_fork_tests): Replace calls to deleted procedures with
749 calls to test_follow_fork and reset GDB for subsequent
750 procedure calls.
751
0fc05997
YQ
7522014-06-17 Yao Qi <yao@codesourcery.com>
753
754 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
755 CP1252.
756
70795c52
LM
7572014-06-17 Luis Machado <lgustavo@codesourcery.com>
758
759 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
760 Initialize ptr and S explicitly.
761 (skip_type_update_when_not_use_rtti_test): Likewise.
762
6be47f0c
KS
7632014-06-16 Keith Seitz <keiths@redhat.com>
764
765 PR mi/15863
766 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
767 the inferior is started.
768
d03de421
PA
7692014-06-16 Pedro Alves <palves@redhat.com>
770
771 * gdb.base/break-main-file-remove-fail.c: New file.
772 * gdb.base/break-main-file-remove-fail.exp: New file.
773 * gdb.base/break-unload-file.exp: Use build_executable instead of
774 prepare_for_testing.
775 (test_break): New parameter "initial_load". Handle it.
776 (top level): Add initial_load cmdline/file axis.
777
f9579b99
TT
7782014-06-12 Tom Tromey <tromey@redhat.com>
779
780 * gdb.base/completion.exp: Don't use directory name in test.
781
3657956b
GB
7822014-06-09 Gary Benson <gbenson@redhat.com>
783
784 * gdb.base/sigall.c [Functions to send signals]: Reorder to
785 separate the always-available ANSI-standard signals from the
786 signals that require checking.
787 (main): Likewise.
788 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
789 Likewise.
790 (main): Likewise.
791
4186eb54
KS
7922014-06-07 Keith Seitz <keiths@redhat.com>
793
794 Revert:
795 PR c++/16253
796 * gdb.cp/var-tag.cc: New file.
797 * gdb.cp/var-tag.exp: New file.
798 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
799 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
800 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
801 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
802
25326a28 8032014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
804
805 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
806
829155c9
PA
8072014-06-06 Pedro Alves <palves@redhat.com>
808
809 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
810 in target debug output instead of looking at RSP packets,
811 disabling the test on any target that uses hardware stepping.
812 Update comments.
813
61c8d22e
PA
8142014-06-06 Pedro Alves <palves@redhat.com>
815
816 * gdb.base/break-unload-file.exp: Fix typo.
817
d9a47287
YQ
8182014-06-06 Yao Qi <yao@codesourcery.com>
819
820 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
821 from "jit_function" to "^jit_function".
822
e5e01dbf
YQ
8232014-06-06 Yao Qi <yao@codesourcery.com>
824
825 * gdb.base/async.c (foo): Add one statement.
826 * gdb.base/async.exp: Get the next instruction address and
827 match the output of "nexti" by instruction address. Match
828 the hex address in the output of "finish".
829
73ba372c
GB
8302014-06-06 Gary Benson <gbenson@redhat.com>
831
832 * gdb.base/call-signals.c: Remove preprocessor conditionals
833 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
834 SIGSEGV and SIGTERM.
835 * gdb.base/sigall.c: Likewise.
836 * gdb.base/unwindonsignal.c: Likewise.
837 * gdb.reverse/sigall-reverse.c: Likewise.
838
831517df
YQ
8392014-06-06 Yao Qi <yao@codesourcery.com>
840
841 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
842 readable, skip the test.
843
b8b91e98
YQ
8442014-06-06 Yao Qi <yao@codesourcery.com>
845
846 * gdb.threads/staticthreads.c (thread_function): Move the line
847 setting breakpoint on forward.
848 * gdb.threads/staticthreads.exp: Update comments.
849
fb934770
LC
8502014-06-05 Ludovic Courtès <ludo@gnu.org>
851
852 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
853 "history-append! type error".
854
6ef284bd
SM
8552014-06-05 Simon Marchi <simon.marchi@ericsson.com>
856
857 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
858 erroneous dprintf expected input.
859
a872e241
DE
8602014-06-04 Doug Evans <xdje42@gmail.com>
861
862 * gdb.guile/scm-generics.exp: Delete.
863
16f691fb
DE
8642014-06-04 Doug Evans <xdje42@gmail.com>
865
866 * gdb.guile/scm-breakpoint.exp: Update.
867 Add tests for breakpoint registration.
868
012370f6
TT
8692014-06-04 Tom Tromey <tromey@redhat.com>
870
871 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
872 VLA-in-union.
873 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
874 inner_vla_struct, vla_union types. Initialize objects of those
875 types and compute their sizes.
876
9f5a4cef
HZ
8772014-06-04 Nathan Sidwell <nathan@codesourcery.com>
878 Hui Zhu <hui@codesourcery.com>
879
880 * gdb.base/fileio.exp: Add test for shell not available as well as
881 available.
882 * gdb.base/fileio.c (test_system): Check for shell twice.
883
90a45c4d
YQ
8842014-06-04 Yao Qi <yao@codesourcery.com>
885
886 * gdb.base/auto-connect-native-target.exp: Remove redundant
887 space from the regexp pattern.
888
70017e41
YQ
8892014-06-04 Yao Qi <yao@codesourcery.com>
890
891 * gdb.base/default.exp: Replace "child" with "native" in
892 regexp pattern.
893
883964a7
SC
8942014-06-03 Siva Chandra Reddy <sivachandra@google.com>
895
896 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
897 * gdb.python/py-xmethods.exp: New tests to test xmethods.
898 * gdb.python/py-xmethods.py: Python script supporting the
899 new testcase and tests.
900
ef370185
JB
9012014-06-03 Joel Brobecker <brobecker@adacore.com>
902 Pedro Alves <palves@redhat.com>
903
904 PR breakpoints/17000
905 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
906 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
907
1e2ccb61
BM
9082014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
909
910 * gdb.base/subst.exp: Add tests to verify partial path matching
911 output.
912
c6ec5ab2
PA
9132014-06-03 Pedro Alves <palves@redhat.com>
914
915 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
916 target that doesn't use software single-stepping.
917
835c559f
PA
9182014-06-03 Pedro Alves <palves@redhat.com>
919
920 PR breakpoints/17000
921 * gdb.base/sss-bp-on-user-bp-2.c: New file.
922 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
923
06eb1586
DE
9242014-06-02 Doug Evans <xdje42@gmail.com>
925
926 * gdb.guile/scm-parameter.exp: New file.
927
e698b8c4
DE
9282014-06-02 Doug Evans <xdje42@gmail.com>
929
930 * gdb.guile/scm-cmd.c: New file.
931 * gdb.guile/scm-cmd.exp: New file.
932
ded03782
DE
9332014-06-02 Doug Evans <xdje42@gmail.com>
934
935 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
936 pretty-printer lookup.
937 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
938 (make-pp_s-printer): Call it.
939 (make-pretty-printer-from-dict): New function.
940 (lookup-pretty-printer-maker-from-dict): New function.
941 (*pretty-printer*): Simplify.
942 (make-objfile-pp_s-printer): New function.
943 (install-objfile-pretty-printers!): New function.
944 (make-progspace-pp_s-printer): New function.
945 (install-progspace-pretty-printers!): New function.
946 * gdb.guile/scm-progspace.c: New file.
947 * gdb.guile/scm-progspace.exp: New file.
948
41fac0cf
PA
9492014-06-02 Pedro Alves <palves@redhat.com>
950
951 * gdb.base/dprintf-bp-same-addr.c: New file.
952 * gdb.base/dprintf-bp-same-addr.exp: New file.
953
96ae5695
EBM
9542014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
955
956 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
957 * gdb.arch/powerpc-power.s: Likewise.
958
da02b3a8
JB
9592014-06-02 Joel Brobecker <brobecker@adacore.com>
960
961 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
962
c72b2e7b
YQ
9632014-06-01 Yao Qi <yao@codesourcery.com>
964
965 * gdb.base/watchpoint.exp (test_watch_location): Check null
966 pointer can be dereferenced. If not, do the test, otherwise
967 skip it.
968
53e8a631
AB
9692014-05-30 Andrew Burgess <aburgess@broadcom.com>
970
971 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
972 results.
973 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
974
938f0e2f
AB
9752014-05-30 Andrew Burgess <aburgess@broadcom.com>
976
977 * gdb.arch/amd64-invalid-stack-middle.S: New file.
978 * gdb.arch/amd64-invalid-stack-middle.c: New file.
979 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
980 * gdb.arch/amd64-invalid-stack-top.c: New file.
981 * gdb.arch/amd64-invalid-stack-top.exp: New file.
982
9ba6657a
PA
9832014-05-30 Pedro Alves <palves@redhat.com>
984
985 PR breakpoints/17000
986 * gdb.base/sss-bp-on-user-bp.c: New file.
987 * gdb.base/sss-bp-on-user-bp.exp: New file.
988
522c09bf
DB
9892014-05-30 David Blaikie <dblaikie@gmail.com>
990
991 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
992 gnu_inline semantics via attribute.
993 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
994 source explicitly specifies the required semantics.
995
bf4ef81e
MR
9962014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
997
998 * gdb.reverse/sigall-reverse.exp: Fix a typo.
999
329ea579
PA
10002014-05-29 Pedro Alves <palves@redhat.com>
1001 Tom Tromey <tromey@redhat.com>
1002
1003 * gdb.base/async-shell.exp: Don't enable target-async.
1004 * gdb.base/async.exp
1005 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1006 parameter. Adjust.
1007 (top level): Don't test with "target-async".
1008 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1009 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1010 * gdb.base/inferior-died.exp: Don't enable target-async.
1011 * gdb.base/interrupt-noterm.exp: Likewise.
1012 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1013 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1014 * gdb.mi/mi-nonstop.exp: Likewise.
1015 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1016 * gdb.mi/mi-nsintrall.exp: Likewise.
1017 * gdb.mi/mi-nsmoribund.exp: Likewise.
1018 * gdb.mi/mi-nsthrexec.exp: Likewise.
1019 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1020 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1021 * gdb.python/py-evsignal.exp: Don't enable target-async.
1022 * gdb.python/py-evthreads.exp: Likewise.
1023 * gdb.python/py-prompt.exp: Likewise.
1024 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1025 * gdb.server/solib-list.exp: Don't enable target-async.
1026 * gdb.threads/thread-specific-bp.exp: Likewise.
1027 * lib/mi-support.exp: Adjust to use mi-async.
1028
fd664c91
PA
10292014-05-29 Pedro Alves <palves@redhat.com>
1030
1031 PR gdb/13860
1032 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1033 reason, even in sync mode.
1034
251bde03
PA
10352014-05-29 Pedro Alves <palves@redhat.com>
1036 Hui Zhu <hui@codesourcery.com>
1037
1038 PR PR15693
1039 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1040 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1041 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1042 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1043
7f3c0343
JB
10442014-05-28 Joel Brobecker <brobecker@adacore.com>
1045
1046 * config/monitor.exp (gdb_target_monitor): Replace use of
1047 "set remotebaud" by "set serial baud".
1048
b2715b27
AW
10492014-05-26 Andy Wingo <wingo@igalia.com>
1050
1051 * gdb.guile/scm-breakpoint.exp:
1052 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1053 properties instead of gdb-object-properties.
1054
498a4489
YQ
10552014-05-26 Yao Qi <yao@codesourcery.com>
1056
1057 * gdb.server/no-thread-db.exp: Specify source file name
1058 explicitly when setting a breakpoint.
1059
589fdceb
MM
10602014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1061
1062 * gdb.btrace/vdso.c: New.
1063 * gdb.btrace/vdso.exp: New.
1064
e9089e05
MM
10652014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1066
1067 * gdb.base/gcore.exp (capture_command_output): Move ...
1068 * lib/gdb.exp (capture_command_output): ... here.
1069
67b5c0c1
MM
10702014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1071
1072 * gdb.btrace/data.exp: Test memory access during btrace replay.
1073
a2199296
SM
10742014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1075
1076 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1077
17b2616c
PA
10782014-05-21 Pedro Alves <palves@redhat.com>
1079
1080 PR gdb/13860
1081 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1082 (top level): Test that output related to execution commands is
1083 sent to the console with CLI commands, but not with MI commands.
1084 Test that breakpoint events are always mirrored to the console.
1085 Also expect the new source line to be output after a "next" in
1086 async mode too. Make it a pass/fail test.
1087 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1088 output.
1089 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1090
5166082f
PA
10912014-05-21 Pedro Alves <palves@redhat.com>
1092
1093 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1094 Use them to test variations of "list" after reaching a breakpoint.
1095 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1096 Test "list" with listsize 10 after reaching a breakpoint.
1097 * gdb.python/python.exp (decode_line current location line
1098 number): Adjust expected line number.
1099
2f25d70f
SM
11002014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1101
1102 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1103 behavior for $args, pass it directly to "run".
1104
ff604a67
MR
11052014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1106
1107 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1108 30000 to 65536.
1109
6a3cb8e8
PA
11102014-05-21 Pedro Alves <palves@redhat.com>
1111
1112 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1113 auto-connect-native-target off".
1114 * gdb.base/auto-connect-native-target.c: New file.
1115 * gdb.base/auto-connect-native-target.exp: New file.
1116
4ebfc96e
PA
11172014-05-21 Pedro Alves <palves@redhat.com>
1118
1119 * gdb.base/default.exp: Test "target native" instead of "target
1120 child".
1121
36d46afb
MW
11222014-05-21 Mark Wielaard <mjw@redhat.com>
1123
1124 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1125
5876f503
JK
11262014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1127
1128 Fix TLS access for -static -pthread.
1129 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1130 <HAVE_TLS> (thread_function, main): Initialize it.
1131 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1132 Add clean_restart.
1133 <$have_tls != "">: Check TLSVAR.
1134
0256a6ac
PA
11352014-05-21 Pedro Alves <palves@redhat.com>
1136
1137 * gdb.base/dcache-line-read-error.c: New.
1138 * gdb.base/dcache-line-read-error.exp: New.
1139
936d2992
PA
11402014-05-20 Pedro Alves <palves@redhat.com>
1141
1142 * gdb.base/compare-sections.c: New file.
1143 * gdb.base/compare-sections.exp: New file.
1144
802e8e6d
PA
11452014-05-20 Pedro Alves <palves@redhat.com>
1146
1147 * gdb.base/break-idempotent.c: New file.
1148 * gdb.base/break-idempotent.exp: New file.
1149
e59fa00f
MM
11502014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1151
1152 * gdb.btrace/nohist.exp: New.
1153
8b696e31
YQ
11542014-05-20 Yao Qi <yao@codesourcery.com>
1155
1156 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1157 gdb.reverse directory and gdb_reverse_timeout exists in board
1158 setting.
1159 * README: Document gdb_reverse_timeout.
1160
73c9764f
YQ
11612014-05-20 Yao Qi <yao@codesourcery.com>
1162
1163 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1164 'test_file_name'. Treat args as a string instead of a list.
1165 (gdb_init): Rename argument 'args' by 'test_file_name'.
1166
f1f4348a
JK
11672014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1168
1169 * gdb.arch/powerpc-power.exp: New file.
1170 * gdb.arch/powerpc-power.s: New file.
1171
0dbe70ce
DE
11722014-05-16 Doug Evans <dje@google.com>
1173
1174 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1175 * gdb.base/completion.exp: Check that all expected files exist
1176 before doing file completion.
0dbe70ce 1177
8d551b02
DE
11782014-05-16 Doug Evans <dje@google.com>
1179
1180 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1181 Update.
1182 (do_syscall_tests_without_xml): Update.
1183
73eb7709
PA
11842014-05-16 Pedro Alves <palves@redhat.com>
1185
1186 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1187 instead of "unknown output after running".
1188
3fae92fc
YQ
11892014-05-16 Yao Qi <yao@codesourcery.com>
1190
1191 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1192 file1.txt from host at the end.
1193 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1194
c2b2ccc5
DE
11952014-05-15 Doug Evans <dje@google.com>
1196
1197 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1198 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1199 loading file. Add test for TU lookup.
1200
8c217a4b
SM
12012014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1202
1203 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1204 calling "-exec-arguments" or "set args" before running the
1205 inferior.
1206
3deb39c6
SM
12072014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1208
1209 * lib/mi-support.exp (mi_expect_stop): Expect message for
1210 inferiors that exit with non-zero exit code.
1211
71a79f8c
YQ
12122014-05-14 Yao Qi <yao@codesourcery.com>
1213
1214 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1215 match absolute path on remote host.
1216 (test_file_list_exec_source_files): Remove "/" from the
1217 pattern.
1218
f23fcd46
YQ
12192014-05-14 Yao Qi <yao@codesourcery.com>
1220
1221 * boards/local-remote-host-notty.exp (${board}_file): New
1222 proc.
1223
9404b58f
KM
12242014-05-07 Kyle McMartin <kyle@redhat.com>
1225
1226 Pushed by Joel Brobecker <brobecker@adacore.com>.
1227 * gdb.arch/aarch64-atomic-inst.c: New file.
1228 * gdb.arch/aarch64-atomic-inst.exp: New file.
1229
5e45f04c
YQ
12302014-05-07 Yao Qi <yao@codesourcery.com>
1231
1232 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1233 in current context" too.
1234
c888a17d
KS
12352014-05-05 Keith Seitz <keiths@redhat.com>
1236
1237 * gdb.linespec/ls-dollar.exp: Add test for linespec
1238 file:convenience_variable.
1239
290a839c
YQ
12402014-05-05 Yao Qi <yao@codesourcery.com>
1241
1242 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1243 traceframes into tfile and ctf trace files. Read data from
1244 trace file and test collected data.
1245 (gdb_collect_locals_test): Likewise.
1246 (gdb_unavailable_registers_test): Likewise.
1247 (gdb_unavailable_floats): Likewise.
1248 (gdb_collect_globals_test): Likewise.
1249 (top-level): Append "ctf" to trace_file_targets if GDB
1250 supports.
1251
b5262cd0
YQ
12522014-05-05 Yao Qi <yao@codesourcery.com>
1253
1254 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1255 code to ...
1256 (gdb_collect_args_test_1): ... it. New proc.
1257 (gdb_collect_locals_test): Move some code to ...
1258 (gdb_collect_locals_test_1): ... it. New proc.
1259 (gdb_unavailable_registers_test): Move some code to ...
1260 (gdb_unavailable_registers_test_1): ... it. New proc.
1261 (gdb_unavailable_floats): Move some code to ...
1262 (gdb_unavailable_floats_1): ... it. New proc.
1263
30a1e6cc
SDJ
12642014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1265
1266 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1267 probes to test for bitness recognition.
1268 * gdb.arch/amd64-stap-optional-prefix.exp
1269 (test_probe_value_without_reg): New procedure.
1270 Add code to test for different kinds of bitness.
1271
f33da99a
SDJ
12722014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1273
1274 PR breakpoints/16889
1275 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1276 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1277
5b80f00d
PA
12782014-05-01 Pedro Alves <palves@redhat.com>
1279
1280 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1281 gdb_file_cmd if no file is specified.
1282 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1283 last_loaded_file to set the remote exec-file.
1284
f8c2a73c
PA
12852014-05-01 Pedro Alves <palves@redhat.com>
1286
1287 * boards/local-remote-host.exp: New file.
1288
be6e8ac7
PA
12892014-05-01 Pedro Alves <palves@redhat.com>
1290
1291 * boards/local-remote-host.exp: Rename to ...
1292 * boards/local-remote-host-notty.exp: ... this.
1293
cac0dc8f
JB
12942014-04-28 Joel Brobecker <brobecker@adacore.com>
1295
1296 * gdb.ada/dyn_arrayidx: New testcase.
1297
9730e6cc
YQ
12982014-04-26 Yao Qi <yao@codesourcery.com>
1299
1300 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1301 and compute the length of function main. Save it in
1302 $main_length.
1303 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1304 (top-level): Use gdb_compile to compile objects into
1305 executable and restart GDB. Remove invocation to
1306 prepare_for_testing.
1307
7ae1a6a6
PA
13082014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1309 Pedro Alves <palves@redhat.com>
1310
1311 PR server/16255
1312 * gdb.multi/multi-attach.c: New file.
1313 * gdb.multi/multi-attach.exp: New file.
1314
4082afcc
PA
13152014-04-25 Pedro Alves <palves@redhat.com>
1316
1317 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1318 user.
1319 (top level): Test that "set remote conditional-breakpoints-packet
1320 off" works as intended.
1321 * gdb.base/dprintf.exp: Test that "set remote
1322 breakpoint-commands-packet off" works as intended.
1323 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1324 New function.
1325 (top level): Call it.
1326 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1327 remote fast-tracepoints-packet off" works as intended.
1328 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1329 * lib/gdb.exp (gdb_is_target_remote): ... here.
1330
2abc3f8d
DB
13312014-04-24 David Blaikie <dblaikie@gmail.com>
1332
1333 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1334 ensure clang would not discard them.
1335 * gdb.base/gdbvars.c: Ditto.
1336 * gdb.base/memattr.c: Ditto.
1337 * gdb.base/whatis.c: Ditto.
1338 * gdb.python/py-prettyprint.c: Ditto.
1339 * gdb.trace/actions.c: Ditto.
1340 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1341 ensure clang would not discard it.
1342
bfd39632
DB
13432014-04-24 David Blaikie <dblaikie@gmail.com>
1344
1345 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1346 clang to emit the full definition of type required by the test
1347 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1348
22842ff6
DB
13492014-04-24 David Blaikie <dblaikie@gmail.com>
1350
1351 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1352 coax Clang into emitting the definition of the type.
1353 * gdb.cp/pr10728-x.h (y): Ditto.
1354 * gdb.cp/pr10728-y.cc (y): Ditto.
1355
c2e827ad
DB
13562014-04-24 David Blaikie <dblaikie@gmail.com>
1357
1358 * gdb.base/label.exp: XFAIL label related tests under Clang.
1359 * gdb.cp/cplabel.exp: Ditto.
1360 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1361 under Clang those using labels.
1362
4c2d33e7
YQ
13632014-04-25 Yao Qi <yao@codesourcery.com>
1364
1365 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1366 double_label.
1367 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1368 partial_label and double_label.
1369
56083b99
DB
13702014-04-24 David Blaikie <dblaikie@gmail.com>
1371
1372 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1373
25d4e99d
DB
13742014-04-24 David Blaikie <dblaikie@gmail.com>
1375
1376 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1377 of the function to work across GCC and Clang.
1378 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1379 pointer types (const void ** const V void **).
1380
01f9f808
MS
13812014-04-24 Michael Sturm <michael.sturm@mintel.com>
1382 Walfred Tedeschi <walfred.tedeschi@intel.com>
1383
1384 * Makefile.in (EXECUTABLES): Added i386-avx512.
1385 * gdb.arch/i386-avx512.c: New file.
1386 * gdb.arch/i386-avx512.exp: Likewise.
1387
4b48d439
KS
13882014-04-23 Keith Seitz <keiths@redhat.com>
1389
1390 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1391 (mi_make_breakpoint_table): New procedure.
1392 (mi_create_breakpoint): Use mi_make_breakpoint
1393 and return the result.
1394 (mi_make_breakpoint): New procedure.
1395 (mi_build_kv_pairs): New procedure.
1396
1397 * gdb.mi/mi-break.exp: Remove unused globals,
1398 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1399 All callers updated.
1400 * gdb.mi/mi-dprintf.exp: Use variable to track command
1401 number.
1402 Update all callers of mi_create_breakpoint and use
1403 mi_make_breakpoint_table.
1404 Remove any unused global variables.
1405 * gdb.mi/mi-nonstop.exp: Likewise.
1406 * gdb.mi/mi-nsintrall.exp: Likewise.
1407 * gdb.mi/mi-nsmoribund.exp: Likewise.
1408 * gdb.mi/mi-nsthrexec.exp: Likewise.
1409 * gdb.mi/mi-reverse.exp: Likewise.
1410 * gdb.mi/mi-simplerun.exp: Likewise.
1411 * gdb.mi/mi-stepn.exp: Likewise.
1412 * gdb.mi/mi-syn-frame.exp: Likewise.
1413 * gdb.mi/mi-until.exp: Likewise.
1414 * gdb.mi/mi-var-cp.exp: Likewise.
1415 * gdb.mi/mi-var-display.exp: Likewise.
1416 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1417 * gdb.mi/mi2-var-child.exp: Likewise.
1418 * gdb.mi/mi-vla-c99.exp: Likewise.
1419 * lib/mi-support.exp: Likewise.
1420
1421 From Ian Lance Taylor <iant@cygnus.com>:
1422 * lib/gdb.exp (parse_args): New procedure.
1423
08351840
PA
14242014-04-23 Pedro Alves <palves@redhat.com>
1425
1426 * gdb.base/break-unload-file.c: New file.
1427 * gdb.base/break-unload-file.exp: New file.
1428 * gdb.base/sym-file-lib.c (baz): New function.
1429 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1430 field.
1431 (load): Store the segment's mapped size.
1432 (unload): New function.
1433 (unload_shlib): New function.
1434 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1435 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1436 set a breakpoint at baz, and call it.
1437 * gdb.base/sym-file.exp: New tests for stale breakpoint
1438 instructions.
1439
076855f9
PA
14402014-04-23 Pedro Alves <palves@redhat.com>
1441
1442 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1443 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1444 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1445 * gdb.base/hbreak-unmapped.c: New file.
1446 * gdb.base/hbreak-unmapped.exp: New file.
1447 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1448 * lib/gdb.exp (gdb_is_target_remote): ... here.
1449
483805cf
PA
14502014-04-22 Pedro Alves <palves@redhat.com>
1451
1452 * gdb.base/consecutive-step-over.c: New file.
1453 * gdb.base/consecutive-step-over.exp: New file.
1454
06d97543
PA
14552014-04-22 Pedro Alves <palves@redhat.com>
1456
1457 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1458 instead of send_gdb/gdb_expect.
1459
b4429ea2
YQ
14602014-04-22 Yao Qi <yao@codesourcery.com>
1461
1462 * lib/trace-support.exp (generate_tracefile): New procedure.
1463 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1464 return 0.
1465 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1466 if generate_tracefile returns 1.
1467
51d48146
PA
14682014-04-18 Tom Tromey <palves@redhat.com>
1469 Pedro alves <tromey@redhat.com>
1470
1471 PR backtrace/15558
1472 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1473 with a backtrace limit.
1474 * gdb.python/py-frame-inline.exp: Test running to an inline
1475 function with a backtrace limit, and printing the newest frame.
1476 * gdb.python/py-frame-inline.c (main): Call f.
1477
bd1dce5f
MS
14782014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1479
1480 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1481
40d1a503
MS
14822014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1483
1484 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1485 Drop prefix from unsupported source file path.
1486
389b98f7
YQ
14872014-04-17 Yao Qi <yao@codesourcery.com>
1488
1489 * lib/gdb.exp (with_target_charset): New proc.
1490 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1491 with_target_charset.
1492 (test_print_strings): Likewise.
1493 (test_repeat_bytes): Likewise.
1494 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1495 for some tests.
1496
22869d73
KS
14972014-04-16 Keith Seitz <keiths@redhat.com>
1498
1499 PR gdb/15827
1500 * gdb.dwarf2/corrupt.c: New file.
1501 * gdb.dwarf2/corrupt.exp: New file.
1502
c4f87ca6
KS
15032014-04-16 Keith Seitz <keiths@redhat.com>
1504
1505 PR c++/16597
1506 * gdb.cp/namelessclass.cc: New file.
1507 * gdb.cp/namelessclass.exp: New file.
1508 * gdb.cp/namelessclass.S: New file.
1509
ab19de87
DE
15102014-04-16 Doug Evans <dje@google.com>
1511
1512 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1513 Add comment.
1514 (gdbserver_default_get_comm_port): New function.
1515 (gdbserver_start): Check if board file provided
1516 "gdbserver,get_comm_port" and use it if so.
1517 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1518 (gdb,socketport): Set to "stdio".
1519 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1520 (stdio_gdbserver_template): Delete.
1521 (${board}_get_remote_address): Update.
1522 (${board}_build_remote_cmd): Delete.
1523 (${board}_get_comm_port): New function.
1524 (${board}_spawn): Update.
1525 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1526 Delete.
1527 (${board}_get_remote_address): Update.
1528 (${board}_get_comm_port): New function.
1529
fc98a809
AB
15302014-04-16 Andrew Burgess <aburgess@broadcom.com>
1531
1532 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1533 appearing in any order.
1534
87fd9e6e
DE
15352014-04-15 Doug Evans <dje@google.com>
1536
1537 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1538 uninitialized value of "description".
1539
099fc3ea
KS
15402014-04-15 Keith Seitz <keiths@redhat.com>
1541
1542 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1543 Remove unused globals.
1544 (test_running_the_program): Likewise.
1545 (test_controlled_execution): Likewise.
1546 (test_controlling_breakpoints): Likewise.
1547 (test_program_termination): Likewise.
1548
5da151d4
KS
15492014-04-15 Keith Seitz <keiths@redhat.com>
1550
1551 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1552 unused globals.
1553 (test_rbreak_creation_and_listing): Likewise.
1554 (test_ignore_count): Likewise.
1555 (test_error): Likewise.
1556
35e5d2f0
PA
15572014-04-15 Pedro Alves <palves@redhat.com>
1558
1559 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1560 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1561 sym-file-loader.c.
1562 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1563 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1564 to sym-file-loader.c.
1565 (struct library): Forward declare.
1566 (load_shlib, lookup_function): Change prototypes.
1567 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1568 (translate_offset): Remove declarations.
1569 (get_text_addr): New declaration.
1570 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1571 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1572 sym-file-loader.h.
1573 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1574 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1575 here from sym-file-loader.h.
1576 (struct library): New structure.
1577 (load_shlib, lookup_function): Change prototypes and adjust to
1578 work with a struct library.
1579 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1580 (translate_offset): Make static.
1581 (get_text_addr): New function.
1582 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1583
eb4c1710
PA
15842014-04-15 Pedro Alves <palves@redhat.com>
1585
1586 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1587
2d1baf52
PA
15882014-04-15 Pedro Alves <palves@redhat.com>
1589
1590 * gdb.base/sym-file-loader.c: Include <limits.h>.
1591 (SELF_LINK): New define.
1592 (get_origin): New function.
1593 (load_shlib): Use it.
1594 * gdb.base/sym-file.exp: Don't early return if the target is
1595 remote. Use runto_main, and issue fail is that fails. Use
1596 gdb_load_shlibs.
1597 (shlib_name): Delete.
1598 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1599
7dd6df01
PA
16002014-04-15 Pedro Alves <palves@redhat.com>
1601
1602 * gdb.base/sym-file.exp: Remove regex characters from test
1603 message. Don't refer to breakpoint numbers in test messages.
1604
b50c8614
KS
16052014-04-14 Keith Seitz <keiths@redhat.com>
1606
1607 PR c++/16253
1608 * gdb.cp/var-tag.cc: New file.
1609 * gdb.cp/var-tag.exp: New file.
1610 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1611 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1612 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1613 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1614
3d567982
TT
16152014-04-14 Tom Tromey <tromey@redhat.com>
1616
1617 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1618 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1619 type.
1620 * gdb.cp/enum-class.exp: New file.
1621 * gdb.cp/enum-class.cc: New file.
1622
0626fc76
TT
16232014-04-14 Tom Tromey <tromey@redhat.com>
1624
1625 * gdb.dwarf2/enum-type.exp: New file.
1626
dca325b3
SA
16272014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1628
1629 * gdb.mi/mi-vla-c99.exp: New file.
1630 * gdb.mi/vla.c: New file.
1631
5854b38a
SA
16322014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1633
1634 * gdb.base/vla-datatypes.c: New file.
1635 * gdb.base/vla-datatypes.exp: New file.
1636
463bb957
SA
16372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1638
1639 * gdb.base/vla-ptr.c: New file.
1640 * gdb.base/vla-ptr.exp: New file.
1641
3dd170be
SA
16422014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1643
1644 * gdb.dwarf2/count.exp: New file.
1645
5ecaaa66
SA
16462014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1647
1648 * gdb.base/vla-sideeffect.c: New file.
1649 * gdb.base/vla-sideeffect.exp: New file.
1650
41f1ada5
DB
16512014-04-14 David Blaikie <dblaikie@gmail.com>
1652
1653 * gdb.mi/non-stop.c: Add return value for non-void function return
1654 statement.
1655 * gdb.threads/staticthreads.c: Ditto.
1656
0be03e84
DE
16572014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1658 Doug Evans <xdje42@gmail.com>
1659
1660 * gdb.guile/scm-value.c: Improve test case.
1661 * gdb.guile/scm-value.exp: Add new test.
1662
f180a1fb
DB
16632014-04-11 David Blaikie <dblaikie@gmail.com>
1664
1665 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1666 override Clang's default.
1667
6b662e19
JB
16682014-04-11 Joel Brobecker <brobecker@adacore.com>
1669
1670 Revert the following changes (regressions):
1671
1672 * gdb.base/vla-sideeffect.c: New file.
1673 * gdb.base/vla-sideeffect.exp: New file.
1674
1675 * gdb.dwarf2/count.exp: New file.
1676
1677 * gdb.base/vla-multi.c: New file.
1678 * gdb.base/vla-multi.exp: New file.
1679
1680 * gdb.base/vla-ptr.c: New file.
1681 * gdb.base/vla-ptr.exp: New file.
1682
1683 * gdb.base/vla-datatypes.c: New file.
1684 * gdb.base/vla-datatypes.exp: New file.
1685
1686 * gdb.mi/mi-vla-c99.exp: New file.
1687 * gdb.mi/vla.c: New file.
1688
245a5f0b
KS
16892014-04-11 Keith Seitz <keiths@redhat.com>
1690
1691 PR c++/16675
1692 * gdb.cp/cpsizeof.exp: New file.
1693 * gdb.cp/cpsizeof.cc: New file.
1694
58a84dcf
SA
16952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1696
191a8a90
JB
1697 * gdb.mi/mi-vla-c99.exp: New file.
1698 * gdb.mi/vla.c: New file.
58a84dcf 1699
c8655f75
SA
17002014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1701
1702 * gdb.base/vla-datatypes.c: New file.
1703 * gdb.base/vla-datatypes.exp: New file.
1704
024e13b4
SA
17052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1706
1707 * gdb.base/vla-ptr.c: New file.
1708 * gdb.base/vla-ptr.exp: New file.
1709
1a237e0e
SA
17102014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1711
1712 * gdb.base/vla-multi.c: New file.
1713 * gdb.base/vla-multi.exp: New file.
1714
504f3432
SA
17152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1716
1717 * gdb.dwarf2/count.exp: New file.
1718
3bce8237
SA
17192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1720
191a8a90
JB
1721 * gdb.base/vla-sideeffect.c: New file.
1722 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 1723
322f9c21
YQ
17242014-04-11 Yao Qi <yao@codesourcery.com>
1725
1726 * gdb.base/completion.exp: Check file exists before running tests
1727 on file completion.
1728
d708bcd1
PA
17292014-04-10 Pedro Alves <palves@redhat.com>
1730
1731 * gdb.base/cond-eval-mode.c: New file.
1732 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1733 prepare_for_testing to build the new file. Check result of
1734 runto_main.
1735 (test_break, test_watch): New procedures.
1736 (top level): Use them.
1737
ae1d2761
PM
17382014-04-08 Pierre Muller <muller@sourceware.org>
1739
1740 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1741 Ctrl-V use for mingw hosts.
1742
7af389b8
SC
17432014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1744
1745 * gdb.python/py-value.c: Improve test case.
1746 * gdb.python/py-value.exp: Add new test.
1747
5e703181
DE
17482014-04-07 David Blaikie <dblaikie@gmail.com>
1749
1750 * lib/compiler.c: Identify the clang compiler.
1751 * lib/compiler.cc: Ditto.
1752
9810b410
YQ
17532014-04-03 Yao Qi <yao@codesourcery.com>
1754
1755 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1756
98d1b8dc
AB
17572014-04-01 Anton Blanchard <anton@samba.org>
1758
1759 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1760 messages unique.
1761
3114cea1
AB
17622014-04-01 Anton Blanchard <anton@samba.org>
1763
1764 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1765 prepare_for_testing.
1766
62f7182c
AB
17672014-04-01 Anton Blanchard <anton@samba.org>
1768
1769 * gdb.arch/ppc64-atomic-inst.c: Remove.
1770 * gdb.arch/ppc64-atomic-inst.S: New file.
1771 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1772
770e7fc7
DE
17732014-03-31 Doug Evans <dje@google.com>
1774
1775 * gdb.base/print-symbol-loading-lib.c: New file.
1776 * gdb.base/print-symbol-loading-main.c: New file.
1777 * gdb.base/print-symbol-loading.exp: New file.
1778
46e2bafa
YQ
17792014-03-31 Yao Qi <yao@codesourcery.com>
1780
1781 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1782
8776cfe9
JB
17832014-03-28 Joel Brobecker <brobecker@adacore.com>
1784
1785 * gdb.ada/mi_dyn_arr: New testcase.
1786
5d1ef361
DE
17872014-03-27 Doug Evans <dje@google.com>
1788
1789 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1790
b5bee914
YQ
17912014-03-27 Yao Qi <yao@codesourcery.com>
1792
1793 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1794 if target is nios2-*-*.
1795
0d4d0e77
YQ
17962014-03-26 Yao Qi <yao@codesourcery.com>
1797
1798 * lib/gdb.exp (readline_is_used): New proc.
1799 * gdb.base/completion.exp: Move tests on command complete up.
1800 Skip the rest of tests if readline is not used.
1801 * gdb.ada/complete.exp: Skp the test if readline is not
1802 used.
1803 * gdb.base/filesym.exp: Likewise.
1804 * gdb.base/macscp.exp: Likewise.
1805 * gdb.base/readline-ask.exp: Likewise.
1806 * gdb.base/readline.exp: Likewise.
1807 * gdb.python/py-cmd.exp: Likewise.
1808 * gdb.trace/tfile.exp: Likewise.
1809
29361eee
YQ
18102014-03-26 Yao Qi <yao@codesourcery.com>
1811
1812 * gdb.base/macscp.exp: Fix code format issues.
1813
bc9a5525
UW
18142014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1815
1816 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1817 * gdb.asm/powerpc64le.inc: New file.
1818
d3839ede
PA
18192014-03-25 Pedro Alves <palves@redhat.com>
1820 Doug Evans <dje@google.com>
1821
1822 * gdb.base/source-execution.c: New file.
1823 * gdb.base/source-execution.exp: New file.
1824 * gdb.base/source-execution.gdb: New file.
1825
01672a57
DE
18262014-03-24 Doug Evans <dje@google.com>
1827
1828 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1829 using fission.
1830
88bbeca9
HZ
18312014-03-24 Hui Zhu <hui@codesourcery.com>
1832 Pedro Alves <palves@redhat.com>
1833
1834 PR breakpoints/16101
1835 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1836 test pass/fail messages. Detect missing support for dprintf when
1837 breakpoints are actually inserted.
1838 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1839 breakpoints are actually inserted.
1840 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1841 fails.
1842
d2348791
JK
18432014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1844
1845 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1846
feef67ab
DE
18472014-03-22 Doug Evans <xdje42@gmail.com>
1848
1849 * gdb.python/python.exp (python not supported): Verify multi-line
1850 python command issues an error.
25d743f9 1851 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 1852 guile command issues an error.
feef67ab 1853
ecebef6a
MR
18542014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1855
1856 * gdb.threads/thread-specific.exp: Handle the lack of usable
1857 $this_breakpoint and $this_thread.
1858
ccdd1909
HZ
18592014-03-21 Hui Zhu <hui@codesourcery.com>
1860
1861 * gdb.base/attach.exp (do_command_attach_tests): New.
1862
beb460e8
PA
18632014-03-20 Tom Tromey <tromey@redhat.com>
1864 Pedro Alves <palves@redhat.com>
1865
1866 PR cli/15718
1867 * gdb.base/condbreak-call-false.c: New file.
1868 * gdb.base/condbreak-call-false.exp: New file.
1869
40acf43a
PA
18702014-03-20 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1873 Delete.
1874 (block_signals, unblock_signals): Delete.
1875 (child_function_2, main): Remove references to deleted variable
1876 and functions.
1877
9f5e1e02
PA
18782014-03-20 Pedro Alves <palves@redhat.com>
1879
1880 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1881 Use pthread_kill to signal thread 2.
1882 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1883 Adjust to make the test send itself a signal rather than using the
1884 host's "kill" command.
1885
99619bea
PA
18862014-03-20 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.threads/multiple-step-overs.c: New file.
1889 * gdb.threads/multiple-step-overs.exp: New file.
1890 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1891 Adjust expected infrun debug output.
1892
2adfaa28
PA
18932014-03-20 Pedro Alves <palves@redhat.com>
1894
1895 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1896 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1897
31e77af2
PA
18982014-03-20 Pedro Alves <palves@redhat.com>
1899
1900 PR breakpoints/7143
1901 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1902 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1903 of gdb_test_multiple.
1904 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1905 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1906
b9f437de
PA
19072014-03-20 Pedro Alves <palves@redhat.com>
1908
1909 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1910 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1911
05adc73e
PA
19122014-03-19 Pedro Alves <palves@redhat.com>
1913
1914 * gdb.base/async.exp: Remove early return.
1915
6048b950
PA
19162014-03-19 Pedro Alves <palves@redhat.com>
1917
1918 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1919
8bcfb00a
PA
19202014-03-19 Pedro Alves <palves@redhat.com>
1921
1922 * gdb.base/async.exp (test_background): Expect \r\n after
1923 "completed." in the fail pattern.
1924
884e37dc
PA
19252014-03-19 Pedro Alves <palves@redhat.com>
1926
1927 * gdb.base/async.exp (test_background): New procedure.
1928 Use it for all background execution command tests.
1929
148e57e2
PA
19302014-03-19 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.base/async.exp: Use prepare_for_testing.
1933
f48088c7
PA
19342014-03-19 Pedro Alves <palves@redhat.com>
1935
1936 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1937 the same line.
1938
e2f6c966
PA
19392014-03-19 Pedro Alves <palves@redhat.com>
1940
1941 * gdb.base/async.c (main): Add "jump here" and "until here" line
1942 marker comments.
1943 * gdb.base/async.exp (jump_here): New global.
1944 (jump& test): Use it.
1945 (until_here): New global.
1946 (until& test): Use it.
1947
c30568d4
PA
19482014-03-19 Pedro Alves <palves@redhat.com>
1949
1950 * gdb.base/async.exp: Don't frob gdb_protocol.
1951
0172b6a7
DE
19522014-03-18 Doug Evans <xdje42@gmail.com>
1953
1954 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1955 Fix spelling of exec-done-display.
1956
06c868a8
JK
19572014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1958
1959 PR gdb/15358
1960 * gdb.base/gdb-sigterm.c: New file.
1961 * gdb.base/gdb-sigterm.exp: New file.
1962
0c7e1a46
PA
19632014-03-18 Pedro Alves <palves@redhat.com>
1964
1965 PR gdb/13860
1966 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1967 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1968 solib-event.
1969
f7c77d93
JB
19702014-03-17 Joel Brobecker <brobecker@adacore.com>
1971
1972 * gdb.ada/pckd_arr_ren: New testcase.
1973
5a1e8c7a
DE
19742014-03-13 Doug Evans <xdje42@gmail.com>
1975
1976 PR guile/16612
1977 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1978 collect after discarding symbols.
1979
350e1a76
DE
19802014-03-13 Ludovic Courtès <ludo@gnu.org>
1981 Doug Evans <xdje42@gmail.com>
1982
1983 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1984 to history survives a gc.
1985
a69900ae
PA
19862014-03-13 Pedro Alves <palves@redhat.com>
1987
1988 * gdb.base/default.exp: Don't test "target procfs".
1989
5db9f0bd
PA
19902014-03-13 Pedro Alves <palves@redhat.com>
1991
1992 * gdb.base/default.exp: Update "target child" and "target procfs"
1993 tests to not expect "Unix".
1994
b3ccfe11
TT
19952014-03-12 Tom Tromey <tromey@redhat.com>
1996
1997 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1998 New procs. Add target-async tests.
1999 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2000 Add target-async tests.
2001
646f4417
AA
20022014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2003
2004 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2005 'func_start' and 'func_end' for the beginning and end of the
2006 function code, respectively.
2007 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2008 'func_end' instead of 'func' and 'main'.
2009
288c211f
AA
20102014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2011
2012 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2013 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2014 generate the debug info assembler source.
2015
e0c0f156
AA
20162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2017
2018 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2019 * gdb.dwarf2/arr-subrange.exp: Likewise.
2020 * gdb.dwarf2/dwz.exp: Likewise.
2021 * gdb.dwarf2/method-ptr.exp: Likewise.
2022 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2023 * gdb.dwarf2/subrange.exp: Likewise.
2024 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2025 * gdb.dwarf2/implptrpiece.exp: Likewise.
2026 * gdb.dwarf2/nostaticblock.exp: Likewise.
2027
0e5c4555
AA
20282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2029
2030 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2031 directory to absolute path name arguments.
2032
5ec18f2b
JG
20332014-03-10 Joel Brobecker <brobecker@adacore.com>
2034
2035 * gdb.ada/tagged_access: New testcase.
2036
847fc4f2
MM
20372014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2038
2039 * gdb.btrace/data.exp: Update expected output.
2040
cc3da688
YQ
20412014-03-06 Yao Qi <yao@codesourcery.com>
2042
2043 * gdb.trace/pr16508.exp: New file.
2044
0f26cec1
PA
20452014-03-05 Pedro Alves <palves@redhat.com>
2046
2047 PR gdb/16575
2048 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2049 procedure.
2050 (top level): Adjust to use it. Add tests that exercise breakpoint
2051 interaction with the code-cache.
2052
7a5a839f
LC
20532014-02-26 Ludovic Courtès <ludo@gnu.org>
2054
2055 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2056 test for 'history-append!'.
2057
31aa7e4e
JB
20582014-02-26 Joel Brobecker <brobecker@adacore.com>
2059
2060 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2061 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2062 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2063 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2064 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2065 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2066
1b588015
JB
20672014-02-26 Joel Brobecker <brobecker@adacore.com>
2068
2069 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2070 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2071 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2072
55426c9d
JB
20732014-02-26 Joel Brobecker <brobecker@adacore.com>
2074
2075 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2076
dc53a7ad
JB
20772014-02-26 Joel Brobecker <brobecker@adacore.com>
2078
2079 * gdb.dwarf2/arr-stride.c: New file.
2080 * gdb.dwarf2/arr-stride.exp: New file.
2081
12ab52e9
PA
20822014-02-26 Pedro Alves <palves@redhat.com>
2083
2084 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2085 that won't ever trigger. Make sure that GDB reports the correct
2086 breakpoint that caused the stop.
2087
849c862e
JK
20882014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2089
2090 PR gdb/16626
2091 * gdb.base/auto-load-script: New file.
2092 * gdb.base/auto-load.c: New file.
2093 * gdb.base/auto-load.exp: New file.
2094
71b7d793
JK
2095 PR gdb/16626
2096 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2097
e2f0d509
JK
20982014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2099
2100 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2101 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2102
50cc37c8
DE
21032014-02-24 Doug Evans <dje@google.com>
2104
2105 * lib/gdb.exp (run_on_host): Log error output if program fails.
2106
ea4758f2
PA
21072014-02-21 Pedro Alves <palves@redhat.com>
2108
2109 * gdb.threads/step-after-sr-lock.c: Rename to ...
2110 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2111 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2112 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2113 ... this.
2114
d7b30f67
SDJ
21152014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2116
2117 PR tdep/16397
2118 * gdb.arch/amd64-stap-special-operands.exp: New file.
2119 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2120 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2121 * gdb.arch/amd64-stap-triplet.S: Likewise.
2122 * gdb.arch/amd64-stap-triplet.c: Likewise.
2123
83deb43f
JB
21242014-02-20 Joel Brobecker <brobecker@adacore.com>
2125
2126 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2127 in .section pseudo-op.
2128
adde2bff
DE
21292014-02-20 lin zuojian <manjian2006@gmail.com>
2130 Joel Brobecker <brobecker@adacore.com>
2131 Doug Evans <xdje42@gmail.com>
2132
2133 PR symtab/16581
2134 * gdb.dwarf2/dw2-icycle.S: New file.
2135 * gdb.dwarf2/dw2-icycle.c: New file.
2136 * gdb.dwarf2/dw2-icycle.exp: New file.
2137
f7bd0f78
SC
21382014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2139
2140 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2141 operations on gdb.Value objects.
2142 * gdb.python/py-value-cc.exp: Add new test to test operations on
2143 gdb.Value objects.
2144
c17ef0d5
DE
21452014-02-18 Doug Evans <dje@google.com>
2146
2147 * Makefile.in (TESTS): New variable.
2148 (expanded_tests, expanded_tests_or_none): New variables
2149 (check-single): Pass $(expanded_tests_or_none) to runtest.
2150 (check-parallel): Only run tests in $(TESTS) if non-empty.
2151 (check/no-matching-tests-found): New rule.
2152 * README: Document TESTS makefile variable.
2153
5dd3176f
DE
21542014-02-18 Doug Evans <dje@google.com>
2155
2156 * Makefile.in (check-parallel): rm -rf outputs temp.
2157
0b10be4f
JK
21582014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2159
2160 Fix "ERROR: no fileid for" in the testsuite.
2161 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2162
85f224e7
DE
21632014-02-12 Doug Evans <dje@google.com>
2164
2165 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2166 (MISCELLANEOUS): New variable.
2167 (clean): rm -rf $(MISCELLANEOUS).
2168 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2169 dwp live in the same directory as symlinks, with each symlink pointed
2170 to a differently named file in a different directory.
2171
149b30ff
DE
21722014-02-11 Doug Evans <dje@google.com>
2173
2174 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2175 of Tcl file commands.
2176
1dfdac32
MK
21772014-02-10 Mark Kettenis <kettenis@gnu.org>
2178
2179 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2180 "kill -SIGUSR1 -1".
2181
aa4fb036
JB
21822014-02-10 Joel Brobecker <brobecker@adacore.com>
2183
2184 * gdb.ada/tick_length_array_enum_idx: New testcase.
2185
ed3ef339
DE
21862014-02-10 Doug Evans <xdje42@gmail.com>
2187
2188 * configure.ac (AC_OUTPUT): Add gdb.guile.
2189 * configure: Regenerate.
2190 * lib/gdb-guile.exp: New file.
2191 * lib/gdb.exp (get_target_charset): New function.
2192 * gdb.base/help.exp: Update expected output from "apropos apropos".
2193 * gdb.guile/Makefile.in: New file.
2194 * gdb.guile/guile.exp: New file.
2195 * gdb.guile/scm-arch.c: New file.
2196 * gdb.guile/scm-arch.exp: New file.
2197 * gdb.guile/scm-block.c: New file.
2198 * gdb.guile/scm-block.exp: New file.
2199 * gdb.guile/scm-breakpoint.c: New file.
2200 * gdb.guile/scm-breakpoint.exp: New file.
2201 * gdb.guile/scm-disasm.c: New file.
2202 * gdb.guile/scm-disasm.exp: New file.
2203 * gdb.guile/scm-equal.c: New file.
2204 * gdb.guile/scm-equal.exp: New file.
2205 * gdb.guile/scm-error.exp: New file.
2206 * gdb.guile/scm-error.scm: New file.
2207 * gdb.guile/scm-frame-args.c: New file.
2208 * gdb.guile/scm-frame-args.exp: New file.
2209 * gdb.guile/scm-frame-args.scm: New file.
2210 * gdb.guile/scm-frame-inline.c: New file.
2211 * gdb.guile/scm-frame-inline.exp: New file.
2212 * gdb.guile/scm-frame.c: New file.
2213 * gdb.guile/scm-frame.exp: New file.
2214 * gdb.guile/scm-generics.exp: New file.
2215 * gdb.guile/scm-gsmob.exp: New file.
2216 * gdb.guile/scm-iterator.c: New file.
2217 * gdb.guile/scm-iterator.exp: New file.
2218 * gdb.guile/scm-math.c: New file.
2219 * gdb.guile/scm-math.exp: New file.
2220 * gdb.guile/scm-objfile-script-gdb.in: New file.
2221 * gdb.guile/scm-objfile-script.c: New file.
2222 * gdb.guile/scm-objfile-script.exp: New file.
2223 * gdb.guile/scm-objfile.c: New file.
2224 * gdb.guile/scm-objfile.exp: New file.
2225 * gdb.guile/scm-ports.exp: New file.
2226 * gdb.guile/scm-pretty-print.c: New file.
2227 * gdb.guile/scm-pretty-print.exp: New file.
2228 * gdb.guile/scm-pretty-print.scm: New file.
2229 * gdb.guile/scm-section-script.c: New file.
2230 * gdb.guile/scm-section-script.exp: New file.
2231 * gdb.guile/scm-section-script.scm: New file.
2232 * gdb.guile/scm-symbol.c: New file.
2233 * gdb.guile/scm-symbol.exp: New file.
2234 * gdb.guile/scm-symtab-2.c: New file.
2235 * gdb.guile/scm-symtab.c: New file.
2236 * gdb.guile/scm-symtab.exp: New file.
2237 * gdb.guile/scm-type.c: New file.
2238 * gdb.guile/scm-type.exp: New file.
2239 * gdb.guile/scm-value-cc.cc: New file.
2240 * gdb.guile/scm-value-cc.exp: New file.
2241 * gdb.guile/scm-value.c: New file.
2242 * gdb.guile/scm-value.exp: New file.
2243 * gdb.guile/source2.scm: New file.
2244 * gdb.guile/types-module.cc: New file.
2245 * gdb.guile/types-module.exp: New file.
2246
7026a7c1
YQ
22472014-02-10 Yao Qi <yao@codesourcery.com>
2248
2249 PR testsuite/16543
2250 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2251 * configure: Regenerated.
2252 * Makefile.in: New file.
2253
6c466447
AS
22542014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2255
2256 * gdb.python/py-framefilter.exp: Fix typo.
2257
6e854735
YQ
22582014-02-08 Yao Qi <yao@codesourcery.com>
2259
2260 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2261 that no =breakpoint-modified is emitted when breakpoints are
2262 modified through MI commands.
2263
d137e6dc
PA
22642014-02-07 Pedro Alves <pedro@codesourcery.com>
2265 Pedro Alves <palves@redhat.com>
2266
2267 * gdb.threads/step-after-sr-lock.c: New file.
2268 * gdb.threads/step-after-sr-lock.exp: New file.
2269
b5ee5a50
PA
22702014-02-07 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2273
3c77faf3
JK
22742014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2277 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2278
6dddc817
DE
22792014-02-06 Doug Evans <xdje42@gmail.com>
2280
2281 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2282 output.
2283
2284 * gdb.gdb/python-interrupts.exp: New file.
2285
de7b2893
YQ
22862014-02-05 Yao Qi <yao@codesourcery.com>
2287
2288 * gdb.trace/report.exp (use_collected_data): Test the output
2289 of "info threads" and "info inferiors".
2290
66d032ac
YQ
22912014-02-05 Yao Qi <yao@codesourcery.com>
2292
2293 Revert this patch:
2294
2295 2013-05-24 Yao Qi <yao@codesourcery.com>
2296
2297 * gdb.trace/tfile.exp: Test inferior and thread.
2298
591a12a1
UW
22992014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2300
2301 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2302 on a function.
2303 * gdb.base/step-bt.c: Call hello via function pointer to make
2304 sure its first instruction is executed on powerpc64le-linux.
2305
0ff3e01f
UW
23062014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2307
2308 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2309
084ee545
UW
23102014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2311
2312 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2313 of the test patterns for use on little-endian systems.
2314
6ed14ff3
UW
23152014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2316
2317 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2318 (decimal_vector): Fix for little-endian.
2319
401e27fd
JM
23202014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2321
2322 * gdb.arch/sparc-sysstep.exp: New file.
2323 * gdb.arch/sparc-sysstep.c: Likewise.
2324
2325 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2326
8b924729
EBM
23272014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2328
2329 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2330
fb151210
JB
23312014-01-23 Tom Tromey <tromey@redhat.com>
2332
2333 * gdb.ada/array_char_idx: New testcase.
2334
0740f8d8
TT
23352014-01-23 Tom Tromey <tromey@redhat.com>
2336
2337 PR python/16487:
2338 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2339 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2340 classes.
2341
21909fa1
TT
23422014-01-23 Tom Tromey <tromey@redhat.com>
2343
2344 PR python/16491:
2345 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2346 string from an inferior frame.
2347 * gdb.python/py-framefilter-mi.exp: Update.
2348
87ce2a04
DE
23492014-01-22 Doug Evans <dje@google.com>
2350
2351 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2352
237b092b
AA
23532014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2354
2355 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2356
d674a709
AA
23572014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2358
2359 * gdb.trace/entry-values.exp: Remove excess space character from
2360 regex patterns. Handle s390 call instruction.
2361
20fa3390
AA
23622014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2363
2364 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2365 define "*_start" label. Make "name" static.
2366 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2367 ${name} by references to ${name}_start.
2368
78466714
AA
23692014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2370
2371 * gdb.base/info-macros.exp: Remove "debug" from the compile
2372 options.
2373
ec9f644a
IB
23742014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2375
2376 * gdb.dlang/demangle.exp: New file.
2377
94b1b47e
IB
23782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2379
2380 * gdb.dlang/primitive-types.exp: New file.
2381
7f420862
IB
23822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2383
2384 * configure.ac: Create gdb.dlang/Makefile.
2385 * configure: Regenerate.
2386 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2387 * gdb.dlang/Makefile.in: New file.
2388 * lib/d-support.exp: New file.
2389 * lib/gdb.exp (skip_d_tests): New proc.
2390
52834460
MM
23912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2392
2393 * gdb.btrace/delta.exp: Check reverse stepi.
2394 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2395 * gdb.btrace/finish.exp: New.
2396 * gdb.btrace/next.exp: New.
2397 * gdb.btrace/nexti.exp: New.
2398 * gdb.btrace/record_goto.c: Add comments.
2399 * gdb.btrace/step.exp: New.
2400 * gdb.btrace/stepi.exp: New.
2401 * gdb.btrace/multi-thread-step.c: New.
2402 * gdb.btrace/multi-thread-step.exp: New.
2403 * gdb.btrace/rn-dl-bind.c: New.
2404 * gdb.btrace/rn-dl-bind.exp: New.
2405 * gdb.btrace/data.c: New.
2406 * gdb.btrace/data.exp: New.
2407 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2408
6e07b1d2
MM
24092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2410
2411 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2412 * gdb.btrace/exception.exp: Update.
2413 * gdb.btrace/instruction_history.exp: Update.
2414 * gdb.btrace/record_goto.exp: Update.
2415 * gdb.btrace/tailcall.exp: Update.
2416 * gdb.btrace/unknown_functions.exp: Update.
2417 * gdb.btrace/delta.exp: New.
2418
0b722aec
MM
24192014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2420
2421 * gdb.btrace/record_goto.exp: Add backtrace test.
2422 * gdb.btrace/tailcall.exp: Add backtrace test.
2423
066ce621
MM
24242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2425
2426 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2427 * gdb.btrace/record_goto.c: New.
2428 * gdb.btrace/record_goto.exp: New.
2429 * gdb.btrace/x86-record_goto.S: New.
2430
0688d04e
MM
24312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2432
2433 * gdb.btrace/function_call_history.exp: Update tests.
2434 * gdb.btrace/instruction_history.exp: Update tests.
2435
8710b709
MM
24362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2437
2438 * gdb.btrace/function_call_history.exp: Fix expected field
2439 order for "record function-call-history".
2440 Add new tests for "record function-call-history /c".
2441 * gdb.btrace/exception.cc: New.
2442 * gdb.btrace/exception.exp: New.
2443 * gdb.btrace/tailcall.exp: New.
2444 * gdb.btrace/x86-tailcall.S: New.
2445 * gdb.btrace/x86-tailcall.c: New.
2446 * gdb.btrace/unknown_functions.c: New.
2447 * gdb.btrace/unknown_functions.exp: New.
2448 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2449
5de9129b
MM
24502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2451
2452 * gdb.btrace/instruction_history.exp: Update.
2453 * gdb.btrace/function_call_history.exp: Update.
2454
23a7fe75
MM
24552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2456
2457 * gdb.btrace/function_call_history.exp: Fix expected function
2458 trace.
2459 * gdb.btrace/instruction_history.exp: Initialize traced.
2460 Remove traced_functions.
2461
724c7dd8
MM
24622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2463
2464 * gdb.btrace/function_call_history.exp: Update
2465 * gdb.btrace/instruction_history.exp: Update.
2466
6d78d93b
MM
24672014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2468
2469 * gdb.btrace/enable.exp: Update expected text.
2470
93a360cc
OJ
24712014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2472
2473 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2474 bytes.
2475
3772b53f
MR
24762014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2477
2478 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2479
596662fa
OJ
24802014-01-15 Omair Javaid <omair.javaid@linaro.org>
2481
2482 * lib/gdb.exp (supports_process_record): Return true for
2483 arm*-linux*. (supports_reverse): Likewise.
2484
b5b08fb4
SC
24852014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2486
2487 PR python/15464
2488 PR python/16113
2489 * gdb.python/py-type.c: Enhance test case.
2490 * gdb.python/py-value-cc.cc: Likewise
2491 * gdb.python/py-type.exp: Add new tests.
2492 * gdb.python/py-value-cc.exp: Likewise
2493
52d7fb13
AA
24942014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2495 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2498 Make "name" extern.
2499 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2500 references to ${name}_start by references to ${name}.
2501
a2cd8cfe
JB
25022014-01-10 Joel Brobecker <brobecker@adacore.com>
2503
2504 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2505
4e23fced
JB
25062014-01-10 Joel Brobecker <brobecker@adacore.com>
2507
2508 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2509
c6a9e42c
PA
25102014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2511 Pedro Alves <palves@redhat.com>
2512
2513 * gdb.mi/mi-info-os.exp: Connect to the target with
2514 mi_gdb_target_load.
2515
b7ea362b
PA
25162014-01-08 Pedro Alves <palves@redhat.com>
2517
2518 * gdb.threads/reconnect-signal.c: New file.
2519 * gdb.threads/reconnect-signal.exp: New file.
2520
5e3f4fab
EBM
25212014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2522
2523 * gdb.base/source-dir.exp: New file.
2524
79301218
JB
25252014-01-07 Joel Brobecker <brobecker@adacore.com>
2526
2527 * gdb.ada/mi_interface: New testcase.
2528
8e355c5d
JB
25292014-01-07 Joel Brobecker <brobecker@adacore.com>
2530
2531 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2532 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2533 gdb.ada/pp-rec-component/pck.ads: New files.
2534
c0d48811
JB
25352014-01-07 Joel Brobecker <brobecker@adacore.com>
2536
2537 * gdb.python/py-pp-integral.c: New file.
2538 * gdb.python/py-pp-integral.py: New file.
2539 * gdb.python/py-pp-integral.exp: New file.
2540
17b609c3 2541For older changes see ChangeLog-1993-2013.
c906108c 2542\f
8d8cb839
EZ
2543;; Local Variables:
2544;; mode: change-log
2545;; left-margin: 8
2546;; fill-column: 74
2547;; version-control: never
2548;; End:
902f2ccb 2549
14f8b115 2550 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
2551 Copying and distribution of this file, with or without modification,
2552 are permitted provided the copyright notice and this notice are preserved.
This page took 2.040003 seconds and 4 git commands to generate.