Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / November 2005



Tip: Looking for answers? Try searching our database.

Assembler Code for a Breakpoint

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jfrederich@gmail.com - 25 Nov 2005 15:17 GMT
Hi all,

I search a inline assembler code for a breakpoint under ppc (osx).
Has anyone a idea. Under x86 is asm { int 3 } the right way.
vze35xda@verizon.net - 26 Nov 2005 21:06 GMT
Look at ptrace(2). GDB uses this.

--jim
Eric Albert - 28 Nov 2005 07:36 GMT
> I search a inline assembler code for a breakpoint under ppc (osx).
> Has anyone a idea. Under x86 is asm { int 3 } the right way.

PPC:

asm volatile { "trap" }

Intel:

asm volatile { "int3" }

Hope this helps,
Eric

Signature

Eric Albert         ejalbert@cs.stanford.edu
http://outofcheese.org/

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.