Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Ivan Popivanov <popivan@gmx.net>
To: Manoj Iyer <manjo@austin.ibm.com>
Cc: gdb@sources.redhat.com
Subject: Re: ptrace error
Date: Thu, 09 Jun 2005 01:30:00 -0000	[thread overview]
Message-ID: <42A79BAF.4080406@gmx.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0506070148360.10033@lazy>

gdb 6.3 (compiled manually)
gcc version 3.3.4 (tested with both compilers)
xlC version 6
AIX 5.2

xlC -o loop -g loop.C
gdb

my GDB session is below ...

Thanks in advance!
Ivan

GNU gdb 6.3
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.2.0.0".
(gdb) file loop
Reading symbols from /home/popivan/src/loop...done.
(gdb) attach 1753266
Attaching to program: /home/popivan/src/loop, process 1753266
0x10001e68 in main (argc=1, argv=0x2ff225f0) at loop.C:8
8          for( i = 0; true; --i )
(gdb) n
ptrace: There is an input or output error..
0x10001e68 in main (argc=1, argv=0x2ff225f0) at loop.C:8
8          for( i = 0; true; --i )
(gdb) detach
Detaching from program: /home/popivan/src/loop, process 1753266
(gdb) quit


Manoj Iyer wrote:

>Can you give more details? Version of AIX, XLC, GDB. Compile options,
>testcase and exact commands?
>
>
>-----
>manjo
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>+ Cogito ergo sum                                                          +
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>On Mon, 6 Jun 2005, Ivan Popivanov wrote:
>
>  
>
>>Any help with that? How to debug?
>>
>>Thanks!
>>
>>Ivan Popivanov wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>I created a program that just runs an infinite loop. Compile using xlC
>>>on AIX, run and attached with GDB. When I tried next, I got:
>>>
>>>ptrace: There is an input or output error..
>>>
>>>Am I doing something wrong? Is that a known problem?
>>>
>>>TIA,
>>>Ivan
>>>
>>>
>>>
>>>      
>>>
>>
>>    
>>
>
>
>
>  
>



      reply	other threads:[~2005-06-09  1:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-03  0:47 Ivan Popivanov
2005-06-06 23:57 ` Ivan Popivanov
2005-06-07  9:28   ` Manoj Iyer
2005-06-09  1:30     ` Ivan Popivanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42A79BAF.4080406@gmx.net \
    --to=popivan@gmx.net \
    --cc=gdb@sources.redhat.com \
    --cc=manjo@austin.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox