public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* remote debugging and source files
@ 2004-08-24 14:05 Hinko Kocevar
  2004-08-24 15:34 ` Hinko Kocevar
  0 siblings, 1 reply; 12+ messages in thread
From: Hinko Kocevar @ 2004-08-24 14:05 UTC (permalink / raw)
  To: gdb

Hi,

I'm remote debugging a programm using gdbserver on target side and gdb 
on host side. My target CPU is ARM and host is i686. Debugging same 
program just on host (no cross compilaton) allows me to see the source 
of each file when doing 'step'. That does not work when same program is 
cross-compiled, copied to target and started there with:
	gdbserver host:2345 slider

On host I run the debugger- 'ddd --debugger arm-linu-gdb', load the 
program and specify the target:
	target remote ipaq:2345

I can see slider.c source displayed, but any other functions, defined 
outside, are not stepped into. Maybe it is worth mentioning that this 
functions are in a shared library.

I tried adding directory of the actual source with 'dir /path/to/source' 
but it didn't help.

Also, I pointed 'set solib-search-path' to libs containing those functions.

What am I missing here?

regards,
h

-- 
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU

	"Aì rén"	|	[Analects XII:22]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-08-26 19:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-24 14:05 remote debugging and source files Hinko Kocevar
2004-08-24 15:34 ` Hinko Kocevar
2004-08-24 15:56   ` Hinko Kocevar
2004-08-24 16:35     ` Kris Warkentin
2004-08-24 17:42       ` Hinko Kocevar
2004-08-24 17:53         ` Daniel Jacobowitz
2004-08-24 18:05         ` Kris Warkentin
2004-08-25 13:58           ` Hinko Kocevar
2004-08-25 14:16             ` Daniel Jacobowitz
2004-08-25 14:30               ` Hinko Kocevar
2004-08-26 19:38                 ` remote debugging and source files - SOLVED Hinko Kocevar
2004-08-25 14:33             ` remote debugging and source files Kris Warkentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).