[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gdb] Re: Gdb digest, Vol 1 #24 - 1 msg
From: |
Siegmar Zander |
Subject: |
[Gdb] Re: Gdb digest, Vol 1 #24 - 1 msg |
Date: |
Fri, 09 Mar 2001 09:28:34 +0100 |
Hi,
try to compile the files seperatly and link (all with -g), on linux this
will work.
Siegmar
address@hidden wrote:
>
> Send Gdb mailing list submissions to
> address@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.gnu.org/mailman/listinfo/gdb
> or, via email, send a message with subject or body 'help' to
> address@hidden
>
> You can reach the person managing the list at
> address@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gdb digest..."
>
> Today's Topics:
>
> 1. gdb - No debugging symbols found (Harsha perera)
>
> --__--__--
>
> Message: 1
> Date: Wed, 7 Mar 2001 19:58:16 -0800 (PST)
> From: Harsha perera <address@hidden>
> To: address@hidden
> Cc: address@hidden
> Subject: [Gdb] gdb - No debugging symbols found
>
> Hi Gurus,
>
> I am using gdb 4.17 on SUN SPARC SOLARIS 2.6.
>
> I build an executable from two "c" source files. The
> command that I use to build the executable is
>
> /opt/SUNWspro/bin/cc -g -o shmsem1 shmsem1.c seminit.c
>
> When I use gdb to invoke the executable shmsem1, the
> following output is given:
>
> gdb shmsem1
> GNU gdb 4.17
> Copyright 1998 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
> "sparc-sun-solaris2.6"...
> (no debugging symbols found)...
>
> I do not expect to see the message "(no debugging
> symbols found)...", as I have specified the -g switch
> to the compiler.
>
> If I create an executable from a single source file
> using the -g switch, gdb does not give the message (no
> debugging symbols found)...
>
> Please point out to me if I have missed something or
> if
> this is a BUG in gdb?
> If it is a BUG in gdb is it known and is there a patch
> for it?
>
> Please email any responses directly to me. My email
> address is address@hidden
>
> Thanks in advance.
>
> Harsha
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> --__--__--
>
> _______________________________________________
> Gdb mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gdb
>
> End of Gdb Digest
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gdb] Re: Gdb digest, Vol 1 #24 - 1 msg,
Siegmar Zander <=