This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
>> +/* Ensure that the ARM's stack pointer has the correct alignment for a >> + new frame. */ >> +static CORE_ADDR >> +arm_frame_align (struct gdbarch *gdbarch, CORE_ADDR addr) >> +{ >> + return (addr & -16); >> +}You mean ~(ULONGEST)0x7? I mean ~(typeof(addr)) 0x7. M'kay (finally gets brain around what that expression is doing), back to the patch. Does it fix the bug?
Anyone? Andrew
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |