'callfuncs' test case: Fixes in conditionally compiled code
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4 code guarded by #ifdef NO_PROTOTYPES.
5 (t_double_many_args): Likewise.
6 (DEF_FUNC_MANY_ARGS_1): Likewise.
7 (DEF_FUNC_VALUES_1): Likewise.
8 (t_structs_ldc): Renamed from t_structs_fc in conditional code
9 guarded by #ifdef PROTOTYPES.
10
11 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12
13 * gdb.mi/mi-console.c: Add eye-catcher.
14 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15 instead of literal line number.
16
17 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
18
19 * gdb.base/shr2.c: Add eye-catcher.
20 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
21 line number.
22
23 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
24
25 * gdb.base/jump.c: Add eye-catchers.
26 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
27 numbers.
28
29 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
30
31 * gdb.base/execd-prog.c: Add eye-catchers.
32 * gdb.base/foll-exec.c: Likewise.
33 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
34 line numbers.
35
36 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
37
38 * gdb.base/ending-run.c: Add eye-catchers.
39 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
40 literal line numbers.
41
42 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
43
44 * gdb.base/call-rt-st.c: Add eye-catchers.
45 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
46 literal line numbers.
47
48 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
49
50 * gdb.base/call-ar-st.c: Add eye-catchers.
51 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
52 literal line numbers.
53
54 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
55
56 * gdb.base/average.c: Add eye-catchers.
57 * gdb.base/sum.c: Likewise.
58 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
59 regexps dynamically.
60
61 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
62
63 * gdb.base/solib1.c: Add eye-catchers.
64 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
65 literal line numbers.
66
67 2014-11-12 Pedro Alves <palves@redhat.com>
68
69 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
70 leader has exited.
71
72 2014-11-12 Pedro Alves <palves@redhat.com>
73
74 * gdb.arch/i386-bp_permanent.c: New file.
75 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
76 (srcfile): Set to i386-bp_permanent.c.
77 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
78 that stepi does not execute the 'leave' instruction, instead of
79 testing it does execute.
80 * gdb.base/bp-permanent.c: New file.
81 * gdb.base/bp-permanent.exp: New file.
82
83 2014-11-10 Doug Evans <xdje42@gmail.com>
84
85 PR symtab/17564
86 * gdb.base/symtab-search-order.exp: New file.
87 * gdb.base/symtab-search-order.c: New file.
88 * gdb.base/symtab-search-order-1.c: New file.
89 * gdb.base/symtab-search-order-shlib-1.c: New file.
90
91 2014-11-07 Pedro Alves <palves@redhat.com>
92
93 PR gdb/17511
94 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
95 i?86-*-linux*.
96
97 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
98
99 PR c++/17494
100 * gdb.cp/pr17494.cc: New file.
101 * gdb.cp/pr17494.exp: New file.
102
103 2014-11-02 Yao Qi <yao@codesourcery.com>
104
105 * gdb.python/python.exp: Get working directory and match the
106 output of "set extended-prompt \\w " with it.
107
108 2014-10-30 Doug Evans <dje@google.com>
109
110 * gdb.python/py-objfile.exp: Add tests for setting random attributes
111 in objfiles.
112 * gdb.python/py-progspace.exp: Add tests for setting random attributes
113 in progspaces.
114
115 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
116
117 * gdb.base/fullpath-expand.exp: Skip for a remote host.
118 * gdb.base/realname-expand.exp: Likewise.
119 * gdb.linespec/macro-relative.exp: Likewise.
120
121 2014-10-29 Pedro Alves <palves@redhat.com>
122
123 PR gdb/17408
124 * gdb.threads/schedlock.c (some_function): New function.
125 (call_function): New global.
126 (MAYBE_CALL_SOME_FUNCTION): New macro.
127 (thread_function): Call it.
128 * gdb.threads/schedlock.exp (get_args): Add description parameter,
129 and use it instead of a global counter. Adjust all callers.
130 (get_current_thread): Use "find current thread" for test message
131 here rather than having all callers pass down the same string.
132 (goto_loop): New procedure, factored out from ...
133 (my_continue): ... this.
134 (step_ten_loops): Change parameter from test message to command to
135 use. Adjust.
136 (list_count): Delete global.
137 (check_result): New procedure, factored out from duplicate top
138 level code.
139 (continue tests): Wrap in with_test_prefix.
140 (test_step): New procedure, factored out from duplicate top level
141 code.
142 (top level): Test "step" in combination with all scheduler-locking
143 modes. Test "next" in combination with all scheduler-locking
144 modes, and in combination with stepping over a function call or
145 not.
146 * gdb.threads/next-bp-other-thread.c: New file.
147 * gdb.threads/next-bp-other-thread.exp: New file.
148
149 2014-10-29 Pedro Alves <palves@redhat.com>
150
151 PR python/17372
152 * gdb.python/python.exp: Test a multi-line command that spawns
153 interactive Python.
154 * gdb.base/multi-line-starts-subshell.exp: New file.
155
156 2014-10-29 Yao Qi <yao@codesourcery.com>
157
158 * gdb.base/fileio.exp: Make directories on host.
159
160 2014-10-29 Yao Qi <yao@codesourcery.com>
161
162 * gdb.base/fileio.c (test_write): Close the file.
163
164 2014-10-28 Pedro Alves <palves@redhat.com>
165
166 PR gdb/12623
167 * gdb.base/sigstep.c (no_handler): New global.
168 (main): If 'no_handler is true, set the signal handlers to
169 SIG_IGN.
170 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
171 with_sw_watch and no_handler parameters. Handle them.
172 (top level) <stepping over handler when stopped at a breakpoint
173 test>: Add a test axis for testing with a software watchpoint, and
174 another for testing with the signal handler set to SIG_IGN.
175 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
176 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
177
178 2014-10-28 Pedro Alves <palves@redhat.com>
179
180 PR gdb/17511
181 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
182 * gdb.base/sigstep.exp (other_handler_location): New global.
183 (advance): Support stepping into the signal handler, and running
184 commands while in the handler.
185 (in_handler_map): New global.
186 (top level): In the advance test, add combinations for getting
187 into the handler with stepping commands, and for running commands
188 in the handler. Add comment descripting the advancei tests.
189
190 2014-10-28 Pedro Alves <palves@redhat.com>
191
192 * gdb.base/sigstep.exp: Use build_executable instead of
193 prepare_for_testing.
194 (top level): Move code that starts GDB, runs to main and creates a
195 display to ...
196 (restart): ... this new procedure.
197 (top level): Move backtrace from signal handler test to ...
198 (validate_backtrace): ... this new procedure.
199 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
200 with_test_prefix. Always restart GDB.
201 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
202 with_test_prefix. Always restart GDB. No need to delete
203 breakpoints after the test.
204 (test_skip_handler): Remove prefix parameter.
205 (skip_over_handler, breakpoint_to_handler)
206 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
207 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
208 restart GDB. No need to delete breakpoints after the test.
209 (top level): Use foreach to call the test procedures with
210 different commands.
211
212 2014-10-28 Pedro Alves <palves@redhat.com>
213
214 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
215 instead of GNATS numbers.
216 * gdb.base/sigbpt.exp: Likewise.
217 * gdb.base/siginfo.exp: Likewise.
218 * gdb.base/sigstep.exp: Likewise.
219
220 2014-10-27 Pedro Alves <palves@redhat.com>
221
222 * gdb.base/sigstep.c (dummy): New global.
223 (main): Issue a couple writes to the new global.
224 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
225 procedures.
226 (skip_over_handler): Use test_skip_handler.
227 (top level): Call skip_over_handler for stepi and nexti too.
228 (breakpoint_over_handler): Use test_skip_handler.
229 (top level): Call breakpoint_over_handler for stepi and nexti too.
230
231 2014-10-27 Yao Qi <yao@codesourcery.com>
232
233 * gdb.trace/tfile.c (adjust_function_address)
234 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
235 function descriptor.
236
237 2014-10-24 Don Breazeal <donb@codesourcery.com>
238
239 * gdb.base/foll-fork.exp (test_follow_fork,
240 catch_fork_child_follow): Check for updated fork messages emitted
241 from infrun.c.
242 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
243 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
244 vfork_and_exec_child_follow_through_step): Check for updated vfork
245 messages emitted from infrun.c.
246
247 2014-10-24 Pedro Alves <palves@redhat.com>
248
249 * gdb.base/corefile.exp: Remove references to ultrix.
250 * gdb.base/interrupt.exp: Likewise.
251 * gdb.base/whatis.exp: Likewise.
252 * gdb.gdb/selftest.exp: Likewise.
253 * gdb.threads/manythreads.exp: Likewise.
254 * gdb.threads/print-threads.exp: Likewise.
255 * gdb.threads/pthreads.exp:: Likewise.
256 * gdb.threads/schedlock.exp: Likewise.
257
258 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
259
260 * gdb.cp/non-trivial-retval.cc: Add a test case.
261 * gdb.cp/non-trivial-retval.exp: Add a test.
262
263 2014-10-20 Yao Qi <yao@codesourcery.com>
264
265 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
266 * gdb.python/py-objfile-script-gdb.py: New file.
267 * gdb.python/py-objfile-script.exp: Update reference to
268 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
269 of remote_download. Remove the dest file.
270
271 2014-10-20 Yao Qi <yao@codesourcery.com>
272
273 * gdb.base/checkpoint.exp: Don't remove file copied on host.
274 * gdb.base/step-line.exp: Likewise.
275 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
276 * gdb.dwarf2/dw2-basic.exp: Likewise.
277 * gdb.dwarf2/dw2-compressed.exp: Likewise.
278 * gdb.dwarf2/dw2-filename.exp: Likewise.
279 * gdb.dwarf2/dw2-intercu.exp: Likewise.
280 * gdb.dwarf2/dw2-intermix.exp: Likewise.
281 * gdb.dwarf2/dw2-producer.exp: Likewise.
282 * gdb.dwarf2/mac-fileno.exp: Likewise.
283 * gdb.python/py-frame-args.exp: Likewise.
284 * gdb.python/py-framefilter.exp: Likewise.
285 * gdb.python/py-mi.exp: Likewise.
286 * gdb.python/py-objfile-script.exp: Likewise
287 * gdb.python/py-pp-integral.exp: Likewise.
288 * gdb.python/py-pp-re-notag.exp: Likewise.
289 * gdb.python/py-prettyprint.exp: Likewise.
290 * gdb.python/py-section-script.exp: Likewise.
291 * gdb.python/py-typeprint.exp: Likewise.
292 * gdb.python/py-xmethods.exp: Likewise.
293 * gdb.stabs/weird.exp: Likewise.
294 * gdb.xml/tdesc-regs.exp: Likewise.
295
296 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
297
298 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
299 (out_cu): Use addr_len for the size of addresses.
300 (out_line): Likewise. Size DW_LNE_set_address instruction
301 according to addr_len.
302 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
303 (FUNC): Add START_INSNS to definition.
304
305 2014-10-18 Yao Qi <yao@codesourcery.com>
306
307 * gdb.base/argv0-symlink.exp: Check argv[0] value if
308 gdb_has_argv0 return true.
309 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
310 check [target_info exists noargs], check [gdb_has_argv0]
311 instead.
312 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
313 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
314 procedures.
315
316 2014-10-17 Doug Evans <dje@google.com>
317
318 * gdb.python/py-events.exp: Update expected output for clear_objfiles
319 event.
320 * gdb.python/py-events.py: Add clear_objfiles event.
321
322 2014-10-17 Doug Evans <dje@google.com>
323
324 * gdb.python/py-objfile.exp: Test progspace attribute.
325
326 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
327
328 * gdb.guile/scm-breakpoint.exp: Do not assume any
329 directory separators when matching source file paths.
330 * gdb.python/py-breakpoint.exp: Likewise.
331 * gdb.reverse/break-precsave.exp: Likewise.
332 * gdb.reverse/break-reverse.exp: Likewise.
333 * gdb.reverse/consecutive-precsave.exp: Likewise.
334 * gdb.reverse/finish-precsave.exp: Likewise.
335 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
336 * gdb.reverse/finish-reverse.exp: Likewise.
337 * gdb.reverse/i386-precsave.exp: Likewise.
338 * gdb.reverse/i387-env-reverse.exp: Likewise.
339 * gdb.reverse/i387-stack-reverse.exp: Likewise.
340 * gdb.reverse/machinestate-precsave.exp: Likewise.
341 * gdb.reverse/machinestate.exp: Likewise.
342 * gdb.reverse/sigall-precsave.exp: Likewise.
343 * gdb.reverse/solib-precsave.exp: Likewise.
344 * gdb.reverse/step-precsave.exp: Likewise.
345 * gdb.reverse/until-precsave.exp: Likewise.
346 * gdb.reverse/watch-precsave.exp: Likewise.
347 * gdb.reverse/watch-reverse.exp: Likewise.
348
349 2014-10-17 Yao Qi <yao@codesourcery.com>
350
351 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
352 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
353
354 2014-10-17 Pedro Alves <palves@redhat.com>
355
356 PR gdb/17471
357 * gdb.base/bg-execution-repeat.c: New file.
358 * gdb.base/bg-execution-repeat.exp: New file.
359
360 2014-10-17 Pedro Alves <palves@redhat.com>
361
362 PR gdb/17300
363 * gdb.base/continue-all-already-running.c: New file.
364 * gdb.base/continue-all-already-running.exp: New file.
365
366 2014-10-17 Pedro Alves <palves@redhat.com>
367
368 PR gdb/17472
369 * gdb.base/annota-input-while-running.c: New file.
370 * gdb.base/annota-input-while-running.exp: New file.
371
372 2014-10-17 Pedro Alves <palves@redhat.com>
373
374 * gdb.base/callfuncs.exp: emove references to osf.
375 * gdb.base/sigall.exp: Likewise.
376 * gdb.gdb/selftest.exp: Likewise.
377 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
378 * gdb.mi/non-stop.c: Likewise.
379 * gdb.mi/pthreads.c: Likewise.
380 * gdb.reverse/sigall-precsave.exp: Likewise.
381 * gdb.reverse/sigall-reverse.exp: Likewise.
382 * gdb.threads/pthreads.c: Likewise.
383 * gdb.threads/pthreads.exp: Likewise.
384
385 2014-10-17 Yao Qi <yao@codesourcery.com>
386
387 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
388 check 'target_info exists noargs'.
389 (test_command_prompt_position): Likewise.
390 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
391 Remove "set args".
392 (progvar_simple_while_test): Likewise.
393 (progvar_complex_if_while_test): Likewise.
394 (if_while_breakpoint_command_test): Likewise.
395 (infrun_breakpoint_command_test): Likewise.
396 (breakpoint_command_test): Likewise.
397 (watchpoint_command_test): Likewise.
398 (bp_deleted_in_command_test): Likewise.
399 (temporary_breakpoint_commands): Likewise.
400
401 2014-10-16 Yao Qi <yao@codesourcery.com>
402
403 * gdb.base/remotetimeout.exp: Remove noargs checking.
404
405 2014-10-15 Pedro Alves <palves@redhat.com>
406
407 PR breakpoints/9649
408 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
409 * gdb.base/breakpoint-in-ro-region.exp
410 (probe_target_hardware_step): New procedure.
411 (top level): Probe hardware stepping and hardware breakpoint
412 support. Test stepping through a read-only region, with both
413 "breakpoint auto-hw" on and off and both "always-inserted" on and
414 off.
415
416 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
417
418 * gdb.dlang/demangle.exp: Update for demangling changes.
419
420 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
421
422 * gdb.cp/non-trivial-retval.cc: Add new test cases.
423 * gdb.cp/non-trivial-retval.exp: Add new tests.
424
425 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
426
427 PR c++/13403
428 PR c++/15154
429 * gdb.cp/non-trivial-retval.cc: New file.
430 * gdb.cp/non-trivial-retval.exp: New file.
431
432 2014-10-15 Yao Qi <yao@codesourcery.com>
433
434 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
435 remote host.
436
437 2014-10-15 Yao Qi <yao@codesourcery.com>
438
439 * gdb.python/py-symbol.exp: Match file base name if host is
440 remote, otherwise match file name with dir name.
441 * gdb.python/py-symtab.exp: Likewise.
442 * gdb.python/python.exp: Likewise.
443
444 2014-10-15 Yao Qi <yao@codesourcery.com>
445
446 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
447 pattern.
448 * gdb.python/py-symtab.exp: Likewise.
449 * gdb.python/python.exp: Remove trailing ".*". Fix typo
450 locationn.
451
452 2014-10-14 Joel Brobecker <brobecker@adacore.com>
453
454 * gdb.ada/addr_arith: New testcase.
455
456 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
457
458 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
459 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
460 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
461 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
462
463 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
464
465 * gdb.arch/stap-eval-lang-ada.S: Likewise.
466 * gdb.arch/stap-eval-lang-ada.c: Likewise.
467 * gdb.arch/stap-eval-lang-ada.exp: New file.
468
469 2014-10-14 Yao Qi <yao@codesourcery.com>
470
471 * gdb.mi/mi-var-child.c (nothing1): New function.
472 (nothing2): New function.
473 (do_children_tests): Set function pointers by nothing1 and
474 nothing2.
475 * gdb.mi/mi-var-child.exp: Step over new added statements.
476 Update test to match the new output.
477 * gdb.mi/var-cmd.c (nothing1): New function.
478 (nothing2): New function.
479 (do_children_tests): Set function pointers by nothing1 and
480 nothing2.
481 * gdb.mi/mi-var-display.exp: Update test to match output.
482 Step to the line specified by $line_dct_nothing.
483 Increase the number of lines to step.
484
485 2014-10-14 Yao Qi <yao@codesourcery.com>
486
487 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
488 tests.
489 * gdb.mi/mi2-var-child.exp: Likewise.
490
491 2014-10-13 Doug Evans <dje@google.com>
492
493 * gdb.python/py-objfile.exp: Change name of file name test.
494
495 2014-10-13 Doug Evans <dje@google.com>
496
497 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
498 from the start of the CU.
499
500 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
501 Yao Qi <yao@codesourcery.com>
502
503 Fix "save breakpoints" for "catch" command.
504 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
505 Remove -nonewline. Match also the added "main" line.
506
507 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
508
509 Fix "save breakpoints" for "disable $bpnum" command.
510 * gdb.base/save-bp.c (main): Add label.
511 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
512
513 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
514
515 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
516
517 2014-10-11 Yao Qi <yao@codesourcery.com>
518
519 * gdb.server/server-kill.exp: Execute command
520 "set remote trace-status-packet on" before "tstatus".
521
522 2014-10-11 Yao Qi <yao@codesourcery.com>
523
524 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
525 (main): Call getppid.
526 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
527 and continue to it. Read variable "server_pid".
528
529 2014-10-11 Yao Qi <yao@codesourcery.com>
530
531 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
532
533 2014-10-11 Yao Qi <yao@codesourcery.com>
534
535 * gdb.threads/thread-find.exp: Don't execute command
536 "info threads".
537 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
538 * gdb.threads/linux-dp.exp: Don't check the condition
539 $threads_created equals to zero.
540
541 2014-10-10 Pedro Alves <palves@redhat.com>
542
543 * gdb.base/bigcore.exp: Remove references to IRIX.
544 * gdb.base/funcargs.exp: Likewise.
545 * gdb.base/interrupt.exp: Likewise.
546 * gdb.base/mips_pro.exp: Likewise.
547 * gdb.base/nodebug.exp: Likewise.
548 * gdb.base/setvar.exp: Likewise.
549 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
550
551 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
552 Pedro Alves <palves@redhat.com>
553
554 PR symtab/14466
555 * gdb.base/vdso-warning.c: New file.
556 * gdb.base/vdso-warning.exp: New file.
557
558 2014-10-02 Doug Evans <dje@google.com>
559
560 * gdb.base/structs.c (main): Don't run forever.
561
562 2014-10-02 Pedro Alves <palves@redhat.com>
563
564 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
565 (top level) <stop threads 1, stop threads 2>: Use it.
566
567 2014-10-02 Pedro Alves <palves@redhat.com>
568
569 * gdb.threads/break-while-running.exp (test): Add new
570 'update_thread_list' argument. Skip "info threads" if false.
571 (top level): Add new 'update_thread_list' axis.
572
573 2014-10-02 Pedro Alves <palves@redhat.com>
574
575 PR breakpoints/17431
576 * gdb.base/execl-update-breakpoints.c: New file.
577 * gdb.base/execl-update-breakpoints.exp: New file.
578
579 2014-10-01 Pedro Alves <palves@redhat.com>
580
581 * gdb.base/breakpoint-in-ro-region.c: New file.
582 * gdb.base/breakpoint-in-ro-region.exp: New file.
583
584 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
585
586 * gdb.mi/mi-exit-code.exp: New file.
587 * gdb.mi/mi-exit-code.c: New file.
588
589 2014-09-30 Yao Qi <yao@codesourcery.com>
590
591 * lib/prelink-support.exp (build_executable_own_libs): Error if
592 the target isn't native.
593
594 2014-09-30 Yao Qi <yao@codesourcery.com>
595
596 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
597 false.
598
599 2014-09-22 Pedro Alves <palves@redhat.com>
600
601 * gdb.threads/break-while-running.exp: New file.
602 * gdb.threads/break-while-running.c: New file.
603
604 2014-09-19 Yao Qi <yao@codesourcery.com>
605
606 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
607 Invoke test. Restart GDB with --readnow and invoke test again.
608
609 2014-09-19 Yao Qi <yao@codesourcery.com>
610
611 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
612 proc set_breakpoint_on_gcd_function. Invoke
613 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
614 invoke set_breakpoint_on_gcd_function again.
615
616 2014-09-18 Doug Evans <dje@google.com>
617
618 * gdb.dwarf2/symtab-producer.exp: New file.
619
620 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
621
622 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
623 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
624 * gdb.base/global-var-nested-by-dso.c: Likewise.
625 * gdb.base/global-var-nested-by-dso.exp: Likewise.
626
627 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
628 Pedro Alves <palves@redhat.com>
629
630 * gdb.base/watch-bitfields.exp: Pass string other than test file
631 name to prepare_for_testing.
632 (watch): New procedure.
633 (expect_watchpoint): Use with_test_prefix.
634 (top level): Factor out tests to ...
635 (test_watch_location, test_regular_watch): ... these new
636 procedures, and use with_test_prefix and gdb_continue_to_end.
637
638 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
639
640 PR breakpoints/12526
641 * gdb.base/watch-bitfields.exp: New file.
642 * gdb.base/watch-bitfields.c: New file.
643
644 2014-09-16 Pedro Alves <palves@redhat.com>
645
646 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
647 software and hardware addresses, not software address against
648 itself.
649
650 2014-09-16 Pedro Alves <palves@redhat.com>
651
652 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
653 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
654
655 2014-09-16 Pedro Alves <palves@redhat.com>
656
657 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
658 files.
659 * gdb.base/a2-run.exp: Remove all code guarded by istarget
660 "*-*-vxworks*" throughout.
661 * gdb.base/break.exp: Likewise.
662 * gdb.base/default.exp: Likewise.
663 * gdb.base/scope.exp: Likewise.
664 * gdb.base/sepdebug.exp: Likewise.
665 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
666 throughout.
667 * gdb.base/run.c: Likewise.
668 * gdb.base/sepdebug.c: Likewise.
669 * gdb.hp/gdb.aCC/run.c: Likewise.
670 * gdb.reverse/until-reverse.c: Likewise.
671 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
672
673 2014-09-16 Yao Qi <yao@codesourcery.com>
674
675 * boards/local-remote-host-native.exp: New file.
676
677 2014-09-14 Doug Evans <xdje42@gmail.com>
678
679 * gdb.threads/queue-signal.c (thread_count): New variable.
680 (thread_count_mutex, thread_count_condvar): New variables.
681 (incr_thread_count, wait_all_threads_running): New functions.
682 (main): Wait for all threads to be in their thread functions.
683
684 2014-09-13 Doug Evans <xdje42@gmail.com>
685
686 * gdb.threads/queue-signal.c: New file.
687 * gdb.threads/queue-signal.exp: New file.
688
689 2014-09-13 Doug Evans <xdje42@gmail.com>
690
691 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
692 be consistent with what default_gdb_init uses.
693 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
694 the plain text of the prompt. Add some logging printfs.
695 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
696
697 2014-09-12 Pedro Alves <palves@redhat.com>
698
699 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
700 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
701 * gdb.arch/i386-size-overlap.exp: Likewise.
702 * gdb.arch/i386-size.exp: Likewise.
703 * gdb.arch/i386-unwind.exp: Likewise.
704 * gdb.base/a2-run.exp: Likewise.
705 * gdb.base/break.exp: Likewise.
706 * gdb.base/charset.exp: Likewise.
707 * gdb.base/chng-syms.exp: Likewise.
708 * gdb.base/commands.exp: Likewise.
709 * gdb.base/dbx.exp: Likewise.
710 * gdb.base/find.exp: Likewise.
711 * gdb.base/funcargs.exp: Likewise.
712 * gdb.base/jit-simple.exp: Likewise.
713 * gdb.base/reread.exp: Likewise.
714 * gdb.base/sepdebug.exp: Likewise.
715 * gdb.base/step-bt.exp: Likewise.
716 * gdb.cp/mb-inline.exp: Likewise.
717 * gdb.cp/mb-templates.exp: Likewise.
718 * gdb.objc/basicclass.exp: Likewise.
719 * gdb.threads/killed.exp: Likewise.
720
721 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
722
723 PR tdep/17379
724 * gdb.arch/powerpc-stackless.S: New file.
725 * gdb.arch/powerpc-stackless.exp: New file.
726
727 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
728
729 * gdb.base/attach.c: Include unistd.h.
730 (main): Call alarm. Add label postloop.
731 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
732 gdb_breakpoint, gdb_continue_to_breakpoint.
733 (test_command_line_attach_run): Kill ${testpid} in one exit path.
734
735 2014-09-11 Pedro Alves <palves@redhat.com>
736
737 PR gdb/17347
738 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
739 * gdb.base/attach.exp (test_command_line_attach_run): New
740 procedure.
741 (top level): Call it.
742
743 2014-09-11 Pedro Alves <palves@redhat.com>
744
745 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
746 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
747 (do_command_attach_tests): Use spawn_wait_for_attach.
748 * gdb.base/solib-overlap.exp: Likewise.
749 * gdb.multi/multi-attach.exp: Likewise.
750 * gdb.python/py-prompt.exp: Likewise.
751 * gdb.python/py-sync-interp.exp: Likewise.
752 * gdb.server/ext-attach.exp: Likewise.
753
754 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
755
756 * gdb.fortran/array-element.exp: Remove unexpected "continue"
757 command in testcase. Simplify testcase.
758
759 2014-09-10 Joel Brobecker <brobecker@adacore.com>
760
761 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
762
763 2014-09-10 Joel Brobecker <brobecker@adacore.com>
764
765 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
766
767 2014-09-10 Joel Brobecker <brobecker@adacore.com>
768
769 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
770
771 2014-09-10 Joel Brobecker <brobecker@adacore.com>
772
773 * gdb.dwarf2/dynarr-ptr.c: New file.
774 * gdb.dwarf2/dynarr-ptr.exp: New file.
775
776 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
777
778 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
779 of 30 rather than hardcoding 120 for a slow test case. Take the
780 `gdb,timeout' target setting into account for this calculation.
781 Don't extend the timeout for the test cases that don't need it.
782
783 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
784
785 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
786 a factor of 2 for a slow test case. Take the `gdb,timeout'
787 target setting into account for this calculation.
788 * gdb.reverse/until-precsave.exp: Increase the timeout by
789 a factor of 15 and 3 respectively rather than adding 120
790 for a pair of slow test cases. Take the `gdb,timeout'
791 target setting into account for this calculation.
792
793 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
794
795 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
796 timeout, don't pass one down to gdb_expect.
797 (gdb_expect): Rework timeout selection.
798
799 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
800
801 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
802 exception on timeout.
803 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
804 (gdbserver_start_extended): Catch any `gdbserver_start' error
805 exceptions.
806 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
807 * lib/mi-support.exp (mi_gdb_target_load): Catch any
808 `gdbserver_gdb_load' error exceptions.
809
810 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
811
812 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
813 120 on waiting for the TCP socket to open.
814
815 2014-09-09 Doug Evans <xdje42@gmail.com>
816
817 * gdb.base/default.exp (show_conv_list): Add _caller_is,
818 _caller_matches, _any_caller_is, _any_caller_matches.
819
820 2014-09-09 Doug Evans <xdje42@gmail.com>
821
822 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
823
824 2014-09-09 Yao Qi <yao@codesourcery.com>
825
826 * gdb.mi/mi-var-display.exp: Set print symbol off.
827
828 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
829
830 PR gdb/17035
831 * gdb.base/commands.exp: Add tests to verify user-defined
832 commands with empty bodies.
833 * gdb.python/py-cmd.exp: Test that we don't show user-defined
834 python commands in `show user command`.
835 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
836 scheme commands in `show user command`.
837
838 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
839
840 PR python/17355
841 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
842 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
843 * gdb.python/py-framefilter-invalidarg.exp: New file.
844 * gdb.python/py-framefilter-invalidarg.py: New file.
845
846 2014-09-06 Doug Evans <xdje42@gmail.com>
847
848 PR 15276
849 * gdb.python/py-caller-is.c: New file.
850 * gdb.python/py-caller-is.exp: New file.
851
852 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
853
854 PR gdb/17235
855 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
856 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
857
858 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
859
860 PR fortran/17237
861 * gdb.fortran/print-formatted.exp: New file.
862 * gdb.fortran/print-formatted.f90: Likewise.
863
864 2014-09-03 Sasha Smundak <asmundak@google.com>
865
866 * gdb.python/py-frame.exp: Test Frame.read_register.
867
868 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
869
870 PR python/16699
871 * gdb.python/py-completion.exp: New file.
872 * gdb.python/py-completion.py: Likewise.
873
874 2014-08-28 Doug Evans <dje@google.com>
875
876 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
877 eax,etc. are live with values set by gdb and thus the compiler can't
878 use them.
879 * gdb.arch/i386-pseudo.c (main): Ditto.
880
881 2014-08-27 Doug Evans <dje@google.com>
882
883 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
884
885 2014-08-25 Doug Evans <dje@google.com>
886
887 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
888 (main): Ditto.
889
890 2014-08-25 Doug Evans <dje@google.com>
891
892 * gdb.threads/thread-execl.exp: #include <stdio.h>.
893
894 2014-08-24 Yao Qi <yao@codesourcery.com>
895
896 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
897 symbol off.
898 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
899
900 2014-08-22 Doug Evans <dje@google.com>
901
902 PR 17276
903 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
904 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
905 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
906
907 2014-08-22 Yao Qi <yao@codesourcery.com>
908
909 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
910 * gdb.python/py-finish-breakpoint2.exp: Likewise.
911 * gdb.python/python.exp: Likewise. Use .py file on the host
912 instead of the build.
913
914 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
915
916 * gdb.threads/gcore-stale-thread.c: New file.
917 * gdb.threads/gcore-stale-thread.exp: New file.
918
919 2014-08-21 Pedro Alves <palves@redhat.com>
920
921 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
922 * gdb.base/gcore-relro-pie.exp: Likewise.
923 * gdb.base/gcore-relro.exp: Likewise.
924 * gdb.base/gcore.exp: Likewise.
925 * gdb.base/print-symbol-loading.exp: Likewise.
926 * gdb.threads/gcore-thread.exp: Likewise.
927 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
928
929 2014-08-20 Pedro Alves <palves@redhat.com>
930 Jan Kratochvil <jan.kratochvil@redhat.com>
931
932 * Makefile.in (EXTRA_RULES, CC): New variables, get from
933 configure.
934 (EXPECT): Handle READ1 being set.
935 (all): Depend on EXTRA_RULES.
936 (check-read1, expect-read1, read1.so, read1): New rules.
937 * README (Testsuite Parameters): Document the READ1 make variable.
938 (Race detection): New section.
939 * configure: Regenerate.
940 * configure.ac: If build==host==target, and running under a
941 GNU/glibc system, add read1 to the extra Makefile rules.
942 (EXTRA_RULES): AC_SUBST it.
943 * lib/read1.c: New file.
944
945 2014-08-20 Joel Brobecker <brobecker@adacore.com>
946
947 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
948 the handling of variables declared as a typedef to an array
949 which a DW_AT_data_location attribute.
950
951 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
952 Pedro Alves <palves@redhat.com>
953
954 PR symtab/14604
955 PR symtab/14605
956 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
957 gdb_test.
958
959 2014-08-19 Pedro Alves <palves@redhat.com>
960
961 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
962
963 2014-08-19 Yao Qi <yao@codesourcery.com>
964
965 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
966 right line.
967
968 2014-08-18 David Blaikie <dblaikie@gmail.com>
969
970 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
971
972 2014-08-18 Joel Brobecker <brobecker@adacore.com>
973
974 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
975 attribute in array range.
976
977 2014-08-18 Joel Brobecker <brobecker@adacore.com>
978
979 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
980
981 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
982
983 PR c++/17132
984 * gdb.cp/pr17132.cc: New file.
985 * gdb.cp/pr17132.exp: New file.
986
987 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
988
989 * gdb.python/py-xmethods.py (A_getarrayind)
990 (E_method_char_worker.__call__, E_method_int_worker.__call__):
991 Use 'print' with function call syntax.
992 (E_method_matcher.match): Fix tab vs space indentation mixup.
993
994 2014-08-15 Yao Qi <yao@codesourcery.com>
995
996 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
997 false.
998
999 2014-08-15 Yao Qi <yao@codesourcery.com>
1000
1001 * gdb.cp/casts.exp: Set print symbol off.
1002 * gdb.cp/class2.exp: Likewise.
1003 * gdb.cp/overload.exp: Likewise.
1004 * gdb.cp/templates.exp: Likewise.
1005
1006 2014-08-11 Doug Evans <dje@google.com>
1007
1008 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
1009 (test_load_shlib): Update.
1010
1011 2014-08-09 Yao Qi <yao@codesourcery.com>
1012
1013 * gdb.base/display.exp: Invoke is_address_zero_readable.
1014 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
1015 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
1016 * gdb.base/hbreak-unmapped.exp: Return if
1017 is_address_zero_readable returns true.
1018 * gdb.base/signest.exp: Likewise.
1019 * gdb.base/signull.exp: Likewise.
1020 * gdb.base/sigbpt.exp: Likewise.
1021 * gdb.guile/scm-disasm.exp: Do the test if
1022 is_address_zero_readable returns false.
1023 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
1024 * gdb.python/py-arch.exp: Likewise.
1025 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
1026 * lib/gdb.exp (is_address_zero_readable): New proc.
1027
1028 2014-08-09 Yao Qi <yao@codesourcery.com>
1029
1030 PR testsuite/13443
1031 * gdb.mi/mi-var-display.exp: Make test messages unique.
1032
1033 2014-08-04 Tom Tromey <tromey@redhat.com>
1034
1035 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
1036 target 0".
1037
1038 2014-08-04 Tom Tromey <tromey@redhat.com>
1039
1040 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
1041 "target_resume".
1042
1043 2014-08-01 Joel Brobecker <brobecker@adacore.com>
1044
1045 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
1046 inner_vla_struct_object_size.
1047 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
1048 as xfail.
1049
1050 2014-07-30 Pedro Alves <palves@redhat.com>
1051
1052 * gdb.threads/signal-command-handle-nopass.exp (test): Add
1053 comment.
1054
1055 2014-07-29 Yao Qi <yao@codesourcery.com>
1056
1057 PR gdb/17206
1058 * gdb.base/until-nodebug.exp: New.
1059
1060 2014-07-28 Doug Evans <xdje42@gmail.com>
1061
1062 PR guile/17203
1063 * gdb.guile/scm-parameter.exp: Add tests for trying to create
1064 previously existing parameter, and previously ambiguously spelled
1065 parameter.
1066
1067 2014-07-28 Will Newton <will.newton@linaro.org>
1068
1069 * gdb.base/varargs.exp: Remove KFAILs for ARM.
1070
1071 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1072 Doug Evans <xdje42@gmail.com>
1073
1074 PR guile/17146
1075 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
1076
1077 2014-07-25 Pedro Alves <palves@redhat.com>
1078
1079 * gdb.threads/signal-command-handle-nopass.c: New file.
1080 * gdb.threads/signal-command-handle-nopass.exp: New file.
1081 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
1082 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
1083 * gdb.threads/signal-delivered-right-thread.c: New file.
1084 * gdb.threads/signal-delivered-right-thread.exp: New file.
1085
1086 2014-07-25 Pedro Alves <palves@redhat.com>
1087
1088 * gdb.base/double-prompt-target-event-error.exp
1089 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
1090 match.
1091 (cancel_pagination_in_target_event): Rework double prompt
1092 detection.
1093 * gdb.base/paginate-after-ctrl-c-running.exp
1094 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
1095 <return>' match.
1096 * gdb.base/paginate-bg-execution.exp
1097 (test_bg_execution_pagination_return)
1098 (test_bg_execution_pagination_cancel): Remove '-notransfer
1099 <return>' matches.
1100 * gdb.base/paginate-execution-startup.exp
1101 (test_fg_execution_pagination_return)
1102 (test_fg_execution_pagination_cancel): Remove '-notransfer
1103 <return>' matches.
1104 * gdb.base/paginate-inferior-exit.exp
1105 (test_paginate_inferior_exited): Remove '-notransfer <return>'
1106 match.
1107 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
1108 * lib/gdb.exp (pagination_prompt): Run text through
1109 string_to_regexp.
1110 (gdb_test_multiple): Match $pagination_prompt instead of
1111 "<return>".
1112 (string_to_regexp): Move to lib/gdb-utils.exp.
1113
1114 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1115
1116 * gdb.arch/amd64-entry-value-paramref.S: New file.
1117 * gdb.arch/amd64-entry-value-paramref.cc: New file.
1118 * gdb.arch/amd64-entry-value-paramref.exp: New file.
1119 * gdb.arch/amd64-optimout-repeat.S: New file.
1120 * gdb.arch/amd64-optimout-repeat.c: New file.
1121 * gdb.arch/amd64-optimout-repeat.exp: New file.
1122
1123 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1124
1125 PR gdb/17170
1126 * gdb.base/statistics.exp: New file.
1127
1128 2014-07-17 Doug Evans <dje@google.com>
1129
1130 PR gdb/17170
1131 * gdb.base/maint.exp: Update testing of per-command stats.
1132
1133 2014-07-16 Pedro Alves <palves@redhat.com>
1134
1135 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
1136 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
1137 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
1138 (tfile_write_buf): New functions.
1139 (add_memory_block): Rewrite using the above.
1140 (adjust_function_address): New function.
1141 (FUNCTION_ADDRESS): New macro.
1142 (write_basic_trace_file): Remove short_x local, and use
1143 tfile_write_16. Change type of func_addr local to unsigned long
1144 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
1145 here. Cast argument of add_memory_block to char pointer.
1146 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
1147 (main): Remove parameters.
1148 * gdb.trace/tfile.exp: Remove nowarnings.
1149
1150 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1151
1152 * gdb.base/debug-expr.exp: Test string evaluation with
1153 "debug expression" on.
1154
1155 2014-07-15 Pedro Alves <palves@redhat.com>
1156
1157 * gdb.base/reread.exp: Use clean_restart.
1158
1159 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1160
1161 * gdb.arch/avr-flash-qualifer.c: New.
1162 * gdb.arch/avr-flash-qualifer.exp: New.
1163
1164 2014-07-14 Pedro Alves <palves@redhat.com>
1165
1166 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1167 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1168
1169 2014-07-14 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.base/double-prompt-target-event-error.c: New file.
1172 * gdb.base/double-prompt-target-event-error.exp: New file.
1173
1174 2014-07-14 Pedro Alves <palves@redhat.com>
1175
1176 PR gdb/17072
1177 * gdb.base/paginate-inferior-exit.c: New file.
1178 * gdb.base/paginate-inferior-exit.exp: New file.
1179
1180 2014-07-14 Pedro Alves <palves@redhat.com>
1181
1182 PR gdb/17072
1183 * gdb.base/paginate-bg-execution.c: New file.
1184 * gdb.base/paginate-bg-execution.exp: New file.
1185
1186 2014-07-14 Pedro Alves <palves@redhat.com>
1187
1188 PR gdb/17072
1189 * gdb.base/paginate-execution-startup.c: New file.
1190 * gdb.base/paginate-execution-startup.exp: New file.
1191 * lib/gdb.exp (pagination_prompt): New global.
1192 (default_gdb_spawn): New procedure, factored out from
1193 default_gdb_spawn.
1194 (default_gdb_start): Adjust to call default_gdb_spawn.
1195 (gdb_spawn): New procedure.
1196
1197 2014-07-14 Pedro Alves <palves@redhat.com>
1198
1199 * lib/gdb.exp (gdb_assert): New procedure.
1200 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1201
1202 2014-07-14 Pedro Alves <palves@redhat.com>
1203
1204 * gdb.base/execution-termios.c: New file.
1205 * gdb.base/execution-termios.exp: New file.
1206
1207 2014-07-14 Tom Tromey <tromey@redhat.com>
1208
1209 * gdb.cp/vla-cxx.cc: New file.
1210 * gdb.cp/vla-cxx.exp: New file.
1211
1212 2014-07-14 Tom Tromey <tromey@redhat.com>
1213
1214 * gdb.reverse/rerun-prec.c: New file.
1215 * gdb.reverse/rerun-prec.exp: New file.
1216
1217 2014-07-12 Maciej W. Rozycki <macro@mips.com>
1218 Maciej W. Rozycki <macro@codesourcery.com>
1219
1220 * lib/gdb-utils.exp: New file.
1221 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1222 inline `gdb_init_command' processing.
1223 (gdb_start_cmd): Likewise.
1224 * lib/mi-support.exp (mi_run_cmd): Likewise.
1225 * README: Document `gdb_init_command' and `gdb_init_commands'.
1226
1227 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1228
1229 Fix false FAIL running under a very long directory name.
1230 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1231 and "set print elements 10000". Twice.
1232
1233 2014-07-11 Yao Qi <yao@codesourcery.com>
1234
1235 * gdb.base/exprs.exp: "set print symbol off".
1236
1237 2014-07-11 Pedro Alves <palves@redhat.com>
1238
1239 * gdb.threads/kill.c: New file.
1240 * gdb.threads/kill.exp: New file.
1241
1242 2014-07-10 Yao Qi <yao@codesourcery.com>
1243
1244 * gdb.trace/tfile.c (write_basic_trace_file)
1245 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1246 address written to trace file.
1247
1248 2014-07-09 Pedro Alves <palves@redhat.com>
1249
1250 * gdb.base/attach-wait-input.exp: New file.
1251 * gdb.base/attach-wait-input.c: New file.
1252
1253 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1254
1255 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1256 setting up test structures.
1257 (main): Call new test function.
1258 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1259 test function, continue into test function and walk test
1260 structures.
1261
1262 2014-07-02 Yao Qi <yao@codesourcery.com>
1263
1264 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1265 'bar_start' at the beginning of functions 'foo' and 'bar'
1266 respectively.
1267 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1268 instead of 'foo' and 'bar'.
1269
1270 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1271
1272 * gdb.btrace/segv.exp: New.
1273 * gdb.btrace/segv.c: New.
1274
1275 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
1276
1277 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1278 instruction.
1279
1280 2014-06-30 Mark Wielaard <mjw@redhat.com>
1281
1282 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1283 vulture, vilify, villar): New volatile array constants.
1284 (vindictive, vegetation): New const volatile array constants.
1285 * gdb.base/volatile.exp: Test volatile and const volatile array
1286 types.
1287
1288 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1289
1290 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1291 target lacks support for awatch, rwatch, or hbreak.
1292
1293 2014-06-27 Yao Qi <yao@codesourcery.com>
1294
1295 * gdb.multi/dummy-frame-restore.exp: New.
1296 * gdb.multi/dummy-frame-restore.c: New.
1297
1298 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1299
1300 * gdb.btrace/gcore.exp: New.
1301
1302 2014-06-23 Pedro Alves <palves@redhat.com>
1303
1304 * gdb.base/watchpoint-reuse-slot.c: New file.
1305 * gdb.base/watchpoint-reuse-slot.exp: New file.
1306
1307 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1308
1309 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1310 progspace's filename in 'info', 'enable' and 'disable' command
1311 tests.
1312
1313 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1314
1315 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1316 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1317 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1318
1319 2014-06-20 Gary Benson <gbenson@redhat.com>
1320
1321 * gdb.arch/i386-avx.exp: Fix include file location.
1322 * gdb.arch/i386-sse.exp: Likewise.
1323
1324 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1325
1326 * gdb.dlang/expression.exp: New file.
1327
1328 2014-06-19 Pedro Alves <palves@redhat.com>
1329
1330 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1331 out from ...
1332 (top level): ... here. Iterate running tests under different
1333 scheduler-locking settings.
1334
1335 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
1336
1337 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1338 to DW_FORM_addr and use non-zero addresses.
1339
1340 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1341
1342 PR gdb/17017
1343 * gdb.python/py-xmethods.cc: Add global function call counters and
1344 increment them in their respective functions. Remove "cout"
1345 statements.
1346 * gdb.python/py-xmethods.exp: Make tests check the global function
1347 call counters instead of depending on inferior IO.
1348
1349 2014-06-18 Don Breazeal <donb@codesourcery.com>
1350
1351 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1352 Deleted procedure.
1353 (explicit_fork_parent_follow): Deleted procedure.
1354 (explicit_fork_child_follow): Deleted procedure.
1355 (test_follow_fork): New procedure.
1356 (do_fork_tests): Replace calls to deleted procedures with
1357 calls to test_follow_fork and reset GDB for subsequent
1358 procedure calls.
1359
1360 2014-06-17 Yao Qi <yao@codesourcery.com>
1361
1362 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1363 CP1252.
1364
1365 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
1366
1367 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1368 Initialize ptr and S explicitly.
1369 (skip_type_update_when_not_use_rtti_test): Likewise.
1370
1371 2014-06-16 Keith Seitz <keiths@redhat.com>
1372
1373 PR mi/15863
1374 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1375 the inferior is started.
1376
1377 2014-06-16 Pedro Alves <palves@redhat.com>
1378
1379 * gdb.base/break-main-file-remove-fail.c: New file.
1380 * gdb.base/break-main-file-remove-fail.exp: New file.
1381 * gdb.base/break-unload-file.exp: Use build_executable instead of
1382 prepare_for_testing.
1383 (test_break): New parameter "initial_load". Handle it.
1384 (top level): Add initial_load cmdline/file axis.
1385
1386 2014-06-12 Tom Tromey <tromey@redhat.com>
1387
1388 * gdb.base/completion.exp: Don't use directory name in test.
1389
1390 2014-06-09 Gary Benson <gbenson@redhat.com>
1391
1392 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1393 separate the always-available ANSI-standard signals from the
1394 signals that require checking.
1395 (main): Likewise.
1396 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1397 Likewise.
1398 (main): Likewise.
1399
1400 2014-06-07 Keith Seitz <keiths@redhat.com>
1401
1402 Revert:
1403 PR c++/16253
1404 * gdb.cp/var-tag.cc: New file.
1405 * gdb.cp/var-tag.exp: New file.
1406 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1407 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1408 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1409 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1410
1411 2014-06-06 Doug Evans <xdje42@gmail.com>
1412
1413 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1414
1415 2014-06-06 Pedro Alves <palves@redhat.com>
1416
1417 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1418 in target debug output instead of looking at RSP packets,
1419 disabling the test on any target that uses hardware stepping.
1420 Update comments.
1421
1422 2014-06-06 Pedro Alves <palves@redhat.com>
1423
1424 * gdb.base/break-unload-file.exp: Fix typo.
1425
1426 2014-06-06 Yao Qi <yao@codesourcery.com>
1427
1428 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1429 from "jit_function" to "^jit_function".
1430
1431 2014-06-06 Yao Qi <yao@codesourcery.com>
1432
1433 * gdb.base/async.c (foo): Add one statement.
1434 * gdb.base/async.exp: Get the next instruction address and
1435 match the output of "nexti" by instruction address. Match
1436 the hex address in the output of "finish".
1437
1438 2014-06-06 Gary Benson <gbenson@redhat.com>
1439
1440 * gdb.base/call-signals.c: Remove preprocessor conditionals
1441 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1442 SIGSEGV and SIGTERM.
1443 * gdb.base/sigall.c: Likewise.
1444 * gdb.base/unwindonsignal.c: Likewise.
1445 * gdb.reverse/sigall-reverse.c: Likewise.
1446
1447 2014-06-06 Yao Qi <yao@codesourcery.com>
1448
1449 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1450 readable, skip the test.
1451
1452 2014-06-06 Yao Qi <yao@codesourcery.com>
1453
1454 * gdb.threads/staticthreads.c (thread_function): Move the line
1455 setting breakpoint on forward.
1456 * gdb.threads/staticthreads.exp: Update comments.
1457
1458 2014-06-05 Ludovic Courtès <ludo@gnu.org>
1459
1460 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1461 "history-append! type error".
1462
1463 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1464
1465 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1466 erroneous dprintf expected input.
1467
1468 2014-06-04 Doug Evans <xdje42@gmail.com>
1469
1470 * gdb.guile/scm-generics.exp: Delete.
1471
1472 2014-06-04 Doug Evans <xdje42@gmail.com>
1473
1474 * gdb.guile/scm-breakpoint.exp: Update.
1475 Add tests for breakpoint registration.
1476
1477 2014-06-04 Tom Tromey <tromey@redhat.com>
1478
1479 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1480 VLA-in-union.
1481 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1482 inner_vla_struct, vla_union types. Initialize objects of those
1483 types and compute their sizes.
1484
1485 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1486 Hui Zhu <hui@codesourcery.com>
1487
1488 * gdb.base/fileio.exp: Add test for shell not available as well as
1489 available.
1490 * gdb.base/fileio.c (test_system): Check for shell twice.
1491
1492 2014-06-04 Yao Qi <yao@codesourcery.com>
1493
1494 * gdb.base/auto-connect-native-target.exp: Remove redundant
1495 space from the regexp pattern.
1496
1497 2014-06-04 Yao Qi <yao@codesourcery.com>
1498
1499 * gdb.base/default.exp: Replace "child" with "native" in
1500 regexp pattern.
1501
1502 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1503
1504 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1505 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1506 * gdb.python/py-xmethods.py: Python script supporting the
1507 new testcase and tests.
1508
1509 2014-06-03 Joel Brobecker <brobecker@adacore.com>
1510 Pedro Alves <palves@redhat.com>
1511
1512 PR breakpoints/17000
1513 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1514 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1515
1516 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1517
1518 * gdb.base/subst.exp: Add tests to verify partial path matching
1519 output.
1520
1521 2014-06-03 Pedro Alves <palves@redhat.com>
1522
1523 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1524 target that doesn't use software single-stepping.
1525
1526 2014-06-03 Pedro Alves <palves@redhat.com>
1527
1528 PR breakpoints/17000
1529 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1530 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1531
1532 2014-06-02 Doug Evans <xdje42@gmail.com>
1533
1534 * gdb.guile/scm-parameter.exp: New file.
1535
1536 2014-06-02 Doug Evans <xdje42@gmail.com>
1537
1538 * gdb.guile/scm-cmd.c: New file.
1539 * gdb.guile/scm-cmd.exp: New file.
1540
1541 2014-06-02 Doug Evans <xdje42@gmail.com>
1542
1543 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1544 pretty-printer lookup.
1545 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1546 (make-pp_s-printer): Call it.
1547 (make-pretty-printer-from-dict): New function.
1548 (lookup-pretty-printer-maker-from-dict): New function.
1549 (*pretty-printer*): Simplify.
1550 (make-objfile-pp_s-printer): New function.
1551 (install-objfile-pretty-printers!): New function.
1552 (make-progspace-pp_s-printer): New function.
1553 (install-progspace-pretty-printers!): New function.
1554 * gdb.guile/scm-progspace.c: New file.
1555 * gdb.guile/scm-progspace.exp: New file.
1556
1557 2014-06-02 Pedro Alves <palves@redhat.com>
1558
1559 * gdb.base/dprintf-bp-same-addr.c: New file.
1560 * gdb.base/dprintf-bp-same-addr.exp: New file.
1561
1562 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1563
1564 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1565 * gdb.arch/powerpc-power.s: Likewise.
1566
1567 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1568
1569 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1570
1571 2014-06-01 Yao Qi <yao@codesourcery.com>
1572
1573 * gdb.base/watchpoint.exp (test_watch_location): Check null
1574 pointer can be dereferenced. If not, do the test, otherwise
1575 skip it.
1576
1577 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1578
1579 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1580 results.
1581 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1582
1583 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1584
1585 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1586 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1587 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1588 * gdb.arch/amd64-invalid-stack-top.c: New file.
1589 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1590
1591 2014-05-30 Pedro Alves <palves@redhat.com>
1592
1593 PR breakpoints/17000
1594 * gdb.base/sss-bp-on-user-bp.c: New file.
1595 * gdb.base/sss-bp-on-user-bp.exp: New file.
1596
1597 2014-05-30 David Blaikie <dblaikie@gmail.com>
1598
1599 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1600 gnu_inline semantics via attribute.
1601 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1602 source explicitly specifies the required semantics.
1603
1604 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1605
1606 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1607
1608 2014-05-29 Pedro Alves <palves@redhat.com>
1609 Tom Tromey <tromey@redhat.com>
1610
1611 * gdb.base/async-shell.exp: Don't enable target-async.
1612 * gdb.base/async.exp
1613 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1614 parameter. Adjust.
1615 (top level): Don't test with "target-async".
1616 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1617 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1618 * gdb.base/inferior-died.exp: Don't enable target-async.
1619 * gdb.base/interrupt-noterm.exp: Likewise.
1620 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1621 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1622 * gdb.mi/mi-nonstop.exp: Likewise.
1623 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1624 * gdb.mi/mi-nsintrall.exp: Likewise.
1625 * gdb.mi/mi-nsmoribund.exp: Likewise.
1626 * gdb.mi/mi-nsthrexec.exp: Likewise.
1627 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1628 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1629 * gdb.python/py-evsignal.exp: Don't enable target-async.
1630 * gdb.python/py-evthreads.exp: Likewise.
1631 * gdb.python/py-prompt.exp: Likewise.
1632 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1633 * gdb.server/solib-list.exp: Don't enable target-async.
1634 * gdb.threads/thread-specific-bp.exp: Likewise.
1635 * lib/mi-support.exp: Adjust to use mi-async.
1636
1637 2014-05-29 Pedro Alves <palves@redhat.com>
1638
1639 PR gdb/13860
1640 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1641 reason, even in sync mode.
1642
1643 2014-05-29 Pedro Alves <palves@redhat.com>
1644 Hui Zhu <hui@codesourcery.com>
1645
1646 PR PR15693
1647 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1648 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1649 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1650 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1651
1652 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1653
1654 * config/monitor.exp (gdb_target_monitor): Replace use of
1655 "set remotebaud" by "set serial baud".
1656
1657 2014-05-26 Andy Wingo <wingo@igalia.com>
1658
1659 * gdb.guile/scm-breakpoint.exp:
1660 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1661 properties instead of gdb-object-properties.
1662
1663 2014-05-26 Yao Qi <yao@codesourcery.com>
1664
1665 * gdb.server/no-thread-db.exp: Specify source file name
1666 explicitly when setting a breakpoint.
1667
1668 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1669
1670 * gdb.btrace/vdso.c: New.
1671 * gdb.btrace/vdso.exp: New.
1672
1673 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1674
1675 * gdb.base/gcore.exp (capture_command_output): Move ...
1676 * lib/gdb.exp (capture_command_output): ... here.
1677
1678 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1679
1680 * gdb.btrace/data.exp: Test memory access during btrace replay.
1681
1682 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1683
1684 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1685
1686 2014-05-21 Pedro Alves <palves@redhat.com>
1687
1688 PR gdb/13860
1689 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1690 (top level): Test that output related to execution commands is
1691 sent to the console with CLI commands, but not with MI commands.
1692 Test that breakpoint events are always mirrored to the console.
1693 Also expect the new source line to be output after a "next" in
1694 async mode too. Make it a pass/fail test.
1695 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1696 output.
1697 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1698
1699 2014-05-21 Pedro Alves <palves@redhat.com>
1700
1701 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1702 Use them to test variations of "list" after reaching a breakpoint.
1703 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1704 Test "list" with listsize 10 after reaching a breakpoint.
1705 * gdb.python/python.exp (decode_line current location line
1706 number): Adjust expected line number.
1707
1708 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1709
1710 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1711 behavior for $args, pass it directly to "run".
1712
1713 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1714
1715 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1716 30000 to 65536.
1717
1718 2014-05-21 Pedro Alves <palves@redhat.com>
1719
1720 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1721 auto-connect-native-target off".
1722 * gdb.base/auto-connect-native-target.c: New file.
1723 * gdb.base/auto-connect-native-target.exp: New file.
1724
1725 2014-05-21 Pedro Alves <palves@redhat.com>
1726
1727 * gdb.base/default.exp: Test "target native" instead of "target
1728 child".
1729
1730 2014-05-21 Mark Wielaard <mjw@redhat.com>
1731
1732 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1733
1734 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1735
1736 Fix TLS access for -static -pthread.
1737 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1738 <HAVE_TLS> (thread_function, main): Initialize it.
1739 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1740 Add clean_restart.
1741 <$have_tls != "">: Check TLSVAR.
1742
1743 2014-05-21 Pedro Alves <palves@redhat.com>
1744
1745 * gdb.base/dcache-line-read-error.c: New.
1746 * gdb.base/dcache-line-read-error.exp: New.
1747
1748 2014-05-20 Pedro Alves <palves@redhat.com>
1749
1750 * gdb.base/compare-sections.c: New file.
1751 * gdb.base/compare-sections.exp: New file.
1752
1753 2014-05-20 Pedro Alves <palves@redhat.com>
1754
1755 * gdb.base/break-idempotent.c: New file.
1756 * gdb.base/break-idempotent.exp: New file.
1757
1758 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1759
1760 * gdb.btrace/nohist.exp: New.
1761
1762 2014-05-20 Yao Qi <yao@codesourcery.com>
1763
1764 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1765 gdb.reverse directory and gdb_reverse_timeout exists in board
1766 setting.
1767 * README: Document gdb_reverse_timeout.
1768
1769 2014-05-20 Yao Qi <yao@codesourcery.com>
1770
1771 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1772 'test_file_name'. Treat args as a string instead of a list.
1773 (gdb_init): Rename argument 'args' by 'test_file_name'.
1774
1775 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1776
1777 * gdb.arch/powerpc-power.exp: New file.
1778 * gdb.arch/powerpc-power.s: New file.
1779
1780 2014-05-16 Doug Evans <dje@google.com>
1781
1782 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1783 * gdb.base/completion.exp: Check that all expected files exist
1784 before doing file completion.
1785
1786 2014-05-16 Doug Evans <dje@google.com>
1787
1788 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1789 Update.
1790 (do_syscall_tests_without_xml): Update.
1791
1792 2014-05-16 Pedro Alves <palves@redhat.com>
1793
1794 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1795 instead of "unknown output after running".
1796
1797 2014-05-16 Yao Qi <yao@codesourcery.com>
1798
1799 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1800 file1.txt from host at the end.
1801 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1802
1803 2014-05-15 Doug Evans <dje@google.com>
1804
1805 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1806 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1807 loading file. Add test for TU lookup.
1808
1809 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1810
1811 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1812 calling "-exec-arguments" or "set args" before running the
1813 inferior.
1814
1815 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1816
1817 * lib/mi-support.exp (mi_expect_stop): Expect message for
1818 inferiors that exit with non-zero exit code.
1819
1820 2014-05-14 Yao Qi <yao@codesourcery.com>
1821
1822 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1823 match absolute path on remote host.
1824 (test_file_list_exec_source_files): Remove "/" from the
1825 pattern.
1826
1827 2014-05-14 Yao Qi <yao@codesourcery.com>
1828
1829 * boards/local-remote-host-notty.exp (${board}_file): New
1830 proc.
1831
1832 2014-05-07 Kyle McMartin <kyle@redhat.com>
1833
1834 Pushed by Joel Brobecker <brobecker@adacore.com>.
1835 * gdb.arch/aarch64-atomic-inst.c: New file.
1836 * gdb.arch/aarch64-atomic-inst.exp: New file.
1837
1838 2014-05-07 Yao Qi <yao@codesourcery.com>
1839
1840 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1841 in current context" too.
1842
1843 2014-05-05 Keith Seitz <keiths@redhat.com>
1844
1845 * gdb.linespec/ls-dollar.exp: Add test for linespec
1846 file:convenience_variable.
1847
1848 2014-05-05 Yao Qi <yao@codesourcery.com>
1849
1850 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1851 traceframes into tfile and ctf trace files. Read data from
1852 trace file and test collected data.
1853 (gdb_collect_locals_test): Likewise.
1854 (gdb_unavailable_registers_test): Likewise.
1855 (gdb_unavailable_floats): Likewise.
1856 (gdb_collect_globals_test): Likewise.
1857 (top-level): Append "ctf" to trace_file_targets if GDB
1858 supports.
1859
1860 2014-05-05 Yao Qi <yao@codesourcery.com>
1861
1862 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1863 code to ...
1864 (gdb_collect_args_test_1): ... it. New proc.
1865 (gdb_collect_locals_test): Move some code to ...
1866 (gdb_collect_locals_test_1): ... it. New proc.
1867 (gdb_unavailable_registers_test): Move some code to ...
1868 (gdb_unavailable_registers_test_1): ... it. New proc.
1869 (gdb_unavailable_floats): Move some code to ...
1870 (gdb_unavailable_floats_1): ... it. New proc.
1871
1872 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1873
1874 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1875 probes to test for bitness recognition.
1876 * gdb.arch/amd64-stap-optional-prefix.exp
1877 (test_probe_value_without_reg): New procedure.
1878 Add code to test for different kinds of bitness.
1879
1880 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1881
1882 PR breakpoints/16889
1883 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1884 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1885
1886 2014-05-01 Pedro Alves <palves@redhat.com>
1887
1888 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1889 gdb_file_cmd if no file is specified.
1890 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1891 last_loaded_file to set the remote exec-file.
1892
1893 2014-05-01 Pedro Alves <palves@redhat.com>
1894
1895 * boards/local-remote-host.exp: New file.
1896
1897 2014-05-01 Pedro Alves <palves@redhat.com>
1898
1899 * boards/local-remote-host.exp: Rename to ...
1900 * boards/local-remote-host-notty.exp: ... this.
1901
1902 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1903
1904 * gdb.ada/dyn_arrayidx: New testcase.
1905
1906 2014-04-26 Yao Qi <yao@codesourcery.com>
1907
1908 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1909 and compute the length of function main. Save it in
1910 $main_length.
1911 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1912 (top-level): Use gdb_compile to compile objects into
1913 executable and restart GDB. Remove invocation to
1914 prepare_for_testing.
1915
1916 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1917 Pedro Alves <palves@redhat.com>
1918
1919 PR server/16255
1920 * gdb.multi/multi-attach.c: New file.
1921 * gdb.multi/multi-attach.exp: New file.
1922
1923 2014-04-25 Pedro Alves <palves@redhat.com>
1924
1925 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1926 user.
1927 (top level): Test that "set remote conditional-breakpoints-packet
1928 off" works as intended.
1929 * gdb.base/dprintf.exp: Test that "set remote
1930 breakpoint-commands-packet off" works as intended.
1931 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1932 New function.
1933 (top level): Call it.
1934 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1935 remote fast-tracepoints-packet off" works as intended.
1936 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1937 * lib/gdb.exp (gdb_is_target_remote): ... here.
1938
1939 2014-04-24 David Blaikie <dblaikie@gmail.com>
1940
1941 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1942 ensure clang would not discard them.
1943 * gdb.base/gdbvars.c: Ditto.
1944 * gdb.base/memattr.c: Ditto.
1945 * gdb.base/whatis.c: Ditto.
1946 * gdb.python/py-prettyprint.c: Ditto.
1947 * gdb.trace/actions.c: Ditto.
1948 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1949 ensure clang would not discard it.
1950
1951 2014-04-24 David Blaikie <dblaikie@gmail.com>
1952
1953 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1954 clang to emit the full definition of type required by the test
1955 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1956
1957 2014-04-24 David Blaikie <dblaikie@gmail.com>
1958
1959 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1960 coax Clang into emitting the definition of the type.
1961 * gdb.cp/pr10728-x.h (y): Ditto.
1962 * gdb.cp/pr10728-y.cc (y): Ditto.
1963
1964 2014-04-24 David Blaikie <dblaikie@gmail.com>
1965
1966 * gdb.base/label.exp: XFAIL label related tests under Clang.
1967 * gdb.cp/cplabel.exp: Ditto.
1968 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1969 under Clang those using labels.
1970
1971 2014-04-25 Yao Qi <yao@codesourcery.com>
1972
1973 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1974 double_label.
1975 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1976 partial_label and double_label.
1977
1978 2014-04-24 David Blaikie <dblaikie@gmail.com>
1979
1980 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1981
1982 2014-04-24 David Blaikie <dblaikie@gmail.com>
1983
1984 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1985 of the function to work across GCC and Clang.
1986 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1987 pointer types (const void ** const V void **).
1988
1989 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1990 Walfred Tedeschi <walfred.tedeschi@intel.com>
1991
1992 * Makefile.in (EXECUTABLES): Added i386-avx512.
1993 * gdb.arch/i386-avx512.c: New file.
1994 * gdb.arch/i386-avx512.exp: Likewise.
1995
1996 2014-04-23 Keith Seitz <keiths@redhat.com>
1997
1998 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1999 (mi_make_breakpoint_table): New procedure.
2000 (mi_create_breakpoint): Use mi_make_breakpoint
2001 and return the result.
2002 (mi_make_breakpoint): New procedure.
2003 (mi_build_kv_pairs): New procedure.
2004
2005 * gdb.mi/mi-break.exp: Remove unused globals,
2006 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
2007 All callers updated.
2008 * gdb.mi/mi-dprintf.exp: Use variable to track command
2009 number.
2010 Update all callers of mi_create_breakpoint and use
2011 mi_make_breakpoint_table.
2012 Remove any unused global variables.
2013 * gdb.mi/mi-nonstop.exp: Likewise.
2014 * gdb.mi/mi-nsintrall.exp: Likewise.
2015 * gdb.mi/mi-nsmoribund.exp: Likewise.
2016 * gdb.mi/mi-nsthrexec.exp: Likewise.
2017 * gdb.mi/mi-reverse.exp: Likewise.
2018 * gdb.mi/mi-simplerun.exp: Likewise.
2019 * gdb.mi/mi-stepn.exp: Likewise.
2020 * gdb.mi/mi-syn-frame.exp: Likewise.
2021 * gdb.mi/mi-until.exp: Likewise.
2022 * gdb.mi/mi-var-cp.exp: Likewise.
2023 * gdb.mi/mi-var-display.exp: Likewise.
2024 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
2025 * gdb.mi/mi2-var-child.exp: Likewise.
2026 * gdb.mi/mi-vla-c99.exp: Likewise.
2027 * lib/mi-support.exp: Likewise.
2028
2029 From Ian Lance Taylor <iant@cygnus.com>:
2030 * lib/gdb.exp (parse_args): New procedure.
2031
2032 2014-04-23 Pedro Alves <palves@redhat.com>
2033
2034 * gdb.base/break-unload-file.c: New file.
2035 * gdb.base/break-unload-file.exp: New file.
2036 * gdb.base/sym-file-lib.c (baz): New function.
2037 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
2038 field.
2039 (load): Store the segment's mapped size.
2040 (unload): New function.
2041 (unload_shlib): New function.
2042 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
2043 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
2044 set a breakpoint at baz, and call it.
2045 * gdb.base/sym-file.exp: New tests for stale breakpoint
2046 instructions.
2047
2048 2014-04-23 Pedro Alves <palves@redhat.com>
2049
2050 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
2051 * gdb.base/hbreak-in-shr-unsupported.c: New file.
2052 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
2053 * gdb.base/hbreak-unmapped.c: New file.
2054 * gdb.base/hbreak-unmapped.exp: New file.
2055 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
2056 * lib/gdb.exp (gdb_is_target_remote): ... here.
2057
2058 2014-04-22 Pedro Alves <palves@redhat.com>
2059
2060 * gdb.base/consecutive-step-over.c: New file.
2061 * gdb.base/consecutive-step-over.exp: New file.
2062
2063 2014-04-22 Pedro Alves <palves@redhat.com>
2064
2065 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
2066 instead of send_gdb/gdb_expect.
2067
2068 2014-04-22 Yao Qi <yao@codesourcery.com>
2069
2070 * lib/trace-support.exp (generate_tracefile): New procedure.
2071 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
2072 return 0.
2073 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
2074 if generate_tracefile returns 1.
2075
2076 2014-04-18 Tom Tromey <palves@redhat.com>
2077 Pedro alves <tromey@redhat.com>
2078
2079 PR backtrace/15558
2080 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
2081 with a backtrace limit.
2082 * gdb.python/py-frame-inline.exp: Test running to an inline
2083 function with a backtrace limit, and printing the newest frame.
2084 * gdb.python/py-frame-inline.c (main): Call f.
2085
2086 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2087
2088 * gdb.java/jnpe.exp: Drop srcdir from untested path.
2089
2090 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
2091
2092 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
2093 Drop prefix from unsupported source file path.
2094
2095 2014-04-17 Yao Qi <yao@codesourcery.com>
2096
2097 * lib/gdb.exp (with_target_charset): New proc.
2098 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
2099 with_target_charset.
2100 (test_print_strings): Likewise.
2101 (test_repeat_bytes): Likewise.
2102 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
2103 for some tests.
2104
2105 2014-04-16 Keith Seitz <keiths@redhat.com>
2106
2107 PR gdb/15827
2108 * gdb.dwarf2/corrupt.c: New file.
2109 * gdb.dwarf2/corrupt.exp: New file.
2110
2111 2014-04-16 Keith Seitz <keiths@redhat.com>
2112
2113 PR c++/16597
2114 * gdb.cp/namelessclass.cc: New file.
2115 * gdb.cp/namelessclass.exp: New file.
2116 * gdb.cp/namelessclass.S: New file.
2117
2118 2014-04-16 Doug Evans <dje@google.com>
2119
2120 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
2121 Add comment.
2122 (gdbserver_default_get_comm_port): New function.
2123 (gdbserver_start): Check if board file provided
2124 "gdbserver,get_comm_port" and use it if so.
2125 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
2126 (gdb,socketport): Set to "stdio".
2127 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
2128 (stdio_gdbserver_template): Delete.
2129 (${board}_get_remote_address): Update.
2130 (${board}_build_remote_cmd): Delete.
2131 (${board}_get_comm_port): New function.
2132 (${board}_spawn): Update.
2133 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
2134 Delete.
2135 (${board}_get_remote_address): Update.
2136 (${board}_get_comm_port): New function.
2137
2138 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
2139
2140 * gdb.base/memattr.exp: Improve regexps to handle memory regions
2141 appearing in any order.
2142
2143 2014-04-15 Doug Evans <dje@google.com>
2144
2145 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
2146 uninitialized value of "description".
2147
2148 2014-04-15 Keith Seitz <keiths@redhat.com>
2149
2150 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
2151 Remove unused globals.
2152 (test_running_the_program): Likewise.
2153 (test_controlled_execution): Likewise.
2154 (test_controlling_breakpoints): Likewise.
2155 (test_program_termination): Likewise.
2156
2157 2014-04-15 Keith Seitz <keiths@redhat.com>
2158
2159 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2160 unused globals.
2161 (test_rbreak_creation_and_listing): Likewise.
2162 (test_ignore_count): Likewise.
2163 (test_error): Likewise.
2164
2165 2014-04-15 Pedro Alves <palves@redhat.com>
2166
2167 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2168 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2169 sym-file-loader.c.
2170 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2171 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2172 to sym-file-loader.c.
2173 (struct library): Forward declare.
2174 (load_shlib, lookup_function): Change prototypes.
2175 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2176 (translate_offset): Remove declarations.
2177 (get_text_addr): New declaration.
2178 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2179 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2180 sym-file-loader.h.
2181 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2182 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2183 here from sym-file-loader.h.
2184 (struct library): New structure.
2185 (load_shlib, lookup_function): Change prototypes and adjust to
2186 work with a struct library.
2187 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2188 (translate_offset): Make static.
2189 (get_text_addr): New function.
2190 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2191
2192 2014-04-15 Pedro Alves <palves@redhat.com>
2193
2194 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2195
2196 2014-04-15 Pedro Alves <palves@redhat.com>
2197
2198 * gdb.base/sym-file-loader.c: Include <limits.h>.
2199 (SELF_LINK): New define.
2200 (get_origin): New function.
2201 (load_shlib): Use it.
2202 * gdb.base/sym-file.exp: Don't early return if the target is
2203 remote. Use runto_main, and issue fail is that fails. Use
2204 gdb_load_shlibs.
2205 (shlib_name): Delete.
2206 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2207
2208 2014-04-15 Pedro Alves <palves@redhat.com>
2209
2210 * gdb.base/sym-file.exp: Remove regex characters from test
2211 message. Don't refer to breakpoint numbers in test messages.
2212
2213 2014-04-14 Keith Seitz <keiths@redhat.com>
2214
2215 PR c++/16253
2216 * gdb.cp/var-tag.cc: New file.
2217 * gdb.cp/var-tag.exp: New file.
2218 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2219 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2220 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2221 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2222
2223 2014-04-14 Tom Tromey <tromey@redhat.com>
2224
2225 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2226 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2227 type.
2228 * gdb.cp/enum-class.exp: New file.
2229 * gdb.cp/enum-class.cc: New file.
2230
2231 2014-04-14 Tom Tromey <tromey@redhat.com>
2232
2233 * gdb.dwarf2/enum-type.exp: New file.
2234
2235 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2236
2237 * gdb.mi/mi-vla-c99.exp: New file.
2238 * gdb.mi/vla.c: New file.
2239
2240 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2241
2242 * gdb.base/vla-datatypes.c: New file.
2243 * gdb.base/vla-datatypes.exp: New file.
2244
2245 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2246
2247 * gdb.base/vla-ptr.c: New file.
2248 * gdb.base/vla-ptr.exp: New file.
2249
2250 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2251
2252 * gdb.dwarf2/count.exp: New file.
2253
2254 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2255
2256 * gdb.base/vla-sideeffect.c: New file.
2257 * gdb.base/vla-sideeffect.exp: New file.
2258
2259 2014-04-14 David Blaikie <dblaikie@gmail.com>
2260
2261 * gdb.mi/non-stop.c: Add return value for non-void function return
2262 statement.
2263 * gdb.threads/staticthreads.c: Ditto.
2264
2265 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2266 Doug Evans <xdje42@gmail.com>
2267
2268 * gdb.guile/scm-value.c: Improve test case.
2269 * gdb.guile/scm-value.exp: Add new test.
2270
2271 2014-04-11 David Blaikie <dblaikie@gmail.com>
2272
2273 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2274 override Clang's default.
2275
2276 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2277
2278 Revert the following changes (regressions):
2279
2280 * gdb.base/vla-sideeffect.c: New file.
2281 * gdb.base/vla-sideeffect.exp: New file.
2282
2283 * gdb.dwarf2/count.exp: New file.
2284
2285 * gdb.base/vla-multi.c: New file.
2286 * gdb.base/vla-multi.exp: New file.
2287
2288 * gdb.base/vla-ptr.c: New file.
2289 * gdb.base/vla-ptr.exp: New file.
2290
2291 * gdb.base/vla-datatypes.c: New file.
2292 * gdb.base/vla-datatypes.exp: New file.
2293
2294 * gdb.mi/mi-vla-c99.exp: New file.
2295 * gdb.mi/vla.c: New file.
2296
2297 2014-04-11 Keith Seitz <keiths@redhat.com>
2298
2299 PR c++/16675
2300 * gdb.cp/cpsizeof.exp: New file.
2301 * gdb.cp/cpsizeof.cc: New file.
2302
2303 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2304
2305 * gdb.mi/mi-vla-c99.exp: New file.
2306 * gdb.mi/vla.c: New file.
2307
2308 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2309
2310 * gdb.base/vla-datatypes.c: New file.
2311 * gdb.base/vla-datatypes.exp: New file.
2312
2313 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2314
2315 * gdb.base/vla-ptr.c: New file.
2316 * gdb.base/vla-ptr.exp: New file.
2317
2318 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2319
2320 * gdb.base/vla-multi.c: New file.
2321 * gdb.base/vla-multi.exp: New file.
2322
2323 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2324
2325 * gdb.dwarf2/count.exp: New file.
2326
2327 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2328
2329 * gdb.base/vla-sideeffect.c: New file.
2330 * gdb.base/vla-sideeffect.exp: New file.
2331
2332 2014-04-11 Yao Qi <yao@codesourcery.com>
2333
2334 * gdb.base/completion.exp: Check file exists before running tests
2335 on file completion.
2336
2337 2014-04-10 Pedro Alves <palves@redhat.com>
2338
2339 * gdb.base/cond-eval-mode.c: New file.
2340 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2341 prepare_for_testing to build the new file. Check result of
2342 runto_main.
2343 (test_break, test_watch): New procedures.
2344 (top level): Use them.
2345
2346 2014-04-08 Pierre Muller <muller@sourceware.org>
2347
2348 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2349 Ctrl-V use for mingw hosts.
2350
2351 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2352
2353 * gdb.python/py-value.c: Improve test case.
2354 * gdb.python/py-value.exp: Add new test.
2355
2356 2014-04-07 David Blaikie <dblaikie@gmail.com>
2357
2358 * lib/compiler.c: Identify the clang compiler.
2359 * lib/compiler.cc: Ditto.
2360
2361 2014-04-03 Yao Qi <yao@codesourcery.com>
2362
2363 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2364
2365 2014-04-01 Anton Blanchard <anton@samba.org>
2366
2367 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2368 messages unique.
2369
2370 2014-04-01 Anton Blanchard <anton@samba.org>
2371
2372 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2373 prepare_for_testing.
2374
2375 2014-04-01 Anton Blanchard <anton@samba.org>
2376
2377 * gdb.arch/ppc64-atomic-inst.c: Remove.
2378 * gdb.arch/ppc64-atomic-inst.S: New file.
2379 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2380
2381 2014-03-31 Doug Evans <dje@google.com>
2382
2383 * gdb.base/print-symbol-loading-lib.c: New file.
2384 * gdb.base/print-symbol-loading-main.c: New file.
2385 * gdb.base/print-symbol-loading.exp: New file.
2386
2387 2014-03-31 Yao Qi <yao@codesourcery.com>
2388
2389 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2390
2391 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2392
2393 * gdb.ada/mi_dyn_arr: New testcase.
2394
2395 2014-03-27 Doug Evans <dje@google.com>
2396
2397 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2398
2399 2014-03-27 Yao Qi <yao@codesourcery.com>
2400
2401 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2402 if target is nios2-*-*.
2403
2404 2014-03-26 Yao Qi <yao@codesourcery.com>
2405
2406 * lib/gdb.exp (readline_is_used): New proc.
2407 * gdb.base/completion.exp: Move tests on command complete up.
2408 Skip the rest of tests if readline is not used.
2409 * gdb.ada/complete.exp: Skp the test if readline is not
2410 used.
2411 * gdb.base/filesym.exp: Likewise.
2412 * gdb.base/macscp.exp: Likewise.
2413 * gdb.base/readline-ask.exp: Likewise.
2414 * gdb.base/readline.exp: Likewise.
2415 * gdb.python/py-cmd.exp: Likewise.
2416 * gdb.trace/tfile.exp: Likewise.
2417
2418 2014-03-26 Yao Qi <yao@codesourcery.com>
2419
2420 * gdb.base/macscp.exp: Fix code format issues.
2421
2422 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2423
2424 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2425 * gdb.asm/powerpc64le.inc: New file.
2426
2427 2014-03-25 Pedro Alves <palves@redhat.com>
2428 Doug Evans <dje@google.com>
2429
2430 * gdb.base/source-execution.c: New file.
2431 * gdb.base/source-execution.exp: New file.
2432 * gdb.base/source-execution.gdb: New file.
2433
2434 2014-03-24 Doug Evans <dje@google.com>
2435
2436 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2437 using fission.
2438
2439 2014-03-24 Hui Zhu <hui@codesourcery.com>
2440 Pedro Alves <palves@redhat.com>
2441
2442 PR breakpoints/16101
2443 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2444 test pass/fail messages. Detect missing support for dprintf when
2445 breakpoints are actually inserted.
2446 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2447 breakpoints are actually inserted.
2448 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2449 fails.
2450
2451 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2452
2453 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2454
2455 2014-03-22 Doug Evans <xdje42@gmail.com>
2456
2457 * gdb.python/python.exp (python not supported): Verify multi-line
2458 python command issues an error.
2459 * gdb.guile/guile.exp (guile not supported): Verify multi-line
2460 guile command issues an error.
2461
2462 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2463
2464 * gdb.threads/thread-specific.exp: Handle the lack of usable
2465 $this_breakpoint and $this_thread.
2466
2467 2014-03-21 Hui Zhu <hui@codesourcery.com>
2468
2469 * gdb.base/attach.exp (do_command_attach_tests): New.
2470
2471 2014-03-20 Tom Tromey <tromey@redhat.com>
2472 Pedro Alves <palves@redhat.com>
2473
2474 PR cli/15718
2475 * gdb.base/condbreak-call-false.c: New file.
2476 * gdb.base/condbreak-call-false.exp: New file.
2477
2478 2014-03-20 Pedro Alves <palves@redhat.com>
2479
2480 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2481 Delete.
2482 (block_signals, unblock_signals): Delete.
2483 (child_function_2, main): Remove references to deleted variable
2484 and functions.
2485
2486 2014-03-20 Pedro Alves <palves@redhat.com>
2487
2488 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2489 Use pthread_kill to signal thread 2.
2490 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2491 Adjust to make the test send itself a signal rather than using the
2492 host's "kill" command.
2493
2494 2014-03-20 Pedro Alves <palves@redhat.com>
2495
2496 * gdb.threads/multiple-step-overs.c: New file.
2497 * gdb.threads/multiple-step-overs.exp: New file.
2498 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2499 Adjust expected infrun debug output.
2500
2501 2014-03-20 Pedro Alves <palves@redhat.com>
2502
2503 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2504 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2505
2506 2014-03-20 Pedro Alves <palves@redhat.com>
2507
2508 PR breakpoints/7143
2509 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2510 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2511 of gdb_test_multiple.
2512 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2513 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2514
2515 2014-03-20 Pedro Alves <palves@redhat.com>
2516
2517 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2518 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2519
2520 2014-03-19 Pedro Alves <palves@redhat.com>
2521
2522 * gdb.base/async.exp: Remove early return.
2523
2524 2014-03-19 Pedro Alves <palves@redhat.com>
2525
2526 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2527
2528 2014-03-19 Pedro Alves <palves@redhat.com>
2529
2530 * gdb.base/async.exp (test_background): Expect \r\n after
2531 "completed." in the fail pattern.
2532
2533 2014-03-19 Pedro Alves <palves@redhat.com>
2534
2535 * gdb.base/async.exp (test_background): New procedure.
2536 Use it for all background execution command tests.
2537
2538 2014-03-19 Pedro Alves <palves@redhat.com>
2539
2540 * gdb.base/async.exp: Use prepare_for_testing.
2541
2542 2014-03-19 Pedro Alves <palves@redhat.com>
2543
2544 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2545 the same line.
2546
2547 2014-03-19 Pedro Alves <palves@redhat.com>
2548
2549 * gdb.base/async.c (main): Add "jump here" and "until here" line
2550 marker comments.
2551 * gdb.base/async.exp (jump_here): New global.
2552 (jump& test): Use it.
2553 (until_here): New global.
2554 (until& test): Use it.
2555
2556 2014-03-19 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.base/async.exp: Don't frob gdb_protocol.
2559
2560 2014-03-18 Doug Evans <xdje42@gmail.com>
2561
2562 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2563 Fix spelling of exec-done-display.
2564
2565 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2566
2567 PR gdb/15358
2568 * gdb.base/gdb-sigterm.c: New file.
2569 * gdb.base/gdb-sigterm.exp: New file.
2570
2571 2014-03-18 Pedro Alves <palves@redhat.com>
2572
2573 PR gdb/13860
2574 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2575 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2576 solib-event.
2577
2578 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2579
2580 * gdb.ada/pckd_arr_ren: New testcase.
2581
2582 2014-03-13 Doug Evans <xdje42@gmail.com>
2583
2584 PR guile/16612
2585 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2586 collect after discarding symbols.
2587
2588 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2589 Doug Evans <xdje42@gmail.com>
2590
2591 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2592 to history survives a gc.
2593
2594 2014-03-13 Pedro Alves <palves@redhat.com>
2595
2596 * gdb.base/default.exp: Don't test "target procfs".
2597
2598 2014-03-13 Pedro Alves <palves@redhat.com>
2599
2600 * gdb.base/default.exp: Update "target child" and "target procfs"
2601 tests to not expect "Unix".
2602
2603 2014-03-12 Tom Tromey <tromey@redhat.com>
2604
2605 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2606 New procs. Add target-async tests.
2607 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2608 Add target-async tests.
2609
2610 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2611
2612 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2613 'func_start' and 'func_end' for the beginning and end of the
2614 function code, respectively.
2615 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2616 'func_end' instead of 'func' and 'main'.
2617
2618 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2619
2620 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2621 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2622 generate the debug info assembler source.
2623
2624 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2625
2626 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2627 * gdb.dwarf2/arr-subrange.exp: Likewise.
2628 * gdb.dwarf2/dwz.exp: Likewise.
2629 * gdb.dwarf2/method-ptr.exp: Likewise.
2630 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2631 * gdb.dwarf2/subrange.exp: Likewise.
2632 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2633 * gdb.dwarf2/implptrpiece.exp: Likewise.
2634 * gdb.dwarf2/nostaticblock.exp: Likewise.
2635
2636 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2637
2638 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2639 directory to absolute path name arguments.
2640
2641 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2642
2643 * gdb.ada/tagged_access: New testcase.
2644
2645 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2646
2647 * gdb.btrace/data.exp: Update expected output.
2648
2649 2014-03-06 Yao Qi <yao@codesourcery.com>
2650
2651 * gdb.trace/pr16508.exp: New file.
2652
2653 2014-03-05 Pedro Alves <palves@redhat.com>
2654
2655 PR gdb/16575
2656 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2657 procedure.
2658 (top level): Adjust to use it. Add tests that exercise breakpoint
2659 interaction with the code-cache.
2660
2661 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2662
2663 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2664 test for 'history-append!'.
2665
2666 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2667
2668 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2669 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2670 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2671 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2672 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2673 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2674
2675 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2676
2677 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2678 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2679 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2680
2681 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2682
2683 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2684
2685 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2686
2687 * gdb.dwarf2/arr-stride.c: New file.
2688 * gdb.dwarf2/arr-stride.exp: New file.
2689
2690 2014-02-26 Pedro Alves <palves@redhat.com>
2691
2692 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2693 that won't ever trigger. Make sure that GDB reports the correct
2694 breakpoint that caused the stop.
2695
2696 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2697
2698 PR gdb/16626
2699 * gdb.base/auto-load-script: New file.
2700 * gdb.base/auto-load.c: New file.
2701 * gdb.base/auto-load.exp: New file.
2702
2703 PR gdb/16626
2704 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2705
2706 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2707
2708 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2709 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2710
2711 2014-02-24 Doug Evans <dje@google.com>
2712
2713 * lib/gdb.exp (run_on_host): Log error output if program fails.
2714
2715 2014-02-21 Pedro Alves <palves@redhat.com>
2716
2717 * gdb.threads/step-after-sr-lock.c: Rename to ...
2718 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2719 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2720 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2721 ... this.
2722
2723 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2724
2725 PR tdep/16397
2726 * gdb.arch/amd64-stap-special-operands.exp: New file.
2727 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2728 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2729 * gdb.arch/amd64-stap-triplet.S: Likewise.
2730 * gdb.arch/amd64-stap-triplet.c: Likewise.
2731
2732 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2733
2734 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2735 in .section pseudo-op.
2736
2737 2014-02-20 lin zuojian <manjian2006@gmail.com>
2738 Joel Brobecker <brobecker@adacore.com>
2739 Doug Evans <xdje42@gmail.com>
2740
2741 PR symtab/16581
2742 * gdb.dwarf2/dw2-icycle.S: New file.
2743 * gdb.dwarf2/dw2-icycle.c: New file.
2744 * gdb.dwarf2/dw2-icycle.exp: New file.
2745
2746 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2747
2748 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2749 operations on gdb.Value objects.
2750 * gdb.python/py-value-cc.exp: Add new test to test operations on
2751 gdb.Value objects.
2752
2753 2014-02-18 Doug Evans <dje@google.com>
2754
2755 * Makefile.in (TESTS): New variable.
2756 (expanded_tests, expanded_tests_or_none): New variables
2757 (check-single): Pass $(expanded_tests_or_none) to runtest.
2758 (check-parallel): Only run tests in $(TESTS) if non-empty.
2759 (check/no-matching-tests-found): New rule.
2760 * README: Document TESTS makefile variable.
2761
2762 2014-02-18 Doug Evans <dje@google.com>
2763
2764 * Makefile.in (check-parallel): rm -rf outputs temp.
2765
2766 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2767
2768 Fix "ERROR: no fileid for" in the testsuite.
2769 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2770
2771 2014-02-12 Doug Evans <dje@google.com>
2772
2773 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2774 (MISCELLANEOUS): New variable.
2775 (clean): rm -rf $(MISCELLANEOUS).
2776 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2777 dwp live in the same directory as symlinks, with each symlink pointed
2778 to a differently named file in a different directory.
2779
2780 2014-02-11 Doug Evans <dje@google.com>
2781
2782 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2783 of Tcl file commands.
2784
2785 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2786
2787 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2788 "kill -SIGUSR1 -1".
2789
2790 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2791
2792 * gdb.ada/tick_length_array_enum_idx: New testcase.
2793
2794 2014-02-10 Doug Evans <xdje42@gmail.com>
2795
2796 * configure.ac (AC_OUTPUT): Add gdb.guile.
2797 * configure: Regenerate.
2798 * lib/gdb-guile.exp: New file.
2799 * lib/gdb.exp (get_target_charset): New function.
2800 * gdb.base/help.exp: Update expected output from "apropos apropos".
2801 * gdb.guile/Makefile.in: New file.
2802 * gdb.guile/guile.exp: New file.
2803 * gdb.guile/scm-arch.c: New file.
2804 * gdb.guile/scm-arch.exp: New file.
2805 * gdb.guile/scm-block.c: New file.
2806 * gdb.guile/scm-block.exp: New file.
2807 * gdb.guile/scm-breakpoint.c: New file.
2808 * gdb.guile/scm-breakpoint.exp: New file.
2809 * gdb.guile/scm-disasm.c: New file.
2810 * gdb.guile/scm-disasm.exp: New file.
2811 * gdb.guile/scm-equal.c: New file.
2812 * gdb.guile/scm-equal.exp: New file.
2813 * gdb.guile/scm-error.exp: New file.
2814 * gdb.guile/scm-error.scm: New file.
2815 * gdb.guile/scm-frame-args.c: New file.
2816 * gdb.guile/scm-frame-args.exp: New file.
2817 * gdb.guile/scm-frame-args.scm: New file.
2818 * gdb.guile/scm-frame-inline.c: New file.
2819 * gdb.guile/scm-frame-inline.exp: New file.
2820 * gdb.guile/scm-frame.c: New file.
2821 * gdb.guile/scm-frame.exp: New file.
2822 * gdb.guile/scm-generics.exp: New file.
2823 * gdb.guile/scm-gsmob.exp: New file.
2824 * gdb.guile/scm-iterator.c: New file.
2825 * gdb.guile/scm-iterator.exp: New file.
2826 * gdb.guile/scm-math.c: New file.
2827 * gdb.guile/scm-math.exp: New file.
2828 * gdb.guile/scm-objfile-script-gdb.in: New file.
2829 * gdb.guile/scm-objfile-script.c: New file.
2830 * gdb.guile/scm-objfile-script.exp: New file.
2831 * gdb.guile/scm-objfile.c: New file.
2832 * gdb.guile/scm-objfile.exp: New file.
2833 * gdb.guile/scm-ports.exp: New file.
2834 * gdb.guile/scm-pretty-print.c: New file.
2835 * gdb.guile/scm-pretty-print.exp: New file.
2836 * gdb.guile/scm-pretty-print.scm: New file.
2837 * gdb.guile/scm-section-script.c: New file.
2838 * gdb.guile/scm-section-script.exp: New file.
2839 * gdb.guile/scm-section-script.scm: New file.
2840 * gdb.guile/scm-symbol.c: New file.
2841 * gdb.guile/scm-symbol.exp: New file.
2842 * gdb.guile/scm-symtab-2.c: New file.
2843 * gdb.guile/scm-symtab.c: New file.
2844 * gdb.guile/scm-symtab.exp: New file.
2845 * gdb.guile/scm-type.c: New file.
2846 * gdb.guile/scm-type.exp: New file.
2847 * gdb.guile/scm-value-cc.cc: New file.
2848 * gdb.guile/scm-value-cc.exp: New file.
2849 * gdb.guile/scm-value.c: New file.
2850 * gdb.guile/scm-value.exp: New file.
2851 * gdb.guile/source2.scm: New file.
2852 * gdb.guile/types-module.cc: New file.
2853 * gdb.guile/types-module.exp: New file.
2854
2855 2014-02-10 Yao Qi <yao@codesourcery.com>
2856
2857 PR testsuite/16543
2858 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2859 * configure: Regenerated.
2860 * Makefile.in: New file.
2861
2862 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2863
2864 * gdb.python/py-framefilter.exp: Fix typo.
2865
2866 2014-02-08 Yao Qi <yao@codesourcery.com>
2867
2868 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2869 that no =breakpoint-modified is emitted when breakpoints are
2870 modified through MI commands.
2871
2872 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2873 Pedro Alves <palves@redhat.com>
2874
2875 * gdb.threads/step-after-sr-lock.c: New file.
2876 * gdb.threads/step-after-sr-lock.exp: New file.
2877
2878 2014-02-07 Pedro Alves <palves@redhat.com>
2879
2880 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2881
2882 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2883
2884 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2885 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2886
2887 2014-02-06 Doug Evans <xdje42@gmail.com>
2888
2889 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2890 output.
2891
2892 * gdb.gdb/python-interrupts.exp: New file.
2893
2894 2014-02-05 Yao Qi <yao@codesourcery.com>
2895
2896 * gdb.trace/report.exp (use_collected_data): Test the output
2897 of "info threads" and "info inferiors".
2898
2899 2014-02-05 Yao Qi <yao@codesourcery.com>
2900
2901 Revert this patch:
2902
2903 2013-05-24 Yao Qi <yao@codesourcery.com>
2904
2905 * gdb.trace/tfile.exp: Test inferior and thread.
2906
2907 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2908
2909 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2910 on a function.
2911 * gdb.base/step-bt.c: Call hello via function pointer to make
2912 sure its first instruction is executed on powerpc64le-linux.
2913
2914 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2915
2916 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2917
2918 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2919
2920 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2921 of the test patterns for use on little-endian systems.
2922
2923 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2924
2925 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2926 (decimal_vector): Fix for little-endian.
2927
2928 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2929
2930 * gdb.arch/sparc-sysstep.exp: New file.
2931 * gdb.arch/sparc-sysstep.c: Likewise.
2932
2933 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2934
2935 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2936
2937 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2938
2939 2014-01-23 Tom Tromey <tromey@redhat.com>
2940
2941 * gdb.ada/array_char_idx: New testcase.
2942
2943 2014-01-23 Tom Tromey <tromey@redhat.com>
2944
2945 PR python/16487:
2946 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2947 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2948 classes.
2949
2950 2014-01-23 Tom Tromey <tromey@redhat.com>
2951
2952 PR python/16491:
2953 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2954 string from an inferior frame.
2955 * gdb.python/py-framefilter-mi.exp: Update.
2956
2957 2014-01-22 Doug Evans <dje@google.com>
2958
2959 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2960
2961 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2962
2963 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2964
2965 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2966
2967 * gdb.trace/entry-values.exp: Remove excess space character from
2968 regex patterns. Handle s390 call instruction.
2969
2970 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2971
2972 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2973 define "*_start" label. Make "name" static.
2974 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2975 ${name} by references to ${name}_start.
2976
2977 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2978
2979 * gdb.base/info-macros.exp: Remove "debug" from the compile
2980 options.
2981
2982 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2983
2984 * gdb.dlang/demangle.exp: New file.
2985
2986 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2987
2988 * gdb.dlang/primitive-types.exp: New file.
2989
2990 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2991
2992 * configure.ac: Create gdb.dlang/Makefile.
2993 * configure: Regenerate.
2994 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2995 * gdb.dlang/Makefile.in: New file.
2996 * lib/d-support.exp: New file.
2997 * lib/gdb.exp (skip_d_tests): New proc.
2998
2999 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3000
3001 * gdb.btrace/delta.exp: Check reverse stepi.
3002 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
3003 * gdb.btrace/finish.exp: New.
3004 * gdb.btrace/next.exp: New.
3005 * gdb.btrace/nexti.exp: New.
3006 * gdb.btrace/record_goto.c: Add comments.
3007 * gdb.btrace/step.exp: New.
3008 * gdb.btrace/stepi.exp: New.
3009 * gdb.btrace/multi-thread-step.c: New.
3010 * gdb.btrace/multi-thread-step.exp: New.
3011 * gdb.btrace/rn-dl-bind.c: New.
3012 * gdb.btrace/rn-dl-bind.exp: New.
3013 * gdb.btrace/data.c: New.
3014 * gdb.btrace/data.exp: New.
3015 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3016
3017 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3018
3019 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
3020 * gdb.btrace/exception.exp: Update.
3021 * gdb.btrace/instruction_history.exp: Update.
3022 * gdb.btrace/record_goto.exp: Update.
3023 * gdb.btrace/tailcall.exp: Update.
3024 * gdb.btrace/unknown_functions.exp: Update.
3025 * gdb.btrace/delta.exp: New.
3026
3027 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3028
3029 * gdb.btrace/record_goto.exp: Add backtrace test.
3030 * gdb.btrace/tailcall.exp: Add backtrace test.
3031
3032 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3033
3034 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
3035 * gdb.btrace/record_goto.c: New.
3036 * gdb.btrace/record_goto.exp: New.
3037 * gdb.btrace/x86-record_goto.S: New.
3038
3039 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3040
3041 * gdb.btrace/function_call_history.exp: Update tests.
3042 * gdb.btrace/instruction_history.exp: Update tests.
3043
3044 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3045
3046 * gdb.btrace/function_call_history.exp: Fix expected field
3047 order for "record function-call-history".
3048 Add new tests for "record function-call-history /c".
3049 * gdb.btrace/exception.cc: New.
3050 * gdb.btrace/exception.exp: New.
3051 * gdb.btrace/tailcall.exp: New.
3052 * gdb.btrace/x86-tailcall.S: New.
3053 * gdb.btrace/x86-tailcall.c: New.
3054 * gdb.btrace/unknown_functions.c: New.
3055 * gdb.btrace/unknown_functions.exp: New.
3056 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
3057
3058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3059
3060 * gdb.btrace/instruction_history.exp: Update.
3061 * gdb.btrace/function_call_history.exp: Update.
3062
3063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3064
3065 * gdb.btrace/function_call_history.exp: Fix expected function
3066 trace.
3067 * gdb.btrace/instruction_history.exp: Initialize traced.
3068 Remove traced_functions.
3069
3070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3071
3072 * gdb.btrace/function_call_history.exp: Update
3073 * gdb.btrace/instruction_history.exp: Update.
3074
3075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3076
3077 * gdb.btrace/enable.exp: Update expected text.
3078
3079 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
3080
3081 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
3082 bytes.
3083
3084 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
3085
3086 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
3087
3088 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3089
3090 * lib/gdb.exp (supports_process_record): Return true for
3091 arm*-linux*. (supports_reverse): Likewise.
3092
3093 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3094
3095 PR python/15464
3096 PR python/16113
3097 * gdb.python/py-type.c: Enhance test case.
3098 * gdb.python/py-value-cc.cc: Likewise
3099 * gdb.python/py-type.exp: Add new tests.
3100 * gdb.python/py-value-cc.exp: Likewise
3101
3102 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3103 Pedro Alves <palves@redhat.com>
3104
3105 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
3106 Make "name" extern.
3107 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
3108 references to ${name}_start by references to ${name}.
3109
3110 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3111
3112 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
3113
3114 2014-01-10 Joel Brobecker <brobecker@adacore.com>
3115
3116 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
3117
3118 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
3119 Pedro Alves <palves@redhat.com>
3120
3121 * gdb.mi/mi-info-os.exp: Connect to the target with
3122 mi_gdb_target_load.
3123
3124 2014-01-08 Pedro Alves <palves@redhat.com>
3125
3126 * gdb.threads/reconnect-signal.c: New file.
3127 * gdb.threads/reconnect-signal.exp: New file.
3128
3129 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3130
3131 * gdb.base/source-dir.exp: New file.
3132
3133 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3134
3135 * gdb.ada/mi_interface: New testcase.
3136
3137 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3138
3139 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
3140 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
3141 gdb.ada/pp-rec-component/pck.ads: New files.
3142
3143 2014-01-07 Joel Brobecker <brobecker@adacore.com>
3144
3145 * gdb.python/py-pp-integral.c: New file.
3146 * gdb.python/py-pp-integral.py: New file.
3147 * gdb.python/py-pp-integral.exp: New file.
3148
3149 For older changes see ChangeLog-1993-2013.
3150 \f
3151 ;; Local Variables:
3152 ;; mode: change-log
3153 ;; left-margin: 8
3154 ;; fill-column: 74
3155 ;; version-control: never
3156 ;; End:
3157
3158 Copyright 2014 Free Software Foundation, Inc.
3159 Copying and distribution of this file, with or without modification,
3160 are permitted provided the copyright notice and this notice are preserved.
This page took 0.093649 seconds and 5 git commands to generate.