This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: PAGE_SIZE Availability Inconsistency
- From: Daniel Jacobowitz <dan at debian dot org>
- To: Christoph Hellwig <hch at infradead dot org>, Arjan van de Ven <arjan at infradead dot org>, Roman Zippel <zippel at linux-m68k dot org>, David Brown <dmlb2000 at gmail dot com>, Linux Kernel Mailing List <linux-kernel at vger dot kernel dot org>, gdb at sourceware dot org
- Date: Thu, 8 Mar 2007 11:21:58 -0500
- Subject: Re: PAGE_SIZE Availability Inconsistency
- References: <9c21eeae0703051555x1884fd7cse7968a71ec04eb27@mail.gmail.com> <20070306092917.GA5226@infradead.org> <200703080318.04631.zippel@linux-m68k.org> <20070308090031.GB7373@infradead.org> <1173369229.3550.2.camel@laptopd505.fenrus.org> <20070308160852.GB9916@infradead.org>
On Thu, Mar 08, 2007 at 04:08:52PM +0000, Christoph Hellwig wrote:
> No, no no. We should never export PAGE_SIZE. We might export NBPG
> as deprecated symbol for gdb if it really needs it, but that should
> happen only on a.out systems, and it it should be a true constant,
> not depending on PAGE_SIZE.
>
> I've Cc'ed the gdb list on whether they have any comments on this
> issue.
Sounds reasonable. I do not believe that GDB has any dependence on
PAGE_SIZE; bfd (i.e. both gdb and binutils) use NBPG on a large number
of systems. Looks like i386, alpha, m68k, s390, vax - but don't quote
me on that, I had to guess from the configure script.
--
Daniel Jacobowitz
CodeSourcery