[eside-ghost] .dynsym

Jon Fernandez jonferna en tecnologico.deusto.es
Mar Jul 19 17:29:48 CEST 2005


El mar, 19-07-2005 a las 14:25 +0200, Pablo Garaizar Sagarminaga
escribió:
> Aupa!
> Stripear ficheros binarios suele ser una práctica habitual cuando vas a
> 
> Se puede debuggear un fichero stripeado, pero es más rollo (tienes que
> poner breaks en direcciones de memoria, no en símbolos, etc.).
> 

Pues yo he probado, y ni con esas de poner un breakpoint en una
direccion (incluso en la instrucción siguiente (0x08048085) a _start)

La verdad es que me facilitaría un poco la labor poder debuggear sin
símbolos. Pero si es plan de meterse con 'linice' o similares, creo que
paso.

antilles en barracuda:~/asm/cleaneye-0.2$ gdb binary
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) break 0x08048085
No symbol table is loaded.  Use the "file" command.
(gdb) r
Starting program: /home/antilles/asm/cleaneye-0.2/binary 
warning: shared library handler failed to enable breakpoint
(no debugging symbols found)

Program exited with code 06.
(gdb) file
No executable file now.
No symbol file now.
(gdb) file binary
Reading symbols from /home/antilles/asm/cleaneye-0.2/binary...(no
debugging symbols found)...done.
(gdb) break
No default breakpoint address now.
(gdb) break 0x08048085
No symbol table is loaded.  Use the "file" command.
(gdb) r
Starting program: /home/antilles/asm/cleaneye-0.2/binary 
warning: shared library handler failed to enable breakpoint
(no debugging symbols found)

Program exited with code 06.


-- 
Jon Fernández Ellacuría

jonferna en tecnologico.deusto.es



Más información sobre la lista de distribución eside-ghost