Mail Archives: djgpp/2003/01/19/19:15:26
From: | "Lars Hansen" <lars DOT o DOT hansen AT gmx DOT de>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | several questions (symify, dynamic labels, cpu clock)
|
Date: | Mon, 20 Jan 2003 01:14:29 +0100
|
Organization: | 1&1 Internet AG
|
Lines: | 21
|
Message-ID: | <b0ff15$lql$1@news.online.de>
|
NNTP-Posting-Host: | p508382d8.dip0.t-ipconnect.de
|
X-Trace: | news.online.de 1043021669 22357 80.131.130.216 (20 Jan 2003 00:14:29 GMT)
|
X-Complaints-To: | abuse AT online DOT de
|
NNTP-Posting-Date: | 20 Jan 2003 00:14:29 GMT
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106
|
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
1. when running symify on a crashed program that was compiled with -g
without -s I "get" the last called functions. Next to them are numbers.
Are these supposed to be the source code line number where the C "instruction"
is that was last executed before the crash? Because they aren't. (at least
for me)
2. how can I get the address of a dynamic label which is in a function I am
not in? So if I am somewhere in int main() and want the address of the dynamic
label in function void do_nothing(void){dynalabel1: asm nop;} (actually labels
are not dynamic, gotos can be), what do I have to do?
3. is CLOCKS_PER_SEC the clock speed of the cpu, so for example 1,533,000,000
on an AthlonXP 1800+ ? (or 1,533,...("exact").) If not, is there a C standard
library (or djgpp one) function which gets me this value?
thanks, Lars
- Raw text -