emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Emacs-cvs on Cygwin


From: Eli Zaretskii
Subject: Re: Building Emacs-cvs on Cygwin
Date: Sat, 23 Sep 2006 18:15:23 +0300

> Date: Sat, 23 Sep 2006 12:33:23 +0200 (MET DST)
> From: Angelo Graziosi <address@hidden>
> cc: address@hidden
> 
> 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

Also, if you type the following two commands after starting GDB, what
does GDB say?

  (gdb) start
  (gdb) info source




reply via email to

[Prev in Thread] Current Thread [Next in Thread]