From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 2 Apr 2003 17:24:14 +0400 From: Sergey Vlasov To: sisyphus@altlinux.ru Message-Id: <20030402172414.018cd5de.vsu@altlinux.ru> In-Reply-To: <20030402163822.1d1aedd5.avl@l14.ru> References: <20030402163822.1d1aedd5.avl@l14.ru> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [sisyphus] Re: gdb warning: Cannot insert breakpoint -2 Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: On Wed, 2 Apr 2003 16:38:22 +0400 "Alexey V. Lubimov" wrote: > Не хочет работать gdb. С чего бы это? > > > [avl@avl src]$ gdb test > GNU gdb ALT Linux (5.2.1-alt2) > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i586-alt-linux"... > (gdb) run > Starting program: /home/avl/Projects/test/src/test > warning: Cannot insert breakpoint -2: > Cannot access memory at address 0x4000a2c0 Файловая система случайно не xfs? На ядрах 2.4.20-alt* с ней сломана работа ptrace в ядре, что проявляется в неработоспособности gdb (с точно такими же симптомами) и strace: $ strace -o /dev/null ls /var/empty umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error ptrace: umoven: Input/output error ptrace: umoven: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error umovestr: Input/output error http://bugs.altlinux.ru/view_bug_page.php?f_id=0002220