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:
Frederic Riss 2006-11-09 09:20:17 +00:00
parent 4eaf9bc93a
commit 6760920914
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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 */
/*