Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Battig, Caleb" <Caleb.Battig@netapp.com>
To: Simon Marchi <simark@simark.ca>,
	"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.
Date: Mon, 19 Oct 2020 14:43:57 +0000	[thread overview]
Message-ID: <BL0PR06MB4418C5350E5824D9A913BDF3E11E0@BL0PR06MB4418.namprd06.prod.outlook.com> (raw)
In-Reply-To: <BL0PR06MB441834606DBE2E6691D113A4E11E0@BL0PR06MB4418.namprd06.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 4757 bytes --]

Simon,

Thanks for getting back to me! I resent the original message below. Please let me know if it still hasn't gone through.

The use case of the new x86_64 stub is the same as the old x86 stub, except it works with newer 64-bit processors. See -
https://sourceware.org/gdb/onlinedocs/gdb/Remote-Stub.html (Notice that there is no 64-bit stub in the list of stubs provided by GDB.)
https://sourceware.org/gdb/onlinedocs/gdb/Debug-Session.html#Debug-Session

Thanks and let me know if you have any further questions!


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:4d446e1a-b689-4f2b-ae9d-d3d0d1ffaba6]

________________________________
From: Battig, Caleb <Caleb.Battig@netapp.com>
Sent: Monday, October 19, 2020 8:38 AM
To: Simon Marchi <simark@simark.ca>; 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.

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]
>


[-- Attachment #2: Outlook-kmk1ub2j.png --]
[-- Type: image/png, Size: 56478 bytes --]

[-- Attachment #3: Outlook-ayquemfw.png --]
[-- Type: image/png, Size: 56478 bytes --]

  reply	other threads:[~2020-10-19 14:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BL0PR06MB4418CCCF8597C622AC200C61E1300@BL0PR06MB4418.namprd06.prod.outlook.com>
2020-10-12 17:51 ` [PING] " Battig, Caleb
2020-10-19 14:18   ` [PING][PING] " Battig, Caleb
2020-10-19 14:29     ` Simon Marchi
2020-10-19 14:38       ` Battig, Caleb
2020-10-19 14:43         ` Battig, Caleb [this message]
2020-10-19 15:45           ` Simon Marchi
2020-10-19 22:23             ` Battig, Caleb
2020-10-20 13:09               ` Simon Marchi
2020-10-20 16:34                 ` Battig, Caleb
2020-10-22 16:34                   ` Battig, Caleb
2020-10-23  0:47                     ` Simon Marchi
2020-10-28 22:11                       ` Battig, Caleb
2020-11-11 16:39                         ` Battig, Caleb
2020-11-11 20:54                           ` Simon Marchi
2020-11-11 21:58                             ` Battig, Caleb
2020-12-14 15:10                               ` Simon Marchi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BL0PR06MB4418C5350E5824D9A913BDF3E11E0@BL0PR06MB4418.namprd06.prod.outlook.com \
    --to=caleb.battig@netapp.com \
    --cc=Stuart.Lovett@netapp.com \
    --cc=Wendy.Peikes@netapp.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simark@simark.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox