This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [RFC] Darwin Port (Part 4: i386-macosx-*.[ch])



On Nov 10, 2008, at 8:04 PM, Mark Kettenis wrote:


Date: Mon, 10 Nov 2008 11:28:31 +0100
From: Tristan Gingold <gingold@adacore.com>

/* Align to 16 byte boundary */
static CORE_ADDR
i386_macosx_frame_align (struct gdbarch *gdbarch, CORE_ADDR addr)
{
  return (addr & -16);
}

This shouldn't be necessary (and I believe it doesn't even do what you think it does).

No opinion here. It directly comes from Apple sources. Will remove.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]