[syslinux] Debugging with Qemu

Celelibi celelibi at gmail.com
Wed Jan 13 03:34:07 PST 2016


2016-01-13 6:26 UTC+01:00, Geert Stappers via Syslinux <syslinux at zytor.com>:
> On Wed, Jan 13, 2016 at 01:22:17AM +0100, Celelibi wrote:
>> 2016-01-12 22:21 UTC+01:00, Tal Lubko:
>> > On Mon, Jan 11, 2016 at 07:20:20PM -0500, Shao Miller wrote:
>> >>
>> >> Yes, you can print debug-output from custom builds.
>> >>
>> >
>> > Regarding my other question (debugging).
>> > I know it is possible to use prints for debugging.
>> > I wonder if there is another way.
>>
>> In qemu it is possible to have source-level debugging, all you need to
>> know is the address at which the code is loaded to tell gdb where to
>> relocate the debugging symbols.
>
> Please update http://www.syslinux.org/wiki/index.php/Development/Debugging
> with information how to repeat that.

That's already on my todo list. I have also several python scripts for
gdb that I need to clean up and propose for inclusion in the
repository.


Celelibi


More information about the Syslinux mailing list