Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-01 | run copyright.sh for 2011. | Joel Brobecker | 1 | -1/+1 | |
2010-12-29 | [Ada] print null array pointer as `0x0' rather than `(null)' | Joel Brobecker | 1 | -0/+1 | |
Trying to print a variable defined as an access to an unconstrained array: type String_Access is access String; S1 : String_Access; If that variable is null, then GDB prints its value in an odd way: (gdb) print S1 $1 = (string_bug.string_access) (null) ^^^^^^ This patch changes the debugger behavior to print the pointer using the same output we'd use for any null pointer: (gdb) print S1 $1 = (string_bug.string_access) 0x0 It also adds an assert, helping us verify an assumption. gdb/ChangeLog: * ada-valprint.c (ada_val_print_1): Print null array pointers as `0x0' rather than `(null)'. Add assertion. gdb/testsuite/ChangeLog: * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String. * gdb.ada/arrayptr.exp: Add test printing that new variable. | |||||
2010-01-01 | Update copyright year in most headers. | Joel Brobecker | 1 | -1/+1 | |
Automatic update by copyright.sh. | |||||
2009-01-03 | Updated copyright notices for most files. | Joel Brobecker | 1 | -1/+1 | |
2008-09-10 | * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp, | Joel Brobecker | 1 | -1/+1 | |
gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp, gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp, gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp, gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp, gdb.ada/funcall_param.exp, gdb.ada/homonym.exp, gdb.ada/interface.exp, gdb.ada/null_array.exp, gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp, gdb.ada/print_chars.exp, gdb.ada/print_pc.exp, gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp, gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp: Include the "= " sequence in the expected output of print tests. | |||||
2008-01-03 | * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb, | Joel Brobecker | 1 | -0/+46 | |
gdb.ada/arrayptr/foo.adb: New files. * gdb.ada/arrayptr.exp: New testcase. |