This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: [RFA] longjmp() breakpoints on Linux/x86


   Date: Thu, 06 Jul 2000 16:52:16 -0700
   From: Michael Snyder <msnyder@cygnus.com>

   Mark Kettenis wrote:
   > 
   > The simplest, and IMHO right solution is to keep returning
   > BPSTAT_WHAT_SET_LONGJMP_RESUME if we hit multiple longjmp()
   > breakpoints.
   > 
   > Another option would be to avoid duplicate longjmp() breakpoints, but
   > I think that would be more involving and probably less fool-proof.
   > 
   > OK to check the attached patch in?

   If it works, OK.  Although I would have prefered the second option.
   If this breaks some other target, will you undertake to do the other?

Of course it works :-).  I'm fairly sure that it doesn't break some
other targets, but if it does I'll find another solution.

Mark

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