[parisc-linux] Back to evms-1.0.1 && unaligne access && gdb
jsoe0708@tiscali.be
jsoe0708@tiscali.be
Fri, 30 Aug 2002 07:46:16 +0200
>-- Original Message --
>Subject: Re: [parisc-linux] Back to evms-1.0.1 && unaligne access && gdb
>To: jsoe0708@tiscali.be
>From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
>Cc: parisc-linux@lists.parisc-linux.org
>Date: Thu, 29 Aug 2002 13:10:49 -0400 (EDT)
>
>
>> p is of type partition define as follow:
>> struct partition {
>> unsigned char boot_ind; /* 0x80 - active */
>> unsigned char head; /* starting head */
>> unsigned char sector; /* starting sector */
>> unsigned char cyl; /* starting cylinder */
>> unsigned char sys_ind; /* What partition type */
>> unsigned char end_head; /* end head */
>> unsigned char end_sector; /* end sector */
>> unsigned char end_cyl; /* end cylinder */
>> unsigned int start_sect; /* starting sector counting from 0 */
>> unsigned int nr_sects; /* nr of sectors in partition */
>> };
>
>The problem is that a struct of the above type is being allocated
>at an unaligned address.
Sorry I do not understand, can you tell me more or where can I found additional
explanation?
> That's not normal. The cast isn't the
>problem.
>
Thanks in advance,
Joel