bebbo / binutils-gdb

Unofficial mirror of sourceware binutils-gdb repository. Updated daily.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git
GNU General Public License v2.0
3 stars 3 forks source link

Trouble building gdb #32

Closed BSzili closed 1 year ago

BSzili commented 1 year ago

After the 2.38 merge I can't seem to build gdb under cygwin, this is the part I'm having trouble with:

/home/BSzili/amiga-gcc/projects/binutils/gdb/cp-support.c: In function ‘gdb::unique_xmalloc_ptr<char> gdb_demangle(const char*, int)’:
/home/BSzili/amiga-gcc/projects/binutils/gdb/cp-support.c:1621:3: error: ‘set_segv_handler’ was not declared in this scope; did you mean ‘segv_handler_t’?
 1621 |   set_segv_handler(thread_local_segv_handler_l);
      |   ^~~~~~~~~~~~~~~~
      |   segv_handler_t
make[2]: *** [Makefile:1897: cp-support.o] Error 1
bebbo commented 1 year ago

switch binutilsto the branch amiga-2.35.2 or wait on updates for cygwin

BSzili commented 1 year ago

Thanks for the tip, I went back to amiga-2.35.2 for the time being.