hi all.  I installed GDB 4.18 on solaris 2.7 on
sparc:
my_computer> isainfo -v
64-bit sparcv9 applications
32-bit sparc applications

but when I try to debug any applications built
with GCC 2.95.2 I get the following error:
Starting program: /home/myaccount/my_buggy_program
/proc/05130: Value too large for defined data
type.
open_proc_file: PIOCSTATUS failed

I tried installing gdb from the package on
http://www.sunfreeware.com as well as compiling
it locally, but I got the same error. I also
downloaded a recent snapshot, but the error was
the same.

I looked around and no-one seems to be having the
same problem as I am, or at least if they are
they aren't talking about it.  This is
surprising - I haven't done anything terribly
unusual in this environment and I have a fairly
recent patchset.

I think that gdb might be trying to read a 64-bit
process image as 32-bit, but if anyone can help
me figure out a workaround I would be grateful.

thanks in advance.
Braxton


Sent via Deja.com http://www.deja.com/
Before you buy.

Reply via email to