delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/28/20:40:26

Newsgroups: comp.os.msdos.djgpp
From: manfred DOT heumann AT uni-bielefeld DOT de (Manni Heumann)
Subject: symify and templates as function arguments
X-Newsreader: News Xpress 2.01
Date: Mon, 28 Jun 1999 11:19:51 GMT
NNTP-Posting-Host: psyreha1.uni-bielefeld.de
Message-ID: <37775a5b.0@news.uni-bielefeld.de>
X-Trace: 28 Jun 1999 13:19:55 +0200, psyreha1.uni-bielefeld.de
Lines: 26
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all,

again, I came up with a stupid problem, that I am not able to solve by myself. 
This time it concerns symify:

I do a lot of C++ and I havily use the STL. Because I often make stupid 
errors, that will crash my programs, I often have to rely on symify to find 
them. The problem is, that symify will crash itself as soon as I use templates 
in function arguments.
Example
void foo (vector <int>), or void bar (string).
If my program crashes in one of these functions or a function called from foo 
or bar, symify will crash, fortunately only after it gave me a correct 
traceback.
Now I thought this might have something to do with name mangling and symify 
not being able to deal with this correctly. The only reference in the FAQ that 
I could find, was section 12.7, where name mangling is discussed for GDB. I 
don't know whether this has anything to do with my/symify's problem, but this 
section raises two questions: 
1. What are stabs?
2. Where is gsymify? It's not in my RHIDE distribution, like the FAQ says.


--

Manni

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019