Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* breaking on open(2) on linux
@ 2008-04-12 23:12 Marty Leisner
  2008-04-13  4:18 ` Kip Macy
  2008-04-13  6:13 ` Nick Roberts
  0 siblings, 2 replies; 13+ messages in thread
From: Marty Leisner @ 2008-04-12 23:12 UTC (permalink / raw)
  To: gdb

I've used gdb for 20 years...I've found the ability to 
break on a system call and then backtrace very useful when
reverse engineering code

Now, I can't do it (not sure when I last could -- I recall its been
a problem before, but I worked around it).

strace shows open(2) calls...

I have no problem breaking on exit(3) or _exit(2) -- or write(2). 
But I can't seem to break on
open(2).

I'm using ubuntu 7.10 with recent gdb/gcc...

marty



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

end of thread, other threads:[~2008-04-20 10:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-12 23:12 breaking on open(2) on linux Marty Leisner
2008-04-13  4:18 ` Kip Macy
2008-04-13  6:13 ` Nick Roberts
2008-04-13  6:41   ` Daniel Jacobowitz
2008-04-13 21:38     ` Marty Leisner
2008-04-13 21:41     ` Nick Roberts
2008-04-13 22:05       ` Daniel Jacobowitz
2008-04-15 10:27         ` Vladimir Prus
2008-04-16  0:47           ` Eli Zaretskii
2008-04-16 15:29             ` Vladimir Prus
2008-04-20 14:32               ` Eli Zaretskii
2008-04-21 12:57                 ` Vladimir Prus
2008-04-13  8:56   ` Marty Leisner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox