This is the mail archive of the gdb@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]

gdb dumps a core on core analysis for this target program on ia-64, please check this log


Hi,

gdb dumps a core on core analysis of this target program for ia-64, please check this log. 

After doing a "where" at the gdb prompt and later when I hit "enter" key

It gives out a core dump.

Please check the extract of the log.  Please let me know, if one has any idea.

*******log start******

ITAN>cat test.c
#include <stdio.h>
void main(){
abort();
}
ITAN>gcc -g test.c
test.c: In function `main':
test.c:2: warning: return type of `main' is not `int'
ITAN>./a.out
Aborted (core dumped)
ITAN>uname -m
ia64
ITAN>gdb ./a.out ./core
GNU gdb Red Hat Linux (5.2-2)
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 "ia64-redhat-linux"...
Core was generated by `./a.out'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libc.so.6.1...done.
Loaded symbols for /lib/libc.so.6.1
Reading symbols from /lib/ld-linux-ia64.so.2...done.
Loaded symbols for /lib/ld-linux-ia64.so.2
#0  0x20000000000ba322 in kill () at soinit.c:56
56      soinit.c: No such file or directory.
        in soinit.c
(gdb) where
#0  0x20000000000ba322 in kill () at soinit.c:56
#1  0x20000000000ba1d0 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x20000000000bca50 in abort () at ../sysdeps/generic/abort.c:88
#3  0x40000000000006c0 in __do_global_ctors_aux () at test.c:3
#4  0x20000000000ba1d0 in raise (sig=-17536) at ../sysdeps/posix/raise.c:27
#5  0x4000000000000520 in _start ()
#6  0x20000000000ba1d0 in raise (sig=-17528) at ../sysdeps/posix/raise.c:27
#7  0x20000000000426b8 in _dl_debug_mask () from /lib/ld-linux-ia64.so.2
warning: Can't fetch instructions for slot numbers greater than 2.
Using slot 0 instead
#8  0x20000000000ba1d0 in raise (sig=Cannot access memory at address 0x60000fff7
fffffd0
) at ../sysdeps/posix/raise.c:27
Cannot access memory at address 0x60000fff7fffffe8
(gdb)
#0  0x20000000000ba322 in kill () at soinit.c:56
#1  0x20000000000ba1d0 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x20000000000bca50 in abort () at ../sysdeps/generic/abort.c:88
#3  0x40000000000006c0 in __do_global_ctors_aux () at test.c:3
#4  0x20000000000ba1d0 in raise (sig=-17536) at ../sysdeps/posix/raise.c:27
#5  0x4000000000000520 in _start ()
#6  0x20000000000ba1d0 in raise (sig=-17528) at ../sysdeps/posix/raise.c:27
#7  0x20000000000426b8 in _dl_debug_mask () from /lib/ld-linux-ia64.so.2
#8  0x20000000000ba1d0 in raise (sig=Cannot access memory at address 0x60000fff7
fffffd0
) at ../sysdeps/posix/raise.c:27
#9  0x00000000 in ?? ()
Segmentation fault (core dumped)


*******log end******

Thanks and Regards

Deepak

 


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