Burt Bicksler wrote:
>
> Hi,
>
> I'm working with vxWorks and GDB is used as a debugger for development.
> What we would like to do is embedded an int 3 instruction in our code and
> have it break into the debugger, much the same as you can do with VC++
> under Windoze. We aren't looking to launch the debugger, rather the
> debugger would be up and running when the int 3 fires.
>
> So far the only thing that happens is that the system locks up when
> executing an embedded int 3 instruction.
>
> An alternative was to use signal and have GDB handle it, but WRS
> (vxWorks) doesn't support signal handling in GDB with vxWorks targets.
>
> Just wondering if there was somewhere in the docs for GDB that discusses
> doing this, is it possible?
Why don't you always call a certain procedure to break, and have GDB set a
breakpoint on that call? It's not exactly what you want, but it might be
a suitable workaround..
--
"Religion is a crutch, and only the crippled need crutches" -- Madalyn Murray
Any opinions expressed in this message do not necessarily reflect
the official position of Pat Gunn or his employer. Instead, they
reflect the official position of the reader(s).