Article View: es.comp.os.linux.programacion
Article #11427Re: gdb y g77
From: Ripe/7a69
Date: Sat, 01 Dec 2001 14:21
Date: Sat, 01 Dec 2001 14:21
28 lines
1845 bytes
1845 bytes
jelptex wrote: > Saludos a todo el grupo, > Tengo instalado g77 y gdb tanto en Linux RedHat 6.1 como en Win98. > An ambos systemas la compilacion es correcta, pero bajo Linux al tratar de > depurar un ejecutable con gdb, la orden run y break parece funcionar; sin > embargo list, print etc muestra mensajes como > no default file, file init.c not found etc. Paradojicamente bajo windows98 y > con la distribucion de cygwin todo va bien. Preferiria trabajar con > Linux+gvim+g77+gdb. Alguna idea? > Gracias anticipadas. > JEP > Prueba a cargar el fichero de symbolos (gdb) symbol-file /path/to/ejecutable Te recomiendo que compiles las cosas que queras debugear con la opcion -g del gcc :) Un saludo. Ripe - www.7a69ezine.org
Technical Details
Message-ID:
<3C08E77D.4000403@7a69ezine.NO-ESPAM-HERE.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!not-for-mailReferences:
<Oq3O7.920$rQ6.8380@news.ono.com>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit X-Google-Thread: f86c8,45e22585c1f8f015 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-12-01 06:26:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!newsfeed.comtenidos.com!newsfeeder.wanadoo.es!not-for-mail From: Ripe/7a69 <ripe@7a69ezine.NO-ESPAM-HERE.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: gdb y g77 Date: Sat, 01 Dec 2001 15:21:49 +0100 Organization: Wanadoo Lines: 30 Message-ID: <3C08E77D.4000403@7a69ezine.NO-ESPAM-HERE.org> References: <Oq3O7.920$rQ6.8380@news.ono.com> NNTP-Posting-Host: 62-36-156-66.dialup.uni2.es Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.wanadoo.es 1007216220 23366 62.36.156.66 (1 Dec 2001 14:17:00 GMT) X-Complaints-To: usenet@wanadoo.es NNTP-Posting-Date: Sat, 1 Dec 2001 14:17:00 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011127 X-Accept-Language: en