Date: Fri, 13 Sep 2002 13:43:44 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: sparc@freebsd.org Subject: Re: No gdb yet? Message-ID: <200209132043.g8DKhi3T035437@vashon.polstra.com> In-Reply-To: <20020913195825.GA43184@dragon.nuxi.com> References: <XFMail.20020913110057.jdp@polstra.com> <20020913195825.GA43184@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20020913195825.GA43184@dragon.nuxi.com>, David O'Brien <obrien@FreeBSD.ORG> wrote: > > I made stock 5.2 build on sparc64 months and committed it to the FSF GDB > repository. You should be able to build the gdb52 port on a sparc64 box > and at least have something that might work for userland. No joy. It builds, but it doesn't work even on a tiny test program: panther$ gdb a.out GNU gdb 5.2 (FreeBSD) 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 "sparc64-portbld-freebsd5.0"... (gdb) r Starting program: /s/scratch/jdp/misc/a.out warning: Cannot insert breakpoint -2: Error accessing memory address 0xd0d0d0d0d0d0fb90: Bad address. (gdb) It doesn't work on core files, either: panther$ gdb boot-FBSD_SPARC64/m3build/FBSD_SPARC64/m3build m3build.core GNU gdb 5.2 (FreeBSD) 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 "sparc64-portbld-freebsd5.0"... (no debugging symbols found)... warning: "/s/scratch/jdp/ezm3/m3build.core": no core file handler recognizes format, using default Core was generated by `m3build'. Program terminated with signal 11, Segmentation fault. Couldn't read input and local registers from core file Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libm.so.2 Reading symbols from /usr/lib/libc.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libc.so.5 Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. Loaded symbols for /usr/libexec/ld-elf.so.1 Couldn't read input and local registers from core file #0 0xd0d0d0d0 in ?? () (gdb) John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209132043.g8DKhi3T035437>