View Single Post

   
  #5 (permalink)  
Old 01-16-2008, 05:53 PM
Marc S. Gibian
 
Posts: n/a
Default Re: ??problems installing gdb5.3 on HP-UX B.11.00 U 9000/800

I was able to fix this by editing som.h and inserting the following
lines immediately after #ifdef R_DLT_REL:

#ifdef R_DLT_REL
#ifdef __LP64__
#undef __LP64__
#endif

This causes gdb to compile.

BUT, it does not work properly. When I tried to debug a program built
with the experimental GCC 3.2 available in binary form from HP for
HP-UX 11 64-bit, this gdb reported it did not understand the file
format and exited.

Sigh.

Thus far I seem to be stuck using the WDB available from HP, but I
have already caught that tool printing garbage values when doing my
own printing demonstrated the actual values to be fine.

Anyone have any suggestions on how I get a working debugger for this
GCC on this HP-UX 11 64-bit platform?

Thanks,
Marc

jignaasu@yahoo.com (jignaasu) wrote in message news:<1238ce7b.0307302316.492ba87c@posting.google. com>...
> > somsolib.c:1126: error: `SHL_LOAD' undeclared (first use in this
> > function)
> > somsolib.c:1135: error: `SHL_UNLOAD' undeclared (first use in this
> > function)

>
> these are defined in /usr/include/dl.h

Reply With Quote