Re: gdb 8.3: "handler for the OSI ABI "FreeBSD" is not built into this configuration"

Simon Marchi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 2020-05-23 9:55 p.m., Chris Nicol wrote:
> Thanks, Martin. Yes, when the gdb_6.1.1 did not work, I first had a look 
> to build the 9.1 in /usr/ports/devel/gdb, but the Makefile indicates 
> NOT_FOR_ARCHS= sparc64, and a comment above it "untested on sparc64, 
> might work". Not encouraged, I went on to build the 9.1 from the gnu 
> source. Maybe I will try the /usr/ports version if I comment out the 
> NOT_FOR_ARCHS, since there might be some tweaks in there that is 
> specific to FreeBSD.
> 
> I will also try what you are suggesting below. Hard to track down the 
> llvm-tblgen problem when I can't debug why it is seg. faulting... and 
> getting some help on the llvm list has been pretty fruitless.
> 
> Chris.

For the moment, since you don't have a working GDB, it might be easier
to just add printfs to understand why function `can_run_code_for` does
not return true when it gets at the FreeBSD/sparc64 one.

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.