Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: GDB 5.0 on FreeBSD 3.4
       [not found] <NDBBLPNLDMEJKCGPENEHGELECAAA.cwalker@yahoo-inc.com>
@ 2000-05-25 10:35 ` Daniel Berlin
  2000-05-25 10:46 ` Mark Kettenis
  1 sibling, 0 replies; 2+ messages in thread
From: Daniel Berlin @ 2000-05-25 10:35 UTC (permalink / raw)
  To: Chad Walker; +Cc: gdb-patches

FREEBSD_ELF needs to be defined.
Also, you are using the CVS version of GDB, where FreeBSD support was just
checked in, right?
And not 5.0 release?
If you are using 5.0 release, it won't work.


On Thu, 25 May 2000, Chad Walker wrote:

> Hey guys,
> 
> I am having a problem building 5.0 on i386-unknown-freebsdelf3.4
> In the file gdb-5.0/gdb/solib.c. It looks to me like there's some #define or
> macro that is not right for elf based fbsd, and that's making it #include
> the wrong file. Since I am not very familar with the gdb code, I thought I'd
> ask here if anyone has come across it, or has a fbsd3.4 machine they could
> try it on. Thanks for any suggestions.
> 
> -chad
> 
> Here's the output from gmake:
> gcc -c -g -O2    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I
> ./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl -
> I./tui  -DUSE_INCLUDED_REGEX   solib.c
> solib.c: In function `solib_map_sections':
> solib.c:369: structure has no member named `som_addr'
> solib.c:369: structure has no member named `som_addr'
> solib.c:370: structure has no member named `som_addr'
> solib.c:370: structure has no member named `som_addr'
> solib.c: In function `solib_add_common_symbols':
> solib.c:431: storage size of `inferior_rtc_symb' isn't known
> solib.c: In function `first_link_map_member':
> solib.c:896: sizeof applied to an incomplete type
> solib.c:897: invalid use of undefined type `struct _dynamic'
> solib.c:901: invalid use of undefined type `struct _dynamic'
> solib.c:901: invalid use of undefined type `struct _dynamic'
> solib.c:902: sizeof applied to an incomplete type
> solib.c:903: invalid use of undefined type `struct section_dispatch_table'
> solib.c:903: invalid use of undefined type `struct section_dispatch_table'
> solib.c: In function `current_sos':
> solib.c:1099: structure has no member named `som_next'
> solib.c:1099: structure has no member named `som_next'
> solib.c:1114: structure has no member named `som_path'
> solib.c:1114: structure has no member named `som_path'
> solib.c: In function `symbol_add_stub':
> solib.c:1181: structure has no member named `som_addr'
> solib.c:1181: structure has no member named `som_addr'
> solib.c: In function `info_sharedlibrary_command':
> solib.c:1508: structure has no member named `som_addr'
> solib.c:1508: structure has no member named `som_addr'
> solib.c: In function `solib_address':
> solib.c:1555: structure has no member named `som_addr'
> solib.c:1555: structure has no member named `som_addr'
> solib.c: In function `disable_break':
> solib.c:1662: sizeof applied to an incomplete type
> solib.c:1668: invalid use of undefined type `struct so_debug'
> solib.c:1668: invalid use of undefined type `struct so_debug'
> solib.c:1669: invalid use of undefined type `struct so_debug'
> solib.c:1670: invalid use of undefined type `struct so_debug'
> solib.c: In function `enable_break':
> solib.c:1754: sizeof applied to an incomplete type
> solib.c:1763: invalid use of undefined type `struct _dynamic'
> solib.c:1763: invalid use of undefined type `struct _dynamic'
> solib.c:1767: invalid use of undefined type `struct so_debug'
> solib.c: In function `special_symbol_handling':
> solib.c:2053: sizeof applied to an incomplete type
> solib.c:2064: invalid use of undefined type `struct _dynamic'
> solib.c:2064: invalid use of undefined type `struct _dynamic'
> solib.c:2071: sizeof applied to an incomplete type
> solib.c:2077: invalid use of undefined type `struct so_debug'
> solib.c:2079: invalid use of undefined type `struct so_debug'
> solib.c:2079: invalid use of undefined type `struct so_debug'
> solib.c: At top level:
> solib.c:128: storage size of `dynamic_copy' isn't known
> solib.c:129: storage size of `ld_2_copy' isn't known
> solib.c:130: storage size of `debug_copy' isn't known
> gmake[1]: *** [solib.o] Error 1
> gmake[1]: Leaving directory `/home/cwalker/gdb-5.0/gdb'
> gmake: *** [all-gdb] Error 2
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GDB 5.0 on FreeBSD 3.4
       [not found] <NDBBLPNLDMEJKCGPENEHGELECAAA.cwalker@yahoo-inc.com>
  2000-05-25 10:35 ` GDB 5.0 on FreeBSD 3.4 Daniel Berlin
@ 2000-05-25 10:46 ` Mark Kettenis
  1 sibling, 0 replies; 2+ messages in thread
From: Mark Kettenis @ 2000-05-25 10:46 UTC (permalink / raw)
  To: cwalker; +Cc: gdb-patches

FreeBSD 3.4 isn't supported by GDB 5.0, however I just added support
for FreeBSD ELF systems (include 3.4) to the development version of
GDB, so in principle it will be in the next GDB version.  Meanwhile,
you can check the version in CVS or get the next snapshot (the current
snapshot probably doesn't work yet), but be aware that this isn't an
official release.

See http://sourceware.cygnus.com/gdb for more information.

Mark


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-25 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <NDBBLPNLDMEJKCGPENEHGELECAAA.cwalker@yahoo-inc.com>
2000-05-25 10:35 ` GDB 5.0 on FreeBSD 3.4 Daniel Berlin
2000-05-25 10:46 ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox