projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use common_val_print in c-valprint.c
[deliverable/binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.base
/
printcmds.c
diff --git
a/gdb/testsuite/gdb.base/printcmds.c
b/gdb/testsuite/gdb.base/printcmds.c
index ed1e26b12a9c8d3c925c8a334ca574bf1b7d02b3..04b766fc0c2c9b0b870d23d0453a5b995fd30c64 100644
(file)
--- a/
gdb/testsuite/gdb.base/printcmds.c
+++ b/
gdb/testsuite/gdb.base/printcmds.c
@@
-72,6
+72,9
@@
int int4dim[1][2][3][2] = {{{{0,1},{2,3},{4,5}},{{6,7},{8,9},{10,11}}}};
char *teststring = (char*)"teststring contents";
+typedef char *charptr;
+charptr teststring2 = "more contents";
+
/* Test printing of a struct containing character arrays. */
struct some_arrays {
This page took
0.028933 seconds
and
4
git commands to generate.