Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Configuring gdb for arm
@ 2003-02-10 19:25 Imtiaz Sajwani
  2003-02-10 19:36 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Imtiaz Sajwani @ 2003-02-10 19:25 UTC (permalink / raw)
  To: drow; +Cc: gdb

Daniel thanks for the help with gdbserver, I got it running on my target 
board with strong arm


Have also build the gdb with --target=arm-unknown-linux, gdb seems to have 
no idea about a symbol table. Is there anything I need to do while 
building/running gdb for arm. Do I need my arm app on the host side??

Here is the host side
[root@localhost gdb]# ./gdb
GNU gdb 5.3
Copyright 2002 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=i686-pc-linux-gnu 
--target=arm-unknown-linux".
Setting up the environment for debugging gdb.
.gdbinit:5: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
(gdb) target remote 134.134.19.66:2345
Remote debugging using 134.134.19.66:2345
0x40001af0 in ?? ()
(gdb) b main
No symbol table is loaded.  Use the "file" command.
(gdb)


Target side
# ./gdbserver 134.134.19.228:2345 testapp &
Process testapp created; pid = 211
# Remote debugging from host 134.134.19.228

[1] 210 Exit 0                ./gdbserver 134.134.19.228:2345 testapp
# # ./gdbserver 134.134.19.228:2345 testapp &
# Process testapp created; pid = 214

# Remote debugging from host 134.134.19.228


Thanks once again for your help


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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

* Re: Configuring gdb for arm
  2003-02-10 19:25 Configuring gdb for arm Imtiaz Sajwani
@ 2003-02-10 19:36 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-02-10 19:36 UTC (permalink / raw)
  To: Imtiaz Sajwani; +Cc: gdb

On Mon, Feb 10, 2003 at 07:25:48PM +0000, Imtiaz Sajwani wrote:
> Daniel thanks for the help with gdbserver, I got it running on my target 
> board with strong arm
> 
> 
> Have also build the gdb with --target=arm-unknown-linux, gdb seems to have 
> no idea about a symbol table. Is there anything I need to do while 
> building/running gdb for arm. Do I need my arm app on the host side??

Yes, you do.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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

end of thread, other threads:[~2003-02-10 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-10 19:25 Configuring gdb for arm Imtiaz Sajwani
2003-02-10 19:36 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox