Re: 2.6.0-test11, 2.6.0-test9 and gdb 6.0

From: Gaël Deest (GUtopiste_at_free.fr)
Date: 12/01/03

  • Next message: Benjamin Herrenschmidt: "Re: FYI: My current suspend bigdiff"
    Date:	Mon, 01 Dec 2003 00:53:51 +0100
    To: linux-kernel@vger.kernel.org
    
    

    Lukas Hejtmanek wrote:

    >Hello,
    >
    >is there any issue about using gdb with pthreads under 2.6.0-test9+ kernels?
    >
    >With 2.6.0-test11 I got message while du next over a function that creates some
    >threads:
    >
    >Program received signal SIG32, Real-time event 32.
    >__pthread_sigsuspend (set=0xbffff6d0)
    > at ../linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c:5656
    > ../linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c: No such file or directory.
    > in ../linuxthreads/sysdeps/unix/sysv/linux/pt-sigsuspend.c
    >(gdb)
    >
    >With 2.6.0-test9 I got a message about gdb cannot read thread registers.
    >
    >With 2.4.x series it is ok. Is it a bug in ptrace in kernel or a bug in gdb?
    >
    >
    >
    I've got exactly the same problem...

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Benjamin Herrenschmidt: "Re: FYI: My current suspend bigdiff"

    Relevant Pages

    • Re: Kernel 2.6.9 Multiple Page Allocation Failures
      ... Lukas Hejtmanek wrote: ... That's XFS_STATS_INCand friends. ... I don't think there's really a bug here. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Invisible threads in 2.6.9
      ... >which was needed to get gdb to work. ... I think this should be fixed in stable kernel version, ... 2.6.9-rc3 from kernel.org:) I downloaded it to check if the bug is not ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.0-test11, 2.6.0-test9 and gdb 6.0
      ... is there any issue about using gdb with pthreads under 2.6.0-test9+ kernels? ... Is it a bug in ptrace in kernel or a bug in gdb? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 1/2] do_wait reorganization
      ... That bug in no way invalidates the motivation ... made it impossible to debug some daemons with gdb. ... So I debugged the whole thing and fixed an SELinux bug for the SELinux ... reasonable developer has seen an unreasonable "Permission denied" ...
      (Linux-Kernel)
    • Re: profiling broken on RELENG_7/i386 (fwd)
      ... The bug is triggered by the following test program: ... int ch; ... DM> It seems we step on a bug in gcc in RELENG_7/i386 ... GDB is free software, covered by the GNU General Public License, and you are ...
      (freebsd-current)