Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@chello.nl>
To: Michal Ludvig <mludvig@suse.cz>
Cc: GDB Patches <gdb-patches@sources.redhat.com>
Subject: Re: [RFC] x86-64 targeted gdb and corefiles
Date: Mon, 27 May 2002 15:00:00 -0000	[thread overview]
Message-ID: <200205272159.g4RLxcT00644@elgar.kettenis.dyndns.org> (raw)
In-Reply-To: Michal Ludvig's message of "Mon, 27 May 2002 17:05:14 +0200"

Michal Ludvig <mludvig@suse.cz> writes:

> Hi all,
> this patch allows reading of coredumps on non-native gdb configured for 
> x86-64 target. It works pretty well in this form, but I had to modify 
> gregset.h, what is unwise. I know I have to move the modifications 
> somewhere else, but ... where? Can someone give me an advice, please?

Take a look at how this is done for various NetBSD targets (sh, alpha,
i386).  Basically, get rid of the elf_gregset_t type and adapt the
functions that "parse" the register set to handle a "raw" buffer.
Since all registers are of the same size, that shouldn't be too
complicated.

Mark


             reply	other threads:[~2002-05-27 21:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-27 15:00 Mark Kettenis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-27  8:58 Michal Ludvig
2002-05-27 11:27 ` Jason R Thorpe
2002-05-27 12:01   ` Daniel Jacobowitz
2002-05-27 12:24     ` Jason R Thorpe
2002-05-28  3:50       ` Daniel Jacobowitz
2002-05-28  8:33         ` Jason R Thorpe
2002-05-28 19:30     ` Andrew Cagney

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=200205272159.g4RLxcT00644@elgar.kettenis.dyndns.org \
    --to=kettenis@chello.nl \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mludvig@suse.cz \
    /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