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]

Remote debugging on ARM and shared libraries


Hello,

I am trying to debug a program remotely on an ARM target with
gdbserver and I get a GDB segmentation fault when I try to step on a
symbol in a shared library (printf for example). This is the exact
same problem as here (bug in get_frame_pc):
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1992
It works with my native debugger so maybe I am doing something wrong,
I tried to play with solib-search-path and solib-absolute-prefix with
no results on my host. Would you have any idea?

My GDB version:
$ arm-linux-gdb.exe -v
GNU gdb 6.4
Copyright (C) 2006 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 "--host=i386-pc-cygwin --target=arm-linux-uclibc".

Thanks in advance,

Milrith


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