On Apr 3, 11:48pm, Marcio Rodrigo de Freitas Carneiro wrote:

> I'm trying to build a gdb for my Linux box, but with the target to FreeBSD, 
> so I can debug my FreeBSD driver on a remote machine.
> 
> But I can get the compiled code. I'm using this configuration:
> 
> ./configure --prefix=/tmp/gdb-freebsd --host=i586-pc-linux-gnu \ 
>       --target=i586-pc-freebsd
> 
[...]
> make[1]: Entrando no diretório `/tmp/gdb-5.0/gdb'
> 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
> make[1]: Saindo do diretório `/tmp/gdb-5.0/gdb'
> solib.c: In function `solib_map_sections':
> solib.c:369: structure has no member named `lm_addr'
> solib.c:369: structure has no member named `lm_addr'
> solib.c:370: structure has no member named `lm_addr'
> solib.c:370: structure has no member named `lm_addr'
> solib.c: In function `solib_add_common_symbols':
...

This was a bug, but it's fixed in the current development sources.  (I
just built gdb with --target=i586-pc-freebsd on one of my Linux boxes
to be sure.)

See http://sources.redhat.com/gdb/#download for information on getting
the development sources.

Kevin

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to