]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
daily update
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6ce8c980
YQ
12014-11-02 Yao Qi <yao@codesourcery.com>
2
3 * gdb.python/python.exp: Get working directory and match the
4 output of "set extended-prompt \\w " with it.
5
02be9a71
DE
62014-10-30 Doug Evans <dje@google.com>
7
8 * gdb.python/py-objfile.exp: Add tests for setting random attributes
9 in objfiles.
10 * gdb.python/py-progspace.exp: Add tests for setting random attributes
11 in progspaces.
12
3bdff46b
LM
132014-10-30 Janis Johnson <janisjo@codesourcery.com>
14
15 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16 * gdb.base/realname-expand.exp: Likewise.
17 * gdb.linespec/macro-relative.exp: Likewise.
18
ab917dfb
PA
192014-10-29 Pedro Alves <palves@redhat.com>
20
21 PR gdb/17408
22 * gdb.threads/schedlock.c (some_function): New function.
23 (call_function): New global.
24 (MAYBE_CALL_SOME_FUNCTION): New macro.
25 (thread_function): Call it.
26 * gdb.threads/schedlock.exp (get_args): Add description parameter,
27 and use it instead of a global counter. Adjust all callers.
28 (get_current_thread): Use "find current thread" for test message
29 here rather than having all callers pass down the same string.
30 (goto_loop): New procedure, factored out from ...
31 (my_continue): ... this.
32 (step_ten_loops): Change parameter from test message to command to
33 use. Adjust.
34 (list_count): Delete global.
35 (check_result): New procedure, factored out from duplicate top
36 level code.
37 (continue tests): Wrap in with_test_prefix.
38 (test_step): New procedure, factored out from duplicate top level
39 code.
40 (top level): Test "step" in combination with all scheduler-locking
41 modes. Test "next" in combination with all scheduler-locking
42 modes, and in combination with stepping over a function call or
43 not.
44 * gdb.threads/next-bp-other-thread.c: New file.
45 * gdb.threads/next-bp-other-thread.exp: New file.
46
d3d4baed
PA
472014-10-29 Pedro Alves <palves@redhat.com>
48
49 PR python/17372
50 * gdb.python/python.exp: Test a multi-line command that spawns
51 interactive Python.
52 * gdb.base/multi-line-starts-subshell.exp: New file.
53
563e8d85
YQ
542014-10-29 Yao Qi <yao@codesourcery.com>
55
56 * gdb.base/fileio.exp: Make directories on host.
57
0ea4d52e
YQ
582014-10-29 Yao Qi <yao@codesourcery.com>
59
60 * gdb.base/fileio.c (test_write): Close the file.
61
7f5ef605
PA
622014-10-28 Pedro Alves <palves@redhat.com>
63
64 PR gdb/12623
65 * gdb.base/sigstep.c (no_handler): New global.
66 (main): If 'no_handler is true, set the signal handlers to
67 SIG_IGN.
68 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
69 with_sw_watch and no_handler parameters. Handle them.
70 (top level) <stepping over handler when stopped at a breakpoint
71 test>: Add a test axis for testing with a software watchpoint, and
72 another for testing with the signal handler set to SIG_IGN.
73 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
74 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
75
abbdbd03
PA
762014-10-28 Pedro Alves <palves@redhat.com>
77
78 PR gdb/17511
79 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
80 * gdb.base/sigstep.exp (other_handler_location): New global.
81 (advance): Support stepping into the signal handler, and running
82 commands while in the handler.
83 (in_handler_map): New global.
84 (top level): In the advance test, add combinations for getting
85 into the handler with stepping commands, and for running commands
86 in the handler. Add comment descripting the advancei tests.
87
1df4399f
PA
882014-10-28 Pedro Alves <palves@redhat.com>
89
90 * gdb.base/sigstep.exp: Use build_executable instead of
91 prepare_for_testing.
92 (top level): Move code that starts GDB, runs to main and creates a
93 display to ...
94 (restart): ... this new procedure.
95 (top level): Move backtrace from signal handler test to ...
96 (validate_backtrace): ... this new procedure.
97 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
98 with_test_prefix. Always restart GDB.
99 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
100 with_test_prefix. Always restart GDB. No need to delete
101 breakpoints after the test.
102 (test_skip_handler): Remove prefix parameter.
103 (skip_over_handler, breakpoint_to_handler)
104 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
105 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
106 restart GDB. No need to delete breakpoints after the test.
107 (top level): Use foreach to call the test procedures with
108 different commands.
109
a5b6e449
PA
1102014-10-28 Pedro Alves <palves@redhat.com>
111
112 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
113 instead of GNATS numbers.
114 * gdb.base/sigbpt.exp: Likewise.
115 * gdb.base/siginfo.exp: Likewise.
116 * gdb.base/sigstep.exp: Likewise.
117
e5f8a7cc
PA
1182014-10-27 Pedro Alves <palves@redhat.com>
119
120 * gdb.base/sigstep.c (dummy): New global.
121 (main): Issue a couple writes to the new global.
122 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
123 procedures.
124 (skip_over_handler): Use test_skip_handler.
125 (top level): Call skip_over_handler for stepi and nexti too.
126 (breakpoint_over_handler): Use test_skip_handler.
127 (top level): Call breakpoint_over_handler for stepi and nexti too.
128
763905a3
YQ
1292014-10-27 Yao Qi <yao@codesourcery.com>
130
131 * gdb.trace/tfile.c (adjust_function_address)
132 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
133 function descriptor.
134
6f259a23
DB
1352014-10-24 Don Breazeal <donb@codesourcery.com>
136
137 * gdb.base/foll-fork.exp (test_follow_fork,
138 catch_fork_child_follow): Check for updated fork messages emitted
139 from infrun.c.
140 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
141 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
142 vfork_and_exec_child_follow_through_step): Check for updated vfork
143 messages emitted from infrun.c.
144
09dd9a69
PA
1452014-10-24 Pedro Alves <palves@redhat.com>
146
147 * gdb.base/corefile.exp: Remove references to ultrix.
148 * gdb.base/interrupt.exp: Likewise.
149 * gdb.base/whatis.exp: Likewise.
150 * gdb.gdb/selftest.exp: Likewise.
151 * gdb.threads/manythreads.exp: Likewise.
152 * gdb.threads/print-threads.exp: Likewise.
153 * gdb.threads/pthreads.exp:: Likewise.
154 * gdb.threads/schedlock.exp: Likewise.
155
3433cfa5
SC
1562014-10-24 Siva Chandra Reddy <sivachandra@google.com>
157
158 * gdb.cp/non-trivial-retval.cc: Add a test case.
159 * gdb.cp/non-trivial-retval.exp: Add a test.
160
092f880b
YQ
1612014-10-20 Yao Qi <yao@codesourcery.com>
162
163 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
164 * gdb.python/py-objfile-script-gdb.py: New file.
165 * gdb.python/py-objfile-script.exp: Update reference to
166 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
167 of remote_download. Remove the dest file.
168
acbdb7f3
YQ
1692014-10-20 Yao Qi <yao@codesourcery.com>
170
171 * gdb.base/checkpoint.exp: Don't remove file copied on host.
172 * gdb.base/step-line.exp: Likewise.
173 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
174 * gdb.dwarf2/dw2-basic.exp: Likewise.
175 * gdb.dwarf2/dw2-compressed.exp: Likewise.
176 * gdb.dwarf2/dw2-filename.exp: Likewise.
177 * gdb.dwarf2/dw2-intercu.exp: Likewise.
178 * gdb.dwarf2/dw2-intermix.exp: Likewise.
179 * gdb.dwarf2/dw2-producer.exp: Likewise.
180 * gdb.dwarf2/mac-fileno.exp: Likewise.
181 * gdb.python/py-frame-args.exp: Likewise.
182 * gdb.python/py-framefilter.exp: Likewise.
183 * gdb.python/py-mi.exp: Likewise.
184 * gdb.python/py-objfile-script.exp: Likewise
185 * gdb.python/py-pp-integral.exp: Likewise.
186 * gdb.python/py-pp-re-notag.exp: Likewise.
187 * gdb.python/py-prettyprint.exp: Likewise.
188 * gdb.python/py-section-script.exp: Likewise.
189 * gdb.python/py-typeprint.exp: Likewise.
190 * gdb.python/py-xmethods.exp: Likewise.
191 * gdb.stabs/weird.exp: Likewise.
192 * gdb.xml/tdesc-regs.exp: Likewise.
193
bd286a29
KCY
1942014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
195
196 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
197 (out_cu): Use addr_len for the size of addresses.
198 (out_line): Likewise. Size DW_LNE_set_address instruction
199 according to addr_len.
200 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
201 (FUNC): Add START_INSNS to definition.
202
673dc4a0
YQ
2032014-10-18 Yao Qi <yao@codesourcery.com>
204
205 * gdb.base/argv0-symlink.exp: Check argv[0] value if
206 gdb_has_argv0 return true.
207 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
208 check [target_info exists noargs], check [gdb_has_argv0]
209 instead.
210 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
211 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
212 procedures.
213
4ffbba72
DE
2142014-10-17 Doug Evans <dje@google.com>
215
216 * gdb.python/py-events.exp: Update expected output for clear_objfiles
217 event.
218 * gdb.python/py-events.py: Add clear_objfiles event.
219
d096d8c1
DE
2202014-10-17 Doug Evans <dje@google.com>
221
222 * gdb.python/py-objfile.exp: Test progspace attribute.
223
a80db015
LM
2242014-10-17 Luis Machado <lgustavo@codesourcery.com>
225
226 * gdb.guile/scm-breakpoint.exp: Do not assume any
227 directory separators when matching source file paths.
228 * gdb.python/py-breakpoint.exp: Likewise.
229 * gdb.reverse/break-precsave.exp: Likewise.
230 * gdb.reverse/break-reverse.exp: Likewise.
231 * gdb.reverse/consecutive-precsave.exp: Likewise.
232 * gdb.reverse/finish-precsave.exp: Likewise.
233 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
234 * gdb.reverse/finish-reverse.exp: Likewise.
235 * gdb.reverse/i386-precsave.exp: Likewise.
236 * gdb.reverse/i387-env-reverse.exp: Likewise.
237 * gdb.reverse/i387-stack-reverse.exp: Likewise.
238 * gdb.reverse/machinestate-precsave.exp: Likewise.
239 * gdb.reverse/machinestate.exp: Likewise.
240 * gdb.reverse/sigall-precsave.exp: Likewise.
241 * gdb.reverse/solib-precsave.exp: Likewise.
242 * gdb.reverse/step-precsave.exp: Likewise.
243 * gdb.reverse/until-precsave.exp: Likewise.
244 * gdb.reverse/watch-precsave.exp: Likewise.
245 * gdb.reverse/watch-reverse.exp: Likewise.
246
b22089ab
YQ
2472014-10-17 Yao Qi <yao@codesourcery.com>
248
249 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
250 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
251
6c4486e6
PA
2522014-10-17 Pedro Alves <palves@redhat.com>
253
254 PR gdb/17471
255 * gdb.base/bg-execution-repeat.c: New file.
256 * gdb.base/bg-execution-repeat.exp: New file.
257
0ff33695
PA
2582014-10-17 Pedro Alves <palves@redhat.com>
259
260 PR gdb/17300
261 * gdb.base/continue-all-already-running.c: New file.
262 * gdb.base/continue-all-already-running.exp: New file.
263
6fdebc3d
PA
2642014-10-17 Pedro Alves <palves@redhat.com>
265
266 PR gdb/17472
267 * gdb.base/annota-input-while-running.c: New file.
268 * gdb.base/annota-input-while-running.exp: New file.
269
32a8097b
PA
2702014-10-17 Pedro Alves <palves@redhat.com>
271
272 * gdb.base/callfuncs.exp: emove references to osf.
273 * gdb.base/sigall.exp: Likewise.
274 * gdb.gdb/selftest.exp: Likewise.
275 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
276 * gdb.mi/non-stop.c: Likewise.
277 * gdb.mi/pthreads.c: Likewise.
278 * gdb.reverse/sigall-precsave.exp: Likewise.
279 * gdb.reverse/sigall-reverse.exp: Likewise.
280 * gdb.threads/pthreads.c: Likewise.
281 * gdb.threads/pthreads.exp: Likewise.
282
7a3517ff
YQ
2832014-10-17 Yao Qi <yao@codesourcery.com>
284
285 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
286 check 'target_info exists noargs'.
287 (test_command_prompt_position): Likewise.
288 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
289 Remove "set args".
290 (progvar_simple_while_test): Likewise.
291 (progvar_complex_if_while_test): Likewise.
292 (if_while_breakpoint_command_test): Likewise.
293 (infrun_breakpoint_command_test): Likewise.
294 (breakpoint_command_test): Likewise.
295 (watchpoint_command_test): Likewise.
296 (bp_deleted_in_command_test): Likewise.
297 (temporary_breakpoint_commands): Likewise.
298
bb99c472
YQ
2992014-10-16 Yao Qi <yao@codesourcery.com>
300
301 * gdb.base/remotetimeout.exp: Remove noargs checking.
302
7c16b83e
PA
3032014-10-15 Pedro Alves <palves@redhat.com>
304
305 PR breakpoints/9649
306 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
307 * gdb.base/breakpoint-in-ro-region.exp
308 (probe_target_hardware_step): New procedure.
309 (top level): Probe hardware stepping and hardware breakpoint
310 support. Test stepping through a read-only region, with both
311 "breakpoint auto-hw" on and off and both "always-inserted" on and
312 off.
313
35a49624
IB
3142014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
315
316 * gdb.dlang/demangle.exp: Update for demangling changes.
317
2d1c107c
SC
3182014-10-15 Siva Chandra Reddy <sivachandra@google.com>
319
320 * gdb.cp/non-trivial-retval.cc: Add new test cases.
321 * gdb.cp/non-trivial-retval.exp: Add new tests.
322
778811d5
SC
3232014-10-15 Siva Chandra Reddy <sivachandra@google.com>
324
325 PR c++/13403
326 PR c++/15154
327 * gdb.cp/non-trivial-retval.cc: New file.
328 * gdb.cp/non-trivial-retval.exp: New file.
329
10c5f0a8
YQ
3302014-10-15 Yao Qi <yao@codesourcery.com>
331
332 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
333 remote host.
334
65d7b369
YQ
3352014-10-15 Yao Qi <yao@codesourcery.com>
336
337 * gdb.python/py-symbol.exp: Match file base name if host is
338 remote, otherwise match file name with dir name.
339 * gdb.python/py-symtab.exp: Likewise.
340 * gdb.python/python.exp: Likewise.
341
46dc1394
YQ
3422014-10-15 Yao Qi <yao@codesourcery.com>
343
344 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
345 pattern.
346 * gdb.python/py-symtab.exp: Likewise.
347 * gdb.python/python.exp: Remove trailing ".*". Fix typo
348 locationn.
349
c40cc657
JB
3502014-10-14 Joel Brobecker <brobecker@adacore.com>
351
352 * gdb.ada/addr_arith: New testcase.
353
2abf49e1
MR
3542014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
355
356 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
357 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
358 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
359 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
360
f7088df3
SDJ
3612014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
362
363 * gdb.arch/stap-eval-lang-ada.S: Likewise.
364 * gdb.arch/stap-eval-lang-ada.c: Likewise.
365 * gdb.arch/stap-eval-lang-ada.exp: New file.
366
4dc06805
YQ
3672014-10-14 Yao Qi <yao@codesourcery.com>
368
369 * gdb.mi/mi-var-child.c (nothing1): New function.
370 (nothing2): New function.
371 (do_children_tests): Set function pointers by nothing1 and
372 nothing2.
373 * gdb.mi/mi-var-child.exp: Step over new added statements.
374 Update test to match the new output.
375 * gdb.mi/var-cmd.c (nothing1): New function.
376 (nothing2): New function.
377 (do_children_tests): Set function pointers by nothing1 and
378 nothing2.
379 * gdb.mi/mi-var-display.exp: Update test to match output.
380 Step to the line specified by $line_dct_nothing.
381 Increase the number of lines to step.
382
46a93de2
YQ
3832014-10-14 Yao Qi <yao@codesourcery.com>
384
385 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
386 tests.
387 * gdb.mi/mi2-var-child.exp: Likewise.
388
14ea52ee
DE
3892014-10-13 Doug Evans <dje@google.com>
390
391 * gdb.python/py-objfile.exp: Change name of file name test.
392
e5c6e92b
DE
3932014-10-13 Doug Evans <dje@google.com>
394
395 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
396 from the start of the CU.
397
c780cc2f
JK
3982014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
399 Yao Qi <yao@codesourcery.com>
400
401 Fix "save breakpoints" for "catch" command.
402 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
403 Remove -nonewline. Match also the added "main" line.
404
99894e11
JK
4052014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
406
407 Fix "save breakpoints" for "disable $bpnum" command.
408 * gdb.base/save-bp.c (main): Add label.
409 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
410
6e1ac5a3
JK
4112014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
412
413 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
414
754dd2b0
YQ
4152014-10-11 Yao Qi <yao@codesourcery.com>
416
417 * gdb.server/server-kill.exp: Execute command
418 "set remote trace-status-packet on" before "tstatus".
419
f90183d7
YQ
4202014-10-11 Yao Qi <yao@codesourcery.com>
421
422 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
423 (main): Call getppid.
424 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
425 and continue to it. Read variable "server_pid".
426
bf40a607
YQ
4272014-10-11 Yao Qi <yao@codesourcery.com>
428
429 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
430
052ca370
YQ
4312014-10-11 Yao Qi <yao@codesourcery.com>
432
433 * gdb.threads/thread-find.exp: Don't execute command
434 "info threads".
435 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
436 * gdb.threads/linux-dp.exp: Don't check the condition
437 $threads_created equals to zero.
438
3831839c
PA
4392014-10-10 Pedro Alves <palves@redhat.com>
440
441 * gdb.base/bigcore.exp: Remove references to IRIX.
442 * gdb.base/funcargs.exp: Likewise.
443 * gdb.base/interrupt.exp: Likewise.
444 * gdb.base/mips_pro.exp: Likewise.
445 * gdb.base/nodebug.exp: Likewise.
446 * gdb.base/setvar.exp: Likewise.
447 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
448
8b9a549d
PA
4492014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
450 Pedro Alves <palves@redhat.com>
451
452 PR symtab/14466
453 * gdb.base/vdso-warning.c: New file.
454 * gdb.base/vdso-warning.exp: New file.
455
d48ba5e8
DE
4562014-10-02 Doug Evans <dje@google.com>
457
458 * gdb.base/structs.c (main): Don't run forever.
459
2278c276
PA
4602014-10-02 Pedro Alves <palves@redhat.com>
461
462 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
463 (top level) <stop threads 1, stop threads 2>: Use it.
464
b57bacec
PA
4652014-10-02 Pedro Alves <palves@redhat.com>
466
467 * gdb.threads/break-while-running.exp (test): Add new
468 'update_thread_list' argument. Skip "info threads" if false.
469 (top level): Add new 'update_thread_list' axis.
470
13fd3ff3
PA
4712014-10-02 Pedro Alves <palves@redhat.com>
472
473 PR breakpoints/17431
474 * gdb.base/execl-update-breakpoints.c: New file.
475 * gdb.base/execl-update-breakpoints.exp: New file.
476
0fec99e8
PA
4772014-10-01 Pedro Alves <palves@redhat.com>
478
479 * gdb.base/breakpoint-in-ro-region.c: New file.
480 * gdb.base/breakpoint-in-ro-region.exp: New file.
481
2ddf4301
SM
4822014-10-01 Simon Marchi <simon.marchi@ericsson.com>
483
484 * gdb.mi/mi-exit-code.exp: New file.
485 * gdb.mi/mi-exit-code.c: New file.
486
6a5f3f43
YQ
4872014-09-30 Yao Qi <yao@codesourcery.com>
488
489 * lib/prelink-support.exp (build_executable_own_libs): Error if
490 the target isn't native.
491
345bcc73
YQ
4922014-09-30 Yao Qi <yao@codesourcery.com>
493
494 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
495 false.
496
a25a5a45
PA
4972014-09-22 Pedro Alves <palves@redhat.com>
498
499 * gdb.threads/break-while-running.exp: New file.
500 * gdb.threads/break-while-running.c: New file.
501
00ba3162
YQ
5022014-09-19 Yao Qi <yao@codesourcery.com>
503
504 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
505 Invoke test. Restart GDB with --readnow and invoke test again.
506
c3b7b696
YQ
5072014-09-19 Yao Qi <yao@codesourcery.com>
508
509 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
510 proc set_breakpoint_on_gcd_function. Invoke
511 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
512 invoke set_breakpoint_on_gcd_function again.
513
2b4fd423
DE
5142014-09-18 Doug Evans <dje@google.com>
515
516 * gdb.dwarf2/symtab-producer.exp: New file.
517
a5947601
SDJ
5182014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
519
520 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
521 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
522 * gdb.base/global-var-nested-by-dso.c: Likewise.
523 * gdb.base/global-var-nested-by-dso.exp: Likewise.
524
91c19059
SDJ
5252014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
526 Pedro Alves <palves@redhat.com>
527
528 * gdb.base/watch-bitfields.exp: Pass string other than test file
529 name to prepare_for_testing.
530 (watch): New procedure.
531 (expect_watchpoint): Use with_test_prefix.
532 (top level): Factor out tests to ...
533 (test_watch_location, test_regular_watch): ... these new
534 procedures, and use with_test_prefix and gdb_continue_to_end.
535
bb9d5f81
PP
5362014-09-16 Patrick Palka <patrick@parcs.ath.cx>
537
538 PR breakpoints/12526
539 * gdb.base/watch-bitfields.exp: New file.
540 * gdb.base/watch-bitfields.c: New file.
541
635856f5
PA
5422014-09-16 Pedro Alves <palves@redhat.com>
543
544 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
545 software and hardware addresses, not software address against
546 itself.
547
7280ceea
PA
5482014-09-16 Pedro Alves <palves@redhat.com>
549
550 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
551 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
552
428b16bd
PA
5532014-09-16 Pedro Alves <palves@redhat.com>
554
555 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
556 files.
557 * gdb.base/a2-run.exp: Remove all code guarded by istarget
558 "*-*-vxworks*" throughout.
559 * gdb.base/break.exp: Likewise.
560 * gdb.base/default.exp: Likewise.
561 * gdb.base/scope.exp: Likewise.
562 * gdb.base/sepdebug.exp: Likewise.
563 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
564 throughout.
565 * gdb.base/run.c: Likewise.
566 * gdb.base/sepdebug.c: Likewise.
567 * gdb.hp/gdb.aCC/run.c: Likewise.
568 * gdb.reverse/until-reverse.c: Likewise.
569 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
570
666d413c
YQ
5712014-09-16 Yao Qi <yao@codesourcery.com>
572
573 * boards/local-remote-host-native.exp: New file.
574
57cbd724
DE
5752014-09-14 Doug Evans <xdje42@gmail.com>
576
577 * gdb.threads/queue-signal.c (thread_count): New variable.
578 (thread_count_mutex, thread_count_condvar): New variables.
579 (incr_thread_count, wait_all_threads_running): New functions.
580 (main): Wait for all threads to be in their thread functions.
581
81219e53
DE
5822014-09-13 Doug Evans <xdje42@gmail.com>
583
584 * gdb.threads/queue-signal.c: New file.
585 * gdb.threads/queue-signal.exp: New file.
586
3714cea7
DE
5872014-09-13 Doug Evans <xdje42@gmail.com>
588
589 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
590 be consistent with what default_gdb_init uses.
591 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
592 the plain text of the prompt. Add some logging printfs.
593 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
594
fa43b1d7
PA
5952014-09-12 Pedro Alves <palves@redhat.com>
596
597 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
598 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
599 * gdb.arch/i386-size-overlap.exp: Likewise.
600 * gdb.arch/i386-size.exp: Likewise.
601 * gdb.arch/i386-unwind.exp: Likewise.
602 * gdb.base/a2-run.exp: Likewise.
603 * gdb.base/break.exp: Likewise.
604 * gdb.base/charset.exp: Likewise.
605 * gdb.base/chng-syms.exp: Likewise.
606 * gdb.base/commands.exp: Likewise.
607 * gdb.base/dbx.exp: Likewise.
608 * gdb.base/find.exp: Likewise.
609 * gdb.base/funcargs.exp: Likewise.
610 * gdb.base/jit-simple.exp: Likewise.
611 * gdb.base/reread.exp: Likewise.
612 * gdb.base/sepdebug.exp: Likewise.
613 * gdb.base/step-bt.exp: Likewise.
614 * gdb.cp/mb-inline.exp: Likewise.
615 * gdb.cp/mb-templates.exp: Likewise.
616 * gdb.objc/basicclass.exp: Likewise.
617 * gdb.threads/killed.exp: Likewise.
618
9d9bf2df
EBM
6192014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
620
621 PR tdep/17379
622 * gdb.arch/powerpc-stackless.S: New file.
623 * gdb.arch/powerpc-stackless.exp: New file.
624
1cf2f1b0
JK
6252014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
626
627 * gdb.base/attach.c: Include unistd.h.
628 (main): Call alarm. Add label postloop.
629 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
630 gdb_breakpoint, gdb_continue_to_breakpoint.
631 (test_command_line_attach_run): Kill ${testpid} in one exit path.
632
98880d46
PA
6332014-09-11 Pedro Alves <palves@redhat.com>
634
635 PR gdb/17347
636 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
637 * gdb.base/attach.exp (test_command_line_attach_run): New
638 procedure.
639 (top level): Call it.
640
4c92ff2c
PA
6412014-09-11 Pedro Alves <palves@redhat.com>
642
643 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
644 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
645 (do_command_attach_tests): Use spawn_wait_for_attach.
646 * gdb.base/solib-overlap.exp: Likewise.
647 * gdb.multi/multi-attach.exp: Likewise.
648 * gdb.python/py-prompt.exp: Likewise.
649 * gdb.python/py-sync-interp.exp: Likewise.
650 * gdb.server/ext-attach.exp: Likewise.
651
3adc1a7d
GKB
6522014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
653
654 * gdb.fortran/array-element.exp: Remove unexpected "continue"
655 command in testcase. Simplify testcase.
656
96334934
JB
6572014-09-10 Joel Brobecker <brobecker@adacore.com>
658
659 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
660
eb479039
JB
6612014-09-10 Joel Brobecker <brobecker@adacore.com>
662
663 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
664
deede10c
JB
6652014-09-10 Joel Brobecker <brobecker@adacore.com>
666
667 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
668
7828a5f5
JB
6692014-09-10 Joel Brobecker <brobecker@adacore.com>
670
671 * gdb.dwarf2/dynarr-ptr.c: New file.
672 * gdb.dwarf2/dynarr-ptr.exp: New file.
673
33aeebcf
MR
6742014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
675
676 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
677 of 30 rather than hardcoding 120 for a slow test case. Take the
678 `gdb,timeout' target setting into account for this calculation.
679 Don't extend the timeout for the test cases that don't need it.
680
7b415901
MR
6812014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
682
683 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
684 a factor of 2 for a slow test case. Take the `gdb,timeout'
685 target setting into account for this calculation.
686 * gdb.reverse/until-precsave.exp: Increase the timeout by
687 a factor of 15 and 3 respectively rather than adding 120
688 for a pair of slow test cases. Take the `gdb,timeout'
689 target setting into account for this calculation.
690
4a40f85a
MR
6912014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
692
693 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
694 timeout, don't pass one down to gdb_expect.
695 (gdb_expect): Rework timeout selection.
696
09635af7
MR
6972014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
698
699 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
700 exception on timeout.
701 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
702 (gdbserver_start_extended): Catch any `gdbserver_start' error
703 exceptions.
704 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
705 * lib/mi-support.exp (mi_gdb_target_load): Catch any
706 `gdbserver_gdb_load' error exceptions.
707
2bdd10b7
MR
7082014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
709
710 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
711 120 on waiting for the TCP socket to open.
712
316935f0
DE
7132014-09-09 Doug Evans <xdje42@gmail.com>
714
715 * gdb.base/default.exp (show_conv_list): Add _caller_is,
716 _caller_matches, _any_caller_is, _any_caller_matches.
717
83740597
DE
7182014-09-09 Doug Evans <xdje42@gmail.com>
719
720 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
721
4c122fc3
YQ
7222014-09-09 Yao Qi <yao@codesourcery.com>
723
724 * gdb.mi/mi-var-display.exp: Set print symbol off.
725
a9f116cb
GKB
7262014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
727
728 PR gdb/17035
729 * gdb.base/commands.exp: Add tests to verify user-defined
730 commands with empty bodies.
731 * gdb.python/py-cmd.exp: Test that we don't show user-defined
732 python commands in `show user command`.
733 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
734 scheme commands in `show user command`.
735
c75bd3a2
JK
7362014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
737
738 PR python/17355
739 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
740 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
741 * gdb.python/py-framefilter-invalidarg.exp: New file.
742 * gdb.python/py-framefilter-invalidarg.py: New file.
743
faa42425
DE
7442014-09-06 Doug Evans <xdje42@gmail.com>
745
746 PR 15276
747 * gdb.python/py-caller-is.c: New file.
748 * gdb.python/py-caller-is.exp: New file.
749
474ca4f6
SDJ
7502014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
751
752 PR gdb/17235
753 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
754 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
755
eb0b0463
SDJ
7562014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
757
758 PR fortran/17237
759 * gdb.fortran/print-formatted.exp: New file.
760 * gdb.fortran/print-formatted.f90: Likewise.
761
5f3b99cf
SS
7622014-09-03 Sasha Smundak <asmundak@google.com>
763
764 * gdb.python/py-frame.exp: Test Frame.read_register.
765
7d793aa9
SDJ
7662014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
767
768 PR python/16699
769 * gdb.python/py-completion.exp: New file.
770 * gdb.python/py-completion.py: Likewise.
771
fb0576e9
DE
7722014-08-28 Doug Evans <dje@google.com>
773
774 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
775 eax,etc. are live with values set by gdb and thus the compiler can't
776 use them.
777 * gdb.arch/i386-pseudo.c (main): Ditto.
778
ee92b0dd
DE
7792014-08-27 Doug Evans <dje@google.com>
780
781 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
782
6649db35
DE
7832014-08-25 Doug Evans <dje@google.com>
784
785 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
786 (main): Ditto.
787
564b7600
DE
7882014-08-25 Doug Evans <dje@google.com>
789
790 * gdb.threads/thread-execl.exp: #include <stdio.h>.
791
3881fb67
YQ
7922014-08-24 Yao Qi <yao@codesourcery.com>
793
794 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
795 symbol off.
796 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
797
a05a36a5
DE
7982014-08-22 Doug Evans <dje@google.com>
799
800 PR 17276
801 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
802 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
803 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
804
7c343b48
YQ
8052014-08-22 Yao Qi <yao@codesourcery.com>
806
807 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
808 * gdb.python/py-finish-breakpoint2.exp: Likewise.
809 * gdb.python/python.exp: Likewise. Use .py file on the host
810 instead of the build.
811
22fd09ae
JK
8122014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
813
814 * gdb.threads/gcore-stale-thread.c: New file.
815 * gdb.threads/gcore-stale-thread.exp: New file.
816
a8454a7c
PA
8172014-08-21 Pedro Alves <palves@redhat.com>
818
819 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
820 * gdb.base/gcore-relro-pie.exp: Likewise.
821 * gdb.base/gcore-relro.exp: Likewise.
822 * gdb.base/gcore.exp: Likewise.
823 * gdb.base/print-symbol-loading.exp: Likewise.
824 * gdb.threads/gcore-thread.exp: Likewise.
825 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
826
2a31c623
PA
8272014-08-20 Pedro Alves <palves@redhat.com>
828 Jan Kratochvil <jan.kratochvil@redhat.com>
829
830 * Makefile.in (EXTRA_RULES, CC): New variables, get from
831 configure.
832 (EXPECT): Handle READ1 being set.
833 (all): Depend on EXTRA_RULES.
834 (check-read1, expect-read1, read1.so, read1): New rules.
835 * README (Testsuite Parameters): Document the READ1 make variable.
836 (Race detection): New section.
837 * configure: Regenerate.
838 * configure.ac: If build==host==target, and running under a
839 GNU/glibc system, add read1 to the extra Makefile rules.
840 (EXTRA_RULES): AC_SUBST it.
841 * lib/read1.c: New file.
842
d36430db
JB
8432014-08-20 Joel Brobecker <brobecker@adacore.com>
844
845 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
846 the handling of variables declared as a typedef to an array
847 which a DW_AT_data_location attribute.
848
9a0dc9e3
PA
8492014-08-19 Andrew Burgess <aburgess@broadcom.com>
850 Pedro Alves <palves@redhat.com>
851
852 PR symtab/14604
853 PR symtab/14605
854 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
855 gdb_test.
856
0718a8da
PA
8572014-08-19 Pedro Alves <palves@redhat.com>
858
859 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
860
13b448cd
YQ
8612014-08-19 Yao Qi <yao@codesourcery.com>
862
863 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
864 right line.
865
1cbf5077
DB
8662014-08-18 David Blaikie <dblaikie@gmail.com>
867
868 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
869
bf0fae19
JB
8702014-08-18 Joel Brobecker <brobecker@adacore.com>
871
872 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
873 attribute in array range.
874
3c8c5dcc
JB
8752014-08-18 Joel Brobecker <brobecker@adacore.com>
876
877 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
878
e66d4446
SC
8792014-08-15 Siva Chandra Reddy <sivachandra@google.com>
880
881 PR c++/17132
882 * gdb.cp/pr17132.cc: New file.
883 * gdb.cp/pr17132.exp: New file.
884
940df408
SC
8852014-08-15 Siva Chandra Reddy <sivachandra@google.com>
886
887 * gdb.python/py-xmethods.py (A_getarrayind)
888 (E_method_char_worker.__call__, E_method_int_worker.__call__):
889 Use 'print' with function call syntax.
890 (E_method_matcher.match): Fix tab vs space indentation mixup.
891
ebcc6c3a
YQ
8922014-08-15 Yao Qi <yao@codesourcery.com>
893
894 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
895 false.
896
775e0f04
YQ
8972014-08-15 Yao Qi <yao@codesourcery.com>
898
899 * gdb.cp/casts.exp: Set print symbol off.
900 * gdb.cp/class2.exp: Likewise.
901 * gdb.cp/overload.exp: Likewise.
902 * gdb.cp/templates.exp: Likewise.
903
d769e349
DE
9042014-08-11 Doug Evans <dje@google.com>
905
906 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
907 (test_load_shlib): Update.
908
20c6f1e1
YQ
9092014-08-09 Yao Qi <yao@codesourcery.com>
910
911 * gdb.base/display.exp: Invoke is_address_zero_readable.
912 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
913 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
914 * gdb.base/hbreak-unmapped.exp: Return if
915 is_address_zero_readable returns true.
916 * gdb.base/signest.exp: Likewise.
917 * gdb.base/signull.exp: Likewise.
918 * gdb.base/sigbpt.exp: Likewise.
919 * gdb.guile/scm-disasm.exp: Do the test if
920 is_address_zero_readable returns false.
921 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
922 * gdb.python/py-arch.exp: Likewise.
923 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
924 * lib/gdb.exp (is_address_zero_readable): New proc.
925
5792e8e3
YQ
9262014-08-09 Yao Qi <yao@codesourcery.com>
927
928 PR testsuite/13443
929 * gdb.mi/mi-var-display.exp: Make test messages unique.
930
3cecbbbe
TT
9312014-08-04 Tom Tromey <tromey@redhat.com>
932
933 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
934 target 0".
935
00b51ff5
TT
9362014-08-04 Tom Tromey <tromey@redhat.com>
937
938 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
939 "target_resume".
940
6908c509
JB
9412014-08-01 Joel Brobecker <brobecker@adacore.com>
942
943 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
944 inner_vla_struct_object_size.
945 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
946 as xfail.
947
cc6563d2
PA
9482014-07-30 Pedro Alves <palves@redhat.com>
949
950 * gdb.threads/signal-command-handle-nopass.exp (test): Add
951 comment.
952
7e09a223
YQ
9532014-07-29 Yao Qi <yao@codesourcery.com>
954
955 PR gdb/17206
956 * gdb.base/until-nodebug.exp: New.
957
7ebdbe92
DE
9582014-07-28 Doug Evans <xdje42@gmail.com>
959
960 PR guile/17203
961 * gdb.guile/scm-parameter.exp: Add tests for trying to create
962 previously existing parameter, and previously ambiguously spelled
963 parameter.
964
fdb1adc6
WN
9652014-07-28 Will Newton <will.newton@linaro.org>
966
967 * gdb.base/varargs.exp: Remove KFAILs for ARM.
968
186fcde0
DE
9692014-07-26 Ludovic Courtès <ludo@gnu.org>
970 Doug Evans <xdje42@gmail.com>
971
972 PR guile/17146
973 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
974
70509625
PA
9752014-07-25 Pedro Alves <palves@redhat.com>
976
977 * gdb.threads/signal-command-handle-nopass.c: New file.
978 * gdb.threads/signal-command-handle-nopass.exp: New file.
979 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
980 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
981 * gdb.threads/signal-delivered-right-thread.c: New file.
982 * gdb.threads/signal-delivered-right-thread.exp: New file.
983
c3f814a1
PA
9842014-07-25 Pedro Alves <palves@redhat.com>
985
986 * gdb.base/double-prompt-target-event-error.exp
987 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
988 match.
989 (cancel_pagination_in_target_event): Rework double prompt
990 detection.
991 * gdb.base/paginate-after-ctrl-c-running.exp
992 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
993 <return>' match.
994 * gdb.base/paginate-bg-execution.exp
995 (test_bg_execution_pagination_return)
996 (test_bg_execution_pagination_cancel): Remove '-notransfer
997 <return>' matches.
998 * gdb.base/paginate-execution-startup.exp
999 (test_fg_execution_pagination_return)
1000 (test_fg_execution_pagination_cancel): Remove '-notransfer
1001 <return>' matches.
1002 * gdb.base/paginate-inferior-exit.exp
1003 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1004 match.
1005 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1006 * lib/gdb.exp (pagination_prompt): Run text through
1007 string_to_regexp.
1008 (gdb_test_multiple): Match $pagination_prompt instead of
1009 "<return>".
1010 (string_to_regexp): Move to lib/gdb-utils.exp.
1011
e214cf6c
JK
10122014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1013
1014 * gdb.arch/amd64-entry-value-paramref.S: New file.
1015 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1016 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1017 * gdb.arch/amd64-optimout-repeat.S: New file.
1018 * gdb.arch/amd64-optimout-repeat.c: New file.
1019 * gdb.arch/amd64-optimout-repeat.exp: New file.
1020
17d0c5c8
JK
10212014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1022
1023 PR gdb/17170
1024 * gdb.base/statistics.exp: New file.
1025
b8b8facf
DE
10262014-07-17 Doug Evans <dje@google.com>
1027
74b49205 1028 PR gdb/17170
b8b8facf
DE
1029 * gdb.base/maint.exp: Update testing of per-command stats.
1030
1b5d0ab3
PA
10312014-07-16 Pedro Alves <palves@redhat.com>
1032
1033 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1034 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1035 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1036 (tfile_write_buf): New functions.
1037 (add_memory_block): Rewrite using the above.
1038 (adjust_function_address): New function.
1039 (FUNCTION_ADDRESS): New macro.
1040 (write_basic_trace_file): Remove short_x local, and use
1041 tfile_write_16. Change type of func_addr local to unsigned long
1042 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1043 here. Cast argument of add_memory_block to char pointer.
1044 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1045 (main): Remove parameters.
1046 * gdb.trace/tfile.exp: Remove nowarnings.
1047
4d974e88
SM
10482014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1049
1050 * gdb.base/debug-expr.exp: Test string evaluation with
1051 "debug expression" on.
1052
41e99568
PA
10532014-07-15 Pedro Alves <palves@redhat.com>
1054
1055 * gdb.base/reread.exp: Use clean_restart.
1056
487d9753
PL
10572014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1058
1059 * gdb.arch/avr-flash-qualifer.c: New.
1060 * gdb.arch/avr-flash-qualifer.exp: New.
1061
cc1c52ad
PA
10622014-07-14 Pedro Alves <palves@redhat.com>
1063
1064 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1065 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1066
1e973570
PA
10672014-07-14 Pedro Alves <palves@redhat.com>
1068
1069 * gdb.base/double-prompt-target-event-error.c: New file.
1070 * gdb.base/double-prompt-target-event-error.exp: New file.
1071
93d6eb10
PA
10722014-07-14 Pedro Alves <palves@redhat.com>
1073
1074 PR gdb/17072
1075 * gdb.base/paginate-inferior-exit.c: New file.
1076 * gdb.base/paginate-inferior-exit.exp: New file.
1077
0017922d
PA
10782014-07-14 Pedro Alves <palves@redhat.com>
1079
1080 PR gdb/17072
1081 * gdb.base/paginate-bg-execution.c: New file.
1082 * gdb.base/paginate-bg-execution.exp: New file.
1083
94696ad3
PA
10842014-07-14 Pedro Alves <palves@redhat.com>
1085
1086 PR gdb/17072
1087 * gdb.base/paginate-execution-startup.c: New file.
1088 * gdb.base/paginate-execution-startup.exp: New file.
1089 * lib/gdb.exp (pagination_prompt): New global.
1090 (default_gdb_spawn): New procedure, factored out from
1091 default_gdb_spawn.
1092 (default_gdb_start): Adjust to call default_gdb_spawn.
1093 (gdb_spawn): New procedure.
1094
bd293940
PA
10952014-07-14 Pedro Alves <palves@redhat.com>
1096
1097 * lib/gdb.exp (gdb_assert): New procedure.
1098 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1099
c933f875
PA
11002014-07-14 Pedro Alves <palves@redhat.com>
1101
1102 * gdb.base/execution-termios.c: New file.
1103 * gdb.base/execution-termios.exp: New file.
1104
d98b7a16
TT
11052014-07-14 Tom Tromey <tromey@redhat.com>
1106
1107 * gdb.cp/vla-cxx.cc: New file.
1108 * gdb.cp/vla-cxx.exp: New file.
1109
548740d6
TT
11102014-07-14 Tom Tromey <tromey@redhat.com>
1111
1112 * gdb.reverse/rerun-prec.c: New file.
1113 * gdb.reverse/rerun-prec.exp: New file.
1114
a25eb028
MR
11152014-07-12 Maciej W. Rozycki <macro@mips.com>
1116 Maciej W. Rozycki <macro@codesourcery.com>
1117
1118 * lib/gdb-utils.exp: New file.
1119 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1120 inline `gdb_init_command' processing.
1121 (gdb_start_cmd): Likewise.
1122 * lib/mi-support.exp (mi_run_cmd): Likewise.
1123 * README: Document `gdb_init_command' and `gdb_init_commands'.
1124
218c2655
JK
11252014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1126
1127 Fix false FAIL running under a very long directory name.
1128 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1129 and "set print elements 10000". Twice.
1130
5401fde3
YQ
11312014-07-11 Yao Qi <yao@codesourcery.com>
1132
1133 * gdb.base/exprs.exp: "set print symbol off".
1134
e76126e8
PA
11352014-07-11 Pedro Alves <palves@redhat.com>
1136
1137 * gdb.threads/kill.c: New file.
1138 * gdb.threads/kill.exp: New file.
1139
2d6f0de6
YQ
11402014-07-10 Yao Qi <yao@codesourcery.com>
1141
1142 * gdb.trace/tfile.c (write_basic_trace_file)
1143 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1144 address written to trace file.
1145
7180e04a
PA
11462014-07-09 Pedro Alves <palves@redhat.com>
1147
1148 * gdb.base/attach-wait-input.exp: New file.
1149 * gdb.base/attach-wait-input.c: New file.
1150
9a9a7608
AB
11512014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1152
1153 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1154 setting up test structures.
1155 (main): Call new test function.
1156 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1157 test function, continue into test function and walk test
1158 structures.
1159
161ac41e
YQ
11602014-07-02 Yao Qi <yao@codesourcery.com>
1161
1162 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1163 'bar_start' at the beginning of functions 'foo' and 'bar'
1164 respectively.
1165 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1166 instead of 'foo' and 'bar'.
1167
1f267ae3
MM
11682014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1169
1170 * gdb.btrace/segv.exp: New.
1171 * gdb.btrace/segv.c: New.
1172
2b239efb
LM
11732014-07-02 Luis Machado <lgustavo@codesourcery.com>
1174
1175 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1176 instruction.
1177
cf363f18
MW
11782014-06-30 Mark Wielaard <mjw@redhat.com>
1179
1180 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1181 vulture, vilify, villar): New volatile array constants.
1182 (vindictive, vegetation): New const volatile array constants.
1183 * gdb.base/volatile.exp: Test volatile and const volatile array
1184 types.
1185
aebf9d24
AA
11862014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1187
1188 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1189 target lacks support for awatch, rwatch, or hbreak.
1190
b67a2c6f
YQ
11912014-06-27 Yao Qi <yao@codesourcery.com>
1192
1193 * gdb.multi/dummy-frame-restore.exp: New.
1194 * gdb.multi/dummy-frame-restore.c: New.
1195
aef92902
MM
11962014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1197
1198 * gdb.btrace/gcore.exp: New.
1199
8e9db26e
PA
12002014-06-23 Pedro Alves <palves@redhat.com>
1201
1202 * gdb.base/watchpoint-reuse-slot.c: New file.
1203 * gdb.base/watchpoint-reuse-slot.exp: New file.
1204
70afc5b7
SC
12052014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1206
1207 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1208 progspace's filename in 'info', 'enable' and 'disable' command
1209 tests.
1210
b972bd9c
JK
12112014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1212
1213 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1214 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1215 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1216
125f8a3d
GB
12172014-06-20 Gary Benson <gbenson@redhat.com>
1218
1219 * gdb.arch/i386-avx.exp: Fix include file location.
1220 * gdb.arch/i386-sse.exp: Likewise.
1221
3ed9baed
IB
12222014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1223
1224 * gdb.dlang/expression.exp: New file.
1225
034f788c
PA
12262014-06-19 Pedro Alves <palves@redhat.com>
1227
1228 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1229 out from ...
1230 (top level): ... here. Iterate running tests under different
1231 scheduler-locking settings.
1232
45371d0c
LM
12332014-06-18 Luis Machado <lgustavo@codesourcery.com>
1234
1235 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1236 to DW_FORM_addr and use non-zero addresses.
1237
5d376983
SC
12382014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1239
1240 PR gdb/17017
1241 * gdb.python/py-xmethods.cc: Add global function call counters and
1242 increment them in their respective functions. Remove "cout"
1243 statements.
1244 * gdb.python/py-xmethods.exp: Make tests check the global function
1245 call counters instead of depending on inferior IO.
1246
a1aa2221
LM
12472014-06-18 Don Breazeal <donb@codesourcery.com>
1248
1249 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1250 Deleted procedure.
1251 (explicit_fork_parent_follow): Deleted procedure.
1252 (explicit_fork_child_follow): Deleted procedure.
1253 (test_follow_fork): New procedure.
1254 (do_fork_tests): Replace calls to deleted procedures with
1255 calls to test_follow_fork and reset GDB for subsequent
1256 procedure calls.
1257
0fc05997
YQ
12582014-06-17 Yao Qi <yao@codesourcery.com>
1259
1260 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1261 CP1252.
1262
70795c52
LM
12632014-06-17 Luis Machado <lgustavo@codesourcery.com>
1264
1265 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1266 Initialize ptr and S explicitly.
1267 (skip_type_update_when_not_use_rtti_test): Likewise.
1268
6be47f0c
KS
12692014-06-16 Keith Seitz <keiths@redhat.com>
1270
1271 PR mi/15863
1272 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1273 the inferior is started.
1274
d03de421
PA
12752014-06-16 Pedro Alves <palves@redhat.com>
1276
1277 * gdb.base/break-main-file-remove-fail.c: New file.
1278 * gdb.base/break-main-file-remove-fail.exp: New file.
1279 * gdb.base/break-unload-file.exp: Use build_executable instead of
1280 prepare_for_testing.
1281 (test_break): New parameter "initial_load". Handle it.
1282 (top level): Add initial_load cmdline/file axis.
1283
f9579b99
TT
12842014-06-12 Tom Tromey <tromey@redhat.com>
1285
1286 * gdb.base/completion.exp: Don't use directory name in test.
1287
3657956b
GB
12882014-06-09 Gary Benson <gbenson@redhat.com>
1289
1290 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1291 separate the always-available ANSI-standard signals from the
1292 signals that require checking.
1293 (main): Likewise.
1294 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1295 Likewise.
1296 (main): Likewise.
1297
4186eb54
KS
12982014-06-07 Keith Seitz <keiths@redhat.com>
1299
1300 Revert:
1301 PR c++/16253
1302 * gdb.cp/var-tag.cc: New file.
1303 * gdb.cp/var-tag.exp: New file.
1304 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1305 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1306 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1307 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1308
25326a28 13092014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1310
1311 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1312
829155c9
PA
13132014-06-06 Pedro Alves <palves@redhat.com>
1314
1315 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1316 in target debug output instead of looking at RSP packets,
1317 disabling the test on any target that uses hardware stepping.
1318 Update comments.
1319
61c8d22e
PA
13202014-06-06 Pedro Alves <palves@redhat.com>
1321
1322 * gdb.base/break-unload-file.exp: Fix typo.
1323
d9a47287
YQ
13242014-06-06 Yao Qi <yao@codesourcery.com>
1325
1326 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1327 from "jit_function" to "^jit_function".
1328
e5e01dbf
YQ
13292014-06-06 Yao Qi <yao@codesourcery.com>
1330
1331 * gdb.base/async.c (foo): Add one statement.
1332 * gdb.base/async.exp: Get the next instruction address and
1333 match the output of "nexti" by instruction address. Match
1334 the hex address in the output of "finish".
1335
73ba372c
GB
13362014-06-06 Gary Benson <gbenson@redhat.com>
1337
1338 * gdb.base/call-signals.c: Remove preprocessor conditionals
1339 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1340 SIGSEGV and SIGTERM.
1341 * gdb.base/sigall.c: Likewise.
1342 * gdb.base/unwindonsignal.c: Likewise.
1343 * gdb.reverse/sigall-reverse.c: Likewise.
1344
831517df
YQ
13452014-06-06 Yao Qi <yao@codesourcery.com>
1346
1347 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1348 readable, skip the test.
1349
b8b91e98
YQ
13502014-06-06 Yao Qi <yao@codesourcery.com>
1351
1352 * gdb.threads/staticthreads.c (thread_function): Move the line
1353 setting breakpoint on forward.
1354 * gdb.threads/staticthreads.exp: Update comments.
1355
fb934770
LC
13562014-06-05 Ludovic Courtès <ludo@gnu.org>
1357
1358 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1359 "history-append! type error".
1360
6ef284bd
SM
13612014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1362
1363 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1364 erroneous dprintf expected input.
1365
a872e241
DE
13662014-06-04 Doug Evans <xdje42@gmail.com>
1367
1368 * gdb.guile/scm-generics.exp: Delete.
1369
16f691fb
DE
13702014-06-04 Doug Evans <xdje42@gmail.com>
1371
1372 * gdb.guile/scm-breakpoint.exp: Update.
1373 Add tests for breakpoint registration.
1374
012370f6
TT
13752014-06-04 Tom Tromey <tromey@redhat.com>
1376
1377 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1378 VLA-in-union.
1379 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1380 inner_vla_struct, vla_union types. Initialize objects of those
1381 types and compute their sizes.
1382
9f5a4cef
HZ
13832014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1384 Hui Zhu <hui@codesourcery.com>
1385
1386 * gdb.base/fileio.exp: Add test for shell not available as well as
1387 available.
1388 * gdb.base/fileio.c (test_system): Check for shell twice.
1389
90a45c4d
YQ
13902014-06-04 Yao Qi <yao@codesourcery.com>
1391
1392 * gdb.base/auto-connect-native-target.exp: Remove redundant
1393 space from the regexp pattern.
1394
70017e41
YQ
13952014-06-04 Yao Qi <yao@codesourcery.com>
1396
1397 * gdb.base/default.exp: Replace "child" with "native" in
1398 regexp pattern.
1399
883964a7
SC
14002014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1401
1402 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1403 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1404 * gdb.python/py-xmethods.py: Python script supporting the
1405 new testcase and tests.
1406
ef370185
JB
14072014-06-03 Joel Brobecker <brobecker@adacore.com>
1408 Pedro Alves <palves@redhat.com>
1409
1410 PR breakpoints/17000
1411 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1412 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1413
1e2ccb61
BM
14142014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1415
1416 * gdb.base/subst.exp: Add tests to verify partial path matching
1417 output.
1418
c6ec5ab2
PA
14192014-06-03 Pedro Alves <palves@redhat.com>
1420
1421 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1422 target that doesn't use software single-stepping.
1423
835c559f
PA
14242014-06-03 Pedro Alves <palves@redhat.com>
1425
1426 PR breakpoints/17000
1427 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1428 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1429
06eb1586
DE
14302014-06-02 Doug Evans <xdje42@gmail.com>
1431
1432 * gdb.guile/scm-parameter.exp: New file.
1433
e698b8c4
DE
14342014-06-02 Doug Evans <xdje42@gmail.com>
1435
1436 * gdb.guile/scm-cmd.c: New file.
1437 * gdb.guile/scm-cmd.exp: New file.
1438
ded03782
DE
14392014-06-02 Doug Evans <xdje42@gmail.com>
1440
1441 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1442 pretty-printer lookup.
1443 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1444 (make-pp_s-printer): Call it.
1445 (make-pretty-printer-from-dict): New function.
1446 (lookup-pretty-printer-maker-from-dict): New function.
1447 (*pretty-printer*): Simplify.
1448 (make-objfile-pp_s-printer): New function.
1449 (install-objfile-pretty-printers!): New function.
1450 (make-progspace-pp_s-printer): New function.
1451 (install-progspace-pretty-printers!): New function.
1452 * gdb.guile/scm-progspace.c: New file.
1453 * gdb.guile/scm-progspace.exp: New file.
1454
41fac0cf
PA
14552014-06-02 Pedro Alves <palves@redhat.com>
1456
1457 * gdb.base/dprintf-bp-same-addr.c: New file.
1458 * gdb.base/dprintf-bp-same-addr.exp: New file.
1459
96ae5695
EBM
14602014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1461
1462 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1463 * gdb.arch/powerpc-power.s: Likewise.
1464
da02b3a8
JB
14652014-06-02 Joel Brobecker <brobecker@adacore.com>
1466
1467 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1468
c72b2e7b
YQ
14692014-06-01 Yao Qi <yao@codesourcery.com>
1470
1471 * gdb.base/watchpoint.exp (test_watch_location): Check null
1472 pointer can be dereferenced. If not, do the test, otherwise
1473 skip it.
1474
53e8a631
AB
14752014-05-30 Andrew Burgess <aburgess@broadcom.com>
1476
1477 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1478 results.
1479 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1480
938f0e2f
AB
14812014-05-30 Andrew Burgess <aburgess@broadcom.com>
1482
1483 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1484 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1485 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1486 * gdb.arch/amd64-invalid-stack-top.c: New file.
1487 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1488
9ba6657a
PA
14892014-05-30 Pedro Alves <palves@redhat.com>
1490
1491 PR breakpoints/17000
1492 * gdb.base/sss-bp-on-user-bp.c: New file.
1493 * gdb.base/sss-bp-on-user-bp.exp: New file.
1494
522c09bf
DB
14952014-05-30 David Blaikie <dblaikie@gmail.com>
1496
1497 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1498 gnu_inline semantics via attribute.
1499 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1500 source explicitly specifies the required semantics.
1501
bf4ef81e
MR
15022014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1503
1504 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1505
329ea579
PA
15062014-05-29 Pedro Alves <palves@redhat.com>
1507 Tom Tromey <tromey@redhat.com>
1508
1509 * gdb.base/async-shell.exp: Don't enable target-async.
1510 * gdb.base/async.exp
1511 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1512 parameter. Adjust.
1513 (top level): Don't test with "target-async".
1514 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1515 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1516 * gdb.base/inferior-died.exp: Don't enable target-async.
1517 * gdb.base/interrupt-noterm.exp: Likewise.
1518 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1519 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1520 * gdb.mi/mi-nonstop.exp: Likewise.
1521 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1522 * gdb.mi/mi-nsintrall.exp: Likewise.
1523 * gdb.mi/mi-nsmoribund.exp: Likewise.
1524 * gdb.mi/mi-nsthrexec.exp: Likewise.
1525 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1526 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1527 * gdb.python/py-evsignal.exp: Don't enable target-async.
1528 * gdb.python/py-evthreads.exp: Likewise.
1529 * gdb.python/py-prompt.exp: Likewise.
1530 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1531 * gdb.server/solib-list.exp: Don't enable target-async.
1532 * gdb.threads/thread-specific-bp.exp: Likewise.
1533 * lib/mi-support.exp: Adjust to use mi-async.
1534
fd664c91
PA
15352014-05-29 Pedro Alves <palves@redhat.com>
1536
1537 PR gdb/13860
1538 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1539 reason, even in sync mode.
1540
251bde03
PA
15412014-05-29 Pedro Alves <palves@redhat.com>
1542 Hui Zhu <hui@codesourcery.com>
1543
1544 PR PR15693
1545 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1546 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1547 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1548 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1549
7f3c0343
JB
15502014-05-28 Joel Brobecker <brobecker@adacore.com>
1551
1552 * config/monitor.exp (gdb_target_monitor): Replace use of
1553 "set remotebaud" by "set serial baud".
1554
b2715b27
AW
15552014-05-26 Andy Wingo <wingo@igalia.com>
1556
1557 * gdb.guile/scm-breakpoint.exp:
1558 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1559 properties instead of gdb-object-properties.
1560
498a4489
YQ
15612014-05-26 Yao Qi <yao@codesourcery.com>
1562
1563 * gdb.server/no-thread-db.exp: Specify source file name
1564 explicitly when setting a breakpoint.
1565
589fdceb
MM
15662014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1567
1568 * gdb.btrace/vdso.c: New.
1569 * gdb.btrace/vdso.exp: New.
1570
e9089e05
MM
15712014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1572
1573 * gdb.base/gcore.exp (capture_command_output): Move ...
1574 * lib/gdb.exp (capture_command_output): ... here.
1575
67b5c0c1
MM
15762014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1577
1578 * gdb.btrace/data.exp: Test memory access during btrace replay.
1579
a2199296
SM
15802014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1581
1582 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1583
17b2616c
PA
15842014-05-21 Pedro Alves <palves@redhat.com>
1585
1586 PR gdb/13860
1587 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1588 (top level): Test that output related to execution commands is
1589 sent to the console with CLI commands, but not with MI commands.
1590 Test that breakpoint events are always mirrored to the console.
1591 Also expect the new source line to be output after a "next" in
1592 async mode too. Make it a pass/fail test.
1593 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1594 output.
1595 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1596
5166082f
PA
15972014-05-21 Pedro Alves <palves@redhat.com>
1598
1599 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1600 Use them to test variations of "list" after reaching a breakpoint.
1601 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1602 Test "list" with listsize 10 after reaching a breakpoint.
1603 * gdb.python/python.exp (decode_line current location line
1604 number): Adjust expected line number.
1605
2f25d70f
SM
16062014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1607
1608 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1609 behavior for $args, pass it directly to "run".
1610
ff604a67
MR
16112014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1612
1613 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1614 30000 to 65536.
1615
6a3cb8e8
PA
16162014-05-21 Pedro Alves <palves@redhat.com>
1617
1618 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1619 auto-connect-native-target off".
1620 * gdb.base/auto-connect-native-target.c: New file.
1621 * gdb.base/auto-connect-native-target.exp: New file.
1622
4ebfc96e
PA
16232014-05-21 Pedro Alves <palves@redhat.com>
1624
1625 * gdb.base/default.exp: Test "target native" instead of "target
1626 child".
1627
36d46afb
MW
16282014-05-21 Mark Wielaard <mjw@redhat.com>
1629
1630 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1631
5876f503
JK
16322014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1633
1634 Fix TLS access for -static -pthread.
1635 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1636 <HAVE_TLS> (thread_function, main): Initialize it.
1637 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1638 Add clean_restart.
1639 <$have_tls != "">: Check TLSVAR.
1640
0256a6ac
PA
16412014-05-21 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.base/dcache-line-read-error.c: New.
1644 * gdb.base/dcache-line-read-error.exp: New.
1645
936d2992
PA
16462014-05-20 Pedro Alves <palves@redhat.com>
1647
1648 * gdb.base/compare-sections.c: New file.
1649 * gdb.base/compare-sections.exp: New file.
1650
802e8e6d
PA
16512014-05-20 Pedro Alves <palves@redhat.com>
1652
1653 * gdb.base/break-idempotent.c: New file.
1654 * gdb.base/break-idempotent.exp: New file.
1655
e59fa00f
MM
16562014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1657
1658 * gdb.btrace/nohist.exp: New.
1659
8b696e31
YQ
16602014-05-20 Yao Qi <yao@codesourcery.com>
1661
1662 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1663 gdb.reverse directory and gdb_reverse_timeout exists in board
1664 setting.
1665 * README: Document gdb_reverse_timeout.
1666
73c9764f
YQ
16672014-05-20 Yao Qi <yao@codesourcery.com>
1668
1669 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1670 'test_file_name'. Treat args as a string instead of a list.
1671 (gdb_init): Rename argument 'args' by 'test_file_name'.
1672
f1f4348a
JK
16732014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1674
1675 * gdb.arch/powerpc-power.exp: New file.
1676 * gdb.arch/powerpc-power.s: New file.
1677
0dbe70ce
DE
16782014-05-16 Doug Evans <dje@google.com>
1679
1680 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1681 * gdb.base/completion.exp: Check that all expected files exist
1682 before doing file completion.
0dbe70ce 1683
8d551b02
DE
16842014-05-16 Doug Evans <dje@google.com>
1685
1686 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1687 Update.
1688 (do_syscall_tests_without_xml): Update.
1689
73eb7709
PA
16902014-05-16 Pedro Alves <palves@redhat.com>
1691
1692 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1693 instead of "unknown output after running".
1694
3fae92fc
YQ
16952014-05-16 Yao Qi <yao@codesourcery.com>
1696
1697 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1698 file1.txt from host at the end.
1699 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1700
c2b2ccc5
DE
17012014-05-15 Doug Evans <dje@google.com>
1702
1703 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1704 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1705 loading file. Add test for TU lookup.
1706
8c217a4b
SM
17072014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1708
1709 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1710 calling "-exec-arguments" or "set args" before running the
1711 inferior.
1712
3deb39c6
SM
17132014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1714
1715 * lib/mi-support.exp (mi_expect_stop): Expect message for
1716 inferiors that exit with non-zero exit code.
1717
71a79f8c
YQ
17182014-05-14 Yao Qi <yao@codesourcery.com>
1719
1720 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1721 match absolute path on remote host.
1722 (test_file_list_exec_source_files): Remove "/" from the
1723 pattern.
1724
f23fcd46
YQ
17252014-05-14 Yao Qi <yao@codesourcery.com>
1726
1727 * boards/local-remote-host-notty.exp (${board}_file): New
1728 proc.
1729
9404b58f
KM
17302014-05-07 Kyle McMartin <kyle@redhat.com>
1731
1732 Pushed by Joel Brobecker <brobecker@adacore.com>.
1733 * gdb.arch/aarch64-atomic-inst.c: New file.
1734 * gdb.arch/aarch64-atomic-inst.exp: New file.
1735
5e45f04c
YQ
17362014-05-07 Yao Qi <yao@codesourcery.com>
1737
1738 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1739 in current context" too.
1740
c888a17d
KS
17412014-05-05 Keith Seitz <keiths@redhat.com>
1742
1743 * gdb.linespec/ls-dollar.exp: Add test for linespec
1744 file:convenience_variable.
1745
290a839c
YQ
17462014-05-05 Yao Qi <yao@codesourcery.com>
1747
1748 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1749 traceframes into tfile and ctf trace files. Read data from
1750 trace file and test collected data.
1751 (gdb_collect_locals_test): Likewise.
1752 (gdb_unavailable_registers_test): Likewise.
1753 (gdb_unavailable_floats): Likewise.
1754 (gdb_collect_globals_test): Likewise.
1755 (top-level): Append "ctf" to trace_file_targets if GDB
1756 supports.
1757
b5262cd0
YQ
17582014-05-05 Yao Qi <yao@codesourcery.com>
1759
1760 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1761 code to ...
1762 (gdb_collect_args_test_1): ... it. New proc.
1763 (gdb_collect_locals_test): Move some code to ...
1764 (gdb_collect_locals_test_1): ... it. New proc.
1765 (gdb_unavailable_registers_test): Move some code to ...
1766 (gdb_unavailable_registers_test_1): ... it. New proc.
1767 (gdb_unavailable_floats): Move some code to ...
1768 (gdb_unavailable_floats_1): ... it. New proc.
1769
30a1e6cc
SDJ
17702014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1771
1772 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1773 probes to test for bitness recognition.
1774 * gdb.arch/amd64-stap-optional-prefix.exp
1775 (test_probe_value_without_reg): New procedure.
1776 Add code to test for different kinds of bitness.
1777
f33da99a
SDJ
17782014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1779
1780 PR breakpoints/16889
1781 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1782 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1783
5b80f00d
PA
17842014-05-01 Pedro Alves <palves@redhat.com>
1785
1786 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1787 gdb_file_cmd if no file is specified.
1788 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1789 last_loaded_file to set the remote exec-file.
1790
f8c2a73c
PA
17912014-05-01 Pedro Alves <palves@redhat.com>
1792
1793 * boards/local-remote-host.exp: New file.
1794
be6e8ac7
PA
17952014-05-01 Pedro Alves <palves@redhat.com>
1796
1797 * boards/local-remote-host.exp: Rename to ...
1798 * boards/local-remote-host-notty.exp: ... this.
1799
cac0dc8f
JB
18002014-04-28 Joel Brobecker <brobecker@adacore.com>
1801
1802 * gdb.ada/dyn_arrayidx: New testcase.
1803
9730e6cc
YQ
18042014-04-26 Yao Qi <yao@codesourcery.com>
1805
1806 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1807 and compute the length of function main. Save it in
1808 $main_length.
1809 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1810 (top-level): Use gdb_compile to compile objects into
1811 executable and restart GDB. Remove invocation to
1812 prepare_for_testing.
1813
7ae1a6a6
PA
18142014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1815 Pedro Alves <palves@redhat.com>
1816
1817 PR server/16255
1818 * gdb.multi/multi-attach.c: New file.
1819 * gdb.multi/multi-attach.exp: New file.
1820
4082afcc
PA
18212014-04-25 Pedro Alves <palves@redhat.com>
1822
1823 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1824 user.
1825 (top level): Test that "set remote conditional-breakpoints-packet
1826 off" works as intended.
1827 * gdb.base/dprintf.exp: Test that "set remote
1828 breakpoint-commands-packet off" works as intended.
1829 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1830 New function.
1831 (top level): Call it.
1832 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1833 remote fast-tracepoints-packet off" works as intended.
1834 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1835 * lib/gdb.exp (gdb_is_target_remote): ... here.
1836
2abc3f8d
DB
18372014-04-24 David Blaikie <dblaikie@gmail.com>
1838
1839 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1840 ensure clang would not discard them.
1841 * gdb.base/gdbvars.c: Ditto.
1842 * gdb.base/memattr.c: Ditto.
1843 * gdb.base/whatis.c: Ditto.
1844 * gdb.python/py-prettyprint.c: Ditto.
1845 * gdb.trace/actions.c: Ditto.
1846 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1847 ensure clang would not discard it.
1848
bfd39632
DB
18492014-04-24 David Blaikie <dblaikie@gmail.com>
1850
1851 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1852 clang to emit the full definition of type required by the test
1853 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1854
22842ff6
DB
18552014-04-24 David Blaikie <dblaikie@gmail.com>
1856
1857 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1858 coax Clang into emitting the definition of the type.
1859 * gdb.cp/pr10728-x.h (y): Ditto.
1860 * gdb.cp/pr10728-y.cc (y): Ditto.
1861
c2e827ad
DB
18622014-04-24 David Blaikie <dblaikie@gmail.com>
1863
1864 * gdb.base/label.exp: XFAIL label related tests under Clang.
1865 * gdb.cp/cplabel.exp: Ditto.
1866 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1867 under Clang those using labels.
1868
4c2d33e7
YQ
18692014-04-25 Yao Qi <yao@codesourcery.com>
1870
1871 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1872 double_label.
1873 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1874 partial_label and double_label.
1875
56083b99
DB
18762014-04-24 David Blaikie <dblaikie@gmail.com>
1877
1878 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1879
25d4e99d
DB
18802014-04-24 David Blaikie <dblaikie@gmail.com>
1881
1882 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1883 of the function to work across GCC and Clang.
1884 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1885 pointer types (const void ** const V void **).
1886
01f9f808
MS
18872014-04-24 Michael Sturm <michael.sturm@mintel.com>
1888 Walfred Tedeschi <walfred.tedeschi@intel.com>
1889
1890 * Makefile.in (EXECUTABLES): Added i386-avx512.
1891 * gdb.arch/i386-avx512.c: New file.
1892 * gdb.arch/i386-avx512.exp: Likewise.
1893
4b48d439
KS
18942014-04-23 Keith Seitz <keiths@redhat.com>
1895
1896 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1897 (mi_make_breakpoint_table): New procedure.
1898 (mi_create_breakpoint): Use mi_make_breakpoint
1899 and return the result.
1900 (mi_make_breakpoint): New procedure.
1901 (mi_build_kv_pairs): New procedure.
1902
1903 * gdb.mi/mi-break.exp: Remove unused globals,
1904 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1905 All callers updated.
1906 * gdb.mi/mi-dprintf.exp: Use variable to track command
1907 number.
1908 Update all callers of mi_create_breakpoint and use
1909 mi_make_breakpoint_table.
1910 Remove any unused global variables.
1911 * gdb.mi/mi-nonstop.exp: Likewise.
1912 * gdb.mi/mi-nsintrall.exp: Likewise.
1913 * gdb.mi/mi-nsmoribund.exp: Likewise.
1914 * gdb.mi/mi-nsthrexec.exp: Likewise.
1915 * gdb.mi/mi-reverse.exp: Likewise.
1916 * gdb.mi/mi-simplerun.exp: Likewise.
1917 * gdb.mi/mi-stepn.exp: Likewise.
1918 * gdb.mi/mi-syn-frame.exp: Likewise.
1919 * gdb.mi/mi-until.exp: Likewise.
1920 * gdb.mi/mi-var-cp.exp: Likewise.
1921 * gdb.mi/mi-var-display.exp: Likewise.
1922 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1923 * gdb.mi/mi2-var-child.exp: Likewise.
1924 * gdb.mi/mi-vla-c99.exp: Likewise.
1925 * lib/mi-support.exp: Likewise.
1926
1927 From Ian Lance Taylor <iant@cygnus.com>:
1928 * lib/gdb.exp (parse_args): New procedure.
1929
08351840
PA
19302014-04-23 Pedro Alves <palves@redhat.com>
1931
1932 * gdb.base/break-unload-file.c: New file.
1933 * gdb.base/break-unload-file.exp: New file.
1934 * gdb.base/sym-file-lib.c (baz): New function.
1935 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1936 field.
1937 (load): Store the segment's mapped size.
1938 (unload): New function.
1939 (unload_shlib): New function.
1940 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1941 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1942 set a breakpoint at baz, and call it.
1943 * gdb.base/sym-file.exp: New tests for stale breakpoint
1944 instructions.
1945
076855f9
PA
19462014-04-23 Pedro Alves <palves@redhat.com>
1947
1948 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1949 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1950 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1951 * gdb.base/hbreak-unmapped.c: New file.
1952 * gdb.base/hbreak-unmapped.exp: New file.
1953 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1954 * lib/gdb.exp (gdb_is_target_remote): ... here.
1955
483805cf
PA
19562014-04-22 Pedro Alves <palves@redhat.com>
1957
1958 * gdb.base/consecutive-step-over.c: New file.
1959 * gdb.base/consecutive-step-over.exp: New file.
1960
06d97543
PA
19612014-04-22 Pedro Alves <palves@redhat.com>
1962
1963 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1964 instead of send_gdb/gdb_expect.
1965
b4429ea2
YQ
19662014-04-22 Yao Qi <yao@codesourcery.com>
1967
1968 * lib/trace-support.exp (generate_tracefile): New procedure.
1969 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1970 return 0.
1971 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1972 if generate_tracefile returns 1.
1973
51d48146
PA
19742014-04-18 Tom Tromey <palves@redhat.com>
1975 Pedro alves <tromey@redhat.com>
1976
1977 PR backtrace/15558
1978 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1979 with a backtrace limit.
1980 * gdb.python/py-frame-inline.exp: Test running to an inline
1981 function with a backtrace limit, and printing the newest frame.
1982 * gdb.python/py-frame-inline.c (main): Call f.
1983
bd1dce5f
MS
19842014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1985
1986 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1987
40d1a503
MS
19882014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1989
1990 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1991 Drop prefix from unsupported source file path.
1992
389b98f7
YQ
19932014-04-17 Yao Qi <yao@codesourcery.com>
1994
1995 * lib/gdb.exp (with_target_charset): New proc.
1996 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1997 with_target_charset.
1998 (test_print_strings): Likewise.
1999 (test_repeat_bytes): Likewise.
2000 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2001 for some tests.
2002
22869d73
KS
20032014-04-16 Keith Seitz <keiths@redhat.com>
2004
2005 PR gdb/15827
2006 * gdb.dwarf2/corrupt.c: New file.
2007 * gdb.dwarf2/corrupt.exp: New file.
2008
c4f87ca6
KS
20092014-04-16 Keith Seitz <keiths@redhat.com>
2010
2011 PR c++/16597
2012 * gdb.cp/namelessclass.cc: New file.
2013 * gdb.cp/namelessclass.exp: New file.
2014 * gdb.cp/namelessclass.S: New file.
2015
ab19de87
DE
20162014-04-16 Doug Evans <dje@google.com>
2017
2018 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2019 Add comment.
2020 (gdbserver_default_get_comm_port): New function.
2021 (gdbserver_start): Check if board file provided
2022 "gdbserver,get_comm_port" and use it if so.
2023 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2024 (gdb,socketport): Set to "stdio".
2025 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2026 (stdio_gdbserver_template): Delete.
2027 (${board}_get_remote_address): Update.
2028 (${board}_build_remote_cmd): Delete.
2029 (${board}_get_comm_port): New function.
2030 (${board}_spawn): Update.
2031 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2032 Delete.
2033 (${board}_get_remote_address): Update.
2034 (${board}_get_comm_port): New function.
2035
fc98a809
AB
20362014-04-16 Andrew Burgess <aburgess@broadcom.com>
2037
2038 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2039 appearing in any order.
2040
87fd9e6e
DE
20412014-04-15 Doug Evans <dje@google.com>
2042
2043 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2044 uninitialized value of "description".
2045
099fc3ea
KS
20462014-04-15 Keith Seitz <keiths@redhat.com>
2047
2048 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2049 Remove unused globals.
2050 (test_running_the_program): Likewise.
2051 (test_controlled_execution): Likewise.
2052 (test_controlling_breakpoints): Likewise.
2053 (test_program_termination): Likewise.
2054
5da151d4
KS
20552014-04-15 Keith Seitz <keiths@redhat.com>
2056
2057 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2058 unused globals.
2059 (test_rbreak_creation_and_listing): Likewise.
2060 (test_ignore_count): Likewise.
2061 (test_error): Likewise.
2062
35e5d2f0
PA
20632014-04-15 Pedro Alves <palves@redhat.com>
2064
2065 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2066 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2067 sym-file-loader.c.
2068 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2069 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2070 to sym-file-loader.c.
2071 (struct library): Forward declare.
2072 (load_shlib, lookup_function): Change prototypes.
2073 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2074 (translate_offset): Remove declarations.
2075 (get_text_addr): New declaration.
2076 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2077 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2078 sym-file-loader.h.
2079 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2080 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2081 here from sym-file-loader.h.
2082 (struct library): New structure.
2083 (load_shlib, lookup_function): Change prototypes and adjust to
2084 work with a struct library.
2085 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2086 (translate_offset): Make static.
2087 (get_text_addr): New function.
2088 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2089
eb4c1710
PA
20902014-04-15 Pedro Alves <palves@redhat.com>
2091
2092 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2093
2d1baf52
PA
20942014-04-15 Pedro Alves <palves@redhat.com>
2095
2096 * gdb.base/sym-file-loader.c: Include <limits.h>.
2097 (SELF_LINK): New define.
2098 (get_origin): New function.
2099 (load_shlib): Use it.
2100 * gdb.base/sym-file.exp: Don't early return if the target is
2101 remote. Use runto_main, and issue fail is that fails. Use
2102 gdb_load_shlibs.
2103 (shlib_name): Delete.
2104 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2105
7dd6df01
PA
21062014-04-15 Pedro Alves <palves@redhat.com>
2107
2108 * gdb.base/sym-file.exp: Remove regex characters from test
2109 message. Don't refer to breakpoint numbers in test messages.
2110
b50c8614
KS
21112014-04-14 Keith Seitz <keiths@redhat.com>
2112
2113 PR c++/16253
2114 * gdb.cp/var-tag.cc: New file.
2115 * gdb.cp/var-tag.exp: New file.
2116 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2117 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2118 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2119 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2120
3d567982
TT
21212014-04-14 Tom Tromey <tromey@redhat.com>
2122
2123 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2124 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2125 type.
2126 * gdb.cp/enum-class.exp: New file.
2127 * gdb.cp/enum-class.cc: New file.
2128
0626fc76
TT
21292014-04-14 Tom Tromey <tromey@redhat.com>
2130
2131 * gdb.dwarf2/enum-type.exp: New file.
2132
dca325b3
SA
21332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2134
2135 * gdb.mi/mi-vla-c99.exp: New file.
2136 * gdb.mi/vla.c: New file.
2137
5854b38a
SA
21382014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2139
2140 * gdb.base/vla-datatypes.c: New file.
2141 * gdb.base/vla-datatypes.exp: New file.
2142
463bb957
SA
21432014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2144
2145 * gdb.base/vla-ptr.c: New file.
2146 * gdb.base/vla-ptr.exp: New file.
2147
3dd170be
SA
21482014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2149
2150 * gdb.dwarf2/count.exp: New file.
2151
5ecaaa66
SA
21522014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2153
2154 * gdb.base/vla-sideeffect.c: New file.
2155 * gdb.base/vla-sideeffect.exp: New file.
2156
41f1ada5
DB
21572014-04-14 David Blaikie <dblaikie@gmail.com>
2158
2159 * gdb.mi/non-stop.c: Add return value for non-void function return
2160 statement.
2161 * gdb.threads/staticthreads.c: Ditto.
2162
0be03e84
DE
21632014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2164 Doug Evans <xdje42@gmail.com>
2165
2166 * gdb.guile/scm-value.c: Improve test case.
2167 * gdb.guile/scm-value.exp: Add new test.
2168
f180a1fb
DB
21692014-04-11 David Blaikie <dblaikie@gmail.com>
2170
2171 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2172 override Clang's default.
2173
6b662e19
JB
21742014-04-11 Joel Brobecker <brobecker@adacore.com>
2175
2176 Revert the following changes (regressions):
2177
2178 * gdb.base/vla-sideeffect.c: New file.
2179 * gdb.base/vla-sideeffect.exp: New file.
2180
2181 * gdb.dwarf2/count.exp: New file.
2182
2183 * gdb.base/vla-multi.c: New file.
2184 * gdb.base/vla-multi.exp: New file.
2185
2186 * gdb.base/vla-ptr.c: New file.
2187 * gdb.base/vla-ptr.exp: New file.
2188
2189 * gdb.base/vla-datatypes.c: New file.
2190 * gdb.base/vla-datatypes.exp: New file.
2191
2192 * gdb.mi/mi-vla-c99.exp: New file.
2193 * gdb.mi/vla.c: New file.
2194
245a5f0b
KS
21952014-04-11 Keith Seitz <keiths@redhat.com>
2196
2197 PR c++/16675
2198 * gdb.cp/cpsizeof.exp: New file.
2199 * gdb.cp/cpsizeof.cc: New file.
2200
58a84dcf
SA
22012014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2202
191a8a90
JB
2203 * gdb.mi/mi-vla-c99.exp: New file.
2204 * gdb.mi/vla.c: New file.
58a84dcf 2205
c8655f75
SA
22062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2207
2208 * gdb.base/vla-datatypes.c: New file.
2209 * gdb.base/vla-datatypes.exp: New file.
2210
024e13b4
SA
22112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2212
2213 * gdb.base/vla-ptr.c: New file.
2214 * gdb.base/vla-ptr.exp: New file.
2215
1a237e0e
SA
22162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2217
2218 * gdb.base/vla-multi.c: New file.
2219 * gdb.base/vla-multi.exp: New file.
2220
504f3432
SA
22212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2222
2223 * gdb.dwarf2/count.exp: New file.
2224
3bce8237
SA
22252014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2226
191a8a90
JB
2227 * gdb.base/vla-sideeffect.c: New file.
2228 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2229
322f9c21
YQ
22302014-04-11 Yao Qi <yao@codesourcery.com>
2231
2232 * gdb.base/completion.exp: Check file exists before running tests
2233 on file completion.
2234
d708bcd1
PA
22352014-04-10 Pedro Alves <palves@redhat.com>
2236
2237 * gdb.base/cond-eval-mode.c: New file.
2238 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2239 prepare_for_testing to build the new file. Check result of
2240 runto_main.
2241 (test_break, test_watch): New procedures.
2242 (top level): Use them.
2243
ae1d2761
PM
22442014-04-08 Pierre Muller <muller@sourceware.org>
2245
2246 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2247 Ctrl-V use for mingw hosts.
2248
7af389b8
SC
22492014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2250
2251 * gdb.python/py-value.c: Improve test case.
2252 * gdb.python/py-value.exp: Add new test.
2253
5e703181
DE
22542014-04-07 David Blaikie <dblaikie@gmail.com>
2255
2256 * lib/compiler.c: Identify the clang compiler.
2257 * lib/compiler.cc: Ditto.
2258
9810b410
YQ
22592014-04-03 Yao Qi <yao@codesourcery.com>
2260
2261 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2262
98d1b8dc
AB
22632014-04-01 Anton Blanchard <anton@samba.org>
2264
2265 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2266 messages unique.
2267
3114cea1
AB
22682014-04-01 Anton Blanchard <anton@samba.org>
2269
2270 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2271 prepare_for_testing.
2272
62f7182c
AB
22732014-04-01 Anton Blanchard <anton@samba.org>
2274
2275 * gdb.arch/ppc64-atomic-inst.c: Remove.
2276 * gdb.arch/ppc64-atomic-inst.S: New file.
2277 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2278
770e7fc7
DE
22792014-03-31 Doug Evans <dje@google.com>
2280
2281 * gdb.base/print-symbol-loading-lib.c: New file.
2282 * gdb.base/print-symbol-loading-main.c: New file.
2283 * gdb.base/print-symbol-loading.exp: New file.
2284
46e2bafa
YQ
22852014-03-31 Yao Qi <yao@codesourcery.com>
2286
2287 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2288
8776cfe9
JB
22892014-03-28 Joel Brobecker <brobecker@adacore.com>
2290
2291 * gdb.ada/mi_dyn_arr: New testcase.
2292
5d1ef361
DE
22932014-03-27 Doug Evans <dje@google.com>
2294
2295 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2296
b5bee914
YQ
22972014-03-27 Yao Qi <yao@codesourcery.com>
2298
2299 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2300 if target is nios2-*-*.
2301
0d4d0e77
YQ
23022014-03-26 Yao Qi <yao@codesourcery.com>
2303
2304 * lib/gdb.exp (readline_is_used): New proc.
2305 * gdb.base/completion.exp: Move tests on command complete up.
2306 Skip the rest of tests if readline is not used.
2307 * gdb.ada/complete.exp: Skp the test if readline is not
2308 used.
2309 * gdb.base/filesym.exp: Likewise.
2310 * gdb.base/macscp.exp: Likewise.
2311 * gdb.base/readline-ask.exp: Likewise.
2312 * gdb.base/readline.exp: Likewise.
2313 * gdb.python/py-cmd.exp: Likewise.
2314 * gdb.trace/tfile.exp: Likewise.
2315
29361eee
YQ
23162014-03-26 Yao Qi <yao@codesourcery.com>
2317
2318 * gdb.base/macscp.exp: Fix code format issues.
2319
bc9a5525
UW
23202014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2321
2322 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2323 * gdb.asm/powerpc64le.inc: New file.
2324
d3839ede
PA
23252014-03-25 Pedro Alves <palves@redhat.com>
2326 Doug Evans <dje@google.com>
2327
2328 * gdb.base/source-execution.c: New file.
2329 * gdb.base/source-execution.exp: New file.
2330 * gdb.base/source-execution.gdb: New file.
2331
01672a57
DE
23322014-03-24 Doug Evans <dje@google.com>
2333
2334 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2335 using fission.
2336
88bbeca9
HZ
23372014-03-24 Hui Zhu <hui@codesourcery.com>
2338 Pedro Alves <palves@redhat.com>
2339
2340 PR breakpoints/16101
2341 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2342 test pass/fail messages. Detect missing support for dprintf when
2343 breakpoints are actually inserted.
2344 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2345 breakpoints are actually inserted.
2346 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2347 fails.
2348
d2348791
JK
23492014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2350
2351 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2352
feef67ab
DE
23532014-03-22 Doug Evans <xdje42@gmail.com>
2354
2355 * gdb.python/python.exp (python not supported): Verify multi-line
2356 python command issues an error.
25d743f9 2357 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2358 guile command issues an error.
feef67ab 2359
ecebef6a
MR
23602014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2361
2362 * gdb.threads/thread-specific.exp: Handle the lack of usable
2363 $this_breakpoint and $this_thread.
2364
ccdd1909
HZ
23652014-03-21 Hui Zhu <hui@codesourcery.com>
2366
2367 * gdb.base/attach.exp (do_command_attach_tests): New.
2368
beb460e8
PA
23692014-03-20 Tom Tromey <tromey@redhat.com>
2370 Pedro Alves <palves@redhat.com>
2371
2372 PR cli/15718
2373 * gdb.base/condbreak-call-false.c: New file.
2374 * gdb.base/condbreak-call-false.exp: New file.
2375
40acf43a
PA
23762014-03-20 Pedro Alves <palves@redhat.com>
2377
2378 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2379 Delete.
2380 (block_signals, unblock_signals): Delete.
2381 (child_function_2, main): Remove references to deleted variable
2382 and functions.
2383
9f5e1e02
PA
23842014-03-20 Pedro Alves <palves@redhat.com>
2385
2386 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2387 Use pthread_kill to signal thread 2.
2388 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2389 Adjust to make the test send itself a signal rather than using the
2390 host's "kill" command.
2391
99619bea
PA
23922014-03-20 Pedro Alves <palves@redhat.com>
2393
2394 * gdb.threads/multiple-step-overs.c: New file.
2395 * gdb.threads/multiple-step-overs.exp: New file.
2396 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2397 Adjust expected infrun debug output.
2398
2adfaa28
PA
23992014-03-20 Pedro Alves <palves@redhat.com>
2400
2401 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2402 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2403
31e77af2
PA
24042014-03-20 Pedro Alves <palves@redhat.com>
2405
2406 PR breakpoints/7143
2407 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2408 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2409 of gdb_test_multiple.
2410 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2411 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2412
b9f437de
PA
24132014-03-20 Pedro Alves <palves@redhat.com>
2414
2415 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2416 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2417
05adc73e
PA
24182014-03-19 Pedro Alves <palves@redhat.com>
2419
2420 * gdb.base/async.exp: Remove early return.
2421
6048b950
PA
24222014-03-19 Pedro Alves <palves@redhat.com>
2423
2424 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2425
8bcfb00a
PA
24262014-03-19 Pedro Alves <palves@redhat.com>
2427
2428 * gdb.base/async.exp (test_background): Expect \r\n after
2429 "completed." in the fail pattern.
2430
884e37dc
PA
24312014-03-19 Pedro Alves <palves@redhat.com>
2432
2433 * gdb.base/async.exp (test_background): New procedure.
2434 Use it for all background execution command tests.
2435
148e57e2
PA
24362014-03-19 Pedro Alves <palves@redhat.com>
2437
2438 * gdb.base/async.exp: Use prepare_for_testing.
2439
f48088c7
PA
24402014-03-19 Pedro Alves <palves@redhat.com>
2441
2442 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2443 the same line.
2444
e2f6c966
PA
24452014-03-19 Pedro Alves <palves@redhat.com>
2446
2447 * gdb.base/async.c (main): Add "jump here" and "until here" line
2448 marker comments.
2449 * gdb.base/async.exp (jump_here): New global.
2450 (jump& test): Use it.
2451 (until_here): New global.
2452 (until& test): Use it.
2453
c30568d4
PA
24542014-03-19 Pedro Alves <palves@redhat.com>
2455
2456 * gdb.base/async.exp: Don't frob gdb_protocol.
2457
0172b6a7
DE
24582014-03-18 Doug Evans <xdje42@gmail.com>
2459
2460 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2461 Fix spelling of exec-done-display.
2462
06c868a8
JK
24632014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2464
2465 PR gdb/15358
2466 * gdb.base/gdb-sigterm.c: New file.
2467 * gdb.base/gdb-sigterm.exp: New file.
2468
0c7e1a46
PA
24692014-03-18 Pedro Alves <palves@redhat.com>
2470
2471 PR gdb/13860
2472 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2473 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2474 solib-event.
2475
f7c77d93
JB
24762014-03-17 Joel Brobecker <brobecker@adacore.com>
2477
2478 * gdb.ada/pckd_arr_ren: New testcase.
2479
5a1e8c7a
DE
24802014-03-13 Doug Evans <xdje42@gmail.com>
2481
2482 PR guile/16612
2483 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2484 collect after discarding symbols.
2485
350e1a76
DE
24862014-03-13 Ludovic Courtès <ludo@gnu.org>
2487 Doug Evans <xdje42@gmail.com>
2488
2489 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2490 to history survives a gc.
2491
a69900ae
PA
24922014-03-13 Pedro Alves <palves@redhat.com>
2493
2494 * gdb.base/default.exp: Don't test "target procfs".
2495
5db9f0bd
PA
24962014-03-13 Pedro Alves <palves@redhat.com>
2497
2498 * gdb.base/default.exp: Update "target child" and "target procfs"
2499 tests to not expect "Unix".
2500
b3ccfe11
TT
25012014-03-12 Tom Tromey <tromey@redhat.com>
2502
2503 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2504 New procs. Add target-async tests.
2505 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2506 Add target-async tests.
2507
646f4417
AA
25082014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2509
2510 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2511 'func_start' and 'func_end' for the beginning and end of the
2512 function code, respectively.
2513 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2514 'func_end' instead of 'func' and 'main'.
2515
288c211f
AA
25162014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2517
2518 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2519 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2520 generate the debug info assembler source.
2521
e0c0f156
AA
25222014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2523
2524 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2525 * gdb.dwarf2/arr-subrange.exp: Likewise.
2526 * gdb.dwarf2/dwz.exp: Likewise.
2527 * gdb.dwarf2/method-ptr.exp: Likewise.
2528 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2529 * gdb.dwarf2/subrange.exp: Likewise.
2530 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2531 * gdb.dwarf2/implptrpiece.exp: Likewise.
2532 * gdb.dwarf2/nostaticblock.exp: Likewise.
2533
0e5c4555
AA
25342014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2535
2536 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2537 directory to absolute path name arguments.
2538
5ec18f2b
JG
25392014-03-10 Joel Brobecker <brobecker@adacore.com>
2540
2541 * gdb.ada/tagged_access: New testcase.
2542
847fc4f2
MM
25432014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2544
2545 * gdb.btrace/data.exp: Update expected output.
2546
cc3da688
YQ
25472014-03-06 Yao Qi <yao@codesourcery.com>
2548
2549 * gdb.trace/pr16508.exp: New file.
2550
0f26cec1
PA
25512014-03-05 Pedro Alves <palves@redhat.com>
2552
2553 PR gdb/16575
2554 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2555 procedure.
2556 (top level): Adjust to use it. Add tests that exercise breakpoint
2557 interaction with the code-cache.
2558
7a5a839f
LC
25592014-02-26 Ludovic Courtès <ludo@gnu.org>
2560
2561 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2562 test for 'history-append!'.
2563
31aa7e4e
JB
25642014-02-26 Joel Brobecker <brobecker@adacore.com>
2565
2566 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2567 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2568 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2569 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2570 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2571 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2572
1b588015
JB
25732014-02-26 Joel Brobecker <brobecker@adacore.com>
2574
2575 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2576 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2577 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2578
55426c9d
JB
25792014-02-26 Joel Brobecker <brobecker@adacore.com>
2580
2581 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2582
dc53a7ad
JB
25832014-02-26 Joel Brobecker <brobecker@adacore.com>
2584
2585 * gdb.dwarf2/arr-stride.c: New file.
2586 * gdb.dwarf2/arr-stride.exp: New file.
2587
12ab52e9
PA
25882014-02-26 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2591 that won't ever trigger. Make sure that GDB reports the correct
2592 breakpoint that caused the stop.
2593
849c862e
JK
25942014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2595
2596 PR gdb/16626
2597 * gdb.base/auto-load-script: New file.
2598 * gdb.base/auto-load.c: New file.
2599 * gdb.base/auto-load.exp: New file.
2600
71b7d793
JK
2601 PR gdb/16626
2602 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2603
e2f0d509
JK
26042014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2605
2606 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2607 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2608
50cc37c8
DE
26092014-02-24 Doug Evans <dje@google.com>
2610
2611 * lib/gdb.exp (run_on_host): Log error output if program fails.
2612
ea4758f2
PA
26132014-02-21 Pedro Alves <palves@redhat.com>
2614
2615 * gdb.threads/step-after-sr-lock.c: Rename to ...
2616 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2617 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2618 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2619 ... this.
2620
d7b30f67
SDJ
26212014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2622
2623 PR tdep/16397
2624 * gdb.arch/amd64-stap-special-operands.exp: New file.
2625 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2626 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2627 * gdb.arch/amd64-stap-triplet.S: Likewise.
2628 * gdb.arch/amd64-stap-triplet.c: Likewise.
2629
83deb43f
JB
26302014-02-20 Joel Brobecker <brobecker@adacore.com>
2631
2632 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2633 in .section pseudo-op.
2634
adde2bff
DE
26352014-02-20 lin zuojian <manjian2006@gmail.com>
2636 Joel Brobecker <brobecker@adacore.com>
2637 Doug Evans <xdje42@gmail.com>
2638
2639 PR symtab/16581
2640 * gdb.dwarf2/dw2-icycle.S: New file.
2641 * gdb.dwarf2/dw2-icycle.c: New file.
2642 * gdb.dwarf2/dw2-icycle.exp: New file.
2643
f7bd0f78
SC
26442014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2645
2646 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2647 operations on gdb.Value objects.
2648 * gdb.python/py-value-cc.exp: Add new test to test operations on
2649 gdb.Value objects.
2650
c17ef0d5
DE
26512014-02-18 Doug Evans <dje@google.com>
2652
2653 * Makefile.in (TESTS): New variable.
2654 (expanded_tests, expanded_tests_or_none): New variables
2655 (check-single): Pass $(expanded_tests_or_none) to runtest.
2656 (check-parallel): Only run tests in $(TESTS) if non-empty.
2657 (check/no-matching-tests-found): New rule.
2658 * README: Document TESTS makefile variable.
2659
5dd3176f
DE
26602014-02-18 Doug Evans <dje@google.com>
2661
2662 * Makefile.in (check-parallel): rm -rf outputs temp.
2663
0b10be4f
JK
26642014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2665
2666 Fix "ERROR: no fileid for" in the testsuite.
2667 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2668
85f224e7
DE
26692014-02-12 Doug Evans <dje@google.com>
2670
2671 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2672 (MISCELLANEOUS): New variable.
2673 (clean): rm -rf $(MISCELLANEOUS).
2674 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2675 dwp live in the same directory as symlinks, with each symlink pointed
2676 to a differently named file in a different directory.
2677
149b30ff
DE
26782014-02-11 Doug Evans <dje@google.com>
2679
2680 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2681 of Tcl file commands.
2682
1dfdac32
MK
26832014-02-10 Mark Kettenis <kettenis@gnu.org>
2684
2685 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2686 "kill -SIGUSR1 -1".
2687
aa4fb036
JB
26882014-02-10 Joel Brobecker <brobecker@adacore.com>
2689
2690 * gdb.ada/tick_length_array_enum_idx: New testcase.
2691
ed3ef339
DE
26922014-02-10 Doug Evans <xdje42@gmail.com>
2693
2694 * configure.ac (AC_OUTPUT): Add gdb.guile.
2695 * configure: Regenerate.
2696 * lib/gdb-guile.exp: New file.
2697 * lib/gdb.exp (get_target_charset): New function.
2698 * gdb.base/help.exp: Update expected output from "apropos apropos".
2699 * gdb.guile/Makefile.in: New file.
2700 * gdb.guile/guile.exp: New file.
2701 * gdb.guile/scm-arch.c: New file.
2702 * gdb.guile/scm-arch.exp: New file.
2703 * gdb.guile/scm-block.c: New file.
2704 * gdb.guile/scm-block.exp: New file.
2705 * gdb.guile/scm-breakpoint.c: New file.
2706 * gdb.guile/scm-breakpoint.exp: New file.
2707 * gdb.guile/scm-disasm.c: New file.
2708 * gdb.guile/scm-disasm.exp: New file.
2709 * gdb.guile/scm-equal.c: New file.
2710 * gdb.guile/scm-equal.exp: New file.
2711 * gdb.guile/scm-error.exp: New file.
2712 * gdb.guile/scm-error.scm: New file.
2713 * gdb.guile/scm-frame-args.c: New file.
2714 * gdb.guile/scm-frame-args.exp: New file.
2715 * gdb.guile/scm-frame-args.scm: New file.
2716 * gdb.guile/scm-frame-inline.c: New file.
2717 * gdb.guile/scm-frame-inline.exp: New file.
2718 * gdb.guile/scm-frame.c: New file.
2719 * gdb.guile/scm-frame.exp: New file.
2720 * gdb.guile/scm-generics.exp: New file.
2721 * gdb.guile/scm-gsmob.exp: New file.
2722 * gdb.guile/scm-iterator.c: New file.
2723 * gdb.guile/scm-iterator.exp: New file.
2724 * gdb.guile/scm-math.c: New file.
2725 * gdb.guile/scm-math.exp: New file.
2726 * gdb.guile/scm-objfile-script-gdb.in: New file.
2727 * gdb.guile/scm-objfile-script.c: New file.
2728 * gdb.guile/scm-objfile-script.exp: New file.
2729 * gdb.guile/scm-objfile.c: New file.
2730 * gdb.guile/scm-objfile.exp: New file.
2731 * gdb.guile/scm-ports.exp: New file.
2732 * gdb.guile/scm-pretty-print.c: New file.
2733 * gdb.guile/scm-pretty-print.exp: New file.
2734 * gdb.guile/scm-pretty-print.scm: New file.
2735 * gdb.guile/scm-section-script.c: New file.
2736 * gdb.guile/scm-section-script.exp: New file.
2737 * gdb.guile/scm-section-script.scm: New file.
2738 * gdb.guile/scm-symbol.c: New file.
2739 * gdb.guile/scm-symbol.exp: New file.
2740 * gdb.guile/scm-symtab-2.c: New file.
2741 * gdb.guile/scm-symtab.c: New file.
2742 * gdb.guile/scm-symtab.exp: New file.
2743 * gdb.guile/scm-type.c: New file.
2744 * gdb.guile/scm-type.exp: New file.
2745 * gdb.guile/scm-value-cc.cc: New file.
2746 * gdb.guile/scm-value-cc.exp: New file.
2747 * gdb.guile/scm-value.c: New file.
2748 * gdb.guile/scm-value.exp: New file.
2749 * gdb.guile/source2.scm: New file.
2750 * gdb.guile/types-module.cc: New file.
2751 * gdb.guile/types-module.exp: New file.
2752
7026a7c1
YQ
27532014-02-10 Yao Qi <yao@codesourcery.com>
2754
2755 PR testsuite/16543
2756 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2757 * configure: Regenerated.
2758 * Makefile.in: New file.
2759
6c466447
AS
27602014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2761
2762 * gdb.python/py-framefilter.exp: Fix typo.
2763
6e854735
YQ
27642014-02-08 Yao Qi <yao@codesourcery.com>
2765
2766 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2767 that no =breakpoint-modified is emitted when breakpoints are
2768 modified through MI commands.
2769
d137e6dc
PA
27702014-02-07 Pedro Alves <pedro@codesourcery.com>
2771 Pedro Alves <palves@redhat.com>
2772
2773 * gdb.threads/step-after-sr-lock.c: New file.
2774 * gdb.threads/step-after-sr-lock.exp: New file.
2775
b5ee5a50
PA
27762014-02-07 Pedro Alves <palves@redhat.com>
2777
2778 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2779
3c77faf3
JK
27802014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2781
2782 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2783 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2784
6dddc817
DE
27852014-02-06 Doug Evans <xdje42@gmail.com>
2786
2787 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2788 output.
2789
2790 * gdb.gdb/python-interrupts.exp: New file.
2791
de7b2893
YQ
27922014-02-05 Yao Qi <yao@codesourcery.com>
2793
2794 * gdb.trace/report.exp (use_collected_data): Test the output
2795 of "info threads" and "info inferiors".
2796
66d032ac
YQ
27972014-02-05 Yao Qi <yao@codesourcery.com>
2798
2799 Revert this patch:
2800
2801 2013-05-24 Yao Qi <yao@codesourcery.com>
2802
2803 * gdb.trace/tfile.exp: Test inferior and thread.
2804
591a12a1
UW
28052014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2806
2807 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2808 on a function.
2809 * gdb.base/step-bt.c: Call hello via function pointer to make
2810 sure its first instruction is executed on powerpc64le-linux.
2811
0ff3e01f
UW
28122014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2813
2814 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2815
084ee545
UW
28162014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2817
2818 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2819 of the test patterns for use on little-endian systems.
2820
6ed14ff3
UW
28212014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2822
2823 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2824 (decimal_vector): Fix for little-endian.
2825
401e27fd
JM
28262014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2827
2828 * gdb.arch/sparc-sysstep.exp: New file.
2829 * gdb.arch/sparc-sysstep.c: Likewise.
2830
2831 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2832
8b924729
EBM
28332014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2834
2835 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2836
fb151210
JB
28372014-01-23 Tom Tromey <tromey@redhat.com>
2838
2839 * gdb.ada/array_char_idx: New testcase.
2840
0740f8d8
TT
28412014-01-23 Tom Tromey <tromey@redhat.com>
2842
2843 PR python/16487:
2844 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2845 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2846 classes.
2847
21909fa1
TT
28482014-01-23 Tom Tromey <tromey@redhat.com>
2849
2850 PR python/16491:
2851 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2852 string from an inferior frame.
2853 * gdb.python/py-framefilter-mi.exp: Update.
2854
87ce2a04
DE
28552014-01-22 Doug Evans <dje@google.com>
2856
2857 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2858
237b092b
AA
28592014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2860
2861 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2862
d674a709
AA
28632014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2864
2865 * gdb.trace/entry-values.exp: Remove excess space character from
2866 regex patterns. Handle s390 call instruction.
2867
20fa3390
AA
28682014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2869
2870 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2871 define "*_start" label. Make "name" static.
2872 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2873 ${name} by references to ${name}_start.
2874
78466714
AA
28752014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2876
2877 * gdb.base/info-macros.exp: Remove "debug" from the compile
2878 options.
2879
ec9f644a
IB
28802014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2881
2882 * gdb.dlang/demangle.exp: New file.
2883
94b1b47e
IB
28842014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2885
2886 * gdb.dlang/primitive-types.exp: New file.
2887
7f420862
IB
28882014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2889
2890 * configure.ac: Create gdb.dlang/Makefile.
2891 * configure: Regenerate.
2892 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2893 * gdb.dlang/Makefile.in: New file.
2894 * lib/d-support.exp: New file.
2895 * lib/gdb.exp (skip_d_tests): New proc.
2896
52834460
MM
28972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2898
2899 * gdb.btrace/delta.exp: Check reverse stepi.
2900 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2901 * gdb.btrace/finish.exp: New.
2902 * gdb.btrace/next.exp: New.
2903 * gdb.btrace/nexti.exp: New.
2904 * gdb.btrace/record_goto.c: Add comments.
2905 * gdb.btrace/step.exp: New.
2906 * gdb.btrace/stepi.exp: New.
2907 * gdb.btrace/multi-thread-step.c: New.
2908 * gdb.btrace/multi-thread-step.exp: New.
2909 * gdb.btrace/rn-dl-bind.c: New.
2910 * gdb.btrace/rn-dl-bind.exp: New.
2911 * gdb.btrace/data.c: New.
2912 * gdb.btrace/data.exp: New.
2913 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2914
6e07b1d2
MM
29152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2916
2917 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2918 * gdb.btrace/exception.exp: Update.
2919 * gdb.btrace/instruction_history.exp: Update.
2920 * gdb.btrace/record_goto.exp: Update.
2921 * gdb.btrace/tailcall.exp: Update.
2922 * gdb.btrace/unknown_functions.exp: Update.
2923 * gdb.btrace/delta.exp: New.
2924
0b722aec
MM
29252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2926
2927 * gdb.btrace/record_goto.exp: Add backtrace test.
2928 * gdb.btrace/tailcall.exp: Add backtrace test.
2929
066ce621
MM
29302014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2931
2932 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2933 * gdb.btrace/record_goto.c: New.
2934 * gdb.btrace/record_goto.exp: New.
2935 * gdb.btrace/x86-record_goto.S: New.
2936
0688d04e
MM
29372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2938
2939 * gdb.btrace/function_call_history.exp: Update tests.
2940 * gdb.btrace/instruction_history.exp: Update tests.
2941
8710b709
MM
29422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2943
2944 * gdb.btrace/function_call_history.exp: Fix expected field
2945 order for "record function-call-history".
2946 Add new tests for "record function-call-history /c".
2947 * gdb.btrace/exception.cc: New.
2948 * gdb.btrace/exception.exp: New.
2949 * gdb.btrace/tailcall.exp: New.
2950 * gdb.btrace/x86-tailcall.S: New.
2951 * gdb.btrace/x86-tailcall.c: New.
2952 * gdb.btrace/unknown_functions.c: New.
2953 * gdb.btrace/unknown_functions.exp: New.
2954 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2955
5de9129b
MM
29562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2957
2958 * gdb.btrace/instruction_history.exp: Update.
2959 * gdb.btrace/function_call_history.exp: Update.
2960
23a7fe75
MM
29612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2962
2963 * gdb.btrace/function_call_history.exp: Fix expected function
2964 trace.
2965 * gdb.btrace/instruction_history.exp: Initialize traced.
2966 Remove traced_functions.
2967
724c7dd8
MM
29682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2969
2970 * gdb.btrace/function_call_history.exp: Update
2971 * gdb.btrace/instruction_history.exp: Update.
2972
6d78d93b
MM
29732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2974
2975 * gdb.btrace/enable.exp: Update expected text.
2976
93a360cc
OJ
29772014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2978
2979 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2980 bytes.
2981
3772b53f
MR
29822014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2983
2984 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2985
596662fa
OJ
29862014-01-15 Omair Javaid <omair.javaid@linaro.org>
2987
2988 * lib/gdb.exp (supports_process_record): Return true for
2989 arm*-linux*. (supports_reverse): Likewise.
2990
b5b08fb4
SC
29912014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2992
2993 PR python/15464
2994 PR python/16113
2995 * gdb.python/py-type.c: Enhance test case.
2996 * gdb.python/py-value-cc.cc: Likewise
2997 * gdb.python/py-type.exp: Add new tests.
2998 * gdb.python/py-value-cc.exp: Likewise
2999
52d7fb13
AA
30002014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3001 Pedro Alves <palves@redhat.com>
3002
3003 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3004 Make "name" extern.
3005 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3006 references to ${name}_start by references to ${name}.
3007
a2cd8cfe
JB
30082014-01-10 Joel Brobecker <brobecker@adacore.com>
3009
3010 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3011
4e23fced
JB
30122014-01-10 Joel Brobecker <brobecker@adacore.com>
3013
3014 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3015
c6a9e42c
PA
30162014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3017 Pedro Alves <palves@redhat.com>
3018
3019 * gdb.mi/mi-info-os.exp: Connect to the target with
3020 mi_gdb_target_load.
3021
b7ea362b
PA
30222014-01-08 Pedro Alves <palves@redhat.com>
3023
3024 * gdb.threads/reconnect-signal.c: New file.
3025 * gdb.threads/reconnect-signal.exp: New file.
3026
5e3f4fab
EBM
30272014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3028
3029 * gdb.base/source-dir.exp: New file.
3030
79301218
JB
30312014-01-07 Joel Brobecker <brobecker@adacore.com>
3032
3033 * gdb.ada/mi_interface: New testcase.
3034
8e355c5d
JB
30352014-01-07 Joel Brobecker <brobecker@adacore.com>
3036
3037 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3038 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3039 gdb.ada/pp-rec-component/pck.ads: New files.
3040
c0d48811
JB
30412014-01-07 Joel Brobecker <brobecker@adacore.com>
3042
3043 * gdb.python/py-pp-integral.c: New file.
3044 * gdb.python/py-pp-integral.py: New file.
3045 * gdb.python/py-pp-integral.exp: New file.
3046
17b609c3 3047For older changes see ChangeLog-1993-2013.
c906108c 3048\f
8d8cb839
EZ
3049;; Local Variables:
3050;; mode: change-log
3051;; left-margin: 8
3052;; fill-column: 74
3053;; version-control: never
3054;; End:
902f2ccb 3055
14f8b115 3056 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
3057 Copying and distribution of this file, with or without modification,
3058 are permitted provided the copyright notice and this notice are preserved.