Cross debugging with embedded Linux us gbd-multiarch over serial
I have an embedded Linux application running on an arm processor with a Digi SOM overlay. I am attempting to debug the application via gdb-multiarch inside of Eclipse IDE for C/C++ Developers Version: Photon Release (4.8.0)
I am logging onto the target via a serial connection and I know gdbserver is on the system: Code:
# gdbserver The application can be run from the /etc/init.d directory. For instance, I can make a change in the code save it and copy the change to a directory I have setup @ /exports. If I want to run the program I simply navigate to the init.d directory from within the serial-terminal and run the script: ./S95-lonepeak-suite start Now I just need to figure out what gdbserver command I need to enter into the serial port terminal so the two can communicate with one another and I can cross-debugg the application. I would have thought it would be something like: # gdbserver ttyS0 S95-lonepeak-suite or # gdbserver /dev/ttyS0 S95-lonepeak-suite Apparently that is not correct. EDIT: Never mind I figured this out guys. Sorry if I wasted anyone's time. |
Can you post what it was you figured out please? That way others who have same issue in future will see your solution.
|
Moderator Response
Moved: This thread is more suitable in <Linux - Embedded & Single-board computer> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
All times are GMT -5. The time now is 03:34 AM. |