Solaris 8 64 bit support broken?
Ric Anderson - SIRT <[email protected]> Wed, 28 May 2003 13:10:35 -0700 (MST)
| Newsgroups | gmane.comp.gdb.bugs.general |
|---|---|
| Message-ID | <[email protected]> |
I built gdb 5.3 with
./configure
make
and then with
make distclean
./configure --host=sparcv9-sun-solaris2.8
make
on
$ uname -a
SunOS coyote 5.8 Generic_108528-17 sun4u sparc SUNW,Ultra-60
$ isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
$ isainfo -kv
64-bit sparcv9 kernel modules
with gcc version 3.0.4.
The resulting gdb (either build) works fine on 32 bit images, but
dies trying to debug a 64 bit (-m64) image as shown below.
$ gdb/gdb ../a64.out
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparcv9-sun-solaris2.8"...
(gdb) list
1 main()
2 {
3 printf("Hello\n");
4 exit(0);
5 }
(gdb) break 3
Breakpoint 1 at 0x880: file x.c, line 3.
(gdb) run
Starting program: /home/ric/g/a64.out
procfs:4235 -- process not stopped.
procfs: ...giving up...
Is there something I did wrong in the build or??
Thanks,
Ric
--
Ric Anderson, U of Arizona, 1077 North Highland, Tucson, AZ 85721-0073
Phone: +1 520 626 2758 (v) +1 520 626 8295 FAX
[email protected] (RA90-ARIN) Personal Email: [email protected]
UNIX *is* user friendly. It's just selective about who its friends are.