Hi,

Hector Oron wrote:
> Is this problem gone away with version in unstable 4.3-1?

If you mean gdb 7.3-1 (now in testing), the 'cannot access memory' error
is now gone on kfreebsd-i386:

steven@kfreebsd-i386:~$ gdb /bin/echo
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 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 "i486-kfreebsd-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /bin/echo...(no debugging symbols found)...done.
(gdb) run a
Starting program: /bin/echo a
a
[Inferior 1 (process 5618) exited normally]
(gdb) q


The other issue still remains -- a break is triggered by use of threads,
but it is possible to see a proper backtrace and continue from it, so
gdb is at least usable now on kfreebsd:

steven@kfreebsd-i386:~$ gdb /usr/bin/epiphany-browser
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 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 "i486-kfreebsd-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/epiphany-browser...(no debugging symbols
found)...done.
(gdb) r
Starting program: /usr/bin/epiphany-browser

Program received signal ?, Unknown signal.
0x2a3bfe67 in __pthread_sigsuspend ()
   from /lib/i386-kfreebsd-gnu/i686/cmov/libpthread.so.0
(gdb) bt
#0  0x2a3bfe67 in __pthread_sigsuspend ()
   from /lib/i386-kfreebsd-gnu/i686/cmov/libpthread.so.0
#1  0x2a3bee28 in __pthread_wait_for_restart_signal ()
   from /lib/i386-kfreebsd-gnu/i686/cmov/libpthread.so.0
#2  0x2a3bfd92 in pthread_create@@GLIBC_2.3 ()
   from /lib/i386-kfreebsd-gnu/i686/cmov/libpthread.so.0
#3  0x2a2b9eda in ?? () from /usr/lib/i386-kfreebsd-gnu/libgthread-2.0.so.0
#4  0x2a32a892 in g_thread_create_full ()
   from /lib/i386-kfreebsd-gnu/libglib-2.0.so.0
#5  0x2c6185cf in ?? ()
   from /usr/lib/i386-kfreebsd-gnu/gio/modules/libdconfsettings.so
#6  0x2c618e52 in ?? ()
   from /usr/lib/i386-kfreebsd-gnu/gio/modules/libdconfsettings.so
#7  0x2a1b5c17 in ?? () from /usr/lib/i386-kfreebsd-gnu/libgio-2.0.so.0
#8  0x2a1b8a59 in ?? () from /usr/lib/i386-kfreebsd-gnu/libgio-2.0.so.0
#9  0x2a276c32 in g_object_newv ()
   from /usr/lib/i386-kfreebsd-gnu/libgobject-2.0.so.0
#10 0x2a2775c3 in g_object_new_valist ()
   from /usr/lib/i386-kfreebsd-gnu/libgobject-2.0.so.0
#11 0x2a277820 in g_object_new ()
   from /usr/lib/i386-kfreebsd-gnu/libgobject-2.0.so.0
#12 0x2a1b9c61 in g_settings_new ()
   from /usr/lib/i386-kfreebsd-gnu/libgio-2.0.so.0
#13 0x080e8958 in ephy_settings_get ()
#14 0x080726fd in main ()
(gdb) c
Continuing.
warning: Signal ? does not exist on this system.

...

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to