Editing Documentation/Maemo 5 Developer Guide/Kernel and Debugging Guide/Maemo Debugging Guide
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
Warning: This page is 60 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 128: | Line 128: | ||
- | Gdb needs to be installed to the Internet Tablet device. Install | + | Gdb needs to be installed to the Internet Tablet device. Install SSH server in the device before continuing. OpenSSH server can be installed from maemo extras-devel repository (http://repository.maemo.org/extras-devel/ fremantle free non-free) or from the SDK repository like the gdb below: |
# [[Terminal#Open the terminal|Open a console]]. | # [[Terminal#Open the terminal|Open a console]]. | ||
Line 138: | Line 138: | ||
- | Important: Performing device software updates from the Maemo | + | The /etc/apt/sources.list file can be edited with a text editor (such as vi), but the following commands given from the xterm are also valid: |
+ | |||
+ | # echo "deb http://repository.maemo.org/ fremantle/sdk free non-free" \ | ||
+ | >> /etc/apt/sources.list | ||
+ | # echo "deb http://repository.maemo.org/ fremantle/tools free non-free" \ | ||
+ | >> /etc/apt/sources.list | ||
+ | |||
+ | |||
+ | Important: Performing device software updates from the Maemo sdk repositories (for example, 'apt-get upgrade') is not recommended. The reason for this is that there can be some software packages in the SDK repositories that are so-called ''sdk variants'' . They can create problems if installed directly in the actual device. In this example, only gdb software is used from the repository. | ||
# Perform an <code>apt-get update</code> on the device. The update command refreshes the package list database on the device. | # Perform an <code>apt-get update</code> on the device. The update command refreshes the package list database on the device. | ||
# Perform an <code>apt-get install gdb</code> | # Perform an <code>apt-get install gdb</code> | ||
- | |||
You should now have gdb and gdbserver (included in the gdb package) installed to the device. | You should now have gdb and gdbserver (included in the gdb package) installed to the device. | ||
+ | |||
+ | |||
+ | {{ambox|text=After using the Maemo sdk repositories in the device /etc/apt/sources.list file, remove or comment the line out. This way, you do not accidentally get programs from the wrong repository to the device.}} | ||
=== Debugging Use Cases with Gdb === | === Debugging Use Cases with Gdb === |
Learn more about Contributing to the wiki.