Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 15
Using gdb to debug different arhitectures

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!
Old 01-07-2005, 06:19 PM   #2
LQ Newbie
Registered: Dec 2004
Posts: 16

Rep: Reputation: 0

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.


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 > Forums > Linux Forums > Linux - Software

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

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