From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Morrow To: ecos-discuss@sourceware.cygnus.com Subject: [ECOS] mips_rm7000.ld and dwarf Date: Fri, 03 Aug 2001 13:36:00 -0000 Message-id: <3B6B0810.F8CD7E2C@YottaYotta.com> References: <007601c11bdb$bd41fa10$0f09010a@shobhan> <3B6A9959.6F36B@redhat.com> <000b01c11c53$952e0910$0f09010a@shobhan> X-SW-Source: 2001-08/msg00140.html Gdb (version 5.0) does not find any debugging symbols when attaching to an image produced with mips_rm7000.ld. If I copy debugging section stuff from the v1.3.1 linker script and remove the new stuff, gdb does find debugging symbols. My guess is that a -gdwarf or one of the similar flags should be passed to gcc instead of just -g. I'm using gcc 2.96 and binutils version 010326 (with BFD 010326) Is this correct? Also how is gcc v3.0 working out? -- Chris Morrow YottaYotta Inc. email: cmorrow@yottayotta.com phone: (780) 989 6814 web: http: //www.yottayotta.com