Googling a bit more, it turns out that the return value on amd64 is in $rax. That value was also -1.
Regards, Thue 2011/3/10 Thue Janus Kristensen <thu...@gmail.com> > "finish" doesn't display the return value, because there is no debug > symbols. And amd64 assembler is not my strong point. > > A random page on the Internet said that the return value is probably in > eax. Doing > > > print $eax > > after "finish" on drmDropMaster on the second X server, I get the value > "-1". > > Regards, Thue > > 2011/3/10 Michel Dänzer <daen...@debian.org> > > On Mit, 2011-03-09 at 18:04 +0000, Thue Janus Kristensen wrote: >> > 2011/3/9 Michel Dänzer <daen...@debian.org> >> >> > How about if you only set a breakpoint on drmDropMaster in the >> > second server, and on hitting it just 'finish' the function >> > before continuing. Does the first server hit drmSetMaster >> > before drmDropMaster has finished in the second one? >> > >> > >> > No. Nothing happens even after I "finish" in the second server. Only >> > when I continue after the drmDropMaster "finish", does the first >> > server hit the drmSetMaster breakpoint (or crash if there is no >> > drmSetMaster breakpoint). >> >> Hmm, weird. Does drmDropMaster return 0, or an error code? >> >> -- >> Earthling Michel Dänzer | http://www.vmware.com >> Libre software enthusiast | Debian, X and DRI developer >> > >