From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
Cc: emacs-devel@gnu.org
Subject: Re: Building Emacs-cvs on Cygwin
Date: Sat, 23 Sep 2006 18:49:59 +0200 (MET DST) [thread overview]
Message-ID: <Pine.OSF.4.21.0609231846220.14554-100000@ax0rm1.roma1.infn.it> (raw)
In-Reply-To: <ur6y2lilw.fsf@gnu.org>
On Sat, 23 Sep 2006, Eli Zaretskii wrote:
> > Date: Sat, 23 Sep 2006 12:33:23 +0200 (MET DST)
> > From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
> > cc: emacs-devel@gnu.org
> >
> > Considere the following examples:
> >
> > ---------------------------------------------------------
> > $ cat hello.c
> > #include <stdio.h>
> >
> > int main()
> > {
> > printf("Hello, World!");
> > return 0;
> > }
> >
> > $ gcc -g hello.c -o hello
> > ^^^^^
> >
> > $ gdb ./hello.exe
> > GNU gdb 6.5.50.20060706-cvs (cygwin-special)
> > Copyright (C) 2006 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you
> > ar
> > welcome to change it and/or distribute copies of it under certain
> > condition
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB. Type "show warranty" for
> > details.
> > This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > (gdb)
>
> How about the following compilation command--does it also cause GDB to
> complain about debugging symbols?
>
> gcc -gdwarf-2 -g3 hello.c -o hello
NO! I does NOT!!!
>
> Also, if you type the following two commands after starting GDB, what
> does GDB say?
>
> (gdb) start
> (gdb) info source
>
I have copy/pasted the result:
-----------------------------------------------------------------
$ gcc -gdwarf-2 -g3 hello.c -o hello
$ gdb ./hello.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 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 "i686-pc-cygwin"... <== note this ====|
(gdb) start
Breakpoint 1 at 0x401075: file hello.c, line 4.
Starting program: /tmp/hello.exe
Loaded symbols for /c/WINDOWS/system32/ntdll.dll
Loaded symbols for /c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /c/WINDOWS/system32/advapi32.dll
Loaded symbols for /c/WINDOWS/system32/rpcrt4.dll
main () at hello.c:4
4 {
(gdb) info source
Current source file is hello.c
Compilation directory is /tmp/
Located in /tmp/hello.c
Contains 7 lines.
Source language is c.
Compiled with stabs debugging format.
Does not include preprocessor macro info.
(gdb)
-----------------------------------------------------------------
Cheers,
Angelo.
next prev parent reply other threads:[~2006-09-23 16:49 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-19 23:49 Building Emacs-cvs on Cygwin Angelo Graziosi
2006-09-20 3:29 ` Eli Zaretskii
2006-09-20 9:05 ` Angelo Graziosi
2006-09-20 21:08 ` Eli Zaretskii
2006-09-20 22:02 ` Andreas Schwab
2006-09-20 22:41 ` Building Emacs-cvs on Cygwin (Mystery!) Angelo Graziosi
2006-09-21 3:31 ` Eli Zaretskii
2006-09-21 22:20 ` Angelo Graziosi
2006-09-22 13:19 ` Eli Zaretskii
2006-09-22 23:08 ` Angelo Graziosi
2006-09-22 23:22 ` Angelo Graziosi
2006-09-24 13:02 ` Angelo Graziosi
2006-09-23 10:33 ` Building Emacs-cvs on Cygwin Angelo Graziosi
2006-09-23 15:15 ` Eli Zaretskii
2006-09-23 16:49 ` Angelo Graziosi [this message]
2006-09-23 19:17 ` Eli Zaretskii
2006-09-23 21:19 ` Angelo Graziosi
2006-09-24 7:41 ` Eli Zaretskii
2006-09-24 22:46 ` Angelo Graziosi
2006-09-25 3:26 ` Eli Zaretskii
2006-09-25 12:56 ` Angelo Graziosi
2006-09-25 19:57 ` Eli Zaretskii
2006-09-26 0:06 ` Angelo Graziosi
2006-09-26 3:22 ` Eli Zaretskii
2006-09-26 12:48 ` Angelo Graziosi
2006-09-26 20:10 ` Eli Zaretskii
2006-09-26 22:18 ` Angelo Graziosi
2006-09-27 3:35 ` Eli Zaretskii
2006-09-27 16:52 ` Angelo Graziosi
2006-09-27 18:22 ` Eli Zaretskii
2006-09-28 10:18 ` Angelo Graziosi
2006-09-30 9:30 ` Eli Zaretskii
2006-09-30 10:16 ` Angelo Graziosi
2006-09-30 14:47 ` Eli Zaretskii
2006-09-30 16:49 ` Angelo Graziosi
2006-10-01 16:54 ` Eli Zaretskii
2006-10-01 21:29 ` Angelo Graziosi
2006-10-25 22:32 ` Angelo Graziosi
2006-10-26 7:48 ` Eli Zaretskii
2006-10-26 8:21 ` Angelo Graziosi
2006-10-26 8:57 ` Jason Rumney
2006-10-26 15:46 ` Angelo Graziosi
2006-10-27 8:41 ` Eli Zaretskii
2006-10-27 16:34 ` Angelo Graziosi
2006-10-28 0:16 ` Angelo Graziosi
2006-10-28 12:16 ` Eli Zaretskii
2006-10-29 11:13 ` Building Emacs-cvs on Cygwin (GCC summary) Angelo Graziosi
2006-10-26 10:12 ` Building Emacs-cvs on Cygwin Richard Stallman
2006-10-26 10:24 ` David Kastrup
2006-10-26 15:06 ` Eli Zaretskii
2006-10-26 15:12 ` David Kastrup
2006-10-27 8:17 ` Eli Zaretskii
2006-10-27 9:04 ` David Kastrup
2006-10-28 10:49 ` Eli Zaretskii
2006-10-29 18:45 ` Richard Stallman
2006-10-29 20:19 ` Eli Zaretskii
2006-10-30 19:16 ` Richard Stallman
2006-10-30 20:49 ` Eli Zaretskii
2006-10-26 20:40 ` Richard Stallman
2006-10-26 20:58 ` David Kastrup
2006-10-26 15:12 ` Eli Zaretskii
2006-10-26 16:18 ` Angelo Graziosi
2006-10-26 8:53 ` Richard Stallman
2006-10-26 15:08 ` Eli Zaretskii
2006-10-27 9:10 ` Richard Stallman
2006-09-30 17:00 ` Problems with 'make install' after the build of " Angelo Graziosi
2006-10-02 0:30 ` Giorgos Keramidas
2006-10-02 12:53 ` Kenichi Handa
2006-10-02 13:39 ` Giorgos Keramidas
2006-09-30 23:34 ` Building " Kim F. Storm
2006-10-01 10:28 ` Eli Zaretskii
2006-09-27 18:14 ` Angelo Graziosi
2006-09-25 20:42 ` Kim F. Storm
2006-09-24 2:10 ` Richard Stallman
2006-09-21 1:59 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.OSF.4.21.0609231846220.14554-100000@ax0rm1.roma1.infn.it \
--to=angelo.graziosi@roma1.infn.it \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.