A Microcontroller Discussion Board
July 30, 2010, 12:07:25 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Don't know how to start, visit our Tutorials section
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: trouble with insight and amd64 host  (Read 1008 times)
0 Members and 1 Guest are viewing this topic.
splitarm
Newbie
*
Posts: 4



View Profile
« on: December 21, 2008, 01:38:00 PM »

Hi,

after compiling the GNU Arm Toolchain using the gnu-arm-installer I'm having some trouble with arm-elf-insight on my amd64 Ubuntu.

When I try to open an elf file, the file seems to be loaded but the source window stays grey, clicking on File > Target Settings shows no reaction at all and trying to run the binary returns following stack trace:

Code:
can't read "_status": no such variable
    while executing
"$_status configure -text $msg"
    (object "::.srcwin0.srcwin" method "::SrcWin::set_status" body line 4)
    invoked from within
"$srcWin set_status "Trying to communicate with target $gdb_pretty_name" 1"
    (procedure "set_target" line 23)
    invoked from within
"set_target"
    (procedure "gdbtk_attach_remote" line 8)
    invoked from within
"gdbtk_attach_remote"
    (procedure "run_executable" line 29)
    invoked from within
"run_executable"
    (procedure "gdbtk_run" line 10)
    invoked from within
"gdbtk_run "
    ("run" arm line 1)
    invoked from within
"switch $action {
    step { gdbtk_step }
    next { gdbtk_next }
    finish { gdbtk_finish }
    continue { gdbtk_continue }
    stepi { gdbtk_stepi }..."
    (object "::.srcwin0.srcwin" method "::SrcWin::inferior" body line 33)
    invoked from within
"::.srcwin0.srcwin inferior run"
    (in namespace inscope "::SrcBar" script line 1)
    invoked from within
"namespace inscope ::SrcBar {::.srcwin0.srcwin inferior run}"
    invoked from within
".srcwin0.srcwin.container.pane0.childsite.con.toolbar.t.stop invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 [list $w invoke]"
    (procedure "TOOLBAR_button_up" line 19)
    invoked from within
"TOOLBAR_button_up .srcwin0.srcwin.container.pane0.childsite.con.toolbar.t.stop"
    (command bound to event)errorCode is NONE

Google tells me this could be a 64bit specific error, will try it on a 32bit machine soon. Any ideas how to solve this?

Thanks,
splitarm
Logged
A Microcontroller Discussion Board
« on: December 21, 2008, 01:38:00 PM »

 Logged
Doug
Administrator
Jr. Member
*****
Posts: 92



View Profile WWW
« Reply #1 on: January 17, 2009, 11:54:47 AM »

In this case, I have no idea too, Sorry  Cheesy.
If you have any solutions, please return to update.
Logged

Microcontroller Programming Blog
http://www.mcuprogramming.com/blog
drwizard
Newbie
*
Posts: 1



View Profile Email
« Reply #2 on: February 27, 2009, 07:16:22 AM »

im havin problem with the sript Sad
gcc -DHAVE_CONFIG_H -I. -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas -I. -I. -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas -I../bfd -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/../include -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/.. -I/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/../bfd -DLOCALEDIR="\"/home/reaper/Desktop/gnu-arm-installer/install/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c /home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c
cc1: warnings being treated as errors
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwr’:
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3459: error: format not a string literal and no format arguments
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3473: error: format not a string literal and no format arguments
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c: In function ‘s_arm_unwind_save_mmxwcg’:
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3591: error: format not a string literal and no format arguments
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3606: error: format not a string literal and no format arguments
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c: In function ‘s_arm_unwind_movsp’:
/home/reaper/Desktop/gnu-arm-installer/src/binutils-2.19.1/gas/config/tc-arm.c:3712: error: format not a string literal and no format arguments
make[4]: *** [tc-arm.o] Error 1
make[4]: Leaving directory `/home/reaper/Desktop/gnu-arm-installer/build/binutils-2.19.1/gas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/reaper/Desktop/gnu-arm-installer/build/binutils-2.19.1/gas'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/reaper/Desktop/gnu-arm-installer/build/binutils-2.19.1/gas'
make[1]: *** [all-gas] Error 2
make[1]: Leaving directory `/home/reaper/Desktop/gnu-arm-installer/build/binutils-2.19.1'
make: *** [all] Error 2
some one can help?
Logged
A Microcontroller Discussion Board
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
PIC16F84A KEYPAD TROUBLE PIC amitha 1 572 Last post August 31, 2008, 08:54:58 PM
by king_diaw
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!