[PING][PING] Added x86_64 stub for debugging embedded systems running on Intel x86_64 processor architecture.

Battig, Caleb Caleb.Battig@netapp.com
Mon Oct 19 14:38:45 GMT 2020


For years there has been no gdb stub for use with embedded systems
running Intel 64 bit CPUs. This is no longer the case. The new stub is
based on the old i386-stub, but provides support for 64 bit registers
and 64 bit interrupt descriptor table (IDT) entries.

gdb/stubs/ChangeLog:

   * x86_64-stub.c: New file.

Regards,


Caleb Battig

Platform Software Engineer



NetApp

724.741.5226 Direct Phone

Caleb.Battig@netapp.com<mailto:Eugene.Novak@netapp.com>

netapp.com<http://www.netapp.com/us/>


[cid:2067e5c2-14ba-4b3f-b51e-c9fa35a1c1e2]

________________________________
From: Simon Marchi <simark@simark.ca>
Sent: Monday, October 19, 2020 8:29 AM
To: Battig, Caleb <Caleb.Battig@netapp.com>; gdb-patches@sourceware.org <gdb-patches@sourceware.org>
Cc: Lovett, Stuart <Stuart.Lovett@netapp.com>; Peikes, Wendy <Wendy.Peikes@netapp.com>
Subject: Re: [PING][PING] Added x86_64 stub for debugging embedded systems running on Intel x86_64 processor architecture.

NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.




I somehow don't see the original message (in both my inbox and the web
archive), just your two pings.  Can you see it?

Can you provide some explanations for the use case of these stubs, how
they work and how to give them an "hello world" try?  I've never used
them, so I don't know anything about them.  Having a quick run through
would help.

Thanks,

Simon


On 2020-10-19 10:18 a.m., Battig, Caleb wrote:
> Any idea when someone will be able to review this?
>
>
> Caleb Battig
>
> Platform Software Engineer
>
>
>
> NetApp
>
> 724.741.5226 Direct Phone
>
> Caleb.Battig@netapp.com<mailto:Eugene.Novak@netapp.com>
>
> netapp.com<http://www.netapp.com/us/>
>
>
> [cid:23fa0611-f080-4c80-9c90-0baed481b138]
>
> ________________________________
> From: Battig, Caleb <Caleb.Battig@netapp.com>
> Sent: Monday, October 12, 2020 11:51 AM
> To: gdb-patches@sourceware.org <gdb-patches@sourceware.org>
> Cc: Lovett, Stuart <Stuart.Lovett@netapp.com>; Peikes, Wendy <Wendy.Peikes@netapp.com>
> Subject: [PING] Added x86_64 stub for debugging embedded systems running on Intel x86_64 processor architecture.
>
> Caleb Battig
>
> Platform Software Engineer
>
>
>
> NetApp
>
> 724.741.5226 Direct Phone
>
> Caleb.Battig@netapp.com<mailto:Eugene.Novak@netapp.com>
>
> netapp.com<http://www.netapp.com/us/>
>
>
> [cid:e9c15ec4-d103-4e38-b97d-ec06fdb0ac3a]
>
> ________________________________
> From: Battig, Caleb
> Sent: Thursday, October 1, 2020 10:27 AM
> To: gdb-patches@sourceware.org <gdb-patches@sourceware.org>
> Cc: Lovett, Stuart <Stuart.Lovett@netapp.com>; Peikes, Wendy <Wendy.Peikes@netapp.com>
> Subject: Added x86_64 stub for debugging embedded systems running on Intel x86_64 processor architecture.
>
> For years there has been no gdb stub for use with embedded systems
> running Intel 64 bit CPUs. This is no longer the case. The new stub is
> based on the old i386-stub, but provides support for 64 bit registers
> and 64 bit interrupt descriptor table (IDT) entries.
>
> gdb/stubs/ChangeLog:
>
>    * x86_64-stub.c: New file.
>
> Regards,
>
>
> Caleb Battig
>
> Platform Software Engineer
>
>
>
> NetApp
>
> 724.741.5226 Direct Phone
>
> Caleb.Battig@netapp.com<mailto:Eugene.Novak@netapp.com>
>
> netapp.com<http://www.netapp.com/us/>
>
>
> [cid:a768e24b-cca6-4214-b0a7-28b1f0fe33cd]
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-kmk1ub2j.png
Type: image/png
Size: 56478 bytes
Desc: Outlook-kmk1ub2j.png
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20201019/77aac8f7/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-x86_64-stub-for-debugging-embedded-systems-run.patch
Type: application/octet-stream
Size: 38278 bytes
Desc: 0001-Added-x86_64-stub-for-debugging-embedded-systems-run.patch
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20201019/77aac8f7/attachment-0001.obj>


More information about the Gdb-patches mailing list