This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

dummy breakpoint priority


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]