http://qa.mandrakesoft.com/show_bug.cgi?id=1562

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEEDINFO



------- Additional Comments From [EMAIL PROTECTED]  2003-03-14 10:00 -------
On Fri, 14 Mar 2003, waschk wrote:


Have you a full 9.1 system??

[EMAIL PROTECTED] vrac]$ gdb ./simple
GNU gdb 5.3-22mdk (Mandrake Linux)
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-mandrake-linux-gnu"...
(gdb) run
Starting program: /home/gb/vrac/simple
1

Program exited with code 02.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEEDINFO
creation_date: 
description: 
Example:

dimple-lt% cat simple.c
#include <stdio.h>

int main(int argc, char *argv[])
{
  printf("%d\n", argc);
}
dimple-lt% gcc -v -g -o simple simple.c
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking --enable-long-long
--enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk)
 /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/cc1 -lang-c -v -D__GNUC__=3
-D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=1 -D__GXX_ABI_VERSION=102 -D__ELF__
-Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__
-D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386
-Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i586__ -D__tune_pentium__
simple.c -quiet -dumpbase simple.c -g -version -o /local/home/bill/tmp/cce1WvLh.s
GNU CPP version 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk) (cpplib) (i386 Linux/ELF)
GNU C version 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk) (i586-mandrake-linux-gnu)
        compiled by GNU C version 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk).
ignoring nonexistent directory "/usr/i586-mandrake-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/include
 /usr/include
End of search list.
 as -V -Qy -o /local/home/bill/tmp/cco543Ws.o /local/home/bill/tmp/cce1WvLh.s
GNU assembler version 2.13.90.0.16 (i586-mandrake-linux-gnu) using BFD version
2.13.90.0.16 20021126
 /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/collect2 --eh-frame-hdr -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o simple
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/../../../crt1.o
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/../../../crti.o
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/crtbegin.o
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/../../..
/local/home/bill/tmp/cco543Ws.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/crtend.o
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.1/../../../crtn.o
dimple-lt% gdb
GNU gdb 5.3-1mdk (Mandrake Linux)
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-mandrake-linux-gnu".
(gdb) file simple
Reading symbols from simple...done.
(gdb) run
Starting program: /local/home/bill/Projects/SurfaceFitting/Maths/C/simple
Warning:
Cannot insert breakpoint -2.
Error accessing memory address 0x4000ae90: Input/output error.
The same program may be running in another process.
(gdb) The program is running.  Exit anyway? (y or n) y

I don't think the problem is with gdb itself because I built an old
version (5.2.1) and got the same error. I've also tried old versions
of gcc (2.95, 2.96) too.

Reply via email to