LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-07-2005, 01:58 PM   #1
george_mercury
LQ Newbie
 
Registered: Jun 2004
Location: Slovenia
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
Using gdb to debug different arhitectures


Hi!
When I start gdb is displays "This GDB was configured as "i686-pc-linux-gnu" ". How do I configure it, do debug a different arhitecture, motorola 68hc11 for example?

Thanks guys!
George
 
Old 01-07-2005, 06:19 PM   #2
stanleyg76
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Rep: Reputation: 0
Hey,

this is a compile issue... you need to recompile GDB to support your
target architecture (or you can sometimes download prebuilt binary).
The way it works, when you configure GDB you do the following:

./configure --target=arm-linux-elf

which will create GDB that can run on the host system (same the one
you ran above command on), but debug files on your arm-linux system.
There is config.sub file in GDB build directory that lists all supported
build targets.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 01:41 PM
how can I debug the interactinve program with GDB bigapple Programming 1 08-03-2005 09:55 PM
How to use gdb to debug child process? ariana Programming 2 05-03-2005 01:50 PM
GDB unable to debug pthreads linuxdeveloper Programming 1 03-06-2005 05:18 AM
how to debug multithread using GDB? ryanux Programming 1 05-11-2004 12:58 AM


All times are GMT -5. The time now is 09:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration