This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: Does today's gdb compile on Linux?


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)

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