ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] gdb warning: Cannot insert breakpoint -2
@ 2003-04-02 12:38 Alexey V. Lubimov
  2003-04-02 12:53 ` Phoenix
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexey V. Lubimov @ 2003-04-02 12:38 UTC (permalink / raw)
  To: sisyphus

Не хочет работать 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



-- 
С уважением, Алексей Любимов avl@cad.ru


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] gdb warning: Cannot insert breakpoint -2
  2003-04-02 12:38 [sisyphus] gdb warning: Cannot insert breakpoint -2 Alexey V. Lubimov
@ 2003-04-02 12:53 ` Phoenix
  2003-04-02 13:24 ` [sisyphus] " Sergey Vlasov
  2003-04-02 14:46 ` [sisyphus] " Alexey Morozov
  2 siblings, 0 replies; 6+ messages in thread
From: Phoenix @ 2003-04-02 12:53 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 1359 bytes --]

On Wed, 2 Apr 2003 16:38:22 +0400
"Alexey V. Lubimov" <avl@l14.ru> 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

comp2:~$ 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"...(no debugging symbols found)...
(gdb) run
Starting program: /usr/bin/test 
(no debugging symbols found)...(no debugging symbols found)...
Program exited with code 01.
(gdb)

---
Regards,
Phoenix.

[-- Attachment #2: Type: application/pgp-signature, Size: 278 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sisyphus] Re: gdb warning: Cannot insert breakpoint -2
  2003-04-02 12:38 [sisyphus] gdb warning: Cannot insert breakpoint -2 Alexey V. Lubimov
  2003-04-02 12:53 ` Phoenix
@ 2003-04-02 13:24 ` Sergey Vlasov
  2003-04-02 13:47   ` Alexey V. Lubimov
  2003-04-02 14:46 ` [sisyphus] " Alexey Morozov
  2 siblings, 1 reply; 6+ messages in thread
From: Sergey Vlasov @ 2003-04-02 13:24 UTC (permalink / raw)
  To: sisyphus

On Wed, 2 Apr 2003 16:38:22 +0400
"Alexey V. Lubimov" <avl@l14.ru> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] Re: gdb warning: Cannot insert breakpoint -2
  2003-04-02 13:24 ` [sisyphus] " Sergey Vlasov
@ 2003-04-02 13:47   ` Alexey V. Lubimov
  2003-04-02 13:53     ` Sergey Vlasov
  0 siblings, 1 reply; 6+ messages in thread
From: Alexey V. Lubimov @ 2003-04-02 13:47 UTC (permalink / raw)
  To: sisyphus

Точно в цель!

Остался второстепенный вопрос, что с этим делать...


-- 
С уважением, Алексей Любимов avl@cad.ru


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sisyphus] Re: gdb warning: Cannot insert breakpoint -2
  2003-04-02 13:47   ` Alexey V. Lubimov
@ 2003-04-02 13:53     ` Sergey Vlasov
  0 siblings, 0 replies; 6+ messages in thread
From: Sergey Vlasov @ 2003-04-02 13:53 UTC (permalink / raw)
  To: sisyphus

On Wed, 2 Apr 2003 17:47:10 +0400
"Alexey V. Lubimov" <avl@l14.ru> wrote:

> Точно в цель!
> 
> Остался второстепенный вопрос, что с этим делать...

Пока не знаю. Баг висит, в 2.4.20-alt7 (Master 2.2 updates) он
остался.

Новое ядро из Daedalus я не пробовал.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sisyphus] gdb warning: Cannot insert breakpoint -2
  2003-04-02 12:38 [sisyphus] gdb warning: Cannot insert breakpoint -2 Alexey V. Lubimov
  2003-04-02 12:53 ` Phoenix
  2003-04-02 13:24 ` [sisyphus] " Sergey Vlasov
@ 2003-04-02 14:46 ` Alexey Morozov
  2 siblings, 0 replies; 6+ messages in thread
From: Alexey Morozov @ 2003-04-02 14:46 UTC (permalink / raw)
  To: sisyphus

On Wed, Apr 02, 2003 at 04:38:22PM +0400, Alexey V. Lubimov wrote:
> Не хочет работать gdb. С чего бы это?
Видимо, прикол локальной конфигурации...
У меня завелось.
ltrace gdb? :-)



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-04-02 14:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-02 12:38 [sisyphus] gdb warning: Cannot insert breakpoint -2 Alexey V. Lubimov
2003-04-02 12:53 ` Phoenix
2003-04-02 13:24 ` [sisyphus] " Sergey Vlasov
2003-04-02 13:47   ` Alexey V. Lubimov
2003-04-02 13:53     ` Sergey Vlasov
2003-04-02 14:46 ` [sisyphus] " Alexey Morozov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git