2006-11-09 Christophe Lyon <christophe.lyon@st.com>
* gdb.base/constvars.c (main): Write to crass and crips, so that they are allocated by the compiler.
This commit is contained in:
parent
4eaf9bc93a
commit
6760920914
|
@ -1,3 +1,8 @@
|
|||
2006-11-09 Christophe Lyon <christophe.lyon@st.com>
|
||||
|
||||
* gdb.base/constvars.c (main): Write to crass and crips, so that
|
||||
they are allocated by the compiler.
|
||||
|
||||
2006-10-27 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* gdb.base/multi-forks.exp: Use "detach fork" instead of
|
||||
|
|
|
@ -169,8 +169,8 @@ main (void)
|
|||
|
||||
/* various structs with const members */
|
||||
|
||||
struct crass { char * const ptr; } crass;
|
||||
struct crisp { char * const *ptr; } crisp;
|
||||
struct crass { char * const ptr; } crass = { lamprey };
|
||||
struct crisp { char * const *ptr; } crisp = { &lamprey };
|
||||
|
||||
/* misc. references */
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue