emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: x-dnd (drag and drop) fails on x86_64


From: Reiner Steib
Subject: Re: x-dnd (drag and drop) fails on x86_64
Date: Sat, 05 Feb 2005 17:33:06 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

On Fri, Feb 04 2005, Jan D. wrote:

> There is obviously some 32/64 bit mixup somewhere.  If I can get the raw 
> event data and those sizes I can probably track it down.

Thanks for the clear instructions.  Here is what I get (I have updated
from CVS and recompiled just before doing this):

--8<---------------cut here---------------start------------->8---
Breakpoint 1 at 0x4e3d60: file [...]/emacs/src/emacs.c, line 453.
Breakpoint 2 at 0x4bc4f0: file [...]/emacs/src/xterm.c, line 7788.
(gdb) b x_handle_dnd_message
Breakpoint 3 at 0x4ccf90: file [...]/emacs/src/xselect.c, line 2633.
(gdb) r -Q
Starting program: [...]/x86_64/src/emacs -Q
[Thread debugging using libthread_db enabled]
[New Thread 182940272320 (LWP 9222)]
[Switching to Thread 182940272320 (LWP 9222)]

Breakpoint 3, x_handle_dnd_message (f=0xcfa3d0, event=0x7fbfffae90, 
    dpyinfo=0xde4aa0, bufp=0x7fbfffb210)
    at [...]/emacs/src/xselect.c:2633
2633    {
(gdb) p *event
$1 = {
  type = 33, 
  serial = 2582, 
  send_event = 1, 
  display = 0xdb26c0, 
  window = 52428820, 
  message_type = 274, 
  format = 32, 
  data = {
    b = 
"tI\300\003\000\000\000\000\001\000\000\003\000\000\000\000\000\000\000", 
    s = {18804, 960, 0, 0, 1, 768, 0, 0, 0, 0}, 
    l = {62933364, 50331649, 0, 0, 0}
  }
}
(gdb) p sizeof(event->data)
$2 = 40
(gdb) p sizeof(event->data.l[0])
$3 = 8
(gdb) 
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]