Hi everyone,
I have a DSTREAM and want to use it to debug a user space bug. I have a target board with chip Annapurna Labs alpine al-314. I use utility PCE to create platform configuration database.But I don't see the Linux application debug operation(screenshot as below). Attachment is the configuration database created by PCE. My DS debugger version is v5.24.1. I see some built-in configuration databases without "Linux application debug operation" either. So is it normal? Can I debug application on my platform? Thanks in advance.
Best regards,
Tony
Hi Tony,
The Linux application debug entry is completely generic and doesn't rely on platform support generated through PCE. You can just use the entry in Debug Configurations under the "Vendor" "Linux Application Debug"
Hi nwsealey,
Yes, you are right. I can debug Linux application now. What makes me a little confused is some built-in configuration databases with "Linux application debug operation". May I know why?
It's just a legacy thing which was very convenient when the configuration database was smaller - there's no good reason for it other than it reduced some confusion (the same confusion you just had). Unfortunately it's not easy to pull out the non-split-out versions. It isn't just deleting parts of files, it's writing a migration system too.
The important thing to take home is that we've stopped creating configurations including it. If you consider that ARMv8 systems may have an AArch64 or AArch32 application, it is quite a lot of extra configuration entries per-board to cover all the potential use cases. Because all of those Linux Application Debug settings do exactly the same thing on every board, platform and configuration: connect to gdbserver in a very generic way, and doesn't "lie" to the user by implying that you can only debug "gnometris" on Beagleboard by using a Beagleboard Linux Application Debug. Linux is Linux and gdbserver is gdbserver, it really doesn't matter which vendor made the board.
Ta.
Matt
Hi Matt,
Got it. Thanks for your detailed explanation.