This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: breakpoints/1219: cannot access subprocess memory


The following reply was made to PR breakpoints/1219; it has been noted by GNATS.

From: Leslie Viljoen <lesliev@icoc.co.za>
To: gdb-gnats@sources.redhat.com
Cc:  
Subject: Re: breakpoints/1219: cannot access subprocess memory
Date: Tue, 10 Feb 2004 10:53:33 +0200

 I have this exact problem under Mandrake 9.1 for i586. The problem persists
 in GDB 6.0 (I compiled it).
 Here is my gcc version: gcc (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
 
 Here is the GDB output - the program listed below by the 'l' command is
 the program in its entirety.
 
 GNU gdb 6.0
 Copyright 2003 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 "i686-pc-linux-gnu"...
 (gdb) l
 1       #include "stdio.h"
 2
 3       main()
 4       {
 5               printf ("hello");
 6       }
 (gdb) br 5
 Breakpoint 1 at 0x804839c: file t5.cc, line 5.
 (gdb) r
 Starting program: /home/lesliev/dev/local/unisa/c++/ass01/t5
 Warning:
 Cannot insert breakpoint 1.
 Error accessing memory address 0x804839c: Input/output error.
 
 (gdb)
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]