This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Darwin Port (Part 4: i386-macosx-*.[ch])
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gingold at adacore dot com
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 10 Nov 2008 20:04:29 +0100 (CET)
- Subject: Re: [RFC] Darwin Port (Part 4: i386-macosx-*.[ch])
- References: <20081110102831.GA60329@ulanbator.act-europe.fr>
> 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).