[lkml]   [2009]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[2.6.32.git] commit 1cedae7 breaks gdb
Hi guys.  This commit:

commit 1cedae72904b85462082dbcfd5190309ba37f8bd
Author: Frederic Weisbecker <>
Date: Wed Dec 2 07:32:16 2009 +0100

hw-breakpoints: Keep track of user disabled breakpoints

breaks debugging with gdb (at least gdb-7.0, anyway).

For example, if you start firefox with the -g flag, it will run
in gdb. When running a kernel with this commit, gdb will stop
with the message: "Couldn't write debug register: No space left
on device". When trying to quit gdb by typing 'q', the process
hangs forever.

This seems to be related to the size of the program being debugged.
Running /bin/ls with gdb, for example, works normally. But large
programs like firefox, thunderbird, or evolution (from gnome) all
trigger the same error message.

Can anyone reproduce this?


 \ /
  Last update: 2009-12-07 02:03    [W:0.023 / U:7.628 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site