Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Imtiaz Sajwani" <i_sajwani@hotmail.com>
To: drow@mvista.com
Cc: gdb@sources.redhat.com
Subject: Configuring gdb for arm
Date: Mon, 10 Feb 2003 19:25:00 -0000	[thread overview]
Message-ID: <BAY1-F25cedZhotjCjW000046ce@hotmail.com> (raw)

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


             reply	other threads:[~2003-02-10 19:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-10 19:25 Imtiaz Sajwani [this message]
2003-02-10 19:36 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY1-F25cedZhotjCjW000046ce@hotmail.com \
    --to=i_sajwani@hotmail.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox