This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commited] small changes to fix hpux-cc compile
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb-patches at sources dot redhat dot com, randolph at tausq dot org
- Date: Sun, 16 May 2004 06:12:23 -0400 (EDT)
- Subject: Re: [commited] small changes to fix hpux-cc compile
Hi Randolph,
In this change:
- char dld_flags_buffer[TARGET_INT_BIT / TARGET_CHAR_BIT];
+ char dld_flags_buffer[4];
I just ran into the same problem with TARGET_INT_BIT so I understand
why this needs to change. But why 4? What if the target configuration
has 64-bit ints?
How about this instead:
char * dld_flags_buffer = alloca(TARGET_INT_BIT/TARGET_CHAR_BIT);
Michael C