This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
tdep/1861: AIX 5.1 single_step configuration is broken
- From: hyc at symas dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 2 Feb 2005 15:50:56 -0000
- Subject: tdep/1861: AIX 5.1 single_step configuration is broken
- Reply-to: hyc at symas dot com
>Number: 1861
>Category: tdep
>Synopsis: AIX 5.1 single_step configuration is broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 02 15:58:02 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator: hyc@symas.com
>Release: 6.3, 6.2.1
>Organization:
>Environment:
AIX 5.1, gcc 3.3.4
>Description:
Single stepping was not working, always getting "ptrace: an input or output error has occurred". Eventually found that gdb was issuing a PT_STEP request which is not supported on AIX. For some reason the code in rs6000-tdep.c was not enabling the software_single_step support. Just to get myself working again I changed the line
if (from_xcoff_exec)
to
if (1 /*from_xcoff_exec*/)
to force the configuration in gdb/rs600-tdep.c:3305.
There really needs to be better detection for this case...
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: