Add read-only markers to generated gdb/regformats/ .dat files
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6a5f3f43
YQ
12014-09-30 Yao Qi <yao@codesourcery.com>
2
3 * lib/prelink-support.exp (build_executable_own_libs): Error if
4 the target isn't native.
5
345bcc73
YQ
62014-09-30 Yao Qi <yao@codesourcery.com>
7
8 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9 false.
10
a25a5a45
PA
112014-09-22 Pedro Alves <palves@redhat.com>
12
13 * gdb.threads/break-while-running.exp: New file.
14 * gdb.threads/break-while-running.c: New file.
15
00ba3162
YQ
162014-09-19 Yao Qi <yao@codesourcery.com>
17
18 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19 Invoke test. Restart GDB with --readnow and invoke test again.
20
c3b7b696
YQ
212014-09-19 Yao Qi <yao@codesourcery.com>
22
23 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
24 proc set_breakpoint_on_gcd_function. Invoke
25 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
26 invoke set_breakpoint_on_gcd_function again.
27
2b4fd423
DE
282014-09-18 Doug Evans <dje@google.com>
29
30 * gdb.dwarf2/symtab-producer.exp: New file.
31
a5947601
SDJ
322014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
33
34 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
35 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
36 * gdb.base/global-var-nested-by-dso.c: Likewise.
37 * gdb.base/global-var-nested-by-dso.exp: Likewise.
38
91c19059
SDJ
392014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
40 Pedro Alves <palves@redhat.com>
41
42 * gdb.base/watch-bitfields.exp: Pass string other than test file
43 name to prepare_for_testing.
44 (watch): New procedure.
45 (expect_watchpoint): Use with_test_prefix.
46 (top level): Factor out tests to ...
47 (test_watch_location, test_regular_watch): ... these new
48 procedures, and use with_test_prefix and gdb_continue_to_end.
49
bb9d5f81
PP
502014-09-16 Patrick Palka <patrick@parcs.ath.cx>
51
52 PR breakpoints/12526
53 * gdb.base/watch-bitfields.exp: New file.
54 * gdb.base/watch-bitfields.c: New file.
55
635856f5
PA
562014-09-16 Pedro Alves <palves@redhat.com>
57
58 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
59 software and hardware addresses, not software address against
60 itself.
61
7280ceea
PA
622014-09-16 Pedro Alves <palves@redhat.com>
63
64 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
65 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
66
428b16bd
PA
672014-09-16 Pedro Alves <palves@redhat.com>
68
69 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
70 files.
71 * gdb.base/a2-run.exp: Remove all code guarded by istarget
72 "*-*-vxworks*" throughout.
73 * gdb.base/break.exp: Likewise.
74 * gdb.base/default.exp: Likewise.
75 * gdb.base/scope.exp: Likewise.
76 * gdb.base/sepdebug.exp: Likewise.
77 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
78 throughout.
79 * gdb.base/run.c: Likewise.
80 * gdb.base/sepdebug.c: Likewise.
81 * gdb.hp/gdb.aCC/run.c: Likewise.
82 * gdb.reverse/until-reverse.c: Likewise.
83 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
84
666d413c
YQ
852014-09-16 Yao Qi <yao@codesourcery.com>
86
87 * boards/local-remote-host-native.exp: New file.
88
57cbd724
DE
892014-09-14 Doug Evans <xdje42@gmail.com>
90
91 * gdb.threads/queue-signal.c (thread_count): New variable.
92 (thread_count_mutex, thread_count_condvar): New variables.
93 (incr_thread_count, wait_all_threads_running): New functions.
94 (main): Wait for all threads to be in their thread functions.
95
81219e53
DE
962014-09-13 Doug Evans <xdje42@gmail.com>
97
98 * gdb.threads/queue-signal.c: New file.
99 * gdb.threads/queue-signal.exp: New file.
100
3714cea7
DE
1012014-09-13 Doug Evans <xdje42@gmail.com>
102
103 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
104 be consistent with what default_gdb_init uses.
105 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
106 the plain text of the prompt. Add some logging printfs.
107 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
108
fa43b1d7
PA
1092014-09-12 Pedro Alves <palves@redhat.com>
110
111 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
112 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
113 * gdb.arch/i386-size-overlap.exp: Likewise.
114 * gdb.arch/i386-size.exp: Likewise.
115 * gdb.arch/i386-unwind.exp: Likewise.
116 * gdb.base/a2-run.exp: Likewise.
117 * gdb.base/break.exp: Likewise.
118 * gdb.base/charset.exp: Likewise.
119 * gdb.base/chng-syms.exp: Likewise.
120 * gdb.base/commands.exp: Likewise.
121 * gdb.base/dbx.exp: Likewise.
122 * gdb.base/find.exp: Likewise.
123 * gdb.base/funcargs.exp: Likewise.
124 * gdb.base/jit-simple.exp: Likewise.
125 * gdb.base/reread.exp: Likewise.
126 * gdb.base/sepdebug.exp: Likewise.
127 * gdb.base/step-bt.exp: Likewise.
128 * gdb.cp/mb-inline.exp: Likewise.
129 * gdb.cp/mb-templates.exp: Likewise.
130 * gdb.objc/basicclass.exp: Likewise.
131 * gdb.threads/killed.exp: Likewise.
132
9d9bf2df
EBM
1332014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
134
135 PR tdep/17379
136 * gdb.arch/powerpc-stackless.S: New file.
137 * gdb.arch/powerpc-stackless.exp: New file.
138
1cf2f1b0
JK
1392014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
140
141 * gdb.base/attach.c: Include unistd.h.
142 (main): Call alarm. Add label postloop.
143 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
144 gdb_breakpoint, gdb_continue_to_breakpoint.
145 (test_command_line_attach_run): Kill ${testpid} in one exit path.
146
98880d46
PA
1472014-09-11 Pedro Alves <palves@redhat.com>
148
149 PR gdb/17347
150 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
151 * gdb.base/attach.exp (test_command_line_attach_run): New
152 procedure.
153 (top level): Call it.
154
4c92ff2c
PA
1552014-09-11 Pedro Alves <palves@redhat.com>
156
157 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
158 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
159 (do_command_attach_tests): Use spawn_wait_for_attach.
160 * gdb.base/solib-overlap.exp: Likewise.
161 * gdb.multi/multi-attach.exp: Likewise.
162 * gdb.python/py-prompt.exp: Likewise.
163 * gdb.python/py-sync-interp.exp: Likewise.
164 * gdb.server/ext-attach.exp: Likewise.
165
3adc1a7d
GKB
1662014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
167
168 * gdb.fortran/array-element.exp: Remove unexpected "continue"
169 command in testcase. Simplify testcase.
170
96334934
JB
1712014-09-10 Joel Brobecker <brobecker@adacore.com>
172
173 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
174
eb479039
JB
1752014-09-10 Joel Brobecker <brobecker@adacore.com>
176
177 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
178
deede10c
JB
1792014-09-10 Joel Brobecker <brobecker@adacore.com>
180
181 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
182
7828a5f5
JB
1832014-09-10 Joel Brobecker <brobecker@adacore.com>
184
185 * gdb.dwarf2/dynarr-ptr.c: New file.
186 * gdb.dwarf2/dynarr-ptr.exp: New file.
187
33aeebcf
MR
1882014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
189
190 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
191 of 30 rather than hardcoding 120 for a slow test case. Take the
192 `gdb,timeout' target setting into account for this calculation.
193 Don't extend the timeout for the test cases that don't need it.
194
7b415901
MR
1952014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
196
197 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
198 a factor of 2 for a slow test case. Take the `gdb,timeout'
199 target setting into account for this calculation.
200 * gdb.reverse/until-precsave.exp: Increase the timeout by
201 a factor of 15 and 3 respectively rather than adding 120
202 for a pair of slow test cases. Take the `gdb,timeout'
203 target setting into account for this calculation.
204
4a40f85a
MR
2052014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
206
207 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
208 timeout, don't pass one down to gdb_expect.
209 (gdb_expect): Rework timeout selection.
210
09635af7
MR
2112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
212
213 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
214 exception on timeout.
215 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
216 (gdbserver_start_extended): Catch any `gdbserver_start' error
217 exceptions.
218 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
219 * lib/mi-support.exp (mi_gdb_target_load): Catch any
220 `gdbserver_gdb_load' error exceptions.
221
2bdd10b7
MR
2222014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
223
224 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
225 120 on waiting for the TCP socket to open.
226
316935f0
DE
2272014-09-09 Doug Evans <xdje42@gmail.com>
228
229 * gdb.base/default.exp (show_conv_list): Add _caller_is,
230 _caller_matches, _any_caller_is, _any_caller_matches.
231
83740597
DE
2322014-09-09 Doug Evans <xdje42@gmail.com>
233
234 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
235
4c122fc3
YQ
2362014-09-09 Yao Qi <yao@codesourcery.com>
237
238 * gdb.mi/mi-var-display.exp: Set print symbol off.
239
a9f116cb
GKB
2402014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
241
242 PR gdb/17035
243 * gdb.base/commands.exp: Add tests to verify user-defined
244 commands with empty bodies.
245 * gdb.python/py-cmd.exp: Test that we don't show user-defined
246 python commands in `show user command`.
247 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
248 scheme commands in `show user command`.
249
c75bd3a2
JK
2502014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
251
252 PR python/17355
253 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
254 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
255 * gdb.python/py-framefilter-invalidarg.exp: New file.
256 * gdb.python/py-framefilter-invalidarg.py: New file.
257
faa42425
DE
2582014-09-06 Doug Evans <xdje42@gmail.com>
259
260 PR 15276
261 * gdb.python/py-caller-is.c: New file.
262 * gdb.python/py-caller-is.exp: New file.
263
474ca4f6
SDJ
2642014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
265
266 PR gdb/17235
267 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
268 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
269
eb0b0463
SDJ
2702014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
271
272 PR fortran/17237
273 * gdb.fortran/print-formatted.exp: New file.
274 * gdb.fortran/print-formatted.f90: Likewise.
275
5f3b99cf
SS
2762014-09-03 Sasha Smundak <asmundak@google.com>
277
278 * gdb.python/py-frame.exp: Test Frame.read_register.
279
7d793aa9
SDJ
2802014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
281
282 PR python/16699
283 * gdb.python/py-completion.exp: New file.
284 * gdb.python/py-completion.py: Likewise.
285
fb0576e9
DE
2862014-08-28 Doug Evans <dje@google.com>
287
288 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
289 eax,etc. are live with values set by gdb and thus the compiler can't
290 use them.
291 * gdb.arch/i386-pseudo.c (main): Ditto.
292
ee92b0dd
DE
2932014-08-27 Doug Evans <dje@google.com>
294
295 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
296
6649db35
DE
2972014-08-25 Doug Evans <dje@google.com>
298
299 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
300 (main): Ditto.
301
564b7600
DE
3022014-08-25 Doug Evans <dje@google.com>
303
304 * gdb.threads/thread-execl.exp: #include <stdio.h>.
305
3881fb67
YQ
3062014-08-24 Yao Qi <yao@codesourcery.com>
307
308 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
309 symbol off.
310 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
311
a05a36a5
DE
3122014-08-22 Doug Evans <dje@google.com>
313
314 PR 17276
315 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
316 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
317 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
318
7c343b48
YQ
3192014-08-22 Yao Qi <yao@codesourcery.com>
320
321 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
322 * gdb.python/py-finish-breakpoint2.exp: Likewise.
323 * gdb.python/python.exp: Likewise. Use .py file on the host
324 instead of the build.
325
22fd09ae
JK
3262014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
327
328 * gdb.threads/gcore-stale-thread.c: New file.
329 * gdb.threads/gcore-stale-thread.exp: New file.
330
a8454a7c
PA
3312014-08-21 Pedro Alves <palves@redhat.com>
332
333 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
334 * gdb.base/gcore-relro-pie.exp: Likewise.
335 * gdb.base/gcore-relro.exp: Likewise.
336 * gdb.base/gcore.exp: Likewise.
337 * gdb.base/print-symbol-loading.exp: Likewise.
338 * gdb.threads/gcore-thread.exp: Likewise.
339 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
340
2a31c623
PA
3412014-08-20 Pedro Alves <palves@redhat.com>
342 Jan Kratochvil <jan.kratochvil@redhat.com>
343
344 * Makefile.in (EXTRA_RULES, CC): New variables, get from
345 configure.
346 (EXPECT): Handle READ1 being set.
347 (all): Depend on EXTRA_RULES.
348 (check-read1, expect-read1, read1.so, read1): New rules.
349 * README (Testsuite Parameters): Document the READ1 make variable.
350 (Race detection): New section.
351 * configure: Regenerate.
352 * configure.ac: If build==host==target, and running under a
353 GNU/glibc system, add read1 to the extra Makefile rules.
354 (EXTRA_RULES): AC_SUBST it.
355 * lib/read1.c: New file.
356
d36430db
JB
3572014-08-20 Joel Brobecker <brobecker@adacore.com>
358
359 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
360 the handling of variables declared as a typedef to an array
361 which a DW_AT_data_location attribute.
362
9a0dc9e3
PA
3632014-08-19 Andrew Burgess <aburgess@broadcom.com>
364 Pedro Alves <palves@redhat.com>
365
366 PR symtab/14604
367 PR symtab/14605
368 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
369 gdb_test.
370
0718a8da
PA
3712014-08-19 Pedro Alves <palves@redhat.com>
372
373 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
374
13b448cd
YQ
3752014-08-19 Yao Qi <yao@codesourcery.com>
376
377 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
378 right line.
379
1cbf5077
DB
3802014-08-18 David Blaikie <dblaikie@gmail.com>
381
382 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
383
bf0fae19
JB
3842014-08-18 Joel Brobecker <brobecker@adacore.com>
385
386 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
387 attribute in array range.
388
3c8c5dcc
JB
3892014-08-18 Joel Brobecker <brobecker@adacore.com>
390
391 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
392
e66d4446
SC
3932014-08-15 Siva Chandra Reddy <sivachandra@google.com>
394
395 PR c++/17132
396 * gdb.cp/pr17132.cc: New file.
397 * gdb.cp/pr17132.exp: New file.
398
940df408
SC
3992014-08-15 Siva Chandra Reddy <sivachandra@google.com>
400
401 * gdb.python/py-xmethods.py (A_getarrayind)
402 (E_method_char_worker.__call__, E_method_int_worker.__call__):
403 Use 'print' with function call syntax.
404 (E_method_matcher.match): Fix tab vs space indentation mixup.
405
ebcc6c3a
YQ
4062014-08-15 Yao Qi <yao@codesourcery.com>
407
408 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
409 false.
410
775e0f04
YQ
4112014-08-15 Yao Qi <yao@codesourcery.com>
412
413 * gdb.cp/casts.exp: Set print symbol off.
414 * gdb.cp/class2.exp: Likewise.
415 * gdb.cp/overload.exp: Likewise.
416 * gdb.cp/templates.exp: Likewise.
417
d769e349
DE
4182014-08-11 Doug Evans <dje@google.com>
419
420 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
421 (test_load_shlib): Update.
422
20c6f1e1
YQ
4232014-08-09 Yao Qi <yao@codesourcery.com>
424
425 * gdb.base/display.exp: Invoke is_address_zero_readable.
426 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
427 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
428 * gdb.base/hbreak-unmapped.exp: Return if
429 is_address_zero_readable returns true.
430 * gdb.base/signest.exp: Likewise.
431 * gdb.base/signull.exp: Likewise.
432 * gdb.base/sigbpt.exp: Likewise.
433 * gdb.guile/scm-disasm.exp: Do the test if
434 is_address_zero_readable returns false.
435 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
436 * gdb.python/py-arch.exp: Likewise.
437 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
438 * lib/gdb.exp (is_address_zero_readable): New proc.
439
5792e8e3
YQ
4402014-08-09 Yao Qi <yao@codesourcery.com>
441
442 PR testsuite/13443
443 * gdb.mi/mi-var-display.exp: Make test messages unique.
444
3cecbbbe
TT
4452014-08-04 Tom Tromey <tromey@redhat.com>
446
447 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
448 target 0".
449
00b51ff5
TT
4502014-08-04 Tom Tromey <tromey@redhat.com>
451
452 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
453 "target_resume".
454
6908c509
JB
4552014-08-01 Joel Brobecker <brobecker@adacore.com>
456
457 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
458 inner_vla_struct_object_size.
459 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
460 as xfail.
461
cc6563d2
PA
4622014-07-30 Pedro Alves <palves@redhat.com>
463
464 * gdb.threads/signal-command-handle-nopass.exp (test): Add
465 comment.
466
7e09a223
YQ
4672014-07-29 Yao Qi <yao@codesourcery.com>
468
469 PR gdb/17206
470 * gdb.base/until-nodebug.exp: New.
471
7ebdbe92
DE
4722014-07-28 Doug Evans <xdje42@gmail.com>
473
474 PR guile/17203
475 * gdb.guile/scm-parameter.exp: Add tests for trying to create
476 previously existing parameter, and previously ambiguously spelled
477 parameter.
478
fdb1adc6
WN
4792014-07-28 Will Newton <will.newton@linaro.org>
480
481 * gdb.base/varargs.exp: Remove KFAILs for ARM.
482
186fcde0
DE
4832014-07-26 Ludovic Courtès <ludo@gnu.org>
484 Doug Evans <xdje42@gmail.com>
485
486 PR guile/17146
487 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
488
70509625
PA
4892014-07-25 Pedro Alves <palves@redhat.com>
490
491 * gdb.threads/signal-command-handle-nopass.c: New file.
492 * gdb.threads/signal-command-handle-nopass.exp: New file.
493 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
494 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
495 * gdb.threads/signal-delivered-right-thread.c: New file.
496 * gdb.threads/signal-delivered-right-thread.exp: New file.
497
c3f814a1
PA
4982014-07-25 Pedro Alves <palves@redhat.com>
499
500 * gdb.base/double-prompt-target-event-error.exp
501 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
502 match.
503 (cancel_pagination_in_target_event): Rework double prompt
504 detection.
505 * gdb.base/paginate-after-ctrl-c-running.exp
506 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
507 <return>' match.
508 * gdb.base/paginate-bg-execution.exp
509 (test_bg_execution_pagination_return)
510 (test_bg_execution_pagination_cancel): Remove '-notransfer
511 <return>' matches.
512 * gdb.base/paginate-execution-startup.exp
513 (test_fg_execution_pagination_return)
514 (test_fg_execution_pagination_cancel): Remove '-notransfer
515 <return>' matches.
516 * gdb.base/paginate-inferior-exit.exp
517 (test_paginate_inferior_exited): Remove '-notransfer <return>'
518 match.
519 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
520 * lib/gdb.exp (pagination_prompt): Run text through
521 string_to_regexp.
522 (gdb_test_multiple): Match $pagination_prompt instead of
523 "<return>".
524 (string_to_regexp): Move to lib/gdb-utils.exp.
525
e214cf6c
JK
5262014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
527
528 * gdb.arch/amd64-entry-value-paramref.S: New file.
529 * gdb.arch/amd64-entry-value-paramref.cc: New file.
530 * gdb.arch/amd64-entry-value-paramref.exp: New file.
531 * gdb.arch/amd64-optimout-repeat.S: New file.
532 * gdb.arch/amd64-optimout-repeat.c: New file.
533 * gdb.arch/amd64-optimout-repeat.exp: New file.
534
17d0c5c8
JK
5352014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
536
537 PR gdb/17170
538 * gdb.base/statistics.exp: New file.
539
b8b8facf
DE
5402014-07-17 Doug Evans <dje@google.com>
541
74b49205 542 PR gdb/17170
b8b8facf
DE
543 * gdb.base/maint.exp: Update testing of per-command stats.
544
1b5d0ab3
PA
5452014-07-16 Pedro Alves <palves@redhat.com>
546
547 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
548 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
549 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
550 (tfile_write_buf): New functions.
551 (add_memory_block): Rewrite using the above.
552 (adjust_function_address): New function.
553 (FUNCTION_ADDRESS): New macro.
554 (write_basic_trace_file): Remove short_x local, and use
555 tfile_write_16. Change type of func_addr local to unsigned long
556 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
557 here. Cast argument of add_memory_block to char pointer.
558 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
559 (main): Remove parameters.
560 * gdb.trace/tfile.exp: Remove nowarnings.
561
4d974e88
SM
5622014-07-15 Simon Marchi <simon.marchi@ericsson.com>
563
564 * gdb.base/debug-expr.exp: Test string evaluation with
565 "debug expression" on.
566
41e99568
PA
5672014-07-15 Pedro Alves <palves@redhat.com>
568
569 * gdb.base/reread.exp: Use clean_restart.
570
487d9753
PL
5712014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
572
573 * gdb.arch/avr-flash-qualifer.c: New.
574 * gdb.arch/avr-flash-qualifer.exp: New.
575
cc1c52ad
PA
5762014-07-14 Pedro Alves <palves@redhat.com>
577
578 * gdb.base/paginate-after-ctrl-c-running.c: New file.
579 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
580
1e973570
PA
5812014-07-14 Pedro Alves <palves@redhat.com>
582
583 * gdb.base/double-prompt-target-event-error.c: New file.
584 * gdb.base/double-prompt-target-event-error.exp: New file.
585
93d6eb10
PA
5862014-07-14 Pedro Alves <palves@redhat.com>
587
588 PR gdb/17072
589 * gdb.base/paginate-inferior-exit.c: New file.
590 * gdb.base/paginate-inferior-exit.exp: New file.
591
0017922d
PA
5922014-07-14 Pedro Alves <palves@redhat.com>
593
594 PR gdb/17072
595 * gdb.base/paginate-bg-execution.c: New file.
596 * gdb.base/paginate-bg-execution.exp: New file.
597
94696ad3
PA
5982014-07-14 Pedro Alves <palves@redhat.com>
599
600 PR gdb/17072
601 * gdb.base/paginate-execution-startup.c: New file.
602 * gdb.base/paginate-execution-startup.exp: New file.
603 * lib/gdb.exp (pagination_prompt): New global.
604 (default_gdb_spawn): New procedure, factored out from
605 default_gdb_spawn.
606 (default_gdb_start): Adjust to call default_gdb_spawn.
607 (gdb_spawn): New procedure.
608
bd293940
PA
6092014-07-14 Pedro Alves <palves@redhat.com>
610
611 * lib/gdb.exp (gdb_assert): New procedure.
612 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
613
c933f875
PA
6142014-07-14 Pedro Alves <palves@redhat.com>
615
616 * gdb.base/execution-termios.c: New file.
617 * gdb.base/execution-termios.exp: New file.
618
d98b7a16
TT
6192014-07-14 Tom Tromey <tromey@redhat.com>
620
621 * gdb.cp/vla-cxx.cc: New file.
622 * gdb.cp/vla-cxx.exp: New file.
623
548740d6
TT
6242014-07-14 Tom Tromey <tromey@redhat.com>
625
626 * gdb.reverse/rerun-prec.c: New file.
627 * gdb.reverse/rerun-prec.exp: New file.
628
a25eb028
MR
6292014-07-12 Maciej W. Rozycki <macro@mips.com>
630 Maciej W. Rozycki <macro@codesourcery.com>
631
632 * lib/gdb-utils.exp: New file.
633 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
634 inline `gdb_init_command' processing.
635 (gdb_start_cmd): Likewise.
636 * lib/mi-support.exp (mi_run_cmd): Likewise.
637 * README: Document `gdb_init_command' and `gdb_init_commands'.
638
218c2655
JK
6392014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
640
641 Fix false FAIL running under a very long directory name.
642 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
643 and "set print elements 10000". Twice.
644
5401fde3
YQ
6452014-07-11 Yao Qi <yao@codesourcery.com>
646
647 * gdb.base/exprs.exp: "set print symbol off".
648
e76126e8
PA
6492014-07-11 Pedro Alves <palves@redhat.com>
650
651 * gdb.threads/kill.c: New file.
652 * gdb.threads/kill.exp: New file.
653
2d6f0de6
YQ
6542014-07-10 Yao Qi <yao@codesourcery.com>
655
656 * gdb.trace/tfile.c (write_basic_trace_file)
657 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
658 address written to trace file.
659
7180e04a
PA
6602014-07-09 Pedro Alves <palves@redhat.com>
661
662 * gdb.base/attach-wait-input.exp: New file.
663 * gdb.base/attach-wait-input.c: New file.
664
9a9a7608
AB
6652014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
666
667 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
668 setting up test structures.
669 (main): Call new test function.
670 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
671 test function, continue into test function and walk test
672 structures.
673
161ac41e
YQ
6742014-07-02 Yao Qi <yao@codesourcery.com>
675
676 * gdb.trace/entry-values.c: Define labels 'foo_start' and
677 'bar_start' at the beginning of functions 'foo' and 'bar'
678 respectively.
679 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
680 instead of 'foo' and 'bar'.
681
1f267ae3
MM
6822014-07-08 Markus Metzger <markus.t.metzger@intel.com>
683
684 * gdb.btrace/segv.exp: New.
685 * gdb.btrace/segv.c: New.
686
2b239efb
LM
6872014-07-02 Luis Machado <lgustavo@codesourcery.com>
688
689 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
690 instruction.
691
cf363f18
MW
6922014-06-30 Mark Wielaard <mjw@redhat.com>
693
694 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
695 vulture, vilify, villar): New volatile array constants.
696 (vindictive, vegetation): New const volatile array constants.
697 * gdb.base/volatile.exp: Test volatile and const volatile array
698 types.
699
aebf9d24
AA
7002014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
701
702 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
703 target lacks support for awatch, rwatch, or hbreak.
704
b67a2c6f
YQ
7052014-06-27 Yao Qi <yao@codesourcery.com>
706
707 * gdb.multi/dummy-frame-restore.exp: New.
708 * gdb.multi/dummy-frame-restore.c: New.
709
aef92902
MM
7102014-06-25 Markus Metzger <markus.t.metzger@intel.com>
711
712 * gdb.btrace/gcore.exp: New.
713
8e9db26e
PA
7142014-06-23 Pedro Alves <palves@redhat.com>
715
716 * gdb.base/watchpoint-reuse-slot.c: New file.
717 * gdb.base/watchpoint-reuse-slot.exp: New file.
718
70afc5b7
SC
7192014-06-23 Siva Chandra Reddy <sivachandra@google.com>
720
721 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
722 progspace's filename in 'info', 'enable' and 'disable' command
723 tests.
724
b972bd9c
JK
7252014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
726
727 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
728 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
729 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
730
125f8a3d
GB
7312014-06-20 Gary Benson <gbenson@redhat.com>
732
733 * gdb.arch/i386-avx.exp: Fix include file location.
734 * gdb.arch/i386-sse.exp: Likewise.
735
3ed9baed
IB
7362014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
737
738 * gdb.dlang/expression.exp: New file.
739
034f788c
PA
7402014-06-19 Pedro Alves <palves@redhat.com>
741
742 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
743 out from ...
744 (top level): ... here. Iterate running tests under different
745 scheduler-locking settings.
746
45371d0c
LM
7472014-06-18 Luis Machado <lgustavo@codesourcery.com>
748
749 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
750 to DW_FORM_addr and use non-zero addresses.
751
5d376983
SC
7522014-06-18 Siva Chandra Reddy <sivachandra@google.com>
753
754 PR gdb/17017
755 * gdb.python/py-xmethods.cc: Add global function call counters and
756 increment them in their respective functions. Remove "cout"
757 statements.
758 * gdb.python/py-xmethods.exp: Make tests check the global function
759 call counters instead of depending on inferior IO.
760
a1aa2221
LM
7612014-06-18 Don Breazeal <donb@codesourcery.com>
762
763 * gdb.base/foll-fork.exp (default_fork_parent_follow):
764 Deleted procedure.
765 (explicit_fork_parent_follow): Deleted procedure.
766 (explicit_fork_child_follow): Deleted procedure.
767 (test_follow_fork): New procedure.
768 (do_fork_tests): Replace calls to deleted procedures with
769 calls to test_follow_fork and reset GDB for subsequent
770 procedure calls.
771
0fc05997
YQ
7722014-06-17 Yao Qi <yao@codesourcery.com>
773
774 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
775 CP1252.
776
70795c52
LM
7772014-06-17 Luis Machado <lgustavo@codesourcery.com>
778
779 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
780 Initialize ptr and S explicitly.
781 (skip_type_update_when_not_use_rtti_test): Likewise.
782
6be47f0c
KS
7832014-06-16 Keith Seitz <keiths@redhat.com>
784
785 PR mi/15863
786 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
787 the inferior is started.
788
d03de421
PA
7892014-06-16 Pedro Alves <palves@redhat.com>
790
791 * gdb.base/break-main-file-remove-fail.c: New file.
792 * gdb.base/break-main-file-remove-fail.exp: New file.
793 * gdb.base/break-unload-file.exp: Use build_executable instead of
794 prepare_for_testing.
795 (test_break): New parameter "initial_load". Handle it.
796 (top level): Add initial_load cmdline/file axis.
797
f9579b99
TT
7982014-06-12 Tom Tromey <tromey@redhat.com>
799
800 * gdb.base/completion.exp: Don't use directory name in test.
801
3657956b
GB
8022014-06-09 Gary Benson <gbenson@redhat.com>
803
804 * gdb.base/sigall.c [Functions to send signals]: Reorder to
805 separate the always-available ANSI-standard signals from the
806 signals that require checking.
807 (main): Likewise.
808 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
809 Likewise.
810 (main): Likewise.
811
4186eb54
KS
8122014-06-07 Keith Seitz <keiths@redhat.com>
813
814 Revert:
815 PR c++/16253
816 * gdb.cp/var-tag.cc: New file.
817 * gdb.cp/var-tag.exp: New file.
818 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
819 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
820 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
821 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
822
25326a28 8232014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
824
825 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
826
829155c9
PA
8272014-06-06 Pedro Alves <palves@redhat.com>
828
829 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
830 in target debug output instead of looking at RSP packets,
831 disabling the test on any target that uses hardware stepping.
832 Update comments.
833
61c8d22e
PA
8342014-06-06 Pedro Alves <palves@redhat.com>
835
836 * gdb.base/break-unload-file.exp: Fix typo.
837
d9a47287
YQ
8382014-06-06 Yao Qi <yao@codesourcery.com>
839
840 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
841 from "jit_function" to "^jit_function".
842
e5e01dbf
YQ
8432014-06-06 Yao Qi <yao@codesourcery.com>
844
845 * gdb.base/async.c (foo): Add one statement.
846 * gdb.base/async.exp: Get the next instruction address and
847 match the output of "nexti" by instruction address. Match
848 the hex address in the output of "finish".
849
73ba372c
GB
8502014-06-06 Gary Benson <gbenson@redhat.com>
851
852 * gdb.base/call-signals.c: Remove preprocessor conditionals
853 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
854 SIGSEGV and SIGTERM.
855 * gdb.base/sigall.c: Likewise.
856 * gdb.base/unwindonsignal.c: Likewise.
857 * gdb.reverse/sigall-reverse.c: Likewise.
858
831517df
YQ
8592014-06-06 Yao Qi <yao@codesourcery.com>
860
861 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
862 readable, skip the test.
863
b8b91e98
YQ
8642014-06-06 Yao Qi <yao@codesourcery.com>
865
866 * gdb.threads/staticthreads.c (thread_function): Move the line
867 setting breakpoint on forward.
868 * gdb.threads/staticthreads.exp: Update comments.
869
fb934770
LC
8702014-06-05 Ludovic Courtès <ludo@gnu.org>
871
872 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
873 "history-append! type error".
874
6ef284bd
SM
8752014-06-05 Simon Marchi <simon.marchi@ericsson.com>
876
877 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
878 erroneous dprintf expected input.
879
a872e241
DE
8802014-06-04 Doug Evans <xdje42@gmail.com>
881
882 * gdb.guile/scm-generics.exp: Delete.
883
16f691fb
DE
8842014-06-04 Doug Evans <xdje42@gmail.com>
885
886 * gdb.guile/scm-breakpoint.exp: Update.
887 Add tests for breakpoint registration.
888
012370f6
TT
8892014-06-04 Tom Tromey <tromey@redhat.com>
890
891 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
892 VLA-in-union.
893 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
894 inner_vla_struct, vla_union types. Initialize objects of those
895 types and compute their sizes.
896
9f5a4cef
HZ
8972014-06-04 Nathan Sidwell <nathan@codesourcery.com>
898 Hui Zhu <hui@codesourcery.com>
899
900 * gdb.base/fileio.exp: Add test for shell not available as well as
901 available.
902 * gdb.base/fileio.c (test_system): Check for shell twice.
903
90a45c4d
YQ
9042014-06-04 Yao Qi <yao@codesourcery.com>
905
906 * gdb.base/auto-connect-native-target.exp: Remove redundant
907 space from the regexp pattern.
908
70017e41
YQ
9092014-06-04 Yao Qi <yao@codesourcery.com>
910
911 * gdb.base/default.exp: Replace "child" with "native" in
912 regexp pattern.
913
883964a7
SC
9142014-06-03 Siva Chandra Reddy <sivachandra@google.com>
915
916 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
917 * gdb.python/py-xmethods.exp: New tests to test xmethods.
918 * gdb.python/py-xmethods.py: Python script supporting the
919 new testcase and tests.
920
ef370185
JB
9212014-06-03 Joel Brobecker <brobecker@adacore.com>
922 Pedro Alves <palves@redhat.com>
923
924 PR breakpoints/17000
925 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
926 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
927
1e2ccb61
BM
9282014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
929
930 * gdb.base/subst.exp: Add tests to verify partial path matching
931 output.
932
c6ec5ab2
PA
9332014-06-03 Pedro Alves <palves@redhat.com>
934
935 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
936 target that doesn't use software single-stepping.
937
835c559f
PA
9382014-06-03 Pedro Alves <palves@redhat.com>
939
940 PR breakpoints/17000
941 * gdb.base/sss-bp-on-user-bp-2.c: New file.
942 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
943
06eb1586
DE
9442014-06-02 Doug Evans <xdje42@gmail.com>
945
946 * gdb.guile/scm-parameter.exp: New file.
947
e698b8c4
DE
9482014-06-02 Doug Evans <xdje42@gmail.com>
949
950 * gdb.guile/scm-cmd.c: New file.
951 * gdb.guile/scm-cmd.exp: New file.
952
ded03782
DE
9532014-06-02 Doug Evans <xdje42@gmail.com>
954
955 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
956 pretty-printer lookup.
957 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
958 (make-pp_s-printer): Call it.
959 (make-pretty-printer-from-dict): New function.
960 (lookup-pretty-printer-maker-from-dict): New function.
961 (*pretty-printer*): Simplify.
962 (make-objfile-pp_s-printer): New function.
963 (install-objfile-pretty-printers!): New function.
964 (make-progspace-pp_s-printer): New function.
965 (install-progspace-pretty-printers!): New function.
966 * gdb.guile/scm-progspace.c: New file.
967 * gdb.guile/scm-progspace.exp: New file.
968
41fac0cf
PA
9692014-06-02 Pedro Alves <palves@redhat.com>
970
971 * gdb.base/dprintf-bp-same-addr.c: New file.
972 * gdb.base/dprintf-bp-same-addr.exp: New file.
973
96ae5695
EBM
9742014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
975
976 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
977 * gdb.arch/powerpc-power.s: Likewise.
978
da02b3a8
JB
9792014-06-02 Joel Brobecker <brobecker@adacore.com>
980
981 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
982
c72b2e7b
YQ
9832014-06-01 Yao Qi <yao@codesourcery.com>
984
985 * gdb.base/watchpoint.exp (test_watch_location): Check null
986 pointer can be dereferenced. If not, do the test, otherwise
987 skip it.
988
53e8a631
AB
9892014-05-30 Andrew Burgess <aburgess@broadcom.com>
990
991 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
992 results.
993 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
994
938f0e2f
AB
9952014-05-30 Andrew Burgess <aburgess@broadcom.com>
996
997 * gdb.arch/amd64-invalid-stack-middle.S: New file.
998 * gdb.arch/amd64-invalid-stack-middle.c: New file.
999 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1000 * gdb.arch/amd64-invalid-stack-top.c: New file.
1001 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1002
9ba6657a
PA
10032014-05-30 Pedro Alves <palves@redhat.com>
1004
1005 PR breakpoints/17000
1006 * gdb.base/sss-bp-on-user-bp.c: New file.
1007 * gdb.base/sss-bp-on-user-bp.exp: New file.
1008
522c09bf
DB
10092014-05-30 David Blaikie <dblaikie@gmail.com>
1010
1011 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1012 gnu_inline semantics via attribute.
1013 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1014 source explicitly specifies the required semantics.
1015
bf4ef81e
MR
10162014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1017
1018 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1019
329ea579
PA
10202014-05-29 Pedro Alves <palves@redhat.com>
1021 Tom Tromey <tromey@redhat.com>
1022
1023 * gdb.base/async-shell.exp: Don't enable target-async.
1024 * gdb.base/async.exp
1025 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1026 parameter. Adjust.
1027 (top level): Don't test with "target-async".
1028 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1029 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1030 * gdb.base/inferior-died.exp: Don't enable target-async.
1031 * gdb.base/interrupt-noterm.exp: Likewise.
1032 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1033 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1034 * gdb.mi/mi-nonstop.exp: Likewise.
1035 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1036 * gdb.mi/mi-nsintrall.exp: Likewise.
1037 * gdb.mi/mi-nsmoribund.exp: Likewise.
1038 * gdb.mi/mi-nsthrexec.exp: Likewise.
1039 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1040 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1041 * gdb.python/py-evsignal.exp: Don't enable target-async.
1042 * gdb.python/py-evthreads.exp: Likewise.
1043 * gdb.python/py-prompt.exp: Likewise.
1044 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1045 * gdb.server/solib-list.exp: Don't enable target-async.
1046 * gdb.threads/thread-specific-bp.exp: Likewise.
1047 * lib/mi-support.exp: Adjust to use mi-async.
1048
fd664c91
PA
10492014-05-29 Pedro Alves <palves@redhat.com>
1050
1051 PR gdb/13860
1052 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1053 reason, even in sync mode.
1054
251bde03
PA
10552014-05-29 Pedro Alves <palves@redhat.com>
1056 Hui Zhu <hui@codesourcery.com>
1057
1058 PR PR15693
1059 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1060 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1061 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1062 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1063
7f3c0343
JB
10642014-05-28 Joel Brobecker <brobecker@adacore.com>
1065
1066 * config/monitor.exp (gdb_target_monitor): Replace use of
1067 "set remotebaud" by "set serial baud".
1068
b2715b27
AW
10692014-05-26 Andy Wingo <wingo@igalia.com>
1070
1071 * gdb.guile/scm-breakpoint.exp:
1072 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1073 properties instead of gdb-object-properties.
1074
498a4489
YQ
10752014-05-26 Yao Qi <yao@codesourcery.com>
1076
1077 * gdb.server/no-thread-db.exp: Specify source file name
1078 explicitly when setting a breakpoint.
1079
589fdceb
MM
10802014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1081
1082 * gdb.btrace/vdso.c: New.
1083 * gdb.btrace/vdso.exp: New.
1084
e9089e05
MM
10852014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1086
1087 * gdb.base/gcore.exp (capture_command_output): Move ...
1088 * lib/gdb.exp (capture_command_output): ... here.
1089
67b5c0c1
MM
10902014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1091
1092 * gdb.btrace/data.exp: Test memory access during btrace replay.
1093
a2199296
SM
10942014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1095
1096 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1097
17b2616c
PA
10982014-05-21 Pedro Alves <palves@redhat.com>
1099
1100 PR gdb/13860
1101 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1102 (top level): Test that output related to execution commands is
1103 sent to the console with CLI commands, but not with MI commands.
1104 Test that breakpoint events are always mirrored to the console.
1105 Also expect the new source line to be output after a "next" in
1106 async mode too. Make it a pass/fail test.
1107 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1108 output.
1109 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1110
5166082f
PA
11112014-05-21 Pedro Alves <palves@redhat.com>
1112
1113 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1114 Use them to test variations of "list" after reaching a breakpoint.
1115 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1116 Test "list" with listsize 10 after reaching a breakpoint.
1117 * gdb.python/python.exp (decode_line current location line
1118 number): Adjust expected line number.
1119
2f25d70f
SM
11202014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1121
1122 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1123 behavior for $args, pass it directly to "run".
1124
ff604a67
MR
11252014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1126
1127 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1128 30000 to 65536.
1129
6a3cb8e8
PA
11302014-05-21 Pedro Alves <palves@redhat.com>
1131
1132 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1133 auto-connect-native-target off".
1134 * gdb.base/auto-connect-native-target.c: New file.
1135 * gdb.base/auto-connect-native-target.exp: New file.
1136
4ebfc96e
PA
11372014-05-21 Pedro Alves <palves@redhat.com>
1138
1139 * gdb.base/default.exp: Test "target native" instead of "target
1140 child".
1141
36d46afb
MW
11422014-05-21 Mark Wielaard <mjw@redhat.com>
1143
1144 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1145
5876f503
JK
11462014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1147
1148 Fix TLS access for -static -pthread.
1149 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1150 <HAVE_TLS> (thread_function, main): Initialize it.
1151 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1152 Add clean_restart.
1153 <$have_tls != "">: Check TLSVAR.
1154
0256a6ac
PA
11552014-05-21 Pedro Alves <palves@redhat.com>
1156
1157 * gdb.base/dcache-line-read-error.c: New.
1158 * gdb.base/dcache-line-read-error.exp: New.
1159
936d2992
PA
11602014-05-20 Pedro Alves <palves@redhat.com>
1161
1162 * gdb.base/compare-sections.c: New file.
1163 * gdb.base/compare-sections.exp: New file.
1164
802e8e6d
PA
11652014-05-20 Pedro Alves <palves@redhat.com>
1166
1167 * gdb.base/break-idempotent.c: New file.
1168 * gdb.base/break-idempotent.exp: New file.
1169
e59fa00f
MM
11702014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1171
1172 * gdb.btrace/nohist.exp: New.
1173
8b696e31
YQ
11742014-05-20 Yao Qi <yao@codesourcery.com>
1175
1176 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1177 gdb.reverse directory and gdb_reverse_timeout exists in board
1178 setting.
1179 * README: Document gdb_reverse_timeout.
1180
73c9764f
YQ
11812014-05-20 Yao Qi <yao@codesourcery.com>
1182
1183 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1184 'test_file_name'. Treat args as a string instead of a list.
1185 (gdb_init): Rename argument 'args' by 'test_file_name'.
1186
f1f4348a
JK
11872014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1188
1189 * gdb.arch/powerpc-power.exp: New file.
1190 * gdb.arch/powerpc-power.s: New file.
1191
0dbe70ce
DE
11922014-05-16 Doug Evans <dje@google.com>
1193
1194 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1195 * gdb.base/completion.exp: Check that all expected files exist
1196 before doing file completion.
0dbe70ce 1197
8d551b02
DE
11982014-05-16 Doug Evans <dje@google.com>
1199
1200 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1201 Update.
1202 (do_syscall_tests_without_xml): Update.
1203
73eb7709
PA
12042014-05-16 Pedro Alves <palves@redhat.com>
1205
1206 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1207 instead of "unknown output after running".
1208
3fae92fc
YQ
12092014-05-16 Yao Qi <yao@codesourcery.com>
1210
1211 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1212 file1.txt from host at the end.
1213 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1214
c2b2ccc5
DE
12152014-05-15 Doug Evans <dje@google.com>
1216
1217 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1218 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1219 loading file. Add test for TU lookup.
1220
8c217a4b
SM
12212014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1222
1223 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1224 calling "-exec-arguments" or "set args" before running the
1225 inferior.
1226
3deb39c6
SM
12272014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1228
1229 * lib/mi-support.exp (mi_expect_stop): Expect message for
1230 inferiors that exit with non-zero exit code.
1231
71a79f8c
YQ
12322014-05-14 Yao Qi <yao@codesourcery.com>
1233
1234 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1235 match absolute path on remote host.
1236 (test_file_list_exec_source_files): Remove "/" from the
1237 pattern.
1238
f23fcd46
YQ
12392014-05-14 Yao Qi <yao@codesourcery.com>
1240
1241 * boards/local-remote-host-notty.exp (${board}_file): New
1242 proc.
1243
9404b58f
KM
12442014-05-07 Kyle McMartin <kyle@redhat.com>
1245
1246 Pushed by Joel Brobecker <brobecker@adacore.com>.
1247 * gdb.arch/aarch64-atomic-inst.c: New file.
1248 * gdb.arch/aarch64-atomic-inst.exp: New file.
1249
5e45f04c
YQ
12502014-05-07 Yao Qi <yao@codesourcery.com>
1251
1252 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1253 in current context" too.
1254
c888a17d
KS
12552014-05-05 Keith Seitz <keiths@redhat.com>
1256
1257 * gdb.linespec/ls-dollar.exp: Add test for linespec
1258 file:convenience_variable.
1259
290a839c
YQ
12602014-05-05 Yao Qi <yao@codesourcery.com>
1261
1262 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1263 traceframes into tfile and ctf trace files. Read data from
1264 trace file and test collected data.
1265 (gdb_collect_locals_test): Likewise.
1266 (gdb_unavailable_registers_test): Likewise.
1267 (gdb_unavailable_floats): Likewise.
1268 (gdb_collect_globals_test): Likewise.
1269 (top-level): Append "ctf" to trace_file_targets if GDB
1270 supports.
1271
b5262cd0
YQ
12722014-05-05 Yao Qi <yao@codesourcery.com>
1273
1274 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1275 code to ...
1276 (gdb_collect_args_test_1): ... it. New proc.
1277 (gdb_collect_locals_test): Move some code to ...
1278 (gdb_collect_locals_test_1): ... it. New proc.
1279 (gdb_unavailable_registers_test): Move some code to ...
1280 (gdb_unavailable_registers_test_1): ... it. New proc.
1281 (gdb_unavailable_floats): Move some code to ...
1282 (gdb_unavailable_floats_1): ... it. New proc.
1283
30a1e6cc
SDJ
12842014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1285
1286 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1287 probes to test for bitness recognition.
1288 * gdb.arch/amd64-stap-optional-prefix.exp
1289 (test_probe_value_without_reg): New procedure.
1290 Add code to test for different kinds of bitness.
1291
f33da99a
SDJ
12922014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1293
1294 PR breakpoints/16889
1295 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1296 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1297
5b80f00d
PA
12982014-05-01 Pedro Alves <palves@redhat.com>
1299
1300 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1301 gdb_file_cmd if no file is specified.
1302 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1303 last_loaded_file to set the remote exec-file.
1304
f8c2a73c
PA
13052014-05-01 Pedro Alves <palves@redhat.com>
1306
1307 * boards/local-remote-host.exp: New file.
1308
be6e8ac7
PA
13092014-05-01 Pedro Alves <palves@redhat.com>
1310
1311 * boards/local-remote-host.exp: Rename to ...
1312 * boards/local-remote-host-notty.exp: ... this.
1313
cac0dc8f
JB
13142014-04-28 Joel Brobecker <brobecker@adacore.com>
1315
1316 * gdb.ada/dyn_arrayidx: New testcase.
1317
9730e6cc
YQ
13182014-04-26 Yao Qi <yao@codesourcery.com>
1319
1320 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1321 and compute the length of function main. Save it in
1322 $main_length.
1323 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1324 (top-level): Use gdb_compile to compile objects into
1325 executable and restart GDB. Remove invocation to
1326 prepare_for_testing.
1327
7ae1a6a6
PA
13282014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1329 Pedro Alves <palves@redhat.com>
1330
1331 PR server/16255
1332 * gdb.multi/multi-attach.c: New file.
1333 * gdb.multi/multi-attach.exp: New file.
1334
4082afcc
PA
13352014-04-25 Pedro Alves <palves@redhat.com>
1336
1337 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1338 user.
1339 (top level): Test that "set remote conditional-breakpoints-packet
1340 off" works as intended.
1341 * gdb.base/dprintf.exp: Test that "set remote
1342 breakpoint-commands-packet off" works as intended.
1343 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1344 New function.
1345 (top level): Call it.
1346 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1347 remote fast-tracepoints-packet off" works as intended.
1348 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1349 * lib/gdb.exp (gdb_is_target_remote): ... here.
1350
2abc3f8d
DB
13512014-04-24 David Blaikie <dblaikie@gmail.com>
1352
1353 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1354 ensure clang would not discard them.
1355 * gdb.base/gdbvars.c: Ditto.
1356 * gdb.base/memattr.c: Ditto.
1357 * gdb.base/whatis.c: Ditto.
1358 * gdb.python/py-prettyprint.c: Ditto.
1359 * gdb.trace/actions.c: Ditto.
1360 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1361 ensure clang would not discard it.
1362
bfd39632
DB
13632014-04-24 David Blaikie <dblaikie@gmail.com>
1364
1365 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1366 clang to emit the full definition of type required by the test
1367 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1368
22842ff6
DB
13692014-04-24 David Blaikie <dblaikie@gmail.com>
1370
1371 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1372 coax Clang into emitting the definition of the type.
1373 * gdb.cp/pr10728-x.h (y): Ditto.
1374 * gdb.cp/pr10728-y.cc (y): Ditto.
1375
c2e827ad
DB
13762014-04-24 David Blaikie <dblaikie@gmail.com>
1377
1378 * gdb.base/label.exp: XFAIL label related tests under Clang.
1379 * gdb.cp/cplabel.exp: Ditto.
1380 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1381 under Clang those using labels.
1382
4c2d33e7
YQ
13832014-04-25 Yao Qi <yao@codesourcery.com>
1384
1385 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1386 double_label.
1387 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1388 partial_label and double_label.
1389
56083b99
DB
13902014-04-24 David Blaikie <dblaikie@gmail.com>
1391
1392 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1393
25d4e99d
DB
13942014-04-24 David Blaikie <dblaikie@gmail.com>
1395
1396 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1397 of the function to work across GCC and Clang.
1398 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1399 pointer types (const void ** const V void **).
1400
01f9f808
MS
14012014-04-24 Michael Sturm <michael.sturm@mintel.com>
1402 Walfred Tedeschi <walfred.tedeschi@intel.com>
1403
1404 * Makefile.in (EXECUTABLES): Added i386-avx512.
1405 * gdb.arch/i386-avx512.c: New file.
1406 * gdb.arch/i386-avx512.exp: Likewise.
1407
4b48d439
KS
14082014-04-23 Keith Seitz <keiths@redhat.com>
1409
1410 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1411 (mi_make_breakpoint_table): New procedure.
1412 (mi_create_breakpoint): Use mi_make_breakpoint
1413 and return the result.
1414 (mi_make_breakpoint): New procedure.
1415 (mi_build_kv_pairs): New procedure.
1416
1417 * gdb.mi/mi-break.exp: Remove unused globals,
1418 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1419 All callers updated.
1420 * gdb.mi/mi-dprintf.exp: Use variable to track command
1421 number.
1422 Update all callers of mi_create_breakpoint and use
1423 mi_make_breakpoint_table.
1424 Remove any unused global variables.
1425 * gdb.mi/mi-nonstop.exp: Likewise.
1426 * gdb.mi/mi-nsintrall.exp: Likewise.
1427 * gdb.mi/mi-nsmoribund.exp: Likewise.
1428 * gdb.mi/mi-nsthrexec.exp: Likewise.
1429 * gdb.mi/mi-reverse.exp: Likewise.
1430 * gdb.mi/mi-simplerun.exp: Likewise.
1431 * gdb.mi/mi-stepn.exp: Likewise.
1432 * gdb.mi/mi-syn-frame.exp: Likewise.
1433 * gdb.mi/mi-until.exp: Likewise.
1434 * gdb.mi/mi-var-cp.exp: Likewise.
1435 * gdb.mi/mi-var-display.exp: Likewise.
1436 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1437 * gdb.mi/mi2-var-child.exp: Likewise.
1438 * gdb.mi/mi-vla-c99.exp: Likewise.
1439 * lib/mi-support.exp: Likewise.
1440
1441 From Ian Lance Taylor <iant@cygnus.com>:
1442 * lib/gdb.exp (parse_args): New procedure.
1443
08351840
PA
14442014-04-23 Pedro Alves <palves@redhat.com>
1445
1446 * gdb.base/break-unload-file.c: New file.
1447 * gdb.base/break-unload-file.exp: New file.
1448 * gdb.base/sym-file-lib.c (baz): New function.
1449 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1450 field.
1451 (load): Store the segment's mapped size.
1452 (unload): New function.
1453 (unload_shlib): New function.
1454 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1455 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1456 set a breakpoint at baz, and call it.
1457 * gdb.base/sym-file.exp: New tests for stale breakpoint
1458 instructions.
1459
076855f9
PA
14602014-04-23 Pedro Alves <palves@redhat.com>
1461
1462 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1463 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1464 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1465 * gdb.base/hbreak-unmapped.c: New file.
1466 * gdb.base/hbreak-unmapped.exp: New file.
1467 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1468 * lib/gdb.exp (gdb_is_target_remote): ... here.
1469
483805cf
PA
14702014-04-22 Pedro Alves <palves@redhat.com>
1471
1472 * gdb.base/consecutive-step-over.c: New file.
1473 * gdb.base/consecutive-step-over.exp: New file.
1474
06d97543
PA
14752014-04-22 Pedro Alves <palves@redhat.com>
1476
1477 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1478 instead of send_gdb/gdb_expect.
1479
b4429ea2
YQ
14802014-04-22 Yao Qi <yao@codesourcery.com>
1481
1482 * lib/trace-support.exp (generate_tracefile): New procedure.
1483 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1484 return 0.
1485 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1486 if generate_tracefile returns 1.
1487
51d48146
PA
14882014-04-18 Tom Tromey <palves@redhat.com>
1489 Pedro alves <tromey@redhat.com>
1490
1491 PR backtrace/15558
1492 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1493 with a backtrace limit.
1494 * gdb.python/py-frame-inline.exp: Test running to an inline
1495 function with a backtrace limit, and printing the newest frame.
1496 * gdb.python/py-frame-inline.c (main): Call f.
1497
bd1dce5f
MS
14982014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1499
1500 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1501
40d1a503
MS
15022014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1503
1504 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1505 Drop prefix from unsupported source file path.
1506
389b98f7
YQ
15072014-04-17 Yao Qi <yao@codesourcery.com>
1508
1509 * lib/gdb.exp (with_target_charset): New proc.
1510 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1511 with_target_charset.
1512 (test_print_strings): Likewise.
1513 (test_repeat_bytes): Likewise.
1514 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1515 for some tests.
1516
22869d73
KS
15172014-04-16 Keith Seitz <keiths@redhat.com>
1518
1519 PR gdb/15827
1520 * gdb.dwarf2/corrupt.c: New file.
1521 * gdb.dwarf2/corrupt.exp: New file.
1522
c4f87ca6
KS
15232014-04-16 Keith Seitz <keiths@redhat.com>
1524
1525 PR c++/16597
1526 * gdb.cp/namelessclass.cc: New file.
1527 * gdb.cp/namelessclass.exp: New file.
1528 * gdb.cp/namelessclass.S: New file.
1529
ab19de87
DE
15302014-04-16 Doug Evans <dje@google.com>
1531
1532 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1533 Add comment.
1534 (gdbserver_default_get_comm_port): New function.
1535 (gdbserver_start): Check if board file provided
1536 "gdbserver,get_comm_port" and use it if so.
1537 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1538 (gdb,socketport): Set to "stdio".
1539 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1540 (stdio_gdbserver_template): Delete.
1541 (${board}_get_remote_address): Update.
1542 (${board}_build_remote_cmd): Delete.
1543 (${board}_get_comm_port): New function.
1544 (${board}_spawn): Update.
1545 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1546 Delete.
1547 (${board}_get_remote_address): Update.
1548 (${board}_get_comm_port): New function.
1549
fc98a809
AB
15502014-04-16 Andrew Burgess <aburgess@broadcom.com>
1551
1552 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1553 appearing in any order.
1554
87fd9e6e
DE
15552014-04-15 Doug Evans <dje@google.com>
1556
1557 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1558 uninitialized value of "description".
1559
099fc3ea
KS
15602014-04-15 Keith Seitz <keiths@redhat.com>
1561
1562 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1563 Remove unused globals.
1564 (test_running_the_program): Likewise.
1565 (test_controlled_execution): Likewise.
1566 (test_controlling_breakpoints): Likewise.
1567 (test_program_termination): Likewise.
1568
5da151d4
KS
15692014-04-15 Keith Seitz <keiths@redhat.com>
1570
1571 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1572 unused globals.
1573 (test_rbreak_creation_and_listing): Likewise.
1574 (test_ignore_count): Likewise.
1575 (test_error): Likewise.
1576
35e5d2f0
PA
15772014-04-15 Pedro Alves <palves@redhat.com>
1578
1579 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1580 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1581 sym-file-loader.c.
1582 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1583 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1584 to sym-file-loader.c.
1585 (struct library): Forward declare.
1586 (load_shlib, lookup_function): Change prototypes.
1587 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1588 (translate_offset): Remove declarations.
1589 (get_text_addr): New declaration.
1590 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1591 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1592 sym-file-loader.h.
1593 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1594 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1595 here from sym-file-loader.h.
1596 (struct library): New structure.
1597 (load_shlib, lookup_function): Change prototypes and adjust to
1598 work with a struct library.
1599 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1600 (translate_offset): Make static.
1601 (get_text_addr): New function.
1602 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1603
eb4c1710
PA
16042014-04-15 Pedro Alves <palves@redhat.com>
1605
1606 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1607
2d1baf52
PA
16082014-04-15 Pedro Alves <palves@redhat.com>
1609
1610 * gdb.base/sym-file-loader.c: Include <limits.h>.
1611 (SELF_LINK): New define.
1612 (get_origin): New function.
1613 (load_shlib): Use it.
1614 * gdb.base/sym-file.exp: Don't early return if the target is
1615 remote. Use runto_main, and issue fail is that fails. Use
1616 gdb_load_shlibs.
1617 (shlib_name): Delete.
1618 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1619
7dd6df01
PA
16202014-04-15 Pedro Alves <palves@redhat.com>
1621
1622 * gdb.base/sym-file.exp: Remove regex characters from test
1623 message. Don't refer to breakpoint numbers in test messages.
1624
b50c8614
KS
16252014-04-14 Keith Seitz <keiths@redhat.com>
1626
1627 PR c++/16253
1628 * gdb.cp/var-tag.cc: New file.
1629 * gdb.cp/var-tag.exp: New file.
1630 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1631 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1632 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1633 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1634
3d567982
TT
16352014-04-14 Tom Tromey <tromey@redhat.com>
1636
1637 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1638 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1639 type.
1640 * gdb.cp/enum-class.exp: New file.
1641 * gdb.cp/enum-class.cc: New file.
1642
0626fc76
TT
16432014-04-14 Tom Tromey <tromey@redhat.com>
1644
1645 * gdb.dwarf2/enum-type.exp: New file.
1646
dca325b3
SA
16472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1648
1649 * gdb.mi/mi-vla-c99.exp: New file.
1650 * gdb.mi/vla.c: New file.
1651
5854b38a
SA
16522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1653
1654 * gdb.base/vla-datatypes.c: New file.
1655 * gdb.base/vla-datatypes.exp: New file.
1656
463bb957
SA
16572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1658
1659 * gdb.base/vla-ptr.c: New file.
1660 * gdb.base/vla-ptr.exp: New file.
1661
3dd170be
SA
16622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1663
1664 * gdb.dwarf2/count.exp: New file.
1665
5ecaaa66
SA
16662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1667
1668 * gdb.base/vla-sideeffect.c: New file.
1669 * gdb.base/vla-sideeffect.exp: New file.
1670
41f1ada5
DB
16712014-04-14 David Blaikie <dblaikie@gmail.com>
1672
1673 * gdb.mi/non-stop.c: Add return value for non-void function return
1674 statement.
1675 * gdb.threads/staticthreads.c: Ditto.
1676
0be03e84
DE
16772014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1678 Doug Evans <xdje42@gmail.com>
1679
1680 * gdb.guile/scm-value.c: Improve test case.
1681 * gdb.guile/scm-value.exp: Add new test.
1682
f180a1fb
DB
16832014-04-11 David Blaikie <dblaikie@gmail.com>
1684
1685 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1686 override Clang's default.
1687
6b662e19
JB
16882014-04-11 Joel Brobecker <brobecker@adacore.com>
1689
1690 Revert the following changes (regressions):
1691
1692 * gdb.base/vla-sideeffect.c: New file.
1693 * gdb.base/vla-sideeffect.exp: New file.
1694
1695 * gdb.dwarf2/count.exp: New file.
1696
1697 * gdb.base/vla-multi.c: New file.
1698 * gdb.base/vla-multi.exp: New file.
1699
1700 * gdb.base/vla-ptr.c: New file.
1701 * gdb.base/vla-ptr.exp: New file.
1702
1703 * gdb.base/vla-datatypes.c: New file.
1704 * gdb.base/vla-datatypes.exp: New file.
1705
1706 * gdb.mi/mi-vla-c99.exp: New file.
1707 * gdb.mi/vla.c: New file.
1708
245a5f0b
KS
17092014-04-11 Keith Seitz <keiths@redhat.com>
1710
1711 PR c++/16675
1712 * gdb.cp/cpsizeof.exp: New file.
1713 * gdb.cp/cpsizeof.cc: New file.
1714
58a84dcf
SA
17152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1716
191a8a90
JB
1717 * gdb.mi/mi-vla-c99.exp: New file.
1718 * gdb.mi/vla.c: New file.
58a84dcf 1719
c8655f75
SA
17202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1721
1722 * gdb.base/vla-datatypes.c: New file.
1723 * gdb.base/vla-datatypes.exp: New file.
1724
024e13b4
SA
17252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1726
1727 * gdb.base/vla-ptr.c: New file.
1728 * gdb.base/vla-ptr.exp: New file.
1729
1a237e0e
SA
17302014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1731
1732 * gdb.base/vla-multi.c: New file.
1733 * gdb.base/vla-multi.exp: New file.
1734
504f3432
SA
17352014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1736
1737 * gdb.dwarf2/count.exp: New file.
1738
3bce8237
SA
17392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1740
191a8a90
JB
1741 * gdb.base/vla-sideeffect.c: New file.
1742 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 1743
322f9c21
YQ
17442014-04-11 Yao Qi <yao@codesourcery.com>
1745
1746 * gdb.base/completion.exp: Check file exists before running tests
1747 on file completion.
1748
d708bcd1
PA
17492014-04-10 Pedro Alves <palves@redhat.com>
1750
1751 * gdb.base/cond-eval-mode.c: New file.
1752 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1753 prepare_for_testing to build the new file. Check result of
1754 runto_main.
1755 (test_break, test_watch): New procedures.
1756 (top level): Use them.
1757
ae1d2761
PM
17582014-04-08 Pierre Muller <muller@sourceware.org>
1759
1760 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1761 Ctrl-V use for mingw hosts.
1762
7af389b8
SC
17632014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1764
1765 * gdb.python/py-value.c: Improve test case.
1766 * gdb.python/py-value.exp: Add new test.
1767
5e703181
DE
17682014-04-07 David Blaikie <dblaikie@gmail.com>
1769
1770 * lib/compiler.c: Identify the clang compiler.
1771 * lib/compiler.cc: Ditto.
1772
9810b410
YQ
17732014-04-03 Yao Qi <yao@codesourcery.com>
1774
1775 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1776
98d1b8dc
AB
17772014-04-01 Anton Blanchard <anton@samba.org>
1778
1779 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1780 messages unique.
1781
3114cea1
AB
17822014-04-01 Anton Blanchard <anton@samba.org>
1783
1784 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1785 prepare_for_testing.
1786
62f7182c
AB
17872014-04-01 Anton Blanchard <anton@samba.org>
1788
1789 * gdb.arch/ppc64-atomic-inst.c: Remove.
1790 * gdb.arch/ppc64-atomic-inst.S: New file.
1791 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1792
770e7fc7
DE
17932014-03-31 Doug Evans <dje@google.com>
1794
1795 * gdb.base/print-symbol-loading-lib.c: New file.
1796 * gdb.base/print-symbol-loading-main.c: New file.
1797 * gdb.base/print-symbol-loading.exp: New file.
1798
46e2bafa
YQ
17992014-03-31 Yao Qi <yao@codesourcery.com>
1800
1801 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1802
8776cfe9
JB
18032014-03-28 Joel Brobecker <brobecker@adacore.com>
1804
1805 * gdb.ada/mi_dyn_arr: New testcase.
1806
5d1ef361
DE
18072014-03-27 Doug Evans <dje@google.com>
1808
1809 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1810
b5bee914
YQ
18112014-03-27 Yao Qi <yao@codesourcery.com>
1812
1813 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1814 if target is nios2-*-*.
1815
0d4d0e77
YQ
18162014-03-26 Yao Qi <yao@codesourcery.com>
1817
1818 * lib/gdb.exp (readline_is_used): New proc.
1819 * gdb.base/completion.exp: Move tests on command complete up.
1820 Skip the rest of tests if readline is not used.
1821 * gdb.ada/complete.exp: Skp the test if readline is not
1822 used.
1823 * gdb.base/filesym.exp: Likewise.
1824 * gdb.base/macscp.exp: Likewise.
1825 * gdb.base/readline-ask.exp: Likewise.
1826 * gdb.base/readline.exp: Likewise.
1827 * gdb.python/py-cmd.exp: Likewise.
1828 * gdb.trace/tfile.exp: Likewise.
1829
29361eee
YQ
18302014-03-26 Yao Qi <yao@codesourcery.com>
1831
1832 * gdb.base/macscp.exp: Fix code format issues.
1833
bc9a5525
UW
18342014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1835
1836 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1837 * gdb.asm/powerpc64le.inc: New file.
1838
d3839ede
PA
18392014-03-25 Pedro Alves <palves@redhat.com>
1840 Doug Evans <dje@google.com>
1841
1842 * gdb.base/source-execution.c: New file.
1843 * gdb.base/source-execution.exp: New file.
1844 * gdb.base/source-execution.gdb: New file.
1845
01672a57
DE
18462014-03-24 Doug Evans <dje@google.com>
1847
1848 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1849 using fission.
1850
88bbeca9
HZ
18512014-03-24 Hui Zhu <hui@codesourcery.com>
1852 Pedro Alves <palves@redhat.com>
1853
1854 PR breakpoints/16101
1855 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1856 test pass/fail messages. Detect missing support for dprintf when
1857 breakpoints are actually inserted.
1858 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1859 breakpoints are actually inserted.
1860 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1861 fails.
1862
d2348791
JK
18632014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1864
1865 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1866
feef67ab
DE
18672014-03-22 Doug Evans <xdje42@gmail.com>
1868
1869 * gdb.python/python.exp (python not supported): Verify multi-line
1870 python command issues an error.
25d743f9 1871 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 1872 guile command issues an error.
feef67ab 1873
ecebef6a
MR
18742014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1875
1876 * gdb.threads/thread-specific.exp: Handle the lack of usable
1877 $this_breakpoint and $this_thread.
1878
ccdd1909
HZ
18792014-03-21 Hui Zhu <hui@codesourcery.com>
1880
1881 * gdb.base/attach.exp (do_command_attach_tests): New.
1882
beb460e8
PA
18832014-03-20 Tom Tromey <tromey@redhat.com>
1884 Pedro Alves <palves@redhat.com>
1885
1886 PR cli/15718
1887 * gdb.base/condbreak-call-false.c: New file.
1888 * gdb.base/condbreak-call-false.exp: New file.
1889
40acf43a
PA
18902014-03-20 Pedro Alves <palves@redhat.com>
1891
1892 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1893 Delete.
1894 (block_signals, unblock_signals): Delete.
1895 (child_function_2, main): Remove references to deleted variable
1896 and functions.
1897
9f5e1e02
PA
18982014-03-20 Pedro Alves <palves@redhat.com>
1899
1900 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1901 Use pthread_kill to signal thread 2.
1902 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1903 Adjust to make the test send itself a signal rather than using the
1904 host's "kill" command.
1905
99619bea
PA
19062014-03-20 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.threads/multiple-step-overs.c: New file.
1909 * gdb.threads/multiple-step-overs.exp: New file.
1910 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1911 Adjust expected infrun debug output.
1912
2adfaa28
PA
19132014-03-20 Pedro Alves <palves@redhat.com>
1914
1915 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1916 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1917
31e77af2
PA
19182014-03-20 Pedro Alves <palves@redhat.com>
1919
1920 PR breakpoints/7143
1921 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1922 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1923 of gdb_test_multiple.
1924 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1925 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1926
b9f437de
PA
19272014-03-20 Pedro Alves <palves@redhat.com>
1928
1929 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
1930 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
1931
05adc73e
PA
19322014-03-19 Pedro Alves <palves@redhat.com>
1933
1934 * gdb.base/async.exp: Remove early return.
1935
6048b950
PA
19362014-03-19 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.base/async.exp (step& tests): Pass explicit test messages.
1939
8bcfb00a
PA
19402014-03-19 Pedro Alves <palves@redhat.com>
1941
1942 * gdb.base/async.exp (test_background): Expect \r\n after
1943 "completed." in the fail pattern.
1944
884e37dc
PA
19452014-03-19 Pedro Alves <palves@redhat.com>
1946
1947 * gdb.base/async.exp (test_background): New procedure.
1948 Use it for all background execution command tests.
1949
148e57e2
PA
19502014-03-19 Pedro Alves <palves@redhat.com>
1951
1952 * gdb.base/async.exp: Use prepare_for_testing.
1953
f48088c7
PA
19542014-03-19 Pedro Alves <palves@redhat.com>
1955
1956 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
1957 the same line.
1958
e2f6c966
PA
19592014-03-19 Pedro Alves <palves@redhat.com>
1960
1961 * gdb.base/async.c (main): Add "jump here" and "until here" line
1962 marker comments.
1963 * gdb.base/async.exp (jump_here): New global.
1964 (jump& test): Use it.
1965 (until_here): New global.
1966 (until& test): Use it.
1967
c30568d4
PA
19682014-03-19 Pedro Alves <palves@redhat.com>
1969
1970 * gdb.base/async.exp: Don't frob gdb_protocol.
1971
0172b6a7
DE
19722014-03-18 Doug Evans <xdje42@gmail.com>
1973
1974 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
1975 Fix spelling of exec-done-display.
1976
06c868a8
JK
19772014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1978
1979 PR gdb/15358
1980 * gdb.base/gdb-sigterm.c: New file.
1981 * gdb.base/gdb-sigterm.exp: New file.
1982
0c7e1a46
PA
19832014-03-18 Pedro Alves <palves@redhat.com>
1984
1985 PR gdb/13860
1986 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
1987 * lib/mi-support.exp (mi_expect_stop): Add special handling for
1988 solib-event.
1989
f7c77d93
JB
19902014-03-17 Joel Brobecker <brobecker@adacore.com>
1991
1992 * gdb.ada/pckd_arr_ren: New testcase.
1993
5a1e8c7a
DE
19942014-03-13 Doug Evans <xdje42@gmail.com>
1995
1996 PR guile/16612
1997 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
1998 collect after discarding symbols.
1999
350e1a76
DE
20002014-03-13 Ludovic Courtès <ludo@gnu.org>
2001 Doug Evans <xdje42@gmail.com>
2002
2003 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2004 to history survives a gc.
2005
a69900ae
PA
20062014-03-13 Pedro Alves <palves@redhat.com>
2007
2008 * gdb.base/default.exp: Don't test "target procfs".
2009
5db9f0bd
PA
20102014-03-13 Pedro Alves <palves@redhat.com>
2011
2012 * gdb.base/default.exp: Update "target child" and "target procfs"
2013 tests to not expect "Unix".
2014
b3ccfe11
TT
20152014-03-12 Tom Tromey <tromey@redhat.com>
2016
2017 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2018 New procs. Add target-async tests.
2019 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2020 Add target-async tests.
2021
646f4417
AA
20222014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2023
2024 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2025 'func_start' and 'func_end' for the beginning and end of the
2026 function code, respectively.
2027 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2028 'func_end' instead of 'func' and 'main'.
2029
288c211f
AA
20302014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2031
2032 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2033 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2034 generate the debug info assembler source.
2035
e0c0f156
AA
20362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2037
2038 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2039 * gdb.dwarf2/arr-subrange.exp: Likewise.
2040 * gdb.dwarf2/dwz.exp: Likewise.
2041 * gdb.dwarf2/method-ptr.exp: Likewise.
2042 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2043 * gdb.dwarf2/subrange.exp: Likewise.
2044 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2045 * gdb.dwarf2/implptrpiece.exp: Likewise.
2046 * gdb.dwarf2/nostaticblock.exp: Likewise.
2047
0e5c4555
AA
20482014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2049
2050 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2051 directory to absolute path name arguments.
2052
5ec18f2b
JG
20532014-03-10 Joel Brobecker <brobecker@adacore.com>
2054
2055 * gdb.ada/tagged_access: New testcase.
2056
847fc4f2
MM
20572014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2058
2059 * gdb.btrace/data.exp: Update expected output.
2060
cc3da688
YQ
20612014-03-06 Yao Qi <yao@codesourcery.com>
2062
2063 * gdb.trace/pr16508.exp: New file.
2064
0f26cec1
PA
20652014-03-05 Pedro Alves <palves@redhat.com>
2066
2067 PR gdb/16575
2068 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2069 procedure.
2070 (top level): Adjust to use it. Add tests that exercise breakpoint
2071 interaction with the code-cache.
2072
7a5a839f
LC
20732014-02-26 Ludovic Courtès <ludo@gnu.org>
2074
2075 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2076 test for 'history-append!'.
2077
31aa7e4e
JB
20782014-02-26 Joel Brobecker <brobecker@adacore.com>
2079
2080 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2081 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2082 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2083 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2084 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2085 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2086
1b588015
JB
20872014-02-26 Joel Brobecker <brobecker@adacore.com>
2088
2089 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2090 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2091 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2092
55426c9d
JB
20932014-02-26 Joel Brobecker <brobecker@adacore.com>
2094
2095 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2096
dc53a7ad
JB
20972014-02-26 Joel Brobecker <brobecker@adacore.com>
2098
2099 * gdb.dwarf2/arr-stride.c: New file.
2100 * gdb.dwarf2/arr-stride.exp: New file.
2101
12ab52e9
PA
21022014-02-26 Pedro Alves <palves@redhat.com>
2103
2104 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2105 that won't ever trigger. Make sure that GDB reports the correct
2106 breakpoint that caused the stop.
2107
849c862e
JK
21082014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2109
2110 PR gdb/16626
2111 * gdb.base/auto-load-script: New file.
2112 * gdb.base/auto-load.c: New file.
2113 * gdb.base/auto-load.exp: New file.
2114
71b7d793
JK
2115 PR gdb/16626
2116 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2117
e2f0d509
JK
21182014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2119
2120 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2121 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2122
50cc37c8
DE
21232014-02-24 Doug Evans <dje@google.com>
2124
2125 * lib/gdb.exp (run_on_host): Log error output if program fails.
2126
ea4758f2
PA
21272014-02-21 Pedro Alves <palves@redhat.com>
2128
2129 * gdb.threads/step-after-sr-lock.c: Rename to ...
2130 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2131 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2132 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2133 ... this.
2134
d7b30f67
SDJ
21352014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2136
2137 PR tdep/16397
2138 * gdb.arch/amd64-stap-special-operands.exp: New file.
2139 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2140 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2141 * gdb.arch/amd64-stap-triplet.S: Likewise.
2142 * gdb.arch/amd64-stap-triplet.c: Likewise.
2143
83deb43f
JB
21442014-02-20 Joel Brobecker <brobecker@adacore.com>
2145
2146 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2147 in .section pseudo-op.
2148
adde2bff
DE
21492014-02-20 lin zuojian <manjian2006@gmail.com>
2150 Joel Brobecker <brobecker@adacore.com>
2151 Doug Evans <xdje42@gmail.com>
2152
2153 PR symtab/16581
2154 * gdb.dwarf2/dw2-icycle.S: New file.
2155 * gdb.dwarf2/dw2-icycle.c: New file.
2156 * gdb.dwarf2/dw2-icycle.exp: New file.
2157
f7bd0f78
SC
21582014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2159
2160 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2161 operations on gdb.Value objects.
2162 * gdb.python/py-value-cc.exp: Add new test to test operations on
2163 gdb.Value objects.
2164
c17ef0d5
DE
21652014-02-18 Doug Evans <dje@google.com>
2166
2167 * Makefile.in (TESTS): New variable.
2168 (expanded_tests, expanded_tests_or_none): New variables
2169 (check-single): Pass $(expanded_tests_or_none) to runtest.
2170 (check-parallel): Only run tests in $(TESTS) if non-empty.
2171 (check/no-matching-tests-found): New rule.
2172 * README: Document TESTS makefile variable.
2173
5dd3176f
DE
21742014-02-18 Doug Evans <dje@google.com>
2175
2176 * Makefile.in (check-parallel): rm -rf outputs temp.
2177
0b10be4f
JK
21782014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2179
2180 Fix "ERROR: no fileid for" in the testsuite.
2181 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2182
85f224e7
DE
21832014-02-12 Doug Evans <dje@google.com>
2184
2185 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2186 (MISCELLANEOUS): New variable.
2187 (clean): rm -rf $(MISCELLANEOUS).
2188 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2189 dwp live in the same directory as symlinks, with each symlink pointed
2190 to a differently named file in a different directory.
2191
149b30ff
DE
21922014-02-11 Doug Evans <dje@google.com>
2193
2194 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2195 of Tcl file commands.
2196
1dfdac32
MK
21972014-02-10 Mark Kettenis <kettenis@gnu.org>
2198
2199 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2200 "kill -SIGUSR1 -1".
2201
aa4fb036
JB
22022014-02-10 Joel Brobecker <brobecker@adacore.com>
2203
2204 * gdb.ada/tick_length_array_enum_idx: New testcase.
2205
ed3ef339
DE
22062014-02-10 Doug Evans <xdje42@gmail.com>
2207
2208 * configure.ac (AC_OUTPUT): Add gdb.guile.
2209 * configure: Regenerate.
2210 * lib/gdb-guile.exp: New file.
2211 * lib/gdb.exp (get_target_charset): New function.
2212 * gdb.base/help.exp: Update expected output from "apropos apropos".
2213 * gdb.guile/Makefile.in: New file.
2214 * gdb.guile/guile.exp: New file.
2215 * gdb.guile/scm-arch.c: New file.
2216 * gdb.guile/scm-arch.exp: New file.
2217 * gdb.guile/scm-block.c: New file.
2218 * gdb.guile/scm-block.exp: New file.
2219 * gdb.guile/scm-breakpoint.c: New file.
2220 * gdb.guile/scm-breakpoint.exp: New file.
2221 * gdb.guile/scm-disasm.c: New file.
2222 * gdb.guile/scm-disasm.exp: New file.
2223 * gdb.guile/scm-equal.c: New file.
2224 * gdb.guile/scm-equal.exp: New file.
2225 * gdb.guile/scm-error.exp: New file.
2226 * gdb.guile/scm-error.scm: New file.
2227 * gdb.guile/scm-frame-args.c: New file.
2228 * gdb.guile/scm-frame-args.exp: New file.
2229 * gdb.guile/scm-frame-args.scm: New file.
2230 * gdb.guile/scm-frame-inline.c: New file.
2231 * gdb.guile/scm-frame-inline.exp: New file.
2232 * gdb.guile/scm-frame.c: New file.
2233 * gdb.guile/scm-frame.exp: New file.
2234 * gdb.guile/scm-generics.exp: New file.
2235 * gdb.guile/scm-gsmob.exp: New file.
2236 * gdb.guile/scm-iterator.c: New file.
2237 * gdb.guile/scm-iterator.exp: New file.
2238 * gdb.guile/scm-math.c: New file.
2239 * gdb.guile/scm-math.exp: New file.
2240 * gdb.guile/scm-objfile-script-gdb.in: New file.
2241 * gdb.guile/scm-objfile-script.c: New file.
2242 * gdb.guile/scm-objfile-script.exp: New file.
2243 * gdb.guile/scm-objfile.c: New file.
2244 * gdb.guile/scm-objfile.exp: New file.
2245 * gdb.guile/scm-ports.exp: New file.
2246 * gdb.guile/scm-pretty-print.c: New file.
2247 * gdb.guile/scm-pretty-print.exp: New file.
2248 * gdb.guile/scm-pretty-print.scm: New file.
2249 * gdb.guile/scm-section-script.c: New file.
2250 * gdb.guile/scm-section-script.exp: New file.
2251 * gdb.guile/scm-section-script.scm: New file.
2252 * gdb.guile/scm-symbol.c: New file.
2253 * gdb.guile/scm-symbol.exp: New file.
2254 * gdb.guile/scm-symtab-2.c: New file.
2255 * gdb.guile/scm-symtab.c: New file.
2256 * gdb.guile/scm-symtab.exp: New file.
2257 * gdb.guile/scm-type.c: New file.
2258 * gdb.guile/scm-type.exp: New file.
2259 * gdb.guile/scm-value-cc.cc: New file.
2260 * gdb.guile/scm-value-cc.exp: New file.
2261 * gdb.guile/scm-value.c: New file.
2262 * gdb.guile/scm-value.exp: New file.
2263 * gdb.guile/source2.scm: New file.
2264 * gdb.guile/types-module.cc: New file.
2265 * gdb.guile/types-module.exp: New file.
2266
7026a7c1
YQ
22672014-02-10 Yao Qi <yao@codesourcery.com>
2268
2269 PR testsuite/16543
2270 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2271 * configure: Regenerated.
2272 * Makefile.in: New file.
2273
6c466447
AS
22742014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2275
2276 * gdb.python/py-framefilter.exp: Fix typo.
2277
6e854735
YQ
22782014-02-08 Yao Qi <yao@codesourcery.com>
2279
2280 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2281 that no =breakpoint-modified is emitted when breakpoints are
2282 modified through MI commands.
2283
d137e6dc
PA
22842014-02-07 Pedro Alves <pedro@codesourcery.com>
2285 Pedro Alves <palves@redhat.com>
2286
2287 * gdb.threads/step-after-sr-lock.c: New file.
2288 * gdb.threads/step-after-sr-lock.exp: New file.
2289
b5ee5a50
PA
22902014-02-07 Pedro Alves <palves@redhat.com>
2291
2292 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2293
3c77faf3
JK
22942014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2295
2296 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2297 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2298
6dddc817
DE
22992014-02-06 Doug Evans <xdje42@gmail.com>
2300
2301 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2302 output.
2303
2304 * gdb.gdb/python-interrupts.exp: New file.
2305
de7b2893
YQ
23062014-02-05 Yao Qi <yao@codesourcery.com>
2307
2308 * gdb.trace/report.exp (use_collected_data): Test the output
2309 of "info threads" and "info inferiors".
2310
66d032ac
YQ
23112014-02-05 Yao Qi <yao@codesourcery.com>
2312
2313 Revert this patch:
2314
2315 2013-05-24 Yao Qi <yao@codesourcery.com>
2316
2317 * gdb.trace/tfile.exp: Test inferior and thread.
2318
591a12a1
UW
23192014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2320
2321 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2322 on a function.
2323 * gdb.base/step-bt.c: Call hello via function pointer to make
2324 sure its first instruction is executed on powerpc64le-linux.
2325
0ff3e01f
UW
23262014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2327
2328 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2329
084ee545
UW
23302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2331
2332 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2333 of the test patterns for use on little-endian systems.
2334
6ed14ff3
UW
23352014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2336
2337 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2338 (decimal_vector): Fix for little-endian.
2339
401e27fd
JM
23402014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2341
2342 * gdb.arch/sparc-sysstep.exp: New file.
2343 * gdb.arch/sparc-sysstep.c: Likewise.
2344
2345 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2346
8b924729
EBM
23472014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2348
2349 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2350
fb151210
JB
23512014-01-23 Tom Tromey <tromey@redhat.com>
2352
2353 * gdb.ada/array_char_idx: New testcase.
2354
0740f8d8
TT
23552014-01-23 Tom Tromey <tromey@redhat.com>
2356
2357 PR python/16487:
2358 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2359 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2360 classes.
2361
21909fa1
TT
23622014-01-23 Tom Tromey <tromey@redhat.com>
2363
2364 PR python/16491:
2365 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2366 string from an inferior frame.
2367 * gdb.python/py-framefilter-mi.exp: Update.
2368
87ce2a04
DE
23692014-01-22 Doug Evans <dje@google.com>
2370
2371 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2372
237b092b
AA
23732014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2374
2375 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2376
d674a709
AA
23772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2378
2379 * gdb.trace/entry-values.exp: Remove excess space character from
2380 regex patterns. Handle s390 call instruction.
2381
20fa3390
AA
23822014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2383
2384 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2385 define "*_start" label. Make "name" static.
2386 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2387 ${name} by references to ${name}_start.
2388
78466714
AA
23892014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2390
2391 * gdb.base/info-macros.exp: Remove "debug" from the compile
2392 options.
2393
ec9f644a
IB
23942014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2395
2396 * gdb.dlang/demangle.exp: New file.
2397
94b1b47e
IB
23982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2399
2400 * gdb.dlang/primitive-types.exp: New file.
2401
7f420862
IB
24022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2403
2404 * configure.ac: Create gdb.dlang/Makefile.
2405 * configure: Regenerate.
2406 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2407 * gdb.dlang/Makefile.in: New file.
2408 * lib/d-support.exp: New file.
2409 * lib/gdb.exp (skip_d_tests): New proc.
2410
52834460
MM
24112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2412
2413 * gdb.btrace/delta.exp: Check reverse stepi.
2414 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2415 * gdb.btrace/finish.exp: New.
2416 * gdb.btrace/next.exp: New.
2417 * gdb.btrace/nexti.exp: New.
2418 * gdb.btrace/record_goto.c: Add comments.
2419 * gdb.btrace/step.exp: New.
2420 * gdb.btrace/stepi.exp: New.
2421 * gdb.btrace/multi-thread-step.c: New.
2422 * gdb.btrace/multi-thread-step.exp: New.
2423 * gdb.btrace/rn-dl-bind.c: New.
2424 * gdb.btrace/rn-dl-bind.exp: New.
2425 * gdb.btrace/data.c: New.
2426 * gdb.btrace/data.exp: New.
2427 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2428
6e07b1d2
MM
24292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2430
2431 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2432 * gdb.btrace/exception.exp: Update.
2433 * gdb.btrace/instruction_history.exp: Update.
2434 * gdb.btrace/record_goto.exp: Update.
2435 * gdb.btrace/tailcall.exp: Update.
2436 * gdb.btrace/unknown_functions.exp: Update.
2437 * gdb.btrace/delta.exp: New.
2438
0b722aec
MM
24392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2440
2441 * gdb.btrace/record_goto.exp: Add backtrace test.
2442 * gdb.btrace/tailcall.exp: Add backtrace test.
2443
066ce621
MM
24442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2445
2446 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2447 * gdb.btrace/record_goto.c: New.
2448 * gdb.btrace/record_goto.exp: New.
2449 * gdb.btrace/x86-record_goto.S: New.
2450
0688d04e
MM
24512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2452
2453 * gdb.btrace/function_call_history.exp: Update tests.
2454 * gdb.btrace/instruction_history.exp: Update tests.
2455
8710b709
MM
24562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2457
2458 * gdb.btrace/function_call_history.exp: Fix expected field
2459 order for "record function-call-history".
2460 Add new tests for "record function-call-history /c".
2461 * gdb.btrace/exception.cc: New.
2462 * gdb.btrace/exception.exp: New.
2463 * gdb.btrace/tailcall.exp: New.
2464 * gdb.btrace/x86-tailcall.S: New.
2465 * gdb.btrace/x86-tailcall.c: New.
2466 * gdb.btrace/unknown_functions.c: New.
2467 * gdb.btrace/unknown_functions.exp: New.
2468 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2469
5de9129b
MM
24702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2471
2472 * gdb.btrace/instruction_history.exp: Update.
2473 * gdb.btrace/function_call_history.exp: Update.
2474
23a7fe75
MM
24752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2476
2477 * gdb.btrace/function_call_history.exp: Fix expected function
2478 trace.
2479 * gdb.btrace/instruction_history.exp: Initialize traced.
2480 Remove traced_functions.
2481
724c7dd8
MM
24822014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2483
2484 * gdb.btrace/function_call_history.exp: Update
2485 * gdb.btrace/instruction_history.exp: Update.
2486
6d78d93b
MM
24872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2488
2489 * gdb.btrace/enable.exp: Update expected text.
2490
93a360cc
OJ
24912014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2492
2493 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2494 bytes.
2495
3772b53f
MR
24962014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2497
2498 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2499
596662fa
OJ
25002014-01-15 Omair Javaid <omair.javaid@linaro.org>
2501
2502 * lib/gdb.exp (supports_process_record): Return true for
2503 arm*-linux*. (supports_reverse): Likewise.
2504
b5b08fb4
SC
25052014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2506
2507 PR python/15464
2508 PR python/16113
2509 * gdb.python/py-type.c: Enhance test case.
2510 * gdb.python/py-value-cc.cc: Likewise
2511 * gdb.python/py-type.exp: Add new tests.
2512 * gdb.python/py-value-cc.exp: Likewise
2513
52d7fb13
AA
25142014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2515 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2518 Make "name" extern.
2519 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2520 references to ${name}_start by references to ${name}.
2521
a2cd8cfe
JB
25222014-01-10 Joel Brobecker <brobecker@adacore.com>
2523
2524 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2525
4e23fced
JB
25262014-01-10 Joel Brobecker <brobecker@adacore.com>
2527
2528 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2529
c6a9e42c
PA
25302014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2531 Pedro Alves <palves@redhat.com>
2532
2533 * gdb.mi/mi-info-os.exp: Connect to the target with
2534 mi_gdb_target_load.
2535
b7ea362b
PA
25362014-01-08 Pedro Alves <palves@redhat.com>
2537
2538 * gdb.threads/reconnect-signal.c: New file.
2539 * gdb.threads/reconnect-signal.exp: New file.
2540
5e3f4fab
EBM
25412014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2542
2543 * gdb.base/source-dir.exp: New file.
2544
79301218
JB
25452014-01-07 Joel Brobecker <brobecker@adacore.com>
2546
2547 * gdb.ada/mi_interface: New testcase.
2548
8e355c5d
JB
25492014-01-07 Joel Brobecker <brobecker@adacore.com>
2550
2551 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2552 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2553 gdb.ada/pp-rec-component/pck.ads: New files.
2554
c0d48811
JB
25552014-01-07 Joel Brobecker <brobecker@adacore.com>
2556
2557 * gdb.python/py-pp-integral.c: New file.
2558 * gdb.python/py-pp-integral.py: New file.
2559 * gdb.python/py-pp-integral.exp: New file.
2560
17b609c3 2561For older changes see ChangeLog-1993-2013.
c906108c 2562\f
8d8cb839
EZ
2563;; Local Variables:
2564;; mode: change-log
2565;; left-margin: 8
2566;; fill-column: 74
2567;; version-control: never
2568;; End:
902f2ccb 2569
14f8b115 2570 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
2571 Copying and distribution of this file, with or without modification,
2572 are permitted provided the copyright notice and this notice are preserved.
This page took 2.198608 seconds and 4 git commands to generate.