Does today's gdb compile on Linux?
H . J . Lu
hjl@valinux.com
Thu Jan 20 21:50:00 GMT 2000
On Thu, Jan 20, 2000 at 04:00:28PM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
>
> > I created <sys/procfs.h> for bfd and gdb. Now you changed the meanings
> > of those types I created in <sys/procfs.h>, no matter how inappropriate
> > they were. At least, you should provide a way at the C preprocesser
> > level for bfd and gdb to tell that they are changed. It is very
> > irresponsible for you not to do so. Basically, what you did is change
> > API in <sys/procfs.h>. Please fix it.
>
> The solution was already lined out: use the elf_* types in gdb. These
> are the types you actually want and not the pr* types. Linux does not
> have the pr* interface and so gdb provides it itself and here the
> types assumed are those which are currently defined.
>
I am not sure if elf_* types available for libc 5, glibc 2.0 and
glibc 2.1. gdb need something to tell that elf_* types should be
used.
--
H.J. Lu (hjl@gnu.org)
More information about the Libc-hacker
mailing list