linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* precise debugging of inline asm
@ 2008-06-01 15:01 lynx.abraxas
  2008-06-01 17:27 ` Claudio Fontana
  0 siblings, 1 reply; 3+ messages in thread
From: lynx.abraxas @ 2008-06-01 15:01 UTC (permalink / raw)
  To: linux-assembly

Hello!


The  mentioning  of  gdb  in  this  mailinglist  gave  me  the  idea to ask my
unresolved question here as well:

Trying to port cpt2 to linux I have an inline assembly part of about 100 lines
that causes a segmentation fault while juggling around with memory. When I use
gdb for debugging it sadly only points me to the line  where  the  inline  asm
starts.  I  haven't  been able to figure out how to get a more precise info in
what line the actual segmentation fault comes from.
Does anybody here know if that is at all possible and if so, how? Would labels
to each line help?

Thanks for any help or hints.
Lynx



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-08 12:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-01 15:01 precise debugging of inline asm lynx.abraxas
2008-06-01 17:27 ` Claudio Fontana
2008-06-08 12:36   ` lynx.abraxas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).