Re: gdb-7.12 powerpc-rtems4.12-gdb does not build on FreeBSD.

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 11/24/2016 12:12 PM, Pedro Alves wrote:

> The PPC sim shouldn't be calling GDB's "error" directly.  If it does,
> then that's should be fixed.  There's an "error" method in the
> host_callback structure (filled in by GDB) that should be used instead.

I tried reproducing on GNU/Linux here, but it doesn't.  Looks like
"error" ends up resolved to something, most probably glibc's own
"error" function (a GNU extension):

 https://linux.die.net/man/3/error

So on GNU/Linux those sim "error" calls probably crash at run time.

Thanks,
Pedro Alves
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.