Clint Adams wrote:
> On Thu, Feb 19, 2009 at 04:29:39AM -0200, Gerardo Exequiel Pozzi wrote:
>   
>> $ objdump -T libGL.so.1.2 | grep xstat
>> (none)
>> $ objdump -T /usr/lib/libGL.so.180.29 |grep xstat
>> 00000000      DF *UND*  00000145  GLIBC_2.0   __xstat
>> 00000000      DF *UND*  00000145  GLIBC_2.0   __fxstat
>>     
>
> Well, now I would ask you to do
> grep _STAT_VER /usr/include/bits/stat.h
> on the system where /usr/lib/libGL.so.180.29 was linked,
> but I think you probably can't do that.
>
> Can you find out what is the first argument passed to __xstat
> and __fxstat by this library (without libfakeroot preloaded)?
>
>   
mmmm no args are showed, maybe need to use a glibc compiled with -g ?
Can do that...
or any other way?

(gdb) run
Starting program: /home/djgera/hola
Hola aqui estoy!

Program exited normally.
(gdb) break __xstat
Breakpoint 1 at 0xb7e97b66
(gdb) break __fxstat
Breakpoint 2 at 0xb7e97c26
(gdb) run
Starting program: /home/djgera/hola

Breakpoint 1, 0xb7e49b66 in _xstat () from /lib/libc.so.6
(gdb) bt
#0  0xb7e49b66 in _xstat () from /lib/libc.so.6
#1  0xb7f123f4 in ?? () from /usr/lib/libGL.so.1
#2  0x00000003 in ?? ()
#3  0xb7f4f1c1 in ?? () from /usr/lib/libGL.so.1
#4  0xb7f8a2a0 in ?? () from /usr/lib/libGL.so.1
#5  0xb7f5e080 in ?? () from /usr/lib/libGL.so.1
#6  0x00000001 in ?? ()
#7  0x00000000 in ?? ()
(gdb) info r
eax            0xb7f8a2a0       -1208442208
ecx            0xbfbc6298       -1078173032
edx            0x0      0
ebx            0xb7f5e080       -1208622976
esp            0xbfbc63e0       0xbfbc63e0
ebp            0xbfbc6458       0xbfbc6458
esi            0x1      1
edi            0x0      0
eip            0xb7e49b66       0xb7e49b66 <_xstat+6>
eflags         0x200282 [ SF IF ID ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51


-- 
Gerardo Exequiel Pozzi ( djgera )
http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219  76ED 39AB 221B 1B8C 330D




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to