public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Breakpoint mechanism (breakpoint.c)
@ 2003-05-02 21:36 Liang, James
  2003-05-02 21:54 ` Doug Evans
  0 siblings, 1 reply; 2+ messages in thread
From: Liang, James @ 2003-05-02 21:36 UTC (permalink / raw)
  To: 'gdb@sources.redhat.com'

Hello,

I'm trying to port GDB and I can't quite understand what's happening with
the breakpoint mechanism in
breakpoint.c

I've overwritten all of the set breakpoint modules in gdbarch.c, to go to
one of my functions that prints
"hello", but none of them are ever called.  Whenever I try to set a
breakpoint, gdb just acts like the breakpoint
was successfully set.

It looks like the work is setting the breakpoint is done in
create_breakpoints which calls set_raw_breakpoint.  I just
don't see where it goes from there.  As far as I can tell, it never calls
any architecture specific code or does anything except a few prints and
setting a few state variables. 

A little help?

James Z. Liang
Dept 5931
Sandia National Laboratories
505-284-9933
jliang@sandia.gov



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

end of thread, other threads:[~2003-05-02 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-02 21:36 Breakpoint mechanism (breakpoint.c) Liang, James
2003-05-02 21:54 ` Doug Evans

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 read-only IMAP folder(s) and NNTP newsgroup(s).