ARM: stricter __stack_chk_guard check during prologue analysis
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
7f5ef605
PA
12014-10-28 Pedro Alves <palves@redhat.com>
2
3 PR gdb/12623
4 * gdb.base/sigstep.c (no_handler): New global.
5 (main): If 'no_handler is true, set the signal handlers to
6 SIG_IGN.
7 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8 with_sw_watch and no_handler parameters. Handle them.
9 (top level) <stepping over handler when stopped at a breakpoint
10 test>: Add a test axis for testing with a software watchpoint, and
11 another for testing with the signal handler set to SIG_IGN.
12 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14
abbdbd03
PA
152014-10-28 Pedro Alves <palves@redhat.com>
16
17 PR gdb/17511
18 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19 * gdb.base/sigstep.exp (other_handler_location): New global.
20 (advance): Support stepping into the signal handler, and running
21 commands while in the handler.
22 (in_handler_map): New global.
23 (top level): In the advance test, add combinations for getting
24 into the handler with stepping commands, and for running commands
25 in the handler. Add comment descripting the advancei tests.
26
1df4399f
PA
272014-10-28 Pedro Alves <palves@redhat.com>
28
29 * gdb.base/sigstep.exp: Use build_executable instead of
30 prepare_for_testing.
31 (top level): Move code that starts GDB, runs to main and creates a
32 display to ...
33 (restart): ... this new procedure.
34 (top level): Move backtrace from signal handler test to ...
35 (validate_backtrace): ... this new procedure.
36 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
37 with_test_prefix. Always restart GDB.
38 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
39 with_test_prefix. Always restart GDB. No need to delete
40 breakpoints after the test.
41 (test_skip_handler): Remove prefix parameter.
42 (skip_over_handler, breakpoint_to_handler)
43 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
44 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
45 restart GDB. No need to delete breakpoints after the test.
46 (top level): Use foreach to call the test procedures with
47 different commands.
48
a5b6e449
PA
492014-10-28 Pedro Alves <palves@redhat.com>
50
51 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
52 instead of GNATS numbers.
53 * gdb.base/sigbpt.exp: Likewise.
54 * gdb.base/siginfo.exp: Likewise.
55 * gdb.base/sigstep.exp: Likewise.
56
e5f8a7cc
PA
572014-10-27 Pedro Alves <palves@redhat.com>
58
59 * gdb.base/sigstep.c (dummy): New global.
60 (main): Issue a couple writes to the new global.
61 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
62 procedures.
63 (skip_over_handler): Use test_skip_handler.
64 (top level): Call skip_over_handler for stepi and nexti too.
65 (breakpoint_over_handler): Use test_skip_handler.
66 (top level): Call breakpoint_over_handler for stepi and nexti too.
67
763905a3
YQ
682014-10-27 Yao Qi <yao@codesourcery.com>
69
70 * gdb.trace/tfile.c (adjust_function_address)
71 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
72 function descriptor.
73
6f259a23
DB
742014-10-24 Don Breazeal <donb@codesourcery.com>
75
76 * gdb.base/foll-fork.exp (test_follow_fork,
77 catch_fork_child_follow): Check for updated fork messages emitted
78 from infrun.c.
79 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
80 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
81 vfork_and_exec_child_follow_through_step): Check for updated vfork
82 messages emitted from infrun.c.
83
09dd9a69
PA
842014-10-24 Pedro Alves <palves@redhat.com>
85
86 * gdb.base/corefile.exp: Remove references to ultrix.
87 * gdb.base/interrupt.exp: Likewise.
88 * gdb.base/whatis.exp: Likewise.
89 * gdb.gdb/selftest.exp: Likewise.
90 * gdb.threads/manythreads.exp: Likewise.
91 * gdb.threads/print-threads.exp: Likewise.
92 * gdb.threads/pthreads.exp:: Likewise.
93 * gdb.threads/schedlock.exp: Likewise.
94
3433cfa5
SC
952014-10-24 Siva Chandra Reddy <sivachandra@google.com>
96
97 * gdb.cp/non-trivial-retval.cc: Add a test case.
98 * gdb.cp/non-trivial-retval.exp: Add a test.
99
092f880b
YQ
1002014-10-20 Yao Qi <yao@codesourcery.com>
101
102 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
103 * gdb.python/py-objfile-script-gdb.py: New file.
104 * gdb.python/py-objfile-script.exp: Update reference to
105 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
106 of remote_download. Remove the dest file.
107
acbdb7f3
YQ
1082014-10-20 Yao Qi <yao@codesourcery.com>
109
110 * gdb.base/checkpoint.exp: Don't remove file copied on host.
111 * gdb.base/step-line.exp: Likewise.
112 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
113 * gdb.dwarf2/dw2-basic.exp: Likewise.
114 * gdb.dwarf2/dw2-compressed.exp: Likewise.
115 * gdb.dwarf2/dw2-filename.exp: Likewise.
116 * gdb.dwarf2/dw2-intercu.exp: Likewise.
117 * gdb.dwarf2/dw2-intermix.exp: Likewise.
118 * gdb.dwarf2/dw2-producer.exp: Likewise.
119 * gdb.dwarf2/mac-fileno.exp: Likewise.
120 * gdb.python/py-frame-args.exp: Likewise.
121 * gdb.python/py-framefilter.exp: Likewise.
122 * gdb.python/py-mi.exp: Likewise.
123 * gdb.python/py-objfile-script.exp: Likewise
124 * gdb.python/py-pp-integral.exp: Likewise.
125 * gdb.python/py-pp-re-notag.exp: Likewise.
126 * gdb.python/py-prettyprint.exp: Likewise.
127 * gdb.python/py-section-script.exp: Likewise.
128 * gdb.python/py-typeprint.exp: Likewise.
129 * gdb.python/py-xmethods.exp: Likewise.
130 * gdb.stabs/weird.exp: Likewise.
131 * gdb.xml/tdesc-regs.exp: Likewise.
132
bd286a29
KCY
1332014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
134
135 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
136 (out_cu): Use addr_len for the size of addresses.
137 (out_line): Likewise. Size DW_LNE_set_address instruction
138 according to addr_len.
139 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
140 (FUNC): Add START_INSNS to definition.
141
673dc4a0
YQ
1422014-10-18 Yao Qi <yao@codesourcery.com>
143
144 * gdb.base/argv0-symlink.exp: Check argv[0] value if
145 gdb_has_argv0 return true.
146 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
147 check [target_info exists noargs], check [gdb_has_argv0]
148 instead.
149 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
150 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
151 procedures.
152
4ffbba72
DE
1532014-10-17 Doug Evans <dje@google.com>
154
155 * gdb.python/py-events.exp: Update expected output for clear_objfiles
156 event.
157 * gdb.python/py-events.py: Add clear_objfiles event.
158
d096d8c1
DE
1592014-10-17 Doug Evans <dje@google.com>
160
161 * gdb.python/py-objfile.exp: Test progspace attribute.
162
a80db015
LM
1632014-10-17 Luis Machado <lgustavo@codesourcery.com>
164
165 * gdb.guile/scm-breakpoint.exp: Do not assume any
166 directory separators when matching source file paths.
167 * gdb.python/py-breakpoint.exp: Likewise.
168 * gdb.reverse/break-precsave.exp: Likewise.
169 * gdb.reverse/break-reverse.exp: Likewise.
170 * gdb.reverse/consecutive-precsave.exp: Likewise.
171 * gdb.reverse/finish-precsave.exp: Likewise.
172 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
173 * gdb.reverse/finish-reverse.exp: Likewise.
174 * gdb.reverse/i386-precsave.exp: Likewise.
175 * gdb.reverse/i387-env-reverse.exp: Likewise.
176 * gdb.reverse/i387-stack-reverse.exp: Likewise.
177 * gdb.reverse/machinestate-precsave.exp: Likewise.
178 * gdb.reverse/machinestate.exp: Likewise.
179 * gdb.reverse/sigall-precsave.exp: Likewise.
180 * gdb.reverse/solib-precsave.exp: Likewise.
181 * gdb.reverse/step-precsave.exp: Likewise.
182 * gdb.reverse/until-precsave.exp: Likewise.
183 * gdb.reverse/watch-precsave.exp: Likewise.
184 * gdb.reverse/watch-reverse.exp: Likewise.
185
b22089ab
YQ
1862014-10-17 Yao Qi <yao@codesourcery.com>
187
188 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
189 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
190
6c4486e6
PA
1912014-10-17 Pedro Alves <palves@redhat.com>
192
193 PR gdb/17471
194 * gdb.base/bg-execution-repeat.c: New file.
195 * gdb.base/bg-execution-repeat.exp: New file.
196
0ff33695
PA
1972014-10-17 Pedro Alves <palves@redhat.com>
198
199 PR gdb/17300
200 * gdb.base/continue-all-already-running.c: New file.
201 * gdb.base/continue-all-already-running.exp: New file.
202
6fdebc3d
PA
2032014-10-17 Pedro Alves <palves@redhat.com>
204
205 PR gdb/17472
206 * gdb.base/annota-input-while-running.c: New file.
207 * gdb.base/annota-input-while-running.exp: New file.
208
32a8097b
PA
2092014-10-17 Pedro Alves <palves@redhat.com>
210
211 * gdb.base/callfuncs.exp: emove references to osf.
212 * gdb.base/sigall.exp: Likewise.
213 * gdb.gdb/selftest.exp: Likewise.
214 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
215 * gdb.mi/non-stop.c: Likewise.
216 * gdb.mi/pthreads.c: Likewise.
217 * gdb.reverse/sigall-precsave.exp: Likewise.
218 * gdb.reverse/sigall-reverse.exp: Likewise.
219 * gdb.threads/pthreads.c: Likewise.
220 * gdb.threads/pthreads.exp: Likewise.
221
7a3517ff
YQ
2222014-10-17 Yao Qi <yao@codesourcery.com>
223
224 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
225 check 'target_info exists noargs'.
226 (test_command_prompt_position): Likewise.
227 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
228 Remove "set args".
229 (progvar_simple_while_test): Likewise.
230 (progvar_complex_if_while_test): Likewise.
231 (if_while_breakpoint_command_test): Likewise.
232 (infrun_breakpoint_command_test): Likewise.
233 (breakpoint_command_test): Likewise.
234 (watchpoint_command_test): Likewise.
235 (bp_deleted_in_command_test): Likewise.
236 (temporary_breakpoint_commands): Likewise.
237
bb99c472
YQ
2382014-10-16 Yao Qi <yao@codesourcery.com>
239
240 * gdb.base/remotetimeout.exp: Remove noargs checking.
241
7c16b83e
PA
2422014-10-15 Pedro Alves <palves@redhat.com>
243
244 PR breakpoints/9649
245 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
246 * gdb.base/breakpoint-in-ro-region.exp
247 (probe_target_hardware_step): New procedure.
248 (top level): Probe hardware stepping and hardware breakpoint
249 support. Test stepping through a read-only region, with both
250 "breakpoint auto-hw" on and off and both "always-inserted" on and
251 off.
252
35a49624
IB
2532014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
254
255 * gdb.dlang/demangle.exp: Update for demangling changes.
256
2d1c107c
SC
2572014-10-15 Siva Chandra Reddy <sivachandra@google.com>
258
259 * gdb.cp/non-trivial-retval.cc: Add new test cases.
260 * gdb.cp/non-trivial-retval.exp: Add new tests.
261
778811d5
SC
2622014-10-15 Siva Chandra Reddy <sivachandra@google.com>
263
264 PR c++/13403
265 PR c++/15154
266 * gdb.cp/non-trivial-retval.cc: New file.
267 * gdb.cp/non-trivial-retval.exp: New file.
268
10c5f0a8
YQ
2692014-10-15 Yao Qi <yao@codesourcery.com>
270
271 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
272 remote host.
273
65d7b369
YQ
2742014-10-15 Yao Qi <yao@codesourcery.com>
275
276 * gdb.python/py-symbol.exp: Match file base name if host is
277 remote, otherwise match file name with dir name.
278 * gdb.python/py-symtab.exp: Likewise.
279 * gdb.python/python.exp: Likewise.
280
46dc1394
YQ
2812014-10-15 Yao Qi <yao@codesourcery.com>
282
283 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
284 pattern.
285 * gdb.python/py-symtab.exp: Likewise.
286 * gdb.python/python.exp: Remove trailing ".*". Fix typo
287 locationn.
288
c40cc657
JB
2892014-10-14 Joel Brobecker <brobecker@adacore.com>
290
291 * gdb.ada/addr_arith: New testcase.
292
2abf49e1
MR
2932014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
294
295 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
296 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
297 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
298 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
299
f7088df3
SDJ
3002014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
301
302 * gdb.arch/stap-eval-lang-ada.S: Likewise.
303 * gdb.arch/stap-eval-lang-ada.c: Likewise.
304 * gdb.arch/stap-eval-lang-ada.exp: New file.
305
4dc06805
YQ
3062014-10-14 Yao Qi <yao@codesourcery.com>
307
308 * gdb.mi/mi-var-child.c (nothing1): New function.
309 (nothing2): New function.
310 (do_children_tests): Set function pointers by nothing1 and
311 nothing2.
312 * gdb.mi/mi-var-child.exp: Step over new added statements.
313 Update test to match the new output.
314 * gdb.mi/var-cmd.c (nothing1): New function.
315 (nothing2): New function.
316 (do_children_tests): Set function pointers by nothing1 and
317 nothing2.
318 * gdb.mi/mi-var-display.exp: Update test to match output.
319 Step to the line specified by $line_dct_nothing.
320 Increase the number of lines to step.
321
46a93de2
YQ
3222014-10-14 Yao Qi <yao@codesourcery.com>
323
324 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
325 tests.
326 * gdb.mi/mi2-var-child.exp: Likewise.
327
14ea52ee
DE
3282014-10-13 Doug Evans <dje@google.com>
329
330 * gdb.python/py-objfile.exp: Change name of file name test.
331
e5c6e92b
DE
3322014-10-13 Doug Evans <dje@google.com>
333
334 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
335 from the start of the CU.
336
c780cc2f
JK
3372014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
338 Yao Qi <yao@codesourcery.com>
339
340 Fix "save breakpoints" for "catch" command.
341 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
342 Remove -nonewline. Match also the added "main" line.
343
99894e11
JK
3442014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
345
346 Fix "save breakpoints" for "disable $bpnum" command.
347 * gdb.base/save-bp.c (main): Add label.
348 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
349
6e1ac5a3
JK
3502014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
351
352 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
353
754dd2b0
YQ
3542014-10-11 Yao Qi <yao@codesourcery.com>
355
356 * gdb.server/server-kill.exp: Execute command
357 "set remote trace-status-packet on" before "tstatus".
358
f90183d7
YQ
3592014-10-11 Yao Qi <yao@codesourcery.com>
360
361 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
362 (main): Call getppid.
363 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
364 and continue to it. Read variable "server_pid".
365
bf40a607
YQ
3662014-10-11 Yao Qi <yao@codesourcery.com>
367
368 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
369
052ca370
YQ
3702014-10-11 Yao Qi <yao@codesourcery.com>
371
372 * gdb.threads/thread-find.exp: Don't execute command
373 "info threads".
374 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
375 * gdb.threads/linux-dp.exp: Don't check the condition
376 $threads_created equals to zero.
377
3831839c
PA
3782014-10-10 Pedro Alves <palves@redhat.com>
379
380 * gdb.base/bigcore.exp: Remove references to IRIX.
381 * gdb.base/funcargs.exp: Likewise.
382 * gdb.base/interrupt.exp: Likewise.
383 * gdb.base/mips_pro.exp: Likewise.
384 * gdb.base/nodebug.exp: Likewise.
385 * gdb.base/setvar.exp: Likewise.
386 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
387
8b9a549d
PA
3882014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
389 Pedro Alves <palves@redhat.com>
390
391 PR symtab/14466
392 * gdb.base/vdso-warning.c: New file.
393 * gdb.base/vdso-warning.exp: New file.
394
d48ba5e8
DE
3952014-10-02 Doug Evans <dje@google.com>
396
397 * gdb.base/structs.c (main): Don't run forever.
398
2278c276
PA
3992014-10-02 Pedro Alves <palves@redhat.com>
400
401 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
402 (top level) <stop threads 1, stop threads 2>: Use it.
403
b57bacec
PA
4042014-10-02 Pedro Alves <palves@redhat.com>
405
406 * gdb.threads/break-while-running.exp (test): Add new
407 'update_thread_list' argument. Skip "info threads" if false.
408 (top level): Add new 'update_thread_list' axis.
409
13fd3ff3
PA
4102014-10-02 Pedro Alves <palves@redhat.com>
411
412 PR breakpoints/17431
413 * gdb.base/execl-update-breakpoints.c: New file.
414 * gdb.base/execl-update-breakpoints.exp: New file.
415
0fec99e8
PA
4162014-10-01 Pedro Alves <palves@redhat.com>
417
418 * gdb.base/breakpoint-in-ro-region.c: New file.
419 * gdb.base/breakpoint-in-ro-region.exp: New file.
420
2ddf4301
SM
4212014-10-01 Simon Marchi <simon.marchi@ericsson.com>
422
423 * gdb.mi/mi-exit-code.exp: New file.
424 * gdb.mi/mi-exit-code.c: New file.
425
6a5f3f43
YQ
4262014-09-30 Yao Qi <yao@codesourcery.com>
427
428 * lib/prelink-support.exp (build_executable_own_libs): Error if
429 the target isn't native.
430
345bcc73
YQ
4312014-09-30 Yao Qi <yao@codesourcery.com>
432
433 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
434 false.
435
a25a5a45
PA
4362014-09-22 Pedro Alves <palves@redhat.com>
437
438 * gdb.threads/break-while-running.exp: New file.
439 * gdb.threads/break-while-running.c: New file.
440
00ba3162
YQ
4412014-09-19 Yao Qi <yao@codesourcery.com>
442
443 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
444 Invoke test. Restart GDB with --readnow and invoke test again.
445
c3b7b696
YQ
4462014-09-19 Yao Qi <yao@codesourcery.com>
447
448 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
449 proc set_breakpoint_on_gcd_function. Invoke
450 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
451 invoke set_breakpoint_on_gcd_function again.
452
2b4fd423
DE
4532014-09-18 Doug Evans <dje@google.com>
454
455 * gdb.dwarf2/symtab-producer.exp: New file.
456
a5947601
SDJ
4572014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
458
459 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
460 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
461 * gdb.base/global-var-nested-by-dso.c: Likewise.
462 * gdb.base/global-var-nested-by-dso.exp: Likewise.
463
91c19059
SDJ
4642014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
465 Pedro Alves <palves@redhat.com>
466
467 * gdb.base/watch-bitfields.exp: Pass string other than test file
468 name to prepare_for_testing.
469 (watch): New procedure.
470 (expect_watchpoint): Use with_test_prefix.
471 (top level): Factor out tests to ...
472 (test_watch_location, test_regular_watch): ... these new
473 procedures, and use with_test_prefix and gdb_continue_to_end.
474
bb9d5f81
PP
4752014-09-16 Patrick Palka <patrick@parcs.ath.cx>
476
477 PR breakpoints/12526
478 * gdb.base/watch-bitfields.exp: New file.
479 * gdb.base/watch-bitfields.c: New file.
480
635856f5
PA
4812014-09-16 Pedro Alves <palves@redhat.com>
482
483 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
484 software and hardware addresses, not software address against
485 itself.
486
7280ceea
PA
4872014-09-16 Pedro Alves <palves@redhat.com>
488
489 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
490 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
491
428b16bd
PA
4922014-09-16 Pedro Alves <palves@redhat.com>
493
494 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
495 files.
496 * gdb.base/a2-run.exp: Remove all code guarded by istarget
497 "*-*-vxworks*" throughout.
498 * gdb.base/break.exp: Likewise.
499 * gdb.base/default.exp: Likewise.
500 * gdb.base/scope.exp: Likewise.
501 * gdb.base/sepdebug.exp: Likewise.
502 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
503 throughout.
504 * gdb.base/run.c: Likewise.
505 * gdb.base/sepdebug.c: Likewise.
506 * gdb.hp/gdb.aCC/run.c: Likewise.
507 * gdb.reverse/until-reverse.c: Likewise.
508 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
509
666d413c
YQ
5102014-09-16 Yao Qi <yao@codesourcery.com>
511
512 * boards/local-remote-host-native.exp: New file.
513
57cbd724
DE
5142014-09-14 Doug Evans <xdje42@gmail.com>
515
516 * gdb.threads/queue-signal.c (thread_count): New variable.
517 (thread_count_mutex, thread_count_condvar): New variables.
518 (incr_thread_count, wait_all_threads_running): New functions.
519 (main): Wait for all threads to be in their thread functions.
520
81219e53
DE
5212014-09-13 Doug Evans <xdje42@gmail.com>
522
523 * gdb.threads/queue-signal.c: New file.
524 * gdb.threads/queue-signal.exp: New file.
525
3714cea7
DE
5262014-09-13 Doug Evans <xdje42@gmail.com>
527
528 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
529 be consistent with what default_gdb_init uses.
530 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
531 the plain text of the prompt. Add some logging printfs.
532 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
533
fa43b1d7
PA
5342014-09-12 Pedro Alves <palves@redhat.com>
535
536 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
537 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
538 * gdb.arch/i386-size-overlap.exp: Likewise.
539 * gdb.arch/i386-size.exp: Likewise.
540 * gdb.arch/i386-unwind.exp: Likewise.
541 * gdb.base/a2-run.exp: Likewise.
542 * gdb.base/break.exp: Likewise.
543 * gdb.base/charset.exp: Likewise.
544 * gdb.base/chng-syms.exp: Likewise.
545 * gdb.base/commands.exp: Likewise.
546 * gdb.base/dbx.exp: Likewise.
547 * gdb.base/find.exp: Likewise.
548 * gdb.base/funcargs.exp: Likewise.
549 * gdb.base/jit-simple.exp: Likewise.
550 * gdb.base/reread.exp: Likewise.
551 * gdb.base/sepdebug.exp: Likewise.
552 * gdb.base/step-bt.exp: Likewise.
553 * gdb.cp/mb-inline.exp: Likewise.
554 * gdb.cp/mb-templates.exp: Likewise.
555 * gdb.objc/basicclass.exp: Likewise.
556 * gdb.threads/killed.exp: Likewise.
557
9d9bf2df
EBM
5582014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
559
560 PR tdep/17379
561 * gdb.arch/powerpc-stackless.S: New file.
562 * gdb.arch/powerpc-stackless.exp: New file.
563
1cf2f1b0
JK
5642014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
565
566 * gdb.base/attach.c: Include unistd.h.
567 (main): Call alarm. Add label postloop.
568 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
569 gdb_breakpoint, gdb_continue_to_breakpoint.
570 (test_command_line_attach_run): Kill ${testpid} in one exit path.
571
98880d46
PA
5722014-09-11 Pedro Alves <palves@redhat.com>
573
574 PR gdb/17347
575 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
576 * gdb.base/attach.exp (test_command_line_attach_run): New
577 procedure.
578 (top level): Call it.
579
4c92ff2c
PA
5802014-09-11 Pedro Alves <palves@redhat.com>
581
582 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
583 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
584 (do_command_attach_tests): Use spawn_wait_for_attach.
585 * gdb.base/solib-overlap.exp: Likewise.
586 * gdb.multi/multi-attach.exp: Likewise.
587 * gdb.python/py-prompt.exp: Likewise.
588 * gdb.python/py-sync-interp.exp: Likewise.
589 * gdb.server/ext-attach.exp: Likewise.
590
3adc1a7d
GKB
5912014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
592
593 * gdb.fortran/array-element.exp: Remove unexpected "continue"
594 command in testcase. Simplify testcase.
595
96334934
JB
5962014-09-10 Joel Brobecker <brobecker@adacore.com>
597
598 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
599
eb479039
JB
6002014-09-10 Joel Brobecker <brobecker@adacore.com>
601
602 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
603
deede10c
JB
6042014-09-10 Joel Brobecker <brobecker@adacore.com>
605
606 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
607
7828a5f5
JB
6082014-09-10 Joel Brobecker <brobecker@adacore.com>
609
610 * gdb.dwarf2/dynarr-ptr.c: New file.
611 * gdb.dwarf2/dynarr-ptr.exp: New file.
612
33aeebcf
MR
6132014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
614
615 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
616 of 30 rather than hardcoding 120 for a slow test case. Take the
617 `gdb,timeout' target setting into account for this calculation.
618 Don't extend the timeout for the test cases that don't need it.
619
7b415901
MR
6202014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
621
622 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
623 a factor of 2 for a slow test case. Take the `gdb,timeout'
624 target setting into account for this calculation.
625 * gdb.reverse/until-precsave.exp: Increase the timeout by
626 a factor of 15 and 3 respectively rather than adding 120
627 for a pair of slow test cases. Take the `gdb,timeout'
628 target setting into account for this calculation.
629
4a40f85a
MR
6302014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
631
632 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
633 timeout, don't pass one down to gdb_expect.
634 (gdb_expect): Rework timeout selection.
635
09635af7
MR
6362014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
637
638 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
639 exception on timeout.
640 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
641 (gdbserver_start_extended): Catch any `gdbserver_start' error
642 exceptions.
643 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
644 * lib/mi-support.exp (mi_gdb_target_load): Catch any
645 `gdbserver_gdb_load' error exceptions.
646
2bdd10b7
MR
6472014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
648
649 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
650 120 on waiting for the TCP socket to open.
651
316935f0
DE
6522014-09-09 Doug Evans <xdje42@gmail.com>
653
654 * gdb.base/default.exp (show_conv_list): Add _caller_is,
655 _caller_matches, _any_caller_is, _any_caller_matches.
656
83740597
DE
6572014-09-09 Doug Evans <xdje42@gmail.com>
658
659 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
660
4c122fc3
YQ
6612014-09-09 Yao Qi <yao@codesourcery.com>
662
663 * gdb.mi/mi-var-display.exp: Set print symbol off.
664
a9f116cb
GKB
6652014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
666
667 PR gdb/17035
668 * gdb.base/commands.exp: Add tests to verify user-defined
669 commands with empty bodies.
670 * gdb.python/py-cmd.exp: Test that we don't show user-defined
671 python commands in `show user command`.
672 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
673 scheme commands in `show user command`.
674
c75bd3a2
JK
6752014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
676
677 PR python/17355
678 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
679 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
680 * gdb.python/py-framefilter-invalidarg.exp: New file.
681 * gdb.python/py-framefilter-invalidarg.py: New file.
682
faa42425
DE
6832014-09-06 Doug Evans <xdje42@gmail.com>
684
685 PR 15276
686 * gdb.python/py-caller-is.c: New file.
687 * gdb.python/py-caller-is.exp: New file.
688
474ca4f6
SDJ
6892014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
690
691 PR gdb/17235
692 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
693 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
694
eb0b0463
SDJ
6952014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
696
697 PR fortran/17237
698 * gdb.fortran/print-formatted.exp: New file.
699 * gdb.fortran/print-formatted.f90: Likewise.
700
5f3b99cf
SS
7012014-09-03 Sasha Smundak <asmundak@google.com>
702
703 * gdb.python/py-frame.exp: Test Frame.read_register.
704
7d793aa9
SDJ
7052014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
706
707 PR python/16699
708 * gdb.python/py-completion.exp: New file.
709 * gdb.python/py-completion.py: Likewise.
710
fb0576e9
DE
7112014-08-28 Doug Evans <dje@google.com>
712
713 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
714 eax,etc. are live with values set by gdb and thus the compiler can't
715 use them.
716 * gdb.arch/i386-pseudo.c (main): Ditto.
717
ee92b0dd
DE
7182014-08-27 Doug Evans <dje@google.com>
719
720 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
721
6649db35
DE
7222014-08-25 Doug Evans <dje@google.com>
723
724 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
725 (main): Ditto.
726
564b7600
DE
7272014-08-25 Doug Evans <dje@google.com>
728
729 * gdb.threads/thread-execl.exp: #include <stdio.h>.
730
3881fb67
YQ
7312014-08-24 Yao Qi <yao@codesourcery.com>
732
733 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
734 symbol off.
735 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
736
a05a36a5
DE
7372014-08-22 Doug Evans <dje@google.com>
738
739 PR 17276
740 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
741 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
742 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
743
7c343b48
YQ
7442014-08-22 Yao Qi <yao@codesourcery.com>
745
746 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
747 * gdb.python/py-finish-breakpoint2.exp: Likewise.
748 * gdb.python/python.exp: Likewise. Use .py file on the host
749 instead of the build.
750
22fd09ae
JK
7512014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
752
753 * gdb.threads/gcore-stale-thread.c: New file.
754 * gdb.threads/gcore-stale-thread.exp: New file.
755
a8454a7c
PA
7562014-08-21 Pedro Alves <palves@redhat.com>
757
758 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
759 * gdb.base/gcore-relro-pie.exp: Likewise.
760 * gdb.base/gcore-relro.exp: Likewise.
761 * gdb.base/gcore.exp: Likewise.
762 * gdb.base/print-symbol-loading.exp: Likewise.
763 * gdb.threads/gcore-thread.exp: Likewise.
764 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
765
2a31c623
PA
7662014-08-20 Pedro Alves <palves@redhat.com>
767 Jan Kratochvil <jan.kratochvil@redhat.com>
768
769 * Makefile.in (EXTRA_RULES, CC): New variables, get from
770 configure.
771 (EXPECT): Handle READ1 being set.
772 (all): Depend on EXTRA_RULES.
773 (check-read1, expect-read1, read1.so, read1): New rules.
774 * README (Testsuite Parameters): Document the READ1 make variable.
775 (Race detection): New section.
776 * configure: Regenerate.
777 * configure.ac: If build==host==target, and running under a
778 GNU/glibc system, add read1 to the extra Makefile rules.
779 (EXTRA_RULES): AC_SUBST it.
780 * lib/read1.c: New file.
781
d36430db
JB
7822014-08-20 Joel Brobecker <brobecker@adacore.com>
783
784 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
785 the handling of variables declared as a typedef to an array
786 which a DW_AT_data_location attribute.
787
9a0dc9e3
PA
7882014-08-19 Andrew Burgess <aburgess@broadcom.com>
789 Pedro Alves <palves@redhat.com>
790
791 PR symtab/14604
792 PR symtab/14605
793 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
794 gdb_test.
795
0718a8da
PA
7962014-08-19 Pedro Alves <palves@redhat.com>
797
798 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
799
13b448cd
YQ
8002014-08-19 Yao Qi <yao@codesourcery.com>
801
802 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
803 right line.
804
1cbf5077
DB
8052014-08-18 David Blaikie <dblaikie@gmail.com>
806
807 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
808
bf0fae19
JB
8092014-08-18 Joel Brobecker <brobecker@adacore.com>
810
811 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
812 attribute in array range.
813
3c8c5dcc
JB
8142014-08-18 Joel Brobecker <brobecker@adacore.com>
815
816 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
817
e66d4446
SC
8182014-08-15 Siva Chandra Reddy <sivachandra@google.com>
819
820 PR c++/17132
821 * gdb.cp/pr17132.cc: New file.
822 * gdb.cp/pr17132.exp: New file.
823
940df408
SC
8242014-08-15 Siva Chandra Reddy <sivachandra@google.com>
825
826 * gdb.python/py-xmethods.py (A_getarrayind)
827 (E_method_char_worker.__call__, E_method_int_worker.__call__):
828 Use 'print' with function call syntax.
829 (E_method_matcher.match): Fix tab vs space indentation mixup.
830
ebcc6c3a
YQ
8312014-08-15 Yao Qi <yao@codesourcery.com>
832
833 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
834 false.
835
775e0f04
YQ
8362014-08-15 Yao Qi <yao@codesourcery.com>
837
838 * gdb.cp/casts.exp: Set print symbol off.
839 * gdb.cp/class2.exp: Likewise.
840 * gdb.cp/overload.exp: Likewise.
841 * gdb.cp/templates.exp: Likewise.
842
d769e349
DE
8432014-08-11 Doug Evans <dje@google.com>
844
845 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
846 (test_load_shlib): Update.
847
20c6f1e1
YQ
8482014-08-09 Yao Qi <yao@codesourcery.com>
849
850 * gdb.base/display.exp: Invoke is_address_zero_readable.
851 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
852 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
853 * gdb.base/hbreak-unmapped.exp: Return if
854 is_address_zero_readable returns true.
855 * gdb.base/signest.exp: Likewise.
856 * gdb.base/signull.exp: Likewise.
857 * gdb.base/sigbpt.exp: Likewise.
858 * gdb.guile/scm-disasm.exp: Do the test if
859 is_address_zero_readable returns false.
860 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
861 * gdb.python/py-arch.exp: Likewise.
862 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
863 * lib/gdb.exp (is_address_zero_readable): New proc.
864
5792e8e3
YQ
8652014-08-09 Yao Qi <yao@codesourcery.com>
866
867 PR testsuite/13443
868 * gdb.mi/mi-var-display.exp: Make test messages unique.
869
3cecbbbe
TT
8702014-08-04 Tom Tromey <tromey@redhat.com>
871
872 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
873 target 0".
874
00b51ff5
TT
8752014-08-04 Tom Tromey <tromey@redhat.com>
876
877 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
878 "target_resume".
879
6908c509
JB
8802014-08-01 Joel Brobecker <brobecker@adacore.com>
881
882 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
883 inner_vla_struct_object_size.
884 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
885 as xfail.
886
cc6563d2
PA
8872014-07-30 Pedro Alves <palves@redhat.com>
888
889 * gdb.threads/signal-command-handle-nopass.exp (test): Add
890 comment.
891
7e09a223
YQ
8922014-07-29 Yao Qi <yao@codesourcery.com>
893
894 PR gdb/17206
895 * gdb.base/until-nodebug.exp: New.
896
7ebdbe92
DE
8972014-07-28 Doug Evans <xdje42@gmail.com>
898
899 PR guile/17203
900 * gdb.guile/scm-parameter.exp: Add tests for trying to create
901 previously existing parameter, and previously ambiguously spelled
902 parameter.
903
fdb1adc6
WN
9042014-07-28 Will Newton <will.newton@linaro.org>
905
906 * gdb.base/varargs.exp: Remove KFAILs for ARM.
907
186fcde0
DE
9082014-07-26 Ludovic Courtès <ludo@gnu.org>
909 Doug Evans <xdje42@gmail.com>
910
911 PR guile/17146
912 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
913
70509625
PA
9142014-07-25 Pedro Alves <palves@redhat.com>
915
916 * gdb.threads/signal-command-handle-nopass.c: New file.
917 * gdb.threads/signal-command-handle-nopass.exp: New file.
918 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
919 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
920 * gdb.threads/signal-delivered-right-thread.c: New file.
921 * gdb.threads/signal-delivered-right-thread.exp: New file.
922
c3f814a1
PA
9232014-07-25 Pedro Alves <palves@redhat.com>
924
925 * gdb.base/double-prompt-target-event-error.exp
926 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
927 match.
928 (cancel_pagination_in_target_event): Rework double prompt
929 detection.
930 * gdb.base/paginate-after-ctrl-c-running.exp
931 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
932 <return>' match.
933 * gdb.base/paginate-bg-execution.exp
934 (test_bg_execution_pagination_return)
935 (test_bg_execution_pagination_cancel): Remove '-notransfer
936 <return>' matches.
937 * gdb.base/paginate-execution-startup.exp
938 (test_fg_execution_pagination_return)
939 (test_fg_execution_pagination_cancel): Remove '-notransfer
940 <return>' matches.
941 * gdb.base/paginate-inferior-exit.exp
942 (test_paginate_inferior_exited): Remove '-notransfer <return>'
943 match.
944 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
945 * lib/gdb.exp (pagination_prompt): Run text through
946 string_to_regexp.
947 (gdb_test_multiple): Match $pagination_prompt instead of
948 "<return>".
949 (string_to_regexp): Move to lib/gdb-utils.exp.
950
e214cf6c
JK
9512014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
952
953 * gdb.arch/amd64-entry-value-paramref.S: New file.
954 * gdb.arch/amd64-entry-value-paramref.cc: New file.
955 * gdb.arch/amd64-entry-value-paramref.exp: New file.
956 * gdb.arch/amd64-optimout-repeat.S: New file.
957 * gdb.arch/amd64-optimout-repeat.c: New file.
958 * gdb.arch/amd64-optimout-repeat.exp: New file.
959
17d0c5c8
JK
9602014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
961
962 PR gdb/17170
963 * gdb.base/statistics.exp: New file.
964
b8b8facf
DE
9652014-07-17 Doug Evans <dje@google.com>
966
74b49205 967 PR gdb/17170
b8b8facf
DE
968 * gdb.base/maint.exp: Update testing of per-command stats.
969
1b5d0ab3
PA
9702014-07-16 Pedro Alves <palves@redhat.com>
971
972 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
973 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
974 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
975 (tfile_write_buf): New functions.
976 (add_memory_block): Rewrite using the above.
977 (adjust_function_address): New function.
978 (FUNCTION_ADDRESS): New macro.
979 (write_basic_trace_file): Remove short_x local, and use
980 tfile_write_16. Change type of func_addr local to unsigned long
981 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
982 here. Cast argument of add_memory_block to char pointer.
983 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
984 (main): Remove parameters.
985 * gdb.trace/tfile.exp: Remove nowarnings.
986
4d974e88
SM
9872014-07-15 Simon Marchi <simon.marchi@ericsson.com>
988
989 * gdb.base/debug-expr.exp: Test string evaluation with
990 "debug expression" on.
991
41e99568
PA
9922014-07-15 Pedro Alves <palves@redhat.com>
993
994 * gdb.base/reread.exp: Use clean_restart.
995
487d9753
PL
9962014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
997
998 * gdb.arch/avr-flash-qualifer.c: New.
999 * gdb.arch/avr-flash-qualifer.exp: New.
1000
cc1c52ad
PA
10012014-07-14 Pedro Alves <palves@redhat.com>
1002
1003 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1004 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1005
1e973570
PA
10062014-07-14 Pedro Alves <palves@redhat.com>
1007
1008 * gdb.base/double-prompt-target-event-error.c: New file.
1009 * gdb.base/double-prompt-target-event-error.exp: New file.
1010
93d6eb10
PA
10112014-07-14 Pedro Alves <palves@redhat.com>
1012
1013 PR gdb/17072
1014 * gdb.base/paginate-inferior-exit.c: New file.
1015 * gdb.base/paginate-inferior-exit.exp: New file.
1016
0017922d
PA
10172014-07-14 Pedro Alves <palves@redhat.com>
1018
1019 PR gdb/17072
1020 * gdb.base/paginate-bg-execution.c: New file.
1021 * gdb.base/paginate-bg-execution.exp: New file.
1022
94696ad3
PA
10232014-07-14 Pedro Alves <palves@redhat.com>
1024
1025 PR gdb/17072
1026 * gdb.base/paginate-execution-startup.c: New file.
1027 * gdb.base/paginate-execution-startup.exp: New file.
1028 * lib/gdb.exp (pagination_prompt): New global.
1029 (default_gdb_spawn): New procedure, factored out from
1030 default_gdb_spawn.
1031 (default_gdb_start): Adjust to call default_gdb_spawn.
1032 (gdb_spawn): New procedure.
1033
bd293940
PA
10342014-07-14 Pedro Alves <palves@redhat.com>
1035
1036 * lib/gdb.exp (gdb_assert): New procedure.
1037 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1038
c933f875
PA
10392014-07-14 Pedro Alves <palves@redhat.com>
1040
1041 * gdb.base/execution-termios.c: New file.
1042 * gdb.base/execution-termios.exp: New file.
1043
d98b7a16
TT
10442014-07-14 Tom Tromey <tromey@redhat.com>
1045
1046 * gdb.cp/vla-cxx.cc: New file.
1047 * gdb.cp/vla-cxx.exp: New file.
1048
548740d6
TT
10492014-07-14 Tom Tromey <tromey@redhat.com>
1050
1051 * gdb.reverse/rerun-prec.c: New file.
1052 * gdb.reverse/rerun-prec.exp: New file.
1053
a25eb028
MR
10542014-07-12 Maciej W. Rozycki <macro@mips.com>
1055 Maciej W. Rozycki <macro@codesourcery.com>
1056
1057 * lib/gdb-utils.exp: New file.
1058 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1059 inline `gdb_init_command' processing.
1060 (gdb_start_cmd): Likewise.
1061 * lib/mi-support.exp (mi_run_cmd): Likewise.
1062 * README: Document `gdb_init_command' and `gdb_init_commands'.
1063
218c2655
JK
10642014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1065
1066 Fix false FAIL running under a very long directory name.
1067 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1068 and "set print elements 10000". Twice.
1069
5401fde3
YQ
10702014-07-11 Yao Qi <yao@codesourcery.com>
1071
1072 * gdb.base/exprs.exp: "set print symbol off".
1073
e76126e8
PA
10742014-07-11 Pedro Alves <palves@redhat.com>
1075
1076 * gdb.threads/kill.c: New file.
1077 * gdb.threads/kill.exp: New file.
1078
2d6f0de6
YQ
10792014-07-10 Yao Qi <yao@codesourcery.com>
1080
1081 * gdb.trace/tfile.c (write_basic_trace_file)
1082 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1083 address written to trace file.
1084
7180e04a
PA
10852014-07-09 Pedro Alves <palves@redhat.com>
1086
1087 * gdb.base/attach-wait-input.exp: New file.
1088 * gdb.base/attach-wait-input.c: New file.
1089
9a9a7608
AB
10902014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1091
1092 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1093 setting up test structures.
1094 (main): Call new test function.
1095 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1096 test function, continue into test function and walk test
1097 structures.
1098
161ac41e
YQ
10992014-07-02 Yao Qi <yao@codesourcery.com>
1100
1101 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1102 'bar_start' at the beginning of functions 'foo' and 'bar'
1103 respectively.
1104 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1105 instead of 'foo' and 'bar'.
1106
1f267ae3
MM
11072014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1108
1109 * gdb.btrace/segv.exp: New.
1110 * gdb.btrace/segv.c: New.
1111
2b239efb
LM
11122014-07-02 Luis Machado <lgustavo@codesourcery.com>
1113
1114 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1115 instruction.
1116
cf363f18
MW
11172014-06-30 Mark Wielaard <mjw@redhat.com>
1118
1119 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1120 vulture, vilify, villar): New volatile array constants.
1121 (vindictive, vegetation): New const volatile array constants.
1122 * gdb.base/volatile.exp: Test volatile and const volatile array
1123 types.
1124
aebf9d24
AA
11252014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1126
1127 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1128 target lacks support for awatch, rwatch, or hbreak.
1129
b67a2c6f
YQ
11302014-06-27 Yao Qi <yao@codesourcery.com>
1131
1132 * gdb.multi/dummy-frame-restore.exp: New.
1133 * gdb.multi/dummy-frame-restore.c: New.
1134
aef92902
MM
11352014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1136
1137 * gdb.btrace/gcore.exp: New.
1138
8e9db26e
PA
11392014-06-23 Pedro Alves <palves@redhat.com>
1140
1141 * gdb.base/watchpoint-reuse-slot.c: New file.
1142 * gdb.base/watchpoint-reuse-slot.exp: New file.
1143
70afc5b7
SC
11442014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1145
1146 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1147 progspace's filename in 'info', 'enable' and 'disable' command
1148 tests.
1149
b972bd9c
JK
11502014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1151
1152 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1153 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1154 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1155
125f8a3d
GB
11562014-06-20 Gary Benson <gbenson@redhat.com>
1157
1158 * gdb.arch/i386-avx.exp: Fix include file location.
1159 * gdb.arch/i386-sse.exp: Likewise.
1160
3ed9baed
IB
11612014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1162
1163 * gdb.dlang/expression.exp: New file.
1164
034f788c
PA
11652014-06-19 Pedro Alves <palves@redhat.com>
1166
1167 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1168 out from ...
1169 (top level): ... here. Iterate running tests under different
1170 scheduler-locking settings.
1171
45371d0c
LM
11722014-06-18 Luis Machado <lgustavo@codesourcery.com>
1173
1174 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1175 to DW_FORM_addr and use non-zero addresses.
1176
5d376983
SC
11772014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1178
1179 PR gdb/17017
1180 * gdb.python/py-xmethods.cc: Add global function call counters and
1181 increment them in their respective functions. Remove "cout"
1182 statements.
1183 * gdb.python/py-xmethods.exp: Make tests check the global function
1184 call counters instead of depending on inferior IO.
1185
a1aa2221
LM
11862014-06-18 Don Breazeal <donb@codesourcery.com>
1187
1188 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1189 Deleted procedure.
1190 (explicit_fork_parent_follow): Deleted procedure.
1191 (explicit_fork_child_follow): Deleted procedure.
1192 (test_follow_fork): New procedure.
1193 (do_fork_tests): Replace calls to deleted procedures with
1194 calls to test_follow_fork and reset GDB for subsequent
1195 procedure calls.
1196
0fc05997
YQ
11972014-06-17 Yao Qi <yao@codesourcery.com>
1198
1199 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1200 CP1252.
1201
70795c52
LM
12022014-06-17 Luis Machado <lgustavo@codesourcery.com>
1203
1204 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1205 Initialize ptr and S explicitly.
1206 (skip_type_update_when_not_use_rtti_test): Likewise.
1207
6be47f0c
KS
12082014-06-16 Keith Seitz <keiths@redhat.com>
1209
1210 PR mi/15863
1211 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1212 the inferior is started.
1213
d03de421
PA
12142014-06-16 Pedro Alves <palves@redhat.com>
1215
1216 * gdb.base/break-main-file-remove-fail.c: New file.
1217 * gdb.base/break-main-file-remove-fail.exp: New file.
1218 * gdb.base/break-unload-file.exp: Use build_executable instead of
1219 prepare_for_testing.
1220 (test_break): New parameter "initial_load". Handle it.
1221 (top level): Add initial_load cmdline/file axis.
1222
f9579b99
TT
12232014-06-12 Tom Tromey <tromey@redhat.com>
1224
1225 * gdb.base/completion.exp: Don't use directory name in test.
1226
3657956b
GB
12272014-06-09 Gary Benson <gbenson@redhat.com>
1228
1229 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1230 separate the always-available ANSI-standard signals from the
1231 signals that require checking.
1232 (main): Likewise.
1233 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1234 Likewise.
1235 (main): Likewise.
1236
4186eb54
KS
12372014-06-07 Keith Seitz <keiths@redhat.com>
1238
1239 Revert:
1240 PR c++/16253
1241 * gdb.cp/var-tag.cc: New file.
1242 * gdb.cp/var-tag.exp: New file.
1243 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1244 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1245 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1246 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1247
25326a28 12482014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1249
1250 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1251
829155c9
PA
12522014-06-06 Pedro Alves <palves@redhat.com>
1253
1254 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1255 in target debug output instead of looking at RSP packets,
1256 disabling the test on any target that uses hardware stepping.
1257 Update comments.
1258
61c8d22e
PA
12592014-06-06 Pedro Alves <palves@redhat.com>
1260
1261 * gdb.base/break-unload-file.exp: Fix typo.
1262
d9a47287
YQ
12632014-06-06 Yao Qi <yao@codesourcery.com>
1264
1265 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1266 from "jit_function" to "^jit_function".
1267
e5e01dbf
YQ
12682014-06-06 Yao Qi <yao@codesourcery.com>
1269
1270 * gdb.base/async.c (foo): Add one statement.
1271 * gdb.base/async.exp: Get the next instruction address and
1272 match the output of "nexti" by instruction address. Match
1273 the hex address in the output of "finish".
1274
73ba372c
GB
12752014-06-06 Gary Benson <gbenson@redhat.com>
1276
1277 * gdb.base/call-signals.c: Remove preprocessor conditionals
1278 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1279 SIGSEGV and SIGTERM.
1280 * gdb.base/sigall.c: Likewise.
1281 * gdb.base/unwindonsignal.c: Likewise.
1282 * gdb.reverse/sigall-reverse.c: Likewise.
1283
831517df
YQ
12842014-06-06 Yao Qi <yao@codesourcery.com>
1285
1286 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1287 readable, skip the test.
1288
b8b91e98
YQ
12892014-06-06 Yao Qi <yao@codesourcery.com>
1290
1291 * gdb.threads/staticthreads.c (thread_function): Move the line
1292 setting breakpoint on forward.
1293 * gdb.threads/staticthreads.exp: Update comments.
1294
fb934770
LC
12952014-06-05 Ludovic Courtès <ludo@gnu.org>
1296
1297 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1298 "history-append! type error".
1299
6ef284bd
SM
13002014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1301
1302 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1303 erroneous dprintf expected input.
1304
a872e241
DE
13052014-06-04 Doug Evans <xdje42@gmail.com>
1306
1307 * gdb.guile/scm-generics.exp: Delete.
1308
16f691fb
DE
13092014-06-04 Doug Evans <xdje42@gmail.com>
1310
1311 * gdb.guile/scm-breakpoint.exp: Update.
1312 Add tests for breakpoint registration.
1313
012370f6
TT
13142014-06-04 Tom Tromey <tromey@redhat.com>
1315
1316 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1317 VLA-in-union.
1318 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1319 inner_vla_struct, vla_union types. Initialize objects of those
1320 types and compute their sizes.
1321
9f5a4cef
HZ
13222014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1323 Hui Zhu <hui@codesourcery.com>
1324
1325 * gdb.base/fileio.exp: Add test for shell not available as well as
1326 available.
1327 * gdb.base/fileio.c (test_system): Check for shell twice.
1328
90a45c4d
YQ
13292014-06-04 Yao Qi <yao@codesourcery.com>
1330
1331 * gdb.base/auto-connect-native-target.exp: Remove redundant
1332 space from the regexp pattern.
1333
70017e41
YQ
13342014-06-04 Yao Qi <yao@codesourcery.com>
1335
1336 * gdb.base/default.exp: Replace "child" with "native" in
1337 regexp pattern.
1338
883964a7
SC
13392014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1340
1341 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1342 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1343 * gdb.python/py-xmethods.py: Python script supporting the
1344 new testcase and tests.
1345
ef370185
JB
13462014-06-03 Joel Brobecker <brobecker@adacore.com>
1347 Pedro Alves <palves@redhat.com>
1348
1349 PR breakpoints/17000
1350 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1351 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1352
1e2ccb61
BM
13532014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1354
1355 * gdb.base/subst.exp: Add tests to verify partial path matching
1356 output.
1357
c6ec5ab2
PA
13582014-06-03 Pedro Alves <palves@redhat.com>
1359
1360 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1361 target that doesn't use software single-stepping.
1362
835c559f
PA
13632014-06-03 Pedro Alves <palves@redhat.com>
1364
1365 PR breakpoints/17000
1366 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1367 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1368
06eb1586
DE
13692014-06-02 Doug Evans <xdje42@gmail.com>
1370
1371 * gdb.guile/scm-parameter.exp: New file.
1372
e698b8c4
DE
13732014-06-02 Doug Evans <xdje42@gmail.com>
1374
1375 * gdb.guile/scm-cmd.c: New file.
1376 * gdb.guile/scm-cmd.exp: New file.
1377
ded03782
DE
13782014-06-02 Doug Evans <xdje42@gmail.com>
1379
1380 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1381 pretty-printer lookup.
1382 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1383 (make-pp_s-printer): Call it.
1384 (make-pretty-printer-from-dict): New function.
1385 (lookup-pretty-printer-maker-from-dict): New function.
1386 (*pretty-printer*): Simplify.
1387 (make-objfile-pp_s-printer): New function.
1388 (install-objfile-pretty-printers!): New function.
1389 (make-progspace-pp_s-printer): New function.
1390 (install-progspace-pretty-printers!): New function.
1391 * gdb.guile/scm-progspace.c: New file.
1392 * gdb.guile/scm-progspace.exp: New file.
1393
41fac0cf
PA
13942014-06-02 Pedro Alves <palves@redhat.com>
1395
1396 * gdb.base/dprintf-bp-same-addr.c: New file.
1397 * gdb.base/dprintf-bp-same-addr.exp: New file.
1398
96ae5695
EBM
13992014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1400
1401 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1402 * gdb.arch/powerpc-power.s: Likewise.
1403
da02b3a8
JB
14042014-06-02 Joel Brobecker <brobecker@adacore.com>
1405
1406 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1407
c72b2e7b
YQ
14082014-06-01 Yao Qi <yao@codesourcery.com>
1409
1410 * gdb.base/watchpoint.exp (test_watch_location): Check null
1411 pointer can be dereferenced. If not, do the test, otherwise
1412 skip it.
1413
53e8a631
AB
14142014-05-30 Andrew Burgess <aburgess@broadcom.com>
1415
1416 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1417 results.
1418 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1419
938f0e2f
AB
14202014-05-30 Andrew Burgess <aburgess@broadcom.com>
1421
1422 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1423 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1424 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1425 * gdb.arch/amd64-invalid-stack-top.c: New file.
1426 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1427
9ba6657a
PA
14282014-05-30 Pedro Alves <palves@redhat.com>
1429
1430 PR breakpoints/17000
1431 * gdb.base/sss-bp-on-user-bp.c: New file.
1432 * gdb.base/sss-bp-on-user-bp.exp: New file.
1433
522c09bf
DB
14342014-05-30 David Blaikie <dblaikie@gmail.com>
1435
1436 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1437 gnu_inline semantics via attribute.
1438 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1439 source explicitly specifies the required semantics.
1440
bf4ef81e
MR
14412014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1442
1443 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1444
329ea579
PA
14452014-05-29 Pedro Alves <palves@redhat.com>
1446 Tom Tromey <tromey@redhat.com>
1447
1448 * gdb.base/async-shell.exp: Don't enable target-async.
1449 * gdb.base/async.exp
1450 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1451 parameter. Adjust.
1452 (top level): Don't test with "target-async".
1453 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1454 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1455 * gdb.base/inferior-died.exp: Don't enable target-async.
1456 * gdb.base/interrupt-noterm.exp: Likewise.
1457 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1458 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1459 * gdb.mi/mi-nonstop.exp: Likewise.
1460 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1461 * gdb.mi/mi-nsintrall.exp: Likewise.
1462 * gdb.mi/mi-nsmoribund.exp: Likewise.
1463 * gdb.mi/mi-nsthrexec.exp: Likewise.
1464 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1465 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1466 * gdb.python/py-evsignal.exp: Don't enable target-async.
1467 * gdb.python/py-evthreads.exp: Likewise.
1468 * gdb.python/py-prompt.exp: Likewise.
1469 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1470 * gdb.server/solib-list.exp: Don't enable target-async.
1471 * gdb.threads/thread-specific-bp.exp: Likewise.
1472 * lib/mi-support.exp: Adjust to use mi-async.
1473
fd664c91
PA
14742014-05-29 Pedro Alves <palves@redhat.com>
1475
1476 PR gdb/13860
1477 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1478 reason, even in sync mode.
1479
251bde03
PA
14802014-05-29 Pedro Alves <palves@redhat.com>
1481 Hui Zhu <hui@codesourcery.com>
1482
1483 PR PR15693
1484 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1485 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1486 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1487 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1488
7f3c0343
JB
14892014-05-28 Joel Brobecker <brobecker@adacore.com>
1490
1491 * config/monitor.exp (gdb_target_monitor): Replace use of
1492 "set remotebaud" by "set serial baud".
1493
b2715b27
AW
14942014-05-26 Andy Wingo <wingo@igalia.com>
1495
1496 * gdb.guile/scm-breakpoint.exp:
1497 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1498 properties instead of gdb-object-properties.
1499
498a4489
YQ
15002014-05-26 Yao Qi <yao@codesourcery.com>
1501
1502 * gdb.server/no-thread-db.exp: Specify source file name
1503 explicitly when setting a breakpoint.
1504
589fdceb
MM
15052014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1506
1507 * gdb.btrace/vdso.c: New.
1508 * gdb.btrace/vdso.exp: New.
1509
e9089e05
MM
15102014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1511
1512 * gdb.base/gcore.exp (capture_command_output): Move ...
1513 * lib/gdb.exp (capture_command_output): ... here.
1514
67b5c0c1
MM
15152014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1516
1517 * gdb.btrace/data.exp: Test memory access during btrace replay.
1518
a2199296
SM
15192014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1520
1521 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1522
17b2616c
PA
15232014-05-21 Pedro Alves <palves@redhat.com>
1524
1525 PR gdb/13860
1526 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1527 (top level): Test that output related to execution commands is
1528 sent to the console with CLI commands, but not with MI commands.
1529 Test that breakpoint events are always mirrored to the console.
1530 Also expect the new source line to be output after a "next" in
1531 async mode too. Make it a pass/fail test.
1532 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1533 output.
1534 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1535
5166082f
PA
15362014-05-21 Pedro Alves <palves@redhat.com>
1537
1538 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1539 Use them to test variations of "list" after reaching a breakpoint.
1540 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1541 Test "list" with listsize 10 after reaching a breakpoint.
1542 * gdb.python/python.exp (decode_line current location line
1543 number): Adjust expected line number.
1544
2f25d70f
SM
15452014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1546
1547 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1548 behavior for $args, pass it directly to "run".
1549
ff604a67
MR
15502014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1551
1552 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1553 30000 to 65536.
1554
6a3cb8e8
PA
15552014-05-21 Pedro Alves <palves@redhat.com>
1556
1557 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1558 auto-connect-native-target off".
1559 * gdb.base/auto-connect-native-target.c: New file.
1560 * gdb.base/auto-connect-native-target.exp: New file.
1561
4ebfc96e
PA
15622014-05-21 Pedro Alves <palves@redhat.com>
1563
1564 * gdb.base/default.exp: Test "target native" instead of "target
1565 child".
1566
36d46afb
MW
15672014-05-21 Mark Wielaard <mjw@redhat.com>
1568
1569 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1570
5876f503
JK
15712014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1572
1573 Fix TLS access for -static -pthread.
1574 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1575 <HAVE_TLS> (thread_function, main): Initialize it.
1576 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1577 Add clean_restart.
1578 <$have_tls != "">: Check TLSVAR.
1579
0256a6ac
PA
15802014-05-21 Pedro Alves <palves@redhat.com>
1581
1582 * gdb.base/dcache-line-read-error.c: New.
1583 * gdb.base/dcache-line-read-error.exp: New.
1584
936d2992
PA
15852014-05-20 Pedro Alves <palves@redhat.com>
1586
1587 * gdb.base/compare-sections.c: New file.
1588 * gdb.base/compare-sections.exp: New file.
1589
802e8e6d
PA
15902014-05-20 Pedro Alves <palves@redhat.com>
1591
1592 * gdb.base/break-idempotent.c: New file.
1593 * gdb.base/break-idempotent.exp: New file.
1594
e59fa00f
MM
15952014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1596
1597 * gdb.btrace/nohist.exp: New.
1598
8b696e31
YQ
15992014-05-20 Yao Qi <yao@codesourcery.com>
1600
1601 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1602 gdb.reverse directory and gdb_reverse_timeout exists in board
1603 setting.
1604 * README: Document gdb_reverse_timeout.
1605
73c9764f
YQ
16062014-05-20 Yao Qi <yao@codesourcery.com>
1607
1608 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1609 'test_file_name'. Treat args as a string instead of a list.
1610 (gdb_init): Rename argument 'args' by 'test_file_name'.
1611
f1f4348a
JK
16122014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1613
1614 * gdb.arch/powerpc-power.exp: New file.
1615 * gdb.arch/powerpc-power.s: New file.
1616
0dbe70ce
DE
16172014-05-16 Doug Evans <dje@google.com>
1618
1619 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1620 * gdb.base/completion.exp: Check that all expected files exist
1621 before doing file completion.
0dbe70ce 1622
8d551b02
DE
16232014-05-16 Doug Evans <dje@google.com>
1624
1625 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1626 Update.
1627 (do_syscall_tests_without_xml): Update.
1628
73eb7709
PA
16292014-05-16 Pedro Alves <palves@redhat.com>
1630
1631 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1632 instead of "unknown output after running".
1633
3fae92fc
YQ
16342014-05-16 Yao Qi <yao@codesourcery.com>
1635
1636 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1637 file1.txt from host at the end.
1638 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1639
c2b2ccc5
DE
16402014-05-15 Doug Evans <dje@google.com>
1641
1642 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1643 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1644 loading file. Add test for TU lookup.
1645
8c217a4b
SM
16462014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1647
1648 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1649 calling "-exec-arguments" or "set args" before running the
1650 inferior.
1651
3deb39c6
SM
16522014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1653
1654 * lib/mi-support.exp (mi_expect_stop): Expect message for
1655 inferiors that exit with non-zero exit code.
1656
71a79f8c
YQ
16572014-05-14 Yao Qi <yao@codesourcery.com>
1658
1659 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1660 match absolute path on remote host.
1661 (test_file_list_exec_source_files): Remove "/" from the
1662 pattern.
1663
f23fcd46
YQ
16642014-05-14 Yao Qi <yao@codesourcery.com>
1665
1666 * boards/local-remote-host-notty.exp (${board}_file): New
1667 proc.
1668
9404b58f
KM
16692014-05-07 Kyle McMartin <kyle@redhat.com>
1670
1671 Pushed by Joel Brobecker <brobecker@adacore.com>.
1672 * gdb.arch/aarch64-atomic-inst.c: New file.
1673 * gdb.arch/aarch64-atomic-inst.exp: New file.
1674
5e45f04c
YQ
16752014-05-07 Yao Qi <yao@codesourcery.com>
1676
1677 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1678 in current context" too.
1679
c888a17d
KS
16802014-05-05 Keith Seitz <keiths@redhat.com>
1681
1682 * gdb.linespec/ls-dollar.exp: Add test for linespec
1683 file:convenience_variable.
1684
290a839c
YQ
16852014-05-05 Yao Qi <yao@codesourcery.com>
1686
1687 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1688 traceframes into tfile and ctf trace files. Read data from
1689 trace file and test collected data.
1690 (gdb_collect_locals_test): Likewise.
1691 (gdb_unavailable_registers_test): Likewise.
1692 (gdb_unavailable_floats): Likewise.
1693 (gdb_collect_globals_test): Likewise.
1694 (top-level): Append "ctf" to trace_file_targets if GDB
1695 supports.
1696
b5262cd0
YQ
16972014-05-05 Yao Qi <yao@codesourcery.com>
1698
1699 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1700 code to ...
1701 (gdb_collect_args_test_1): ... it. New proc.
1702 (gdb_collect_locals_test): Move some code to ...
1703 (gdb_collect_locals_test_1): ... it. New proc.
1704 (gdb_unavailable_registers_test): Move some code to ...
1705 (gdb_unavailable_registers_test_1): ... it. New proc.
1706 (gdb_unavailable_floats): Move some code to ...
1707 (gdb_unavailable_floats_1): ... it. New proc.
1708
30a1e6cc
SDJ
17092014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1710
1711 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1712 probes to test for bitness recognition.
1713 * gdb.arch/amd64-stap-optional-prefix.exp
1714 (test_probe_value_without_reg): New procedure.
1715 Add code to test for different kinds of bitness.
1716
f33da99a
SDJ
17172014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1718
1719 PR breakpoints/16889
1720 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1721 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1722
5b80f00d
PA
17232014-05-01 Pedro Alves <palves@redhat.com>
1724
1725 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1726 gdb_file_cmd if no file is specified.
1727 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1728 last_loaded_file to set the remote exec-file.
1729
f8c2a73c
PA
17302014-05-01 Pedro Alves <palves@redhat.com>
1731
1732 * boards/local-remote-host.exp: New file.
1733
be6e8ac7
PA
17342014-05-01 Pedro Alves <palves@redhat.com>
1735
1736 * boards/local-remote-host.exp: Rename to ...
1737 * boards/local-remote-host-notty.exp: ... this.
1738
cac0dc8f
JB
17392014-04-28 Joel Brobecker <brobecker@adacore.com>
1740
1741 * gdb.ada/dyn_arrayidx: New testcase.
1742
9730e6cc
YQ
17432014-04-26 Yao Qi <yao@codesourcery.com>
1744
1745 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1746 and compute the length of function main. Save it in
1747 $main_length.
1748 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1749 (top-level): Use gdb_compile to compile objects into
1750 executable and restart GDB. Remove invocation to
1751 prepare_for_testing.
1752
7ae1a6a6
PA
17532014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1754 Pedro Alves <palves@redhat.com>
1755
1756 PR server/16255
1757 * gdb.multi/multi-attach.c: New file.
1758 * gdb.multi/multi-attach.exp: New file.
1759
4082afcc
PA
17602014-04-25 Pedro Alves <palves@redhat.com>
1761
1762 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1763 user.
1764 (top level): Test that "set remote conditional-breakpoints-packet
1765 off" works as intended.
1766 * gdb.base/dprintf.exp: Test that "set remote
1767 breakpoint-commands-packet off" works as intended.
1768 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1769 New function.
1770 (top level): Call it.
1771 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1772 remote fast-tracepoints-packet off" works as intended.
1773 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1774 * lib/gdb.exp (gdb_is_target_remote): ... here.
1775
2abc3f8d
DB
17762014-04-24 David Blaikie <dblaikie@gmail.com>
1777
1778 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1779 ensure clang would not discard them.
1780 * gdb.base/gdbvars.c: Ditto.
1781 * gdb.base/memattr.c: Ditto.
1782 * gdb.base/whatis.c: Ditto.
1783 * gdb.python/py-prettyprint.c: Ditto.
1784 * gdb.trace/actions.c: Ditto.
1785 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1786 ensure clang would not discard it.
1787
bfd39632
DB
17882014-04-24 David Blaikie <dblaikie@gmail.com>
1789
1790 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1791 clang to emit the full definition of type required by the test
1792 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1793
22842ff6
DB
17942014-04-24 David Blaikie <dblaikie@gmail.com>
1795
1796 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1797 coax Clang into emitting the definition of the type.
1798 * gdb.cp/pr10728-x.h (y): Ditto.
1799 * gdb.cp/pr10728-y.cc (y): Ditto.
1800
c2e827ad
DB
18012014-04-24 David Blaikie <dblaikie@gmail.com>
1802
1803 * gdb.base/label.exp: XFAIL label related tests under Clang.
1804 * gdb.cp/cplabel.exp: Ditto.
1805 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1806 under Clang those using labels.
1807
4c2d33e7
YQ
18082014-04-25 Yao Qi <yao@codesourcery.com>
1809
1810 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1811 double_label.
1812 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1813 partial_label and double_label.
1814
56083b99
DB
18152014-04-24 David Blaikie <dblaikie@gmail.com>
1816
1817 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1818
25d4e99d
DB
18192014-04-24 David Blaikie <dblaikie@gmail.com>
1820
1821 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1822 of the function to work across GCC and Clang.
1823 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1824 pointer types (const void ** const V void **).
1825
01f9f808
MS
18262014-04-24 Michael Sturm <michael.sturm@mintel.com>
1827 Walfred Tedeschi <walfred.tedeschi@intel.com>
1828
1829 * Makefile.in (EXECUTABLES): Added i386-avx512.
1830 * gdb.arch/i386-avx512.c: New file.
1831 * gdb.arch/i386-avx512.exp: Likewise.
1832
4b48d439
KS
18332014-04-23 Keith Seitz <keiths@redhat.com>
1834
1835 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1836 (mi_make_breakpoint_table): New procedure.
1837 (mi_create_breakpoint): Use mi_make_breakpoint
1838 and return the result.
1839 (mi_make_breakpoint): New procedure.
1840 (mi_build_kv_pairs): New procedure.
1841
1842 * gdb.mi/mi-break.exp: Remove unused globals,
1843 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1844 All callers updated.
1845 * gdb.mi/mi-dprintf.exp: Use variable to track command
1846 number.
1847 Update all callers of mi_create_breakpoint and use
1848 mi_make_breakpoint_table.
1849 Remove any unused global variables.
1850 * gdb.mi/mi-nonstop.exp: Likewise.
1851 * gdb.mi/mi-nsintrall.exp: Likewise.
1852 * gdb.mi/mi-nsmoribund.exp: Likewise.
1853 * gdb.mi/mi-nsthrexec.exp: Likewise.
1854 * gdb.mi/mi-reverse.exp: Likewise.
1855 * gdb.mi/mi-simplerun.exp: Likewise.
1856 * gdb.mi/mi-stepn.exp: Likewise.
1857 * gdb.mi/mi-syn-frame.exp: Likewise.
1858 * gdb.mi/mi-until.exp: Likewise.
1859 * gdb.mi/mi-var-cp.exp: Likewise.
1860 * gdb.mi/mi-var-display.exp: Likewise.
1861 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1862 * gdb.mi/mi2-var-child.exp: Likewise.
1863 * gdb.mi/mi-vla-c99.exp: Likewise.
1864 * lib/mi-support.exp: Likewise.
1865
1866 From Ian Lance Taylor <iant@cygnus.com>:
1867 * lib/gdb.exp (parse_args): New procedure.
1868
08351840
PA
18692014-04-23 Pedro Alves <palves@redhat.com>
1870
1871 * gdb.base/break-unload-file.c: New file.
1872 * gdb.base/break-unload-file.exp: New file.
1873 * gdb.base/sym-file-lib.c (baz): New function.
1874 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1875 field.
1876 (load): Store the segment's mapped size.
1877 (unload): New function.
1878 (unload_shlib): New function.
1879 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1880 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1881 set a breakpoint at baz, and call it.
1882 * gdb.base/sym-file.exp: New tests for stale breakpoint
1883 instructions.
1884
076855f9
PA
18852014-04-23 Pedro Alves <palves@redhat.com>
1886
1887 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1888 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1889 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1890 * gdb.base/hbreak-unmapped.c: New file.
1891 * gdb.base/hbreak-unmapped.exp: New file.
1892 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1893 * lib/gdb.exp (gdb_is_target_remote): ... here.
1894
483805cf
PA
18952014-04-22 Pedro Alves <palves@redhat.com>
1896
1897 * gdb.base/consecutive-step-over.c: New file.
1898 * gdb.base/consecutive-step-over.exp: New file.
1899
06d97543
PA
19002014-04-22 Pedro Alves <palves@redhat.com>
1901
1902 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1903 instead of send_gdb/gdb_expect.
1904
b4429ea2
YQ
19052014-04-22 Yao Qi <yao@codesourcery.com>
1906
1907 * lib/trace-support.exp (generate_tracefile): New procedure.
1908 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1909 return 0.
1910 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1911 if generate_tracefile returns 1.
1912
51d48146
PA
19132014-04-18 Tom Tromey <palves@redhat.com>
1914 Pedro alves <tromey@redhat.com>
1915
1916 PR backtrace/15558
1917 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1918 with a backtrace limit.
1919 * gdb.python/py-frame-inline.exp: Test running to an inline
1920 function with a backtrace limit, and printing the newest frame.
1921 * gdb.python/py-frame-inline.c (main): Call f.
1922
bd1dce5f
MS
19232014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1924
1925 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1926
40d1a503
MS
19272014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1928
1929 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1930 Drop prefix from unsupported source file path.
1931
389b98f7
YQ
19322014-04-17 Yao Qi <yao@codesourcery.com>
1933
1934 * lib/gdb.exp (with_target_charset): New proc.
1935 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1936 with_target_charset.
1937 (test_print_strings): Likewise.
1938 (test_repeat_bytes): Likewise.
1939 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1940 for some tests.
1941
22869d73
KS
19422014-04-16 Keith Seitz <keiths@redhat.com>
1943
1944 PR gdb/15827
1945 * gdb.dwarf2/corrupt.c: New file.
1946 * gdb.dwarf2/corrupt.exp: New file.
1947
c4f87ca6
KS
19482014-04-16 Keith Seitz <keiths@redhat.com>
1949
1950 PR c++/16597
1951 * gdb.cp/namelessclass.cc: New file.
1952 * gdb.cp/namelessclass.exp: New file.
1953 * gdb.cp/namelessclass.S: New file.
1954
ab19de87
DE
19552014-04-16 Doug Evans <dje@google.com>
1956
1957 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1958 Add comment.
1959 (gdbserver_default_get_comm_port): New function.
1960 (gdbserver_start): Check if board file provided
1961 "gdbserver,get_comm_port" and use it if so.
1962 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1963 (gdb,socketport): Set to "stdio".
1964 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1965 (stdio_gdbserver_template): Delete.
1966 (${board}_get_remote_address): Update.
1967 (${board}_build_remote_cmd): Delete.
1968 (${board}_get_comm_port): New function.
1969 (${board}_spawn): Update.
1970 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1971 Delete.
1972 (${board}_get_remote_address): Update.
1973 (${board}_get_comm_port): New function.
1974
fc98a809
AB
19752014-04-16 Andrew Burgess <aburgess@broadcom.com>
1976
1977 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1978 appearing in any order.
1979
87fd9e6e
DE
19802014-04-15 Doug Evans <dje@google.com>
1981
1982 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1983 uninitialized value of "description".
1984
099fc3ea
KS
19852014-04-15 Keith Seitz <keiths@redhat.com>
1986
1987 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1988 Remove unused globals.
1989 (test_running_the_program): Likewise.
1990 (test_controlled_execution): Likewise.
1991 (test_controlling_breakpoints): Likewise.
1992 (test_program_termination): Likewise.
1993
5da151d4
KS
19942014-04-15 Keith Seitz <keiths@redhat.com>
1995
1996 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1997 unused globals.
1998 (test_rbreak_creation_and_listing): Likewise.
1999 (test_ignore_count): Likewise.
2000 (test_error): Likewise.
2001
35e5d2f0
PA
20022014-04-15 Pedro Alves <palves@redhat.com>
2003
2004 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2005 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2006 sym-file-loader.c.
2007 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2008 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2009 to sym-file-loader.c.
2010 (struct library): Forward declare.
2011 (load_shlib, lookup_function): Change prototypes.
2012 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2013 (translate_offset): Remove declarations.
2014 (get_text_addr): New declaration.
2015 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2016 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2017 sym-file-loader.h.
2018 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2019 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2020 here from sym-file-loader.h.
2021 (struct library): New structure.
2022 (load_shlib, lookup_function): Change prototypes and adjust to
2023 work with a struct library.
2024 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2025 (translate_offset): Make static.
2026 (get_text_addr): New function.
2027 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2028
eb4c1710
PA
20292014-04-15 Pedro Alves <palves@redhat.com>
2030
2031 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2032
2d1baf52
PA
20332014-04-15 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.base/sym-file-loader.c: Include <limits.h>.
2036 (SELF_LINK): New define.
2037 (get_origin): New function.
2038 (load_shlib): Use it.
2039 * gdb.base/sym-file.exp: Don't early return if the target is
2040 remote. Use runto_main, and issue fail is that fails. Use
2041 gdb_load_shlibs.
2042 (shlib_name): Delete.
2043 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2044
7dd6df01
PA
20452014-04-15 Pedro Alves <palves@redhat.com>
2046
2047 * gdb.base/sym-file.exp: Remove regex characters from test
2048 message. Don't refer to breakpoint numbers in test messages.
2049
b50c8614
KS
20502014-04-14 Keith Seitz <keiths@redhat.com>
2051
2052 PR c++/16253
2053 * gdb.cp/var-tag.cc: New file.
2054 * gdb.cp/var-tag.exp: New file.
2055 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2056 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2057 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2058 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2059
3d567982
TT
20602014-04-14 Tom Tromey <tromey@redhat.com>
2061
2062 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2063 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2064 type.
2065 * gdb.cp/enum-class.exp: New file.
2066 * gdb.cp/enum-class.cc: New file.
2067
0626fc76
TT
20682014-04-14 Tom Tromey <tromey@redhat.com>
2069
2070 * gdb.dwarf2/enum-type.exp: New file.
2071
dca325b3
SA
20722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2073
2074 * gdb.mi/mi-vla-c99.exp: New file.
2075 * gdb.mi/vla.c: New file.
2076
5854b38a
SA
20772014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2078
2079 * gdb.base/vla-datatypes.c: New file.
2080 * gdb.base/vla-datatypes.exp: New file.
2081
463bb957
SA
20822014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2083
2084 * gdb.base/vla-ptr.c: New file.
2085 * gdb.base/vla-ptr.exp: New file.
2086
3dd170be
SA
20872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2088
2089 * gdb.dwarf2/count.exp: New file.
2090
5ecaaa66
SA
20912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2092
2093 * gdb.base/vla-sideeffect.c: New file.
2094 * gdb.base/vla-sideeffect.exp: New file.
2095
41f1ada5
DB
20962014-04-14 David Blaikie <dblaikie@gmail.com>
2097
2098 * gdb.mi/non-stop.c: Add return value for non-void function return
2099 statement.
2100 * gdb.threads/staticthreads.c: Ditto.
2101
0be03e84
DE
21022014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2103 Doug Evans <xdje42@gmail.com>
2104
2105 * gdb.guile/scm-value.c: Improve test case.
2106 * gdb.guile/scm-value.exp: Add new test.
2107
f180a1fb
DB
21082014-04-11 David Blaikie <dblaikie@gmail.com>
2109
2110 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2111 override Clang's default.
2112
6b662e19
JB
21132014-04-11 Joel Brobecker <brobecker@adacore.com>
2114
2115 Revert the following changes (regressions):
2116
2117 * gdb.base/vla-sideeffect.c: New file.
2118 * gdb.base/vla-sideeffect.exp: New file.
2119
2120 * gdb.dwarf2/count.exp: New file.
2121
2122 * gdb.base/vla-multi.c: New file.
2123 * gdb.base/vla-multi.exp: New file.
2124
2125 * gdb.base/vla-ptr.c: New file.
2126 * gdb.base/vla-ptr.exp: New file.
2127
2128 * gdb.base/vla-datatypes.c: New file.
2129 * gdb.base/vla-datatypes.exp: New file.
2130
2131 * gdb.mi/mi-vla-c99.exp: New file.
2132 * gdb.mi/vla.c: New file.
2133
245a5f0b
KS
21342014-04-11 Keith Seitz <keiths@redhat.com>
2135
2136 PR c++/16675
2137 * gdb.cp/cpsizeof.exp: New file.
2138 * gdb.cp/cpsizeof.cc: New file.
2139
58a84dcf
SA
21402014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2141
191a8a90
JB
2142 * gdb.mi/mi-vla-c99.exp: New file.
2143 * gdb.mi/vla.c: New file.
58a84dcf 2144
c8655f75
SA
21452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2146
2147 * gdb.base/vla-datatypes.c: New file.
2148 * gdb.base/vla-datatypes.exp: New file.
2149
024e13b4
SA
21502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2151
2152 * gdb.base/vla-ptr.c: New file.
2153 * gdb.base/vla-ptr.exp: New file.
2154
1a237e0e
SA
21552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2156
2157 * gdb.base/vla-multi.c: New file.
2158 * gdb.base/vla-multi.exp: New file.
2159
504f3432
SA
21602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2161
2162 * gdb.dwarf2/count.exp: New file.
2163
3bce8237
SA
21642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2165
191a8a90
JB
2166 * gdb.base/vla-sideeffect.c: New file.
2167 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2168
322f9c21
YQ
21692014-04-11 Yao Qi <yao@codesourcery.com>
2170
2171 * gdb.base/completion.exp: Check file exists before running tests
2172 on file completion.
2173
d708bcd1
PA
21742014-04-10 Pedro Alves <palves@redhat.com>
2175
2176 * gdb.base/cond-eval-mode.c: New file.
2177 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2178 prepare_for_testing to build the new file. Check result of
2179 runto_main.
2180 (test_break, test_watch): New procedures.
2181 (top level): Use them.
2182
ae1d2761
PM
21832014-04-08 Pierre Muller <muller@sourceware.org>
2184
2185 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2186 Ctrl-V use for mingw hosts.
2187
7af389b8
SC
21882014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2189
2190 * gdb.python/py-value.c: Improve test case.
2191 * gdb.python/py-value.exp: Add new test.
2192
5e703181
DE
21932014-04-07 David Blaikie <dblaikie@gmail.com>
2194
2195 * lib/compiler.c: Identify the clang compiler.
2196 * lib/compiler.cc: Ditto.
2197
9810b410
YQ
21982014-04-03 Yao Qi <yao@codesourcery.com>
2199
2200 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2201
98d1b8dc
AB
22022014-04-01 Anton Blanchard <anton@samba.org>
2203
2204 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2205 messages unique.
2206
3114cea1
AB
22072014-04-01 Anton Blanchard <anton@samba.org>
2208
2209 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2210 prepare_for_testing.
2211
62f7182c
AB
22122014-04-01 Anton Blanchard <anton@samba.org>
2213
2214 * gdb.arch/ppc64-atomic-inst.c: Remove.
2215 * gdb.arch/ppc64-atomic-inst.S: New file.
2216 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2217
770e7fc7
DE
22182014-03-31 Doug Evans <dje@google.com>
2219
2220 * gdb.base/print-symbol-loading-lib.c: New file.
2221 * gdb.base/print-symbol-loading-main.c: New file.
2222 * gdb.base/print-symbol-loading.exp: New file.
2223
46e2bafa
YQ
22242014-03-31 Yao Qi <yao@codesourcery.com>
2225
2226 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2227
8776cfe9
JB
22282014-03-28 Joel Brobecker <brobecker@adacore.com>
2229
2230 * gdb.ada/mi_dyn_arr: New testcase.
2231
5d1ef361
DE
22322014-03-27 Doug Evans <dje@google.com>
2233
2234 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2235
b5bee914
YQ
22362014-03-27 Yao Qi <yao@codesourcery.com>
2237
2238 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2239 if target is nios2-*-*.
2240
0d4d0e77
YQ
22412014-03-26 Yao Qi <yao@codesourcery.com>
2242
2243 * lib/gdb.exp (readline_is_used): New proc.
2244 * gdb.base/completion.exp: Move tests on command complete up.
2245 Skip the rest of tests if readline is not used.
2246 * gdb.ada/complete.exp: Skp the test if readline is not
2247 used.
2248 * gdb.base/filesym.exp: Likewise.
2249 * gdb.base/macscp.exp: Likewise.
2250 * gdb.base/readline-ask.exp: Likewise.
2251 * gdb.base/readline.exp: Likewise.
2252 * gdb.python/py-cmd.exp: Likewise.
2253 * gdb.trace/tfile.exp: Likewise.
2254
29361eee
YQ
22552014-03-26 Yao Qi <yao@codesourcery.com>
2256
2257 * gdb.base/macscp.exp: Fix code format issues.
2258
bc9a5525
UW
22592014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2260
2261 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2262 * gdb.asm/powerpc64le.inc: New file.
2263
d3839ede
PA
22642014-03-25 Pedro Alves <palves@redhat.com>
2265 Doug Evans <dje@google.com>
2266
2267 * gdb.base/source-execution.c: New file.
2268 * gdb.base/source-execution.exp: New file.
2269 * gdb.base/source-execution.gdb: New file.
2270
01672a57
DE
22712014-03-24 Doug Evans <dje@google.com>
2272
2273 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2274 using fission.
2275
88bbeca9
HZ
22762014-03-24 Hui Zhu <hui@codesourcery.com>
2277 Pedro Alves <palves@redhat.com>
2278
2279 PR breakpoints/16101
2280 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2281 test pass/fail messages. Detect missing support for dprintf when
2282 breakpoints are actually inserted.
2283 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2284 breakpoints are actually inserted.
2285 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2286 fails.
2287
d2348791
JK
22882014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2289
2290 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2291
feef67ab
DE
22922014-03-22 Doug Evans <xdje42@gmail.com>
2293
2294 * gdb.python/python.exp (python not supported): Verify multi-line
2295 python command issues an error.
25d743f9 2296 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2297 guile command issues an error.
feef67ab 2298
ecebef6a
MR
22992014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2300
2301 * gdb.threads/thread-specific.exp: Handle the lack of usable
2302 $this_breakpoint and $this_thread.
2303
ccdd1909
HZ
23042014-03-21 Hui Zhu <hui@codesourcery.com>
2305
2306 * gdb.base/attach.exp (do_command_attach_tests): New.
2307
beb460e8
PA
23082014-03-20 Tom Tromey <tromey@redhat.com>
2309 Pedro Alves <palves@redhat.com>
2310
2311 PR cli/15718
2312 * gdb.base/condbreak-call-false.c: New file.
2313 * gdb.base/condbreak-call-false.exp: New file.
2314
40acf43a
PA
23152014-03-20 Pedro Alves <palves@redhat.com>
2316
2317 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2318 Delete.
2319 (block_signals, unblock_signals): Delete.
2320 (child_function_2, main): Remove references to deleted variable
2321 and functions.
2322
9f5e1e02
PA
23232014-03-20 Pedro Alves <palves@redhat.com>
2324
2325 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2326 Use pthread_kill to signal thread 2.
2327 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2328 Adjust to make the test send itself a signal rather than using the
2329 host's "kill" command.
2330
99619bea
PA
23312014-03-20 Pedro Alves <palves@redhat.com>
2332
2333 * gdb.threads/multiple-step-overs.c: New file.
2334 * gdb.threads/multiple-step-overs.exp: New file.
2335 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2336 Adjust expected infrun debug output.
2337
2adfaa28
PA
23382014-03-20 Pedro Alves <palves@redhat.com>
2339
2340 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2341 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2342
31e77af2
PA
23432014-03-20 Pedro Alves <palves@redhat.com>
2344
2345 PR breakpoints/7143
2346 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2347 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2348 of gdb_test_multiple.
2349 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2350 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2351
b9f437de
PA
23522014-03-20 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2355 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2356
05adc73e
PA
23572014-03-19 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.base/async.exp: Remove early return.
2360
6048b950
PA
23612014-03-19 Pedro Alves <palves@redhat.com>
2362
2363 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2364
8bcfb00a
PA
23652014-03-19 Pedro Alves <palves@redhat.com>
2366
2367 * gdb.base/async.exp (test_background): Expect \r\n after
2368 "completed." in the fail pattern.
2369
884e37dc
PA
23702014-03-19 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.base/async.exp (test_background): New procedure.
2373 Use it for all background execution command tests.
2374
148e57e2
PA
23752014-03-19 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.base/async.exp: Use prepare_for_testing.
2378
f48088c7
PA
23792014-03-19 Pedro Alves <palves@redhat.com>
2380
2381 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2382 the same line.
2383
e2f6c966
PA
23842014-03-19 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.base/async.c (main): Add "jump here" and "until here" line
2387 marker comments.
2388 * gdb.base/async.exp (jump_here): New global.
2389 (jump& test): Use it.
2390 (until_here): New global.
2391 (until& test): Use it.
2392
c30568d4
PA
23932014-03-19 Pedro Alves <palves@redhat.com>
2394
2395 * gdb.base/async.exp: Don't frob gdb_protocol.
2396
0172b6a7
DE
23972014-03-18 Doug Evans <xdje42@gmail.com>
2398
2399 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2400 Fix spelling of exec-done-display.
2401
06c868a8
JK
24022014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2403
2404 PR gdb/15358
2405 * gdb.base/gdb-sigterm.c: New file.
2406 * gdb.base/gdb-sigterm.exp: New file.
2407
0c7e1a46
PA
24082014-03-18 Pedro Alves <palves@redhat.com>
2409
2410 PR gdb/13860
2411 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2412 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2413 solib-event.
2414
f7c77d93
JB
24152014-03-17 Joel Brobecker <brobecker@adacore.com>
2416
2417 * gdb.ada/pckd_arr_ren: New testcase.
2418
5a1e8c7a
DE
24192014-03-13 Doug Evans <xdje42@gmail.com>
2420
2421 PR guile/16612
2422 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2423 collect after discarding symbols.
2424
350e1a76
DE
24252014-03-13 Ludovic Courtès <ludo@gnu.org>
2426 Doug Evans <xdje42@gmail.com>
2427
2428 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2429 to history survives a gc.
2430
a69900ae
PA
24312014-03-13 Pedro Alves <palves@redhat.com>
2432
2433 * gdb.base/default.exp: Don't test "target procfs".
2434
5db9f0bd
PA
24352014-03-13 Pedro Alves <palves@redhat.com>
2436
2437 * gdb.base/default.exp: Update "target child" and "target procfs"
2438 tests to not expect "Unix".
2439
b3ccfe11
TT
24402014-03-12 Tom Tromey <tromey@redhat.com>
2441
2442 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2443 New procs. Add target-async tests.
2444 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2445 Add target-async tests.
2446
646f4417
AA
24472014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2448
2449 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2450 'func_start' and 'func_end' for the beginning and end of the
2451 function code, respectively.
2452 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2453 'func_end' instead of 'func' and 'main'.
2454
288c211f
AA
24552014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2456
2457 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2458 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2459 generate the debug info assembler source.
2460
e0c0f156
AA
24612014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2462
2463 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2464 * gdb.dwarf2/arr-subrange.exp: Likewise.
2465 * gdb.dwarf2/dwz.exp: Likewise.
2466 * gdb.dwarf2/method-ptr.exp: Likewise.
2467 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2468 * gdb.dwarf2/subrange.exp: Likewise.
2469 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2470 * gdb.dwarf2/implptrpiece.exp: Likewise.
2471 * gdb.dwarf2/nostaticblock.exp: Likewise.
2472
0e5c4555
AA
24732014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2474
2475 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2476 directory to absolute path name arguments.
2477
5ec18f2b
JG
24782014-03-10 Joel Brobecker <brobecker@adacore.com>
2479
2480 * gdb.ada/tagged_access: New testcase.
2481
847fc4f2
MM
24822014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2483
2484 * gdb.btrace/data.exp: Update expected output.
2485
cc3da688
YQ
24862014-03-06 Yao Qi <yao@codesourcery.com>
2487
2488 * gdb.trace/pr16508.exp: New file.
2489
0f26cec1
PA
24902014-03-05 Pedro Alves <palves@redhat.com>
2491
2492 PR gdb/16575
2493 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2494 procedure.
2495 (top level): Adjust to use it. Add tests that exercise breakpoint
2496 interaction with the code-cache.
2497
7a5a839f
LC
24982014-02-26 Ludovic Courtès <ludo@gnu.org>
2499
2500 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2501 test for 'history-append!'.
2502
31aa7e4e
JB
25032014-02-26 Joel Brobecker <brobecker@adacore.com>
2504
2505 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2506 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2507 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2508 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2509 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2510 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2511
1b588015
JB
25122014-02-26 Joel Brobecker <brobecker@adacore.com>
2513
2514 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2515 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2516 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2517
55426c9d
JB
25182014-02-26 Joel Brobecker <brobecker@adacore.com>
2519
2520 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2521
dc53a7ad
JB
25222014-02-26 Joel Brobecker <brobecker@adacore.com>
2523
2524 * gdb.dwarf2/arr-stride.c: New file.
2525 * gdb.dwarf2/arr-stride.exp: New file.
2526
12ab52e9
PA
25272014-02-26 Pedro Alves <palves@redhat.com>
2528
2529 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2530 that won't ever trigger. Make sure that GDB reports the correct
2531 breakpoint that caused the stop.
2532
849c862e
JK
25332014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2534
2535 PR gdb/16626
2536 * gdb.base/auto-load-script: New file.
2537 * gdb.base/auto-load.c: New file.
2538 * gdb.base/auto-load.exp: New file.
2539
71b7d793
JK
2540 PR gdb/16626
2541 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2542
e2f0d509
JK
25432014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2544
2545 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2546 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2547
50cc37c8
DE
25482014-02-24 Doug Evans <dje@google.com>
2549
2550 * lib/gdb.exp (run_on_host): Log error output if program fails.
2551
ea4758f2
PA
25522014-02-21 Pedro Alves <palves@redhat.com>
2553
2554 * gdb.threads/step-after-sr-lock.c: Rename to ...
2555 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2556 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2557 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2558 ... this.
2559
d7b30f67
SDJ
25602014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2561
2562 PR tdep/16397
2563 * gdb.arch/amd64-stap-special-operands.exp: New file.
2564 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2565 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2566 * gdb.arch/amd64-stap-triplet.S: Likewise.
2567 * gdb.arch/amd64-stap-triplet.c: Likewise.
2568
83deb43f
JB
25692014-02-20 Joel Brobecker <brobecker@adacore.com>
2570
2571 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2572 in .section pseudo-op.
2573
adde2bff
DE
25742014-02-20 lin zuojian <manjian2006@gmail.com>
2575 Joel Brobecker <brobecker@adacore.com>
2576 Doug Evans <xdje42@gmail.com>
2577
2578 PR symtab/16581
2579 * gdb.dwarf2/dw2-icycle.S: New file.
2580 * gdb.dwarf2/dw2-icycle.c: New file.
2581 * gdb.dwarf2/dw2-icycle.exp: New file.
2582
f7bd0f78
SC
25832014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2584
2585 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2586 operations on gdb.Value objects.
2587 * gdb.python/py-value-cc.exp: Add new test to test operations on
2588 gdb.Value objects.
2589
c17ef0d5
DE
25902014-02-18 Doug Evans <dje@google.com>
2591
2592 * Makefile.in (TESTS): New variable.
2593 (expanded_tests, expanded_tests_or_none): New variables
2594 (check-single): Pass $(expanded_tests_or_none) to runtest.
2595 (check-parallel): Only run tests in $(TESTS) if non-empty.
2596 (check/no-matching-tests-found): New rule.
2597 * README: Document TESTS makefile variable.
2598
5dd3176f
DE
25992014-02-18 Doug Evans <dje@google.com>
2600
2601 * Makefile.in (check-parallel): rm -rf outputs temp.
2602
0b10be4f
JK
26032014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2604
2605 Fix "ERROR: no fileid for" in the testsuite.
2606 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2607
85f224e7
DE
26082014-02-12 Doug Evans <dje@google.com>
2609
2610 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2611 (MISCELLANEOUS): New variable.
2612 (clean): rm -rf $(MISCELLANEOUS).
2613 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2614 dwp live in the same directory as symlinks, with each symlink pointed
2615 to a differently named file in a different directory.
2616
149b30ff
DE
26172014-02-11 Doug Evans <dje@google.com>
2618
2619 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2620 of Tcl file commands.
2621
1dfdac32
MK
26222014-02-10 Mark Kettenis <kettenis@gnu.org>
2623
2624 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2625 "kill -SIGUSR1 -1".
2626
aa4fb036
JB
26272014-02-10 Joel Brobecker <brobecker@adacore.com>
2628
2629 * gdb.ada/tick_length_array_enum_idx: New testcase.
2630
ed3ef339
DE
26312014-02-10 Doug Evans <xdje42@gmail.com>
2632
2633 * configure.ac (AC_OUTPUT): Add gdb.guile.
2634 * configure: Regenerate.
2635 * lib/gdb-guile.exp: New file.
2636 * lib/gdb.exp (get_target_charset): New function.
2637 * gdb.base/help.exp: Update expected output from "apropos apropos".
2638 * gdb.guile/Makefile.in: New file.
2639 * gdb.guile/guile.exp: New file.
2640 * gdb.guile/scm-arch.c: New file.
2641 * gdb.guile/scm-arch.exp: New file.
2642 * gdb.guile/scm-block.c: New file.
2643 * gdb.guile/scm-block.exp: New file.
2644 * gdb.guile/scm-breakpoint.c: New file.
2645 * gdb.guile/scm-breakpoint.exp: New file.
2646 * gdb.guile/scm-disasm.c: New file.
2647 * gdb.guile/scm-disasm.exp: New file.
2648 * gdb.guile/scm-equal.c: New file.
2649 * gdb.guile/scm-equal.exp: New file.
2650 * gdb.guile/scm-error.exp: New file.
2651 * gdb.guile/scm-error.scm: New file.
2652 * gdb.guile/scm-frame-args.c: New file.
2653 * gdb.guile/scm-frame-args.exp: New file.
2654 * gdb.guile/scm-frame-args.scm: New file.
2655 * gdb.guile/scm-frame-inline.c: New file.
2656 * gdb.guile/scm-frame-inline.exp: New file.
2657 * gdb.guile/scm-frame.c: New file.
2658 * gdb.guile/scm-frame.exp: New file.
2659 * gdb.guile/scm-generics.exp: New file.
2660 * gdb.guile/scm-gsmob.exp: New file.
2661 * gdb.guile/scm-iterator.c: New file.
2662 * gdb.guile/scm-iterator.exp: New file.
2663 * gdb.guile/scm-math.c: New file.
2664 * gdb.guile/scm-math.exp: New file.
2665 * gdb.guile/scm-objfile-script-gdb.in: New file.
2666 * gdb.guile/scm-objfile-script.c: New file.
2667 * gdb.guile/scm-objfile-script.exp: New file.
2668 * gdb.guile/scm-objfile.c: New file.
2669 * gdb.guile/scm-objfile.exp: New file.
2670 * gdb.guile/scm-ports.exp: New file.
2671 * gdb.guile/scm-pretty-print.c: New file.
2672 * gdb.guile/scm-pretty-print.exp: New file.
2673 * gdb.guile/scm-pretty-print.scm: New file.
2674 * gdb.guile/scm-section-script.c: New file.
2675 * gdb.guile/scm-section-script.exp: New file.
2676 * gdb.guile/scm-section-script.scm: New file.
2677 * gdb.guile/scm-symbol.c: New file.
2678 * gdb.guile/scm-symbol.exp: New file.
2679 * gdb.guile/scm-symtab-2.c: New file.
2680 * gdb.guile/scm-symtab.c: New file.
2681 * gdb.guile/scm-symtab.exp: New file.
2682 * gdb.guile/scm-type.c: New file.
2683 * gdb.guile/scm-type.exp: New file.
2684 * gdb.guile/scm-value-cc.cc: New file.
2685 * gdb.guile/scm-value-cc.exp: New file.
2686 * gdb.guile/scm-value.c: New file.
2687 * gdb.guile/scm-value.exp: New file.
2688 * gdb.guile/source2.scm: New file.
2689 * gdb.guile/types-module.cc: New file.
2690 * gdb.guile/types-module.exp: New file.
2691
7026a7c1
YQ
26922014-02-10 Yao Qi <yao@codesourcery.com>
2693
2694 PR testsuite/16543
2695 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2696 * configure: Regenerated.
2697 * Makefile.in: New file.
2698
6c466447
AS
26992014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2700
2701 * gdb.python/py-framefilter.exp: Fix typo.
2702
6e854735
YQ
27032014-02-08 Yao Qi <yao@codesourcery.com>
2704
2705 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2706 that no =breakpoint-modified is emitted when breakpoints are
2707 modified through MI commands.
2708
d137e6dc
PA
27092014-02-07 Pedro Alves <pedro@codesourcery.com>
2710 Pedro Alves <palves@redhat.com>
2711
2712 * gdb.threads/step-after-sr-lock.c: New file.
2713 * gdb.threads/step-after-sr-lock.exp: New file.
2714
b5ee5a50
PA
27152014-02-07 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2718
3c77faf3
JK
27192014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2722 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2723
6dddc817
DE
27242014-02-06 Doug Evans <xdje42@gmail.com>
2725
2726 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2727 output.
2728
2729 * gdb.gdb/python-interrupts.exp: New file.
2730
de7b2893
YQ
27312014-02-05 Yao Qi <yao@codesourcery.com>
2732
2733 * gdb.trace/report.exp (use_collected_data): Test the output
2734 of "info threads" and "info inferiors".
2735
66d032ac
YQ
27362014-02-05 Yao Qi <yao@codesourcery.com>
2737
2738 Revert this patch:
2739
2740 2013-05-24 Yao Qi <yao@codesourcery.com>
2741
2742 * gdb.trace/tfile.exp: Test inferior and thread.
2743
591a12a1
UW
27442014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2745
2746 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2747 on a function.
2748 * gdb.base/step-bt.c: Call hello via function pointer to make
2749 sure its first instruction is executed on powerpc64le-linux.
2750
0ff3e01f
UW
27512014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2752
2753 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2754
084ee545
UW
27552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2756
2757 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2758 of the test patterns for use on little-endian systems.
2759
6ed14ff3
UW
27602014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2761
2762 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2763 (decimal_vector): Fix for little-endian.
2764
401e27fd
JM
27652014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2766
2767 * gdb.arch/sparc-sysstep.exp: New file.
2768 * gdb.arch/sparc-sysstep.c: Likewise.
2769
2770 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2771
8b924729
EBM
27722014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2773
2774 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2775
fb151210
JB
27762014-01-23 Tom Tromey <tromey@redhat.com>
2777
2778 * gdb.ada/array_char_idx: New testcase.
2779
0740f8d8
TT
27802014-01-23 Tom Tromey <tromey@redhat.com>
2781
2782 PR python/16487:
2783 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2784 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2785 classes.
2786
21909fa1
TT
27872014-01-23 Tom Tromey <tromey@redhat.com>
2788
2789 PR python/16491:
2790 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2791 string from an inferior frame.
2792 * gdb.python/py-framefilter-mi.exp: Update.
2793
87ce2a04
DE
27942014-01-22 Doug Evans <dje@google.com>
2795
2796 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2797
237b092b
AA
27982014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2799
2800 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2801
d674a709
AA
28022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2803
2804 * gdb.trace/entry-values.exp: Remove excess space character from
2805 regex patterns. Handle s390 call instruction.
2806
20fa3390
AA
28072014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2808
2809 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2810 define "*_start" label. Make "name" static.
2811 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2812 ${name} by references to ${name}_start.
2813
78466714
AA
28142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2815
2816 * gdb.base/info-macros.exp: Remove "debug" from the compile
2817 options.
2818
ec9f644a
IB
28192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2820
2821 * gdb.dlang/demangle.exp: New file.
2822
94b1b47e
IB
28232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2824
2825 * gdb.dlang/primitive-types.exp: New file.
2826
7f420862
IB
28272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2828
2829 * configure.ac: Create gdb.dlang/Makefile.
2830 * configure: Regenerate.
2831 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2832 * gdb.dlang/Makefile.in: New file.
2833 * lib/d-support.exp: New file.
2834 * lib/gdb.exp (skip_d_tests): New proc.
2835
52834460
MM
28362014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2837
2838 * gdb.btrace/delta.exp: Check reverse stepi.
2839 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2840 * gdb.btrace/finish.exp: New.
2841 * gdb.btrace/next.exp: New.
2842 * gdb.btrace/nexti.exp: New.
2843 * gdb.btrace/record_goto.c: Add comments.
2844 * gdb.btrace/step.exp: New.
2845 * gdb.btrace/stepi.exp: New.
2846 * gdb.btrace/multi-thread-step.c: New.
2847 * gdb.btrace/multi-thread-step.exp: New.
2848 * gdb.btrace/rn-dl-bind.c: New.
2849 * gdb.btrace/rn-dl-bind.exp: New.
2850 * gdb.btrace/data.c: New.
2851 * gdb.btrace/data.exp: New.
2852 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2853
6e07b1d2
MM
28542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2855
2856 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2857 * gdb.btrace/exception.exp: Update.
2858 * gdb.btrace/instruction_history.exp: Update.
2859 * gdb.btrace/record_goto.exp: Update.
2860 * gdb.btrace/tailcall.exp: Update.
2861 * gdb.btrace/unknown_functions.exp: Update.
2862 * gdb.btrace/delta.exp: New.
2863
0b722aec
MM
28642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2865
2866 * gdb.btrace/record_goto.exp: Add backtrace test.
2867 * gdb.btrace/tailcall.exp: Add backtrace test.
2868
066ce621
MM
28692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2870
2871 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2872 * gdb.btrace/record_goto.c: New.
2873 * gdb.btrace/record_goto.exp: New.
2874 * gdb.btrace/x86-record_goto.S: New.
2875
0688d04e
MM
28762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2877
2878 * gdb.btrace/function_call_history.exp: Update tests.
2879 * gdb.btrace/instruction_history.exp: Update tests.
2880
8710b709
MM
28812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2882
2883 * gdb.btrace/function_call_history.exp: Fix expected field
2884 order for "record function-call-history".
2885 Add new tests for "record function-call-history /c".
2886 * gdb.btrace/exception.cc: New.
2887 * gdb.btrace/exception.exp: New.
2888 * gdb.btrace/tailcall.exp: New.
2889 * gdb.btrace/x86-tailcall.S: New.
2890 * gdb.btrace/x86-tailcall.c: New.
2891 * gdb.btrace/unknown_functions.c: New.
2892 * gdb.btrace/unknown_functions.exp: New.
2893 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2894
5de9129b
MM
28952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2896
2897 * gdb.btrace/instruction_history.exp: Update.
2898 * gdb.btrace/function_call_history.exp: Update.
2899
23a7fe75
MM
29002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2901
2902 * gdb.btrace/function_call_history.exp: Fix expected function
2903 trace.
2904 * gdb.btrace/instruction_history.exp: Initialize traced.
2905 Remove traced_functions.
2906
724c7dd8
MM
29072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2908
2909 * gdb.btrace/function_call_history.exp: Update
2910 * gdb.btrace/instruction_history.exp: Update.
2911
6d78d93b
MM
29122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2913
2914 * gdb.btrace/enable.exp: Update expected text.
2915
93a360cc
OJ
29162014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2917
2918 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2919 bytes.
2920
3772b53f
MR
29212014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2922
2923 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2924
596662fa
OJ
29252014-01-15 Omair Javaid <omair.javaid@linaro.org>
2926
2927 * lib/gdb.exp (supports_process_record): Return true for
2928 arm*-linux*. (supports_reverse): Likewise.
2929
b5b08fb4
SC
29302014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2931
2932 PR python/15464
2933 PR python/16113
2934 * gdb.python/py-type.c: Enhance test case.
2935 * gdb.python/py-value-cc.cc: Likewise
2936 * gdb.python/py-type.exp: Add new tests.
2937 * gdb.python/py-value-cc.exp: Likewise
2938
52d7fb13
AA
29392014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2940 Pedro Alves <palves@redhat.com>
2941
2942 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2943 Make "name" extern.
2944 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2945 references to ${name}_start by references to ${name}.
2946
a2cd8cfe
JB
29472014-01-10 Joel Brobecker <brobecker@adacore.com>
2948
2949 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2950
4e23fced
JB
29512014-01-10 Joel Brobecker <brobecker@adacore.com>
2952
2953 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2954
c6a9e42c
PA
29552014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2956 Pedro Alves <palves@redhat.com>
2957
2958 * gdb.mi/mi-info-os.exp: Connect to the target with
2959 mi_gdb_target_load.
2960
b7ea362b
PA
29612014-01-08 Pedro Alves <palves@redhat.com>
2962
2963 * gdb.threads/reconnect-signal.c: New file.
2964 * gdb.threads/reconnect-signal.exp: New file.
2965
5e3f4fab
EBM
29662014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2967
2968 * gdb.base/source-dir.exp: New file.
2969
79301218
JB
29702014-01-07 Joel Brobecker <brobecker@adacore.com>
2971
2972 * gdb.ada/mi_interface: New testcase.
2973
8e355c5d
JB
29742014-01-07 Joel Brobecker <brobecker@adacore.com>
2975
2976 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2977 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2978 gdb.ada/pp-rec-component/pck.ads: New files.
2979
c0d48811
JB
29802014-01-07 Joel Brobecker <brobecker@adacore.com>
2981
2982 * gdb.python/py-pp-integral.c: New file.
2983 * gdb.python/py-pp-integral.py: New file.
2984 * gdb.python/py-pp-integral.exp: New file.
2985
17b609c3 2986For older changes see ChangeLog-1993-2013.
c906108c 2987\f
8d8cb839
EZ
2988;; Local Variables:
2989;; mode: change-log
2990;; left-margin: 8
2991;; fill-column: 74
2992;; version-control: never
2993;; End:
902f2ccb 2994
14f8b115 2995 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
2996 Copying and distribution of this file, with or without modification,
2997 are permitted provided the copyright notice and this notice are preserved.
This page took 3.080756 seconds and 4 git commands to generate.