Package: gdb
Version: 7.3-1+b1
Followup-For: Bug #579021


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdb depends on:
ii  gdbserver     7.3-1+b1        
ii  libc6         2.13-21         
ii  libexpat1     2.0.1-7.2       
ii  libncurses5   5.9-4           
ii  libpython2.7  2.7.2-5         
ii  libreadline6  6.2-7           
ii  zlib1g        1:1.2.3.4.dfsg-3

gdb recommends no packages.

Versions of packages gdb suggests:
pn  gdb-doc  <none>

-- no debconf information


Trying to run gdb on the sudo sources also yields this error.

root@vjng-debian:/home/jengelh/sudo-1.8.3p1/src# gdb sudo
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/jengelh/sudo-1.8.3p1/src/sudo...done.
(gdb) b policy_check
Breakpoint 1 at 0x40b0c4: file ./sudo.c, line 1123.
(gdb) r -Hu jengelh id
Starting program: /home/jengelh/sudo-1.8.3p1/src/sudo -Hu jengelh id

Breakpoint 1, policy_check (plugin=0x615e20, argc=1, argv=0x7fffffffe640,
    env_add=0x61b9a0, command_info=0x7fffffffe4e0, argv_out=0x7fffffffe4d8,
    user_env_out=0x7fffffffe4d0) at ./sudo.c:1123
1123        return plugin->u.policy->check_policy(argc, argv, env_add, 
command_info,  
(gdb) s
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error


sudo itself is not linked to libpthread, nor is any of its modules.
The whole sudo thing does not even seem to make use of pthreads.

"Generic error" messages should be killed; it should at least print
what it searched for (even if it's a random number)..



-- 
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