On 08/27/12 17:06, Luca Pizzamiglio wrote:
Hi,
Hans : have you tried the patch included here ports/171109?

With that patch gdb75 comes back to life again on amd64, and stops spewing weird messages while starting up on both amd64 and i386. If I stumble over more issues I will let you know. Thanks for your reply.

Kind regards,

Hans

Andriy: thanks for the report, I create a patch for that as soon as I can!

Regards,
Luca

On Mon, Aug 27, 2012 at 4:59 PM, Hans Ottevanger <h...@beastielabs.net> wrote:
On 08/27/12 16:03, Andriy Gapon wrote:

Program terminated with signal 11, Segmentation fault
...
#0  0x00000000004777e2 in i386_use_watchpoints ()
#1  0x0000000000476bbd in _initialize_amd64fbsd_nat ()
#2  0x000000000060deea in initialize_all_files ()
#3  0x00000000005e710f in gdb_init ()
#4  0x0000000000549086 in relocate_gdb_directory ()
#5  0x0000000000547aa4 in catch_errors ()
#6  0x0000000000548bb4 in gdb_main ()
#7  0x0000000000457ea9 in main ()

This is on amd64 head.


I can confirm that this happens on my not so recent 10-CURRENT (r239353),
also amd64.

I see a similar issue on 8.3-STABLE (r239646) on amd64:

$ gdb75 ./a.out
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol "ps_pglobal_lookup"]
Segmentation fault: 11 (core dumped)

while on i386 gcc75 works OK, but I see:

$ gdb75 ./a.out
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol "ps_pglobal_lookup"]
GNU gdb (GDB) 7.5 [GDB v7.5 for FreeBSD]
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-portbld-freebsd8.3".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/hans/a.out...done.
(gdb)

I do not know if the message about the undefined symbol is related to the
issue at hand. The previous version (gcc741) did not show this message and
functioned perfectly, also on amd64.

Kind regards,

Hans


_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to