> Trying to set a breakpoint in m_main.c:2984 does not work, looks like
> gdb cannot set a breakpoint inside inline ASM.

Here's an example from the x86_64 version:

$ readelf --headers /usr/bin/valgrind  |  grep Entry
  Entry point address:               0x400b20
$ gdb /usr/bin/valgrind
(gdb) b *(4+ 0x400b20)    ## the second instruction: sometimes the first fails
(gdb) run <<args>>

-- 


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to