Re: Announcing the RosAsm Library Project
- From: santosh <santosh.k83@xxxxxxxxx>
- Date: Mon, 08 Oct 2007 21:07:28 +0530
rhyde@xxxxxxxxxx wrote:
On Oct 7, 1:20 pm, Charles Crayne <ccra...@xxxxxxxxxx> wrote:
As it happens, I am currently trying to debug a c program (part of
the NASM source) and, having been unable to do so at the C level,
have disassembled the failing function, and am debugging it as an
assembly program.
And therein lies one of the advantages of using C -- you get the
opportunity to debug it as either C source level code or as assembly
code. Alas, when you're writing the code in assembly, you *don't* get
the opportunity to choose "C" debugging if you're having problems
debugging it in assembly.
That's like wanting to do Ada debugging with a C program. Nothing stops
the assembler from injecting debugging information into it's object
files. The problem is most mainstream debuggers don't interpret well
assembler based debugging information.
GDB in particular seems to have been written with the assumption that C
was the only programming language in existence.
.
- Follow-Ups:
- Re: Announcing the RosAsm Library Project
- From: rhyde@xxxxxxxxxx
- Re: Announcing the RosAsm Library Project
- References:
- Re: Announcing the RosAsm Library Project
- From: Betov
- Re: Announcing the RosAsm Library Project
- From: hutch--
- Re: Announcing the RosAsm Library Project
- From: Betov
- Re: Announcing the RosAsm Library Project
- From: hutch--
- Re: Announcing the RosAsm Library Project
- From: Betov
- Re: Announcing the RosAsm Library Project
- From: hutch--
- Re: Announcing the RosAsm Library Project
- From: Betov
- Re: Announcing the RosAsm Library Project
- From: //\\\\o//\\\\annabee
- Re: Announcing the RosAsm Library Project
- From: Betov
- Re: Announcing the RosAsm Library Project
- From: rhyde@xxxxxxxxxx
- Re: Announcing the RosAsm Library Project
- From: Rosario
- Re: Announcing the RosAsm Library Project
- From: Charles Crayne
- Re: Announcing the RosAsm Library Project
- From: rhyde@xxxxxxxxxx
- Re: Announcing the RosAsm Library Project
- Prev by Date: Re: Announcing the RosAsm Library Project
- Next by Date: Re: Announcing the RosAsm Library Project
- Previous by thread: Re: Announcing the RosAsm Library Project
- Next by thread: Re: Announcing the RosAsm Library Project
- Index(es):
Relevant Pages
|