This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/1809: I/O after stepover with an attached process
- From: mario dot horny at dresdner-bank dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 15 Nov 2004 10:51:04 -0000
- Subject: gdb/1809: I/O after stepover with an attached process
- Reply-to: mario dot horny at dresdner-bank dot com
>Number: 1809
>Category: gdb
>Synopsis: I/O after stepover with an attached process
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 15 10:58:03 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: mario.horny@dresdner-bank.com
>Release: gdb 6.2
>Organization:
>Environment:
AIX 5.2.0.0, xlc Compiler,
>Description:
Hi Gurus,
I have a hopefully easy to solve problem for you that I can't track down:
I try to debug an already running process. I start debugger, attach it with the "attach <pid> command and set a breakpoint at main.
When i try to step over I get the error message:
"Copyright 2004 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 "powerpc-ibm-aix5.1.0.0".
(gdb) attach 38562
Attaching to process 38562
[Switching to Thread 1]
0xd01ed948 in read () from /usr/lib/libc.a(shr.o)
(gdb) b main
Breakpoint 1 at 0x10001edc: file Test.cpp, line 14.
(gdb) n
Single stepping until exit from function read,
which has no line number information.
ptrace: I/O error.
0xd01ed948 in read () from /usr/lib/libc.a(shr.o)
(gdb) quit"
Does anyone know what causes the I/O Error. It's no file permission issue?
thanX in advance,
Mario
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: