bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Oh help with IRIX, please !!!


From: jarausch
Subject: Oh help with IRIX, please !!!
Date: Wed, 30 May 2001 13:08:52 +0200

Hi,

to build gdb-cvs on a pretty recent IRIX-6.5.11
I have to do the following hacks

1st) There doesn't seem to be a file  irix6-nat.c,
     so I have to add the following lines to irix5-nat.c
#include "symfile.h"
#include "objfiles.h"

...

void
no_shared_libraries (char *ignored, int from_tty)
{
  objfile_purge_solibs ();
  clear_solib ();
}



since no_shared_libraries is called by remote.c
Furthermore I have to add the the generated file  gdb/Makefile

memattr.o: memattr.c $(defs_h) $(gdbcmd_h) $(remote_utils_h) $(value_h) \
        $(language_h) $(gdb_string_h)

since e.g. lookup_mem_region  is needed by target.c  and
_initialize_mem is needed by init.c

I still get some warnings like
ld32: WARNING 105: Common symbol "BC" defined in 
../readline/libreadline.a(terminal.o) is resolved with a data definition in 
/usr/LOCAL/lib/gcc-lib/mips-sgi-irix6.5/3.0/../../../libncurses.a(lib_termcap.o)
 with a smaller alignment.
ld32: WARNING 105: Common symbol "UP" defined in 
../readline/libreadline.a(terminal.o) is resolved with a data definition in 
/usr/LOCAL/lib/gcc-lib/mips-sgi-irix6.5/3.0/../../../libncurses.a(lib_termcap.o)
 with a smaller alignment.

but it seems to build now.
But ...
it still doesn't work with gcc-3.0 (configured --with-dwarf2) as it gets
/usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb-cvs/gdb/regcache.c:281: 
  gdb-internal-error: legacy_read_register_gen: Assertion `regnum >= 0
  &&
 regnum < (NUM_REGS + NUM_PSEUDO_REGS)' failed.

Many thanks for some hints,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]