From suse-programming-e-return-1899-danny.kukawka=web.de@suse.com Fri Apr 15 18:21:21 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx17.web.de with
	smtp (WEB.DE 4.104 #268) id 1DMTZJ-0004cx-00 for danny.kukawka@web.de; Fri,
	15 Apr 2005 18:21:21 +0200
Received: (qmail 17698 invoked by alias); 15 Apr 2005 16:21:20 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 17688 invoked from network); 15 Apr 2005 16:21:20 -0000
X-Mailer: Openwave WebEngine, version 2.8.16.1
	(webedge20-101-1106-101-20040924)
X-Originating-IP: [198.184.0.254]
From: <synthetoonz@bellsouth.net>
To: <suse-programming-e@suse.com>
Date: Fri, 15 Apr 2005 12:21:16 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <20050415162116.ILAM2063.imf21aec.mail.bellsouth.net@mail.bellsouth.net>
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=0.0 tagged_above=-20.0 required=5.0 tests=BAYES_50,
	NO_REAL_NAME
X-Spam-Level: 
Subject: Re: Re: [suse-programming-e] Programming standards!
Sender: suse-programming-e-return-1899-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 00005428-0010


> From: Jerry Feldman <gaf@blu.org>

> On Friday 15 April 2005 11:50 am, synthetoonz@bellsouth.net wrote:
 
[snip]

> > Bad, lazy programmers are the source of security holes regardless of
> > language.

> I generally agree with this, but not all security holes are caused by bad 
> and lazy programmers. A lot of times, there are some risks in code because 
> the programmer has not forseen it. 

> One real problem in the industry, and has been since Grace Hopper found the 
> first bug, is the lack of proper testing. I have rarely seen a situation 
> where a proper design-code-unit-test-test cycle has been effectively 
> utilized. 

I think we're pretty close to that here. I'm responsible for a real-time financial transaction system and MANY people and merchants would get bent out of shape if we added bugs to a new release.  We reserve  a full month in the release schedule for QA and regression testing after the development code freeze.  I never seen any other place be this extreme with testing.


>I've also seen many programmers who don't have a clue how to 
> test. 

Yeah.  We have to be careful with test plan reviews, since the coding grunts writing test plans tend to only think about positive tests and ignore the negatives or ignore the things that are improbable, because they mistakenly consider the situation impossible.


>But, I've also seen some people who can take a well designed and 
> tested application, and find bugs immediately.  

Ahh. I see you've met my mother-in-law.  I believe she is cursed with the ability to destroy any software product my merely touching the computer it runs on.   (Or perhaps it's just static electricity.  ;-)



-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e


From suse-programming-e-return-1946-danny.kukawka=web.de@suse.com Wed Apr 20 01:45:07 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx10.web.de with
	smtp (WEB.DE 4.104 #268) id 1DO2Ox-0006ht-00 for danny.kukawka@web.de; Wed,
	20 Apr 2005 01:45:07 +0200
Received: (qmail 4879 invoked by alias); 19 Apr 2005 23:45:06 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 4869 invoked from network); 19 Apr 2005 23:45:06 -0000
From: Philipp Thomas <philipp.thomas@t-link.de>
To: suse-programming-e@suse.com
Date: Wed, 20 Apr 2005 01:44:51 +0200
Message-ID: <rp5b61l86584ago04i7ivns7o3tssvsrf8@4ax.com>
References: <200504182220.27993.castelo@comcast.net>
In-Reply-To: <200504182220.27993.castelo@comcast.net>
X-Mailer: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=0.0 tagged_above=-20.0 required=5.0 tests=BAYES_50
X-Spam-Level: 
Subject: Re: [suse-programming-e] gdb can't find
	../sysdeps/x86_64/elf/start.S
Sender: suse-programming-e-return-1946-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 0000542a-0000

Adalberto Castelo <castelo@comcast.net> [18 Apr 2005 22:20:17 -0400]:

>(gdb) list
>1       ../sysdeps/x86_64/elf/start.S: No such file or directory.
>        in ../sysdeps/x86_64/elf/start.S

That file is part of the glibc sources which you normally don't have
installed. You normally don't need that to debug an application.

Philipp



-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e


From suse-programming-e-return-1947-danny.kukawka=web.de@suse.com Wed Apr 20 01:49:39 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx14.web.de with
	smtp (WEB.DE 4.104 #268) id 1DO2TL-0002bq-00 for danny.kukawka@web.de; Wed,
	20 Apr 2005 01:49:39 +0200
Received: (qmail 9828 invoked by alias); 19 Apr 2005 23:49:37 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 9793 invoked from network); 19 Apr 2005 23:49:36 -0000
From: Philipp Thomas <philipp.thomas@t-link.de>
To: suse-programming-e@suse.com
Date: Wed, 20 Apr 2005 01:49:08 +0200
Message-ID: <e16b61p6fdh35hfleldp8en0a94ve0nevi@4ax.com>
References: <200504191625.44283.gaf@blu.org>
In-Reply-To: <200504191625.44283.gaf@blu.org>
X-Mailer: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=0.0 tagged_above=-20.0 required=5.0 tests=BAYES_50
X-Spam-Level: 
Subject: Re: [suse-programming-e] GNU Pascal
Sender: suse-programming-e-return-1947-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 0000542c-0000

Jerry Feldman <gaf@blu.org> [Tue, 19 Apr 2005 16:25:44 -0400]:

>I've been working with a GNU Pascal install where I built GCC (and GPC)
>to install into /usr/local,

*Never* install gcc to /usr/local if it isn't the only compiler on your
system! That's because gcc searches /usr/local for files it needs.

Install to a totally different prefix like /opt/gcc or similar if you
want a sane system.

Philipp



-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e


From suse-programming-e-return-1932-danny.kukawka=web.de@suse.com Tue Apr 19 06:26:46 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx18.web.de with
	smtp (WEB.DE 4.104 #268) id 1DNkJy-0001DB-00 for danny.kukawka@web.de; Tue,
	19 Apr 2005 06:26:46 +0200
Received: (qmail 22225 invoked by alias); 19 Apr 2005 04:26:44 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 22215 invoked from network); 19 Apr 2005 04:26:43 -0000
Message-ID: <42648879.2070509@cruzio.com>
Date: Mon, 18 Apr 2005 21:26:33 -0700
From: Pierre Patino <pierre@cruzio.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3)
	Gecko/20040913
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: suse-programming-e@suse.com
References: <200504182220.27993.castelo@comcast.net>
In-Reply-To: <200504182220.27993.castelo@comcast.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=-3.6 tagged_above=-20.0 required=5.0
	tests=BAYES_00, MY_LINUX
X-Spam-Level: 
Subject: Re: [suse-programming-e] gdb can't find
	../sysdeps/x86_64/elf/start.S
Sender: suse-programming-e-return-1932-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 0000542e-0010

Adalberto Castelo wrote:

>Folks,
>
>I'm trying to debug a simple program using gdb on SuSE 9.2 64bit stock (up to 
>date on all patches), and I get an error when trying to debug the code in 
>gdb:
>
>+++++++++++++
>
>$ gdb myprog
>
>GNU gdb 6.2.1
>Copyright 2004 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 "x86_64-suse-linux"...Using host libthread_db 
>library "/lib64/tls/libthread_db.so.1".
>
>(gdb) list
>1       ../sysdeps/x86_64/elf/start.S: No such file or directory.
>        in ../sysdeps/x86_64/elf/start.S
>
>++++++++++++++++
>
>I'm writing a simple Qt application, which compiles fine and exits cleanly. I 
>don't want to publish the code just yet, so can't include it here 
>unfortunately. But the code itself doesn't seem to be the problem anyway.
>
>This are sample compilation commands (generated by qmake):
># same for all objects:
>g++ -c -pipe -O2 -fmessage-length=0 -Wall -Wall -W -g  -DQT_SHARED 
>-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
>-I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include 
>-I.ui/ -I. -I.moc/ -o .obj/mycode.o mycode.cpp
>
># the linking step:
>g++  -o myprog .obj/mycode.o .obj/main.o .obj/mydialog.o .obj/moc_mydialog.o   
>-L/usr/lib64/ -L/usr/lib/qt3/lib64/ -L/usr/X11R6/lib64/ -lqt-mt -lXext -lX11 
>-lm
>
>Anyone knows what the problem is here?
>
>TIA, Adalberto
>  
>
Stupid questions:
What happens if you do "list main" ?  How about "list myfunc" where 
myfunc is something you know you wrote? What does -DQT_NO_DEBUG do to 
the -g flag?


-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e


From suse-programming-e-return-1935-danny.kukawka=web.de@suse.com Tue Apr 19 14:05:21 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx18.web.de with
	smtp (WEB.DE 4.104 #268) id 1DNrTl-000523-00 for danny.kukawka@web.de; Tue,
	19 Apr 2005 14:05:21 +0200
Received: (qmail 14671 invoked by alias); 19 Apr 2005 12:05:18 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 14661 invoked from network); 19 Apr 2005 12:05:18 -0000
From: Jerry Feldman <gaf@blu.org>
Organization: Boston Linux and Unix
To: suse-programming-e@suse.com
Date: Tue, 19 Apr 2005 08:05:02 -0400
User-Agent: KMail/1.7.1
References: <200504182220.27993.castelo@comcast.net>
In-Reply-To: <200504182220.27993.castelo@comcast.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200504190805.02547.gaf@blu.org>
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=-2.1 tagged_above=-20.0 required=5.0
	tests=BAYES_40, MY_LINUX
X-Spam-Level: 
Subject: Re: [suse-programming-e] gdb can't find
	../sysdeps/x86_64/elf/start.S
Sender: suse-programming-e-return-1935-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 00005432-0010

On Monday 18 April 2005 10:20 pm, Adalberto Castelo wrote:
> Folks,
>
> I'm trying to debug a simple program using gdb on SuSE 9.2 64bit stock
> (up to date on all patches), and I get an error when trying to debug the
> code in gdb:
Just to add to the other two postings on this, if I recall, when programming 
with QT, you pass your code through a preprocessor that adds some stuff 
(It's been a few years since I played with it). It's very possible that 
this is what is confusing gdb. 
You might try to use ddd. Eventhough ddd uses gdb, it might give you a 
better picture. 
-- 
Jerry Feldman <gaf@blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9

-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e


From suse-programming-e-return-1944-danny.kukawka=web.de@suse.com Tue Apr 19 22:26:01 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx07.web.de with
	smtp (WEB.DE 4.104 #268) id 1DNzIH-0008HE-00 for danny.kukawka@web.de; Tue,
	19 Apr 2005 22:26:01 +0200
Received: (qmail 3313 invoked by alias); 19 Apr 2005 20:25:57 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 3299 invoked from network); 19 Apr 2005 20:25:57 -0000
From: Jerry Feldman <gaf@blu.org>
Organization: Boston Linux and Unix
To: suse-programming-e@suse.com
Date: Tue, 19 Apr 2005 16:25:44 -0400
User-Agent: KMail/1.7.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200504191625.44283.gaf@blu.org>
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=-1.0 tagged_above=-20.0 required=5.0
	tests=BAYES_50, MY_LINUX
X-Spam-Level: 
Subject: [suse-programming-e] GNU Pascal
Sender: suse-programming-e-return-1944-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 00005434-0010

I've been working with a GNU Pascal install where I built GCC (and GPC) to 
install into /usr/local, but I did a make pascal.install, which only 
installs Pascal. GCC is installed in /usr as one would expect. 
Setting LIBRARY_PATH=/usr/lib/gcc-lib/ia64-suse-linux/3.3.3/
Works fine unless I want to do an autobuild:
jerry@isv2:~/src> gpc --autobuild gettextdemo.pas
gpc: installation problem, cannot exec `cc1': No such file or directory
gpc1: gpc exited with status 1
gpc1: gpc exited with status 1

BTW: cc1 is in /usr/lib/gcc-lib/ia64-suse-linux/3.3.3/

One solution is to install with "make pascal.install-gcc".
Part of the problem is that I am making a tarball for a coworker to drop in 
when he teaches a class next week. 
(BTW: These are demo programs that are shipped with GPC). 

Note that to build gpc, you need to build gcc, which is huge.  
-- 
Jerry Feldman <gaf@blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9

-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e


From suse-programming-e-return-1931-danny.kukawka=web.de@suse.com Tue Apr 19 04:20:48 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx02.web.de with
	smtp (WEB.DE 4.104 #268) id 1DNiM4-0001pg-00 for danny.kukawka@web.de; Tue,
	19 Apr 2005 04:20:48 +0200
Received: (qmail 21223 invoked by alias); 19 Apr 2005 02:20:46 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 21213 invoked from network); 19 Apr 2005 02:20:46 -0000
From: Adalberto Castelo <castelo@comcast.net>
To: suse-programming-e@suse.com
Date: Mon, 18 Apr 2005 22:20:17 -0400
User-Agent: KMail/1.7.1
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart2612363.VXkx4qhpnA"; protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200504182220.27993.castelo@comcast.net>
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=-1.3 tagged_above=-20.0 required=5.0
	tests=BAYES_20, DNS_FROM_RFC_POST, MY_LINUX
X-Spam-Level: 
Subject: [suse-programming-e] gdb can't find ../sysdeps/x86_64/elf/start.S
Sender: suse-programming-e-return-1931-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 00005436-0020

--nextPart2612363.VXkx4qhpnA
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=46olks,

I'm trying to debug a simple program using gdb on SuSE 9.2 64bit stock (up =
to=20
date on all patches), and I get an error when trying to debug the code in=20
gdb:

+++++++++++++

$ gdb myprog

GNU gdb 6.2.1
Copyright 2004 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 condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db=20
library "/lib64/tls/libthread_db.so.1".

(gdb) list
1       ../sysdeps/x86_64/elf/start.S: No such file or directory.
        in ../sysdeps/x86_64/elf/start.S

++++++++++++++++

I'm writing a simple Qt application, which compiles fine and exits cleanly.=
 I=20
don't want to publish the code just yet, so can't include it here=20
unfortunately. But the code itself doesn't seem to be the problem anyway.

This are sample compilation commands (generated by qmake):
# same for all objects:
g++ -c -pipe -O2 -fmessage-length=3D0 -Wall -Wall -W -g  -DQT_SHARED=20
=2DDQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT=20
=2DI/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include=
=20
=2DI.ui/ -I. -I.moc/ -o .obj/mycode.o mycode.cpp

# the linking step:
g++  -o myprog .obj/mycode.o .obj/main.o .obj/mydialog.o .obj/moc_mydialog.=
o  =20
=2DL/usr/lib64/ -L/usr/lib/qt3/lib64/ -L/usr/X11R6/lib64/ -lqt-mt -lXext -l=
X11=20
=2Dlm

Anyone knows what the problem is here?

TIA, Adalberto

--nextPart2612363.VXkx4qhpnA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQIVAwUAQmRq696AspoXaofZAQIujw//de+1K0gEjOQMFpYuJEPtJjOhahwS3+4c
CUV4NpgIbyiJJnZ2LM4asfMYCJ4GOXkQPmbRF8J8IGJL6aSt8TrKUPVptrY5eBfV
9+ZCf1MjQDe0QMX62v3Pa7a77qtcrC2opCNYU/pWXLlMbAN0FwhBgVXagQeZxVMP
SbaLJ5NdbKoYrmzGLCIrmZfQfGNcRXuO8dnylvCKGkPQ3jAD2lMAzYoIK3+a5Pka
BrxAckeIoxmh8dghxM8PaUIP4C9GEt8jNJaR7LE4BEmWe8fLpAmbVgezFqceDC+5
plFf8xCuckN5GHyBQZOAnRomwPptftqyZM9UP1zsh09jcuT480udu7ngCyB6sdO4
ssAYUbt8S/xe00nWaVSR96bewh9RFets96U7EWEw717sPGceSo1ONZxixD+I3EmB
3OCGcVTeQbcsCvsD2r/4huG6y5ntrvKbZ04pAU0vKErHTtMa7M6cN5TdWkaFxULM
5lSlZataEfU9LPXwnfAbP5PQ/n53me1Z44LdfQVck5iggYatewcNuQibd14HNDaQ
WXmjV61NasXf6ZwdcHzVWmavgKCJ48T04a+XXnr8OFjceYX8tS/n2LghDOd8z861
CY8XqmO510pVP5MnvllmuKF66Ww/fRdECnKHDOaiHcfh7gGaKv1F1UQ3ZU7+BDU4
w/c1BRF5E0Y=
=fHe4
-----END PGP SIGNATURE-----

--nextPart2612363.VXkx4qhpnA--

From suse-programming-e-return-1934-danny.kukawka=web.de@suse.com Tue Apr 19 13:50:37 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx07.web.de with
	smtp (WEB.DE 4.104 #268) id 1DNrFV-0007iO-00 for danny.kukawka@web.de; Tue,
	19 Apr 2005 13:50:37 +0200
Received: (qmail 1721 invoked by alias); 19 Apr 2005 11:50:33 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 1707 invoked from network); 19 Apr 2005 11:50:33 -0000
From: Adalberto Castelo <castelo@comcast.net>
To: suse-programming-e@suse.com
Date: Tue, 19 Apr 2005 07:50:00 -0400
User-Agent: KMail/1.7.1
References: <200504182220.27993.castelo@comcast.net>
	 <42648879.2070509@cruzio.com>
In-Reply-To: <42648879.2070509@cruzio.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1403978.zkJt1WHevl"; protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200504190750.09106.castelo@comcast.net>
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=1.6 tagged_above=-20.0 required=5.0 tests=BAYES_50,
	DNS_FROM_RFC_POST
X-Spam-Level: *
Subject: Re: [suse-programming-e] gdb can't find
	../sysdeps/x86_64/elf/start.S
Sender: suse-programming-e-return-1934-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 00005438-0030

--nextPart1403978.zkJt1WHevl
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 19 April 2005 00:26, Pierre Patino wrote:
>
> Stupid questions:
> What happens if you do "list main" ?  How about "list myfunc" where
> myfunc is something you know you wrote? What does -DQT_NO_DEBUG do to
> the -g flag?

You're definitely onto something here. I can list main or myfunc. I can put=
=20
breaks on it to. Thing is, when it stops at a break (say at myfunc), and I =
do=20
'next', it seems to be stepping into what looks like Qt event handling=20
procedures instead. And it won't let me get back to it with frame (it says=
=20
can't access that bit of memory). I haven't debugged Qt in gdb before (at=20
work I have been spoiled by totalview), so I don't know if that's to be=20
expected.

I think I'll have to post my code here, or a simple example. I probably sho=
uld=20
test the debugging on a 32 bit box, just to check if this is Qt related=20
instead of gdb having problems with the amd64.

So it seems I can (partially) use gdb. On the other hand, that error (can't=
=20
find ../sysdep/yadayada) is sufficient to stop DDD on its tracks. It would =
be=20
nice to understand why it's happening.

Anyway, thanks for your help!
Adalberto

--nextPart1403978.zkJt1WHevl
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQIVAwUAQmTwcN6AspoXaofZAQI2eBAAgxXOcOGW0uWL8EZnBNvRyf/4lzd619Ng
GJy3sCgP0Uxq9zXQ7GbchAYrzt0OwpH2SHQkRIT2bbfGp+YvkmDPVt/qkuDnJmMw
R84yeMdTtKuVvUVwMfkJx1qaEpV8Ob2w+2y64LMFJ0Nz9F0iPq1f3Dx2dioq/MtX
LjcpN30pTQD4mI8xFNKGiMQi9DwUQ++9q6sEbhQEUx5o3LlR3qFvO5XYESQT0Qdt
Ob/QrXotgoavG7W8YdSRITNARCPBPxrnln7iIvO0gBGcCQWDG/txUhgiTG9PZAYj
Otljw566r5B8DxL/3rj6v//UQwesBrLXuBKbo7GX2fNHnNZEctPdxol31r7D+qKd
A6r6HYca+zCPSYnfyMYFw2vP5Cn7aMcnSRNJlrWv64yDPjqaic6czF1OsPmraV1Z
kDSFir+1RB9org8CFzPr0O1RiJtPn3AG6rVzaYQcV76tS5KcXnq4juohG6br0J+j
KKoiw5fK/XRfm0nDBqDEYn0eRln/HSDIP8aGFgndPLzx0E+PynRvQkpU8ZGLy0bf
CtGUAc2t5nSDhAckRy6lig9rXn/upYC5ffRyUvHnrEI8LKAXlloR8W5a9EO2lSnL
/fNDlRIFiS7jL/UoOHnsfYxEaPzLSg2gxOVzmhtvu4pwqqUhpDadWZWM2i0qGCmq
4zdOt4CEGjE=
=dN6+
-----END PGP SIGNATURE-----

--nextPart1403978.zkJt1WHevl--

From suse-programming-e-return-1946-danny.kukawka=web.de@suse.com Wed Apr 20 01:45:07 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx10.web.de with
	smtp (WEB.DE 4.104 #268) id 1DO2Ox-0006ht-00 for danny.kukawka@web.de; Wed,
	20 Apr 2005 01:45:07 +0200
Received: (qmail 4879 invoked by alias); 19 Apr 2005 23:45:06 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 4869 invoked from network); 19 Apr 2005 23:45:06 -0000
From: Philipp Thomas <philipp.thomas@t-link.de>
To: suse-programming-e@suse.com
Date: Wed, 20 Apr 2005 01:44:51 +0200
Message-ID: <rp5b61l86584ago04i7ivns7o3tssvsrf8@4ax.com>
References: <200504182220.27993.castelo@comcast.net>
In-Reply-To: <200504182220.27993.castelo@comcast.net>
X-Mailer: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=0.0 tagged_above=-20.0 required=5.0 tests=BAYES_50
X-Spam-Level: 
Subject: Re: [suse-programming-e] gdb can't find
	../sysdeps/x86_64/elf/start.S
Sender: suse-programming-e-return-1946-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 0000543c-0010

Adalberto Castelo <castelo@comcast.net> [18 Apr 2005 22:20:17 -0400]:

>(gdb) list
>1       ../sysdeps/x86_64/elf/start.S: No such file or directory.
>        in ../sysdeps/x86_64/elf/start.S

That file is part of the glibc sources which you normally don't have
installed. You normally don't need that to debug an application.

Philipp



-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e


From suse-programming-e-return-1956-danny.kukawka=web.de@suse.com Wed Apr 20 14:39:24 2005
Received: from [195.135.221.131] (helo=lists.suse.com) by mx08.web.de with
	smtp (WEB.DE 4.104 #268) id 1DOEUG-0002ZJ-00 for danny.kukawka@web.de; Wed,
	20 Apr 2005 14:39:24 +0200
Received: (qmail 27235 invoked by alias); 20 Apr 2005 12:39:23 -0000
Mailing-List: contact suse-programming-e-help@suse.com; run by ezmlm
Precedence: bulk
List-Post: <mailto:suse-programming-e@suse.com>
List-Help: <mailto:suse-programming-e-help@suse.com>
List-Unsubscribe:
	<mailto:suse-programming-e-unsubscribe-danny.kukawka=web.de@suse.com>
List-Subscribe: <mailto:suse-programming-e-subscribe@suse.com>
X-Mailinglist: suse-programming-e
Delivered-To: mailing list suse-programming-e@suse.com
Received: (qmail 27225 invoked from network); 20 Apr 2005 12:39:23 -0000
From: Jerry Feldman <gaf@blu.org>
Organization: Boston Linux and Unix
To: suse-programming-e@suse.com
Date: Wed, 20 Apr 2005 08:39:16 -0400
User-Agent: KMail/1.7.1
References: <200504191625.44283.gaf@blu.org>
	 <e16b61p6fdh35hfleldp8en0a94ve0nevi@4ax.com>
In-Reply-To: <e16b61p6fdh35hfleldp8en0a94ve0nevi@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200504200839.16709.gaf@blu.org>
X-Virus-Scanned: by amavisd-new at scanhost.suse.de
X-Spam-Status: No, hits=-1.0 tagged_above=-20.0 required=5.0
	tests=BAYES_50, MY_LINUX
X-Spam-Level: 
Subject: Re: [suse-programming-e] GNU Pascal
Sender: suse-programming-e-return-1956-danny.kukawka=web.de@suse.com
X-Evolution-Source: pop://danny.kukawka@pop.web.de/
X-Evolution: 00005442-0010

On Tuesday 19 April 2005 7:49 pm, Philipp Thomas wrote:
> Jerry Feldman <gaf@blu.org> [Tue, 19 Apr 2005 16:25:44 -0400]:
> >I've been working with a GNU Pascal install where I built GCC (and GPC)
> >to install into /usr/local,
>
> *Never* install gcc to /usr/local if it isn't the only compiler on your
> system! That's because gcc searches /usr/local for files it needs.
>
> Install to a totally different prefix like /opt/gcc or similar if you
> want a sane system.
I am aware of that. The issue is where I install GNU pascal. But, to build 
GNU Pascal, one must build GCC. I am installing GPC into /usr/local by 
itself without GCC. 

I would not have this question if I were installing gcc at the same time. 
But what I want to do is to create a tarball that my associate can simply 
plunk in to the classroom system. he has some other tools, such as DDD that 
he wants there. 

if I were building it for installation in the lab, for instance, I would 
configure with a /usr prefix to install into the same place that the 
system's gcc is installed. (BTW: It hard codes its installation location).

-- 
Jerry Feldman <gaf@blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9

-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e


