Article View: gnu.gcc.help
Article #50189gdb, __DTOR_END__(), seg faults, lib/sys calls
From: Mike Zintel
Date: Thu, 11 Nov 1993 23:48
Date: Thu, 11 Nov 1993 23:48
44 lines
1864 bytes
1864 bytes
I'm using gcc and gdb as supplied by Cygnus (2.3.3) with Solaris 2.2.
When I try to step into *or over* a system or library call, control
is passed to __DTOR_END_() and then I get a segmentation fault. This
is not a C++ program.
I'm a gcc/gdb newbie. Help would be appreciated.
Breakpoint 1, main () at test.c:69
69 {
(gdb) l
64 ^L
65 /*
66 ** Main entry point
67 */
68 main()
69 {
70 FILE *fp ;
71
72 /*
73 ** Initialize the system
(gdb) s
main () at test.c:76
76 str_init() ;
(gdb) s
str_init () at strupper.c:80
80 next_index = 0 ;
(gdb) s
85 str_initialize() ;
(gdb) s
str_initialize () at strsched.c:130
130 mem_initialize() ;
(gdb) s
mem_initialize () at strmem.c:82
82 bzero ((data_t *) q_array, sizeof (q_array)) ;
(gdb) s
0x2c010 in __DTOR_END__ ()
(gdb) quit
--
Mike Zintel
Motorola Wireless Data Group I repeat myself when under stress.
Bothell, WA I repeat myself when under stress.
zintel@mdd.comm.mot.com I repeat myself when under stress.
Technical Details
Message-ID:
<2buj0d$jbl@hb04c.mdd.comm.mot.com>Path:
arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!news.rhrz.uni-bonn.de!mpifr-bonn.mpg.de!uniol!math.fu-berlin.de!news.rrz.uni-hamburg.de!rzsun2.informatik.uni-hamburg.de!news.dkrz.de!dscomsa!dxcern!mcsun!howland.reston.ans.net!math.ohio-state.edu!cyber2.cyberstore.ca!vanbc.wimsey.com!mmddvan!mdisea!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8561e8290e37f3bf,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-12 05:48:20 PST Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!news.rhrz.uni-bonn.de!mpifr-bonn.mpg.de!uniol!math.fu-berlin.de!news.rrz.uni-hamburg.de!rzsun2.informatik.uni-hamburg.de!news.dkrz.de!dscomsa!dxcern!mcsun!howland.reston.ans.net!math.ohio-state.edu!cyber2.cyberstore.ca!vanbc.wimsey.com!mmddvan!mdisea!not-for-mail From: zintel@mdd.comm.mot.com (Mike Zintel) Newsgroups: gnu.gcc.help Subject: gdb, __DTOR_END__(), seg faults, lib/sys calls Date: 11 Nov 1993 15:48:29 -0800 Organization: Motorola, Wireless Data Group - Seattle, WA Lines: 44 Distribution: na Message-ID: <2buj0d$jbl@hb04c.mdd.comm.mot.com> NNTP-Posting-Host: hb04c.mdd.comm.mot.com