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