* Re: [patch] make coff-solib.c compile
[not found] <200006150321.UAA22785@kovalevskaya.palm.com>
@ 2001-06-28 12:43 ` Andrew Cagney
2001-06-28 12:53 ` Andrew Cagney
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2001-06-28 12:43 UTC (permalink / raw)
To: John Marshall; +Cc: gdb-patches
I've checked this in.
> When building a cross debugger to eg m68k-lynxos (eg from
> i686-pc-linux-gnu), coff-solib.c won't compile because there's no
> definition of OBJF_SHARED. This gets it compiling. I'm not sure this is
> the right place to #include these headers, but it does compare favourably
> with the lists of #includes in the other *-solib.c files.
>
> John
>
> 2000-06-14 John Marshall <john_w_marshall@palm.com>
>
> * coff-solib.c: Include symfile.h and objfiles.h to make
> OBJF_SHARED visible.
>
> --- gdb+dejagnu-20000614/gdb/coff-solib.c.orig Wed Jun 14 20:06:07 2000
> +++ gdb+dejagnu-20000614/gdb/coff-solib.c Wed Jun 14 20:06:22 2000
> @@ -25,6 +25,8 @@
> #include "bfd.h"
> #include "gdbcore.h"
> #include "symtab.h"
> +#include "symfile.h"
> +#include "objfiles.h"
>
> /*
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch] make coff-solib.c compile
2001-06-28 12:43 ` [patch] make coff-solib.c compile Andrew Cagney
@ 2001-06-28 12:53 ` Andrew Cagney
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2001-06-28 12:53 UTC (permalink / raw)
To: Andrew Cagney; +Cc: John Marshall, gdb-patches
PS: It still doesn't build - gdb gets a linker error from the now familar:
libgdb.a(remote.o): In function `remote_open_1':
/home/scratch/GDB/src/gdb/remote.c:2197: undefined reference to
`no_shared_libraries'
libgdb.a(remote.o): In function `remote_async_open_1':
/home/scratch/GDB/src/gdb/remote.c:2307: undefined reference to
`no_shared_libraries'
collect2: ld returned 1 exit status
gmake: *** [gdb] Error 1
but that is an SEP :-)
Andrew
> I've checked this in.
>
> When building a cross debugger to eg m68k-lynxos (eg from
> i686-pc-linux-gnu), coff-solib.c won't compile because there's no
> definition of OBJF_SHARED. This gets it compiling. I'm not sure this is
> the right place to #include these headers, but it does compare favourably
> with the lists of #includes in the other *-solib.c files.
>
> John
>
> 2000-06-14 John Marshall <john_w_marshall@palm.com>
>
> * coff-solib.c: Include symfile.h and objfiles.h to make
> OBJF_SHARED visible.
>
> --- gdb+dejagnu-20000614/gdb/coff-solib.c.orig Wed Jun 14 20:06:07 2000
> +++ gdb+dejagnu-20000614/gdb/coff-solib.c Wed Jun 14 20:06:22 2000
> @@ -25,6 +25,8 @@
> #include "bfd.h"
> #include "gdbcore.h"
> #include "symtab.h"
> +#include "symfile.h"
> +#include "objfiles.h"
>
> /*
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-28 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200006150321.UAA22785@kovalevskaya.palm.com>
2001-06-28 12:43 ` [patch] make coff-solib.c compile Andrew Cagney
2001-06-28 12:53 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox