GDB solib interface

Daniel Jacobowitz drow@false.org
Fri Jan 5 03:48:00 GMT 2007


On Thu, Jan 04, 2007 at 08:45:24PM -0700, Stephen & Linda Smith wrote:
> In the patch you sent, did you check to make sure load, unload, or dll 
> worked?  Actually I have been stairing at the debugger and can't see 
> that any of the following work in remote_await()  [file: remote.c]: 
> watch, rwatch, load, unload, or dll.  All of them would be broken 
> because of the strncmp() check for awatch which does not check for the 
> others.  That would mean that the check for p1==p will fail.
> 
> Am I missing something?

The strncmp's the opposite way you probably think it is - I get this
wrong every time I look at that code.  I know for sure that the
load/unload responses do work.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list