This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

Re: GDB solib interface


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


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