Linux hosts: how to use Eclipse gdb cross debugger for application in time real c / c ++.

Hello
I have a Linux (CentOS 7) on which I have installed Eclipse and:
Compilers C & C++ GNU for Linux ARMv7 (Linux host) 2014

I am able to build and run the sample application on my target (sbRIO-9651) "hello world" described in:

Start with C/C++ for Linux AND real-time development tools, Eclipse Edition

I'm not able to do, it's to my request for debugging.  I can't find the equivalent of "arm-nilrt-linux-gnueabi - gdb.exe' on my Linux host.

Anyone know how to configure the debugger for this configuration?

I tried to start debugging with the default options and this is the message I get in the 'console' (I have replace the IP address x.x.x.x)

Last login: Thu Sep 17 05:25:47 2015 from x.x.x.x
echo $PWD'>'
gdbserver :2345 /home/admin/ProjectFolder/test1;exit
admin@NI-sbRIO-9651-03081395:~# echo $PWD'>'
/home/admin>
admin@NI-sbRIO-9651-03081395:~# gdbserver :2345 /home/admin/ProjectFolder/test1; exit
Process /home/admin/ProjectFolder/test1 created; pid = 1761
Listening on port 2345
Remote debugging from host x.x.x.x
readchar: Got EOF
Remote side has terminated connection.  GDBserver will reopen the connection.
Listening on port 2345

Thank you

Michel

Hello

OK, I did some download and testing yesterday and today and I found a tool chain that strives to do remote debugging a c application / c++ on a sbRIO-9651 with CentOS 7 host operating system.

You must download this Linaro Toolchain for Cortex-A

Once on the page go in the section "Linaro Toolchain for Cortex-A" and download the second link linux "linaro-toolchain-binary (big-endian).  The binary gdb is here, so you must point towards him in the Eclipse debug configuration.

You may need to install the library added to your operating system.

Michel

Tags: NI Software

Similar Questions

  • How to use the same services-config for servers the and remote.

    My flex project works very well using the bottom but when I download my flash on the server I do not work, all the files and related paths are the same execpt remote is a linux server.

    <? XML version = "1.0" encoding = "UTF-8"? >
    <>services-config
    < services >
    < id = 'amfphp-flashremoting-service' service
    Class = "Flex.Messaging.services.RemotingService"
    messageTypes = "flex.messaging.messages.RemotingMessage' >"

    < destination id = "amfphp" >
    <>channels
    < Ref channel = "my-amfphp" / >
    < / channels >
    Properties of <>
    < source > * < / source >
    < / properties >
    < / destination >
    < / service >
    < / services >
    <>channels
    < channel-definition id = "my-amfphp" class = "mx.messaging.channels.AMFChannel" >
    " < endpoint uri = ' http://localhost/domainn.org/AMFPHP/gateway.php "class="flex.messaging.endpoints.AMFEndpoint"/ > "
    < / channel-definition >
    < / channels >
    < / services-config >

    I think the problem is the line


    " < endpoint uri = ' http://localhost/domainn.org/AMFPHP/gateway.php "class="flex.messaging.endpoints.AMFEndpoint"/ > "

    but I don't know how to use the same services-config for servers the and remote.

    I'll back up a bit.

    Breakpoint URLS are defined as follows in the services - config.xml:

    https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure

    The meaning of each of the tokens is clearer when we see them as part of a complete url. If your context root is set to http://localhost , then I have no idea how your application runs in any environment.

    If you leave the server.name and server.port chips in your configuration file, then they will be replaced when executing according to the location from which your application is served. However, the context.root token is replaced at the time of the compilation based on the value that you specify in Flex Builder or when calling mxmlc.

    In order to reuse your file services - config.xml, you must use the same context-root on your development environment and to your deployment environment.

  • How to use FaceTime audio abroad without being paid usage time?

    How to use FaceTime audio abroad without being paid usage time?

    Connect via wifi

  • I just installed an SSD on my imac 24 inch 2007 but at the start of the computer does not see the drive. How to use the terminal to look for? Thank you

    I just installed an SSD on my imac 24 inch 2007 but at the start of the computer does not see the drive. How to use the terminal to look for? Thank you

    Can she be seen by disk utility (and which version of Mac OS X is)

  • How to use the sign ' # ' in jQuery for id?

    How to use the sign ' # ' in jQuery for id? When I try to use it as ($('#PropertyAttributeValue').css ('color', 'red') ;) I got error as follows:)

    The CFML compiler treated:

    • An expression that starts at line 64, column 37.
      The expression might be missing an end #, for example, #expr instead of #expr #.
    • The body of a beginning of tag cfoutput on line 19, column 18.

    Use the two hashes to escape the first:

    ($('##PropertyAttributeValue').css ('color', 'red') ;))

  • Satellite L650D: how long I leave it on charge for the first time?

    recently bought this computer series Toshiba Satellite L650D and I was wondering how long I leave on the royalties for the first time to power?

    Help, please

    Hello

    My laptop is still connected to the power adapter, so would always charge the battery.
    But usually the battery led turn green if the battery should be fully charged.
    Let the adapter connected until this witness would turn to green or blue (based on the model that you bought for)

  • How do you activate the mode debugger for xml publisher PeopleSoft

    Hi all

    How do you activate the mode debugger for xml publisher PeopleSoft

    E-BI/XMLP: how to manage BI Publisher/XMLP in Debug Mode/Turn LOGGING reports? [Video] (Doc ID 821195.1)

  • Satellite L300: How to use a partition of data for my documents

    Hello

    the Sat L300 160 GB hard drive is partitioned into vista and data.
    I want to save a large number of photos in my documents, which is on the part of vista.
    This example uses only half of the road.

    How to use the data for my documents component? TIA

    Hello

    You can make a folder on the second partition, and can store the necessary files (documents, photos) in specific files.

    Or maybe you want to decrease the Vista partition?

  • How to use USB CAN 8473, code for the basic example

    Hi all.

    I use NEITHER USB-8473 CAN transmit and receive data via CAN.

    I have traveled a lot a lot of pages related to this and realized that the API will not work for USB - CAN. Can someone tell me please how to use this USB-8473.

    Maybe an exaple program would help me. (It is not PCI it we USB,)

    Thank you.

    You will need to install NI-CAN, if you don't have already done.  This is the API that you can use with a 8473.  After installing, open Explorer Measurement & Automation and make sure that you can see the 8473 under your devices.

    Here is a sample VI (LabVIEW 2009) that I wrote for another developer to make the CAN communication basic tests.  You enter a package CAN as a series of hexadecimal bytes separated by spaces, and it will send it to you.  It displays every CAN packet it receives in the same format.

  • How to use 1-channel analog input for start/stop aquire sample second channel input analog?

    I have a little problem. I've just been programming in labview for 2 weeks.

    I'm trying to figure out how to use my channel of analog input on the USB-6009 case for start/stop (reference trigger and start) presented to the second analog input channel samples.

    I need the first analog input string to operate continuously and control sampling on the second.  When the second channel will start sampling program brings a new graph each time and saves it (I have all this that figure out).

    How can I configure the trigger so the lance program presented in for the second channel when the 1 channel reached above 2V (e.g.) and stop when it falls below 2V.

    I use a pressure force sensor on the first channel that gives me straight (up to) 5 V when it is pressed and nothing when it is not...

    Thank you.

    Grand... Thanks for the information!

    But can't I then make a 1 channel instead and wait until that meat of the max element value?

  • How to use the virtual keyboard in flex application

    Hello..

    I use flash builder 4.

    How to use the virtual keyboard in flex?

    If one aware of this pls answer me...

    --

    Saran r

    Hello

    You can declare the event directly click handler MXML online, you don't need the initfunc() on creationComplete:

    You need not switch in handleEvent, a line will do everything:

    TextBox.Text += button .label (event.currentTarget);

    The only advantage I see declaring all these components button in MXML, you can visually position the keys by using Design view in Flex Builder.

  • How to use a Web Service in an Application.

    Hello

    I need to create a Web service and a single application.
    I already did with the Web service, which is a method that get two studentId strings(name,lastname) and back if exist it, false otherwise. (works perfectly)
    The problem is now being implemented in the application that needs to use the Web Service.
    The application will have to electro-regulateurs.

    Name:
    First name:
    Submit (Button)

    No idea how to begin to do?
    Really, I'd appreciate any help!

    Thank you very much
    Ed

    PS. I use 10.1.3.1.0 JDeveloper and Oracle SOA Suite 10.1.3.1.0.

    Make a right click you Java proxy class and click on 'create an ADF data control' then you can drag and drop the method in the data control palette in your page and gout as ADF setting form - it will snap into place for you.

  • Satellite M30X-122: how to use the headphones and speaker at the same time?

    Hello

    y at - it a possiblity to use headphones and speaker at the same time?
    When I plug the headphones into the Jack, the speaker is created off the coast of the moment.

    Thank you
    Peter

    Hi Peter,.

    There is unfortunately no way to use both headphones and speakers at the same time. This is because tghere's a disconnection physical power for the internal speakers when you plug in the headphones. It is not by software. The only way around this would be to dismantle the headphones Jack and solder connections that are broken when you insert the headphone permanently.

    Kind regards

  • How to use the sony hdr-XR160 for a video stream live

    Im trying to use the Sony HDR-XR160 for a video live feed to the internet, but can't seem to find out if this is possible.

    The camcorder has HDMI and A / V output connections. Depending on your computer, you can connect the camcorder to a HDMI IN and A / V in port. Once connected, you can start streaming using the appropriate software. Please see the manual for more information on the available ports, you can use your computer operating.

    Please note that USB streaming is not supported by this unit.

    If my post answered your question, please mark it as "accept as a Solution.

  • Time Capsule - My current Time Capsule 1 TB (Version 7.6.7) is complete and is overwhelming back more old ups. How can I migrate back existing ups for a new time Capsule (2 TB or 3 TB). El Capitan 10.11.6 OSX

    Time Capsule migration - My current Time Capsule 1 TB (Version 7.6.7) is complete and is overwhelming back more old ups. How can I migrate back existing ups of my current for a new time Capsule time capsule (2 TB or 3 TB)? El Capitan 10.11.6 OSX

    You just set up the new TC and plug the old TC... copy the sparsebundle existing old TC to the new... but we do not recommend to do this.

    It's much better to start a new backup TM on the new TC and keep the old one for several months until you have a fair story and if you need never old file the chances you decreases considerably with time.

    The instructions are here if you really want to do.

    How do I move Time Machine backups to another - Support Apple Time Capsule airport

    Instructions better although updated here.

    Q18 http://pondini.org/TM/FAQ.html

Maybe you are looking for