+2016-12-01 Luis Machado <lgustavo@codesourcery.com>
+
+ Fix test names starting with uppercase throughout the files.
+
+ * gdb.base/charset.exp
+ * gdb.base/eval.exp
+ * gdb.base/multi-forks.exp
+ * gdb.guile/scm-progspace.exp
+ * gdb.opencl/datatypes.exp
+ * gdb.python/py-block.exp
+ * gdb.python/py-function.exp
+ * gdb.python/py-symbol.exp
+ * gdb.python/py-symtab.exp
+ * gdb.python/py-xmethods.exp
+ * gdb.reverse/break-precsave.exp
+ * gdb.reverse/break-reverse.exp
+ * gdb.reverse/consecutive-precsave.exp
+ * gdb.reverse/consecutive-reverse.exp
+ * gdb.reverse/finish-precsave.exp
+ * gdb.reverse/finish-reverse-bkpt.exp
+ * gdb.reverse/finish-reverse.exp
+ * gdb.reverse/fstatat-reverse.exp
+ * gdb.reverse/getresuid-reverse.exp
+ * gdb.reverse/i386-precsave.exp
+ * gdb.reverse/i386-reverse.exp
+ * gdb.reverse/i386-sse-reverse.exp
+ * gdb.reverse/i387-stack-reverse.exp
+ * gdb.reverse/insn-reverse.exp
+ * gdb.reverse/machinestate-precsave.exp
+ * gdb.reverse/machinestate.exp
+ * gdb.reverse/next-reverse-bkpt-over-sr.exp
+ * gdb.reverse/pipe-reverse.exp
+ * gdb.reverse/readv-reverse.exp
+ * gdb.reverse/recvmsg-reverse.exp
+ * gdb.reverse/rerun-prec.exp
+ * gdb.reverse/s390-mvcle.exp
+ * gdb.reverse/sigall-precsave.exp
+ * gdb.reverse/sigall-reverse.exp
+ * gdb.reverse/solib-precsave.exp
+ * gdb.reverse/solib-reverse.exp
+ * gdb.reverse/step-precsave.exp
+ * gdb.reverse/step-reverse.exp
+ * gdb.reverse/time-reverse.exp
+ * gdb.reverse/until-precsave.exp
+ * gdb.reverse/until-reverse.exp
+ * gdb.reverse/waitpid-reverse.exp
+ * gdb.reverse/watch-precsave.exp
+ * gdb.reverse/watch-reverse.exp
+
2016-12-01 Luis Machado <lgustavo@codesourcery.com>
Fix test names starting with uppercase throughout the files.
proc string_display { var_name set_prefix x_size x_type} {
- gdb_test_no_output "set ${var_name} = ${set_prefix}\"Test String\\0with zeroes\"" "Assign ${var_name} with prefix ${set_prefix}"
+ gdb_test_no_output "set ${var_name} = ${set_prefix}\"Test String\\0with zeroes\"" "assign ${var_name} with prefix ${set_prefix}"
gdb_test "x /2${x_size}s ${var_name}" ".*\t${x_type}\"Test String\"\[\r\n\]+.*\t${x_type}\"with zeroes\"" "display String ${var_name} with x/${x_size}s"
}
gdb_exit
gdb_start
-gdb_test_no_output "set \$a = 10" "Initialize \$a."
+gdb_test_no_output "set \$a = 10" "initialize \$a."
gdb_test "eval \"echo %d\\n\", \$a++" "10" "first eval."
gdb_test "eval \"echo %d\\n\", \$a*2" "22" "second eval."
#
for {set i 6} { $i <= 16} {incr i} {
- gdb_test_no_output "kill inferior $i" "Kill $i"
+ gdb_test_no_output "kill inferior $i" "kill $i"
gdb_test "info inferior $i" "<null>.*" "did kill $i"
}
gdb_test "add-inferior" "Added inferior 2" "create new inferior"
gdb_test "inferior 2" ".*" "switch to new inferior"
-gdb_test_no_output "remove-inferiors 1" "Remove first inferior"
+gdb_test_no_output "remove-inferiors 1" "remove first inferior"
with_test_prefix "inferior removed" {
gdb_test "gu (print (progspace-valid? progspace))" "= #f"
gdb_start
# Manually switch the language to opencl
-gdb_test_no_output "set language opencl" "No prompt when setting the language to opencl"
+gdb_test_no_output "set language opencl" "no prompt when setting the language to opencl"
# Check OpenCL data types (GDB)
gdb_test "whatis bool" "type = bool"
gdb_test "p sizeof(double16)" " = 128"
# Set the language back to the default: "auto; currently c"
-gdb_test_no_output "set language c" "No prompt when setting the language to c"
-gdb_test_no_output "set language auto" "No prompt when setting the language to auto"
+gdb_test_no_output "set language c" "no prompt when setting the language to c"
+gdb_test_no_output "set language auto" "no prompt when setting the language to auto"
# Load the OpenCL app
gdb_reinitialize_dir $srcdir/$subdir
gdb_test "python print (sblock.is_static)" "True" "is the static block"
# Move up superblock(s) until we reach function block_func.
-gdb_test_no_output "python block = block.superblock" "Get superblock"
+gdb_test_no_output "python block = block.superblock" "get superblock"
gdb_test "python print (block.function)" "None" "second anonymous block"
-gdb_test_no_output "python block = block.superblock" "Get superblock 2"
+gdb_test_no_output "python block = block.superblock" "get superblock 2"
gdb_test "python print (block.function)" "block_func" \
"Print superblock 2 function"
"CallCommand ()" "" \
"end" ""
-gdb_test_no_output "set var \$foo = \$call_command()" "Setting a value from a function which executes a command."
+gdb_test_no_output "set var \$foo = \$call_command()" "setting a value from a function which executes a command."
# There was a bug where GDB would segfault in the second call, so try calling again.
-gdb_test_no_output "set var \$foo = \$call_command()" "Setting a value from a function which executes a command, again."
+gdb_test_no_output "set var \$foo = \$call_command()" "setting a value from a function which executes a command, again."
delete_breakpoints
gdb_unload
gdb_test "python print (a\[0\].is_valid())" "False" "test symbol non-validity"
-gdb_test_no_output "python a = None" "Test symbol destructor"
+gdb_test_no_output "python a = None" "test symbol destructor"
gdb_test "python print (sal.is_valid())" "False" "test sal.is_valid"
gdb_test "python print (symtab.is_valid())" "False" "test symtab.is_valid()"
-gdb_test_no_output "python sal = None" "Test sal destructor"
-gdb_test_no_output "python symtab = None" "Test symtab destructor"
+gdb_test_no_output "python sal = None" "test sal destructor"
+gdb_test_no_output "python symtab = None" "test symtab destructor"
"disable xmethod progspace E_methods;method_int"
gdb_test "info xmethod progspace E_methods;method_int" ".* \\\[disabled\\\]" \
"info xmethod xmethods E_methods;method_int"
-gdb_test_no_output "disable xmethod progspace G_methods" "Disable G_methods 2"
+gdb_test_no_output "disable xmethod progspace G_methods" "disable G_methods 2"
gdb_test "info xmethod progspace" ".*G_methods \\\[disabled\\\].*" \
"info xmethod progspace"
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break $end_location" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break foo" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
set end_location [gdb_get_line_number "end of main" ]
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_breakpoint foo
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
# Run until end, then save execution log.
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
set breakloc [gdb_get_line_number "VOID FUNC" "$srcfile"]
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
# Test finish from void func
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break marker2" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break marker2" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
global hex
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
global hex
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
global hex
# Record to end of main
set location [gdb_get_line_number "END I387-FLOAT-REVERSE"]
-gdb_test_no_output "record" "Turn on process record"
+gdb_test_no_output "record" "turn on process record"
gdb_test "until $location" ".*$srcfile:$location.*" \
"record to end of main"
}
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
# Registers contents before each forward single step.
set count 0
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break $endmain" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
# Proceed to end of main
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
set lineno [gdb_get_line_number "STEP INTO THIS CALL"]
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break marker2" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break marker2" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break marker2" \
# The bug is a regression in the sequence "run; record; run".
runto main
-gdb_test_no_output "record" "Turn on process record"
+gdb_test_no_output "record" "turn on process record"
gdb_run_cmd
gdb_test_multiple "" "restarting inferior" {
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break marker1" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
# Run until end, then save execution log.
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
# The list of signals that the program generates, in the order they
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
set end_of_main [gdb_get_line_number "end of main" ]
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
#
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
set end_of_main [gdb_get_line_number "end of main" ]
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
# plain vanilla step/next (no count)
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break marker2" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
set end_of_main [gdb_get_line_number "set breakpoint 10a here" ]
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
# Verify that plain vanilla "until <location>" works.
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
gdb_test "break marker2" \
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
set end_location [gdb_get_line_number "end of main" ]
if [supports_process_record] {
# Activate process record/replay
- gdb_test_no_output "record" "Turn on process record"
+ gdb_test_no_output "record" "turn on process record"
}
# Test software watchpoints