]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Add hardware watchpoint support for x86 GNU Hurd.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
428b16bd
PA
12014-09-16 Pedro Alves <palves@redhat.com>
2
3 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
4 files.
5 * gdb.base/a2-run.exp: Remove all code guarded by istarget
6 "*-*-vxworks*" throughout.
7 * gdb.base/break.exp: Likewise.
8 * gdb.base/default.exp: Likewise.
9 * gdb.base/scope.exp: Likewise.
10 * gdb.base/sepdebug.exp: Likewise.
11 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12 throughout.
13 * gdb.base/run.c: Likewise.
14 * gdb.base/sepdebug.c: Likewise.
15 * gdb.hp/gdb.aCC/run.c: Likewise.
16 * gdb.reverse/until-reverse.c: Likewise.
17 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
18
666d413c
YQ
192014-09-16 Yao Qi <yao@codesourcery.com>
20
21 * boards/local-remote-host-native.exp: New file.
22
57cbd724
DE
232014-09-14 Doug Evans <xdje42@gmail.com>
24
25 * gdb.threads/queue-signal.c (thread_count): New variable.
26 (thread_count_mutex, thread_count_condvar): New variables.
27 (incr_thread_count, wait_all_threads_running): New functions.
28 (main): Wait for all threads to be in their thread functions.
29
81219e53
DE
302014-09-13 Doug Evans <xdje42@gmail.com>
31
32 * gdb.threads/queue-signal.c: New file.
33 * gdb.threads/queue-signal.exp: New file.
34
3714cea7
DE
352014-09-13 Doug Evans <xdje42@gmail.com>
36
37 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
38 be consistent with what default_gdb_init uses.
39 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
40 the plain text of the prompt. Add some logging printfs.
41 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
42
fa43b1d7
PA
432014-09-12 Pedro Alves <palves@redhat.com>
44
45 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
46 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
47 * gdb.arch/i386-size-overlap.exp: Likewise.
48 * gdb.arch/i386-size.exp: Likewise.
49 * gdb.arch/i386-unwind.exp: Likewise.
50 * gdb.base/a2-run.exp: Likewise.
51 * gdb.base/break.exp: Likewise.
52 * gdb.base/charset.exp: Likewise.
53 * gdb.base/chng-syms.exp: Likewise.
54 * gdb.base/commands.exp: Likewise.
55 * gdb.base/dbx.exp: Likewise.
56 * gdb.base/find.exp: Likewise.
57 * gdb.base/funcargs.exp: Likewise.
58 * gdb.base/jit-simple.exp: Likewise.
59 * gdb.base/reread.exp: Likewise.
60 * gdb.base/sepdebug.exp: Likewise.
61 * gdb.base/step-bt.exp: Likewise.
62 * gdb.cp/mb-inline.exp: Likewise.
63 * gdb.cp/mb-templates.exp: Likewise.
64 * gdb.objc/basicclass.exp: Likewise.
65 * gdb.threads/killed.exp: Likewise.
66
9d9bf2df
EBM
672014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
68
69 PR tdep/17379
70 * gdb.arch/powerpc-stackless.S: New file.
71 * gdb.arch/powerpc-stackless.exp: New file.
72
1cf2f1b0
JK
732014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
74
75 * gdb.base/attach.c: Include unistd.h.
76 (main): Call alarm. Add label postloop.
77 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
78 gdb_breakpoint, gdb_continue_to_breakpoint.
79 (test_command_line_attach_run): Kill ${testpid} in one exit path.
80
98880d46
PA
812014-09-11 Pedro Alves <palves@redhat.com>
82
83 PR gdb/17347
84 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
85 * gdb.base/attach.exp (test_command_line_attach_run): New
86 procedure.
87 (top level): Call it.
88
4c92ff2c
PA
892014-09-11 Pedro Alves <palves@redhat.com>
90
91 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
92 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
93 (do_command_attach_tests): Use spawn_wait_for_attach.
94 * gdb.base/solib-overlap.exp: Likewise.
95 * gdb.multi/multi-attach.exp: Likewise.
96 * gdb.python/py-prompt.exp: Likewise.
97 * gdb.python/py-sync-interp.exp: Likewise.
98 * gdb.server/ext-attach.exp: Likewise.
99
3adc1a7d
GKB
1002014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
101
102 * gdb.fortran/array-element.exp: Remove unexpected "continue"
103 command in testcase. Simplify testcase.
104
96334934
JB
1052014-09-10 Joel Brobecker <brobecker@adacore.com>
106
107 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
108
eb479039
JB
1092014-09-10 Joel Brobecker <brobecker@adacore.com>
110
111 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
112
deede10c
JB
1132014-09-10 Joel Brobecker <brobecker@adacore.com>
114
115 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
116
7828a5f5
JB
1172014-09-10 Joel Brobecker <brobecker@adacore.com>
118
119 * gdb.dwarf2/dynarr-ptr.c: New file.
120 * gdb.dwarf2/dynarr-ptr.exp: New file.
121
33aeebcf
MR
1222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
123
124 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
125 of 30 rather than hardcoding 120 for a slow test case. Take the
126 `gdb,timeout' target setting into account for this calculation.
127 Don't extend the timeout for the test cases that don't need it.
128
7b415901
MR
1292014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
130
131 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
132 a factor of 2 for a slow test case. Take the `gdb,timeout'
133 target setting into account for this calculation.
134 * gdb.reverse/until-precsave.exp: Increase the timeout by
135 a factor of 15 and 3 respectively rather than adding 120
136 for a pair of slow test cases. Take the `gdb,timeout'
137 target setting into account for this calculation.
138
4a40f85a
MR
1392014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
140
141 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
142 timeout, don't pass one down to gdb_expect.
143 (gdb_expect): Rework timeout selection.
144
09635af7
MR
1452014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
146
147 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
148 exception on timeout.
149 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
150 (gdbserver_start_extended): Catch any `gdbserver_start' error
151 exceptions.
152 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
153 * lib/mi-support.exp (mi_gdb_target_load): Catch any
154 `gdbserver_gdb_load' error exceptions.
155
2bdd10b7
MR
1562014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
157
158 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
159 120 on waiting for the TCP socket to open.
160
316935f0
DE
1612014-09-09 Doug Evans <xdje42@gmail.com>
162
163 * gdb.base/default.exp (show_conv_list): Add _caller_is,
164 _caller_matches, _any_caller_is, _any_caller_matches.
165
83740597
DE
1662014-09-09 Doug Evans <xdje42@gmail.com>
167
168 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
169
4c122fc3
YQ
1702014-09-09 Yao Qi <yao@codesourcery.com>
171
172 * gdb.mi/mi-var-display.exp: Set print symbol off.
173
a9f116cb
GKB
1742014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
175
176 PR gdb/17035
177 * gdb.base/commands.exp: Add tests to verify user-defined
178 commands with empty bodies.
179 * gdb.python/py-cmd.exp: Test that we don't show user-defined
180 python commands in `show user command`.
181 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
182 scheme commands in `show user command`.
183
c75bd3a2
JK
1842014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
185
186 PR python/17355
187 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
188 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
189 * gdb.python/py-framefilter-invalidarg.exp: New file.
190 * gdb.python/py-framefilter-invalidarg.py: New file.
191
faa42425
DE
1922014-09-06 Doug Evans <xdje42@gmail.com>
193
194 PR 15276
195 * gdb.python/py-caller-is.c: New file.
196 * gdb.python/py-caller-is.exp: New file.
197
474ca4f6
SDJ
1982014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
199
200 PR gdb/17235
201 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
202 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
203
eb0b0463
SDJ
2042014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
205
206 PR fortran/17237
207 * gdb.fortran/print-formatted.exp: New file.
208 * gdb.fortran/print-formatted.f90: Likewise.
209
5f3b99cf
SS
2102014-09-03 Sasha Smundak <asmundak@google.com>
211
212 * gdb.python/py-frame.exp: Test Frame.read_register.
213
7d793aa9
SDJ
2142014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
215
216 PR python/16699
217 * gdb.python/py-completion.exp: New file.
218 * gdb.python/py-completion.py: Likewise.
219
fb0576e9
DE
2202014-08-28 Doug Evans <dje@google.com>
221
222 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
223 eax,etc. are live with values set by gdb and thus the compiler can't
224 use them.
225 * gdb.arch/i386-pseudo.c (main): Ditto.
226
ee92b0dd
DE
2272014-08-27 Doug Evans <dje@google.com>
228
229 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
230
6649db35
DE
2312014-08-25 Doug Evans <dje@google.com>
232
233 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
234 (main): Ditto.
235
564b7600
DE
2362014-08-25 Doug Evans <dje@google.com>
237
238 * gdb.threads/thread-execl.exp: #include <stdio.h>.
239
3881fb67
YQ
2402014-08-24 Yao Qi <yao@codesourcery.com>
241
242 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
243 symbol off.
244 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
245
a05a36a5
DE
2462014-08-22 Doug Evans <dje@google.com>
247
248 PR 17276
249 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
250 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
251 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
252
7c343b48
YQ
2532014-08-22 Yao Qi <yao@codesourcery.com>
254
255 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
256 * gdb.python/py-finish-breakpoint2.exp: Likewise.
257 * gdb.python/python.exp: Likewise. Use .py file on the host
258 instead of the build.
259
22fd09ae
JK
2602014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
261
262 * gdb.threads/gcore-stale-thread.c: New file.
263 * gdb.threads/gcore-stale-thread.exp: New file.
264
a8454a7c
PA
2652014-08-21 Pedro Alves <palves@redhat.com>
266
267 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
268 * gdb.base/gcore-relro-pie.exp: Likewise.
269 * gdb.base/gcore-relro.exp: Likewise.
270 * gdb.base/gcore.exp: Likewise.
271 * gdb.base/print-symbol-loading.exp: Likewise.
272 * gdb.threads/gcore-thread.exp: Likewise.
273 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
274
2a31c623
PA
2752014-08-20 Pedro Alves <palves@redhat.com>
276 Jan Kratochvil <jan.kratochvil@redhat.com>
277
278 * Makefile.in (EXTRA_RULES, CC): New variables, get from
279 configure.
280 (EXPECT): Handle READ1 being set.
281 (all): Depend on EXTRA_RULES.
282 (check-read1, expect-read1, read1.so, read1): New rules.
283 * README (Testsuite Parameters): Document the READ1 make variable.
284 (Race detection): New section.
285 * configure: Regenerate.
286 * configure.ac: If build==host==target, and running under a
287 GNU/glibc system, add read1 to the extra Makefile rules.
288 (EXTRA_RULES): AC_SUBST it.
289 * lib/read1.c: New file.
290
d36430db
JB
2912014-08-20 Joel Brobecker <brobecker@adacore.com>
292
293 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
294 the handling of variables declared as a typedef to an array
295 which a DW_AT_data_location attribute.
296
9a0dc9e3
PA
2972014-08-19 Andrew Burgess <aburgess@broadcom.com>
298 Pedro Alves <palves@redhat.com>
299
300 PR symtab/14604
301 PR symtab/14605
302 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
303 gdb_test.
304
0718a8da
PA
3052014-08-19 Pedro Alves <palves@redhat.com>
306
307 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
308
13b448cd
YQ
3092014-08-19 Yao Qi <yao@codesourcery.com>
310
311 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
312 right line.
313
1cbf5077
DB
3142014-08-18 David Blaikie <dblaikie@gmail.com>
315
316 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
317
bf0fae19
JB
3182014-08-18 Joel Brobecker <brobecker@adacore.com>
319
320 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
321 attribute in array range.
322
3c8c5dcc
JB
3232014-08-18 Joel Brobecker <brobecker@adacore.com>
324
325 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
326
e66d4446
SC
3272014-08-15 Siva Chandra Reddy <sivachandra@google.com>
328
329 PR c++/17132
330 * gdb.cp/pr17132.cc: New file.
331 * gdb.cp/pr17132.exp: New file.
332
940df408
SC
3332014-08-15 Siva Chandra Reddy <sivachandra@google.com>
334
335 * gdb.python/py-xmethods.py (A_getarrayind)
336 (E_method_char_worker.__call__, E_method_int_worker.__call__):
337 Use 'print' with function call syntax.
338 (E_method_matcher.match): Fix tab vs space indentation mixup.
339
ebcc6c3a
YQ
3402014-08-15 Yao Qi <yao@codesourcery.com>
341
342 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
343 false.
344
775e0f04
YQ
3452014-08-15 Yao Qi <yao@codesourcery.com>
346
347 * gdb.cp/casts.exp: Set print symbol off.
348 * gdb.cp/class2.exp: Likewise.
349 * gdb.cp/overload.exp: Likewise.
350 * gdb.cp/templates.exp: Likewise.
351
d769e349
DE
3522014-08-11 Doug Evans <dje@google.com>
353
354 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
355 (test_load_shlib): Update.
356
20c6f1e1
YQ
3572014-08-09 Yao Qi <yao@codesourcery.com>
358
359 * gdb.base/display.exp: Invoke is_address_zero_readable.
360 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
361 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
362 * gdb.base/hbreak-unmapped.exp: Return if
363 is_address_zero_readable returns true.
364 * gdb.base/signest.exp: Likewise.
365 * gdb.base/signull.exp: Likewise.
366 * gdb.base/sigbpt.exp: Likewise.
367 * gdb.guile/scm-disasm.exp: Do the test if
368 is_address_zero_readable returns false.
369 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
370 * gdb.python/py-arch.exp: Likewise.
371 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
372 * lib/gdb.exp (is_address_zero_readable): New proc.
373
5792e8e3
YQ
3742014-08-09 Yao Qi <yao@codesourcery.com>
375
376 PR testsuite/13443
377 * gdb.mi/mi-var-display.exp: Make test messages unique.
378
3cecbbbe
TT
3792014-08-04 Tom Tromey <tromey@redhat.com>
380
381 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
382 target 0".
383
00b51ff5
TT
3842014-08-04 Tom Tromey <tromey@redhat.com>
385
386 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
387 "target_resume".
388
6908c509
JB
3892014-08-01 Joel Brobecker <brobecker@adacore.com>
390
391 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
392 inner_vla_struct_object_size.
393 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
394 as xfail.
395
cc6563d2
PA
3962014-07-30 Pedro Alves <palves@redhat.com>
397
398 * gdb.threads/signal-command-handle-nopass.exp (test): Add
399 comment.
400
7e09a223
YQ
4012014-07-29 Yao Qi <yao@codesourcery.com>
402
403 PR gdb/17206
404 * gdb.base/until-nodebug.exp: New.
405
7ebdbe92
DE
4062014-07-28 Doug Evans <xdje42@gmail.com>
407
408 PR guile/17203
409 * gdb.guile/scm-parameter.exp: Add tests for trying to create
410 previously existing parameter, and previously ambiguously spelled
411 parameter.
412
fdb1adc6
WN
4132014-07-28 Will Newton <will.newton@linaro.org>
414
415 * gdb.base/varargs.exp: Remove KFAILs for ARM.
416
186fcde0
DE
4172014-07-26 Ludovic Courtès <ludo@gnu.org>
418 Doug Evans <xdje42@gmail.com>
419
420 PR guile/17146
421 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
422
70509625
PA
4232014-07-25 Pedro Alves <palves@redhat.com>
424
425 * gdb.threads/signal-command-handle-nopass.c: New file.
426 * gdb.threads/signal-command-handle-nopass.exp: New file.
427 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
428 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
429 * gdb.threads/signal-delivered-right-thread.c: New file.
430 * gdb.threads/signal-delivered-right-thread.exp: New file.
431
c3f814a1
PA
4322014-07-25 Pedro Alves <palves@redhat.com>
433
434 * gdb.base/double-prompt-target-event-error.exp
435 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
436 match.
437 (cancel_pagination_in_target_event): Rework double prompt
438 detection.
439 * gdb.base/paginate-after-ctrl-c-running.exp
440 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
441 <return>' match.
442 * gdb.base/paginate-bg-execution.exp
443 (test_bg_execution_pagination_return)
444 (test_bg_execution_pagination_cancel): Remove '-notransfer
445 <return>' matches.
446 * gdb.base/paginate-execution-startup.exp
447 (test_fg_execution_pagination_return)
448 (test_fg_execution_pagination_cancel): Remove '-notransfer
449 <return>' matches.
450 * gdb.base/paginate-inferior-exit.exp
451 (test_paginate_inferior_exited): Remove '-notransfer <return>'
452 match.
453 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
454 * lib/gdb.exp (pagination_prompt): Run text through
455 string_to_regexp.
456 (gdb_test_multiple): Match $pagination_prompt instead of
457 "<return>".
458 (string_to_regexp): Move to lib/gdb-utils.exp.
459
e214cf6c
JK
4602014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
461
462 * gdb.arch/amd64-entry-value-paramref.S: New file.
463 * gdb.arch/amd64-entry-value-paramref.cc: New file.
464 * gdb.arch/amd64-entry-value-paramref.exp: New file.
465 * gdb.arch/amd64-optimout-repeat.S: New file.
466 * gdb.arch/amd64-optimout-repeat.c: New file.
467 * gdb.arch/amd64-optimout-repeat.exp: New file.
468
17d0c5c8
JK
4692014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
470
471 PR gdb/17170
472 * gdb.base/statistics.exp: New file.
473
b8b8facf
DE
4742014-07-17 Doug Evans <dje@google.com>
475
74b49205 476 PR gdb/17170
b8b8facf
DE
477 * gdb.base/maint.exp: Update testing of per-command stats.
478
1b5d0ab3
PA
4792014-07-16 Pedro Alves <palves@redhat.com>
480
481 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
482 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
483 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
484 (tfile_write_buf): New functions.
485 (add_memory_block): Rewrite using the above.
486 (adjust_function_address): New function.
487 (FUNCTION_ADDRESS): New macro.
488 (write_basic_trace_file): Remove short_x local, and use
489 tfile_write_16. Change type of func_addr local to unsigned long
490 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
491 here. Cast argument of add_memory_block to char pointer.
492 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
493 (main): Remove parameters.
494 * gdb.trace/tfile.exp: Remove nowarnings.
495
4d974e88
SM
4962014-07-15 Simon Marchi <simon.marchi@ericsson.com>
497
498 * gdb.base/debug-expr.exp: Test string evaluation with
499 "debug expression" on.
500
41e99568
PA
5012014-07-15 Pedro Alves <palves@redhat.com>
502
503 * gdb.base/reread.exp: Use clean_restart.
504
487d9753
PL
5052014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
506
507 * gdb.arch/avr-flash-qualifer.c: New.
508 * gdb.arch/avr-flash-qualifer.exp: New.
509
cc1c52ad
PA
5102014-07-14 Pedro Alves <palves@redhat.com>
511
512 * gdb.base/paginate-after-ctrl-c-running.c: New file.
513 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
514
1e973570
PA
5152014-07-14 Pedro Alves <palves@redhat.com>
516
517 * gdb.base/double-prompt-target-event-error.c: New file.
518 * gdb.base/double-prompt-target-event-error.exp: New file.
519
93d6eb10
PA
5202014-07-14 Pedro Alves <palves@redhat.com>
521
522 PR gdb/17072
523 * gdb.base/paginate-inferior-exit.c: New file.
524 * gdb.base/paginate-inferior-exit.exp: New file.
525
0017922d
PA
5262014-07-14 Pedro Alves <palves@redhat.com>
527
528 PR gdb/17072
529 * gdb.base/paginate-bg-execution.c: New file.
530 * gdb.base/paginate-bg-execution.exp: New file.
531
94696ad3
PA
5322014-07-14 Pedro Alves <palves@redhat.com>
533
534 PR gdb/17072
535 * gdb.base/paginate-execution-startup.c: New file.
536 * gdb.base/paginate-execution-startup.exp: New file.
537 * lib/gdb.exp (pagination_prompt): New global.
538 (default_gdb_spawn): New procedure, factored out from
539 default_gdb_spawn.
540 (default_gdb_start): Adjust to call default_gdb_spawn.
541 (gdb_spawn): New procedure.
542
bd293940
PA
5432014-07-14 Pedro Alves <palves@redhat.com>
544
545 * lib/gdb.exp (gdb_assert): New procedure.
546 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
547
c933f875
PA
5482014-07-14 Pedro Alves <palves@redhat.com>
549
550 * gdb.base/execution-termios.c: New file.
551 * gdb.base/execution-termios.exp: New file.
552
d98b7a16
TT
5532014-07-14 Tom Tromey <tromey@redhat.com>
554
555 * gdb.cp/vla-cxx.cc: New file.
556 * gdb.cp/vla-cxx.exp: New file.
557
548740d6
TT
5582014-07-14 Tom Tromey <tromey@redhat.com>
559
560 * gdb.reverse/rerun-prec.c: New file.
561 * gdb.reverse/rerun-prec.exp: New file.
562
a25eb028
MR
5632014-07-12 Maciej W. Rozycki <macro@mips.com>
564 Maciej W. Rozycki <macro@codesourcery.com>
565
566 * lib/gdb-utils.exp: New file.
567 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
568 inline `gdb_init_command' processing.
569 (gdb_start_cmd): Likewise.
570 * lib/mi-support.exp (mi_run_cmd): Likewise.
571 * README: Document `gdb_init_command' and `gdb_init_commands'.
572
218c2655
JK
5732014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
574
575 Fix false FAIL running under a very long directory name.
576 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
577 and "set print elements 10000". Twice.
578
5401fde3
YQ
5792014-07-11 Yao Qi <yao@codesourcery.com>
580
581 * gdb.base/exprs.exp: "set print symbol off".
582
e76126e8
PA
5832014-07-11 Pedro Alves <palves@redhat.com>
584
585 * gdb.threads/kill.c: New file.
586 * gdb.threads/kill.exp: New file.
587
2d6f0de6
YQ
5882014-07-10 Yao Qi <yao@codesourcery.com>
589
590 * gdb.trace/tfile.c (write_basic_trace_file)
591 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
592 address written to trace file.
593
7180e04a
PA
5942014-07-09 Pedro Alves <palves@redhat.com>
595
596 * gdb.base/attach-wait-input.exp: New file.
597 * gdb.base/attach-wait-input.c: New file.
598
9a9a7608
AB
5992014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
600
601 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
602 setting up test structures.
603 (main): Call new test function.
604 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
605 test function, continue into test function and walk test
606 structures.
607
161ac41e
YQ
6082014-07-02 Yao Qi <yao@codesourcery.com>
609
610 * gdb.trace/entry-values.c: Define labels 'foo_start' and
611 'bar_start' at the beginning of functions 'foo' and 'bar'
612 respectively.
613 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
614 instead of 'foo' and 'bar'.
615
1f267ae3
MM
6162014-07-08 Markus Metzger <markus.t.metzger@intel.com>
617
618 * gdb.btrace/segv.exp: New.
619 * gdb.btrace/segv.c: New.
620
2b239efb
LM
6212014-07-02 Luis Machado <lgustavo@codesourcery.com>
622
623 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
624 instruction.
625
cf363f18
MW
6262014-06-30 Mark Wielaard <mjw@redhat.com>
627
628 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
629 vulture, vilify, villar): New volatile array constants.
630 (vindictive, vegetation): New const volatile array constants.
631 * gdb.base/volatile.exp: Test volatile and const volatile array
632 types.
633
aebf9d24
AA
6342014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
635
636 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
637 target lacks support for awatch, rwatch, or hbreak.
638
b67a2c6f
YQ
6392014-06-27 Yao Qi <yao@codesourcery.com>
640
641 * gdb.multi/dummy-frame-restore.exp: New.
642 * gdb.multi/dummy-frame-restore.c: New.
643
aef92902
MM
6442014-06-25 Markus Metzger <markus.t.metzger@intel.com>
645
646 * gdb.btrace/gcore.exp: New.
647
8e9db26e
PA
6482014-06-23 Pedro Alves <palves@redhat.com>
649
650 * gdb.base/watchpoint-reuse-slot.c: New file.
651 * gdb.base/watchpoint-reuse-slot.exp: New file.
652
70afc5b7
SC
6532014-06-23 Siva Chandra Reddy <sivachandra@google.com>
654
655 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
656 progspace's filename in 'info', 'enable' and 'disable' command
657 tests.
658
b972bd9c
JK
6592014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
660
661 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
662 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
663 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
664
125f8a3d
GB
6652014-06-20 Gary Benson <gbenson@redhat.com>
666
667 * gdb.arch/i386-avx.exp: Fix include file location.
668 * gdb.arch/i386-sse.exp: Likewise.
669
3ed9baed
IB
6702014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
671
672 * gdb.dlang/expression.exp: New file.
673
034f788c
PA
6742014-06-19 Pedro Alves <palves@redhat.com>
675
676 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
677 out from ...
678 (top level): ... here. Iterate running tests under different
679 scheduler-locking settings.
680
45371d0c
LM
6812014-06-18 Luis Machado <lgustavo@codesourcery.com>
682
683 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
684 to DW_FORM_addr and use non-zero addresses.
685
5d376983
SC
6862014-06-18 Siva Chandra Reddy <sivachandra@google.com>
687
688 PR gdb/17017
689 * gdb.python/py-xmethods.cc: Add global function call counters and
690 increment them in their respective functions. Remove "cout"
691 statements.
692 * gdb.python/py-xmethods.exp: Make tests check the global function
693 call counters instead of depending on inferior IO.
694
a1aa2221
LM
6952014-06-18 Don Breazeal <donb@codesourcery.com>
696
697 * gdb.base/foll-fork.exp (default_fork_parent_follow):
698 Deleted procedure.
699 (explicit_fork_parent_follow): Deleted procedure.
700 (explicit_fork_child_follow): Deleted procedure.
701 (test_follow_fork): New procedure.
702 (do_fork_tests): Replace calls to deleted procedures with
703 calls to test_follow_fork and reset GDB for subsequent
704 procedure calls.
705
0fc05997
YQ
7062014-06-17 Yao Qi <yao@codesourcery.com>
707
708 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
709 CP1252.
710
70795c52
LM
7112014-06-17 Luis Machado <lgustavo@codesourcery.com>
712
713 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
714 Initialize ptr and S explicitly.
715 (skip_type_update_when_not_use_rtti_test): Likewise.
716
6be47f0c
KS
7172014-06-16 Keith Seitz <keiths@redhat.com>
718
719 PR mi/15863
720 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
721 the inferior is started.
722
d03de421
PA
7232014-06-16 Pedro Alves <palves@redhat.com>
724
725 * gdb.base/break-main-file-remove-fail.c: New file.
726 * gdb.base/break-main-file-remove-fail.exp: New file.
727 * gdb.base/break-unload-file.exp: Use build_executable instead of
728 prepare_for_testing.
729 (test_break): New parameter "initial_load". Handle it.
730 (top level): Add initial_load cmdline/file axis.
731
f9579b99
TT
7322014-06-12 Tom Tromey <tromey@redhat.com>
733
734 * gdb.base/completion.exp: Don't use directory name in test.
735
3657956b
GB
7362014-06-09 Gary Benson <gbenson@redhat.com>
737
738 * gdb.base/sigall.c [Functions to send signals]: Reorder to
739 separate the always-available ANSI-standard signals from the
740 signals that require checking.
741 (main): Likewise.
742 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
743 Likewise.
744 (main): Likewise.
745
4186eb54
KS
7462014-06-07 Keith Seitz <keiths@redhat.com>
747
748 Revert:
749 PR c++/16253
750 * gdb.cp/var-tag.cc: New file.
751 * gdb.cp/var-tag.exp: New file.
752 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
753 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
754 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
755 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
756
25326a28 7572014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
758
759 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
760
829155c9
PA
7612014-06-06 Pedro Alves <palves@redhat.com>
762
763 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
764 in target debug output instead of looking at RSP packets,
765 disabling the test on any target that uses hardware stepping.
766 Update comments.
767
61c8d22e
PA
7682014-06-06 Pedro Alves <palves@redhat.com>
769
770 * gdb.base/break-unload-file.exp: Fix typo.
771
d9a47287
YQ
7722014-06-06 Yao Qi <yao@codesourcery.com>
773
774 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
775 from "jit_function" to "^jit_function".
776
e5e01dbf
YQ
7772014-06-06 Yao Qi <yao@codesourcery.com>
778
779 * gdb.base/async.c (foo): Add one statement.
780 * gdb.base/async.exp: Get the next instruction address and
781 match the output of "nexti" by instruction address. Match
782 the hex address in the output of "finish".
783
73ba372c
GB
7842014-06-06 Gary Benson <gbenson@redhat.com>
785
786 * gdb.base/call-signals.c: Remove preprocessor conditionals
787 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
788 SIGSEGV and SIGTERM.
789 * gdb.base/sigall.c: Likewise.
790 * gdb.base/unwindonsignal.c: Likewise.
791 * gdb.reverse/sigall-reverse.c: Likewise.
792
831517df
YQ
7932014-06-06 Yao Qi <yao@codesourcery.com>
794
795 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
796 readable, skip the test.
797
b8b91e98
YQ
7982014-06-06 Yao Qi <yao@codesourcery.com>
799
800 * gdb.threads/staticthreads.c (thread_function): Move the line
801 setting breakpoint on forward.
802 * gdb.threads/staticthreads.exp: Update comments.
803
fb934770
LC
8042014-06-05 Ludovic Courtès <ludo@gnu.org>
805
806 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
807 "history-append! type error".
808
6ef284bd
SM
8092014-06-05 Simon Marchi <simon.marchi@ericsson.com>
810
811 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
812 erroneous dprintf expected input.
813
a872e241
DE
8142014-06-04 Doug Evans <xdje42@gmail.com>
815
816 * gdb.guile/scm-generics.exp: Delete.
817
16f691fb
DE
8182014-06-04 Doug Evans <xdje42@gmail.com>
819
820 * gdb.guile/scm-breakpoint.exp: Update.
821 Add tests for breakpoint registration.
822
012370f6
TT
8232014-06-04 Tom Tromey <tromey@redhat.com>
824
825 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
826 VLA-in-union.
827 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
828 inner_vla_struct, vla_union types. Initialize objects of those
829 types and compute their sizes.
830
9f5a4cef
HZ
8312014-06-04 Nathan Sidwell <nathan@codesourcery.com>
832 Hui Zhu <hui@codesourcery.com>
833
834 * gdb.base/fileio.exp: Add test for shell not available as well as
835 available.
836 * gdb.base/fileio.c (test_system): Check for shell twice.
837
90a45c4d
YQ
8382014-06-04 Yao Qi <yao@codesourcery.com>
839
840 * gdb.base/auto-connect-native-target.exp: Remove redundant
841 space from the regexp pattern.
842
70017e41
YQ
8432014-06-04 Yao Qi <yao@codesourcery.com>
844
845 * gdb.base/default.exp: Replace "child" with "native" in
846 regexp pattern.
847
883964a7
SC
8482014-06-03 Siva Chandra Reddy <sivachandra@google.com>
849
850 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
851 * gdb.python/py-xmethods.exp: New tests to test xmethods.
852 * gdb.python/py-xmethods.py: Python script supporting the
853 new testcase and tests.
854
ef370185
JB
8552014-06-03 Joel Brobecker <brobecker@adacore.com>
856 Pedro Alves <palves@redhat.com>
857
858 PR breakpoints/17000
859 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
860 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
861
1e2ccb61
BM
8622014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
863
864 * gdb.base/subst.exp: Add tests to verify partial path matching
865 output.
866
c6ec5ab2
PA
8672014-06-03 Pedro Alves <palves@redhat.com>
868
869 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
870 target that doesn't use software single-stepping.
871
835c559f
PA
8722014-06-03 Pedro Alves <palves@redhat.com>
873
874 PR breakpoints/17000
875 * gdb.base/sss-bp-on-user-bp-2.c: New file.
876 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
877
06eb1586
DE
8782014-06-02 Doug Evans <xdje42@gmail.com>
879
880 * gdb.guile/scm-parameter.exp: New file.
881
e698b8c4
DE
8822014-06-02 Doug Evans <xdje42@gmail.com>
883
884 * gdb.guile/scm-cmd.c: New file.
885 * gdb.guile/scm-cmd.exp: New file.
886
ded03782
DE
8872014-06-02 Doug Evans <xdje42@gmail.com>
888
889 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
890 pretty-printer lookup.
891 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
892 (make-pp_s-printer): Call it.
893 (make-pretty-printer-from-dict): New function.
894 (lookup-pretty-printer-maker-from-dict): New function.
895 (*pretty-printer*): Simplify.
896 (make-objfile-pp_s-printer): New function.
897 (install-objfile-pretty-printers!): New function.
898 (make-progspace-pp_s-printer): New function.
899 (install-progspace-pretty-printers!): New function.
900 * gdb.guile/scm-progspace.c: New file.
901 * gdb.guile/scm-progspace.exp: New file.
902
41fac0cf
PA
9032014-06-02 Pedro Alves <palves@redhat.com>
904
905 * gdb.base/dprintf-bp-same-addr.c: New file.
906 * gdb.base/dprintf-bp-same-addr.exp: New file.
907
96ae5695
EBM
9082014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
909
910 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
911 * gdb.arch/powerpc-power.s: Likewise.
912
da02b3a8
JB
9132014-06-02 Joel Brobecker <brobecker@adacore.com>
914
915 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
916
c72b2e7b
YQ
9172014-06-01 Yao Qi <yao@codesourcery.com>
918
919 * gdb.base/watchpoint.exp (test_watch_location): Check null
920 pointer can be dereferenced. If not, do the test, otherwise
921 skip it.
922
53e8a631
AB
9232014-05-30 Andrew Burgess <aburgess@broadcom.com>
924
925 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
926 results.
927 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
928
938f0e2f
AB
9292014-05-30 Andrew Burgess <aburgess@broadcom.com>
930
931 * gdb.arch/amd64-invalid-stack-middle.S: New file.
932 * gdb.arch/amd64-invalid-stack-middle.c: New file.
933 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
934 * gdb.arch/amd64-invalid-stack-top.c: New file.
935 * gdb.arch/amd64-invalid-stack-top.exp: New file.
936
9ba6657a
PA
9372014-05-30 Pedro Alves <palves@redhat.com>
938
939 PR breakpoints/17000
940 * gdb.base/sss-bp-on-user-bp.c: New file.
941 * gdb.base/sss-bp-on-user-bp.exp: New file.
942
522c09bf
DB
9432014-05-30 David Blaikie <dblaikie@gmail.com>
944
945 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
946 gnu_inline semantics via attribute.
947 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
948 source explicitly specifies the required semantics.
949
bf4ef81e
MR
9502014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
951
952 * gdb.reverse/sigall-reverse.exp: Fix a typo.
953
329ea579
PA
9542014-05-29 Pedro Alves <palves@redhat.com>
955 Tom Tromey <tromey@redhat.com>
956
957 * gdb.base/async-shell.exp: Don't enable target-async.
958 * gdb.base/async.exp
959 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
960 parameter. Adjust.
961 (top level): Don't test with "target-async".
962 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
963 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
964 * gdb.base/inferior-died.exp: Don't enable target-async.
965 * gdb.base/interrupt-noterm.exp: Likewise.
966 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
967 * gdb.mi/mi-nonstop-exit.exp: Likewise.
968 * gdb.mi/mi-nonstop.exp: Likewise.
969 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
970 * gdb.mi/mi-nsintrall.exp: Likewise.
971 * gdb.mi/mi-nsmoribund.exp: Likewise.
972 * gdb.mi/mi-nsthrexec.exp: Likewise.
973 * gdb.mi/mi-watch-nonstop.exp: Likewise.
974 * gdb.multi/watchpoint-multi.exp: Adjust comment.
975 * gdb.python/py-evsignal.exp: Don't enable target-async.
976 * gdb.python/py-evthreads.exp: Likewise.
977 * gdb.python/py-prompt.exp: Likewise.
978 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
979 * gdb.server/solib-list.exp: Don't enable target-async.
980 * gdb.threads/thread-specific-bp.exp: Likewise.
981 * lib/mi-support.exp: Adjust to use mi-async.
982
fd664c91
PA
9832014-05-29 Pedro Alves <palves@redhat.com>
984
985 PR gdb/13860
986 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
987 reason, even in sync mode.
988
251bde03
PA
9892014-05-29 Pedro Alves <palves@redhat.com>
990 Hui Zhu <hui@codesourcery.com>
991
992 PR PR15693
993 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
994 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
995 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
996 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
997
7f3c0343
JB
9982014-05-28 Joel Brobecker <brobecker@adacore.com>
999
1000 * config/monitor.exp (gdb_target_monitor): Replace use of
1001 "set remotebaud" by "set serial baud".
1002
b2715b27
AW
10032014-05-26 Andy Wingo <wingo@igalia.com>
1004
1005 * gdb.guile/scm-breakpoint.exp:
1006 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1007 properties instead of gdb-object-properties.
1008
498a4489
YQ
10092014-05-26 Yao Qi <yao@codesourcery.com>
1010
1011 * gdb.server/no-thread-db.exp: Specify source file name
1012 explicitly when setting a breakpoint.
1013
589fdceb
MM
10142014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1015
1016 * gdb.btrace/vdso.c: New.
1017 * gdb.btrace/vdso.exp: New.
1018
e9089e05
MM
10192014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1020
1021 * gdb.base/gcore.exp (capture_command_output): Move ...
1022 * lib/gdb.exp (capture_command_output): ... here.
1023
67b5c0c1
MM
10242014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1025
1026 * gdb.btrace/data.exp: Test memory access during btrace replay.
1027
a2199296
SM
10282014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1029
1030 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1031
17b2616c
PA
10322014-05-21 Pedro Alves <palves@redhat.com>
1033
1034 PR gdb/13860
1035 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1036 (top level): Test that output related to execution commands is
1037 sent to the console with CLI commands, but not with MI commands.
1038 Test that breakpoint events are always mirrored to the console.
1039 Also expect the new source line to be output after a "next" in
1040 async mode too. Make it a pass/fail test.
1041 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1042 output.
1043 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1044
5166082f
PA
10452014-05-21 Pedro Alves <palves@redhat.com>
1046
1047 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1048 Use them to test variations of "list" after reaching a breakpoint.
1049 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1050 Test "list" with listsize 10 after reaching a breakpoint.
1051 * gdb.python/python.exp (decode_line current location line
1052 number): Adjust expected line number.
1053
2f25d70f
SM
10542014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1055
1056 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1057 behavior for $args, pass it directly to "run".
1058
ff604a67
MR
10592014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1060
1061 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1062 30000 to 65536.
1063
6a3cb8e8
PA
10642014-05-21 Pedro Alves <palves@redhat.com>
1065
1066 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1067 auto-connect-native-target off".
1068 * gdb.base/auto-connect-native-target.c: New file.
1069 * gdb.base/auto-connect-native-target.exp: New file.
1070
4ebfc96e
PA
10712014-05-21 Pedro Alves <palves@redhat.com>
1072
1073 * gdb.base/default.exp: Test "target native" instead of "target
1074 child".
1075
36d46afb
MW
10762014-05-21 Mark Wielaard <mjw@redhat.com>
1077
1078 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1079
5876f503
JK
10802014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1081
1082 Fix TLS access for -static -pthread.
1083 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1084 <HAVE_TLS> (thread_function, main): Initialize it.
1085 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1086 Add clean_restart.
1087 <$have_tls != "">: Check TLSVAR.
1088
0256a6ac
PA
10892014-05-21 Pedro Alves <palves@redhat.com>
1090
1091 * gdb.base/dcache-line-read-error.c: New.
1092 * gdb.base/dcache-line-read-error.exp: New.
1093
936d2992
PA
10942014-05-20 Pedro Alves <palves@redhat.com>
1095
1096 * gdb.base/compare-sections.c: New file.
1097 * gdb.base/compare-sections.exp: New file.
1098
802e8e6d
PA
10992014-05-20 Pedro Alves <palves@redhat.com>
1100
1101 * gdb.base/break-idempotent.c: New file.
1102 * gdb.base/break-idempotent.exp: New file.
1103
e59fa00f
MM
11042014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1105
1106 * gdb.btrace/nohist.exp: New.
1107
8b696e31
YQ
11082014-05-20 Yao Qi <yao@codesourcery.com>
1109
1110 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1111 gdb.reverse directory and gdb_reverse_timeout exists in board
1112 setting.
1113 * README: Document gdb_reverse_timeout.
1114
73c9764f
YQ
11152014-05-20 Yao Qi <yao@codesourcery.com>
1116
1117 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1118 'test_file_name'. Treat args as a string instead of a list.
1119 (gdb_init): Rename argument 'args' by 'test_file_name'.
1120
f1f4348a
JK
11212014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1122
1123 * gdb.arch/powerpc-power.exp: New file.
1124 * gdb.arch/powerpc-power.s: New file.
1125
0dbe70ce
DE
11262014-05-16 Doug Evans <dje@google.com>
1127
1128 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1129 * gdb.base/completion.exp: Check that all expected files exist
1130 before doing file completion.
0dbe70ce 1131
8d551b02
DE
11322014-05-16 Doug Evans <dje@google.com>
1133
1134 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1135 Update.
1136 (do_syscall_tests_without_xml): Update.
1137
73eb7709
PA
11382014-05-16 Pedro Alves <palves@redhat.com>
1139
1140 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1141 instead of "unknown output after running".
1142
3fae92fc
YQ
11432014-05-16 Yao Qi <yao@codesourcery.com>
1144
1145 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1146 file1.txt from host at the end.
1147 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1148
c2b2ccc5
DE
11492014-05-15 Doug Evans <dje@google.com>
1150
1151 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1152 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1153 loading file. Add test for TU lookup.
1154
8c217a4b
SM
11552014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1156
1157 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1158 calling "-exec-arguments" or "set args" before running the
1159 inferior.
1160
3deb39c6
SM
11612014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1162
1163 * lib/mi-support.exp (mi_expect_stop): Expect message for
1164 inferiors that exit with non-zero exit code.
1165
71a79f8c
YQ
11662014-05-14 Yao Qi <yao@codesourcery.com>
1167
1168 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1169 match absolute path on remote host.
1170 (test_file_list_exec_source_files): Remove "/" from the
1171 pattern.
1172
f23fcd46
YQ
11732014-05-14 Yao Qi <yao@codesourcery.com>
1174
1175 * boards/local-remote-host-notty.exp (${board}_file): New
1176 proc.
1177
9404b58f
KM
11782014-05-07 Kyle McMartin <kyle@redhat.com>
1179
1180 Pushed by Joel Brobecker <brobecker@adacore.com>.
1181 * gdb.arch/aarch64-atomic-inst.c: New file.
1182 * gdb.arch/aarch64-atomic-inst.exp: New file.
1183
5e45f04c
YQ
11842014-05-07 Yao Qi <yao@codesourcery.com>
1185
1186 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1187 in current context" too.
1188
c888a17d
KS
11892014-05-05 Keith Seitz <keiths@redhat.com>
1190
1191 * gdb.linespec/ls-dollar.exp: Add test for linespec
1192 file:convenience_variable.
1193
290a839c
YQ
11942014-05-05 Yao Qi <yao@codesourcery.com>
1195
1196 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1197 traceframes into tfile and ctf trace files. Read data from
1198 trace file and test collected data.
1199 (gdb_collect_locals_test): Likewise.
1200 (gdb_unavailable_registers_test): Likewise.
1201 (gdb_unavailable_floats): Likewise.
1202 (gdb_collect_globals_test): Likewise.
1203 (top-level): Append "ctf" to trace_file_targets if GDB
1204 supports.
1205
b5262cd0
YQ
12062014-05-05 Yao Qi <yao@codesourcery.com>
1207
1208 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1209 code to ...
1210 (gdb_collect_args_test_1): ... it. New proc.
1211 (gdb_collect_locals_test): Move some code to ...
1212 (gdb_collect_locals_test_1): ... it. New proc.
1213 (gdb_unavailable_registers_test): Move some code to ...
1214 (gdb_unavailable_registers_test_1): ... it. New proc.
1215 (gdb_unavailable_floats): Move some code to ...
1216 (gdb_unavailable_floats_1): ... it. New proc.
1217
30a1e6cc
SDJ
12182014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1219
1220 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1221 probes to test for bitness recognition.
1222 * gdb.arch/amd64-stap-optional-prefix.exp
1223 (test_probe_value_without_reg): New procedure.
1224 Add code to test for different kinds of bitness.
1225
f33da99a
SDJ
12262014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1227
1228 PR breakpoints/16889
1229 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1230 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1231
5b80f00d
PA
12322014-05-01 Pedro Alves <palves@redhat.com>
1233
1234 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1235 gdb_file_cmd if no file is specified.
1236 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1237 last_loaded_file to set the remote exec-file.
1238
f8c2a73c
PA
12392014-05-01 Pedro Alves <palves@redhat.com>
1240
1241 * boards/local-remote-host.exp: New file.
1242
be6e8ac7
PA
12432014-05-01 Pedro Alves <palves@redhat.com>
1244
1245 * boards/local-remote-host.exp: Rename to ...
1246 * boards/local-remote-host-notty.exp: ... this.
1247
cac0dc8f
JB
12482014-04-28 Joel Brobecker <brobecker@adacore.com>
1249
1250 * gdb.ada/dyn_arrayidx: New testcase.
1251
9730e6cc
YQ
12522014-04-26 Yao Qi <yao@codesourcery.com>
1253
1254 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1255 and compute the length of function main. Save it in
1256 $main_length.
1257 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1258 (top-level): Use gdb_compile to compile objects into
1259 executable and restart GDB. Remove invocation to
1260 prepare_for_testing.
1261
7ae1a6a6
PA
12622014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1263 Pedro Alves <palves@redhat.com>
1264
1265 PR server/16255
1266 * gdb.multi/multi-attach.c: New file.
1267 * gdb.multi/multi-attach.exp: New file.
1268
4082afcc
PA
12692014-04-25 Pedro Alves <palves@redhat.com>
1270
1271 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1272 user.
1273 (top level): Test that "set remote conditional-breakpoints-packet
1274 off" works as intended.
1275 * gdb.base/dprintf.exp: Test that "set remote
1276 breakpoint-commands-packet off" works as intended.
1277 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1278 New function.
1279 (top level): Call it.
1280 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1281 remote fast-tracepoints-packet off" works as intended.
1282 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1283 * lib/gdb.exp (gdb_is_target_remote): ... here.
1284
2abc3f8d
DB
12852014-04-24 David Blaikie <dblaikie@gmail.com>
1286
1287 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1288 ensure clang would not discard them.
1289 * gdb.base/gdbvars.c: Ditto.
1290 * gdb.base/memattr.c: Ditto.
1291 * gdb.base/whatis.c: Ditto.
1292 * gdb.python/py-prettyprint.c: Ditto.
1293 * gdb.trace/actions.c: Ditto.
1294 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1295 ensure clang would not discard it.
1296
bfd39632
DB
12972014-04-24 David Blaikie <dblaikie@gmail.com>
1298
1299 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1300 clang to emit the full definition of type required by the test
1301 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1302
22842ff6
DB
13032014-04-24 David Blaikie <dblaikie@gmail.com>
1304
1305 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1306 coax Clang into emitting the definition of the type.
1307 * gdb.cp/pr10728-x.h (y): Ditto.
1308 * gdb.cp/pr10728-y.cc (y): Ditto.
1309
c2e827ad
DB
13102014-04-24 David Blaikie <dblaikie@gmail.com>
1311
1312 * gdb.base/label.exp: XFAIL label related tests under Clang.
1313 * gdb.cp/cplabel.exp: Ditto.
1314 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1315 under Clang those using labels.
1316
4c2d33e7
YQ
13172014-04-25 Yao Qi <yao@codesourcery.com>
1318
1319 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1320 double_label.
1321 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1322 partial_label and double_label.
1323
56083b99
DB
13242014-04-24 David Blaikie <dblaikie@gmail.com>
1325
1326 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1327
25d4e99d
DB
13282014-04-24 David Blaikie <dblaikie@gmail.com>
1329
1330 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1331 of the function to work across GCC and Clang.
1332 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1333 pointer types (const void ** const V void **).
1334
01f9f808
MS
13352014-04-24 Michael Sturm <michael.sturm@mintel.com>
1336 Walfred Tedeschi <walfred.tedeschi@intel.com>
1337
1338 * Makefile.in (EXECUTABLES): Added i386-avx512.
1339 * gdb.arch/i386-avx512.c: New file.
1340 * gdb.arch/i386-avx512.exp: Likewise.
1341
4b48d439
KS
13422014-04-23 Keith Seitz <keiths@redhat.com>
1343
1344 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1345 (mi_make_breakpoint_table): New procedure.
1346 (mi_create_breakpoint): Use mi_make_breakpoint
1347 and return the result.
1348 (mi_make_breakpoint): New procedure.
1349 (mi_build_kv_pairs): New procedure.
1350
1351 * gdb.mi/mi-break.exp: Remove unused globals,
1352 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1353 All callers updated.
1354 * gdb.mi/mi-dprintf.exp: Use variable to track command
1355 number.
1356 Update all callers of mi_create_breakpoint and use
1357 mi_make_breakpoint_table.
1358 Remove any unused global variables.
1359 * gdb.mi/mi-nonstop.exp: Likewise.
1360 * gdb.mi/mi-nsintrall.exp: Likewise.
1361 * gdb.mi/mi-nsmoribund.exp: Likewise.
1362 * gdb.mi/mi-nsthrexec.exp: Likewise.
1363 * gdb.mi/mi-reverse.exp: Likewise.
1364 * gdb.mi/mi-simplerun.exp: Likewise.
1365 * gdb.mi/mi-stepn.exp: Likewise.
1366 * gdb.mi/mi-syn-frame.exp: Likewise.
1367 * gdb.mi/mi-until.exp: Likewise.
1368 * gdb.mi/mi-var-cp.exp: Likewise.
1369 * gdb.mi/mi-var-display.exp: Likewise.
1370 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1371 * gdb.mi/mi2-var-child.exp: Likewise.
1372 * gdb.mi/mi-vla-c99.exp: Likewise.
1373 * lib/mi-support.exp: Likewise.
1374
1375 From Ian Lance Taylor <iant@cygnus.com>:
1376 * lib/gdb.exp (parse_args): New procedure.
1377
08351840
PA
13782014-04-23 Pedro Alves <palves@redhat.com>
1379
1380 * gdb.base/break-unload-file.c: New file.
1381 * gdb.base/break-unload-file.exp: New file.
1382 * gdb.base/sym-file-lib.c (baz): New function.
1383 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1384 field.
1385 (load): Store the segment's mapped size.
1386 (unload): New function.
1387 (unload_shlib): New function.
1388 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1389 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1390 set a breakpoint at baz, and call it.
1391 * gdb.base/sym-file.exp: New tests for stale breakpoint
1392 instructions.
1393
076855f9
PA
13942014-04-23 Pedro Alves <palves@redhat.com>
1395
1396 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1397 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1398 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1399 * gdb.base/hbreak-unmapped.c: New file.
1400 * gdb.base/hbreak-unmapped.exp: New file.
1401 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1402 * lib/gdb.exp (gdb_is_target_remote): ... here.
1403
483805cf
PA
14042014-04-22 Pedro Alves <palves@redhat.com>
1405
1406 * gdb.base/consecutive-step-over.c: New file.
1407 * gdb.base/consecutive-step-over.exp: New file.
1408
06d97543
PA
14092014-04-22 Pedro Alves <palves@redhat.com>
1410
1411 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1412 instead of send_gdb/gdb_expect.
1413
b4429ea2
YQ
14142014-04-22 Yao Qi <yao@codesourcery.com>
1415
1416 * lib/trace-support.exp (generate_tracefile): New procedure.
1417 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1418 return 0.
1419 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1420 if generate_tracefile returns 1.
1421
51d48146
PA
14222014-04-18 Tom Tromey <palves@redhat.com>
1423 Pedro alves <tromey@redhat.com>
1424
1425 PR backtrace/15558
1426 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1427 with a backtrace limit.
1428 * gdb.python/py-frame-inline.exp: Test running to an inline
1429 function with a backtrace limit, and printing the newest frame.
1430 * gdb.python/py-frame-inline.c (main): Call f.
1431
bd1dce5f
MS
14322014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1433
1434 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1435
40d1a503
MS
14362014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1437
1438 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1439 Drop prefix from unsupported source file path.
1440
389b98f7
YQ
14412014-04-17 Yao Qi <yao@codesourcery.com>
1442
1443 * lib/gdb.exp (with_target_charset): New proc.
1444 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1445 with_target_charset.
1446 (test_print_strings): Likewise.
1447 (test_repeat_bytes): Likewise.
1448 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1449 for some tests.
1450
22869d73
KS
14512014-04-16 Keith Seitz <keiths@redhat.com>
1452
1453 PR gdb/15827
1454 * gdb.dwarf2/corrupt.c: New file.
1455 * gdb.dwarf2/corrupt.exp: New file.
1456
c4f87ca6
KS
14572014-04-16 Keith Seitz <keiths@redhat.com>
1458
1459 PR c++/16597
1460 * gdb.cp/namelessclass.cc: New file.
1461 * gdb.cp/namelessclass.exp: New file.
1462 * gdb.cp/namelessclass.S: New file.
1463
ab19de87
DE
14642014-04-16 Doug Evans <dje@google.com>
1465
1466 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1467 Add comment.
1468 (gdbserver_default_get_comm_port): New function.
1469 (gdbserver_start): Check if board file provided
1470 "gdbserver,get_comm_port" and use it if so.
1471 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1472 (gdb,socketport): Set to "stdio".
1473 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1474 (stdio_gdbserver_template): Delete.
1475 (${board}_get_remote_address): Update.
1476 (${board}_build_remote_cmd): Delete.
1477 (${board}_get_comm_port): New function.
1478 (${board}_spawn): Update.
1479 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1480 Delete.
1481 (${board}_get_remote_address): Update.
1482 (${board}_get_comm_port): New function.
1483
fc98a809
AB
14842014-04-16 Andrew Burgess <aburgess@broadcom.com>
1485
1486 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1487 appearing in any order.
1488
87fd9e6e
DE
14892014-04-15 Doug Evans <dje@google.com>
1490
1491 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1492 uninitialized value of "description".
1493
099fc3ea
KS
14942014-04-15 Keith Seitz <keiths@redhat.com>
1495
1496 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1497 Remove unused globals.
1498 (test_running_the_program): Likewise.
1499 (test_controlled_execution): Likewise.
1500 (test_controlling_breakpoints): Likewise.
1501 (test_program_termination): Likewise.
1502
5da151d4
KS
15032014-04-15 Keith Seitz <keiths@redhat.com>
1504
1505 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1506 unused globals.
1507 (test_rbreak_creation_and_listing): Likewise.
1508 (test_ignore_count): Likewise.
1509 (test_error): Likewise.
1510
35e5d2f0
PA
15112014-04-15 Pedro Alves <palves@redhat.com>
1512
1513 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1514 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1515 sym-file-loader.c.
1516 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1517 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1518 to sym-file-loader.c.
1519 (struct library): Forward declare.
1520 (load_shlib, lookup_function): Change prototypes.
1521 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1522 (translate_offset): Remove declarations.
1523 (get_text_addr): New declaration.
1524 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1525 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1526 sym-file-loader.h.
1527 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1528 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1529 here from sym-file-loader.h.
1530 (struct library): New structure.
1531 (load_shlib, lookup_function): Change prototypes and adjust to
1532 work with a struct library.
1533 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1534 (translate_offset): Make static.
1535 (get_text_addr): New function.
1536 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1537
eb4c1710
PA
15382014-04-15 Pedro Alves <palves@redhat.com>
1539
1540 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1541
2d1baf52
PA
15422014-04-15 Pedro Alves <palves@redhat.com>
1543
1544 * gdb.base/sym-file-loader.c: Include <limits.h>.
1545 (SELF_LINK): New define.
1546 (get_origin): New function.
1547 (load_shlib): Use it.
1548 * gdb.base/sym-file.exp: Don't early return if the target is
1549 remote. Use runto_main, and issue fail is that fails. Use
1550 gdb_load_shlibs.
1551 (shlib_name): Delete.
1552 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1553
7dd6df01
PA
15542014-04-15 Pedro Alves <palves@redhat.com>
1555
1556 * gdb.base/sym-file.exp: Remove regex characters from test
1557 message. Don't refer to breakpoint numbers in test messages.
1558
b50c8614
KS
15592014-04-14 Keith Seitz <keiths@redhat.com>
1560
1561 PR c++/16253
1562 * gdb.cp/var-tag.cc: New file.
1563 * gdb.cp/var-tag.exp: New file.
1564 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1565 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1566 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1567 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1568
3d567982
TT
15692014-04-14 Tom Tromey <tromey@redhat.com>
1570
1571 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1572 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1573 type.
1574 * gdb.cp/enum-class.exp: New file.
1575 * gdb.cp/enum-class.cc: New file.
1576
0626fc76
TT
15772014-04-14 Tom Tromey <tromey@redhat.com>
1578
1579 * gdb.dwarf2/enum-type.exp: New file.
1580
dca325b3
SA
15812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1582
1583 * gdb.mi/mi-vla-c99.exp: New file.
1584 * gdb.mi/vla.c: New file.
1585
5854b38a
SA
15862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1587
1588 * gdb.base/vla-datatypes.c: New file.
1589 * gdb.base/vla-datatypes.exp: New file.
1590
463bb957
SA
15912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1592
1593 * gdb.base/vla-ptr.c: New file.
1594 * gdb.base/vla-ptr.exp: New file.
1595
3dd170be
SA
15962014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1597
1598 * gdb.dwarf2/count.exp: New file.
1599
5ecaaa66
SA
16002014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1601
1602 * gdb.base/vla-sideeffect.c: New file.
1603 * gdb.base/vla-sideeffect.exp: New file.
1604
41f1ada5
DB
16052014-04-14 David Blaikie <dblaikie@gmail.com>
1606
1607 * gdb.mi/non-stop.c: Add return value for non-void function return
1608 statement.
1609 * gdb.threads/staticthreads.c: Ditto.
1610
0be03e84
DE
16112014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1612 Doug Evans <xdje42@gmail.com>
1613
1614 * gdb.guile/scm-value.c: Improve test case.
1615 * gdb.guile/scm-value.exp: Add new test.
1616
f180a1fb
DB
16172014-04-11 David Blaikie <dblaikie@gmail.com>
1618
1619 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1620 override Clang's default.
1621
6b662e19
JB
16222014-04-11 Joel Brobecker <brobecker@adacore.com>
1623
1624 Revert the following changes (regressions):
1625
1626 * gdb.base/vla-sideeffect.c: New file.
1627 * gdb.base/vla-sideeffect.exp: New file.
1628
1629 * gdb.dwarf2/count.exp: New file.
1630
1631 * gdb.base/vla-multi.c: New file.
1632 * gdb.base/vla-multi.exp: New file.
1633
1634 * gdb.base/vla-ptr.c: New file.
1635 * gdb.base/vla-ptr.exp: New file.
1636
1637 * gdb.base/vla-datatypes.c: New file.
1638 * gdb.base/vla-datatypes.exp: New file.
1639
1640 * gdb.mi/mi-vla-c99.exp: New file.
1641 * gdb.mi/vla.c: New file.
1642
245a5f0b
KS
16432014-04-11 Keith Seitz <keiths@redhat.com>
1644
1645 PR c++/16675
1646 * gdb.cp/cpsizeof.exp: New file.
1647 * gdb.cp/cpsizeof.cc: New file.
1648
58a84dcf
SA
16492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1650
191a8a90
JB
1651 * gdb.mi/mi-vla-c99.exp: New file.
1652 * gdb.mi/vla.c: New file.
58a84dcf 1653
c8655f75
SA
16542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1655
1656 * gdb.base/vla-datatypes.c: New file.
1657 * gdb.base/vla-datatypes.exp: New file.
1658
024e13b4
SA
16592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1660
1661 * gdb.base/vla-ptr.c: New file.
1662 * gdb.base/vla-ptr.exp: New file.
1663
1a237e0e
SA
16642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1665
1666 * gdb.base/vla-multi.c: New file.
1667 * gdb.base/vla-multi.exp: New file.
1668
504f3432
SA
16692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1670
1671 * gdb.dwarf2/count.exp: New file.
1672
3bce8237
SA
16732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1674
191a8a90
JB
1675 * gdb.base/vla-sideeffect.c: New file.
1676 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 1677
322f9c21
YQ
16782014-04-11 Yao Qi <yao@codesourcery.com>
1679
1680 * gdb.base/completion.exp: Check file exists before running tests
1681 on file completion.
1682
d708bcd1
PA
16832014-04-10 Pedro Alves <palves@redhat.com>
1684
1685 * gdb.base/cond-eval-mode.c: New file.
1686 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1687 prepare_for_testing to build the new file. Check result of
1688 runto_main.
1689 (test_break, test_watch): New procedures.
1690 (top level): Use them.
1691
ae1d2761
PM
16922014-04-08 Pierre Muller <muller@sourceware.org>
1693
1694 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1695 Ctrl-V use for mingw hosts.
1696
7af389b8
SC
16972014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1698
1699 * gdb.python/py-value.c: Improve test case.
1700 * gdb.python/py-value.exp: Add new test.
1701
5e703181
DE
17022014-04-07 David Blaikie <dblaikie@gmail.com>
1703
1704 * lib/compiler.c: Identify the clang compiler.
1705 * lib/compiler.cc: Ditto.
1706
9810b410
YQ
17072014-04-03 Yao Qi <yao@codesourcery.com>
1708
1709 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1710
98d1b8dc
AB
17112014-04-01 Anton Blanchard <anton@samba.org>
1712
1713 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1714 messages unique.
1715
3114cea1
AB
17162014-04-01 Anton Blanchard <anton@samba.org>
1717
1718 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1719 prepare_for_testing.
1720
62f7182c
AB
17212014-04-01 Anton Blanchard <anton@samba.org>
1722
1723 * gdb.arch/ppc64-atomic-inst.c: Remove.
1724 * gdb.arch/ppc64-atomic-inst.S: New file.
1725 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1726
770e7fc7
DE
17272014-03-31 Doug Evans <dje@google.com>
1728
1729 * gdb.base/print-symbol-loading-lib.c: New file.
1730 * gdb.base/print-symbol-loading-main.c: New file.
1731 * gdb.base/print-symbol-loading.exp: New file.
1732
46e2bafa
YQ
17332014-03-31 Yao Qi <yao@codesourcery.com>
1734
1735 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1736
8776cfe9
JB
17372014-03-28 Joel Brobecker <brobecker@adacore.com>
1738
1739 * gdb.ada/mi_dyn_arr: New testcase.
1740
5d1ef361
DE
17412014-03-27 Doug Evans <dje@google.com>
1742
1743 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1744
b5bee914
YQ
17452014-03-27 Yao Qi <yao@codesourcery.com>
1746
1747 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1748 if target is nios2-*-*.
1749
0d4d0e77
YQ
17502014-03-26 Yao Qi <yao@codesourcery.com>
1751
1752 * lib/gdb.exp (readline_is_used): New proc.
1753 * gdb.base/completion.exp: Move tests on command complete up.
1754 Skip the rest of tests if readline is not used.
1755 * gdb.ada/complete.exp: Skp the test if readline is not
1756 used.
1757 * gdb.base/filesym.exp: Likewise.
1758 * gdb.base/macscp.exp: Likewise.
1759 * gdb.base/readline-ask.exp: Likewise.
1760 * gdb.base/readline.exp: Likewise.
1761 * gdb.python/py-cmd.exp: Likewise.
1762 * gdb.trace/tfile.exp: Likewise.
1763
29361eee
YQ
17642014-03-26 Yao Qi <yao@codesourcery.com>
1765
1766 * gdb.base/macscp.exp: Fix code format issues.
1767
bc9a5525
UW
17682014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1769
1770 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1771 * gdb.asm/powerpc64le.inc: New file.
1772
d3839ede
PA
17732014-03-25 Pedro Alves <palves@redhat.com>
1774 Doug Evans <dje@google.com>
1775
1776 * gdb.base/source-execution.c: New file.
1777 * gdb.base/source-execution.exp: New file.
1778 * gdb.base/source-execution.gdb: New file.
1779
01672a57
DE
17802014-03-24 Doug Evans <dje@google.com>
1781
1782 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1783 using fission.
1784
88bbeca9
HZ
17852014-03-24 Hui Zhu <hui@codesourcery.com>
1786 Pedro Alves <palves@redhat.com>
1787
1788 PR breakpoints/16101
1789 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1790 test pass/fail messages. Detect missing support for dprintf when
1791 breakpoints are actually inserted.
1792 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1793 breakpoints are actually inserted.
1794 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1795 fails.
1796
d2348791
JK
17972014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1798
1799 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1800
feef67ab
DE
18012014-03-22 Doug Evans <xdje42@gmail.com>
1802
1803 * gdb.python/python.exp (python not supported): Verify multi-line
1804 python command issues an error.
25d743f9 1805 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 1806 guile command issues an error.
feef67ab 1807
ecebef6a
MR
18082014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1809
1810 * gdb.threads/thread-specific.exp: Handle the lack of usable
1811 $this_breakpoint and $this_thread.
1812
ccdd1909
HZ
18132014-03-21 Hui Zhu <hui@codesourcery.com>
1814
1815 * gdb.base/attach.exp (do_command_attach_tests): New.
1816
beb460e8
PA
18172014-03-20 Tom Tromey <tromey@redhat.com>
1818 Pedro Alves <palves@redhat.com>
1819
1820 PR cli/15718
1821 * gdb.base/condbreak-call-false.c: New file.
1822 * gdb.base/condbreak-call-false.exp: New file.
1823
40acf43a
PA
18242014-03-20 Pedro Alves <palves@redhat.com>
1825
1826 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1827 Delete.
1828 (block_signals, unblock_signals): Delete.
1829 (child_function_2, main): Remove references to deleted variable
1830 and functions.
1831
9f5e1e02
PA
18322014-03-20 Pedro Alves <palves@redhat.com>
1833
1834 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1835 Use pthread_kill to signal thread 2.
1836 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1837 Adjust to make the test send itself a signal rather than using the
1838 host's "kill" command.
1839
99619bea
PA
18402014-03-20 Pedro Alves <palves@redhat.com>
1841
1842 * gdb.threads/multiple-step-overs.c: New file.
1843 * gdb.threads/multiple-step-overs.exp: New file.
1844 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1845 Adjust expected infrun debug output.
1846
2adfaa28
PA
18472014-03-20 Pedro Alves <palves@redhat.com>
1848
1849 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1850 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1851
31e77af2
PA
18522014-03-20 Pedro Alves <palves@redhat.com>
1853
1854 PR breakpoints/7143
1855 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1856 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1857 of gdb_test_multiple.
1858 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1859 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1860
b9f437de
PA
18612014-03-20 Pedro Alves <palves@redhat.com>
1862
1863 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1864 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1865
05adc73e
PA
18662014-03-19 Pedro Alves <palves@redhat.com>
1867
1868 * gdb.base/async.exp: Remove early return.
1869
6048b950
PA
18702014-03-19 Pedro Alves <palves@redhat.com>
1871
1872 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1873
8bcfb00a
PA
18742014-03-19 Pedro Alves <palves@redhat.com>
1875
1876 * gdb.base/async.exp (test_background): Expect \r\n after
1877 "completed." in the fail pattern.
1878
884e37dc
PA
18792014-03-19 Pedro Alves <palves@redhat.com>
1880
1881 * gdb.base/async.exp (test_background): New procedure.
1882 Use it for all background execution command tests.
1883
148e57e2
PA
18842014-03-19 Pedro Alves <palves@redhat.com>
1885
1886 * gdb.base/async.exp: Use prepare_for_testing.
1887
f48088c7
PA
18882014-03-19 Pedro Alves <palves@redhat.com>
1889
1890 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1891 the same line.
1892
e2f6c966
PA
18932014-03-19 Pedro Alves <palves@redhat.com>
1894
1895 * gdb.base/async.c (main): Add "jump here" and "until here" line
1896 marker comments.
1897 * gdb.base/async.exp (jump_here): New global.
1898 (jump& test): Use it.
1899 (until_here): New global.
1900 (until& test): Use it.
1901
c30568d4
PA
19022014-03-19 Pedro Alves <palves@redhat.com>
1903
1904 * gdb.base/async.exp: Don't frob gdb_protocol.
1905
0172b6a7
DE
19062014-03-18 Doug Evans <xdje42@gmail.com>
1907
1908 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1909 Fix spelling of exec-done-display.
1910
06c868a8
JK
19112014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1912
1913 PR gdb/15358
1914 * gdb.base/gdb-sigterm.c: New file.
1915 * gdb.base/gdb-sigterm.exp: New file.
1916
0c7e1a46
PA
19172014-03-18 Pedro Alves <palves@redhat.com>
1918
1919 PR gdb/13860
1920 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1921 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1922 solib-event.
1923
f7c77d93
JB
19242014-03-17 Joel Brobecker <brobecker@adacore.com>
1925
1926 * gdb.ada/pckd_arr_ren: New testcase.
1927
5a1e8c7a
DE
19282014-03-13 Doug Evans <xdje42@gmail.com>
1929
1930 PR guile/16612
1931 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1932 collect after discarding symbols.
1933
350e1a76
DE
19342014-03-13 Ludovic Courtès <ludo@gnu.org>
1935 Doug Evans <xdje42@gmail.com>
1936
1937 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
1938 to history survives a gc.
1939
a69900ae
PA
19402014-03-13 Pedro Alves <palves@redhat.com>
1941
1942 * gdb.base/default.exp: Don't test "target procfs".
1943
5db9f0bd
PA
19442014-03-13 Pedro Alves <palves@redhat.com>
1945
1946 * gdb.base/default.exp: Update "target child" and "target procfs"
1947 tests to not expect "Unix".
1948
b3ccfe11
TT
19492014-03-12 Tom Tromey <tromey@redhat.com>
1950
1951 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
1952 New procs. Add target-async tests.
1953 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
1954 Add target-async tests.
1955
646f4417
AA
19562014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1957
1958 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
1959 'func_start' and 'func_end' for the beginning and end of the
1960 function code, respectively.
1961 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
1962 'func_end' instead of 'func' and 'main'.
1963
288c211f
AA
19642014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1965
1966 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
1967 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
1968 generate the debug info assembler source.
1969
e0c0f156
AA
19702014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1971
1972 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
1973 * gdb.dwarf2/arr-subrange.exp: Likewise.
1974 * gdb.dwarf2/dwz.exp: Likewise.
1975 * gdb.dwarf2/method-ptr.exp: Likewise.
1976 * gdb.dwarf2/missing-sig-type.exp: Likewise.
1977 * gdb.dwarf2/subrange.exp: Likewise.
1978 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
1979 * gdb.dwarf2/implptrpiece.exp: Likewise.
1980 * gdb.dwarf2/nostaticblock.exp: Likewise.
1981
0e5c4555
AA
19822014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1983
1984 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
1985 directory to absolute path name arguments.
1986
5ec18f2b
JG
19872014-03-10 Joel Brobecker <brobecker@adacore.com>
1988
1989 * gdb.ada/tagged_access: New testcase.
1990
847fc4f2
MM
19912014-03-07 Markus Metzger <markus.t.metzger@intel.com>
1992
1993 * gdb.btrace/data.exp: Update expected output.
1994
cc3da688
YQ
19952014-03-06 Yao Qi <yao@codesourcery.com>
1996
1997 * gdb.trace/pr16508.exp: New file.
1998
0f26cec1
PA
19992014-03-05 Pedro Alves <palves@redhat.com>
2000
2001 PR gdb/16575
2002 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2003 procedure.
2004 (top level): Adjust to use it. Add tests that exercise breakpoint
2005 interaction with the code-cache.
2006
7a5a839f
LC
20072014-02-26 Ludovic Courtès <ludo@gnu.org>
2008
2009 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2010 test for 'history-append!'.
2011
31aa7e4e
JB
20122014-02-26 Joel Brobecker <brobecker@adacore.com>
2013
2014 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2015 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2016 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2017 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2018 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2019 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2020
1b588015
JB
20212014-02-26 Joel Brobecker <brobecker@adacore.com>
2022
2023 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2024 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2025 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2026
55426c9d
JB
20272014-02-26 Joel Brobecker <brobecker@adacore.com>
2028
2029 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2030
dc53a7ad
JB
20312014-02-26 Joel Brobecker <brobecker@adacore.com>
2032
2033 * gdb.dwarf2/arr-stride.c: New file.
2034 * gdb.dwarf2/arr-stride.exp: New file.
2035
12ab52e9
PA
20362014-02-26 Pedro Alves <palves@redhat.com>
2037
2038 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2039 that won't ever trigger. Make sure that GDB reports the correct
2040 breakpoint that caused the stop.
2041
849c862e
JK
20422014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2043
2044 PR gdb/16626
2045 * gdb.base/auto-load-script: New file.
2046 * gdb.base/auto-load.c: New file.
2047 * gdb.base/auto-load.exp: New file.
2048
71b7d793
JK
2049 PR gdb/16626
2050 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2051
e2f0d509
JK
20522014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2053
2054 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2055 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2056
50cc37c8
DE
20572014-02-24 Doug Evans <dje@google.com>
2058
2059 * lib/gdb.exp (run_on_host): Log error output if program fails.
2060
ea4758f2
PA
20612014-02-21 Pedro Alves <palves@redhat.com>
2062
2063 * gdb.threads/step-after-sr-lock.c: Rename to ...
2064 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2065 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2066 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2067 ... this.
2068
d7b30f67
SDJ
20692014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2070
2071 PR tdep/16397
2072 * gdb.arch/amd64-stap-special-operands.exp: New file.
2073 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2074 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2075 * gdb.arch/amd64-stap-triplet.S: Likewise.
2076 * gdb.arch/amd64-stap-triplet.c: Likewise.
2077
83deb43f
JB
20782014-02-20 Joel Brobecker <brobecker@adacore.com>
2079
2080 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2081 in .section pseudo-op.
2082
adde2bff
DE
20832014-02-20 lin zuojian <manjian2006@gmail.com>
2084 Joel Brobecker <brobecker@adacore.com>
2085 Doug Evans <xdje42@gmail.com>
2086
2087 PR symtab/16581
2088 * gdb.dwarf2/dw2-icycle.S: New file.
2089 * gdb.dwarf2/dw2-icycle.c: New file.
2090 * gdb.dwarf2/dw2-icycle.exp: New file.
2091
f7bd0f78
SC
20922014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2093
2094 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2095 operations on gdb.Value objects.
2096 * gdb.python/py-value-cc.exp: Add new test to test operations on
2097 gdb.Value objects.
2098
c17ef0d5
DE
20992014-02-18 Doug Evans <dje@google.com>
2100
2101 * Makefile.in (TESTS): New variable.
2102 (expanded_tests, expanded_tests_or_none): New variables
2103 (check-single): Pass $(expanded_tests_or_none) to runtest.
2104 (check-parallel): Only run tests in $(TESTS) if non-empty.
2105 (check/no-matching-tests-found): New rule.
2106 * README: Document TESTS makefile variable.
2107
5dd3176f
DE
21082014-02-18 Doug Evans <dje@google.com>
2109
2110 * Makefile.in (check-parallel): rm -rf outputs temp.
2111
0b10be4f
JK
21122014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2113
2114 Fix "ERROR: no fileid for" in the testsuite.
2115 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2116
85f224e7
DE
21172014-02-12 Doug Evans <dje@google.com>
2118
2119 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2120 (MISCELLANEOUS): New variable.
2121 (clean): rm -rf $(MISCELLANEOUS).
2122 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2123 dwp live in the same directory as symlinks, with each symlink pointed
2124 to a differently named file in a different directory.
2125
149b30ff
DE
21262014-02-11 Doug Evans <dje@google.com>
2127
2128 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2129 of Tcl file commands.
2130
1dfdac32
MK
21312014-02-10 Mark Kettenis <kettenis@gnu.org>
2132
2133 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2134 "kill -SIGUSR1 -1".
2135
aa4fb036
JB
21362014-02-10 Joel Brobecker <brobecker@adacore.com>
2137
2138 * gdb.ada/tick_length_array_enum_idx: New testcase.
2139
ed3ef339
DE
21402014-02-10 Doug Evans <xdje42@gmail.com>
2141
2142 * configure.ac (AC_OUTPUT): Add gdb.guile.
2143 * configure: Regenerate.
2144 * lib/gdb-guile.exp: New file.
2145 * lib/gdb.exp (get_target_charset): New function.
2146 * gdb.base/help.exp: Update expected output from "apropos apropos".
2147 * gdb.guile/Makefile.in: New file.
2148 * gdb.guile/guile.exp: New file.
2149 * gdb.guile/scm-arch.c: New file.
2150 * gdb.guile/scm-arch.exp: New file.
2151 * gdb.guile/scm-block.c: New file.
2152 * gdb.guile/scm-block.exp: New file.
2153 * gdb.guile/scm-breakpoint.c: New file.
2154 * gdb.guile/scm-breakpoint.exp: New file.
2155 * gdb.guile/scm-disasm.c: New file.
2156 * gdb.guile/scm-disasm.exp: New file.
2157 * gdb.guile/scm-equal.c: New file.
2158 * gdb.guile/scm-equal.exp: New file.
2159 * gdb.guile/scm-error.exp: New file.
2160 * gdb.guile/scm-error.scm: New file.
2161 * gdb.guile/scm-frame-args.c: New file.
2162 * gdb.guile/scm-frame-args.exp: New file.
2163 * gdb.guile/scm-frame-args.scm: New file.
2164 * gdb.guile/scm-frame-inline.c: New file.
2165 * gdb.guile/scm-frame-inline.exp: New file.
2166 * gdb.guile/scm-frame.c: New file.
2167 * gdb.guile/scm-frame.exp: New file.
2168 * gdb.guile/scm-generics.exp: New file.
2169 * gdb.guile/scm-gsmob.exp: New file.
2170 * gdb.guile/scm-iterator.c: New file.
2171 * gdb.guile/scm-iterator.exp: New file.
2172 * gdb.guile/scm-math.c: New file.
2173 * gdb.guile/scm-math.exp: New file.
2174 * gdb.guile/scm-objfile-script-gdb.in: New file.
2175 * gdb.guile/scm-objfile-script.c: New file.
2176 * gdb.guile/scm-objfile-script.exp: New file.
2177 * gdb.guile/scm-objfile.c: New file.
2178 * gdb.guile/scm-objfile.exp: New file.
2179 * gdb.guile/scm-ports.exp: New file.
2180 * gdb.guile/scm-pretty-print.c: New file.
2181 * gdb.guile/scm-pretty-print.exp: New file.
2182 * gdb.guile/scm-pretty-print.scm: New file.
2183 * gdb.guile/scm-section-script.c: New file.
2184 * gdb.guile/scm-section-script.exp: New file.
2185 * gdb.guile/scm-section-script.scm: New file.
2186 * gdb.guile/scm-symbol.c: New file.
2187 * gdb.guile/scm-symbol.exp: New file.
2188 * gdb.guile/scm-symtab-2.c: New file.
2189 * gdb.guile/scm-symtab.c: New file.
2190 * gdb.guile/scm-symtab.exp: New file.
2191 * gdb.guile/scm-type.c: New file.
2192 * gdb.guile/scm-type.exp: New file.
2193 * gdb.guile/scm-value-cc.cc: New file.
2194 * gdb.guile/scm-value-cc.exp: New file.
2195 * gdb.guile/scm-value.c: New file.
2196 * gdb.guile/scm-value.exp: New file.
2197 * gdb.guile/source2.scm: New file.
2198 * gdb.guile/types-module.cc: New file.
2199 * gdb.guile/types-module.exp: New file.
2200
7026a7c1
YQ
22012014-02-10 Yao Qi <yao@codesourcery.com>
2202
2203 PR testsuite/16543
2204 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2205 * configure: Regenerated.
2206 * Makefile.in: New file.
2207
6c466447
AS
22082014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2209
2210 * gdb.python/py-framefilter.exp: Fix typo.
2211
6e854735
YQ
22122014-02-08 Yao Qi <yao@codesourcery.com>
2213
2214 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2215 that no =breakpoint-modified is emitted when breakpoints are
2216 modified through MI commands.
2217
d137e6dc
PA
22182014-02-07 Pedro Alves <pedro@codesourcery.com>
2219 Pedro Alves <palves@redhat.com>
2220
2221 * gdb.threads/step-after-sr-lock.c: New file.
2222 * gdb.threads/step-after-sr-lock.exp: New file.
2223
b5ee5a50
PA
22242014-02-07 Pedro Alves <palves@redhat.com>
2225
2226 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2227
3c77faf3
JK
22282014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2229
2230 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2231 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2232
6dddc817
DE
22332014-02-06 Doug Evans <xdje42@gmail.com>
2234
2235 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2236 output.
2237
2238 * gdb.gdb/python-interrupts.exp: New file.
2239
de7b2893
YQ
22402014-02-05 Yao Qi <yao@codesourcery.com>
2241
2242 * gdb.trace/report.exp (use_collected_data): Test the output
2243 of "info threads" and "info inferiors".
2244
66d032ac
YQ
22452014-02-05 Yao Qi <yao@codesourcery.com>
2246
2247 Revert this patch:
2248
2249 2013-05-24 Yao Qi <yao@codesourcery.com>
2250
2251 * gdb.trace/tfile.exp: Test inferior and thread.
2252
591a12a1
UW
22532014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2254
2255 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2256 on a function.
2257 * gdb.base/step-bt.c: Call hello via function pointer to make
2258 sure its first instruction is executed on powerpc64le-linux.
2259
0ff3e01f
UW
22602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2261
2262 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2263
084ee545
UW
22642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2265
2266 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2267 of the test patterns for use on little-endian systems.
2268
6ed14ff3
UW
22692014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2270
2271 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2272 (decimal_vector): Fix for little-endian.
2273
401e27fd
JM
22742014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2275
2276 * gdb.arch/sparc-sysstep.exp: New file.
2277 * gdb.arch/sparc-sysstep.c: Likewise.
2278
2279 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2280
8b924729
EBM
22812014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2282
2283 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2284
fb151210
JB
22852014-01-23 Tom Tromey <tromey@redhat.com>
2286
2287 * gdb.ada/array_char_idx: New testcase.
2288
0740f8d8
TT
22892014-01-23 Tom Tromey <tromey@redhat.com>
2290
2291 PR python/16487:
2292 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2293 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2294 classes.
2295
21909fa1
TT
22962014-01-23 Tom Tromey <tromey@redhat.com>
2297
2298 PR python/16491:
2299 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2300 string from an inferior frame.
2301 * gdb.python/py-framefilter-mi.exp: Update.
2302
87ce2a04
DE
23032014-01-22 Doug Evans <dje@google.com>
2304
2305 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2306
237b092b
AA
23072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2308
2309 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2310
d674a709
AA
23112014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2312
2313 * gdb.trace/entry-values.exp: Remove excess space character from
2314 regex patterns. Handle s390 call instruction.
2315
20fa3390
AA
23162014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2317
2318 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2319 define "*_start" label. Make "name" static.
2320 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2321 ${name} by references to ${name}_start.
2322
78466714
AA
23232014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2324
2325 * gdb.base/info-macros.exp: Remove "debug" from the compile
2326 options.
2327
ec9f644a
IB
23282014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2329
2330 * gdb.dlang/demangle.exp: New file.
2331
94b1b47e
IB
23322014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2333
2334 * gdb.dlang/primitive-types.exp: New file.
2335
7f420862
IB
23362014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2337
2338 * configure.ac: Create gdb.dlang/Makefile.
2339 * configure: Regenerate.
2340 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2341 * gdb.dlang/Makefile.in: New file.
2342 * lib/d-support.exp: New file.
2343 * lib/gdb.exp (skip_d_tests): New proc.
2344
52834460
MM
23452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2346
2347 * gdb.btrace/delta.exp: Check reverse stepi.
2348 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2349 * gdb.btrace/finish.exp: New.
2350 * gdb.btrace/next.exp: New.
2351 * gdb.btrace/nexti.exp: New.
2352 * gdb.btrace/record_goto.c: Add comments.
2353 * gdb.btrace/step.exp: New.
2354 * gdb.btrace/stepi.exp: New.
2355 * gdb.btrace/multi-thread-step.c: New.
2356 * gdb.btrace/multi-thread-step.exp: New.
2357 * gdb.btrace/rn-dl-bind.c: New.
2358 * gdb.btrace/rn-dl-bind.exp: New.
2359 * gdb.btrace/data.c: New.
2360 * gdb.btrace/data.exp: New.
2361 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2362
6e07b1d2
MM
23632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2364
2365 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2366 * gdb.btrace/exception.exp: Update.
2367 * gdb.btrace/instruction_history.exp: Update.
2368 * gdb.btrace/record_goto.exp: Update.
2369 * gdb.btrace/tailcall.exp: Update.
2370 * gdb.btrace/unknown_functions.exp: Update.
2371 * gdb.btrace/delta.exp: New.
2372
0b722aec
MM
23732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2374
2375 * gdb.btrace/record_goto.exp: Add backtrace test.
2376 * gdb.btrace/tailcall.exp: Add backtrace test.
2377
066ce621
MM
23782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2379
2380 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2381 * gdb.btrace/record_goto.c: New.
2382 * gdb.btrace/record_goto.exp: New.
2383 * gdb.btrace/x86-record_goto.S: New.
2384
0688d04e
MM
23852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2386
2387 * gdb.btrace/function_call_history.exp: Update tests.
2388 * gdb.btrace/instruction_history.exp: Update tests.
2389
8710b709
MM
23902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2391
2392 * gdb.btrace/function_call_history.exp: Fix expected field
2393 order for "record function-call-history".
2394 Add new tests for "record function-call-history /c".
2395 * gdb.btrace/exception.cc: New.
2396 * gdb.btrace/exception.exp: New.
2397 * gdb.btrace/tailcall.exp: New.
2398 * gdb.btrace/x86-tailcall.S: New.
2399 * gdb.btrace/x86-tailcall.c: New.
2400 * gdb.btrace/unknown_functions.c: New.
2401 * gdb.btrace/unknown_functions.exp: New.
2402 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2403
5de9129b
MM
24042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2405
2406 * gdb.btrace/instruction_history.exp: Update.
2407 * gdb.btrace/function_call_history.exp: Update.
2408
23a7fe75
MM
24092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2410
2411 * gdb.btrace/function_call_history.exp: Fix expected function
2412 trace.
2413 * gdb.btrace/instruction_history.exp: Initialize traced.
2414 Remove traced_functions.
2415
724c7dd8
MM
24162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2417
2418 * gdb.btrace/function_call_history.exp: Update
2419 * gdb.btrace/instruction_history.exp: Update.
2420
6d78d93b
MM
24212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2422
2423 * gdb.btrace/enable.exp: Update expected text.
2424
93a360cc
OJ
24252014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2426
2427 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2428 bytes.
2429
3772b53f
MR
24302014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2431
2432 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2433
596662fa
OJ
24342014-01-15 Omair Javaid <omair.javaid@linaro.org>
2435
2436 * lib/gdb.exp (supports_process_record): Return true for
2437 arm*-linux*. (supports_reverse): Likewise.
2438
b5b08fb4
SC
24392014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2440
2441 PR python/15464
2442 PR python/16113
2443 * gdb.python/py-type.c: Enhance test case.
2444 * gdb.python/py-value-cc.cc: Likewise
2445 * gdb.python/py-type.exp: Add new tests.
2446 * gdb.python/py-value-cc.exp: Likewise
2447
52d7fb13
AA
24482014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2449 Pedro Alves <palves@redhat.com>
2450
2451 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2452 Make "name" extern.
2453 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2454 references to ${name}_start by references to ${name}.
2455
a2cd8cfe
JB
24562014-01-10 Joel Brobecker <brobecker@adacore.com>
2457
2458 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2459
4e23fced
JB
24602014-01-10 Joel Brobecker <brobecker@adacore.com>
2461
2462 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2463
c6a9e42c
PA
24642014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2465 Pedro Alves <palves@redhat.com>
2466
2467 * gdb.mi/mi-info-os.exp: Connect to the target with
2468 mi_gdb_target_load.
2469
b7ea362b
PA
24702014-01-08 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.threads/reconnect-signal.c: New file.
2473 * gdb.threads/reconnect-signal.exp: New file.
2474
5e3f4fab
EBM
24752014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2476
2477 * gdb.base/source-dir.exp: New file.
2478
79301218
JB
24792014-01-07 Joel Brobecker <brobecker@adacore.com>
2480
2481 * gdb.ada/mi_interface: New testcase.
2482
8e355c5d
JB
24832014-01-07 Joel Brobecker <brobecker@adacore.com>
2484
2485 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2486 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2487 gdb.ada/pp-rec-component/pck.ads: New files.
2488
c0d48811
JB
24892014-01-07 Joel Brobecker <brobecker@adacore.com>
2490
2491 * gdb.python/py-pp-integral.c: New file.
2492 * gdb.python/py-pp-integral.py: New file.
2493 * gdb.python/py-pp-integral.exp: New file.
2494
17b609c3 2495For older changes see ChangeLog-1993-2013.
c906108c 2496\f
8d8cb839
EZ
2497;; Local Variables:
2498;; mode: change-log
2499;; left-margin: 8
2500;; fill-column: 74
2501;; version-control: never
2502;; End:
902f2ccb 2503
14f8b115 2504 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
2505 Copying and distribution of this file, with or without modification,
2506 are permitted provided the copyright notice and this notice are preserved.