This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
dummy breakpoint priority
- To: gdb at sources dot redhat dot com
- Subject: dummy breakpoint priority
- From: Jiri Smid <smid at suse dot cz>
- Date: 31 Aug 2001 12:49:19 +0200
Hello,
I have a problem with using generic dummy frames
(call_dummy_location - AT_ENTRY_POINT) together with solib-svr4.c.
At the entry point a breakpoint is created by solib-svr4.c and when
I call hand_function_call() another breakpoint is created at the same place.
The priority of breakpoints (table in breakpoint.c:bpstat_what())
defines that the main action in this case is BPSTAT_WHAT_CHECK_SHLIBS.
This leads to the result that execution continues and sigsegvs.
Shouldn't the dummy breakpoint have higher priority?
--
Jiri Smid
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: smid@suse.cz
Drahobejlova 27 tel:+420 2 83095 373
190 00 Praha 9 fax:+420 2 83095 374
Ceska republika http://www.suse.cz